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
13625160094af6f2c556282781176b60347f5c50
dd9e7df6b7dd915e749f537f490f62d38b7fa214
/users/migrations/0006_auto__add_unsubscribeduser.py
7406954728aacb69b7f73a2a4a7517df2c2da49a
[]
no_license
mikpanko/elections_network
383039b5310d006811f3638924bed41184bc2a64
6c14c79d9ec74c30d9998533ef73819f0e2e91bd
refs/heads/master
2020-12-31T03:16:49.742384
2012-06-30T14:19:22
2012-06-30T14:19:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,409
py
# encoding: 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): # Adding model 'UnsubscribedUser' db.create_table('users_unsubscribeduser', ( ('id', self.gf('...
[ "sergkop@gmail.com" ]
sergkop@gmail.com
0071d17dcd8217ef990f2795601ddbf00254ae01
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_AAA/test_c142209.py
6b29b93e31cc9f7e531c7541a22d1d8ec203187e
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
3,815
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_sys import * from page_obj.scg.scg_def import * from page_obj.scg.scg_def_authenticated_user import * from page_obj.scg.scg_def_log import * from page_obj....
[ "15501866985@163.com" ]
15501866985@163.com
d6e8c23e7457bea6fb3fefd0a9a65ed3c7b3b6fd
31de892a8bcadef5f9097291dd8696444245d6ac
/setup.py
68d1fe05bfcda78724a252f405d8f304b05c4b1d
[ "Apache-2.0" ]
permissive
iconeb/kcli
d16e45b4e9063d5b50b7678280262e209d4e9611
dad30a3793b20f3f15055255877eeba46db84ff5
refs/heads/main
2023-07-20T09:46:24.103052
2023-07-16T15:03:57
2023-07-16T15:03:57
254,481,611
0
0
Apache-2.0
2020-04-09T21:25:42
2020-04-09T21:25:42
null
UTF-8
Python
false
false
2,362
py
# coding=utf-8 from setuptools import setup, find_packages import os INSTALL = ['argcomplete', 'PyYAML', 'prettytable', 'jinja2', 'libvirt-python>=2.0.0'] AWS = ['boto3'] AZURE = ['azure-mgmt-compute', 'azure-mgmt-network', 'azure-mgmt-core', 'azure-identity', 'azure-mgmt-resource', 'azure-mgmt-marketplaceord...
[ "karimboumedhel@gmail.com" ]
karimboumedhel@gmail.com
4c56f233b65f69536b85e1c56d5fba7f9c65f3f3
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_130/49.py
17e841622752459c74dec616ebde360b2417497f
[]
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
518
py
import sys def worst_winner(N, P): p = 0 while 2**(p + 1) - 1 < P: p += 1 wins = N - p return 2**N - 2**wins def best_loser(N, P): if P == 2**N: return 2**N else: return 2**N - 1 - worst_winner(N, 2**N - P) def solve_case(test_case): N, P = map(int, raw_input().s...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b37d602af3d0495cb364edf30d266ef82f122d16
9689efb769fd0d09b6c388662db354abd458dfa8
/dfvfs/helpers/windows_path_resolver.py
bea3fbdaf7017c34e0a2804f4da91c046449049d
[ "Apache-2.0" ]
permissive
pombredanne/dfvfs
39ff63e8587bf4db6070eb0769679b74c3910f4e
a1d3766c021b5effc9df68b8a439e0664ab9d95e
refs/heads/master
2021-01-21T06:10:16.176258
2015-12-16T20:40:50
2015-12-16T20:40:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,251
py
# -*- coding: utf-8 -*- """A resolver for Windows paths to file system specific formats.""" import re from dfvfs.lib import errors from dfvfs.path import factory as path_spec_factory class WindowsPathResolver(object): """Resolver object for Windows paths.""" _PATH_SEPARATOR = u'\\' _PATH_EXPANSION_VARIABLE =...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
58db5e4255c1dc75e9c6d6685d78e1370ac01dbd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03487/s268367842.py
5fec4b7c08c3581e14e816c36045afe053510238
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
from _collections import defaultdict n = int(input()) a = list(map(int,input().split())) a_max = max(a) l = defaultdict(int) count = 0 for i in range(n): l[a[i]] += 1 count += 1 if l[a[i]] == a[i]: count -= a[i] print(count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
88f0ab65279cb33bebbebb0fb6b02bbe12b2e0ec
db5048182ecac596c6e47374e3199ee96e0df80c
/natlas-agent/natlas/threadscan.py
7ea624fd0d8428969976c552ddfdbcad9606628e
[ "Apache-2.0" ]
permissive
rosswsnider/natlas
98bad241c1bbb7177c77a4b5cf8a89672c3feae7
71482c14213eb6b5e9e18365cde5875ed5441523
refs/heads/master
2020-04-22T18:12:27.647274
2019-10-19T00:57:25
2019-10-19T00:57:25
170,569,537
0
0
Apache-2.0
2019-02-13T19:49:21
2019-02-13T19:49:20
null
UTF-8
Python
false
false
6,524
py
import base64 import subprocess import threading import shutil import os from libnmap.parser import NmapParser, NmapParserException from natlas import screenshots from natlas import logging from natlas.net import NatlasNetworkServices from natlas.scanresult import ScanResult from natlas import utils logger = loggin...
[ "0xdade@users.noreply.github.com" ]
0xdade@users.noreply.github.com
5de60bc0eae5b54afaed4f99f524d8814290399d
98d33b8cf597c02920d7b339331a660ea5bb83a8
/core/simulators/srunner/scenarios/follow_leading_vehicle_new.py
61f5dd3ae9e80391f8874c02f8b299317796dfdd
[ "Apache-2.0" ]
permissive
dj-boy/DI-drive
73953d739509458a2ff1fb560d8903fb80dc17d2
3a34f85c1015e57dd6bbca6171d1aa5e9a069dcd
refs/heads/main
2023-06-25T18:50:45.226449
2021-07-13T07:22:39
2021-07-13T07:22:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,526
py
from core import policy import random import py_trees import carla from core.simulators.carla_data_provider import CarlaDataProvider from core.simulators.srunner.scenariomanager.scenarioatomics.atomic_behaviors import ( ActorTransformSetter, ActorDestroy, KeepVelocity, StopVehicle, WaypointFollower ) from core.s...
[ "sissure@qq.com" ]
sissure@qq.com
b9a77ae040c58948a927f84d79c96bff735c2b35
f3e75fe5b09ef8056028941aac8d2d8f54c25695
/AppConsistencia/aerConsistencia.py
1f6c2435702860e126d049b05093673ef70e7515
[]
no_license
ryali93/SegmRural
ad07cef3c77ad268bf30d7c2c64309123595c3e7
c5f116fa6a4a5586a1604ecc630a179ce4112093
refs/heads/master
2021-05-16T17:59:08.611957
2019-09-06T17:38:50
2019-09-06T17:38:50
103,148,123
0
0
null
null
null
null
UTF-8
Python
false
false
2,989
py
#!/usr/bin/python # -*- coding: utf-8-*- import arcpy from Generales import settings, funcionesGenerales arcpy.overwriteOutput = True CALIDAD_AER_PRESEGM = r'Database Connections\GEODB_CPV_SEGM.sde\GEODB_CPV_SEGM.SDE.CALIDAD_RURAL\GEODB_CPV_SEGM.SDE.CALIDAD_AER_PRESEGM' conn = settings.conectionDB_pymmsql() conexion...
[ "ryali93@gmail.com" ]
ryali93@gmail.com
744011bd7a84312aaddf610978bb88e9142ea8f8
615e3cdc2c136b2f66b5c553d375823d3580fd08
/mundo2/venv/Scripts/pip3-script.py
b354cc03f8214313b332542acc17d9a2fe6bca29
[]
no_license
Android-Ale/PracticePython
859a084e224cfb52eed573e38d7d9dc91f405885
cab2ac7593deb22e6bb05a95ecd19a8ea2c96b0a
refs/heads/master
2023-05-06T06:33:36.724569
2021-05-15T00:12:06
2021-05-15T00:12:06
369,307,842
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!C:\Users\Alpha\PycharmProjects\mundo2\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0...
[ "alesson9silva@gmail.com" ]
alesson9silva@gmail.com
302811271c73637555f842876fcde21a092cf994
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/demo_20201105174938.py
f39436d72ee4465ac7b64065d9653639b49ebfd3
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
# a = 1 # if a==0: # print("a=0") # else: # print("a!0") """ x>1 () -1<=x<=1 x+2 x < -1 """
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
df055a3ab8496dfc923bb0af2eed7fd202c1d0f4
617760603a76c796d5099601c8cbaf0047527eff
/openpype/hosts/unreal/__init__.py
1280442916a6f5d10fe54e9dc5d8d7b506c65358
[ "MIT" ]
permissive
josephkirk/OpenPype
ce5b999b93a7a4b83612dbf9756de224073d9ed1
5452a0eb60e5b9ed31bb821f391bd14ab3e288bb
refs/heads/main
2023-09-03T11:22:57.203271
2021-09-25T03:38:56
2021-09-25T03:38:56
410,203,357
0
0
MIT
2021-09-25T07:12:55
2021-09-25T07:12:54
null
UTF-8
Python
false
false
592
py
import os def add_implementation_envs(env, _app): """Modify environments to contain all required for implementation.""" # Set AVALON_UNREAL_PLUGIN required for Unreal implementation unreal_plugin_path = os.path.join( os.environ["OPENPYPE_REPOS_ROOT"], "repos", "avalon-unreal-integration" ) ...
[ "jakub.trllo@gmail.com" ]
jakub.trllo@gmail.com
6650d4e8fcfb731afb09afc83dd0f67289b07417
993bdf8973c0f4a6261c1ee101ac0bdb915e1980
/Mult_table.py
ef08e267998d18a9e8851d0fa60993b95d667244
[]
no_license
kevinpav/Python
95ce3f70bd057454894deb906e456a967a79781c
ddc98820d2616b95eb9a66372f2b3a438289e176
refs/heads/master
2020-12-25T18:32:16.486795
2017-06-15T21:28:35
2017-06-15T21:28:35
93,956,477
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
# Optional Assignment: Multiplication Table # Create program that prints multiplication table in your console. # # Your table should look like the following example: # # x 1 2 3 4 5 6 7 8 9 10 11 12 # 1 1 2 3 4 5 6 7 8 9 10 11 12 # 2 2 4 6 8 10 12 14 16 18 20 22 24 # 3 3 6 9 12 ...
[ "pavdog@gmail.com" ]
pavdog@gmail.com
4d0cfe4687cdd231baaa043e994e766f6247b940
20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd
/CMSSW_8_0_24/src/HeavyIonsAnalysis/JetAnalysis/python/jets/akPuSoftDrop6PFJetSequence_PbPb_data_cff.py
79ac5c946c5782f050e682c9d77a7da096dca567
[]
no_license
ssanders50/pPb_2016_v0
3c32c2920067a2f8a0a7a7fadba6225babf9a905
9fc4ae61cf4343c88ce6666f55c0738f963754a3
refs/heads/master
2020-12-12T16:30:41.253014
2020-02-14T21:51:17
2020-02-14T21:51:17
234,162,163
1
0
null
null
null
null
UTF-8
Python
false
false
15,486
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "ssanders@ku.edu" ]
ssanders@ku.edu
ade1699e456077406631c9c606d24a6aa5877274
707ee4df9de355ec57477fca376abcdac6e83465
/utils.py
b5b8a4d4105789edd52a063dac427e3c99625627
[]
no_license
hccho2/wavenet-tf.layers.conv1d
c4143bfcd869fa18760cfec7aa235ec283b9a4c0
5d8166d39aba27928429276c83caf59ce0f4ae3a
refs/heads/master
2020-04-08T04:12:46.091820
2018-12-21T03:16:14
2018-12-21T03:16:14
159,007,661
5
0
null
null
null
null
UTF-8
Python
false
false
5,395
py
# -*- coding: utf-8 -*- import re,json,sys,os from datetime import datetime from shutil import copyfile as copy_file from collections import namedtuple import tensorflow as tf PARAMS_NAME = "params.json" STARTED_DATESTRING = "{0:%Y-%m-%dT%H-%M-%S}".format(datetime.now()) LOGDIR_ROOT = './logdir' def save(s...
[ "noreply@github.com" ]
hccho2.noreply@github.com
a07ee664cb7e51bdaa5624913f7113b163fe1105
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/cffi-1.11.5/testing/cffi0/snippets/setuptools_package_2/snip_setuptools_verify2/__init__.py
5f4bd138112a520a0dc9adbc1c337ab1064ca3f2
[ "Apache-2.0", "MIT" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
472
py
from cffi import FFI import sys ffi = FFI() ffi.cdef(""" // some declarations from the man page struct passwd { char *pw_name; ...; }; struct passwd *getpwuid(int uid); """) C = ffi.verify(""" // passed to the real C compiler #include <sys/types.h> #include <pwd.h> """, libraries=[],...
[ "ranade@cloudera.com" ]
ranade@cloudera.com
f2d301528252b3d0f4cba8c46a498007f54025ec
99f6c5b7a6b6840163b32d633e658678d5829b46
/practice/leetcode/algorithm/697_DegreeOfAnArray.py
af49cea0ace5abbb2bfd4db4d8fe7cee0e92196b
[]
no_license
aliceayres/leetcode-practice
32f2695a567317013b567a68863f2c95c75b438b
0743cbeb0e9aa4a8a25f4520a1e3f92793fae1ee
refs/heads/master
2021-06-02T15:11:29.946006
2020-02-06T04:06:55
2020-02-06T04:06:55
131,126,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
""" 697. Degree of an Array Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your task is to find the smallest possible length of a (contiguous) subarray of nums, that has the same degree as nums. Example 1: Input: [1, 2, 2, ...
[ "yeziqian@ctsig.com" ]
yeziqian@ctsig.com
599689b2dfa402aaae526116ca187db061a11837
3678ac4219efe8f98814c5e3d2b1c23d135ddcf7
/discover.py
caa3dd2e1528d5bceaf575545ad151a2303e3691
[ "Unlicense" ]
permissive
ArchiveTeam/panoramio-discovery
ee10780428bc9339c01072f925d53eb70feade29
c046ec611b0887fcd1cb90168cdb2fe90dee85e1
refs/heads/master
2020-05-30T04:15:34.239370
2014-10-06T22:15:35
2014-10-06T22:15:35
24,865,490
0
0
null
null
null
null
UTF-8
Python
false
false
3,093
py
'''Find valid tags and usernames. The file will contain things like: tag:12345:romance ''' import gzip import re import requests import string import sys import time import random DEFAULT_HEADERS = {'User-Agent': 'ArchiveTeam'} class FetchError(Exception): '''Custom error class when fetching does not meet our...
[ "Arkiver@hotmail.com" ]
Arkiver@hotmail.com
7fe90d75ddf5e596a6db607976cceb5ca088779e
18c1ac8c4c5fe46424af201b90919ecf3ccee326
/wrangle_gender_data.py
24342257d774ce610fdcc1e4f2f0089c367c260a
[]
no_license
compciv/gendered-pulitzer-board
f5f220a8d30d021c8c48d7d85653513b13526e08
a8c1b5ce0e7d32323b22f97c274364b1af61a841
refs/heads/master
2021-01-10T13:09:05.302140
2016-03-08T21:09:59
2016-03-08T21:09:59
53,412,018
1
2
null
null
null
null
UTF-8
Python
false
false
1,806
py
from os.path import join, basename import json BABY_DATA_DIR = join('tempdata', 'babynames') WRANGLED_DATA_FILENAME = join(BABY_DATA_DIR, 'wrangledbabynames.json') START_YEAR = 1900 END_YEAR = 1991 years = list(range(START_YEAR, END_YEAR, 5)) years.append(2014) # just to get extra names in there # namesdict sees all n...
[ "dansonguyen@gmail.com" ]
dansonguyen@gmail.com
b5e0e4b12d8a1bd1d53bc3b42c5680e78ca35f6b
5dd6198cebf0f86fd74faa2d2903829d6d2922a5
/async/extenso.py
6575e9a900fc0263a2218d976dc2c2c60655c184
[]
no_license
MysteriousSonOfGod/propython
008c55e559e62c4b9a35b910f6f191db4ccbd214
58c397333377cdaec39e44cea4a25c5bdaef0bca
refs/heads/master
2021-12-14T17:06:53.077836
2013-11-27T15:26:45
2013-11-27T15:26:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
../appengine/labtmpbr/extenso.py
[ "luciano@ramalho.org" ]
luciano@ramalho.org
87fa30feed8d2e0b81921af27ea17ebf1e4af826
2e71acd2a53e31dbc663463ca91f7de88aeb7776
/kats/tsfeatures/__init__.py
54af54db3399d1b73f11a563100692349a60e76b
[ "MIT" ]
permissive
samfo70/Kats
6a2b5cee7dcaf4f4eeaa84548309b75adf79c16d
659cd9ff39b748505595927824e20f7d428261a8
refs/heads/master
2023-05-28T15:06:20.991190
2021-06-23T22:29:50
2021-06-23T22:33:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from . import tsfeatures # noqa
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
8b8458ddee41bc56128e6d337acf27d486b6d50d
0a6309d2aa2dd577fe5a1aed8e6ebf2b01c670a2
/0x0B-python-input_output/9-add_item.py
642a6664650392f8635a06205a3d8db6941dfbfc
[]
no_license
arleybri18/holbertonschool-higher_level_programming
74675ce64801c72fc96318fc568b040b9f4b761e
2f0b9a7f462595f67de12d4c3880375e87552357
refs/heads/master
2020-05-18T02:22:10.969677
2019-09-26T20:32:27
2019-09-26T20:32:27
184,113,244
1
1
null
null
null
null
UTF-8
Python
false
false
224
py
#!/usr/bin/python3 import os import json import sys save_to_json_file = __import__('7-save_to_json_file').save_to_json_file load_from_json_file = __import__('8-load_from_json_file').load_from_json_file new_list = [] if
[ "arleybri18@gmail.com" ]
arleybri18@gmail.com
31280b5d915414384608f0c55eb48fbf7fa976e7
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano2194.py
3ac6ca875d1280d3334fe9571111e91464046dc2
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,292
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
67372a6007fc90c7179a82dd934afa327638b8dc
de17634e6b149d5828c1c78f7f5f5e1f6c17c4d0
/nnvm/tutorials/from_coreml.py
7e5cf7ae1fc4421f22af22f2bf21295a9dfbf48d
[ "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
starimpact/mxnet_v1.0.0
e135cc9e4c2711314d03cf1281a72b755f53144e
fcd6f7398ef811c3f8b01e7c9c16fb25c8d202bd
refs/heads/bv1.0.0
2022-11-10T09:09:11.966942
2018-07-13T04:59:30
2018-07-13T04:59:30
120,399,107
8
4
Apache-2.0
2022-11-02T20:24:32
2018-02-06T03:54:35
C++
UTF-8
Python
false
false
3,292
py
""" Compile CoreML Models ===================== **Author**: `Joshua Z. Zhang <https://zhreshold.github.io/>`_ This article is an introductory tutorial to deploy CoreML models with NNVM. For us to begin with, coremltools module is required to be installed. A quick solution is to install via pip ```bash pip install -U...
[ "mingzhang@deepglint.com" ]
mingzhang@deepglint.com
0729aa442771b954b9033fe87e9f7a5e6568e350
add572cd7c1c9092f462c6f019b4cc40c8cbfd91
/code/the_right_way/detail_view/urls.py
809292d949da381abb9d99cce1f3ab5142b5850f
[]
no_license
k4ml/django-views-the-right-way
1f9a1bd85fdfd8ad26c3fbcf2db8a41aa4658b47
84559256ba6e2cede86a6638470393fe32ec2f11
refs/heads/master
2023-06-25T02:52:04.996669
2021-07-27T07:56:36
2021-07-27T07:56:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from django.urls import path from . import views urlpatterns = [ path('products/<slug:slug>/', views.product_detail, name='product_detail'), ] app_name = 'detail_view'
[ "L.Plant.98@cantab.net" ]
L.Plant.98@cantab.net
fc68b03a2095df4421e398ee635c51a348ae807b
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/transformers/src/transformers/models/bart/modeling_flax_bart.py
5704147872fcd737b3fefd307df279f09470dda0
[ "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
82,688
py
# coding=utf-8 # Copyright 2021 The Fairseq Authors and The Google Flax Team Authors And The HuggingFace Inc. team. 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 copy of the License at # # ...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
460611535f95581b38c4dc3eb7e42e73f7007484
f416ab3adfb5c641dc84022f918df43985c19a09
/problems/advent-of-code/2022/03/sol2.py
60ac6f26bec9af9e2a777c84ab6f44972841a20b
[]
no_license
NicoKNL/coding-problems
a4656e8423e8c7f54be1b9015a9502864f0b13a5
4c8c8d5da3cdf74aefcfad4e82066c4a4beb8c06
refs/heads/master
2023-07-26T02:00:35.834440
2023-07-11T22:47:13
2023-07-11T22:47:13
160,269,601
1
0
null
null
null
null
UTF-8
Python
false
false
447
py
import sys import string PRIO = ["."] + list(string.ascii_letters) def solve(bags): sets = [set(b) for b in bags] overlap = sets[0] for s in sets: overlap = overlap.intersection(s) return PRIO.index(overlap.pop()) if __name__ == "__main__": sum_prio = 0 lines = [l.strip() for l i...
[ "klaassen.nico@gmail.com" ]
klaassen.nico@gmail.com
a6844009a30a09f3d7315efdacf3a8151c8d5022
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02534/s857742081.py
be8897a835c3d06b5bb3d2c4b4eb22b5c21ebce7
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
n = int(input()) s = "" for i in range(n): s += "ACL" print(s)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0ec1c2f03e2c01f8e40e9a49f6c729f015c8776e
25fbaf0d3bc896e01bec0dd8e8f98872334d76d8
/leetcode_python/Sort/top-k-frequent-words.py
d14fef26c7a29591e9be57b4f2a170de21fc43fe
[]
no_license
cyyeh/CS_basics
e708622b594f168db9cb9d7d1cc179e0fe7d591c
3214b3888ec1c00612691390214f67a46138a7fd
refs/heads/master
2020-12-01T18:19:31.063366
2019-12-28T08:22:25
2019-12-28T08:22:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,367
py
# V0 import collections class Solution(object): def topKFrequent(self, words, k): """ :type words: List[str] :type k: int :rtype: List[str] """ count = collections.Counter(words) candidates = count.keys() candidates = sorted(dict(count), key=lambda x ...
[ "f339339@gmail.com" ]
f339339@gmail.com
7009031f21aeadb303614d8f0ab0e2b0d4ada92a
efaaf1486d05ed01a2df05e8765c1410531fca63
/previous_trial/LAG.py
7bc925deeb2a715957072aa0ed0fdf3a02bd6430
[]
no_license
ZhengWenSEC2023/Image-Steganalysis
fbb44185e9657dc06b7349878cbb06e468a6c99d
8e93cd92fcd1586ffd94ba450a3cc575be8a6047
refs/heads/master
2022-12-14T00:19:04.709271
2020-09-18T02:40:02
2020-09-18T02:40:02
279,586,679
0
0
null
null
null
null
UTF-8
Python
false
false
12,343
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Sep 28 17:49:47 2019 @author: yueru """ import scipy from sklearn import preprocessing import numpy as np from sklearn.metrics.pairwise import euclidean_distances from sklearn.cluster import MiniBatchKMeans, KMeans def Norm(feature): # shape:(...
[ "buaawenz@gmail.com" ]
buaawenz@gmail.com
aac178171a6bdd29047cc77af527a5e122d4bc77
e979a08107918af5aae7214cc19927495591cc1d
/demo/Canvas/Canvas.py
97aa2b9c0565de779b9a90d5d82bffa8f0b0a4bb
[]
no_license
jksdou/tkinter-learn
5b421520bac28736028045c635e78ac364ae134c
3b19a324e78ce0ce7d5d6f6726e37d2639a60965
refs/heads/master
2023-01-22T06:59:03.098433
2020-12-07T17:13:06
2020-12-07T17:13:06
319,378,388
0
1
null
null
null
null
UTF-8
Python
false
false
363
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # 控件: Canvas from tkinter import Tk, Canvas, mainloop root = Tk() w = Canvas(root) w.configure(width=200, height=200, background='red') w.create_line(0, 0, 200, 177) w.create_line(0, 100, 200, 0, fill="gray") w.create_rectangle(50, 25, 100, 75, fill="blue") #矩形对角的两个坐标 ...
[ "doudoudzj@sina.com" ]
doudoudzj@sina.com
c3b45657c15df9506c133dab370cfef4a924e915
de1bc79172ed8116271ff0e79ba4d61aa938cd3d
/Tasks/BackEnd/taskfour/evenodd/apps.py
32ce7bb6e65b74b5d1707943291b796cf42a0b42
[]
no_license
dpuman/CpcBootcamp
9c0dd2456888b411fcdb48c12f968a6661f1f9f2
cd865065f8635794c276e19dce6540d7873f079d
refs/heads/master
2023-05-01T15:56:08.346110
2021-05-22T17:02:25
2021-05-22T17:02:25
369,862,706
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class EvenoddConfig(AppConfig): name = 'evenodd'
[ "dpumail.in@gmail.com" ]
dpumail.in@gmail.com
556206de55d7562c51542232246db68e72442747
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/argo/models/io_k8s_api_core_v1_component_status_list.py
dfdd1c8c74f2fdb99fc7fededd8c4d1cc9aa0b54
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
7,223
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
b125f9fa0b8441c1614a09dc2c5cd52596f48d1c
e5c382c2175eef90e914604262a641131b68daea
/src/transmittals/tests/test_tasks.py
dee3ae78a1e9c946aa433f536f6aa9aa1dacd329
[ "MIT" ]
permissive
thibault/phase
198231911072c9156eb2af28615024aa250e54fa
3790b6175d7eaf69f614cfe9f207fbf40745d2ec
refs/heads/master
2021-01-17T21:02:01.114393
2016-01-07T13:45:16
2016-01-07T13:45:16
47,611,709
0
0
null
2015-12-08T09:21:52
2015-12-08T09:21:52
null
UTF-8
Python
false
false
5,819
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os from os.path import join import tempfile from django.test import TestCase from django.contrib.contenttypes.models import ContentType from django.core.files.uploadedfile import SimpleUploadedFile from documents.factories import DocumentFactory...
[ "thibault@miximum.fr" ]
thibault@miximum.fr
e103ee2be8c471074125d241934628069ad597f2
de626f1892619968efbaa22ea26079ee2269e799
/funciones/topologia/TopologiaQG3.py
d4e936b83e94bf2d8aad8616eef0465a757839c9
[]
no_license
gerardoros/CartograficoQgisPlugin
7e8724cec0469d0494090b3557e9d4e967935121
844fa1052f435478e2e946099d7dbd6b1b97c311
refs/heads/master
2023-04-04T08:06:30.967894
2021-04-07T14:15:37
2021-04-07T14:15:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,841
py
# -*- coding: utf-8 -*- """ /*************************************************************************** TopologiaQG3 A QGIS plugin TopologiaQG3 ------------------- begin : 2018-02-22 git sha : $Format:%H$ ...
[ "roslop_1841@hotmail.com" ]
roslop_1841@hotmail.com
8470c6cb1420f986f4d514a1a592d75c1d69c2c3
71460476c5f5ebdca719def124f1a0650861fdab
/mint_work/custom/pos_order_history_category/models/pos_sales_multi_report.py
f6188d6921614db5c9f89b158d059761de72cb70
[]
no_license
merdhah/dubai_work
fc3a70dc0b1db6df19c825a3bf1eef2a373d79c0
e24eb12b276a4cd5b47a4bd5470d915179872a4f
refs/heads/master
2022-01-07T11:22:07.628435
2018-10-17T13:37:24
2018-10-17T13:37:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,380
py
# -*- coding: utf-8 -*- ############################################################################## # # Bista Solutions Pvt. Ltd # Copyright (C) 2018 (http://www.bistasolutions.com) # ############################################################################## from odoo import models, fields, api, _ from odo...
[ "asghar0517@gmail.com" ]
asghar0517@gmail.com
6427fc756d4b785eab46250416dcd783cb56c62e
9bbd51ed97bb4c2a6e78949dca3eb8e49f539ff6
/trees/plotTree.py
05cb2151c44da203129319d7b9d60c26c6972ffd
[]
no_license
MintYiqingchen/tfStudy
28146efc490ab7e24f60088744a7db0bd0b161a5
5f318c0cdd2c90eb9d8351c42f2221d1d9a9c1e9
refs/heads/master
2021-01-01T20:36:42.218229
2018-02-21T02:12:55
2018-02-21T02:12:55
98,894,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
import matplotlib.pyplot as plt from decisionTrees import DecisionTree decisionNode = dict(boxstyle="sawtooth", fc="0.8") leafNode = dict(boxstyle="round4",fc="0.8") arrow_args = dict(arrowstyle="<-") from pylab import mpl mpl.rcParams['font.sans-serif'] = ['Ariel'] mpl.rcParams['axes.unicode_minus'] = False # 解决保存图...
[ "821244608@qq.com" ]
821244608@qq.com
2d19f0b408eef533270abfe6c6bd250fb0fc6b17
2b0c08a1b217bedc53b8b67c15a94205f261b3fa
/03_ML/m02_2_or.py
64edec4bb500653d1bb3bf0c485315420e87454f
[]
no_license
kimsoosoo0928/BITCAPM_AI_CLASS
385d1db23a9efebe90b68c9b6595067ff1869b76
e9d093fbb00fdc5b1f0e85f5d6c31fd23d94e366
refs/heads/main
2023-07-18T23:49:02.197472
2021-08-30T06:51:43
2021-08-30T06:51:43
399,345,983
1
1
null
null
null
null
UTF-8
Python
false
false
497
py
from sklearn.svm import LinearSVC import numpy as np from sklearn.metrics import accuracy_score # 1 . 데이터 x_data = [[0, 0], [0, 1], [1, 0], [1, 1]] y_data = [0, 1, 1, 1] # 2 . 모델 model = LinearSVC() # 3. 훈련 model.fit(x_data, y_data) # 4. 평가, 예측 y_predict = model.predict(x_data) print(x_data, "의 예측결과 : ", y_predict)...
[ "kimsoosoo0928@gmail.com" ]
kimsoosoo0928@gmail.com
112e0dd2f975de20808a3e20c24111f9f29bfc08
441f0b4b4f2016ace7bed37431779b3352b9c2e4
/YouTube Ignorancia Zero/Iteracao/83 - Iteração IV: Funções para Iteráveis/exs/ex_any.py
c9a634bc35f18ee99b95de5b54551b4583f64d3b
[]
no_license
AlexGalhardo/Learning-Python
936b2eae814d148b0b3b77cc76cf81b45fbb4a02
b710952101a0409f585ba975e2854bf0e0286ac7
refs/heads/master
2020-05-19T23:32:49.285710
2019-09-04T17:37:27
2019-09-04T17:37:27
134,312,273
1
0
null
null
null
null
UTF-8
Python
false
false
217
py
""" Um jogador lança um dado n vezes. Qual é a probabilidade pelo menos 1 numero menor do que 3 Use um programa para decifrar este enigma Lembre-se que a probabilidade são os casos favoraveis por possiveis """
[ "aleexgvieira@gmail.com" ]
aleexgvieira@gmail.com
1ebee85d66008c1e28c248a4fae5a36b6b3e5d41
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/raw_scripts/132.230.102.123-10.21.11.44/1569578026.py
5bcaeaa6bc459d1fbcff7b193ea568d27990d60b
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
import functools import typing import string import random import pytest # Lösung Teil 1. def list_filter(x : int, xs : list) -> list: "takes a x integer and a list xs and returns all elements within the xs if it is equal oder smaller" li = [] if xs == []: return [] for i in xs: if i <=...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
9bacea21438e5b2f6b8f4efdc6e5a2f8c78633c1
c9abbbfd1ccdbdf75c5b35b28c841b6fc8165ee6
/AtCoder/ABC C/71.py
5093080c5827fb9390d405a2cc89eb1109ffa392
[]
no_license
kanade9/kyopro
8d9b12a4da2353595836cf68066e2b425379990b
3b5d998b99603c4473dc22e62252a2dd5ba143c2
refs/heads/master
2023-04-20T15:18:37.199790
2021-05-19T17:49:16
2021-05-19T17:49:16
175,988,232
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
import collections n = int(input()) a = collections.Counter(list(map(int, input().split()))) s = [] for k, v in sorted(a.items(), key=lambda x: -x[0]): # print(k,v) if v > 1: s.append(k) if len(s) > 1: print(s[0] * s[1]) exit() if v >= 4: print(k ** 2) ...
[ "maronkazu94@gmail.com" ]
maronkazu94@gmail.com
5257b74e5c1f4d8092192347f4195af7f62f85d9
0954381228214fbe215699f1d39136511e349bfd
/tests/unit/docs/test_subresource.py
0b4211de1dae79cc0db2ecbfff285763eb2851ae
[ "Apache-2.0" ]
permissive
leewalter/boto3
0ac8b971d6a1b6953aa73c2314c623359ad47575
105d73e63ac28a6fe14a60032d6dd4fd2b61647c
refs/heads/master
2022-12-11T08:21:56.294697
2020-08-28T18:09:53
2020-08-28T18:09:53
291,508,164
1
0
Apache-2.0
2020-08-30T16:28:22
2020-08-30T16:28:21
null
UTF-8
Python
false
false
1,292
py
# Copyright 2015 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
[ "kyleknap@amazon.com" ]
kyleknap@amazon.com
599c8f227bc9d2f9d9f73fb6732cd2f824713fd4
68b1ca9762ee9e11219ea8ebfa8b4648b1f2310d
/biosteam/exceptions.py
18daaaa1cffe0b34c6fec617e6f3800647897986
[ "MIT", "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tylerhuntington222/biosteam
2e342c0a058c55d84ef2e69136ef8509ac73a92b
234959180a3210d95e39a012454f455723c92686
refs/heads/master
2022-11-21T23:17:44.821961
2020-07-24T20:05:16
2020-07-24T20:05:16
282,294,293
0
0
NOASSERTION
2020-07-24T20:05:18
2020-07-24T18:52:17
null
UTF-8
Python
false
false
562
py
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details. """...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
4af82d5a476d9d135fbfa16e21ac85deaef6e8af
40203e788d4060b2565dd55be40df54845a221e3
/utils/model/__init__.py
1ebfbf1ee8087d11df22c937c72865506ad743ec
[ "MIT" ]
permissive
TrendingTechnology/SPPR
ba7e7021ef61f93ce80ef673ba5bd1570754f9d5
3979e26572f098b734753508e07c7252148383f3
refs/heads/main
2023-06-29T14:12:45.033451
2021-08-02T03:13:58
2021-08-02T03:13:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from torchvision import models from utils.model.my_model import my_model my_models = { 'my': my_model, } backbones = { 'resnet18': models.resnet18, } def prepare_model(args): if args.model_name: model = my_models[args.model_name](backbone=backbones[args.backbone_name], pretrained=args.pretraine...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
89077c9c67d1b6205aa37dbbfc80f0f03b79d702
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_029/ch69_2019_12_05_00_38_14_563625.py
7df0eca1a17672f0d8316ded8f3a80f433bf1823
[]
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
115
py
def junta_listas(l1): lista = [] for i in range(len(l1)): lista = l1[i].split(',') return lista
[ "you@example.com" ]
you@example.com
cc0007b74665087d39d7e9f423cc4696591c8f2f
35a99e6e588ccfb0d83895727d63b688ee0a0bcc
/manage.py
fd3b317ebb73a2905b9b27da8f860f9cde038dc0
[]
no_license
wangjian2254/BespeakMeal
37df888625d0e4ded0fa3ac3554a2d994a98ec98
759785b765de7ccf807160944cd8ed688800833a
refs/heads/master
2021-01-10T18:44:13.438179
2014-01-13T14:39:16
2014-01-13T14:39:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BespeakMeal.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "wangjian2254@gmail.com" ]
wangjian2254@gmail.com
27f375a9fffd470a3563ee338b4b4bcc76fa1415
275855d0e2d1797c4b156ab1bc812b0fd158ed78
/setup.py
0237494abf82b33290995e11910055441974df94
[ "BSD-3-Clause" ]
permissive
johnnoone/pyzmqtulip
0ef25b805b3e49c91940d32d340567c8d79bc910
5d72ff0404944369c9642a0827a1aa3fc42c1e04
refs/heads/master
2021-01-12T19:59:12.149502
2014-01-23T22:28:43
2014-01-23T22:28:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import os from setuptools import setup, find_packages version = '0.1' install_requires = ['pyzmq'] tests_require = install_requires + ['nose'] def read(f): return open(os.path.join(os.path.dirname(__file__), f)).read().strip() setup(name='pyzmqtulip', version=version, description=('zmq integratio...
[ "fafhrd91@gmail.com" ]
fafhrd91@gmail.com
387e931ba0406d995e1c706012598d205e4bd12f
c6090f53a1a10cc181f01a1ec79091ddda42c185
/scrapyd/tests/test_poller.py
36bbf04a5ebb4a88516946fc4b3c1e236004396b
[ "BSD-3-Clause" ]
permissive
herberthamaral/scrapy
25e8bc4cb3d99f5990028b1e05a0605cfec2e85b
6f82ea19de1e61ef71373817f2ca9687b900744d
refs/heads/master
2020-04-08T22:58:55.895307
2010-11-25T14:12:42
2010-11-25T14:12:42
757,672
1
1
null
null
null
null
UTF-8
Python
false
false
1,370
py
import os from twisted.trial import unittest from twisted.internet.defer import Deferred from zope.interface.verify import verifyObject from scrapyd.interfaces import IPoller from scrapyd.config import Config from scrapyd.poller import QueuePoller from scrapyd.utils import get_spider_queues class QueuePollerTest(un...
[ "pablo@pablohoffman.com" ]
pablo@pablohoffman.com
0953ed6c9a5384168c1f261cd17f6f92c3026094
508da262afba00e14adef8d851951e7f8a8fcab7
/render_image.py
04dac8a4138bd6d41bdecfe6c19b6036a8f665b8
[ "MIT" ]
permissive
frostburn/mandelbulb
dcf870e40c7d7346284fd48deef9a38f4a01c9ae
c47de86e6878867c2abfab4c7f676d0f9843daf6
refs/heads/master
2022-12-23T10:45:47.557047
2020-09-24T17:39:17
2020-09-24T17:39:17
293,296,764
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
from __future__ import division from pylab import * from mandelbulb import mandelbulb, pow3d, biaxial_julia, pow_quaternion_inplace, buddhabulb from shapes import tetrahedron, cube, merkaba from util import generate_mesh_slices, threaded_anti_alias from density import illuminate_and_absorb import numpy as np from threa...
[ "lumi.pakkanen@gmail.com" ]
lumi.pakkanen@gmail.com
a10b10ba8b0d018b19cfbb5dba7ca706b09c3009
c7602e190a87b80d0ce213c7ccde12b084583005
/users/migrations/0003_auto_20190628_0948.py
77c1effccd62671de7e1757e6afd14a94731470e
[ "MIT" ]
permissive
YarlingB/cantera
13007f488ad1774ab3080a7da08155e937451a8b
2eb33ddb443f12ab0b5112cff34b34d636238719
refs/heads/master
2020-05-07T15:47:05.385496
2019-07-30T16:07:24
2019-07-30T16:07:24
180,652,632
0
0
null
2019-04-10T19:45:42
2019-04-10T19:45:42
null
UTF-8
Python
false
false
486
py
# Generated by Django 2.1.7 on 2019-06-28 15:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20190627_1117'), ] operations = [ migrations.AlterModelOptions( name='user', options={'verbose_name': 'us...
[ "erickmurillo22@gmail.com" ]
erickmurillo22@gmail.com
710d69397b522831f391ea72ad5e620fa76ad473
d87c005d9d72e1e27cf9eacea332a5115ea00383
/soma3/soma3/settings_dev.py
50f436dbc65299706d8f2f0e967586ada6c51716
[ "MIT" ]
permissive
UrQA/URQA-Server
640990b09027a36595bb0ebe34dc389314981109
aab8b8c64fdf98b985ba880a6e34163924f2b13a
refs/heads/master
2021-01-22T01:54:53.283019
2015-12-20T18:54:35
2015-12-20T18:54:35
14,201,530
2
5
null
2016-11-22T01:40:14
2013-11-07T11:03:52
JavaScript
UTF-8
Python
false
false
722
py
from settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': urqaDbConfig.get_config('DB_NAME'), # Or path to database file if using sqlite3. # The following settings are not used w...
[ "bongster88@gmail.com" ]
bongster88@gmail.com
84ea1de9f4c4a10d487ee4b32a44f7f402bdfe8c
7d8022661a756f77f715ee4d099fb17cb9da671a
/feature/zoo/Money_Min.py
13cd833388f2f12fe4650428882f672aef7dc45f
[]
no_license
lxj0276/Quant-Util
a7d70d88fc47eb16a08149faefa7b128c01c670e
2706ecba72a293ee01105ad22508a8d6b20e1394
refs/heads/master
2020-04-25T13:40:36.700892
2018-10-15T04:35:54
2018-10-15T04:35:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from feature.base import PersistentFeature from feature.error import OriginalFeatureError class Money_Min(PersistentFeature): description = 'minute money feature' granularity = 'minute' def _create_feature(self, instrument_id, time_range): raise OriginalFeatureError('Can not create original fea...
[ "zhangzc@pku.edu.cn" ]
zhangzc@pku.edu.cn
e78e43bfa1e3923c8b04f083a6240aa38611af2c
edf125be37a40caeb14c7fe32bd9f7511cf0ce9b
/07-cleaning-data-in-python/1-exploring-your-data/visualizing_multiple_variables_with_boxplots.py
9d1bfdcc826dcd865a80b3458a1c4477357cb0b6
[]
no_license
vedpbharti/Datacamp
1d3d2ca0722a3a19733e91fa054f64e0c3b7114a
b6d019efebe1b46765f19212ba2d8ebb9d90de57
refs/heads/master
2020-04-05T05:47:28.528088
2019-02-10T22:34:00
2019-02-10T22:34:00
156,610,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
'''Visualizing multiple variables with boxplots Histograms are great ways of visualizing single variables. To visualize multiple variables, boxplots are useful, especially when one of the variables is categorical. In this exercise, your job is to use a boxplot to compare the 'initial_cost' across the different values...
[ "ved.bhartig@gmail.com" ]
ved.bhartig@gmail.com
9a13d6b0d533b2a94aad9a82c192472d628c22b8
9f7c9af862b14e225bb36bdc26344e92ce987707
/test.py
f5ec2995afd4c938c3c4732b2f460d06cf6332f1
[]
no_license
XHermitOne/pyDBF
ee86a62dc2fd19647465efea18c8d11d2bf0fe3c
6eb838ec087918d420c4321d09eca7a24bace60b
refs/heads/master
2020-04-01T16:51:49.921493
2018-10-17T05:53:25
2018-10-17T05:53:25
153,401,702
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
import pyDBF #print pyDBF.Create1() #print pyDBF.Create2('fld1', 'C',10,0) #print pyDBF.Create3('test.dbf') print(dir(pyDBF))
[ "xhermitone@gmail.com" ]
xhermitone@gmail.com
fa9c53dd5907f84ff0f52d802fe57234a543ad73
8c4c0584633748db4acf65bfa4ac29d547c99545
/util/combine_src.py
22dc4a464cebadae7d000acadd61ee19ffb4055a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ndob/duktape
45d4a39eba6db40217585f8c1888fb57aa813066
e55dbf269168dc4a60f1dfcfc44aedf60656c65a
refs/heads/master
2020-12-31T05:56:49.700038
2014-02-06T19:31:51
2014-02-06T19:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,618
py
#!/usr/bin/python # # Combine all source and header files in source directory into # a single C file. # # The process is not very simple or clean. This helper is not # a generic or 100% correct in the general case: it just needs # to work for Duktape. # # Overview of the process: # # * Parse all relevant C an...
[ "sami.vaarala@iki.fi" ]
sami.vaarala@iki.fi
6c250f0b48e121d749c7102db9584d4eb6d60e5d
1be3fd4f49ff1ba41b36bdb45ad1cd738b7e2e97
/周赛199/5473.py
b51082196b6e42181056557bfe3ad7df6d88a972
[]
no_license
ltzp/LeetCode
d5dcc8463e46b206515c1205582305d8ce981cc5
f43d70cac56bdf6377b22b865174af822902ff78
refs/heads/master
2023-07-28T02:36:44.202092
2021-09-08T15:55:09
2021-09-08T15:55:09
308,343,739
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
class Solution(object): def minFlips(self, target): """ :type target: str :rtype: int """ size = len(target) dp = [0]*size if target[0]=='1': dp[0] = 1 for i in range(1, size): if target[i] == '0' and target[i] == target[i-1]...
[ "806518802@qq.com" ]
806518802@qq.com
815526031a9aab62c493fcacd1e275429b57770b
2a85a9668e92cb21f587cbe017f1ed50c42d872d
/cs-config/cs_config/tests/test_functions.py
5b8c9e3485b68d57ca9d7fad42287c4fcea7c713
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
kpomerleau/Cost-of-Capital-Calculator
ccd946ade5890fdfa05a55b1cbb5db7e5941ea25
e5b419fc5857f7b83f1336b8db2567605d25a8ec
refs/heads/master
2021-03-30T12:29:26.466274
2020-02-13T21:07:22
2020-02-13T21:07:22
248,053,614
0
0
NOASSERTION
2020-03-17T19:15:56
2020-03-17T19:15:55
null
UTF-8
Python
false
false
1,559
py
from cs_kit import CoreTestFunctions import pandas as pd import io from cs_config import functions, helpers class TestFunctions1(CoreTestFunctions): get_version = functions.get_version get_inputs = functions.get_inputs validate_inputs = functions.validate_inputs run_model = functions.run_model ok_...
[ "jason.debacker@gmail.com" ]
jason.debacker@gmail.com
92bac4e4db3ff636e3c2f72dcbf0bec568f6eeed
d989c42f7122b783bbf330fbb194c8872c947424
/deutschland/jobsuche/configuration.py
c707ef4f1f6a579a1533aa902ecc8334256229ca
[ "Apache-2.0" ]
permissive
auchtetraborat/deutschland
3c5c206cbe86ad015c7fef34c10e6c9afbc3b971
fdc78d577c5c276629d31681ffc30e364941ace4
refs/heads/main
2023-08-24T08:17:51.738220
2021-10-20T19:35:46
2021-10-20T19:35:46
403,704,859
0
0
Apache-2.0
2021-09-06T17:19:21
2021-09-06T17:19:20
null
UTF-8
Python
false
false
16,854
py
""" Bundesagentur für Arbeit: Jobsuche API Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen. <br><br> Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden:...
[ "wirthra@gmail.com" ]
wirthra@gmail.com
2ad6eace9481dba48ac003be13e6b017a6ca7db4
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/MARVELL-EVENTS-MIB.py
a8225353a68ab09d6d167561d890ebe75c8afe3d
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
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
26,920
py
# # PySNMP MIB module MARVELL-EVENTS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MARVELL-EVENTS-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:09:49 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
b22540c01bcfffa1f01124df976f0d2f6cadf1d7
34b09bc83e5726fccb524a93cf2742f5aeadedef
/제주코딩베이스캠프/1권/4.py
839ec8c17edc8038097e8f6bf8c6928ec225c9f7
[]
no_license
mjson1954/WIC
57eb20ffe7aaf8695d679c893efacdeede573e72
670112209aacd274d09f6e9a89d948120486bfc8
refs/heads/master
2023-03-20T00:57:19.740025
2021-03-05T10:52:51
2021-03-05T10:52:51
289,925,829
0
0
null
2021-02-21T02:16:11
2020-08-24T12:46:58
Python
UTF-8
Python
false
false
357
py
# 다음 변수 a를 print(type(a))로 넣었을 때 출력될 값과의 연결이 알맞지 않은 것은? # 1) 입력 : a =1, 출력 : class 'int' # 2) 입력 : a = 2.22, 출력 : class 'float' # 3) 입력 : a = 'p', 출력 : class 'char' # 4) 입력 : a = [1, 2, 3], 출력 : class 'list' # 답: 3번 "class 'str'" 이 맞는 출력값.
[ "mjson1954@gmail.com" ]
mjson1954@gmail.com
74bcbdafdc7c6f466bcf4f7f6cb1ee7d539801dc
c4e9b3e5686ed8c6e885aa9f6a72a571f4b33db6
/matplotlib_study/contour3d.py
a430fbf3a0f0493a66f107b731829f8aeb5c0e0c
[]
no_license
WhiteCri/learn-advanced-python
c2a081db0f901bb76e470341497014b4384ba803
8111cb12e8b05a9168a0236e05f4a6a1cda255eb
refs/heads/master
2023-04-13T22:55:49.060522
2021-04-28T05:00:49
2021-04-28T05:00:49
345,628,312
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from mpl_toolkits import mplot3d import numpy as np import matplotlib.pyplot as plt def f(x, y): return np.sin(np.sqrt(x ** 2 + y ** 2)) x = np.linspace(-6, 6, 30) y = np.linspace(-6, 6, 30) X, Y = np.meshgrid(x, y) Z = f(X, Y) print(X.shape, Y.shape) print(x.shape, y.shape) fig = plt.figure() ax = plt.axes(p...
[ "sjrnfu12@naver.com" ]
sjrnfu12@naver.com
1f3cc4e16cddfdf62682417a2893692f19ca8b62
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/ComponentModel/__init___parts/INestedContainer.py
6bec88c39097642c8e10f0ff74a987d5a9c3e390
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
959
py
class INestedContainer(IContainer,IDisposable): """ Provides functionality for nested containers,which logically contain zero or more other components and are owned by a parent component. """ def __enter__(self,*args): """ __enter__(self: IDisposable) -> object Provides the implementation of __enter__ for...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
728428c7e23e2d41b2fdd8b3c89bf7c12c45ed0b
e75751f44e1f38eede027143fd43b83606e4cb13
/proyecto_final/proyecto_final/settings.py
ea9c1f9117b210d8c8146e41c51f7ebea192834e
[]
no_license
stephfz/exam_prep_cd-django
8fef23c4ae1639c213b2d4a143fe1f5996d3b315
4633d65b4d86e29fff3f1c9fd09d690d9416f2f2
refs/heads/master
2023-05-10T14:55:15.249503
2021-05-25T16:11:38
2021-05-25T16:11:38
369,047,889
0
1
null
2021-06-15T00:31:31
2021-05-20T01:42:26
Python
UTF-8
Python
false
false
3,130
py
""" Django settings for proyecto_final project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impor...
[ "stephfz@gmail.com" ]
stephfz@gmail.com
d9cee02ff246473da5cd9735094c1ecf07a24ed4
5e382a50c521e4cd874ed4e94799e5ef062994a1
/services/storage/setup.py
8c12d6ba77ceb5a9318b04bedf66946bf5f6eae6
[ "MIT" ]
permissive
KZzizzle/osparc-simcore
71103bcfb81d6ea90e0ac9529e8f08568685166c
981bc8d193f3f5d507e3225f857e0308c339e163
refs/heads/master
2021-05-25T08:46:52.704734
2020-10-07T14:07:34
2020-10-07T14:07:34
253,747,491
0
0
MIT
2020-04-07T09:29:23
2020-04-07T09:29:22
null
UTF-8
Python
false
false
1,635
py
import re import sys from pathlib import Path from setuptools import find_packages, setup here = Path(sys.argv[0] if __name__ == "__main__" else __file__).resolve().parent if sys.version_info < (3, 6): raise RuntimeError( "Requires 3.6, got %s. Did you forget to activate virtualenv?" % sys.versio...
[ "noreply@github.com" ]
KZzizzle.noreply@github.com
f2daeff8b2851f6d4fc72f4d977766f18517889c
e8a131a2cb7cf1d61413d54951fa89c65e1540a2
/lib/dsplus/ndb/test_utils.py
874d7e950d506ff2019cbdddc560574a297acd36
[ "Apache-2.0" ]
permissive
andrewxhill/MOL
2877cf7adde4d595a685774fd8e0f6e422046d79
831efdd5e5b75a6452d451e982ab2e7563771cf4
refs/heads/master
2021-01-15T15:27:22.780230
2011-10-07T07:44:53
2011-10-07T07:44:53
1,040,510
9
3
null
2014-04-10T16:47:21
2010-10-31T23:20:56
Python
UTF-8
Python
false
false
3,620
py
"""Test utlities for writing NDB tests. Useful set of utilities for correctly setting up the appengine testing environment. Functions and test-case base classes that configure stubs and other environment variables. """ import os import logging import unittest from google.appengine.api import apiproxy_stub_map from ...
[ "eightysteele@gmail.com" ]
eightysteele@gmail.com
48abeb46f9225d62f12aaf504fb6f18daad84932
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/executor/models/cisco-ios-xr/Cisco-IOS-XR-cfgmgr-rollback-act/nc-execute-xr-cfgmgr-rollback-act-24-ydk.py
bba641d8dbce939627b88af5d6d10794d124152a
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
3,157
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # 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 applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
8ac76f5f1e11e47202d317eafe7b7c4a2c276c20
55e8ad406c4aff77ac00b24e02cff4f96c8c6f77
/business/migrations/0017_partner_actif.py
7c2eceb3d8c5bc6214be41bab1449ed6f348441e
[]
no_license
miyou995/kahraba
53bdbf2cb8b78065031eecdb95f66827232264a8
f2f630d889e9d878d7b22e70d0c2a0723b6d8228
refs/heads/master
2023-08-27T00:50:28.546343
2021-10-18T15:02:03
2021-10-18T15:02:03
403,252,286
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
# Generated by Django 3.2.6 on 2021-09-05 07:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('business', '0016_partner_realisation_realisationphotos'), ] operations = [ migrations.AddField( model_name='partner', ...
[ "inter.taki@gmail.com" ]
inter.taki@gmail.com
f23d171bc22af40c2c00e320451930bfb4cf78a7
1dce03e6f3f5b23d1e5c599678624638943b9422
/specialist/1/1.py
448df68b4542169924061579c2cc184f8d7d3d46
[]
no_license
volat1977/byte_of_python
76ec958bdc51c7538bb24e5d152b456feab603ca
60b58ca3927ef5e2801c93dd676d5f8b4c03d9fc
refs/heads/master
2020-12-26T07:23:10.562537
2020-03-24T05:31:03
2020-03-24T05:31:03
237,431,769
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
import docker print('privet')
[ "alex@pop-os.localdomain" ]
alex@pop-os.localdomain
8effa8b997beea5015f5644471db8afcc5c1ffe7
62858ffe3288aeff9765a38bee2e0d2f2b710f37
/examples/nupack_batch_submit.py
554e90b359a316db3f7a5f15cc5aa7dd8fd6568f
[]
no_license
scholer/rsenv
f275a9c8fa0398bad32de89e6abac1efeb3869c1
04f50a1717baaab74e199d2e961d37d07aac69e7
refs/heads/master
2021-07-17T08:22:33.135827
2021-04-07T10:16:12
2021-04-07T10:16:12
69,067,062
2
0
null
null
null
null
UTF-8
Python
false
false
10,371
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ## Copyright 2015 Rasmus Scholer Sorensen, rasmusscholer@gmail.com ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version ...
[ "rasmusscholer@gmail.com" ]
rasmusscholer@gmail.com
275de725f4b43057cd523c6b226656dc6ff67b8e
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql_flexibleservers/aio/operations/_check_name_availability_operations.py
8a508a3c317a7e5f79fbd831b5f040c8eaea915e
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
4,858
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" ]
scbedd.noreply@github.com
6dbf3131d0e28d5de55f6590ee1367193d1e4a95
f2a586226be80ca49c3bf094987380b7b2b46bc2
/src/movieapp/models.py
b16ef24ee02625d090d02d1abe4859b0d027e9ee
[]
no_license
niketanmoon/ToDoApp
5bb5fc33bcaec3a0ba4e60d5d06d6f591ff5dfe9
b9dc7db7935858d473640b7c6ff03536fb42e493
refs/heads/master
2022-12-13T19:12:13.228602
2019-09-27T21:46:40
2019-09-27T21:46:40
210,213,705
0
0
null
2022-12-08T06:37:52
2019-09-22T21:01:30
Python
UTF-8
Python
false
false
409
py
from django.db import models # Create your models here. class Movie(models.Model): movie_name = models.CharField(max_length=120) movie_rating = models.DecimalField(max_digits=10,decimal_places=1) release_date = models.CharField(max_length=120) movie_duration = models.CharField(max_length=120) movie...
[ "niketanmoon@gmail.com" ]
niketanmoon@gmail.com
2195e6fa6795947833e995202c910f2863b344fb
6492d6e2c0cbca80200e39998add88dad73bf852
/config/settings/common/installed_apps.py
841be6ecfad8382cdc88f6108d0979d0d783acf7
[ "MIT" ]
permissive
bytesniffer/deniskrumko
25a3642a775e0b0411cb255e996f8f0cb3dbbb52
3d6f5eab75b776a3f3ebb7d9fdc5f64e94611398
refs/heads/master
2020-06-17T11:32:27.090888
2019-03-31T21:23:06
2019-03-31T21:23:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_extensions', 'adminsortable', 'django_object_actions', 'imagekit', 'import_export', ] ...
[ "dkrumko@gmail.com" ]
dkrumko@gmail.com
3019536796ec66a8adf0e6f65a7c5eb9054ac48c
028d788c0fa48a8cb0cc6990a471e8cd46f6ec50
/Python-Web/petstagram/petstagram/settings.py
d4c05bf53157ff7baf037627e9102a4039e9997e
[]
no_license
Sheko1/SoftUni
d6b8e79ae545116f4c0e5705ad842f12d77a9c9d
a9fbeec13a30231b6a97c2b22bb35257ac1481c0
refs/heads/main
2023-07-13T15:39:48.826925
2021-08-21T12:51:02
2021-08-21T12:51:02
317,266,200
2
3
null
null
null
null
UTF-8
Python
false
false
3,269
py
""" Django settings for petstagram project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os....
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
517820283f51507d01d62ceebd1f30d77200f411
a3c8651bb991d7fd5ae575c8ce3020241fe15a4d
/venv/lib/python3.8/site-packages/numpy/linalg/setup.py
8e5016278f28cde42ef6c86c503912024e96b634
[]
no_license
chunyboy/test
fefff853c244657a5c33fe415d8552fdfcbb9eb7
44233736f86910fa934c4fd0f3e261df2f761a2d
refs/heads/master
2022-12-13T11:33:06.176114
2022-11-29T15:32:01
2022-11-29T15:32:01
78,964,487
2
1
null
2017-01-14T22:34:28
2017-01-14T20:21:54
Python
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/15/39/28/ac06e672ebe1f39a53c2c4840304fd8c8d666e4e915c58f0cfe710a670
[ "chunyboy@users.noreply.github.com" ]
chunyboy@users.noreply.github.com
cc68114d2fbcc6289c7ebeadb79149614c5c53c2
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/view/layer23trafficflowfilter/enumerationfilter/enumerationfilter.py
151a7f4bb85013729bb4a5914d79ead8ef1dbb1a
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
5,703
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
b3b540b8a8c9f642881f5ca128c31c16e2f3b8cd
9e65e409106aad6339424a1afac3e75e15b4f488
/0x01-python-if_else_loops_functions/7-islower.py
720ea5059d6a6991dad152e7301d7fc3cee66faa
[]
no_license
jfbm74/holbertonschool-higher_level_programming
63fe8e35c94454896324791585fe7b8e01e1c67d
609f18ef7a479fb5dcf1825333df542fc99cec7b
refs/heads/master
2023-03-05T20:44:05.700354
2021-02-10T00:21:54
2021-02-10T00:21:54
259,452,209
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
#!/usr/bin/python3 def islower(c): tmp = ord(c) if tmp >= 97 and tmp <= 122: return True else: return False
[ "jfbm74@gmail.com" ]
jfbm74@gmail.com
d7a7b31fba02ef2e41c80c7e4e2a85b454b90f22
c2f9b186d30f06e60dd92a49260809c2c231dd6d
/sql/oracleor.py
e2c739ca19ae23e59c115805e464b5066d328892
[]
no_license
yumoqing/pyutils
b4947b8c3578109852571a02a4c690abd9fd3898
a7b64911dadb29256d397bc88c5c30e698510723
refs/heads/master
2020-04-30T15:07:39.876006
2019-07-09T10:33:16
2019-07-09T10:33:16
176,911,494
0
0
null
null
null
null
UTF-8
Python
false
false
3,657
py
from sql.sqlor import SQLor from sql.oracle_BNF import select_stmt from sql.ddl_template_oracle import oracle_ddl_tmpl class Oracleor(SQLor): ddl_template = oracle_ddl_tmpl db2modelTypeMapping = { 'char':'char', 'nchar':'str', 'varchar':'str', 'varchar2':'str', 'nvarchar2':'str', 'number':'long', 'integ...
[ "yumoqing@gmail.com" ]
yumoqing@gmail.com
ed58562e8ee735b8e0ea430e69cf6434c5d02af0
a9528b72671f7c531aff35c96fca0afbaad88f28
/bin/train_simple_cnn_cifar.py
654cc5810c506b5bbabe2bf1af48353fb14e8699
[]
no_license
kudkudak/dnn_sharpest_directions
e66be57418ff4023506284b159c770ce120e7998
61f70bcf89716643e61cb861059fa2b1b159e13a
refs/heads/master
2022-12-16T00:13:10.470833
2019-07-02T12:47:30
2019-07-02T12:47:30
171,920,355
12
2
null
2022-12-08T02:48:49
2019-02-21T18:06:26
Python
UTF-8
Python
false
false
6,476
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Trains a simple CNN on cifar Run as: python bin/train_simple_cnn_cifar.py root test python bin/train_simple_cnn_cifar.py medium test To see TB: tensorboard --logdir=. """ import h5py import matplotlib import logging import numpy as np logger = logging.getLogger(__...
[ "staszek.jastrzebski@gmail.com" ]
staszek.jastrzebski@gmail.com
486eb28260a0b2f1d5b1e7c4dfbdda43a3008b40
a2f6e449e6ec6bf54dda5e4bef82ba75e7af262c
/venv/Lib/site-packages/pandas/tests/series/methods/test_infer_objects.py
db7d64da83b396c46ca57dca6aaf83a03406bfb8
[]
no_license
mylonabusiness28/Final-Year-Project-
e4b79ccce6c19a371cac63c7a4ff431d6e26e38f
68455795be7902b4032ee1f145258232212cc639
refs/heads/main
2023-07-08T21:43:49.300370
2021-06-05T12:34:16
2021-06-05T12:34:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:2d40153edfb3187087f72747635131696670ededa5e940a9bf077cd482da16db size 810
[ "chuksajeh1@gmail.com" ]
chuksajeh1@gmail.com
3f173b2451dd5022fb03690b7a7d6fd8577f7e3b
adcded544eef1d8818f17a6c0bcf3808adffd2d5
/tests/unit_tests/test_tethys_apps/test_models/test_SpatialDatasetServiceSetting.py
44445d3997e3cdddd5dd5fc3ee99b767053b8716
[ "BSD-2-Clause" ]
permissive
sdc50/tethys
342d4570568eab3b2ba66773c49d5aac97d47fc2
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
refs/heads/upstream-master
2022-11-14T14:16:57.916307
2018-12-21T22:02:04
2018-12-21T22:02:04
82,718,965
1
1
BSD-2-Clause
2021-10-29T22:07:56
2017-02-21T19:33:37
Python
UTF-8
Python
false
false
3,882
py
from tethys_sdk.testing import TethysTestCase from tethys_apps.models import TethysApp from django.core.exceptions import ValidationError from tethys_services.models import SpatialDatasetService class SpatialDatasetServiceTests(TethysTestCase): def set_up(self): self.test_app = TethysApp.objects.get(packa...
[ "sdc50@byu.net" ]
sdc50@byu.net
6add027e2e12d6c7e8f66a98710814436c31af18
7fc03f7d28ea7bbdca650a51a23fc0b13cbefde1
/unsupervised_learning/0x01-clustering/11-gmm.py
e4614cf453f322388953854c0ae3bc04665717db
[]
no_license
HeimerR/holbertonschool-machine_learning
54c410e40d38635de482773f15e26ce1c2c95e46
e10b4e9b6f3fa00639e6e9e5b35f0cdb43a339a3
refs/heads/master
2021-07-24T09:33:25.833269
2021-01-14T00:21:45
2021-01-14T00:21:45
236,603,791
0
6
null
null
null
null
UTF-8
Python
false
false
937
py
#!/usr/bin/env python3 """ GMM """ import sklearn.mixture def gmm(X, k): """ calculates a GMM from a dataset: - X is a numpy.ndarray of shape (n, d) containing the dataset - k is the number of clusters Returns: pi, m, S, clss, bic - pi is a numpy.ndarray of shape (k,) contai...
[ "ing.heimer.rojas@gmail.com" ]
ing.heimer.rojas@gmail.com
00cfc4dc6f73a48b5db3f2e8861581acf91a9a90
bfbe642d689b5595fc7a8e8ae97462c863ba267a
/bin/Python27/Lib/site-packages/scipy-0.14.0-py2.7-win32.egg/scipy/integrate/quadrature.py
11b05bf709fd4dab766287d9a9888fa8a417d329
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
mcanthony/meta-core
0c0a8cde1669f749a4880aca6f816d28742a9c68
3844cce391c1e6be053572810bad2b8405a9839b
refs/heads/master
2020-12-26T03:11:11.338182
2015-11-04T22:58:13
2015-11-04T22:58:13
45,806,011
1
0
null
2015-11-09T00:34:22
2015-11-09T00:34:22
null
UTF-8
Python
false
false
28,351
py
from __future__ import division, print_function, absolute_import __all__ = ['fixed_quad','quadrature','romberg','trapz','simps','romb', 'cumtrapz','newton_cotes'] from scipy.special.orthogonal import p_roots from scipy.special import gammaln from numpy import sum, ones, add, diff, isinf, isscalar, \...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
62c307fa3619922b0d3325bc72cfae8a32406d4c
843ca2944c5a92dc3d13d132c34545d3b18a9eb9
/scripts/base/interfaces/Space/SpaceArenaSystem.py
431b07c59275709da550ff55895cb89549c30c1f
[]
no_license
m969/wanfadalu_server
550dac97795bfc15c1d47f0c18bfab9c18fe6a76
08f5bec5ed4a17f4f1fcc40a27311aa03906e5ef
refs/heads/master
2021-07-03T10:21:21.331204
2020-08-14T14:56:42
2020-08-14T14:56:42
138,024,157
1
2
null
null
null
null
UTF-8
Python
false
false
177
py
# -*- coding: utf-8 -*- import KBEngine from KBEDebug import * class SpaceArenaSystem: def __init__(self): # DEBUG_MSG("SpaceArenaSystem:__init__") pass
[ "969041327@qq.com" ]
969041327@qq.com
d9dbea39afa1e5cd2a57087c77a905c8e996ee25
e0b48bcc55dafe59f0032a6fea2c8da770d849af
/RegEx- more Exercise/Html Parser.py
2cee509ef926e46e1759f113119d2193ecf7c41a
[ "MIT" ]
permissive
DiyanKalaydzhiev23/fundamentals---python
a80bc9308aad87902e3fcd4e61cdd4e2c47853df
7fa032d9a3270648ffa383bb00dad8e51613189d
refs/heads/main
2023-03-30T21:49:56.244273
2021-04-02T11:17:17
2021-04-02T11:17:17
353,996,815
1
0
null
null
null
null
UTF-8
Python
false
false
882
py
import re pattern_title = r"(?:<title>)(?P<title>.+)(?:</title>)" pattern_body = r"(?:<body>)(?P<body>.+)(?:</body>)" pattern_remove_tags = r"<[^>]*>" pattern_remove_pseudo_space = r"\\n|\\t" # "new lines" and "tabs" pattern_remove_spaces = r"[ ]+" text = input() title = re.search(pattern_title, text).gro...
[ "diankostadenov@gmail.com" ]
diankostadenov@gmail.com
49649f5a7bb29eeca4d901699648fb1b00857b69
c489dd902955d805b6753f847c4fee38281c4c2f
/VB_Classes/GradientDescent.py
326dffd114e8d96a5e1ca2d40ec58b32e3b73b8e
[ "MIT" ]
permissive
germal/OpenCVB
f4f866abdc1910ccac5804ff8581702f38d2e93b
312c452f3e981aa8238aa5f2d3d9928100bbeab6
refs/heads/master
2023-03-06T06:09:15.749020
2021-02-19T00:11:52
2021-02-19T00:11:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,464
py
# import the necessary packages import matplotlib.pyplot as plt from sklearn.datasets.samples_generator import make_blobs import numpy as np import argparse title_window = 'GradientDescent.py' # https://www.pyimagesearch.com/2016/10/17/stochastic-gradient-descent-sgd-with-python/ def sigmoid_activation(x): # compute...
[ "bobdavies2000@gmail.com" ]
bobdavies2000@gmail.com
c09c7f2c15c140ce9da1bd15d4250398efb7f18d
f5863cf378bce80d3aa459941dff79ea3c8adf5d
/Leetcode/66.Plus_One.py
4abbf9799ae52afec3db62a340a91cc58b536bef
[]
no_license
Taeg92/Problem_solving
815c13ae7895708948482eeb05411322be00ac12
15c0fe0eda4f77d974451777cb01d10882d8aaa9
refs/heads/master
2021-11-18T22:03:21.727840
2021-09-06T14:21:09
2021-09-06T14:21:09
235,335,532
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
class Solution(object): def plusOne(self, digits): """ :type digits: List[int] :rtype: List[int] """ num = int(''.join(list(map(str, digits)))) num += 1 return list(map(int, list(str(num)))) digits = [1, 2, 3] sol = Solution() print(sol.plusOne(digits))
[ "gtg92t@gmail.com" ]
gtg92t@gmail.com
343975d49e1b13b873e88bb8b37f06291700f466
d9a1c659396ac9132de165771d9bc900c260a5ec
/LintCode/lint_solution/143SortColorsII.py
90fb01e50cc9941b939b6eebcc7c4024ad562e15
[]
no_license
Alarical/Interview
5ae940363436a4fbdb5ae18f257cd09f8c866495
84744eefce9c897050cb809b81246b08ac7951cd
refs/heads/master
2020-05-17T17:10:07.165787
2019-09-16T15:54:50
2019-09-16T15:54:50
183,842,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
class Solution: """ @param colors: A list of integer @param k: An integer @return: nothing """ def sortColors2(self, colors, k): n = len(colors) if n == 0 or n == 1: return def quicksort(colors , beg , end , colorForm , colorEnd): ...
[ "zrh2014@163.com" ]
zrh2014@163.com
e5a551690ffa7125310ec2a1aeb6e1b8b63e996e
bb534574e4d366ec4519b1b7ae98cf919d76efb4
/zephyr/tests/tsm/sample/test_sample_cases.py
0bcc2f6fbd5d8f92ff1c427c35f954a0bd50bb04
[]
no_license
midonet/zephyr
4145355d8e9dad8c96bb3e5c25aac765d5db4b71
e6b73732c39325c4aaeebe600f104a186c7e8753
refs/heads/master
2020-04-06T03:34:09.817126
2016-11-08T08:37:08
2016-11-08T08:37:08
36,269,082
1
4
null
null
null
null
UTF-8
Python
false
false
918
py
# Copyright 2015 Midokura SARL # # 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 applicable law or agreed to in writing, so...
[ "micucci@midokura.com" ]
micucci@midokura.com
857939270d418d2d6aadbea9aa2d6542a6a4dbb5
6ef8abce322da7a6acf8b940801d7c2286b55f42
/Baekjoon/1076.py
abfea35de602b5ced4e14a7b1ffcfff576b453b3
[]
no_license
702criticcal/1Day1Commit
747a61308e2fae87bad6369cd0bc481bdc89b29a
aec375b8b41de1ed5366c714cc6a204905fb2763
refs/heads/master
2023-01-31T16:47:24.457584
2020-12-18T03:42:28
2020-12-18T03:42:28
287,663,502
1
0
null
null
null
null
UTF-8
Python
false
false
600
py
colorList = ['black', 'brown', 'red', 'orange', 'yellow', 'green', 'blue', 'violet', 'grey', 'white'] firstColor = colorList.index(input()) secondColor = colorList.index(input()) thirdColor = colorList.index(input()) print(int(str(firstColor) + str(secondColor)) * int('1' + '0' * thirdColor)) # 수정한 코드 colorList = ['b...
[ "wnstn1549@gmail.com" ]
wnstn1549@gmail.com
6969af6493c4a9331c888d21b33cbcefcbde7e4a
372185cd159c37d436a2f2518d47b641c5ea6fa4
/1370. 上升下降字符串.py
3ae515cfa87b365c4069abbac2e1f59068ffd8c7
[]
no_license
lidongze6/leetcode-
12022d1a5ecdb669d57274f1db152882f3053839
6135067193dbafc89e46c8588702d367489733bf
refs/heads/master
2021-07-16T09:07:14.256430
2021-04-09T11:54:52
2021-04-09T11:54:52
245,404,304
1
0
null
null
null
null
UTF-8
Python
false
false
478
py
class Solution: def sortString(self, s: str) -> str: import collections str_counter = collections.Counter(s) result = [] flag = False while str_counter: keys = list(str_counter.keys()) keys.sort(reverse=flag) flag = not flag res...
[ "lidongze6@163.com" ]
lidongze6@163.com
ab52c38c0186b3d4a3ca475b59863b4958b35c04
98d61512fdf7f8426d4634a86edd25669944ab9e
/algorithms/FactorialTrailingZeroes/solution.py
16dd875d781ea8bc890493fd7dea302174edc133
[]
no_license
P-ppc/leetcode
145102804320c6283fa653fc4a7ae89bf745b2fb
0d90db3f0ca02743ee7d5e959ac7c83cdb435b92
refs/heads/master
2021-07-12T02:49:15.369119
2018-11-13T05:34:51
2018-11-24T12:34:07
132,237,265
0
2
null
null
null
null
UTF-8
Python
false
false
272
py
class Solution(object): def trailingZeroes(self, n): """ :type n: int :rtype: int """ count = 0 step = 5 while step <= n: count += n / step step *= 5 return count
[ "ppc-user@foxmail.com" ]
ppc-user@foxmail.com
fee8823f4b5babdfae47580a257a92c2c5c9829d
924aac226cde42f7087be90a4ad4e3854f3f3e6d
/tensorflow_federated/experimental/python/core/impl/jax_context/jax_serialization_test.py
fcd59c157173f526533740610745feeeb62b2310
[ "Apache-2.0" ]
permissive
Saiprasad16/federated
fbf8eea7b67e58e7101194f9fb04ed22adef8a4e
9c08381a172a26957d7c50f74214c74fe9a9fb1c
refs/heads/master
2023-04-05T18:39:30.207453
2021-05-07T06:38:44
2021-05-07T07:25:34
366,009,352
1
0
null
null
null
null
UTF-8
Python
false
false
8,118
py
# Copyright 2020, The TensorFlow Federated Authors. # # 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 applicable law o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
3760f9d8152977c3fb60ac1582fbd106320520b6
988385035443e5d46d29d96b15179509fd1c782e
/gcdOfStrings.py
c9963207aaa9352936b56428d8bb61047d91efc5
[]
no_license
mwoitek/leetcode-python3
c120ee1b1eb8e17f3a301026f25c643be9852953
eb9989d3768eba82275a57243c99796e74ccdd48
refs/heads/master
2022-12-28T21:19:51.215210
2020-10-18T06:17:27
2020-10-18T06:17:27
301,295,054
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
def is_divisible(s, x): k = len(s) // len(x) x_repeat = "".join(k * [x]) return s == x_repeat def compute_gcd(a, b): while b != 0: a, b = b, a % b return a class Solution: def gcdOfStrings(self, str1: str, str2: str) -> str: gcd_len = compute_gcd(len(str1), len(str2)) ...
[ "woitek@usp.br" ]
woitek@usp.br
520276f8f687c22419f369f652417b5fbe440d62
34652a47355a8dbe9200db229a1bbc62619de364
/BASE SCRIPTS/accumulator.py
f7c7c93d5ccff8a606b5d274cd130807d9037240
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
256
py
# Created by Bogdan Trif on 07-01-2019 , 8:43 PM. # initialize the accumulator, in this case a list accumulator = [] for i in range(1,11): # add to the accumulator, in this case add to the list accumulator = accumulator + [i ** 2] print(accumulator)
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
4c7ccc921bfa4eb8bb7a107f7c0e2d670c9564ad
2c0ef6bc187f44ee758cd542239fc087f7f7f201
/mylibvirt/xml/Builder.py
57b7dcdc92ab5d933d714065aa897807d2393830
[]
no_license
kinderp/teaster
4c5b131b872e6198f1860312daee9b738a8e8f46
be94e1388bb860ef235249ddf770ac04c6a0e6b8
refs/heads/master
2022-12-18T04:25:13.208800
2019-08-06T16:18:57
2019-08-06T16:18:57
165,384,435
0
0
null
2022-12-08T01:37:02
2019-01-12T12:16:53
Python
UTF-8
Python
false
false
252
py
from lxml import etree class Builder: def __init__(self): self.__root = None def set_root(self, name): self.__root = etree.Element(name) def add_subelement(self, father, name): sb = etree.SubElement(father, name)
[ "a.caristia@gmail.com" ]
a.caristia@gmail.com
d87f3cdc1d168b862eb112c1f696f8ee24b7720c
4702d2b5aac63b8179b47d946837965664824406
/mmdet/models/detectors/single_stage_instance_seg.py
a503116a0e6155bda2b73e2630a248a48dab77fd
[ "Apache-2.0" ]
permissive
ruiningTang/mmdetection
551bf276ee581667703cbe89c2872dc8e7f43bb8
100b0b5e0edddc45af0812b9f1474493c61671ef
refs/heads/master
2021-12-02T05:58:03.301831
2021-11-20T10:58:35
2021-11-20T10:58:35
387,680,731
0
0
Apache-2.0
2021-07-20T05:20:10
2021-07-20T05:20:09
null
UTF-8
Python
false
false
14,118
py
# Copyright (c) OpenMMLab. All rights reserved. import copy import warnings import mmcv import numpy as np import torch from mmdet.core.visualization.image import imshow_det_bboxes from ..builder import DETECTORS, build_backbone, build_head, build_neck from .base import BaseDetector INF = 1e8 @DETEC...
[ "tangruining@zju.edu.cn" ]
tangruining@zju.edu.cn
6ca0d707bf4f5c7758de1ecdbd280d501ac33bde
fb5d3e41d7b921424ed15ec096d0db88b6cac2a8
/sablekh_back/sablekh_back/settings.py
0cc324b4477de40d3ed5f18e704ad94e63430715
[]
no_license
surajbeston/sablekh
8454acb51ba84cd3124cd617865e95fd723740da
4a91dd1c1f2c18e5426dd0a35c8d7b95f1ad41ef
refs/heads/master
2022-12-28T22:24:10.158459
2020-10-14T18:29:08
2020-10-14T18:29:08
283,232,175
0
0
null
null
null
null
UTF-8
Python
false
false
3,948
py
""" Django settings for sablekh_back project. Generated by 'django-admin startproject' using Django 3.0. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os...
[ "surajbeston@gmail.com" ]
surajbeston@gmail.com
df7d02ef5a30aac0fd640614afd664f9f03d0b01
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/dbforpostgresql/v20171201preview/get_firewall_rule.py
e8ea7d212d03833c7dccf2f3f5f8372ee5fbcbbe
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
4,444
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" ]
morrell.noreply@github.com
ea2868109bd49a93b6e2be2dc788c2b8a52ed08a
79821e4f8d6342ea830a42283762b5f8b281004c
/SWEA/Stack/4866_괄호검사/sol2.py
92b890f19a6a8b4a5ecce0bd25b719b33ac13b4c
[]
no_license
Helloworld616/algorithm
d8dd81b3d063b95a5c603c667fb3727d3e98a8df
3536e79684fea3cd14d57685105a9c9c972b37ce
refs/heads/master
2023-08-16T21:08:02.486622
2021-09-25T06:39:54
2021-09-25T06:39:54
383,594,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
import sys sys.stdin = open('sample_input.txt') def solution(string): result = 1 stack = [] openers = ['(', '{', '['] closers = [')', '}', ']'] for char in string: if char in openers: stack.append(char) if char in closers: # 닫는 괄호가 나왔는데, stack이 비어있다면(opener ...
[ "goodluck616@naver.com" ]
goodluck616@naver.com
d1fd86fe68843ddd2099ae74195eced112ea3c69
6bcb8e23eaffc910ac65014f32cfeabee79b511e
/strict_types.py
4c0bdee04bec09fd6cff2f01d7a045057c0f8e9d
[]
no_license
ipeterov/strict_types
de5c3ce8d1b3d803584571c186393a1dcf26d48e
f7b56b1f3775a621913ba5d6cd70a8948ec2bac7
refs/heads/master
2021-01-10T10:20:20.745973
2016-04-19T23:16:18
2016-04-19T23:16:18
43,472,290
11
1
null
null
null
null
UTF-8
Python
false
false
835
py
from typing import get_type_hints def strict_types(function): def type_checker(*args, **kwargs): hints = get_type_hints(function) all_args = kwargs.copy() all_args.update(dict(zip(function.__code__.co_varnames, args))) for argument, argument_type in ((i, type(j)) for i, j in all_a...
[ "ipeterov1@gmail.com" ]
ipeterov1@gmail.com