blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
4fb77f0f603dd5117079d213abd06dedff51741d
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/storage/v20210101/queue.py
092b579fc7016317fba0744feb896fb0f7fce1e2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,073
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
51cc34be2e374d2fb8d8f7405684743ad5592995
d7016f69993570a1c55974582cda899ff70907ec
/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/operations/_certificate_registration_provider_operations.py
ab1cf6e26166407c53b15d4d1f95d256267d7ea2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
6,431
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
0b8ade5ec782288bdadae0b5799342fe4f0d4a4a
30f8afce1ba484183d8e1e14aae76cabb2d92354
/pbase/day24/first_pymysql.py
16c55a412867e72c944154e0d07e6188face8c91
[]
no_license
brooot/Python_Base_Codes
d83e8c3b8a37b86672412c812fdb0d47deb67836
a864685e160b5df4162a6f9fb910627eda702aaf
refs/heads/master
2023-04-10T20:08:39.161289
2021-03-25T12:59:23
2021-03-25T12:59:23
200,570,412
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import pymysql """创建一个库python,在库中创建一个表t1 """ #1.创建数据库连接 db=pymysql.connect("localhost","root","123456") #2.创建一个游标对象(用db对象的cursor方法创建游标) cursor = db.cursor() #3.使用游标方法操作数据库 cursor.execute("create database python;") cursor.execute("use python;") cursor.execute("create table t1(\ id int primary key,\ name char(20)...
[ "1442704671@qq.com" ]
1442704671@qq.com
563c595db8e3413595f61fba5384d8f9265b788a
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/hmpnas001/question4.py
51aecf3c68b8c9e91c9725b5e6d06df2f059c360
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
"""program to find palindromic primes nasonkwe hampwaye 2014-05-09""" N=eval(input("Enter the starting point N:\n")) M=eval(input("Enter the ending point M:\n")) Mf=M+1 def prime(f,s): #base case if f==0: return False if f==1: return False #recursive step elif b>=2 and b<math.sqrt(f): ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
84557ed92016863cb3377f02eae80683dd0d755f
5201e237c0d58cdfdbc2fdf8103f9141161eb9f8
/support/itkBuildOptions.pyi
e4be3d296749a3fdc9a8c5aed16d7a5f1b182896
[]
no_license
hjmjohnson/itk-stubs
704f5b92a755e55b81d02fcad62a366143e125f3
771951d007ae425b758e088eae6f9e4ca0e4afb1
refs/heads/main
2023-01-22T05:50:33.649088
2020-12-04T01:31:09
2020-12-04T01:35:06
318,368,028
0
0
null
null
null
null
UTF-8
Python
false
false
615
pyi
from itk.support import itkTypes as itkTypes from itk.support.itkTemplate import itkTemplate as itkTemplate, itkTemplateBase as itkTemplateBase from typing import List, Union DIMS: List[int] USIGN_INTS: List[itkTypes.itkCType] SIGN_INTS: List[itkTypes.itkCType] REALS: List[itkTypes.itkCType] VECTOR_REALS: List[itkTemp...
[ "hans-johnson@uiowa.edu" ]
hans-johnson@uiowa.edu
c2cd681b086bed3a6de66c95c7ef848bb939cc86
19a32440205b2caeec67c73c10d917b5fb30a86a
/isi_sdk/models/snapshots_sid_lock_create_params.py
b83773787db192bd8e5a15f999f798bd8ba24d8f
[ "Apache-2.0", "MIT" ]
permissive
marrotte/isilon_sdk_python
480e84312f5924a506aeb09c9c7cae79a2b9b7f4
91039da803ae37ed4abf8d2a3f59c333f3ef1866
refs/heads/master
2020-03-23T07:31:40.376316
2016-06-07T23:44:31
2016-06-07T23:44:31
141,277,076
1
0
MIT
2018-07-17T11:02:08
2018-07-17T11:02:08
null
UTF-8
Python
false
false
3,939
py
# coding: utf-8 """ Copyright 2015 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
[ "dmoxon@isilon.com" ]
dmoxon@isilon.com
84944033dfc9450ab78d7f320a2a0494bb05ec51
45173de7c932da649ee2fdbf18cc9f6767f1da53
/varz/autograd/minimise.py
0395b63b254e0071cf8f7cefa961bbb6287e810b
[ "MIT" ]
permissive
gergely-flamich/varz
6979cc0936f0daa6bf170b683a7b8cc30464275e
6428488d4b011d1cbb6e9c0b70c1a73beb97e9ee
refs/heads/master
2020-09-10T14:53:46.285236
2019-11-08T15:34:20
2019-11-08T15:34:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
import logging from autograd import value_and_grad from ..minimise import make_l_bfgs_b, make_adam, exception __all__ = ['minimise_l_bfgs_b', 'minimise_adam'] log = logging.getLogger(__name__) def _wrap_f(vs, names, f): # Differentiable assignments will overwrite the variables, so make a copy. vs_copy = v...
[ "wessel.p.bruinsma@gmail.com" ]
wessel.p.bruinsma@gmail.com
8c1fe5e538fe3a2ad0b87efc7abcc9b9ce0d3e57
7ccf104e767e7c36b8d5d5204cc264bddc4bcd75
/src/count_node_labels.py
c55798ffc0a98f2f00cc8a8bd19e1d549c7a7525
[ "BSD-3-Clause" ]
permissive
eghisu/graphkernels-review
46d27887f049d2be5aad2c177d43f3fa9f1812a1
0bba165c666492c5ed25ce5b318df6633d6cc131
refs/heads/master
2023-02-12T15:09:29.004236
2021-01-07T13:49:20
2021-01-07T13:49:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
#!/usr/bin/env python3 # # count_node_labels.py: debug script to count the number of node labels # in a graph data set. import argparse import collections import logging import igraph as ig from tqdm import tqdm if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('FILE', nargs...
[ "bastian.rieck@bsse.ethz.ch" ]
bastian.rieck@bsse.ethz.ch
24efbb81b0b0b4362da1ab65f51ec7a9e53684d2
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/disable_domain_response.py
c365fe2b7b04b664494af45d5b94903e51aafb6c
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,075
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DisableDomainResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
936f2e6298203b22aeec88c5e4a3e8e54fe470a6
4652255cc1adaed1cf808f5475aa06265ee2016a
/fluiddb/api/user.py
e6b41c3a18fe53559420975edec17722f27b62e0
[ "Apache-2.0" ]
permissive
fluidinfo/fluiddb
ca55b640ce44be53614068caade373046bdf30e4
b5a8c8349f3eaf3364cc4efba4736c3e33b30d96
refs/heads/master
2021-01-11T08:16:01.635285
2016-03-27T21:11:58
2016-03-27T21:11:58
54,848,235
3
2
null
null
null
null
UTF-8
Python
false
false
4,753
py
from twisted.internet.defer import fail from fluiddb.api.util import getCategoryAndAction from fluiddb.common.types_thrift.ttypes import ( TUser, TBadRequest, TNoSuchUser, TPathPermissionDenied) from fluiddb.data.exceptions import UnknownUserError from fluiddb.data.user import Role from fluiddb.model.exceptions im...
[ "terry@jon.es" ]
terry@jon.es
ef365be4ea8b73b321bb318c60e73dea5a62395e
c53480e8d0fa431a3ac90e713010fae44e8db1a8
/maskara/gallery/migrations/0039_auto__del_field_eventreview_order__chg_field_eventreview_date__del_fie.py
0e37b379c8d5f56bb3c7f20cf0fbb18404612d0a
[]
no_license
batpad/gallerym
6b5fd2e89ebade106e4c9f5c917c11791b156d08
3e1c17dc30b5b23ab40772b6b88c6d1f05393cf2
refs/heads/master
2016-09-06T11:36:02.461954
2014-10-10T07:48:49
2014-10-10T07:48:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,389
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'EventReview.order' db.delete_column('gallery_eventreview', 'order') # Changing f...
[ "b@pad.ma" ]
b@pad.ma
786ff2eb678c0aa319648945b2d255debe3f4c4e
d2a9a5c14ac68115b9c5c713bfaf1c3f3f355edb
/lib/reda/importers/sip04.py
534195a85592bc42ac2dc4aaddae58667679e6e5
[ "GPL-1.0-or-later", "MIT", "GPL-3.0-only" ]
permissive
j-gallistl/reda
8f609ba5eb39fd225b5af3563e66aa6a79aee068
13b1f9e1cda92bbbbafc5c28be2c691d3b722740
refs/heads/master
2020-06-10T16:33:04.069509
2019-06-22T08:42:12
2019-06-22T08:52:24
193,675,629
0
0
MIT
2019-06-25T09:19:00
2019-06-25T09:18:59
null
UTF-8
Python
false
false
14,445
py
# -*- coding: utf-8 -*- """Importer functions for data files measured with the SIP-04 SIP system, developed at the research center Jülich. The result files contain a lot of different, sometimes redundant parameters. ========= ==================================================== Parameter Explanation/Meaning of Parame...
[ "mweigand@geo.uni-bonn.de" ]
mweigand@geo.uni-bonn.de
b08511fb9bd255abdf38243d77d13a038ecf49bc
0b79d66196e9bef7cf81c0c17b6baac025b0d7f1
/apps/property/inventory/models/__init__.py
27d3fb72cdae90d77d901e46f9341cafca4b7cbf
[]
no_license
tsevindik/sis-back
bf0244a803ba9432980844ff35498780ac664564
4ba942fe38cc150c70898db4daf211213b84a61a
refs/heads/master
2021-03-24T09:35:49.199712
2017-01-25T08:19:37
2017-01-25T08:19:37
73,540,756
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
# from .main import InventoryType, Inventory, RoomInventory # from .trans import InventoryTypeTrans, InventoryTrans
[ "abdullahsecer@std.sehir.edu.tr" ]
abdullahsecer@std.sehir.edu.tr
cf940de16cc0d885602276ef4e5ac12f7ddf34ba
94c1805df5a09c39159d502f420d19ad54b567fc
/runtime/deps/gyp/test/analyzer/common.gypi
7c664e40dabf4d407a239ca3c1613b9ebab9c886
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
tmikov/jscomp
9805a5a4d06520549c57380f0df4a1c0aa0dab56
83828441cb38ec96603a6a60be06977d4852940a
refs/heads/develop
2021-01-19T02:56:35.102659
2016-04-12T06:19:30
2016-04-12T06:19:30
36,981,674
237
13
Apache-2.0
2018-10-14T09:48:12
2015-06-06T13:49:26
C
UTF-8
Python
false
false
161
gypi
# Copyright (c) 2014 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { }
[ "tmikov@gmail.com" ]
tmikov@gmail.com
48466c5c601c8058f73c7e4be934d172a3e02862
4d1cca31a3aae847bd6ee2dc12eca3971b263fc4
/src/flua/Tools/IDE/Widgets/BPIntelliView.py
cfd91e3eff3fb12429289b6ca49fad7e6023ae13
[]
no_license
akyoto/flua
4cc27202c326a6eedd088c5bb88c644905e7be64
e09d50e0d50fc4f4faa1b0ee482756eaef4e60ec
refs/heads/master
2021-06-06T10:55:32.795005
2016-12-04T00:17:20
2016-12-04T00:17:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from PyQt4 import QtGui, QtCore class BPIntelliView(QtGui.QWidget): def __init__(self, parent): super().__init__(parent) self.vBox = QtGui.QVBoxLayout() #self.vBox.addStretch(1) self.setLayout(self.vBox) self.setContentsMargins(0, 0, 0, 0) self.vBox.setContentsMargins(-1, -1, -1, -1) self.vBox.setSpac...
[ "e.urbach@gmail.com" ]
e.urbach@gmail.com
e00dca54185adf601b135152a928a1d8d31bf690
7d76607ff51c687dfe51d41b773f48c05a6f055e
/py/phl/phlsys_makeconduit.py
5703ba6b8fa854bdfe1b7cc608f8b5b80d58db5f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
osadalakmal/phabricator-tools
067091a1654497aa8586391bd3efa4ecdab41bcd
82ee02e2a5da16dc46d785ded4acb8b30eafad9d
refs/heads/master
2021-01-15T23:03:02.813815
2013-06-28T11:52:48
2013-06-28T11:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,678
py
"""Create a conduit from the available information. Can try to examine './.arcconfig' and '~/.arcrc' if not enough information is provided. """ # ============================================================================= # CONTENTS # ----------------------------------------------------------------------------- # p...
[ "jevripiotis@bloomberg.net" ]
jevripiotis@bloomberg.net
3976825577b9adbac01d41fe267a7fa344f52cb1
3820a723d6d3a301313b885fc045182e44363d58
/scheduled_tasks/buy_trending_tickers.py
8cc41df1032e2cb84ebde5373d89a399a2cab652
[ "MIT" ]
permissive
fkotey/Stocksera
bf45f20452807472860453b0654d3ea97d1fa423
3b9cdb72a91484deab9c09255742066558a58051
refs/heads/master
2023-06-08T22:02:04.048858
2021-06-22T02:20:05
2021-06-22T02:20:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,965
py
import sqlite3 import logging from datetime import datetime import yfinance.ticker as yf logging.basicConfig(filename='logging.log', level=logging.INFO) conn = sqlite3.connect("database.db", check_same_thread=False) db = conn.cursor() db.execute("SELECT * FROM reddit_etf WHERE status=?", ("Open", )) prev_bought = d...
[ "tanguanquan@yahoo.com" ]
tanguanquan@yahoo.com
4097cdcaaf3d6efa9a768513303f5375be4cf5ba
4a6d784fd44b57d6b2aabae9d2381884cc880aea
/form_creditos_cuotas_buscar.py
7a77737d95c9434bafeecdc7f916e4b1fcdfb39a
[]
no_license
blueautomatic/Slam_Sistema_creditos
0e46c2f23d396793122739f838073eff77df88e3
7eb20a90abce53f10dcd18e3d47e9a5f330acbbd
refs/heads/master
2020-03-26T19:13:36.634824
2018-02-05T15:46:42
2018-02-05T15:46:42
145,254,325
0
0
null
2018-08-18T21:37:23
2018-08-18T21:37:23
null
UTF-8
Python
false
false
60,584
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'form_creditos_cuotas_buscar.ui' # # Created by: PyQt5 UI code generator 5.5.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_form_creditos_cuotas_buscar(object): def setupUi...
[ "lriccombene@gmail.com" ]
lriccombene@gmail.com
9c577f416ea868619ee9367ec29b5b403601744e
410093afc4c9101606ab152f7c48c7950a56e70f
/welib/yams/tests/test_sectionloads.py
76c66366881c618b532e5cc90ae8ea4a23eca7c5
[ "MIT" ]
permissive
huangyunping986/welib
a3580edfa9ec2e4c6ca0a5e738a6be115f6aa685
14122da5bf364a8603496d41d7837b36653e7340
refs/heads/master
2023-05-19T07:38:14.101942
2021-06-05T03:03:04
2021-06-05T04:03:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,629
py
import unittest import numpy as np import os from welib.yams.flexibility import * import welib.weio as weio MyDir=os.path.dirname(__file__) # --------------------------------------------------------------------------------} # --- TESTS # --------------------------------------------------------------------------------...
[ "emmanuel.branlard@nrel.gov" ]
emmanuel.branlard@nrel.gov
48bb084d38b8df1a719adae77de11a3e684e2e93
e06ab16934e05954184807acd560e83a6adbef1c
/test/tests/simple_notebook_tests.py
7c652a932c9baba49e1092ba451d4f4a44ef77e3
[ "Apache-2.0" ]
permissive
google/swift-jupyter
8fcb5e45f5fc3fc9c95e81545eb4632bb277c88f
c07b554f58f2053b205928c0e46a6a650bbe9a3c
refs/heads/main
2023-09-03T10:09:02.057635
2022-05-13T01:18:00
2022-05-13T01:18:00
140,776,120
657
104
Apache-2.0
2022-05-13T01:18:04
2018-07-13T00:06:13
Python
UTF-8
Python
false
false
2,239
py
"""Checks that simple notebooks behave as expected. """ import unittest import os from notebook_tester import ExecuteError from notebook_tester import NotebookTestRunner THIS_DIR = os.path.dirname(os.path.abspath(__file__)) NOTEBOOK_DIR = os.path.join(THIS_DIR, 'notebooks') class SimpleNotebookTests(unittest.Test...
[ "noreply@github.com" ]
google.noreply@github.com
06654370a61c20aab05d1535f56d70f6d875c06c
b66457c060a99dc5786c9adbbfb920398e98a870
/venv/bin/celery
5d0fa48d357d360f444b704dd1a0aa29d8a3480d
[ "Apache-2.0", "OFL-1.1" ]
permissive
joeybaba/incubator-superset
38349d9ad93caf365fc02d256b75bb0a9b7f04f8
fc6fc042b4acbc564b69011532a92cf88d21a609
refs/heads/master
2022-12-16T15:15:48.830165
2020-09-21T09:34:25
2020-09-21T09:34:25
267,489,424
0
0
Apache-2.0
2020-05-28T04:02:52
2020-05-28T04:02:51
null
UTF-8
Python
false
false
270
#!/Users/joey/Documents/PycharmProjects/incubator-superset/venv/bin/python # -*- coding: utf-8 -*- import re import sys from celery.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "scau2017@163.com" ]
scau2017@163.com
df9acf74f9950871fe5c0c5f717a944f66e349f8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_256/ch64_2020_04_29_13_30_17_172660.py
a403190f95141772528e7e4a47059b1d53487cce
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
def acha_bigramas(palavra): i=0 lista = [] while i<len(palavra): bigramo = palavra[i] + palavra[i+1] if not bigramo in lista: lista.append(palavra[i,i+1]) i+=1 return lista
[ "you@example.com" ]
you@example.com
e0b18e4063c5a38cc8e13d08dd6cc7de5f1cb753
ae65873c3584cef7139066b224daad04410af6d2
/EvenDigits.py
c67ff0732dae7e25e94a3e85357fc0213bab53a3
[]
no_license
rajatkashyap/Python
2240c7472d07803c460c7a55d570e20694b694f9
f74c85c65b0e209a5f7ab25b653d42835222faaf
refs/heads/master
2022-06-25T19:20:52.847498
2022-06-08T14:40:45
2022-06-08T14:40:45
145,714,257
0
0
null
2022-04-25T00:18:37
2018-08-22T13:39:14
Python
UTF-8
Python
false
false
178
py
str_even=[] for i in range(1000,3001): s=str(i) if (int(s[0])%2==0 and int(s[1])%2==0 and int(s[2])%2==0 and int(s[3])%2==0): str_even.append(s) print ','.join(str_even)
[ "rajatkashyap@Rajats-MBP.T-mobile.com" ]
rajatkashyap@Rajats-MBP.T-mobile.com
f0811975a465d7f54cdd0813bd276b32f4043ce3
4a36b5979b0753b32cff3956fd97fb8ed8b11e84
/0.24/_downloads/c155595310e5756da6c8ec4ba91217f7/45_projectors_background.py
e826c7372f409b6e22ff4c4422ad167554141e76
[]
permissive
mne-tools/mne-tools.github.io
8aac7ae10bf2faeeb875b9a351a5530dc0e53154
495e878adc1ef3374e3db88604504d7542b01194
refs/heads/main
2023-09-03T07:06:00.660557
2023-09-03T04:10:18
2023-09-03T04:10:18
35,639,371
12
16
BSD-3-Clause
2023-05-05T19:04:32
2015-05-14T22:04:23
HTML
UTF-8
Python
false
false
21,410
py
# -*- coding: utf-8 -*- """ .. _tut-projectors-background: Background on projectors and projections ======================================== This tutorial provides background information on projectors and Signal Space Projection (SSP), and covers loading and saving projectors, adding and removing projectors from Raw ...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
21a4bf318dee61d0b39d1069f10068a14758ffa2
89b2f5b08c441d4af0a63ed2ec1a5889bc92f0f7
/Python OOP 2020/Excersises/Exercise10/06. HTML Tags.py
39a77e6ea355fb8eead70793bd702ecaba9c92e7
[]
no_license
KoliosterNikolayIliev/Softuni_education
68d7ded9564861f2bbf1bef0dab9ba4a788aa8dd
18f1572d81ad9eb7edd04300deb8c81bde05d76b
refs/heads/master
2023-07-18T09:29:36.139360
2021-08-27T15:04:38
2021-08-27T15:04:38
291,744,823
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
def tags(tag): def decorator(func): def wrapper(*args): result = f"<{tag}>{func(*args)}</{tag}>" return result return wrapper return decorator @tags('p') def join_strings(*args): return "".join(args) print(join_strings("Hello", " you!")) @tags('h1') def to_upp...
[ "65191727+KoliosterNikolayIliev@users.noreply.github.com" ]
65191727+KoliosterNikolayIliev@users.noreply.github.com
911333c5df511b8628b40e4fa4be131af8bbdf65
02bcb7bc8563cbc95ecd00689b58f4195e9329f3
/ExpBeforeCVPR18/cifar_origvgg_exp.py
971677473925a596e1cf4baef1ebeeb957832c50
[]
no_license
lovecodestudent/RRSVM_pytorch
53a8d3503b4d8a31931d69549a2464385ddacd81
6c7fcec26fb2e176f6cde749a6de3829c981a019
refs/heads/master
2021-09-07T03:50:13.442248
2018-02-16T21:32:35
2018-02-16T21:32:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,421
py
from __future__ import print_function import torch import torch.nn as nn import torch.optim as optim import torch.backends.cudnn as cudnn import torchvision # import torchvision.transforms as transforms import models.cifar.transforms as transforms import os, sys import argparse # from models import * import progress...
[ "zijwei@cs.stonybrook.edu" ]
zijwei@cs.stonybrook.edu
71a4a389beda54713692cc3b9841716a9a782d12
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/abEZ5AEPaDBHFjfJG_7.py
6223af65d24c7ceedb45af6ca6c7b43ca0ffe0a4
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
""" Create a function that takes a string and returns `True` or `False` depending on whether or not the given formula is correct. ### Examples formula("6 * 4 = 24") ➞ True formula("18 / 17 = 2") ➞ False formula("") ➞ None ### Notes * You have to figure out what `a` is. * Ignore the spac...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f627d666bb84a893ad162666eaa9a62795479f65
fdd714b99626a02c44cccfefdd70684d166bc7aa
/server.py
11bd950deabb41473ea4320d8510b0070e41e51f
[]
no_license
amrudesh1/Item_Catalog-Full-Stack-Web-Developer-Nanodegree-
bf7fc6cf99a46a5c65ffb1a1036d8b4d41a6c3f0
fd639513fa2aa30a7605a663dd29f90276a0c5c7
refs/heads/master
2022-12-11T16:32:33.803493
2019-10-11T16:28:12
2019-10-11T16:28:12
210,620,982
0
0
null
2021-04-30T21:25:01
2019-09-24T14:18:15
JavaScript
UTF-8
Python
false
false
79
py
from catalog_app import app if __name__ == '__main__': app.run(debug=True)
[ "root@localhost.localdomain" ]
root@localhost.localdomain
92a12fd5bcac861f1427e2ff89f62bd6f5702940
6146d080087b21e36347408eea76598f4691ed67
/code/list/linkedList.py
2b148d5961911be941c19307ec2d3598817fe8a2
[]
no_license
banggeut01/algorithm
682c4c6e90179b8100f0272bf559dbeb1bea5a1d
503b727134909f46e518c65f9a9aa58479a927e9
refs/heads/master
2020-06-27T14:07:51.927565
2019-12-19T03:48:30
2019-12-19T03:48:30
199,800,363
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
# linkedList.py 연결 리스트 실습 class Node: def __init__(self, data): self.data = data self.next = None def __del__(self): print(self.data, '삭제') class List: def __init__(self): self.head = None self.tail = None self.size = 0 def printlist(self): if ...
[ "genie121110@gmail.com" ]
genie121110@gmail.com
ea3290935cb696c17986d48477df1310b8e982b1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_207/40.py
41c13efb5662c68e11248268b5e46147cfa95161
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
#!/usr/bin/env python from sys import stdin tn = int(stdin.readline()) for ti in xrange(tn): n, r, o, y, g, b, v = map(int, stdin.readline().split()) s = '' if r > 0: s = 'R' r -= 1 elif y > 0: s = 'Y' y -= 1 else: s = 'B' b -= 1 for i in xrange(n...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
771aef1a7525ff7b4a65f6542a933b60eb20ad19
481452cd3b904af7a42bbeb71190a59c29e4775b
/exception_handling/test2.py
98edc2e0cf3f0d1df9bd5a2bc139507851ba0e69
[]
no_license
rahusriv/python_tutorial
b09b54044f9df86ac603634ac1dd8d4ea6705e4a
7de9b62a8e1e8ca1df5f2679ebf17d655f6b1b8e
refs/heads/master
2020-03-28T11:24:16.468977
2019-05-12T06:51:32
2019-05-12T06:51:32
148,209,075
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
while(True): try: num = int(input("Please enter a number b/w 1 to 10")) if num >= 1 and num <=10: print("Correct input") break else: continue except: continue #list1 = [1,2,3,4,5,6,7,8,9,10]
[ "rahusr@gmail.com" ]
rahusr@gmail.com
9926b3b4c77337a2126b2648fc7a559b4c357e06
2458ed97610a5baddffae0b8e558341e4466da62
/01_keras/keras52_Embedding_02_LSTM_func.py
9b779f992251443079fe850688fbf396bfda9caf
[]
no_license
DJSull93/keras_new
be539a1c0e3e5cb5d9708515695929b6002f5051
8847c0336bb2b6cdd7a1c03eced2c7548e8993fd
refs/heads/main
2023-07-02T06:57:53.205030
2021-08-14T15:44:25
2021-08-14T15:44:25
384,960,114
2
0
null
null
null
null
UTF-8
Python
false
false
4,041
py
from tensorflow.keras.preprocessing.text import Tokenizer import numpy as np from tensorflow.python.keras.layers.recurrent import LSTM # 1. data docs = ['너무 재밌어요', '참 최고에요', '참 잘 만든 영화에요', '추천하고 싶은 영화입니다', '한 번 더 보고 싶네요', '글쎄요', '별로에요', '생각보다 지루해요', '연기가 어색해요', '재미없어요', '너무 재미없다', '참 재밌네요', '청...
[ "digi809@naver.com" ]
digi809@naver.com
2a758fc86b35139ab5e0d3d3d1c647d8c760d5b7
8f1352b264b3c67406a810e483af9a253677fcff
/twitting/twitting/settings.py
a53be8c2e7ae767f647ecb468638592c0c778e73
[]
no_license
tktk-ai/Machine-Learning-Application
c8a94bf279e29f0a93adfa3feb5b31ac2b606325
962506a3a2ba334468d8f48a410a35545617a5cc
refs/heads/master
2020-11-29T03:18:18.527049
2017-07-12T14:16:59
2017-07-12T14:16:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,081
py
""" Django settings for twitting project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) i...
[ "madan_ram@rocketmail.com" ]
madan_ram@rocketmail.com
afbf04539b1a6be5e4afe153b23eb30f510f0712
1c398b7e0de6b51e01087906c679ed5081962dc0
/site_dj/polls/admin.py
0bd71316beb26ed0570b7003cd71f207ce98021d
[]
no_license
LukeBreezy/Django
0bb2a97d2a33988f64b683f952a781142431c948
f1d4cec033d469b122636848d3b7a0c4460353b5
refs/heads/main
2023-03-08T20:46:47.298470
2021-02-18T03:27:33
2021-02-18T03:27:33
337,603,427
1
0
null
null
null
null
UTF-8
Python
false
false
865
py
from django.contrib import admin from .models import Question, Choice # Register your models here. class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): fieldsets = [ ('Question Information', {'fields': ['question_text']}), ('Date Infor...
[ "lkslukas23@gmail.com" ]
lkslukas23@gmail.com
627500a3860f168cce28f4cabbbc623781c7c6bf
894c973735c5ca727cab30c1b8df261c7e2ace0d
/Algorithms/binary_search.com/contest_9/Inverted_inversions.py
81d4b2a75eeecd816fbb394610cf062a8f057482
[]
no_license
Alferdize/Data-Structure-and-Algorithms
a587ae5851aee531deaf84f9ec65a7c55787dd55
5cbb1d3232acff55ac3f7508b5ace0785be540ac
refs/heads/master
2020-12-08T22:10:38.100156
2020-06-02T07:58:27
2020-06-02T07:58:27
233,109,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
class Solution: def solve(self, nums): n = len(nums) for i in range(n): nums[i] -= 1 smaller = [] st = SegmentTree(n+1) for i in range(n): smaller.append(st.query(0, nums[i]-1)) st.update(nums[i], 1) larger = [] st...
[ "simonandrew132@gmail.com" ]
simonandrew132@gmail.com
5d2e6d8010b4336603f8a7f96757eda04ce7aab5
06984002a22f41b6eb63f9bdf3eb3529792d766f
/trunk/ceres/ceres-0.10.0/build/scripts-2.7/ceres-tree-create
2046ac8aadb7bd805e63ddceaee8afe69123d8a5
[]
no_license
lixmgl/Intern_OpenStack_Swift
d6195c25cd59dfe603203f727ed409a61891a3bf
40c241319c6b9a7aabacc9d927486864d13b8055
refs/heads/master
2020-04-14T20:40:15.496239
2015-08-06T22:24:38
2015-08-06T22:24:38
40,329,555
0
0
null
null
null
null
UTF-8
Python
false
false
749
#!/usr/bin/python import sys from optparse import OptionParser from ceres import CeresTree parser = OptionParser(usage='''%prog [options] <path/to/tree/root/> [property=value]*''') parser.add_option('--verbose', action='store_true') options, args = parser.parse_args() if not args: print "You must specify a root ...
[ "lixmgl@gmail.com" ]
lixmgl@gmail.com
b92eb6f4ca0555db322ce47362c6b42270c0199a
b235e8a20e6bb221ec511c9a7671ff594be5cd90
/client/verta/verta/_internal_utils/_artifact_utils.py
8edb656b3eae9b870c5ae06c905ac28c9da5ad3d
[ "Apache-2.0" ]
permissive
NishkarshRaj/modeldb
47c8b190bd6851b113dd1a97bf95c4489e800c40
71a946ce98a81992f8e65fb50d46a072e41403ae
refs/heads/master
2023-04-16T22:55:22.935970
2021-04-30T06:13:24
2021-04-30T06:13:24
363,839,710
0
1
Apache-2.0
2023-09-02T08:46:55
2021-05-03T06:41:04
null
UTF-8
Python
false
false
17,175
py
# -*- coding: utf-8 -*- import hashlib import os import shutil import tempfile import zipfile import cloudpickle from ..external import six from ..external.six.moves import cPickle as pickle # pylint: disable=import-error, no-name-in-module from .. import __about__ from .importer import maybe_dependency, get_tens...
[ "noreply@github.com" ]
NishkarshRaj.noreply@github.com
0d861c97d0e60514916636db98a7cf8c0b10c599
237162607427106ae9564670d47427a62356861f
/core/migrations/0038_merge_20170926_1426.py
3a4b868b0aa47660d5cadfb8d661d8cd8d53d724
[]
no_license
pitipund/basecore
8648c1f4fa37b6e6075fd710ca422fe159ba930e
a0c20cec1e17dd0eb6abcaaa7d2623e38b60318b
refs/heads/master
2020-09-13T20:16:02.622903
2019-11-20T09:07:15
2019-11-20T09:07:15
221,885,342
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-26 14:26 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0037_auto_20170925_0940'), ('core', '0036_auto_20170920_1129'), ] operation...
[ "longman_694@hotmail.com" ]
longman_694@hotmail.com
22a1f6d4600598eb9a3349f0f06fe75dffea59f0
62e823ea8dd5b797d111433bbed0775087801d79
/emission/tests/analysisTests/modeinferTests/TestPipelineSeed.py
ccf83cbad18d8d8a0bb17838a0e59ad1343f2103
[ "BSD-3-Clause" ]
permissive
open-source-lab-DFKI/meco2-server
2f550476db26d8accaff71e82a2835ca0b994ccf
e218b59a80edcd8afea3063b961d21d387b578d9
refs/heads/master
2021-03-18T09:00:32.866604
2020-03-12T22:30:02
2020-03-12T22:30:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,143
py
#Standard imports import unittest import json import logging import numpy as np from datetime import datetime, timedelta import os from pymongo import MongoClient # Our imports from emission.core.get_database import get_mode_db, get_section_db # This is the old "seed" pipeline import emission.analysis.classification.i...
[ "shankari@eecs.berkeley.edu" ]
shankari@eecs.berkeley.edu
741b0900397378a100e5723da5616bb2ad96cbb8
c921dea5e5135716aff0b64ec563872d636eb15a
/aidaiary/code/linear_regression.py
4d8688e9ceafd3750024dd94af8bc0144d7521f0
[]
no_license
fuchami/pytorch_study
c8caa05f6d3c354a99d8c791f87e473e54f8d517
02655f9f0c52fc84c38266e5da0144a361aad347
refs/heads/master
2020-04-26T16:28:24.146171
2019-10-19T11:33:07
2019-10-19T11:33:07
173,679,718
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
# coding:utf-8 """ 線形回帰(Linear Regression) """ #%% import import torch import torch.nn as nn import numpy as np import matplotlib.pyplot as plt # hyper parameters input_size = 1 output_size = 1 num_epochs = 600 learning_rate = 0.001 #%% toy dataset, 15samples, 1features x_train = np.array([3.3, 4.4, 5.5, 6.71, 6.93,...
[ "famichiki.yuuki@gmail.com" ]
famichiki.yuuki@gmail.com
86a43e11b1fe02f8a938411883fc8a53d0392ab2
c5e482e94938c9cd8ae3419b47c3bf32944e8d43
/second.py
0807b73f4406826de145c563eb4fdf9d64365c3e
[]
no_license
milanakdj/localfirstday
0a1ab3ca4091057770bc155ac232c65f94af10c1
71b88c7743093a4395994387be4366c7af55c49c
refs/heads/master
2020-09-28T01:29:48.633877
2019-12-08T11:31:22
2019-12-08T11:31:22
226,656,329
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
# collision and cohesiveness #from one modules to another we use a import #syntax import nameoftheoperation import math import time import random # pi=math.pi # a=math.sin(pi) # print(a) # to print every 5 second hello # while True: # print('hello') # time.sleep(5) # to generate a random number # w...
[ "you@example.com" ]
you@example.com
b1348855901654ef67d2509aa5fd7a5f877404c4
e76aa4de68988abcfceb7f90ea680505a9159995
/outrigger/index/adjacencies.py
d92ad30b3045a59ee32569cbb64aee2b6181a643
[ "BSD-3-Clause" ]
permissive
ggraham/outrigger
3ab1798fbeb3c871cae4d2a12bcd721032c3a96c
135388192bd8b15fc248653ee50943448ff19160
refs/heads/master
2021-05-26T09:58:02.547479
2020-04-29T19:32:34
2020-04-29T19:32:34
254,086,816
0
0
BSD-3-Clause
2020-04-29T19:32:35
2020-04-08T12:52:08
null
UTF-8
Python
false
false
14,422
py
""" Find exons adjacent to junctions """ import warnings import joblib from ..common import JUNCTION_ID, EXON_START, EXON_STOP, CHROM, STRAND, \ ORDER_BY, UPSTREAM, DOWNSTREAM, NOVEL_EXON, \ OUTRIGGER_DE_NOVO, MAX_DE_NOVO_EXON_LENGTH from ..io.gtf import transform, maybe_analyze, location_to_feature from ..re...
[ "olga.botvinnik@gmail.com" ]
olga.botvinnik@gmail.com
7c70ca053f765de0bf415db6e9acf8a1e053ea79
c0298db1f9539d253cc1f488074cb5398cda5b05
/demo_admin_tools_zinnia/settings.py
05adc0c6b7265bdcd30636c865228005e30014c5
[ "BSD-3-Clause" ]
permissive
SusannaGr/admin-tools-zinnia
89242cdc225d6ff144729faaed804ba28fa25886
f370e6b05dfc62eab0a9739ebf5b17fd13ebf7dc
refs/heads/develop
2020-09-08T17:09:27.567513
2015-04-14T10:02:13
2015-04-14T10:02:13
221,192,495
1
0
BSD-3-Clause
2019-11-12T10:36:18
2019-11-12T10:36:17
null
UTF-8
Python
false
false
2,688
py
"""Settings for the admin_tools_zinnia demo""" import os gettext = lambda s: s DEBUG = True TEMPLATE_DEBUG = DEBUG DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(os.path.dirname(__file__), 'demo.db')} } TIME_ZONE = 'Europe/Paris' STATIC...
[ "fantomas42@gmail.com" ]
fantomas42@gmail.com
93d80d5c11f23d6dac43e2aafa30665689103759
2ea61e98627dd6b170590b69ead79a828614dec0
/youtrack_api/model/locale_descriptor.py
24683acfcb13dec3d3abb21937fbebd429c9d614
[]
no_license
alpduez/youtrack_api
55dc25465f027645525efe5296c5699f7d824f33
2450523d87e6bdbbd53ca4908042a701a1a867e6
refs/heads/master
2023-09-01T01:34:33.356354
2021-10-20T15:32:05
2021-10-20T15:32:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,197
py
""" YouTrack REST API YouTrack issue tracking and project management system # noqa: E501 The version of the OpenAPI document: 2021.3 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from youtrack_api.model_utils import ( # noqa: F401 ApiTypeErr...
[ "hank@sellerlabs.com" ]
hank@sellerlabs.com
bc006085a481225a9e2e747e117b23c2d1df39ba
d36a2ebe14c8e786e687deecc26bb3a5b9606687
/giicourse/__openerp__.py
ebddd8d978b196e65f5477d3105c41b6ae468be1
[]
no_license
hashirharis/GII
2ee9b85a7ee341e1bb6bdff62b97ef506ef0275f
deac28b42e52f1c2a8173e03998aeaef6736dc9f
refs/heads/master
2016-09-05T22:01:09.544637
2014-08-14T06:55:49
2014-08-14T06:55:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
{ "name" : "GII", "version" : "1.0", "depends" : ['sale','product'], "author" : "Novasoft Consultancy Services Pvt. Ltd.", 'category' : 'Generic Modules/Others', "description": """ GII - Management Module """, 'website': 'http://www.novasoftindia.com', 'data': ['giisa.xml', ...
[ "hashir.haris@gmail.com" ]
hashir.haris@gmail.com
0dfb93e2c4d4f1c478031b2f513102c420b0b15a
426b00d9621aaaf5fe36dd01c590084f489abcbd
/config.py
a08360f9d7db3a273deb1093d2ba44c619e56ac9
[ "MIT" ]
permissive
aiboys/mask-rcnn-pytorch
0ea5e8c542c5c52281c027752f22d42dc1ef67ff
d92994545f8f1777604e32708cd0215114f4315e
refs/heads/master
2022-02-27T22:51:59.619816
2019-10-09T21:17:47
2019-10-09T21:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,970
py
""" Mask R-CNN Base Configurations class. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla """ import math import numpy as np import os # Base Configuration Class # Don't use this class directly. Instead, sub-class it and override # the configura...
[ "wodhks7968@gmail.com" ]
wodhks7968@gmail.com
d641af6105bde646b925b749a566da0bca560eb2
78b4b9d7fc89fe4c8dc7fe2c3eb31853c12f4569
/book/views.py
73dfd4d8495dcea86f9f075664be1c1e9c95f778
[]
no_license
Sasha1152/bookshop
6d4e0acc8163efd2bc4f4a6f6921451f1dcf1241
23ecf1ae8a3543961398f9365232a179a0488ec5
refs/heads/master
2023-04-27T22:36:23.276692
2020-01-30T20:27:18
2020-01-30T20:27:18
181,053,262
0
0
null
2023-04-21T20:31:03
2019-04-12T17:23:35
Python
UTF-8
Python
false
false
1,136
py
import json from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render from .models import Book def get_books_list(request): books_list = Book.objects.all() return render(request, 'books.html', {'books': books_list}) def retrieve(request, book_id): book = Book.objects...
[ "saxin@ukr.net" ]
saxin@ukr.net
2b1e5ddec1219a6442d05fb07e3673ba28eee6a9
6a4feaae8a93942930f53657aa9e19b98e9c4068
/algs2e_python/Chapter 10/python/draw_tree3.py
1008bc10b74a6d1ed3158b41ac6d884ff821ce0e
[ "MIT" ]
permissive
bqmoreland/EASwift
73ec9a11bad1a058d68de4f6d0a6b90469dc9726
9ffefcf5418488c43a57797904ecfee9c3e4f84b
refs/heads/master
2020-07-15T14:22:16.895684
2019-08-31T19:47:11
2019-08-31T19:47:11
205,582,278
0
0
null
null
null
null
UTF-8
Python
false
false
4,993
py
import tkinter as tk class NAryNode: # Class-level drawing parameters. node_radius = 10 x_spacing = 20 y_spacing = 20 def __init__(self, name): self.name = name self.children = [] # Drawing parameters. self.center = (0, 0) self.subtree_bound...
[ "bqmoreland@gmail.com" ]
bqmoreland@gmail.com
9f66488ed26159ebd2462538f028d48a5f3480b7
d61183674ed7de0de626490cfba77d67c298d1be
/py_scripts/plot_cv_digits.py
a0ce0f9af1499b00decb91c4bf0adad5d9488ff0
[]
no_license
Giannos-G/python_dataset
bc670a53143d92cf781e88dee608da38b0e63886
18e24cbef16ada1003a3e15a2ed2a3f995f25e46
refs/heads/main
2023-07-25T20:24:31.988271
2021-09-09T10:31:41
2021-09-09T10:31:41
363,489,911
2
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
""" ============================================= Cross-validation on Digits Dataset Exercise ============================================= A tutorial exercise using Cross-validation with an SVM on the Digits dataset. This exercise is used in the :ref:`cv_generators_tut` part of the :ref:`model_selection_tut` section...
[ "giannos.gavrielides@gmail.com" ]
giannos.gavrielides@gmail.com
79e805d7acaa118260f69dc01f82a8c5b3a8cc67
8104e1745a3a4ce41530b0353a2dd502eb3c6541
/nova/nova/tests/unit/test_wsgi.py
4941af753da03c41aad6460fe79d31a670bd03a9
[ "Apache-2.0" ]
permissive
eepalms/SoD
cc9d5ef59efd65656aaf790b47971a0b6bf36080
97613fb0324f65c8e43111e9216d3a2131fa4ef7
refs/heads/master
2021-01-12T00:57:30.654487
2017-01-08T05:16:27
2017-01-08T05:16:27
78,322,865
2
1
null
2020-07-24T02:00:16
2017-01-08T05:12:13
Python
UTF-8
Python
false
false
12,348
py
# Copyright 2011 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a ...
[ "tianweiz@princeton.edu" ]
tianweiz@princeton.edu
f5933e82ed927210c51773afa9af7a7d0a215fe0
d1e437d0e4bdb5654816965eda313191c471364e
/jacc/migrations/0004_auto_20171030_1935.py
5ead7c25f21104ecfaa47d6011a78b8c7129d49b
[ "MIT" ]
permissive
iamtomc/django-jacc
ec9119e6f59af0d0c388c53690da0a53ff0ce7e8
12ba0de1ee85beebdb7d6ee8b2c1e1594351c078
refs/heads/master
2022-01-13T17:40:56.255362
2019-07-23T18:04:54
2019-07-23T18:04:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-10-30 19:35 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('jacc', '0003_auto_20171030_1933'), ] operations = [ migrations.RenameModel(old_name='...
[ "kajala@gmail.com" ]
kajala@gmail.com
540af058fef67b0ac90fedc369546f353a01097c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4330/codes/1871_1713.py
1fddc3ead2a24a6e2dbd689bbdde7da9c7384099
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
178
py
from numpy import* from numpy.linalg import* matriz=array(eval(input("Matriz de notas:"))) media=0 for i in range(shape(matriz)[1]): media=sum(matriz[i:2]) print(round(media,2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
c690e3456493ae5be13cbf818d8d6b98aad17de0
e232de1f42a922dc0c94d889c1f72d4f66b325d6
/genfiles/proto/rec/gui/Orientation_pb2.py
f663b0b83a107796aa3172ac938613aaa8061100
[]
no_license
rec/slow_gold
b19fcd684e469978bf20cd0638fa83786fc5ffae
f4551785cf7f9cf45605a850d013eef5d80f4ea6
refs/heads/master
2022-10-20T06:37:00.370927
2017-02-04T11:39:59
2017-02-04T11:39:59
null
0
0
null
null
null
null
UTF-8
Python
false
true
1,895
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: rec/gui/Orientation.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_poin...
[ "tom@swirly.com" ]
tom@swirly.com
905979b6faa6b2941e9a716cdeb11cd5076546b7
af4aa2e443abaa39b802b57919e9d0c418d17cdd
/2019/Helpers/day_20.py
5f18b9cae459ec418c850f5cdd903e84d0324f62
[]
no_license
daverayment/aoc
902d414b15a2746bdec1bb40e9029891ca800066
c7e9b6249b4e9d95b9b0d14192818e9a1841f3fd
refs/heads/master
2023-02-08T10:48:23.103729
2020-12-26T05:26:02
2020-12-26T05:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,836
py
#!/usr/bin/env python3 def get_desc(): return 20, 'Day 20: Donut Maze' def calc(log, values, iterate, animate=False): from grid import Grid grid = Grid.from_text(values) grid.default = " " warps = {} levels = {} portals = {} reverse = {} for x in grid.x_range(): for y in...
[ "scott.seligman@gmail.com" ]
scott.seligman@gmail.com
ba4d86c84e14fa87fb1929a83dcf035768275261
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/SITEBOSS-450-STD-MIB.py
7af694a3e87dfdd51d2b7d179244197089f03c31
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
439,538
py
# # PySNMP MIB module SITEBOSS-450-STD-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SITEBOSS-450-STD-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:56:34 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
be05ed5e7be5f1d8d7a75cd9c761b2e00caf0a57
150eac9d584eacea6f42cf3a6aaf2bdb72c5dfad
/db/transf.py
f01fc75ce1ed12456960d32ff1acf8b0abe5a083
[]
no_license
mdamien/twitter-poetry
bd74941aafa2188970b2396b9b557381b527d7d2
6c7d1c2a44a62e98a8d5e1557491aa013d5e34b9
refs/heads/master
2016-09-06T00:45:47.045703
2015-02-12T15:26:22
2015-02-12T15:26:22
20,359,672
1
0
null
null
null
null
UTF-8
Python
false
false
229
py
lines = open('raw.txt') lines = [l.strip() for l in lines] lines = [l for l in lines if len(l) > 10] lines = [l for l in lines if l.upper() != l] with open('data','w') as out: for line in lines: out.write(line+'\n')
[ "damien@dam.io" ]
damien@dam.io
1f43efc7b52fcf4d402eb6a2d18b58d64214b6d4
723b7db5f9409dc7564d0218c43420b2c2fa9881
/test/returntoclinic/returntoclinic.py
85203c264e634aa922a0fe8d7779fe04733ccaf9
[ "Apache-2.0" ]
permissive
truthakash/tscharts
afe522ff8ac3831961be115957f2d9e8f1d0abde
ad7e5e603ab67adc35f59a270f35dc37d541c3e4
refs/heads/master
2021-05-29T00:26:27.129764
2020-04-02T04:47:51
2020-04-02T04:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,857
py
''' unit tests for returntoclinic application. Assumes django server is up and running on the specified host and port ''' import unittest import getopt, sys import json from service.serviceapi import ServiceAPI from test.tscharts.tscharts import Login, Logout from test.patient.patient import CreatePatient, DeletePati...
[ "slogan621@gmail.com" ]
slogan621@gmail.com
326b24c2d76b451be9826101719a91764b6bcf48
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/recoveryservices/v20210301/get_replication_recovery_services_provider.py
ed78893587fc3628a19bf0d53c64c139da570f4a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,435
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
16a04be9bfd36bab69fea24c83fef7c22d769273
546fda8ea4c37dd9b633ab2fb81ae18987085bb6
/用Python玩转数据/2.2-1-demo.py
65ac4cabba4986b740d171210fc9825ea4ebdce0
[]
no_license
zk040377/load2python
a454addb9465848b5408685498eee25cb198140d
82eab48182fcfdf16450e0b66e81377d2f4a7385
refs/heads/master
2022-01-08T04:57:58.551691
2018-10-17T06:44:53
2018-10-17T06:44:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
week = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'saturday', 'Sunday'] print week[0:5] print week[1:5] print week[::-1] print week[-1] print week[-7:-2] print 'apple'*3 print 'apple'+'123' print 'pp' in 'apple' # list() print list('apple') # tuple() print tuple('apple') # str() a = 123 print str(a) ...
[ "ieeflsyu@outlook.com" ]
ieeflsyu@outlook.com
411b8898b900b547832adae426810ad1f07962ce
9f99485ac5479c1e6169e71d88a33c31ff591f4e
/tests/app/routes/stats/test_rest.py
fa0bc7f19a85ea575326c96ee400efcdf5ac97e8
[ "MIT" ]
permissive
NewAcropolis/api
b8c65554ca78ac0e87fbef46f5f2fbecb6d7700a
34367f55d3c9ee5bf870956ffc90fd23da559b15
refs/heads/master
2023-08-31T09:27:02.125549
2023-08-26T22:15:10
2023-08-26T22:15:10
99,582,634
1
1
MIT
2023-08-26T22:15:11
2017-08-07T13:46:23
Python
UTF-8
Python
false
false
2,048
py
import werkzeug werkzeug.cached_property = werkzeug.utils.cached_property from flask import url_for from mock import call from tests.conftest import create_authorization_header class WhenGettingSocialStats: def it_sends_social_stats(self, mocker, client): mock_send_social_stats = mocker.patch( ...
[ "kenlt.uk@gmail.com" ]
kenlt.uk@gmail.com
9a0fb73924c252633ca202feecf32a848fe37348
4500172cf203b078bd1826062821af16018747ee
/project/tds/utils.py
f2d51e87a05bdf004d115241d8c986cd5ec368db
[]
no_license
chrisblythe812/gamemine
726ad338279a80676eee9693a6ecc6bfca5eaf13
7c3acc39a24c38ae2ee06b71104a24cfbbde8453
refs/heads/master
2020-04-05T22:53:46.622902
2012-01-26T00:50:28
2012-01-26T00:50:28
3,269,945
1
0
null
null
null
null
UTF-8
Python
false
false
224
py
__all__ = ["is_eligible_for_free_trial"] FREE_TRIAL_CIDS = ["10", "14", "15"] def is_eligible_for_free_trial(request): if getattr(request, "campaign_id", None) in FREE_TRIAL_CIDS: return True return False
[ "christopher.ratha@gmail.com" ]
christopher.ratha@gmail.com
f603093e1feecfda665b5a8bb1c3c3cc0aa4d855
dfeda597c5caef242801571976ace03698d13703
/utils/eval_utils.py
9ea2c3211c81c73e44f730aa932fea14f2e8e0cf
[]
no_license
SamL98/Hierarchical-Calibration
b12e06c938438eab611c28ee5c0c02f77256741f
b783848311c48c862a9bdc00bcdb30bf22121eb2
refs/heads/master
2020-04-01T11:05:04.440936
2019-03-26T23:02:23
2019-03-26T23:02:23
153,146,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
def get_depth_of_label(pred_label, slices): if pred_label <= len(slices[0]): # If pred_label is a terminal, it's parent could be a few levels up in the hierarchy. # # Therefore, iterate through the slices until the terminal label is in a node with more than one child. # Then return that depth plus one since th...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
0ea5ca6e51a96ef390cf0499370aef428126ac9b
58959ee3e92cfb4dee217df94a1eb5d0fb4a238e
/qiskit/algorithms/gradients/spsa_estimator_gradient.py
0f9518a2b4b79e35c4e9cf35358bd03124fa9791
[ "Apache-2.0" ]
permissive
AGaliciaMartinez/qiskit-terra
e5d143393ee31af28e7fefddc52219c375d54066
e70ce504149b40287cfb8bff3ac525159dd46a40
refs/heads/master
2023-03-16T09:50:59.840070
2022-12-11T14:25:14
2022-12-11T14:25:14
219,828,601
0
0
Apache-2.0
2023-03-06T13:15:22
2019-11-05T18:59:22
Python
UTF-8
Python
false
false
5,290
py
# This code is part of Qiskit. # # (C) Copyright IBM 2022. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
AGaliciaMartinez.noreply@github.com
edb2fbb0bce0fb3f88ddaaf2aa2508e5c0fed34b
7e4425342a4d7e0f40978af17091f32d2712c79c
/Lecture_example/Day_22_01_DogsAndCats.py
90657fa812049f180b70a62c08b801b2ee4a393d
[]
no_license
yunhui21/CB_Ai_NLP
eca3da00c6c9615c8737b50d2c5ebe8dd1e3ba8a
b66ecc24abfd988fc9e7f19fa1941826b1bf38a4
refs/heads/master
2023-01-07T14:21:26.758030
2020-11-16T05:57:30
2020-11-16T05:57:30
291,835,156
1
0
null
null
null
null
UTF-8
Python
false
false
12,499
py
# Day_22_01_DogsAndCats.py import tensorflow as tf import matplotlib.pyplot as plt import numpy as np import os import time import pickle def show_history(history, version): epochs = np.arange(len(history['loss'])) plt.subplot(1, 2, 1) plt.plot(epochs, history['val_loss'], 'r', label='valid') plt.plo...
[ "yunhui21@gmail.com" ]
yunhui21@gmail.com
28e671196ad5dbffcd9ff3bc3f688df4f24e01ba
1b512092052c8fe7f6919ee870431ac7b3a65f66
/pal/examples/MixedHalidesBE/compile_final.py
630a6f0d6b28b7c9853fe4d1fd22c565c4096f1f
[]
no_license
ClancyLab/PAL
d7b9dd1caeb62d363041b8e4c7f402d6edbf741e
cb0ef048de37014922b943ae6b5eaffd3d43da63
refs/heads/master
2022-02-25T05:31:20.590421
2019-10-14T19:47:10
2019-10-14T19:47:10
210,862,362
1
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
import os import numpy as np def get_cost(fptr, goal="FAPbBrBrCl_THTO_0"): ''' Read in a log file and try to find the cost it took to recommend something. ''' goal = "Recommendation = %s" % goal buf = open(fptr, 'r').read().strip() if goal not in buf: return None cost = buf[buf.in...
[ "hherbol@gmail.com" ]
hherbol@gmail.com
ca4809efbd4988779a9e754561eabdb88dff16b3
034962500d30b5942017760ce7054f881ae771c1
/symposion_project/manage.py
378e3b0be3df7c4943a0edb78dc49a6589cc86df
[ "BSD-3-Clause" ]
permissive
CarlFK/pinax-symposion-project
6c2d6bb13d6c4a5b8782cdb838dac4e094fdfb41
41b1f20ba981f3f20cb7e4ed28d06ebd93a9a0fa
refs/heads/master
2021-06-17T14:10:24.098255
2011-12-03T20:47:39
2011-12-03T20:47:39
2,905,791
0
0
BSD-3-Clause
2021-06-10T22:06:53
2011-12-03T16:35:13
Python
UTF-8
Python
false
false
412
py
#!/usr/bin/env python import sys try: import pinax except ImportError: sys.stderr.write("Error: Can't import Pinax. Make sure you are in a " "virtual environment that has\nPinax installed.\n") sys.exit(1) else: import pinax.env from django.core.management import execute_from_command_line pin...
[ "lukeman@gmail.com" ]
lukeman@gmail.com
ca782f5c25da6cb66ece72b436e204f0d9d18df4
c46b1a90126baedc87a5444ba46f225ca24c4a1e
/tests/test_api.py
f784b6e78d6c48bbc552ec0bab9f4d483e5701c7
[ "MIT" ]
permissive
KarrLab/wc_model_gen
de1327d5f9b31ff77d89f992b5dcd5bfece5fbad
b2735391545bcd5f21faaa1ceaa1949e53497378
refs/heads/master
2021-07-20T11:03:37.916107
2021-07-06T22:55:43
2021-07-06T22:55:43
129,947,668
6
2
null
null
null
null
UTF-8
Python
false
false
304
py
""" Tests of the API :Author: Jonathan Karr <jonrkarr@gmail.com> :Date: 2018-04-19 :Copyright: 2018, Karr Lab :License: MIT """ import types import unittest import wc_model_gen class ApiTestCase(unittest.TestCase): def test(self): self.assertIsInstance(wc_model_gen.ModelGenerator, type)
[ "jonrkarr@gmail.com" ]
jonrkarr@gmail.com
a4b0dc0823f531ef1e73c6456fb19051372eb1fe
6c7b506acac3570f3b87204f894161982d03ea37
/main/migrations/0005_auto_20180822_1228.py
23b4b4f4a0579a618d7c752ca294a65e7da3e27b
[ "MIT" ]
permissive
sirodoht/skglist.com
d9af4e59bbcef4a343344145ddcde63dc70f6ac2
36b19af3bdd9161d3b8253b87e2332345925696f
refs/heads/master
2021-06-28T12:54:20.511823
2020-09-20T21:50:08
2020-09-20T21:50:08
143,543,616
2
0
MIT
2018-10-13T13:38:57
2018-08-04T16:09:20
HTML
UTF-8
Python
false
false
2,090
py
# Generated by Django 2.1 on 2018-08-22 12:28 import django.db.models.deletion import django.utils.timezone from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("main", "0004_auto_20180804_1803")] operations = [ migrations.CreateModel( name="G...
[ "theodorekeloglou@gmail.com" ]
theodorekeloglou@gmail.com
302edc5ff0a02c11ed720e0825dbcc615b677412
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/GPibesdkGf433vHBX_24.py
c74bf371c79776cca3445a52557fbc36dd6a0de2
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
def goldbach_conjecture(n): for i in range(2, n): if is_prime(i) and is_prime(n-i): return [i, n-i] return [] def is_prime(n): for i in range(2, n): if n % i == 0: return False return True
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d6e3149a916573b490d21d18d099629f1e2b9fe5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_124/ch4_2019_08_14_14_06_31_797868.py
8a183993c31af1645ff7e0261e0909f91438cb29
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
idade = int(input("coloque sua idade: ")) def classifica_idade(idade): if idade <= 11: return("crianca") if idade >= 18: return "adulto" else: return "adolescente"
[ "you@example.com" ]
you@example.com
f6432077c9f6c543057d5d48ef10914dd89faf2b
54f5bd4106b6e70d04708e3c4dc10421fe8b93bd
/tensor/tostring.py
f550d367eba2b5be03dd6bed0f8e9738e20d16fe
[]
no_license
hslee1539/tic_tac_toe
2c11f28e681681314e8f9b9a8cecccfd1f94f494
aa7aa50de55ef4825f05a6d6ad1b00be7f40f770
refs/heads/master
2020-07-26T09:25:23.165078
2019-09-15T15:56:14
2019-09-15T15:56:14
208,603,131
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
def tostring(array, shape, newline = "\n"): out = [""] #todo: 배열 -> 정수로 pos = [0] * len(shape) #do-while _tostring_process1(out, pos) _tostring_process2(out, array, shape, pos) _tostring_process3(out, shape, pos) while(_tostring_process4(out, shape, pos, newline)): _tostring_pr...
[ "qq1539@naver.com" ]
qq1539@naver.com
2a22b7a9ccbb859b6dc190a8b772afb3cde27e98
174833cc3f8ea752ecfa5ffbbdfbab2798dc8745
/ml_params_tensorflow/tests/test_datasets.py
ec54d5bcee928ad3abbf923be5129a52fd2446d7
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SamuelMarks/ml-params-tensorflow
35098d95de15b65d4bf7ae944eb9a62efb245584
86fb92147443e69982d05755361b101f8a6f64e5
refs/heads/master
2023-04-22T14:59:15.464011
2021-04-08T11:03:24
2021-04-08T11:03:24
276,570,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
""" Datasets tests """ from unittest import TestCase from unittest.mock import MagicMock, patch import tensorflow as tf import tensorflow_datasets as tfds from ml_params_tensorflow.ml_params.datasets import ( load_data_from_tfds_or_ml_prepare, normalize_img, ) from ml_params_tensorflow.tests.utils_for_tests ...
[ "807580+SamuelMarks@users.noreply.github.com" ]
807580+SamuelMarks@users.noreply.github.com
8d7d99dc8ae4f91baba87b44d915c616853447b0
8fcc27160f8700be46296568260fa0017a0b3004
/client/crimewatch/const.py
2731911e6909562866995fe1f1849e88a143df94
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
1,266
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\crimewatch\const.py import inventorycommon securityLevelsPerTagType = {inventorycommon.const.typeSecurityTagCloneSoldierNegotiator: (-2.0, 0.0), inventorycommon.const.typeSecurityTagCloneSoldierTransporter: (-5.0, -2.0), ...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
b9e7e2135ba4e4004c2e0c2d6dc6e0fecb9cfd18
55ff0f456f43c0946c0e7b46e3cda18e9b9355ac
/test/merge.py
3f2a9c3fd315c93ae65764bcc94c1116b24d3a73
[ "MIT" ]
permissive
pombredanne/seqsearch
27952bda90d445d1cf62e2060b08b3b73ced37f3
a5adf1968188d5fc9ec8a5f5fc1a88aaaf08c3e0
refs/heads/master
2020-12-28T19:46:54.197349
2014-12-09T13:16:26
2014-12-09T13:16:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,906
py
""" Copied and adapted from https://bitbucket.org/peterjc/galaxy-central/src/5cefd5d5536e/tools/ncbi_blast_plus/blast.py Tested working with BLAST 2.2.28+ More info at: http://www.biostars.org/p/53946/ """ ############################################################################### def merge_blast_xml(inputs, out...
[ "lucas.sinclair@me.com" ]
lucas.sinclair@me.com
fe7daa01e6a5301329101c810797c3b283f10b2a
4a238068e29a1f6871cc049a0486b20b27e781de
/Graphcore/benchmarks/bert/implementations/popart/tests/conftest.py
c42f6d6691c78ddade8380b1c3b554468375a887
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Pixelz-Inc/training_results_v1.0
61b4555ad482b189d1966be3edd127858addd628
c507130c4e04c1f274a9ae8b7284aac79f26325a
refs/heads/master
2023-08-18T22:46:13.316503
2021-10-22T04:01:57
2021-10-22T04:01:57
399,047,712
0
0
NOASSERTION
2021-08-23T09:37:25
2021-08-23T09:37:25
null
UTF-8
Python
false
false
3,311
py
# Copyright (c) 2019 Graphcore Ltd. All rights reserved. import subprocess from pathlib import Path import pytest import ctypes custom_ops_loaded = False def load_custom_ops(): bert_dir = Path(__file__).parent.parent.resolve() so_path = str(bert_dir / "custom_ops.so") global custom_ops_loaded if not...
[ "vsb@fb.com" ]
vsb@fb.com
9b7f38a5f39b1847c4046a09422ebab4678dc543
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_9239.py
523b0465788200b8a01fd6a98756e672e91c8ca9
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
# Does Python respect symlinks? open
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
4ae9df5f1c31e0f5c48de50021683c98a6f7f54a
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit_noisy131.py
2971f1450f1f42045af471289822413e880caf82
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
# qubit number=3 # total number=11 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
ceca7cc6d47204361aae260b7c45ff9ace0dd528
2e08552e1eb86ffa4870d9208d83b903f0f847d0
/paperswithcode/models/page.py
5f597c84ab5097f1ac29acc250d7f44fd9b81fe7
[ "Apache-2.0", "CC-BY-SA-4.0" ]
permissive
paperswithcode/paperswithcode-client
c1fffc0a17066f0eb7128ea726bf4f0485f47c5d
70bd7ee5157fcaeff39145d2e03cc9ed5bb7421b
refs/heads/develop
2022-12-12T21:20:17.493109
2021-12-01T17:44:04
2021-12-01T17:44:04
283,026,422
113
17
Apache-2.0
2022-12-01T22:24:42
2020-07-27T21:58:46
Python
UTF-8
Python
false
false
414
py
from typing import Optional from tea_client.models import TeaClientModel class Page(TeaClientModel): """Page model. Attributes: count (int): Number of elements matching the query. next_page (int, optional): Number of the next page. previous_page (int, optional): Number of the previou...
[ "alefnula@gmail.com" ]
alefnula@gmail.com
7611691c177850d221fddb2c75190a29a576c535
002e84f64299bfefbe044e7bd38d5c2bf49a4d43
/my_notes/python/model_representation.py
f303e51b036d4ccc4e931f86d706dbf2666979c0
[ "MIT" ]
permissive
ptracton/MachineLearning
03784c725d6293d5555c4ed48fe009c3e3691151
4225de8ec5e373ba1aa9e479b0fc0860398420e0
refs/heads/master
2022-12-21T13:09:17.418325
2020-05-04T20:36:17
2020-05-04T20:36:17
133,865,472
0
0
MIT
2022-12-08T04:04:15
2018-05-17T20:32:22
Jupyter Notebook
UTF-8
Python
false
false
490
py
#! /usr/bin/env python3 import matplotlib.pyplot as plt import numpy as np x = np.arange(0, 10, 1) # y = 0.5x + 1 y = [0.5*v + 1 for v in x] y2 = [0.9, 1.6, 2.4, 2.3, 3.1, 3.6, 3.7, 4.5, 5.1, 5.3] print("Data {} {}".format(x, y)) fig = plt.figure() fig.subplots_adjust(top=0.8) ax1 = fig.add_subplot(211) ax1.set_yla...
[ "ptracton@gmail.com" ]
ptracton@gmail.com
ab322664a5bf60b1f60acead6047694ea8907325
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/security/azure-mgmt-security/azure/mgmt/security/v2021_06_01/aio/_configuration.py
ee231370021721227b49c8da02c6240ab0490109
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
3,507
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
87c8bd6a149bd766d06d0656cb3c0cf7f478f86c
25415c9e82e341f6eba09264700a351d195ddbdd
/helplineApp/perpetrators/api/serializers.py
d1d42f7405933475e8f645944decedfcbe0458b0
[]
no_license
Ahmedsebit/helplineApp
1eef789b0d015faa671292e81284a1351d0547dd
57d0e2f30b5951b8ab2a0fd5b5537c2628d85959
refs/heads/master
2022-05-25T18:08:27.489100
2019-07-16T09:33:39
2019-07-16T09:33:39
189,024,405
0
0
null
2022-05-25T03:05:35
2019-05-28T12:30:54
Python
UTF-8
Python
false
false
636
py
from rest_framework import serializers from perpetrators.models import Perpetrator class PerpetratorModelSerializer(serializers.ModelSerializer): class Meta: model = Perpetrator fields = [ 'first_name', 'last_name', 'middle_name', 'location', ...
[ "Ahmed.yusuf@andela.com" ]
Ahmed.yusuf@andela.com
27ecd613427b9c1fc75d394aa84a9d91f6b982f6
27aaadf435779c29012233cb1dacf27bd9dd0d0f
/aiccs-20191015/alibabacloud_aiccs20191015/client.py
ce3a47b4ab43167337e343f4e7e2191966a3c943
[ "Apache-2.0" ]
permissive
aliyun/alibabacloud-python-sdk
afadedb09db5ba6c2bc6b046732b2a6dc215f004
e02f34e07a7f05e898a492c212598a348d903739
refs/heads/master
2023-08-22T20:26:44.695288
2023-08-22T12:27:39
2023-08-22T12:27:39
288,972,087
43
29
null
2022-09-26T09:21:19
2020-08-20T10:08:11
Python
UTF-8
Python
false
false
525,796
py
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from typing import Dict from Tea.core import TeaCore from alibabacloud_tea_openapi.client import Client as OpenApiClient from alibabacloud_tea_openapi import models as open_api_models from alibabacloud_tea_util.client import Client as UtilCl...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
904ace06f31e54dc006bd55a0ee339192a507c3e
2aa4c5fc960c5c05b6ef9891fd7ae85e5e38ac57
/household/migrations/0015_auto_20200408_1154.py
1abc54a671b64c8335611c5b03a0af6b884efbb6
[ "MIT" ]
permissive
OpenUpSA/municipal-data
4a4e8239f41bc179705f8858c82f15246160ba90
21ee3a4cf3614ac1fe32ff730843a238f39e1f40
refs/heads/master
2023-08-30T23:52:45.924118
2023-08-23T13:33:55
2023-08-23T13:33:55
55,236,579
24
15
MIT
2023-09-14T14:12:18
2016-04-01T14:01:37
JavaScript
UTF-8
Python
false
false
523
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2020-04-08 09:54 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('household', '0014_financialyear_year_range'), ] operations = [ migrations....
[ "stumenz.complex@gmail.com" ]
stumenz.complex@gmail.com
558ce2d4970ebaf25314f0b4911cfdc53d0ff02f
50084bf941b61791ac4def5b8cff950e7ddfdd15
/03 More on Data Types/Dictionaries/01_initializing.py
7553534a05cd376fdcc7596e2dfc500367f7e7c7
[]
no_license
gjq91459/mycourse
6904ad191dc6128fb853eb8bdb1b200a46b2059f
211d7707e41f50495375b4a1dfc32b62b76b317b
refs/heads/master
2021-01-21T10:34:44.841349
2017-03-01T11:17:52
2017-03-01T11:17:52
83,456,979
1
0
null
null
null
null
UTF-8
Python
false
false
516
py
############################################################ # # dictionary # ############################################################ # set up a dictionary salary1 = { "john": 34000, "sara": 27000, "pedro": 52000, "tim": 12500, "zoe": 66000 ...
[ "gjq91459@diamtr341.diamond.ac.uk" ]
gjq91459@diamtr341.diamond.ac.uk
1af3b3c1224466edff599b99409613ab99fe2a06
89044e65254b443aa596d1711cc88146516b0546
/asynchronous/twisted/1/code009.py
ead54e410b1328aa199ec12f59f6173f4e7693a1
[]
no_license
romandev/bible
1b4e0a0959a2c00c8daadd01faa9cf6466442e87
005d5087d9f897f105683f565979ee59e2e2559c
refs/heads/master
2020-08-07T22:02:32.351698
2019-08-31T04:36:22
2019-08-31T04:36:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
from twisted.internet import reactor from twisted.internet.defer import Deferred class Task: def __init__(self, gen, defer): self._gen = gen self.defer = defer reactor.callWhenRunning(self.step) def step(self, value=None): try: defer = self._gen.send(value) ...
[ "xg.gao@tianrang-inc.com" ]
xg.gao@tianrang-inc.com
0689c340d6122770144a6369739a7db6c17c0831
c1960138a37d9b87bbc6ebd225ec54e09ede4a33
/adafruit-circuitpython-bundle-py-20210402/lib/adafruit_rsa/core.py
4c41a95e17bd0719d0ebc567d51712e586ded19f
[]
no_license
apalileo/ACCD_PHCR_SP21
76d0e27c4203a2e90270cb2d84a75169f5db5240
37923f70f4c5536b18f0353470bedab200c67bad
refs/heads/main
2023-04-07T00:01:35.922061
2021-04-15T18:02:22
2021-04-15T18:02:22
332,101,844
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
# -*- coding: utf-8 -*- # SPDX-FileCopyrightText: 2011 Sybren A. Stüvel <sybren@stuvel.eu> # # SPDX-License-Identifier: Apache-2.0 """Core mathematical operations. This is the actual core RSA implementation, which is only defined mathematically on integers. """ # pylint: disable=invalid-name from adafruit_rsa._compa...
[ "55570902+apalileo@users.noreply.github.com" ]
55570902+apalileo@users.noreply.github.com
1cc48d42e4a7b09019c4f1bb816e221f3202dbd0
211fdc0564d9b003a82bb880d2e422dac85a5752
/correcciones/segunda_parte/proyecto_2/Proyecto2-1010673-1211167/Proyecto2-1010673-1211167/cancion.py
fa8b941f0d42a5882a585bf191618b06ab130e7b
[]
no_license
dvdalilue/ci2692_ene_mar_2017
45fa1833b4b3b49a1e5be33e58f01cb23bb2d6aa
1690e6429c2c5ec167d505642d3344b249257475
refs/heads/master
2021-01-20T01:32:43.668461
2017-04-24T22:50:01
2017-04-24T22:50:01
89,292,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
# Proyecto no. 2 # Autores: Jorge Sanchez 10-10673 # Greanny Vivas 12-11167 from pathlib import Path from PyQt5.QtCore import QFile # Clase cancion: class Cancion: def __init__(self, artista, titulo, archivo): assert(len(str(titulo))>1 and len(str(artista))>1 and archivo is not None) self.titulo = s...
[ "dvdalilue@gmail.com" ]
dvdalilue@gmail.com
d1492421a7acc9db39fc8fc53e3e20389ce7c0d4
00fc47594af196da2b57477deb380552e564dea7
/tests/fixtures/config-scheduler1.py
882b4c371fba6b23f6c7b329280323e8e94bcec6
[ "MIT" ]
permissive
apploitech/mrq
b97c2136b8b405a4784395acedb02ff8d913f49e
e63021606fb1dc839165c6b203e807119bffa2ec
refs/heads/master
2023-06-27T09:44:44.457392
2023-06-07T14:32:18
2023-06-07T14:32:18
172,127,544
2
0
MIT
2023-06-13T19:17:24
2019-02-22T20:03:37
Python
UTF-8
Python
false
false
592
py
SCHEDULER_TASKS = [ { "path": "tests.tasks.general.MongoInsert", "params": { "a": 1 }, "interval": 5 }, { "path": "tests.tasks.general.MongoInsert", "params": { "a": 2 }, "interval": 5 }, { "path": "test...
[ "sylvain@sylvainzimmer.com" ]
sylvain@sylvainzimmer.com
42655d3ad8e4c95bdabebe9761324740537d2e6f
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/stdlib-big-2211.py
991964267d24d078fd6725c145e0879403ea3b9d
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
9,002
py
# ChocoPy library functions def int_to_str(x: int) -> str: digits:[str] = None result:str = "" # Set-up digit mapping digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] # Write sign if necessary if x < 0: result = "-" x = -x # Write digits using a recursive call ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
8f2aaf00f129669008fd27ad7b7dc0c99368f5d7
f410cce6c0313ed17b6b28274327dc452fa60b71
/tools/python/allcheck.py
d8ca7990dc6418bc764f93464ff8d4dac7340b59
[ "Apache-2.0" ]
permissive
squadrun/python-phonenumbers
ecb9a9702f9c7471c411d97f8a5347686b362303
b60ebefd6e2fbe058b742a5fd527e5aaa6cf3203
refs/heads/dev
2020-03-24T08:28:12.329407
2018-07-12T06:18:22
2018-07-12T06:18:22
142,596,822
0
0
Apache-2.0
2019-03-25T12:39:23
2018-07-27T15:52:45
Python
UTF-8
Python
false
false
1,932
py
#!/usr/bin/env python import sys import re import glob # Use the local code in preference to any pre-installed version sys.path.insert(0, '../../python') import phonenumbers import phonenumbers.geocoder import phonenumbers.carrier import phonenumbers.timezone from phonenumbers.util import prnt # Manually grep for to...
[ "dmd@lurklurk.org" ]
dmd@lurklurk.org
d689e07ad00b40877dc25a19edbcc62606afc7cf
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/DeleteQualityRelativeNodeRequest.py
8700e286e16251cfe6c0840e6e02b314528e8ec6
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,786
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
461168349b7bde529cae95b459737c6d695d4187
5e9bda2d6082f62d889df1c28973436af905faaa
/demo/agw/CustomTreeCtrl.py
6b9e4c10b4832da28c550d3405d7fa21df7e8184
[]
no_license
FXCMAPI/Phoenix
cab74db4e8f141f4d27b4b2e3d5bab06994b2e52
040763282f04a5b98f89c054b254993d1a8ca618
refs/heads/master
2020-03-16T15:42:10.660845
2018-05-09T01:41:51
2018-05-09T01:45:33
132,755,174
1
1
null
2018-05-09T12:41:54
2018-05-09T12:41:53
null
UTF-8
Python
false
false
71,720
py
#!/usr/bin/env python import wx import string import os import sys import random import wx.lib.colourselect as csel try: dirName = os.path.dirname(os.path.abspath(__file__)) except: dirName = os.path.dirname(os.path.abspath(sys.argv[0])) bitmapDir = os.path.join(dirName, 'bitmaps') sys.path.append(os.path.s...
[ "robin@alldunn.com" ]
robin@alldunn.com
71a643637d45a102fbc1d4fa3f965954501e56f3
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/rest_allow_un_mute_req_body.py
7339fb6a277980ea3189e622b2cd0b7c0d0a2715
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,226
py
# coding: utf-8 import pprint import re import six class RestAllowUnMuteReqBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the v...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
37a74d5112c5fae35b17594856dc5077a2f9ee7c
db891dc74972e7ccf2ad1a8dabe8de5cbb93c024
/l10n_hn_check_printing/__manifest__.py
b5875f3e904cc581250516f00786753446be95de
[]
no_license
LuisMalave2001/GarryTesting
2a439b1ad6d1216f64e3e766028750a0bc9e4db0
f83efeb54e22313e8b533036ff4a5befa5d3a59b
refs/heads/main
2023-05-04T06:54:17.069804
2021-05-25T13:41:22
2021-05-25T13:41:22
336,295,640
2
0
null
null
null
null
UTF-8
Python
false
false
535
py
# -*- coding: utf-8 -*- { 'name': 'Honduras Checks Layout', 'summary': """ Print HN Checks """, 'description': """ This module allows to print your payments on pre-printed checks. """, 'author': 'Eduwebgroup', 'website': 'http://www.eduwebgroup.com', 'category': 'Invoicing', ...
[ "LuisAngelMalaveMora@gmail.com" ]
LuisAngelMalaveMora@gmail.com
85c5a8c3454140a8d27019a7086d75b067551e01
c6759b857e55991fea3ef0b465dbcee53fa38714
/rtos/pmsis/tests/api/quick/periph/timestamp/tdm_timestamp/check_tx_buffer.py
47a49dfab35ff6ee4287bb6cb194d3d59d303c71
[ "Apache-2.0" ]
permissive
GreenWaves-Technologies/gap_sdk
1b343bba97b7a5ce62a24162bd72eef5cc67e269
3fea306d52ee33f923f2423c5a75d9eb1c07e904
refs/heads/master
2023-09-01T14:38:34.270427
2023-08-10T09:04:44
2023-08-10T09:04:44
133,324,605
145
96
Apache-2.0
2023-08-27T19:03:52
2018-05-14T07:50:29
C
UTF-8
Python
false
false
2,623
py
#!/usr/bin/env python3 import argparse parser = argparse.ArgumentParser(description='Check TX buffer') parser.add_argument("--start", dest="start", default=None, type=int, help="Start value") parser.add_argument("--incr", dest="incr", default=None, type=int, help="Incr value") parser.add_argument("--end", dest="end"...
[ "yao.zhang@greenwaves-technologies.com" ]
yao.zhang@greenwaves-technologies.com
0125109b8e9fb2b9245c7905243318775b233b51
3e660e22783e62f19e9b41d28e843158df5bd6ef
/script.me.syncsmashingfromgithub/smashingfavourites/scripts/rsyncscripts/test7.py
b020bb375ee719f7e8f8f170b09dd7e68e84701c
[]
no_license
monthou66/repository.smashingfavourites
a9603906236000d2424d2283b50130c7a6103966
f712e2e4715a286ff6bff304ca30bf3ddfaa112f
refs/heads/master
2020-04-09T12:14:34.470077
2018-12-04T10:56:45
2018-12-04T10:56:45
160,341,386
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
# -*- coding: utf-8 -*- # get masterprofile import xbmc import os def printstar(): print "***************************************************************************************" print "****************************************************************************************" # define stuff USERDATA = xbmc.tra...
[ "davemullane@gmail.com" ]
davemullane@gmail.com
24b356630ea69c5ca48748aba2594da07781989e
b167407960a3b69b16752590def1a62b297a4b0c
/tools/project-creator/Python2.6.6/Lib/test/test_trace.py
9a4b2775c6701fa6101950ca70c762b156f59513
[ "MIT" ]
permissive
xcode1986/nineck.ca
543d1be2066e88a7db3745b483f61daedf5f378a
637dfec24407d220bb745beacebea4a375bfd78f
refs/heads/master
2020-04-15T14:48:08.551821
2019-01-15T07:36:06
2019-01-15T07:36:06
164,768,581
1
1
MIT
2019-01-15T08:30:27
2019-01-09T02:09:21
C++
UTF-8
Python
false
false
23,655
py
# Testing the line trace facility. from test import test_support import unittest import sys import difflib import gc # A very basic example. If this fails, we're in deep trouble. def basic(): return 1 basic.events = [(0, 'call'), (1, 'line'), (1, 'return')] # Man...
[ "278688386@qq.com" ]
278688386@qq.com
7f19a93ef1d1906f8a58f6b8100ac5c7583ae6d2
bc550f6966e30de27987bc803b2447bf02a2e44b
/tools/PdfView.py
cc9c4d05989940a53c2f233d78518478ea1e75b7
[]
no_license
v-komarov/psv3
afe2a50a5498ee66f4146802ecbbb62bef5a9173
deca97a9fac0865163f7c2d4fd5110caccb00a80
refs/heads/master
2021-01-18T10:52:35.444429
2016-06-06T09:19:27
2016-06-06T09:19:27
59,651,228
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
#!/usr/bin/env python #coding:utf-8 import shelve ### --- Запись значения в CFG файл --- f = shelve.open('../ps.cfg') f['pdfview']='evince' f.close()
[ "komarov-krsk@mail.ru" ]
komarov-krsk@mail.ru
9ef7f10f2c660037d94e912eb79c785e24555905
e5d6e752d2511eae6a0214a7590e3bcd752714f8
/data_splite_resize.py
cf4c02609f92d54531b540e492d6b20d5732f2aa
[]
no_license
WenHui-Zhou/head_detection
69c3d2b53dd1d88089c6415500fbfcaf0522c35f
8394a39211b86c7998d6b7011e39363494679f4a
refs/heads/master
2020-04-18T05:37:11.457028
2019-01-24T02:35:34
2019-01-24T02:35:34
167,285,313
0
0
null
null
null
null
UTF-8
Python
false
false
2,303
py
import os import json import matplotlib.pyplot as plt import numpy as np from PIL import Image, ImageDraw,ImageFont SIZE1 = 480 SIZE2 = 640 imSaveDir = "/home/zhouwenhui/AI/head_Detection/TensorBox/data/yuncong/part_B_resize/" txtDir = "/home/zhouwenhui/AI/head_Detection/TensorBox/data/yuncong/TXT/" imTrainSaveDir =...
[ "765647930@qq.com" ]
765647930@qq.com
804e46ee81c147120f603c6628db2934f2e92b09
dea38bc535d00d2580063b365994d41fe971e2da
/Chatterbot/no_output_example.py
1a53a3d725655d1e6c5787de27f79fdd294b23ba
[]
no_license
shivam1111/research
ed6282116d9d7daaa6e416c9c20b919851b5560b
0d3cc5d1718715733dd023ed021ceee8377481d4
refs/heads/master
2021-01-10T03:50:48.336533
2016-02-18T14:35:21
2016-02-18T14:35:21
50,817,941
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
from chatterbot import ChatBot # Create a new instance of a ChatBot bot = ChatBot("No Output", storage_adapter="chatterbot.adapters.storage.JsonDatabaseAdapter", logic_adapter="chatterbot.adapters.logic.ClosestMatchAdapter", io_adapter="chatterbot.adapters.io.NoOutputAdapter", database="../database.db...
[ "shivam1111@gmail.com" ]
shivam1111@gmail.com