blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
9f2bb5b89c2bf4b4fc694b91d1551cbe40a13be6
db80edb9be895c4ebcb9acac96eff92b7fda2bd3
/src/scripts/dataset_experiment_2019_1_3_(LNL)_train_script.py
fdf61ca86044647bec3707c7457949e6de9f1db1
[]
no_license
YhHoo/AE-signal-model
9950182425377364d83a8a86b72ed181b789a599
8ba384397a88ea8316deee3173503fccb9e485af
refs/heads/master
2021-06-26T03:43:21.482586
2019-05-16T10:53:25
2019-05-16T10:53:25
131,477,937
0
1
null
null
null
null
UTF-8
Python
false
false
7,510
py
# this is for bash to know the path of the src # Iterative task import sys sys.path.append('C:/Users/YH/PycharmProjects/AE-signal-model') import time import tensorflow as tf import argparse from src.experiment_dataset.dataset_experiment_2019_1_3 import AcousticEmissionDataSet from src.model_bank.dataset_2018_7_13_lcp_...
[ "hooyuheng@gmail.com" ]
hooyuheng@gmail.com
8699e2d9f2857916e726b82f33a9737a08f29c55
da9c4a9a92d49d2fb2983a54e0f64c2a1ce8aa19
/symphony/cli/pyinventory/graphql/fragment/service_type.py
721c139d30f17b42911093ca706dd702b1e3e012
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
rohan-prasad/magma
347c370347724488215a0783504788eac41d8ec7
2c1f36d2fd04eae90366cc8b314eaab656d7f8ad
refs/heads/master
2022-10-14T14:08:14.067593
2020-06-11T23:52:03
2020-06-11T23:54:27
271,671,835
0
0
NOASSERTION
2020-06-12T00:20:23
2020-06-12T00:17:39
null
UTF-8
Python
false
false
1,427
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass from datetime import datetime from gql.gql.datetime_utils import DATETIME_FIELD from gql.gql.graphql_client import GraphqlClient from gql.gql.client import OperationException from gql.gql.reporter import FailedOper...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
024f42d62675e06d3eb3019186c76208aeeb1a10
13ce655f82b93fb4089b29e62a8e33dd7ff05493
/src/wai/json/object/property/proxies/__init__.py
02e3fe800f49bb03e939e66e0758c8f5b174e04d
[ "MIT" ]
permissive
waikato-datamining/wai-json
603b90b13155114bbfb60b40f45100248c03d710
cb013fb16e7c1b8d91e040a387a143d29d4ced96
refs/heads/master
2021-01-07T15:06:22.957223
2020-03-17T23:59:14
2020-03-17T23:59:14
241,736,670
0
1
null
null
null
null
UTF-8
Python
false
false
283
py
""" Package for proxy objects. Proxies are objects which act like other objects, but can be converted to and from JSON, and subscribe to a schema which is enforced during programmatic use as well as conversion. """ from ._ArrayProxy import ArrayProxy from ._MapProxy import MapProxy
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com
35264d72969241f81b66b9d5a4b9c691c83f4953
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03147/s721564434.py
2d4d71c12e237e3c8db09fbb5ea107d30f69bc5b
[]
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
136
py
n =int(input()) h=list(map(int,input().split())) ans=0 p=0 for i in range(n): if h[i]>=p: ans+=h[i]-p p=h[i] print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
acc77520c22c42f333191aa95a4b6817dbac255d
29d1e5d1190ddd6cdf1e1b97b91f442765905454
/Chapter 2/demo_str/demo_split.py
056d3e3c61bab0e7d590ab3dc4357f41524963ed
[]
no_license
SkewwG/SCIP_Python_Learn
abe199e1701022c1491c9e5d6de98d653c267ab9
11216e958f5a77c90c0583ca5cfdb1ec9fb2896c
refs/heads/master
2021-09-13T18:40:42.426924
2018-05-03T07:33:52
2018-05-03T07:33:52
116,967,610
0
1
null
null
null
null
UTF-8
Python
false
false
784
py
''' split(...) 通过指定分隔符对字符串进行切片,如果参数num有指定值,则仅分隔 num 个子字符串 S.split(sep=None, maxsplit=-1) -> list of strings Return a list of the words in S, using sep as the delimiter string. If maxsplit is given, at most maxsplit splits are done. If sep is not specified or is None, any whitespace string is ...
[ "446106525@qq.com" ]
446106525@qq.com
810083db87880c4c4b1795f932349768dc679df6
84ecc3f416647b4c6e40faa6d5392421bc13a4ec
/exercise3.py
372b35f405eb76c6295a87135502cea961c1395d
[]
no_license
Deer5000/DebuggingExercise1_4
b358670708c1b74125b3badea256ee980aef6672
35caeeeb8fce0480aa99ea3f7ee1de05624cf9df
refs/heads/master
2023-02-28T15:41:41.475716
2021-01-24T23:55:45
2021-01-24T23:55:45
332,583,383
0
0
null
null
null
null
UTF-8
Python
false
false
1,561
py
""" Exercise 3 """ # PART 1: Gather Information # # TODO: Gather information about the source of the error and paste your findings here. E.g.: # - What is the expected vs. the actual output? # - expected a sorted number but got an error instead # - What error message (if any) is there? # - Error message is "IndexE...
[ "khidrbrinkley32@gmail.com" ]
khidrbrinkley32@gmail.com
bfbbe25dbfa3f0b2ae468d54e782e2f14c642e75
ecdf9256853e11d6105e2b9ad92ba912602d97d7
/hackerrank/implementation/utopian_tree.py
3925093946f80b538058215341cddd8a3778c7ea
[]
no_license
rgsriram/Algorithms
364fda568356834e32ec247438d21202bebc838d
d4f9acb1a60bd098a601d8173dfdad447a02fd74
refs/heads/master
2021-01-10T05:11:05.688731
2019-03-20T04:59:10
2019-03-20T04:59:10
49,176,180
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
__author__ = 'sriram' """ Problem from: HackerRank Domain: Algorithms Name: Utopian Tree """ def get_height(seasons, initial_height=1): for i in xrange(1, (seasons+1), 1): if i % 2 == 0: initial_height += 1 else: initial_height *= 2 return initial_height def main(): ...
[ "srignsh22@gmail.com" ]
srignsh22@gmail.com
92d61573f163cc264a1c3357554348a137fda00e
cfc9bb332f6c18c52f941aa4919e80a736b33453
/code/set_1_array/287_find_the_duplicate_number.py
897e247c171be6235bb10e77d7132c6e689772ae
[]
no_license
JagritiG/interview-questions-answers-python
8992c64b754d81c76f4d2d29f92fbd9abe522a15
411536a94d4a2f9a64e4f06a41dc8aef4111e80f
refs/heads/master
2022-11-23T21:38:53.986360
2020-08-02T22:17:13
2020-08-02T22:17:13
267,738,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
# Find the Duplicate Number # Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), # prove that at least one duplicate number must exist. Assume that there is only one duplicate number, # find the duplicate one. # Example 1: # Input: [1,3,4,2,2] # Output: 2 # Example 2: # I...
[ "jagritigoswami84@gmail.com" ]
jagritigoswami84@gmail.com
20c60c4ab3ffcaef59f386754bf8ec8172462fd8
404fafd24140a474b868a3f19681ffae80f3cef6
/oregoninvasiveshotline/reports/search_indexes.py
787f067cc9ac921ecf001df3ed123fe526b6738d
[]
no_license
wylee/oregoninvasiveshotline
50590c2684c4445c58574e773d47936cbccb2d47
221f4c5f0307d0e5ffd3f46b8048b5a826388f98
refs/heads/develop
2020-12-03T09:11:14.606417
2017-04-14T17:22:46
2017-04-14T17:56:02
43,166,993
0
0
null
2015-09-25T18:06:50
2015-09-25T18:06:49
JavaScript
UTF-8
Python
false
false
2,198
py
from haystack import indexes from .models import Report class ReportIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True) report_id = indexes.IntegerField(model_attr='report_id', boost=1.125) title = indexes.CharField(model_attr='title', boost=1.125)...
[ "wbaldwin@pdx.edu" ]
wbaldwin@pdx.edu
b5bd8cc19f966c69bb896f02648f30ff4beea112
fbfc0e4d72e2d42b079804775f717833b946fab5
/conda_build/main_index.py
e64aefc6bba616b7a323c37c83953a0de17cb27e
[]
no_license
minrk/conda-build
a13eb0a6ebc3a66e276b1ab20ffa97b035434c71
71b561831665ca7b8c906f87789ea8ffc38c6ce5
refs/heads/master
2023-06-08T09:51:37.787222
2014-02-13T23:48:42
2014-02-13T23:48:42
16,822,417
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
from __future__ import print_function, division, absolute_import import os from os.path import abspath from optparse import OptionParser from conda_build.index import update_index def main(): p = OptionParser( usage="usage: %prog [options] DIR [DIR ...]", description="display useful information ...
[ "ilanschnell@gmail.com" ]
ilanschnell@gmail.com
51b9750566b082570f8361843c139be599d70dc7
32ac0ae3eea0d8d8fd60ddee956c6ef864f7a8ae
/oop_examples.py
51c58bda09af0e691e691f2275baa0428605164a
[]
no_license
EricSchles/oop_py
1867778c70597a7d91da256be0cf93017e4627df
52e30b0e804e4fc925935f95357cedb58da7d06c
refs/heads/master
2016-09-06T16:37:35.052549
2015-07-28T21:30:54
2015-07-28T21:30:54
39,858,771
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
class Node: def __init__(self,data,next=None): self.data = data self.next = next def __str__(self): return repr(self.data) class Vertex(Node): def __init__(self,data,edges=[]): self.data = data self.edges = edges def __eq__(self,other): if isinstance(oth...
[ "ericschles@gmail.com" ]
ericschles@gmail.com
45580a16f6a18dad43e707e5d56a5ccb7cd5c775
ced1068f3cbab76399490b5e1b2e7c496555639c
/pslist2.py
9f6a763d1d733c047656acd196021f722920f3de
[]
no_license
ravijaya/july23
744d5e88ed5ab414a1097a107ef9577664da8b73
e29ca509ac2bb38a3ddc93e2185daf54832722c3
refs/heads/master
2020-06-23T01:04:50.985147
2019-07-24T11:43:52
2019-07-24T11:43:52
198,453,808
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
# delete by index items = [2.2, 'pam', .98, 'tim', 'pat', 1.2, 'kim', .67] print(items) print() value = items.pop() print(value) print(items) print() items = [2.2, 'pam', .98, 'tim', 'pat', 1.2, 'kim', .67] print(items) print() value = items.pop(5) print(value) print(items) print()
[ "ravijaya@localhost.localdomain" ]
ravijaya@localhost.localdomain
e6946326b32ac4520b6a43c8ce3fbe9617677612
f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b
/tools/sandesh/library/common/test/SConscript
96a9520dcf0fe554cf04fa620990b5020f8b8421
[ "Apache-2.0" ]
permissive
pan2za/ctrl
8f808fb4da117fce346ff3d54f80b4e3d6b86b52
1d49df03ec4577b014b7d7ef2557d76e795f6a1c
refs/heads/master
2021-01-22T23:16:48.002959
2015-06-17T06:13:36
2015-06-17T06:13:36
37,454,161
2
0
null
null
null
null
UTF-8
Python
false
false
866
# -*- mode: python; -*- # # Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. # Import('SandeshEnv') env = SandeshEnv.Clone() env.Append(CPPPATH = [ Dir('#build/include').abspath, Dir('#controller/src').abspath, Dir('#tools').abspath, ]) SandeshBufferTestGenCppFiles = e...
[ "pan2za@live.com" ]
pan2za@live.com
887e2b6ff01a0510044a6bf19ef7078447cafaab
d063684dd03293eb0f980568af088d26ab087dbe
/debadmin/migrations/0093_user_addon_cart_item_cart_id.py
e3e4b69f8eb6eac7dc10b7c7fc76391b4bee6345
[]
no_license
abhaysantra/debscientific
ce88e5ef44da8d6771c3652ed0ad02900ccd8ed2
88ec65616fd24052bbdbba8b00beba85493f5aea
refs/heads/master
2020-11-26T22:09:33.820247
2019-12-20T07:58:43
2019-12-20T07:58:43
229,213,810
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Generated by Django 2.2.6 on 2019-11-27 08:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('debadmin', '0092_user_addon_cart_item'), ] operations = [ migrations.AddField( model_name='user_addon_cart_item', ...
[ "abhay.santra@gmail.com" ]
abhay.santra@gmail.com
35a67b282264036588f8a8fee11b90cbf8a73faf
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/OTLModel/Classes/Installatie/Ecovallei.py
2b15e33f943ef57001d14f6a606039fb858c4be9
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
642
py
# coding=utf-8 from OTLMOW.OTLModel.Classes.ImplementatieElement.AIMObject import AIMObject from OTLMOW.GeometrieArtefact.VlakGeometrie import VlakGeometrie # Generated with OTLClassCreator. To modify: extend, do not edit class Ecovallei(AIMObject, VlakGeometrie): """Een vallei onder de verkeersbrug waar het land...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
b70d805e1f5ae369892c503ffe7cb69f881a3ed5
c78b20665068e712917558dbdd512641b0b90c80
/rebecca/fanstatic/apis.py
1cf4b8101d5b6c332c1f6db3af54c37e02c1f3c1
[ "MIT" ]
permissive
rebeccaframework/rebecca.fanstatic
9d60cb29f4bee5e5a1dbc8cfcc43e3ac4c723c43
9f71d5f7d0a605b0c9ad165b20958d88cfdbcf69
refs/heads/master
2016-09-06T14:08:34.278688
2012-03-20T08:23:42
2012-03-20T08:23:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
from fanstatic import get_library_registry from zope.interface import implementer from .interfaces import IFanstaticSet def get_fanstatic_set(request): reg = request.registry fanstatic_set = reg.queryUtility(IFanstaticSet) return fanstatic_set def need_fanstatic(request, renderer_name): fanstatic_set ...
[ "aodagx@gmail.com" ]
aodagx@gmail.com
49c1a6ffb77eb42628a14c31a91f6da58b557a6d
10e8fa6e43a54b3bbb89326a7d5786d50a625551
/04. Inheritance/venv/Scripts/pip3.8-script.py
49afacc31ed499f32cbf17a0824ad4d92a2dd157
[]
no_license
ramona-2020/Python-OOP
cbc7e5fadfdc907e51c83313e0ffb1f4f5f83f70
7404908f50d30c533f0fca2fd08d0290526686a5
refs/heads/master
2023-03-20T18:43:18.389720
2020-06-07T15:20:00
2020-06-07T15:20:00
523,400,905
1
0
null
2022-08-10T15:38:09
2022-08-10T15:38:08
null
UTF-8
Python
false
false
447
py
#!"D:\User\Desktop\Python Projects_SoftUni\Python-OOP\04. Inheritance\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __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'(-scrip...
[ "rossavelrs@yahoo.com" ]
rossavelrs@yahoo.com
6f2cafd43a0d793c14a963dee3e2c6ede3bc62b3
a88207cf67ad0d65afdd57d5f5144cbc09995f60
/test/pPb/step2_RAW2DIGI_L1Reco_RECO.py
bd20aa632197a2c164cdf5066199385358db4aa7
[]
no_license
pfs/TopFromHeavyIons
211184bad34e4ae11e6216689e5141a132e14542
a75ed1fc68d24682dad3badacf2726dc2b7ff464
refs/heads/master
2020-12-29T02:44:30.348481
2017-06-16T14:53:35
2017-06-16T14:53:35
37,029,781
1
1
null
2015-10-11T08:28:35
2015-06-07T19:47:07
Python
UTF-8
Python
false
false
3,477
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: step2 --filein file:step1.root --fileout file:step2.root --mc --eventcontent AODSIM --datatier AODSIM --conditions 80X_mcRun2_pA_v4 --custo...
[ "psilva@cern.ch" ]
psilva@cern.ch
457d08945aaab8688e20d9b67d9f662e622f45c7
05083d24088bbb3bfb7cdd162c101c72e18bc3a6
/containers/failures/router/failure1/myapp.py
91a0fcf8f0bc567cc5d9e9642a2f9910e038d684
[ "Apache-2.0" ]
permissive
crossbario/crossbar-examples
f5e14b62db0f14e20ab54346cd4e8c3276aa6449
aa31d9fe3abcb4b797931356b5a2ceeac64229c3
refs/heads/master
2023-01-11T02:36:00.883034
2023-01-03T11:12:06
2023-01-03T11:12:06
28,035,551
100
122
Apache-2.0
2023-01-03T11:12:07
2014-12-15T12:23:02
HTML
UTF-8
Python
false
false
371
py
from twisted.logger import Logger from autobahn.twisted.wamp import ApplicationSession class MySession(ApplicationSession): log = Logger() def __init__(self, config): self.log.info("MySession.__init__()") ApplicationSession.__init__(self, config) @inlineCallbacks def onJoin(self, det...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
45aeeec4bced02a189d55b9a5a3b75962906bfd3
457e2f5b2a26877df739e314ec1560e8a3ecfb97
/rebind/baseRig/util/nodePVpos.py
c0fe805be2194bfad4641759e25560502c3f02dd
[]
no_license
mappp7/tools
f6685d9a682bd540d59c1bff0cebb60f79fd6556
c537e7648112c51ba4f44225418e773ee6b8be6c
refs/heads/master
2021-01-14T16:40:44.450790
2020-10-30T05:30:27
2020-10-30T05:30:27
242,682,763
1
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
import maya.cmds as cmds import util.homeNul as HN # Node base PV position ! # 3 joint list #jnt = cmds.ls( sl=True, type='joint' ) def nodePVconnect( jnt ): #decomposeMatrix rootJdecompose = cmds.createNode( 'decomposeMatrix', n=jnt[0].replace( 'JNT', 'DCM' ) ) middleJdecompose = cmds.createNode( 'deco...
[ "56536931+mappp7@users.noreply.github.com" ]
56536931+mappp7@users.noreply.github.com
8a351a0a17dd9c9e820ad0a3ce4ed47c32bbad79
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/CMDy4pvnTZkFwJmmx_17.py
eb2c62d15f7a683e86ff3af378adbe04730786b4
[]
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
2,319
py
""" Create a class `Sudoku` that takes a **string** as an argument. The string will contain the numbers of a regular 9x9 sudoku board **left to right and top to bottom** , with zeros filling up the empty cells. ### Attributes An instance of the class `Sudoku` will have one attribute: * `board`: a list represent...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
2dc0161a4729cda94a80a95977ad4a8515d70974
938a496fe78d5538af94017c78a11615a8498682
/algorithms/901-/1104.path-in-zigzag-labelled-binary-tree.py
2b2367b8413873d7a0cf319fc2d88320522f4c2d
[]
no_license
huilizhou/Leetcode-pyhton
261280044d15d0baeb227248ade675177efdb297
6ae85bf79c5a21735e3c245c0c256f29c1c60926
refs/heads/master
2020-03-28T15:57:52.762162
2019-11-26T06:14:13
2019-11-26T06:14:13
148,644,059
8
1
null
null
null
null
UTF-8
Python
false
false
901
py
# 二叉树寻路 class Solution(object): def pathInZigZagTree(self, label): """ :type label: int :rtype: List[int] """ """ 我们会发现一个规律,在偶数行,原索引和逆序后的索引值加在一起, 等于该行最小索引和最大索引的值(因为每一行都是一个等差数列), 而这个值也恰好等于该行最小索引值的3倍减去1(因为下一行开始的索引是前一行开始索引的2倍)。 """ if lab...
[ "2540278344@qq.com" ]
2540278344@qq.com
727b274021936dbec7e423339760a2a165e22cd7
a70e4ba37ff2267b23a4d70282577f03086ab98d
/setup.py
0cd40d03a9499c1619570decacc6446dafc521f1
[ "MIT" ]
permissive
i5o/xo-retroscope
b731b8511054a2b8144e85a9b545dea8d02d494b
0e61b8eb41828356e6a49402f1bdb93c285486f4
refs/heads/master
2016-09-05T14:58:04.088218
2014-01-03T19:39:47
2014-01-03T19:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
#!/usr/bin/env python try: from sugar3.activity import bundlebuilder bundlebuilder.start() except ImportError: print "Error: sugar.activity.Bundlebuilder not found."
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
01bf3ba6e3fdeb2cfdc75acfd7cae65d5ce05eba
15cb0ddd678abe1e1f7a905fab0305079bfc4007
/source/vsm-dashboard/vsm_dashboard/dashboards/vsm/monitor-status/tables.py
785a28bfaa382c1d8a76a769ccba4105a78ac32b
[ "MIT", "Apache-2.0" ]
permissive
ramkrsna/virtual-storage-manager
3563baf9763a0925af77cc13245e0896c20a2ced
78125bfb4dd4d78ff96bc3274c8919003769c545
refs/heads/master
2023-02-18T08:52:56.769486
2016-07-01T06:46:53
2016-07-01T06:46:53
63,155,952
0
0
NOASSERTION
2023-02-07T06:07:38
2016-07-12T12:27:16
Python
UTF-8
Python
false
false
4,595
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2014 Intel Corporation, 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 # # http://www.apache.or...
[ "yaguang.wang@intel.com" ]
yaguang.wang@intel.com
75aa59ccac8e96f75f760fc5720ee19d5dbb3fc4
26771494974942f4ab18d2cd8247506c344e1d14
/133-v2-cloneGraph.py
da32838a0365c7696c37221dfa93c8d27f7d203e
[]
no_license
wangyunpengbio/LeetCode
9f4c6076e067c5e847d662679483f737d40e8ca5
cec1fd11fe43177abb2d4236782c0f116e6e8bce
refs/heads/master
2020-04-29T22:28:25.899420
2020-04-03T07:37:26
2020-04-03T07:37:26
176,448,957
3
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
""" # Definition for a Node. class Node: def __init__(self, val, neighbors): self.val = val self.neighbors = neighbors """ class Solution: def cloneGraph(self, node: 'Node') -> 'Node': # 深度优先遍历 非递归 if node == None :return None resNode2CopyNode = {} stack = [node] ...
[ "wangyunpeng_bio@qq.com" ]
wangyunpeng_bio@qq.com
0f61efa724ff6f8c229649cf3b50c92d8bd7b5b1
7ba22c9826a1574777a08fb634ff15c56de6cb98
/syntaxnet/dragnn/tools/evaluator.py
ae60e5d4f8beeb1996dd1633c94b9a5e2710e180
[]
no_license
dhanya1/full_cyclist
02b85b8331f8ca9364169484ab97b32920cbbd14
dd12c8d8a3deaaea15041e54f2e459a5041f11c2
refs/heads/master
2022-10-17T13:36:51.886476
2018-07-30T15:46:02
2018-07-30T15:46:02
142,896,293
0
1
null
2022-10-05T10:11:01
2018-07-30T15:46:15
Python
UTF-8
Python
false
false
6,917
py
# Copyright 2017 Google Inc. 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "dhanyasj01@gmail.com" ]
dhanyasj01@gmail.com
787e0215434095aa0b3afec689844c5bea7ff1fc
82c73b70c2002f647bdc254125f0bdb18f0b79d2
/openstack_dashboard/dashboards/admin/volumes/urls.py
4a6a4c23b4007ad736bdeacbe29791aa6810287d
[ "Apache-2.0" ]
permissive
xuweiliang/Codelibrary
cfb5755ced54c65cacdb3e35ab2b98385f8d5f8e
54e45b2daa205132c05b0ff5a2c3db7fca2853a7
refs/heads/master
2021-05-04T00:31:42.025238
2018-03-20T07:05:20
2018-03-20T07:05:20
71,852,078
0
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
# Copyright 2012 Nebula, 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 applicable law or agree...
[ "root@newton.com" ]
root@newton.com
a88e8898471f969bb19e173853e19c315c95f494
52b5773617a1b972a905de4d692540d26ff74926
/.history/perm_20200622013142.py
721353b76d5da3353229c7518531f035e0fa2219
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
def sequence(n,k): newArr = [] for i in range(1,n+1): newArr.append(i) print(newArr) sequence(3,3)
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
dfe31c4e723e17ac685d9e2a451abd83f0774db5
b0cdbad299f6174bfdb0fba173dbcf3889b82209
/Modules/sys/38_sys.py
09e80a1a040cbbf4490bac86fe593db7821a7af8
[]
no_license
deesaw/PythonD-06
a33e676f1e0cfc13b4ea645c8b60547b198239ac
3c6f065d7be2e3e10cafb6cef79d6cae9d55a7fa
refs/heads/master
2023-03-18T08:24:42.030935
2021-03-02T14:15:09
2021-03-02T14:15:09
343,797,605
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
import sys print("Length:",len(sys.argv)) if (len(sys.argv)>2): sum=0 for i in sys.argv[1:]: sum=sum+int(i) print(sum) else: total=0 no_Values=int(input("How many values has to be added:")) for val in range(no_Values): print(val) num=int(input("Enter Value:")...
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
29958a6140724765938a648ad8144e723a3f67dc
fecc1daf3ee945191dee561dd501e9e17a36685d
/projectile.py
77b4eb35dcd119c7c25ba9c514b258c87ce31e60
[]
no_license
tt-n-walters/tt19-pytue-game
856d9bb4a2c4260d88b1ef6fb63426f648c4808f
2fe4ca47180b617f0d1d72046753fa5e914a2809
refs/heads/master
2022-10-23T11:35:03.150595
2020-06-16T17:03:49
2020-06-16T17:03:49
267,097,729
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
from arcade import Sprite, draw_rectangle_filled, color from math import sin, cos, radians class Projectile(Sprite): def __init__(self, image_filename, direction, speed): super().__init__(filename=image_filename, scale=4) self.angle = direction self.change_x = speed * cos(radians(direction...
[ "nico.walters@techtalents.es" ]
nico.walters@techtalents.es
44851354a019a77a82c2a8e957f0ee79172d10cd
2fff43f976e55c31e448e56b2809c36a0b154684
/blog/views.py
b2aac913895a07b61be54fae4394fae8a9ac7c18
[]
permissive
omar115/first_blog_application
60f48c859f7b2d5be30f6d4abc34564b2dc7cd08
c87ae74bdeabc72fc12162528a966ef1295184e6
refs/heads/main
2023-02-16T12:20:24.513085
2021-01-14T11:57:00
2021-01-14T11:57:00
329,451,779
0
0
MIT
2021-01-14T10:20:55
2021-01-13T22:56:54
null
UTF-8
Python
false
false
145
py
from django.shortcuts import render # Create your views here. def post_list(request): return render(request, 'blog/post_list.html', {})
[ "omarhasan115@gmail.com" ]
omarhasan115@gmail.com
2fad9418b56e80ca01ab03f50a5629b955b26ddb
e1efc8e0b0e4629dea61504fbc816c0527691bd9
/8.thread线程/1.线程基础/1_线程基本概念.py
63dc04d2e753d0495c412dff0504ed2dee2325fc
[]
no_license
xiongmengmeng/xmind-technology
2bb67a0bf92cfd660cac01f8ab3a2454423ccba5
e2fdb6987ef805a65f0a4feb52d84383853f4b77
refs/heads/main
2023-07-31T07:10:29.868120
2021-09-11T08:18:17
2021-09-11T08:18:17
307,636,242
3
1
null
null
null
null
UTF-8
Python
false
false
3,390
py
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.insert(0,parentdir) import xmind from xmind.core.markerref import MarkerId xmind_name="thread" w = xmind.load(os.path.dirname(os.path.abspath(__file__))+"\\"+xmind_name+".xmind") s2=w.createSheet() s2.se...
[ "xiongmengmeng@qipeipu.com" ]
xiongmengmeng@qipeipu.com
39dd022361eeff4b26dc76375bafd21c5b91e869
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonTools/python/ISF_Geant4CommonToolsConfigDb.py
57bc594f8edc61ff1211ce0259aa17ceaa7dbae2
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
890
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration """ Configuration database for ISF_Geant4CommonTools Elmar Ritsch, 31/10/2014 """ from AthenaCommon.CfgGetter import addTool, addToolClone, addService, addAlgorithm, \ addTypesToExcludeIfDefaultValue, addNamesToExcludeIfDefaultValue, addFu...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
4c5c9b5b065e80fca6d1741d5b52a87f50e94787
b8ba0f496b3e89af32c11503b8bb87b1917c4c36
/mutant/__init__.py
862b1670352ecd904a7b646a269bdae676ea1330
[ "MIT" ]
permissive
torchingloom/django-mutant
21a3bbb076668c88e855725e74163442810e4817
7bf396071f22c7339098b7ec57e0629750cf57c8
refs/heads/master
2021-01-21T20:19:04.029964
2016-01-14T05:02:13
2016-01-14T05:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from __future__ import unicode_literals import logging from django.utils.version import get_version VERSION = (0, 2, 2, 'alpha', 0) __version__ = get_version(VERSION) logger = logging.getLogger('mutant') default_app_config = 'mutant.apps.MutantConfig'
[ "charette.s@gmail.com" ]
charette.s@gmail.com
1d5a1ceca4a37df1c9413d3bd9f77be6dcc74c75
bb93784aad5933329118cc2ed86357045e535c51
/setup.py
d92ebe3852c13ffa729b201b45376444bae1511e
[]
no_license
garaemon/pr_style_review
3f69ddee8a93d3422955fa96f42c754a4c3c1a43
2ae6e400ae68746fc6d385f642d01cbaaa9c19c2
refs/heads/master
2020-04-24T22:11:07.173809
2019-02-28T16:01:57
2019-02-28T16:01:57
172,303,383
0
0
null
2019-02-28T16:01:58
2019-02-24T06:15:43
Python
UTF-8
Python
false
false
135
py
from setuptools import setup setup( name='pr_style_review', version='0.0.0', install_requires=['GitPython', 'github3.py'])
[ "garaemon@gmail.com" ]
garaemon@gmail.com
e53912616396c13d4e09af02972f7af0a5d56051
babff7df289cb7173a22be1f68feec51f71d9269
/manage.py
0436a4c994071feac690f1a81989b12038390b25
[ "MIT" ]
permissive
jwestgard/prange-db
9d1a6817dd9f94d8a4dc380cefe8846dd8b20312
27535271cd902d18673c187f4277e47327563556
refs/heads/master
2021-01-10T21:20:50.583769
2015-10-11T17:21:04
2015-10-11T17:21:04
42,461,824
0
2
null
null
null
null
UTF-8
Python
false
false
726
py
#!/usr/bin/env python import os from app import create_app, db from app.models import User, Role from flask.ext.script import Manager, Shell from flask.ext.migrate import Migrate, MigrateCommand app = create_app(os.getenv('FLASK_CONFIG') or 'default') manager = Manager(app) migrate = Migrate(app, db) def make_shell_...
[ "jwestgard@mac.com" ]
jwestgard@mac.com
79c9b3bb46711849e3535454e5043208d663f50b
c1f732ebeceb8c4103454f8ed8c5be3f02589b3f
/run.py
571c2e31c096ff2f91563919165a8d25630100b9
[ "MIT" ]
permissive
Roychela/Password-Locker
828cab4ba678f11beeee602cf2a475e52e45e147
67e16580ea9283ede593c5cf6eadcfde877a70d2
refs/heads/master
2020-06-04T06:01:37.011996
2019-06-17T12:23:38
2019-06-17T12:23:38
191,897,776
0
0
null
null
null
null
UTF-8
Python
false
false
6,172
py
#!/usr/bin/env python3.6 from user_credentials import User from user_credentials import Credentials def create_user(uname,password): ''' Function to create a new user ''' new_user = User(uname, password) return new_user def save_user(user): ''' Function to save a new user ''' user.s...
[ "roychela@gmail.com" ]
roychela@gmail.com
5934915c4f56931289cac74101259879de684988
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/acloud/setup/setup.py
c424318b97c03083e60d2b51c27384c8c788fcfc
[ "Apache-2.0" ]
permissive
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,732
py
# Copyright 2018 - The Android Open Source Project # # 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 ...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
02d209733f4ae22362411e874febaf105049cc1f
6ad2fb13c42b6bb483189b0931bcca8bb117b5dc
/tests/ci/unittests/sdk/internal/agent/agent_client_test.py
e547c5dfca11df49d80a961c5e0ba687426d719c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
woodywan/python-sdk
aac2a2527f07c8900a01b4336f890c603a1c8d4c
b8583a8abf3bdc1f978fad6f692e980de00bc7ea
refs/heads/master
2023-01-14T03:23:12.291230
2020-11-20T15:18:41
2020-11-20T15:18:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
# Copyright 2020 TestProject (https://testproject.io) # # 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 ...
[ "bas@ontestautomation.com" ]
bas@ontestautomation.com
9aebea7c51c967d87dbf4f648217c77a7eb52dda
c268dcf432f3b7171be6eb307aafbe1bd173285a
/reddit2telegram/channels/~inactive/r_linuxmemes/app.py
7c7c338a5ee9f373aadc9306f10466ee14873922
[ "MIT" ]
permissive
Fillll/reddit2telegram
a7162da2cc08c81bcc8078ea4160d4ee07461fee
5d8ee3097e716734d55a72f5a16ce3d7467e2ed7
refs/heads/master
2023-08-09T10:34:16.163262
2023-07-30T18:36:19
2023-07-30T18:36:19
67,726,018
258
205
MIT
2023-09-07T02:36:36
2016-09-08T17:39:46
Python
UTF-8
Python
false
false
143
py
#encoding:utf-8 subreddit = 'linuxmemes' t_channel = '@r_linuxmemes' def send_post(submission, r2t): return r2t.send_simple(submission)
[ "git@fillll.ru" ]
git@fillll.ru
9faffe3153372843ef972e1783f126a5c1a982cf
10d98fecb882d4c84595364f715f4e8b8309a66f
/structformer/utils.py
5bfcdbe7fcd76e6958692bae860d3f0ecf877937
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
1,703
py
# coding=utf-8 # Copyright 2021 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
335a739b77ad9f9f6b858847ac0bd3526d3b033c
2ed2dd917afb05d194e87f989d78953b31a5781b
/lesson8/mission1.py
c0a03c9b4c67ea4473ebbb1e9fc2e4bbd98d5c46
[]
no_license
RenegaDe1288/pythonProject
4058d549db7c37652f77438c31f8b31476497d98
801c06f3be22ed63214987b11d6f1b3fd2fe5b44
refs/heads/master
2023-08-17T13:20:50.777842
2021-10-05T10:51:00
2021-10-05T10:51:00
393,145,207
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
import random cereal = random.randint(20, 100) print('Всего кг гречки = ', cereal) for num in range(1, 10): if cereal >= 4: cereal -= 4 print('Месяц = ', num) print('На конец месяца Осталось гречки', cereal) else: print('Вы здохли на месяце ', num) break
[ "D121188@yandex.ru" ]
D121188@yandex.ru
801079f7f2054c5a86f12bc6b180ae002b113965
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/main_20171106225556.py
2fd686058e6c52f591c4b1270ab859ab28dbd2df
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
# DADSA - Assignment 1 # Reece Benson import random from classes import Menu as Menu from classes import Handler as Handler class App(): # Define the variables we will be using debug = True handler = None # Define all of the properties we will need to use def __init__(self): # Load our ha...
[ "me@reecebenson.me" ]
me@reecebenson.me
c7c12ce39667b16703c21aca62a7e62b8faaaf14
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/ext/plugin_loader/__init__.py
69f22e8d027110d53bfe40fdda2a90f6223048a0
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
781
py
from .import_overwrite import * from .plugin_tree import * from .snapshot import * from .utils import * from .client_extension import * from .constants import * from .exceptions import * from .plugin import * from .plugin_extractor import * from .plugin_loader import * from .plugin_root import * from .helpers import *...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
96526cb71cfcf833e6e090c692e8579be40537a1
9264cda8d9bb152e4fed4923e6403a2334abbe89
/laxy_backend/tasks/orchestration.py
7d20f917adbe162b19ff3f10a961e7eaf4300c7a
[ "Apache-2.0" ]
permissive
MonashBioinformaticsPlatform/laxy
b228d93690f7cb9c0658af44013497f6c756167c
bee9d283d0932dd845cbc9c7c090dde794d2ecbc
refs/heads/master
2023-08-26T06:25:11.188255
2023-08-22T05:13:09
2023-08-22T05:13:09
104,432,675
3
2
Apache-2.0
2023-06-27T23:34:18
2017-09-22T04:48:54
Python
UTF-8
Python
false
false
1,434
py
from django.conf import settings from django.core.mail import EmailMultiAlternatives from celery.utils.log import get_task_logger from celery import shared_task from celery import Celery, states, chain, group from celery.exceptions import (Ignore, InvalidTaskError, ...
[ "ajperry@pansapiens.com" ]
ajperry@pansapiens.com
97e03d5ce5a1b878b9cc44e984b6afd2fed84a1b
e96cc817c768915eeff46027ded14e759e8042ff
/Python编程/系统编程/线程/thread_lock_stu.py
021d30991b4e9dbbb4127f5a6df3225f838428b2
[]
no_license
fovegage/learn-python
e22a32207cf513ba0f8c3428e9c00138987c2359
93b8d3513769a0b7d492a7b515f289fe3f1efc4a
refs/heads/master
2023-06-08T13:44:57.274677
2023-05-29T05:52:35
2023-05-29T05:52:35
148,493,932
6
0
null
null
null
null
UTF-8
Python
false
false
968
py
# -*- coding: utf-8 -*- # @Author: fovegage # @File: thread_lock_stu.py # @Email: fovegage@gmail.com # @Date: 2018-09-21 16:41:02 # @Last Modified time: 2018-09-21 16:41:07 import threading # 可以加锁 也可以延时 num = 0 class My_Thread_1(threading.Thread): def run(self): global num for i...
[ "fovegage@gmail.com" ]
fovegage@gmail.com
af36a65541b839c6bbb15fa9e1fd4ff8e5374673
c09a4b4f02849c03ba536edda2bf920b655be6bc
/wyl/add_noise.py
6dc8a805bf7045866c98b4283c6c4910ad3bc427
[]
no_license
jpober/brownscripts
33bcc70a31694dfb06f1314adb1402316540108c
c25789ec765b018eaad59d99a0a4264c75655265
refs/heads/master
2021-01-23T22:01:19.004636
2020-11-12T18:39:14
2020-11-12T18:39:14
57,912,669
2
2
null
null
null
null
UTF-8
Python
false
false
2,388
py
import numpy as np, pyuvdata.uvdata as uvd, sys, optparse, aipy import capo from aipy.const import k import glob, matplotlib.pyplot as plt from scipy.io.idl import readsav from IPython import embed o = optparse.OptionParser() o.set_usage('add_noise.py [options] obs') o.add_option('-o', dest='outpath', help='Destinatio...
[ "wenyang_li@brown.edu" ]
wenyang_li@brown.edu
cc828390d5d25140f299b141f0bee2892c95787d
0028a9a0d3fb346c44a386d507579fa6288ec0b9
/payment_receipt_invoice/__manifest__.py
95b995d758d7ba810d0d58fbc761aebded2fac62
[]
no_license
rpsjr/extra-addons
283a7e54c3dc67ba2cab2b28e03e2cd8e3bfbe2d
9f8906b7908ad373cc26405c6aea54b0cd5031cb
refs/heads/master
2022-07-31T21:19:04.013649
2020-05-16T19:12:19
2020-05-16T19:12:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
# -*- coding: utf-8 -*- ############################################################################## # # Cybrosys Technologies Pvt. Ltd. # Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>). # Author: Niyas Raphy,Fasluca(<http://www.cybrosys.com>) # you can modify it under the terms...
[ "user@localhost.localdomain" ]
user@localhost.localdomain
645ed88cfcfdedfaa7b157819933b2a425965edf
e35fd52fe4367320024a26f2ee357755b5d5f4bd
/leetcode/problems/599.minimum-index-sum-of-two-lists.py
9f64bc499ff33c39eaa7f998f6fc339d5a9d0027
[]
no_license
liseyko/CtCI
a451967b0a0ce108c491d30b81e88d20ad84d2cd
c27f19fac14b4acef8c631ad5569e1a5c29e9e1f
refs/heads/master
2020-03-21T14:28:47.621481
2019-11-12T22:59:07
2019-11-12T22:59:07
138,658,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
# # @lc app=leetcode id=599 lang=python3 # # [599] Minimum Index Sum of Two Lists # # https://leetcode.com/problems/minimum-index-sum-of-two-lists/description/ # # algorithms # Easy (49.05%) # Total Accepted: 69.6K # Total Submissions: 141.9K # Testcase Example: '["Shogun","Tapioca Express","Burger King","KFC"]\n' ...
[ "liseyko@gmail.com" ]
liseyko@gmail.com
33f997ce05ea563ef525d2f8526b25d76942c1fa
201335e99ac66a1e404bda38c3ca0fe1006835ce
/network_model/builder/pytorch_builder.py
f79ef81e35cfc7bea464818473a06e9cb57bd13e
[ "MIT" ]
permissive
yuga-n/ModelLearner
507c701cb5beea30e096a51c2ae1296cdc699f8b
3193efd5eb15172ba8231a34829942040fcb0fc5
refs/heads/main
2023-08-14T04:03:23.338993
2021-09-10T14:15:30
2021-09-10T14:15:30
406,409,911
0
0
MIT
2021-09-14T14:52:28
2021-09-14T14:52:27
null
UTF-8
Python
false
false
5,276
py
# -*- coding: utf-8 -*- import keras.engine.training from typing import Callable from typing import Tuple from typing import List from typing import Union from util_types import types_of_loco from network_model.distillation.distillation_model_builder import DistllationModelIncubator from network_model.build_model impor...
[ "hamakaze181and189amarube@gmail.com" ]
hamakaze181and189amarube@gmail.com
787c0af6845645273f03f517cdc63b368ff78526
00820b522cc16bf996f1ef44a94a2f31989c4065
/abc/abc151/b.py
83c9ebfb2c76f96625755c32b514c9fb111b83c2
[]
no_license
yamato1992/at_coder
6dffd425163a37a04e37507743a15f67b29239fc
6e0ec47267ed3cae62aebdd3d149f6191fdcae27
refs/heads/master
2020-08-31T11:17:03.500616
2020-06-12T15:45:58
2020-06-12T15:45:58
218,678,043
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
N, K, M = map(int, input().split()) scores = list(map(int, input().split())) req_score = N * M - sum(scores) if req_score > K: print(-1) elif req_score < 0: print(0) else: print(req_score)
[ "yamato.mitsui.orleans@gmail.com" ]
yamato.mitsui.orleans@gmail.com
00fd44fd4c9944de27295296d9220003e0054ebc
1fb2da0e6f73652f0b0126c82a84562f6a8d3535
/946. Validate Stack Sequences.py
0e3b5ae404154d83fdb8c28dd8ada0394f1e5dfd
[]
no_license
JaylenZhang19/Leetcode
be3456fcb45270c8aad797f965f4c7a1781c0e61
178546686aa3ae8f5da1ae845417f86fab9a644d
refs/heads/master
2023-02-27T06:08:58.818435
2021-01-31T20:28:10
2021-01-31T20:28:10
287,661,146
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
class Solution: def validateStackSequences(self, pushed: List[int], popped: List[int]) -> bool: stack = [] while pushed: stack.append(pushed.pop(0)) while stack and popped and stack[-1] == popped[0]: stack.pop() popped.pop(0) ...
[ "noreply@github.com" ]
JaylenZhang19.noreply@github.com
badf4d8ee3241875395d8cab7be4c5abe4aae39e
cbdef2e8ed259adc4653ade34db12d8bcc0cea9f
/dominion/cards/Card_Capital_City.py
8fd93365fb68c55deab0a00b7b76f4a9f427e947
[]
no_license
dwagon/pydominion
8dd5afef8ec89c63ade74c4ae6c7473cd676799f
545709f0a41529de74f33aa83b106c456900fa5b
refs/heads/main
2023-08-29T10:02:26.652032
2023-08-23T02:25:00
2023-08-23T02:25:00
18,776,204
1
0
null
2023-08-23T02:25:02
2014-04-14T20:49:28
Python
UTF-8
Python
false
false
3,191
py
#!/usr/bin/env python import unittest from dominion import Game, Card, Piles ############################################################################### class Card_Capital_City(Card.Card): def __init__(self): Card.Card.__init__(self) self.cardtype = Card.CardType.ACTION self.base = Ca...
[ "dougal.scott@gmail.com" ]
dougal.scott@gmail.com
31426e105b712e14f2356ac3431be2d91963cd4c
2ef009eaa4cc0a6a6d1aee6794f43d8409c99711
/python和linux高级编程阶段/05-多任务-协程/04-协程-greenlet.py
7df153bb2e4c8366df336493e6ef2e926ae83870
[]
no_license
vkhaibao/PyProject
6ae833cef09d7000af00dd7c842d2db29a1cd0cc
2a733b34f337d4497051660f473a4cfb977fc15b
refs/heads/master
2022-11-22T07:41:22.630002
2019-07-29T01:17:17
2019-07-29T01:17:17
173,897,429
1
3
null
2020-07-22T23:14:22
2019-03-05T07:32:41
Python
UTF-8
Python
false
false
489
py
# coding=utf8 from greenlet import greenlet import time import os def test1(): while True: print("%s" % os.getpid()) print("%s" % os.getppid()) print("---A--") gr2.switch() time.sleep(0.5) def test2(): while True: print("%s" % os.getpid()) print("%s" %...
[ "280764069@qq.com" ]
280764069@qq.com
eed197eb1c8885c234bee2ca408f919a4654981f
43ae032297b492fbdf2df478588d2367f59d0b6b
/3 - Types/3.3 - InbuiltTypes-DictionarySetArray/10-dictions-methods-setdefault.py
9a824b12c8c37a47ca2b3db55ee9176d4dbd8697
[]
no_license
thippeswamydm/python
59fa4dbb2899894de5481cb1dd4716040733c378
db03b49eb531e75b9f738cf77399a9813d16166b
refs/heads/master
2020-07-05T06:57:18.575099
2019-10-23T04:30:27
2019-10-23T04:30:27
202,562,414
1
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Describes the assigning, working, and method usages of dictionaries obj = {'name': 'Ganesh', 'age': 5} # Add a key value pair if 'color' not in obj: obj['color'] = 'light-brown' obj = {'name': 'Ganesh', 'age': 5} # Using setdefault function obj.setdefault('color', 'light-brown') # 'light-brown' print(obj) # ...
[ "ganeshsurfs@gmail.com" ]
ganeshsurfs@gmail.com
e74bd9c8df9754782584f12a29542e54c31d5b05
210ecd63113ce90c5f09bc2b09db3e80ff98117a
/AbletonLive9_RemoteScripts/_Framework/ControlSurfaceComponent.py
f03b0d3222874fbb3521aac557d4e52d63bdf4e6
[]
no_license
ajasver/MidiScripts
86a765b8568657633305541c46ccc1fd1ea34501
f727a2e63c95a9c5e980a0738deb0049363ba536
refs/heads/master
2021-01-13T02:03:55.078132
2015-07-16T18:27:30
2015-07-16T18:27:30
38,516,112
4
1
null
null
null
null
UTF-8
Python
false
false
5,835
py
#Embedded file name: /Users/versonator/Jenkins/live/Binary/Core_Release_64_static/midi-remote-scripts/_Framework/ControlSurfaceComponent.py from __future__ import absolute_import import Live from . import Task from .Control import ControlManager from .Dependency import dependency, depends from .SubjectSlot import Subje...
[ "admin@scoopler.com" ]
admin@scoopler.com
c39858057a3901c9d072ff45806c19924868a44f
c4e3a57511eb7a39425847bdcd38a2207e560a13
/Algorithm/1026_Maximum_Difference_Between_NodeAncestor.py
7d5e3de66de692beca64df48a2fddd569d79d7de
[]
no_license
Gi1ia/TechNoteBook
57af562b78278b7f937b906d1154b19f2c077ebd
1a3c1f4d6e9d3444039f087763b93241f4ba7892
refs/heads/master
2021-06-03T02:31:24.986063
2020-07-16T22:25:56
2020-07-16T22:25:56
141,761,958
7
1
null
2018-11-05T01:09:46
2018-07-20T22:06:12
HTML
UTF-8
Python
false
false
2,042
py
"""Given the root of a binary tree, find the maximum value V for which there exists different nodes A and B where V = |A.val - B.val| and A is an ancestor of B. (A node A is an ancestor of B if either: any child of A is equal to B, or any child of A is an ancestor of B.) Input: [8,3,10,1,6,null,14,null,null,4,7,13...
[ "41492334+Gi1ia@users.noreply.github.com" ]
41492334+Gi1ia@users.noreply.github.com
3de59b86a04b9a0c4689617def82d2aab258a76b
b586cec578da0e1904d07468a7f49dacc0af5e99
/chapter_4/util/Checker.py
497c6bddf812359153f10ce45072330700e03e0d
[ "MIT" ]
permissive
LifeOfGame/mongodb_redis
bf21b989eeb95eeb39f684363f9436677252a63e
834fbdd65d4ea9e1e0056b711781e5f27a40333b
refs/heads/master
2021-06-22T17:01:19.497132
2019-08-20T06:54:21
2019-08-20T06:54:21
203,295,895
0
0
MIT
2021-03-20T01:37:02
2019-08-20T03:53:06
Jupyter Notebook
UTF-8
Python
false
false
1,253
py
import re class Checker(object): FIELD_LIST = {'name', 'age', 'birthday', 'origin_home', 'current_home'} def check_add_fields_exists(self, dict_tobe_inserted): if not dict_tobe_inserted: return False return self.FIELD_LIST == set(dict_tobe_inserted.keys()) def check_update_fi...
[ "greensouth@foxmail.com" ]
greensouth@foxmail.com
55e6472b2b061c94777f53c74adbd2c5e99bbe6c
ae8a1631f1b0da3cbe7a61cc6ad8c4839d3017e2
/experiments/experiments_toy/grid_search/run_grid_search_bnmtf_gibbs.py
c2d9d99fbb2d5384a7f33b6803e3ced4b49aef4a
[ "Apache-2.0" ]
permissive
hansaimlim/BNMTF
ce3a5734feed209d284d98b5db508f944781c880
9cf8ad6475dac5dc7ece9d6dffb7f6f59a71ac18
refs/heads/master
2021-01-19T18:47:41.870310
2017-02-08T16:26:39
2017-02-08T16:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,030
py
""" Run the grid search method for finding the best values for K and L for BNMTF. We use the parameters for the true priors. For BNMTF I find that the BIC is a better estimator - the log likelihood is high for higher values for K and L than the true ones, same for the AIC. With the BIC we get a nice peak just below t...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
2a4f4d986db59052b27d1c83c4126eaa341aae86
95c71453ed6cc6f9b94f38a3c1655680618d71a4
/kickstart/2019/RoundB/C/C-solve.py
c5fc44ebd49349f2f21430820232d8ea2d77f83c
[]
no_license
ZX1209/gl-algorithm-practise
95f4d6627c1dbaf2b70be90149d897f003f9cb3a
dd0a1c92414e12d82053c3df981897e975063bb8
refs/heads/master
2020-05-16T14:56:34.568878
2019-12-27T07:37:11
2019-12-27T07:37:11
183,116,501
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
import logging logging.basicConfig(level=logging.INFO) from collections import Counter def Count(i, j, counters, S): ans = 0 tmpCounter = counters[j + 1] - counters[i] for v in tmpCounter.values(): if v <= S: ans += v return ans def main(): T = int(input()) for t in ran...
[ "1404919041@qq.com" ]
1404919041@qq.com
1e7fd7a6ddd8dfbb09be12e0e07a753cc3d0c789
a6155458f58f2e40e2583557cf807eda52a0013b
/catalog/project.py
1dd22dfbdb35631cbd11ea846986af4f79fa6d8b
[]
no_license
georgeplusplus-ZZ/udacity-project-2
ab6c80052cc601508743fd5003ae5d09103d8fbb
5442f1f99808af2f8663d59fdbd02be7dd7e425a
refs/heads/master
2021-10-26T02:47:28.841918
2019-04-10T01:52:40
2019-04-10T01:52:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
from flask import Flask from flask import render_template from flask import request from flask import redirect from flask import url_for from flask import jsonify from flask import flash from flask import abort from flask import session as login_session from sqlalchemy import create_engine, desc from sqlalc...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
73737b1228d0aa26332236f0bed3f9f92b2e599c
47175228ce25812549eb5203fc8b86b76fec6eb9
/API_scripts/dfp/dfp_python3/v201502/custom_targeting_service/create_custom_targeting_keys_and_values.py
4217821f245fa2d62bbcf1f3aa0132710d6031de
[]
no_license
noelleli/documentation
c1efe9c2bdb169baa771e9c23d8f4e2683c2fe20
a375698b4cf0776d52d3a9d3c17d20143bd252e1
refs/heads/master
2021-01-10T05:41:30.648343
2016-02-13T05:46:31
2016-02-13T05:46:31
51,477,460
1
1
null
null
null
null
UTF-8
Python
false
false
4,204
py
#!/usr/bin/python # # Copyright 2015 Google Inc. 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "noelle@makermedia.com" ]
noelle@makermedia.com
1e7fe6c92b81c4aea805851ef702489814f31b83
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/289/78183/submittedfiles/testes.py
5e9a5aefdf3d8285ef690f3498545979c9f5af98
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
idade = int(input("Digite sua idade: ")) print('A idade do indivíduo é %d' % idade) altura = float(input("Digite sua altura: ") print('A altura do indivíduo eh %.2f' %altura)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
9e23792c94cee031550934457cf9eebd418a436d
cdcd71b8bb238ae1084e08d8d7c21c3c5595ba5b
/warriors.test.py
9a3fae86babebf5d3d72be28581a6952cd39558d
[]
no_license
linnil1/2020pdsa
7118be250286aaa6831a21fd71e9de62d919ca6c
772a560bc5ce88eb052e102df7e0437372fd7ac1
refs/heads/master
2023-03-13T20:10:10.596073
2021-03-12T01:52:16
2021-03-12T01:52:16
295,599,510
0
0
null
null
null
null
UTF-8
Python
false
false
4,088
py
import sys import json from pprint import pprint from concurrent.futures import ProcessPoolExecutor, as_completed import numpy as np from tqdm import tqdm import imp Warriors = imp.load_source("Warriors", 'warriors.sol.py').Warriors def quesion(n): # init np.random.seed() st = np.random.choice(1000, s...
[ "linnil1.886@gmail.com" ]
linnil1.886@gmail.com
a3a7309b43e957fe90d03cf2bd26952fd25d1a50
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/appconfiguration/v20200701preview/key_value.py
0abcd6b95f09374cd0ce483a2ef8107baf4d53a8
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,486
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 from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
test-wiz-sec.noreply@github.com
0e5f9524a6311e8ca3f114cb22491e4aaff80c2b
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-datastream/samples/generated_samples/datastream_v1alpha1_generated_datastream_delete_private_connection_async.py
d0a8f20842e7cadf8600231215035ef761fa4c53
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
2,035
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # 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...
[ "noreply@github.com" ]
googleapis.noreply@github.com
01324a0b0027287231b714660b00a89d2561d10a
a04c9e34c8abb6eb5857cb6e35fbbed0743ea8d4
/sample_db_funtions.py
aa1286b28047be47190becff32df50450902f654
[]
no_license
SrikanthAmudala/PythonWorkShopConcordia
a2fd0a3103524733913c00767907bafecd1c6ad6
d2e383a89bc995d96313fd0723c064a0a45db6f9
refs/heads/master
2021-05-19T13:02:42.173832
2020-05-27T21:48:34
2020-05-27T21:48:34
251,713,287
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
db = { "user_table": { "sunny": { "password": "sunny1234", "books_reg": { "COMPUTER SCIENCE": [], "CIISE": [] } }, "rohit": { "password": "rohit", "books_reg": { "COMPUTER SCIENCE": [], "CIISE": [] } }, "negar": { "passwo...
[ "srikanthamudala95@gmail.com" ]
srikanthamudala95@gmail.com
50534e04bd484b27316b647b50f6e6c2f9ee131e
ca101e77a77cd86561c4e34553dbd3578a87a8b2
/transaction/urls.py
01537875c84f1a09282b06841208d3e55e7f4e96
[]
no_license
vmgabriel/app-cycle-money
001c1baa1b1c77c6e965beaee6d1d7c4cd45c699
4381fb9c8288fe37cbcd1c9ecef14e6e8299b680
refs/heads/master
2023-08-13T19:07:19.065576
2020-07-26T22:23:35
2020-07-26T22:23:35
281,472,685
0
0
null
2021-09-22T19:28:41
2020-07-21T18:20:36
CSS
UTF-8
Python
false
false
2,181
py
# Develop: vmgabriel """Module that Define all Rooute of the module""" from django.urls import path from . import views app_name = 'transactions' urlpatterns = [ # Priorities Routes path( 'priorities/', views.PriorityEntityView.as_view(), name='priorities_list', ), path( ...
[ "vmgabriel96@gmail.com" ]
vmgabriel96@gmail.com
586486eb94a499645daff8e3b832c1c44d56ffb7
257b1d32488ff8a3e9b5f148839d042512d5de83
/testing/pandas_rollup_plugin_test.py
0105128b05ec100dffb941d4e6991c6d74a469be
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hellios78/mldb
200ba8b38e2509585d563403c4d4d12543e00dc9
5f869dcfca1f8bcce3418138f130321656a0970c
refs/heads/master
2020-04-06T04:10:38.369452
2015-12-23T22:06:08
2015-12-23T22:06:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,400
py
# This file is part of MLDB. Copyright 2015 Datacratic. All rights reserved. import os, socket, time #import csv #import json #import datetime from multiprocessing import Process from py_connectors.mldb_connector import MldbConnectorAdHoc #from mldb.data import DFrame def startMldb(): s = socket.socket() s.b...
[ "nicolas@datacratic.com" ]
nicolas@datacratic.com
c10e69f9a1357a6a97db16ffe61328333a3c305f
5b1022e257e3825a2d4ddcd7fa071367bf1be073
/广铁新闻/IPPool.py
98f961ce3071371d98c290a958b47146a9bd310c
[]
no_license
KwinnerChen/zkjw
465d36fb583ac474ce12ced831b890ed938767d6
9dd577e73144f51bde6fd1af9715cf162f32799a
refs/heads/master
2020-05-27T22:35:07.613419
2019-06-03T10:08:43
2019-06-03T10:08:43
188,807,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
#! usr/bin/env python3 # -*- coding: utf-8 -*- # python: v3.6.4 from storage import Oracle from queue import Queue from threading import Thread from time import sleep from random import random class IPPool(Queue): ''' 实例化时生成一个自更新的代理IP列队 ''' def __init__(self, user, password, host, table_name, *args,...
[ "chenkai.c.k@hotmail.com" ]
chenkai.c.k@hotmail.com
d66838e90d413055054c3233f6efc543b06dd338
4a191e5aecd53c4cea28482a0179539eeb6cd74b
/comments/migrations/0001_initial.py
ec8c8dbcf06824eb238de80f5a28b2174fec528e
[]
no_license
jiangjingwei/blogproject
631a2e8e2f72420cce45ddaf152174852376d831
daf14e88092dc030a3ab0c295ee06fb6b2164372
refs/heads/master
2020-03-14T23:29:08.052253
2018-05-10T11:35:59
2018-05-10T11:35:59
131,846,149
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2018-05-04 02:25 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('blog', '0001_initial'), ] oper...
[ "270159429@qq.com" ]
270159429@qq.com
f0b8047aadd151aeaac9c8760e4f603bfda43cde
d697c1d45e96bd440be9c17ab14243a5882b1f52
/qianfeng/高级/测试/单元测试/myTest.py
44d63133e889f79192b9e8b1dae90e67d5ad0f8d
[]
no_license
ithjl521/python
9eeda2e60dda97ee36e8764c06400eb12818689f
f4fe50799501c483cb64445fd05ee0f30f56576c
refs/heads/master
2020-07-12T23:10:53.608276
2019-11-08T08:59:35
2019-11-08T08:59:35
204,931,359
0
0
null
null
null
null
GB18030
Python
false
false
429
py
# coding=gbk import unittest from 对函数进行单元测试 import mySum from 对函数进行单元测试 import mySub class Test(unittest.TestCase): def setUp(self): print("开始测试时自动调用") def tearDown(self): print("结束测试时自动调用") # 为了测试mySum def test_mySum(self): self.assertEqual(mySum(1,2),3,"加法有误") if __name__ == "__main__...
[ "it_hjl@163.com" ]
it_hjl@163.com
a9d1d757bf0eda6e44becfa0aa2e67aa7c86121a
a1517979b20286311bdac7cd153f698498e04223
/application/modules/tache/__init__.py
ee94819f39cb45b3b25e3ca5ba08fcdc39e07b59
[]
no_license
wilrona/Gesacom_mongoDB
441367029b899ceb0304879fd808fb8dbdbfb457
d043136889c5f2c3e10ace8ebacf55c11b91b4c0
refs/heads/master
2020-12-25T14:23:39.343917
2017-07-07T16:38:26
2017-07-07T16:38:26
67,689,398
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
__author__ = 'Ronald' from views_tache import * app.register_blueprint(prefix_projet, url_prefix='/projet') app.register_blueprint(prefix, url_prefix='/tache')
[ "wilrona@gmail.com" ]
wilrona@gmail.com
aa9fd9f921e0e3d5e66dcd6281d0202037000305
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/leetcode/LeetcodePythonProject/leetcode_0701_0750/LeetCode728_SelfDividingNumbers.py
25a4ba8beb3af61a5e6a91825a9811b22e069d64
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
929
py
''' Created on Mar 4, 2018 @author: tongq ''' class Solution(object): def selfDividingNumbers(self, left, right): """ :type left: int :type right: int :rtype: List[int] """ res = [] for num in range(left, right+1): if self.isSelfDividing(num): ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
1dd0de92808d94d40c70083b3d598435fd4edaad
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/algorithm/expert_algo/2_20.py
8e3be8d2091b9b978bf541ef81f355ccec8d2e40
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
6,917
py
Number of ways to reach the end of matrix with non-zero AND value Given an **N * N** matrix **arr[][]** consisting of non-negative integers, the task is to find the number of ways to reach **arr[N – 1][N – 1]** with a non- zero AND value starting from the **arr[0][0]** by going down or right in every move. Wh...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
cee8539e090be64a5f7173b3a057803ae9d66c8f
055e5a9b64e53d0a87d07ce724fdb05eadc00a8e
/jmatcher/users/migrations/0019_merge_20170410_0521.py
7057179ad7b2519ed202fd18cd66ab435f2bc945
[ "MIT" ]
permissive
jamesaud/se1-group4
73e73cfe6f56a1d1f1b256f13230a28f8d272f6c
5280b13dff33e72ce717318a8dd78a06cd6effb3
refs/heads/master
2021-01-09T05:41:11.686168
2017-04-27T17:13:17
2017-04-27T17:13:17
80,780,388
1
0
null
null
null
null
UTF-8
Python
false
false
338
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-10 05:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0015_auto_20170409_1556'), ('users', '0018_user_short_description'), ] ope...
[ "jamaudre@indiana.edu" ]
jamaudre@indiana.edu
5670c82a43a643f5d733543fb0552927320696bb
832f86e052d90916fb0c8156825c87dc13c0443e
/imported-from-gmail/2020-01-16-fix-brackets.py
05fd311f1316bc6c204495b94f6525133aaf14b7
[]
no_license
johncornflake/dailyinterview
292615849cea62cb945ecc7039c594b6966a81f3
91bb0edb9e25255e6222279109c15ae9d203970c
refs/heads/master
2022-12-09T21:02:12.204755
2021-06-07T13:09:34
2021-06-07T13:09:34
225,059,833
0
0
null
2022-12-08T11:27:38
2019-11-30T19:24:58
Python
UTF-8
Python
false
false
611
py
Hi, here's your problem today. This problem was recently asked by Twitter: Given a string with only ( and ) , find the minimum number of characters to add or subtract to fix the string such that the brackets are balanced. Example: Input: '(()()' Output: 1 Explanation: The fixed string could either be ()() by d...
[ "chadeous@gmail.com" ]
chadeous@gmail.com
e75dd8c6b2b4b77b7eb7778f390b6182c92f1b16
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03696/s991573247.py
2a4297734905538666e9564192e9f911fa2b72ac
[]
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
826
py
# coding: utf-8 import sys #from operator import itemgetter sysread = sys.stdin.buffer.readline read = sys.stdin.buffer.read #from heapq import heappop, heappush #from collections import defaultdict sys.setrecursionlimit(10**7) #import math #from itertools import product, accumulate, combinations, product #import bisec...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5ff59f2a7c0c5bfe42bfba11cc687c1a6f58470f
e1d6de1fb5ce02907df8fa4d4e17e61d98e8727d
/corpora/corpus_reader.py
87865c2db4af9e8d3a0af9f33d532c0e28e798b8
[]
no_license
neuroph12/nlpy
3f3d1a8653a832d6230cb565428ee0c77ef7451d
095976d144dacf07414bf7ee42b811eaa67326c1
refs/heads/master
2020-09-16T08:24:37.381353
2016-09-10T19:24:05
2016-09-10T19:24:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
import nltk from nltk.corpus import gutenberg emma = gutenberg.words('austen-emma.txt') print(len(emma)) emma = nltk.Text(gutenberg.words('austen-emma.txt')) print(emma.concordance('surprize')) # raw = gutenberg.raw("burgess-busterbrown.txt") # print(raw[1:20]) # words # words = gutenberg.words("burgess-busterbrown...
[ "anderscui@gmail.com" ]
anderscui@gmail.com
672f0214711e47b569a7596461b9befa37e15306
150d9e4cee92be00251625b7f9ff231cc8306e9f
/PathSumII.py
dfcf36fff64e9e02cdc4acebd71dc0fec6b03159
[]
no_license
JerinPaulS/Python-Programs
0d3724ce277794be597104d9e8f8becb67282cb0
d0778178d89d39a93ddb9b95ca18706554eb7655
refs/heads/master
2022-05-12T02:18:12.599648
2022-04-20T18:02:15
2022-04-20T18:02:15
216,547,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
''' Path Sum II Given the root of a binary tree and an integer targetSum, return all root-to-leaf paths where each path's sum equals targetSum. A leaf is a node with no children. Example 1: Input: root = [5,4,8,11,null,13,4,7,2,null,null,5,1], targetSum = 22 Output: [[5,4,11,2],[5,8,4,5]] Example 2: Input: roo...
[ "jerinsprograms@gmail.com" ]
jerinsprograms@gmail.com
f498651857a6a53c8e4ebfeb0f204f23da1d3690
5b683c7f0cc23b1a2b8927755f5831148f4f7e1c
/Python_Study/DataStructureAndAlgorithm/company_programming_test/度小满/duxiaoman_1.py
44a022a61f6419461c25e2f49b922a112256b254
[]
no_license
Shmilyqjj/Shmily-py
970def5a53a77aa33b93404e18c57130f134772a
770fc26607ad3e05a4d7774a769bc742582c7b64
refs/heads/master
2023-09-02T04:43:39.192052
2023-08-31T03:28:39
2023-08-31T03:28:39
199,372,223
1
0
null
null
null
null
UTF-8
Python
false
false
688
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- """ Description: Author:jiajing_qu Date: 2019/9/15 19:44 穿越障碍物 时间限制:C/C++语言 1000MS;其他语言 3000MS 内存限制:C/C++语言 65536KB;其他语言 589824KB 题目描述: 你现在在(0,0),需要到(x,y)去,路上有n个障碍物。给出每个障碍物的坐标,你只能平行于坐标轴走整数步,问你最少需要多少步才能走到目的地。 输入 第一行三个数x,y,n 接下来n行,每行描述一个障碍物的坐标x_i,y_i -500≤x,y,x_i,y_i≤500 n≤1...
[ "710552907@qq.com" ]
710552907@qq.com
9e417c4b3a95f7d673fce3c57bf7c5e06c2e5714
d6c117812a618ff34055488337aaffea8cf81ca1
/database/TupleSqlite3.py
27c1e232d6c79bc55a122c9de4b5b04e955b77e3
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
1,880
py
# coding: utf-8 # https://forum.omz-software.com/topic/2375/problem-with-list-comprehension from collections import namedtuple import sqlite3 from random import randint from faker import Faker fake = Faker() my_def = {'namedtuple_name': 'REC', 'field_names' :[('id' , 'INTEGER PRIMARY KEY'), ('resid','...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
84a5f8ae828e44cebcb306f6837843ac1f96503a
48b9d828acf80792bc4385febaa734a2e96ad465
/test-openmps/Examples/08_Heisenberg_spinone_iMPS.py
cb60a6f9b6a1ef388cf4d116e46e08b2104d414d
[ "MIT" ]
permissive
OminiaVincit/qphase-trans
dd4ab2e0cacc449ead3bef318a65eb05aed45621
40e0c078dcd74282e8d8f44690433bf670bff8cb
refs/heads/master
2023-05-06T12:14:30.368375
2021-05-28T05:11:58
2021-05-28T05:11:58
235,478,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,663
py
import MPSPyLib as mps import numpy as np import sys import os.path def main(PostProcess=False): # Build operators Operators = mps.BuildSpinOperators(spin=1.0) # Define Hamiltonian MPO H = mps.MPO(Operators) H.AddMPOTerm('bond', ['splus', 'sminus'], hparam='J_xy', weight=0.5) H.AddMPOTerm('bo...
[ "k09tranhoan@gmail.com" ]
k09tranhoan@gmail.com
53b08e77991e0b1c805ef8a3b886ebef4fe0b617
47a17b7b649e90ad0eedb270603193eb55703dba
/webapps/API/settings/requests.py
e8da027820d888797c2f58b52f88f9ddf45fa539
[]
no_license
omiguelperez/kaumer-django-knowledge-test
25ff72f0e91e8ebeb542b80921b7083addf2cc3b
63da7943d00e37f4ee8edf6c7cc0cb46656deabf
refs/heads/master
2021-09-28T19:09:49.716506
2018-11-19T19:15:38
2018-11-19T19:15:38
157,953,517
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
# -*- coding: utf-8 -*- from rest_framework import serializers # noinspection PyAbstractClass class CreateSettingSerializer(serializers.Serializer): basic_salary = serializers.FloatField() transport_assistance = serializers.FloatField() holiday_percentage = serializers.FloatField() unemployment_perce...
[ "mr.omiguelperez@gmail.com" ]
mr.omiguelperez@gmail.com
340a21ad7d528e64aeca54c6fcb9ac365b69db55
47c2b01b04ed3ea7c55875b5ea412d90becd970b
/tests/physical_system/test_routing.py
256b1994db12aaa6e854f0f9c384573f153dc669
[]
no_license
adysonmaia/phd-sp-dynamic
f2df9bee38a0246f40739a8e413ec4cb832ab03f
ce7045918f60c92ce1ed5ca4389b969bf28e6b82
refs/heads/master
2023-04-03T20:10:32.593381
2020-12-28T11:12:06
2020-12-28T11:12:06
355,110,247
0
0
null
null
null
null
UTF-8
Python
false
false
2,132
py
from sp.core.model import Scenario, System, EnvironmentInput from sp.physical_system.routing.shortest_path import ShortestPathRouting from sp.physical_system.estimator import DefaultLinkDelayEstimator import json import unittest class RoutingTestCase(unittest.TestCase): @classmethod def setUpClass(cls): ...
[ "adyson.maia@gmail.com" ]
adyson.maia@gmail.com
b74fb1a17ed2f7316dcf55fb45d1f45bf67c4f0f
8cbd55d35a179dff6a7c23a6835bcd329cba8bee
/simplekiq/base.py
6a751156867038799c739df70a90f232355e729c
[ "Apache-2.0" ]
permissive
charsyam/simplekiq
31e3dac37981f48d80cbf8c8d921bebf8cf8a7cc
cd8b02078e06af64d79c5498af55fcdfbaf81676
refs/heads/main
2023-06-24T18:08:47.468046
2021-07-28T15:59:57
2021-07-28T15:59:57
380,718,347
0
0
Apache-2.0
2021-07-28T15:59:58
2021-06-27T11:06:15
Python
UTF-8
Python
false
false
1,413
py
from .constants import Constants import json import redis class KiqQueue: def __init__(self, addr, name, create=True): if not name: raise Exception("Queue name should be supported") self.addr = addr self.conn = self.connect_to_redis(addr) self._name = name self...
[ "charsyam@naver.com" ]
charsyam@naver.com
7a05c0aaddc62ea69efb81d1cbd4b5c08f771f64
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/test_increment.py
34c7af4ac081e315c1694b8ef917fc2f08febfa0
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
2,252
py
# Copyright (c) 2020 PaddlePaddle Authors. 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
e05ca1e744cc58f496b63f7b2feb5c87157fb2bc
99d7a6448a15e7770e3b6f3859da043300097136
/src/mv/segment/region.py
b533e040ccccc4667f5e6e485620c1628d3b316d
[]
no_license
softtrainee/arlab
125c5943f83b37bc7431ae985ac7b936e08a8fe4
b691b6be8214dcb56921c55daed4d009b0b62027
refs/heads/master
2020-12-31T07:54:48.447800
2013-05-06T02:49:12
2013-05-06T02:49:12
53,566,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
#=============================================================================== # Copyright 2012 Jake Ross # # 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/license...
[ "jirhiker@localhost" ]
jirhiker@localhost
86ab1b6210f05d584469ce7ed92af41e66519780
451331db65a364d3b40eb18a1349e4349695dc87
/FinalFit/datacards/Systematics/PlotLimits.py
c8fe91a84d0e0ab8f2a48a5bef9b9d6d026159a5
[]
no_license
hbakhshi/HaNaMiniAnalyzer
97bc5cdd72cd9651979184b4a1e50f6513100210
1d658c410318271b0c4981a5fba965924a15edff
refs/heads/master
2020-12-25T11:00:13.569640
2017-10-23T17:24:22
2017-10-23T17:24:22
60,080,249
0
1
null
2016-10-26T10:40:23
2016-05-31T10:28:27
Python
UTF-8
Python
false
false
5,304
py
from ROOT import TFile, TTree, TObject, TGraphAsymmErrors, TCanvas, kYellow, kBlack import os import stat import array import math import shutil from ROOT import RooWorkspace, TCanvas , RooFit, TColor, kBlue, kRed, kGreen, RooRealVar, RooConstVar, gROOT, TMath from subprocess import call import sys AllNuisances = [ "C...
[ "hbakhshi@cern.ch" ]
hbakhshi@cern.ch
bd33c7acbcad90997801a4d28eae63b1c866db4b
34c88cb508fe7ad10f258d220d645a60463a9063
/Misc/LUIGenerateGrid.py
b966b2efa47d986046a0f8a62a44e50754c24b0b
[]
no_license
tzaeru/LUI
5a922f3f830a86c424831a6c5947a413c45f2bb8
14f59e24dc45d88f26214d6f51ed3565a7206374
refs/heads/master
2021-01-18T07:30:55.618553
2015-02-27T13:17:19
2015-02-27T14:08:39
31,418,557
0
0
null
2015-02-27T12:38:06
2015-02-27T12:38:05
null
UTF-8
Python
false
false
1,475
py
from os import makedirs from os.path import dirname, join, isdir from panda3d.core import * # Configuration # source = raw_input("Source png file: ") # destPath = dirname(source) # borderSize = int(raw_input("Border size in pixel: ")) source = "btn_green_focus.png" destPath = "../Builtin/res/" destName = "ButtonMag...
[ "tobias.springer1@googlemail.com" ]
tobias.springer1@googlemail.com
029bec16424b0a6a283b9075d4ce821c32a71078
9189218d0520ff06fecfa4193466e5662a1628ba
/road_trip/road_trip.py
19225229adf8a091068a100cfdb2f3c0a783b9d3
[]
no_license
TStand90/code-eval
1167e4139a60fead5026ddccb3ba2ede7c8f8666
6cbc4eba0cea4d980648cc238c20a3fcbf942aa5
refs/heads/master
2021-01-17T13:08:00.461910
2016-07-08T22:53:14
2016-07-08T22:53:14
41,000,731
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import sys def main(file_arg): with open(file_arg) as f: for line in f: location_list = line.strip().split(';') location_list = [location.strip() for location in location_list if location] distances_from_start = [] for each_location in location_list: ...
[ "tstand90@gmail.com" ]
tstand90@gmail.com
529b590d1c69e0ec006f3264aa3e99a1908178bd
d7a4701e18be0f38820f5c15d80099fda6385f9f
/code-festival-2018-quala/A.py
0169373e8ab1935cb62b53a90e895bcbd3510868
[]
no_license
shiki7/Atcoder
979a6f0eeb65f3704ea20a949940a0d5e3434579
c215c02d3bfe1e9d68846095b1bd706bd4557dd0
refs/heads/master
2022-05-21T16:59:01.529489
2022-04-29T11:26:42
2022-04-29T11:26:42
201,536,692
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
a = int(input()) b = int(input()) c = int(input()) s = int(input()) if 0 <= s - (a + b + c) <= 3: print('Yes') else: print('No')
[ "bitbite8@gmail.com" ]
bitbite8@gmail.com
b691b9bbb53e18dfee434ea542d15b52b5b2b775
7c0820998f6ed2f1f5ee82b8b7ffd67c3228bfb6
/pytest_training/conftest.py
46ce2679f535f34c569f0dec3ccd74d57edb06d5
[]
no_license
youinmelin/practice2020
5127241eaccf3ec997bb10671008a9a7c5f9d741
47d376b6d264141c229b6afcc2be803f41fd611e
refs/heads/master
2022-12-12T00:28:22.293373
2020-09-22T08:29:37
2020-09-22T08:29:37
237,427,204
0
0
null
2022-11-04T19:10:12
2020-01-31T12:38:26
Python
UTF-8
Python
false
false
1,363
py
import pytest import tasks from tasks import Task @pytest.fixture() def tasks_db(tmpdir): '''prepare for the test. before the test, build the db envirment''' tasks.start_tasks_db(str(tmpdir),'tiny') yield tasks.stop_tasks_db() @pytest.fixture() def tasks_just_a_few(): """All summaries and owne...
[ "ygqs@sina.com" ]
ygqs@sina.com
e253f5dfd8597281db7b5940b3b852b6df8bf7f1
95fcab4fd10cbd6bd3194002a82aee1337b75e82
/crazy_decrypter
59f65442d9c133d0fc67f6120b3cf57a54e2a00a
[ "MIT" ]
permissive
Python3pkg/Crazy-Decrypter
56b8490a3159fd1482a0cba212d8835518fd2537
ee1dc91cf633d38131ba60e1675f5293bb83a323
refs/heads/master
2021-01-21T17:22:24.733510
2016-05-21T07:14:32
2016-05-21T07:14:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,535
#!/usr/bin/env python # -*- coding: utf-8 -*- import time, string, sys import itertools, hashlib NAME = 'Python Crazy Decrypter' VERSION = '0.0.4' AUTHOR = 'Summon Agus' DESCRIPTION = NAME + ''' is real crazy tool to decrypt md5, sha1, sha224, sha256, sha384, and sha512 with Brute Force method.''' CH...
[ "summon.agus@gmail.com" ]
summon.agus@gmail.com
2cd54f26168a16fdb61877804a0372677aa8d4ea
99f6c5b7a6b6840163b32d633e658678d5829b46
/practice/autumn/fibonacci.py
5020c32d0e53287a274b521a1ecefd3b96822b40
[]
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,261
py
''' Fibonacci ''' class Solution: def solute(self,n): return self.matrix(n) def naive(self,n): if n == 0: return 0 if n == 1: return 1 if n > 1: return self.naive(n-1)+self.naive(n-2) def bottom(self,n): cache = [] for i...
[ "yeziqian@ctsig.com" ]
yeziqian@ctsig.com
62812ccf590249b14771c4b7938a4c52c2551f53
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/community/network/tests/unit/plugins/modules/network/apconos/test_apconos_command.py
e7070abb121baad0615be7211de59725358f3b9d
[ "MIT", "GPL-3.0-or-later", "GPL-3.0-only" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
4,564
py
# (c) 2019 Red Hat Inc. # # This file is part of Ansible # # Ansible 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 3 of the License, or # (at your option) any later version. # # Ansible is dis...
[ "sifang@cisco.com" ]
sifang@cisco.com
739421ee81e9e6b444bf86baf71044687467e859
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sbss_1210+511/sdB_SBSS_1210+511_lc.py
c7a524db24e2e93df6d5e26eeb3fa943b51619ff
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[183.124667,50.900608], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SBSS_1210+511 /sdB_SBSS_1210+511_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
302e910ed7e156d7359de27096dd03221bb48cb4
ac5ba4cc5f1636b1ef48927ea7a7d9c214f4789d
/CFEBBufferOverloadProducer/test/submit_NtupleProducer.py
02316b93e0570526faf429e4e1830ff39b4dfdce
[]
no_license
sunilbansal/CSCPostLS2RateStudies
c5daa8841288bd7492efc30f779e9108c26b3b39
1411e6ea3e91242e6c4ef35163c71d50781f969f
refs/heads/master
2021-01-18T05:01:16.767500
2015-07-07T17:16:43
2015-07-07T17:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
''' A simple script to easily submit all jobs for buffer rereco studies. ''' import subprocess BufferVersion = 'v7' version = 'v2' datasets = ['HZZ', 'ZZ', 'Zprime'] failureStrings = ['0p00', '0p01', '0p02', '0p05', '0p10', '0p20', '0p03', '0p50', '1p00'] failureModes = ["BOTH", "CFEB", "DDU"] for dataset in dataset...
[ "dntaylor@wisc.edu" ]
dntaylor@wisc.edu
dc8a8cd9cca1d12c7b9559429f70f1a2aa8a6dde
eaea9ca458ae4949e049743e6d712c3389dced00
/cesm_hist2tseries/__init__.py
6c0f8ee7181dbbd2399cd85ed26c937f2e76f9ea
[ "Apache-2.0" ]
permissive
mnlevy1981/cesm-hist2tseries
1702fc1f192c140df3a70dd777892df46b48e435
c9bfcb5b16783bda1849f2d402897f0f6ef3b0c4
refs/heads/main
2023-04-14T04:35:36.554423
2021-05-04T15:54:49
2021-05-04T15:54:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
#!/usr/bin/env python3 # flake8: noqa """Top-level module for cesm-hist2tseries .""" from pkg_resources import DistributionNotFound, get_distribution try: __version__ = get_distribution(__name__).version except DistributionNotFound: # pragma: no cover # package is not installed __version__ = 'unknown' # ...
[ "axbanihirwe@ualr.edu" ]
axbanihirwe@ualr.edu
fef950be4883a6c91c31bc909c9b76fe895df6f7
ccdeae68e468ad399a89181c37bba4490bcdc259
/scripts/40-genNonLinModelDistMatTopOnRLOnOther.py
5a155d8ec1e6b4f1987b13299f879ceea31190fd
[]
no_license
jameshughes89/NonlinearModelsFMRI-2
19262d4494aa6adc0e9bd9592069ad6b757dda6b
a507a41d0a0a728d02616023aea0e66fafc1c387
refs/heads/master
2021-09-06T17:05:38.086733
2018-02-07T15:19:23
2018-02-07T15:19:23
109,417,040
0
0
null
null
null
null
UTF-8
Python
false
false
3,822
py
''' creates a large distance matrix for all non liear models. CHANGE THE iFile line to switch between LR/RL --- Also be sure to save the output file names too! ''' import csv from math import * import numpy as np import matplotlib.pyplot as plt import topExpressions_NL_RL_EMOTION as emotion import topExpressio...
[ "JamesHughes89@Gmail.com" ]
JamesHughes89@Gmail.com