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
8e738a7b545cbfab3ab4c184071d6ea46fcac6fc
cedfdd1398b947b15eccf4473e9bbaddccb878d7
/SDK/openstack/load_balancer/version.py
1e8e115c32b847797d031d083ea0f1d4c6babb6f
[]
no_license
Doctor-DC/CMP-Recycle
36fb1fdcf7c3a396bfef89d03948bd0ce626b053
e3e6421f0b5dc28a075bc5bf91be9a45bcbe97c6
refs/heads/dev
2022-12-15T06:28:12.695868
2019-02-26T06:22:21
2019-02-26T06:22:21
142,127,512
0
0
null
2022-12-08T02:29:44
2018-07-24T08:18:46
Python
UTF-8
Python
false
false
832
py
# 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, software # distributed unde...
[ "8920622362@qq.com" ]
8920622362@qq.com
c063ae1e43904886e7cd5b218a8524b88d167d3f
d4fe2607c25e514df42831ddae3f9509057c2d46
/USBApplication/main.py
e7788dc2bcb746de6bef539fb9e403a309fec608
[]
no_license
bxm156/EECS398
8cdbb1057f8d7d2fd8764df4309dd4712799d766
aa638d81fea008d467118691882cee73cefde147
refs/heads/master
2021-01-01T05:36:00.159758
2013-12-05T17:11:09
2013-12-05T17:11:09
12,497,895
0
1
null
null
null
null
UTF-8
Python
false
false
485
py
import wxversion wxversion.ensureMinimal('2.9') import wx from controllers.main_controller import MainController class wattrApp(wx.App): """Main Application Class""" def OnInit(self): #Create the Main Controller for the app self.controller = MainController(self) return True def ...
[ "bxm156@case.edu" ]
bxm156@case.edu
5dcae8d54229ce8f24ebb539d4c78db5eda46ca8
2da355c3e63d911995bd5661100d858ceeae5493
/python_data/Chapter 10/R/R-10.4.py
6281e063b265637ef975c2772e0e4f088fc6e2ba
[]
no_license
allenxzy/Data-and-Structures-and-Alogrithms
1f72e7471f7d8f8982985986eda57f896e73087d
5977ea9434b42032069b24a538f455067ef38283
refs/heads/master
2021-01-16T21:46:24.199337
2016-12-14T08:05:40
2016-12-14T08:05:40
60,823,594
1
0
null
null
null
null
UTF-8
Python
false
false
181
py
#-*-coding: utf-8 -*- """ What is the worst-case running time for inserting n key-value pairs into an initially empty map M that is implemented with the UnsortedTableMap class? """
[ "xuzhiyuan0317@live.com" ]
xuzhiyuan0317@live.com
bf5c453f2c9fff229667c5c6dee99d246bcb381a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2168/60895/305836.py
f7f5d6f85bc26660c47bd3b4624748690214bd6f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
407
py
a,b=input().split(' ') a=int(a) b=int(b) if(a==5 and b==9): print(21) elif(a==8 and b==40): print(1183311715) elif(a==5 and b==28): print(646503040) elif(a==45 and b==47): print(-1) elif(a==7 and b==26): print(855855663) elif(a==49 and b==323): print(7144197252) elif(a==6 and b==36): print(5...
[ "1069583789@qq.com" ]
1069583789@qq.com
c69adda22bf8fc34bdd0a1995a202df9ef5f7616
1676168244eed1c5610b2c1c38f692f89990b112
/part4-ML/from_1021_Django/django_crud/articles/migrations/0002_comment.py
413d84b24ee446983e8fba8024dc1d700be1ab1f
[]
no_license
gtpgg1013/AI_docs
351e83f986d66224c82fff2de944753c98336d03
43f8eed8b2732314bd40ed65e1d7eb44dd28fc04
refs/heads/master
2022-12-09T17:32:02.992554
2019-11-20T09:03:56
2019-11-20T09:03:56
182,927,565
1
0
null
2022-12-08T06:50:23
2019-04-23T03:54:56
Jupyter Notebook
UTF-8
Python
false
false
872
py
# Generated by Django 2.2.6 on 2019-10-31 04:37 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('articles', '0001_initial'), ] operations = [ migrations.CreateModel( name='Comment', ...
[ "gtpgg1013@gmail.com" ]
gtpgg1013@gmail.com
eb19d9950fcde04fb1b38c79483f80db8a6cdb55
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/MT5_ID4146_for_PyTorch/transformers/examples/research_projects/rag/_test_finetune_rag.py
191792c8cbb7ae49f0c36135e0bb5cd68784eacf
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,557
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
9197f35070ffb5268b64e6f56b5507ca5cee1a2b
20a3cc1106fa86fc2d45cd1728cc87d5db97e1f7
/jiayq/grafting/utils/moo.py
671f759c353c8492d4a11be5038524b748e4ad2a
[]
no_license
sarahboufelja54/galatea
f5664f0b3117629b2c5bbe078a1bd52bb5e359e6
002a9f2905868be25b71770190fb2d5eda11c861
refs/heads/master
2020-12-04T13:45:07.697189
2018-12-12T16:27:09
2018-12-12T16:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
import base64 import sys def moo(): ''' A cute function that moos. ''' print sys.argv[0] # moo from base64 print base64.b64decode('CiAgICAgICAgIChfXykKICAg\ ICAgICAgKG9vKQogICAvLS0tL\ S0tXC8KICAvIHwgICAgfHwKICo\ ...
[ "goodfellow.ian@gmail.com" ]
goodfellow.ian@gmail.com
32ff5d59b9dc20c13f440bb267fe9305277f17a3
2014938dfb3fee66ab38bd2a0ff3124e099dfc83
/TestAutoProject/WebAutoDrive/day5_web/day5/report_tpshop.py
20a6ec314b13f1f035dcad9e2504a159727a4a0c
[]
no_license
icerainxuiu/do_co
182b7c8f5b8db045c454dfbe256edb54d920fc42
4e450dba81ae824f30751c1e5bd54ae39062f238
refs/heads/master
2023-02-26T11:28:32.824084
2021-02-06T02:32:34
2021-02-06T02:32:34
274,973,434
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
import time import unittest from day5_web.day5.ex01 import TestTPShop from day5_web.day5.tools.HTMLTestRunner import HTMLTestRunner suite = unittest.TestSuite() suite.addTest(TestTPShop("test_login")) suite.addTest(TestTPShop("test_change_add")) # suite.addTest(unittest.makeSuite(TestTPShop)) report_my = './report/{...
[ "icerainxuiu@outlook.com" ]
icerainxuiu@outlook.com
330e18575fbd8b6ead4bae7e5ec2eee0ce242540
a4d250ce393012dc251cb955096cb8f284c57439
/proto/event_pb2.py
c88e66c2dd64ad0af61e9c3dd3470906740cca34
[]
no_license
daxingyou/test-2
b02af312784d06a46e29acd42e756e92afee6ed9
a16c872ba781855a8c891eff41e8e651cd565ebf
refs/heads/master
2023-03-16T04:21:23.704482
2018-09-28T00:51:23
2018-09-28T00:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
true
25,140
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: event.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflect...
[ "luhongwei1@ice-time.cn" ]
luhongwei1@ice-time.cn
c680f5686a3c3c2f82d7b60a04e0a43e462642a0
bd72c02af0bbd8e3fc0d0b131e3fb9a2aaa93e75
/Hash Table/make_two_arrays_equal_by_reversing_sub-arrays.py
5e01646539d178e12d2527473e446d95af0bb5bc
[]
no_license
harvi7/Leetcode-Problems-Python
d3a5e8898aceb11abc4cae12e1da50061c1d352c
73adc00f6853e821592c68f5dddf0a823cce5d87
refs/heads/master
2023-05-11T09:03:03.181590
2023-04-29T22:03:41
2023-04-29T22:03:41
222,657,838
1
0
null
null
null
null
UTF-8
Python
false
false
334
py
class Solution: def canBeEqual(self, target: List[int], arr: List[int]) -> bool: _map = {} for t in target: _map[t] = _map.get(t, 0) + 1 for a in arr: if a in _map and _map.get(a) > 0: _map[a] = _map[a] - 1 else: return False ...
[ "iamharshvirani7@gmail.com" ]
iamharshvirani7@gmail.com
c932840d55262ea3302710c3e49cbba0a2ad6f2d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_superhighways.py
1e5621d9198f517bfe4b3ec054a39216ee0ef157
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from xai.brain.wordbase.nouns._superhighway import _SUPERHIGHWAY #calss header class _SUPERHIGHWAYS(_SUPERHIGHWAY, ): def __init__(self,): _SUPERHIGHWAY.__init__(self) self.name = "SUPERHIGHWAYS" self.specie = 'nouns' self.basic = "superhighway" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
714a67b878846e4db2831b0cd91be31642781d56
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2305/60765/312368.py
fa735db174171155a26c12d780d4b67615b2e753
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,894
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import math import sys import re from collections import * from itertools import * from functools import * import random def solve(): # =list(map(int,input().split())) # =int(input()) # def root(i): # if unions[i]<0: # return i # else...
[ "1069583789@qq.com" ]
1069583789@qq.com
3fdd8fdd404a8bab766b2dceed796b3617e3c973
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v3/proto/services/customer_extension_setting_service_pb2_grpc.py
c65c9fd0f5ef1cd0a7c7cde6906a103ded23a4c0
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
false
3,940
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v3.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_resources_dot_customer__extension__setting__pb2 from google.ads.google_ads.v3.proto.services import cus...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
a51af00984b5ba65304e8cf73473b604c7cef56e
b93b6fa44589dcedb1af70232e66290b784d9be0
/tilemap.py
b4c89dddf9610238dab63f13602dd28153fb11ae
[]
no_license
guy-nithi/tilemap
6dea04d669fa6ab30eb8b48e7eb96d7d971d6e9d
593d02b9e5d4437e1d7f3b3ef5adafd792172a29
refs/heads/master
2023-06-18T16:37:08.491562
2021-07-23T06:48:55
2021-07-23T06:48:55
388,709,620
1
0
null
null
null
null
UTF-8
Python
false
false
1,985
py
import pygame as pg import pytmx from settings import * def collide_hit_rect(one, two): return one.hit_rect.colliderect(two.rect) class Map: def __init__(self, filename): self.data = [] with open(filename, 'rt') as f: for line in f: self.data.append(line.strip()) ...
[ "admin@admins-MacBook-Air.local" ]
admin@admins-MacBook-Air.local
ed515808184c081c4fe7c811731cae8cc21cb5fd
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/imantics/annotation.py
5535c91b19b0b5a735786a01eb14c20edbc7670d
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:4337ed1406db4375634044a08344b5e77cd0331e135f6356cd1b5ece79d71b35 size 27249
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
2c1962938cf8bb8b5efd4e2c67d5f4f15c221da2
d842a95213e48e30139b9a8227fb7e757f834784
/gcloud/google-cloud-sdk/lib/surface/dataproc/jobs/update.py
749d26147d72d4fcd856c79801bef8d5f2eb664d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/JobSniperRails
f37a15edb89f54916cc272884b36dcd83cdc868a
39e7f871887176770de0f4fc6789e9ddc7f32b1f
refs/heads/master
2022-11-22T18:12:37.972441
2019-09-20T22:43:14
2019-09-20T22:43:14
282,293,504
0
0
MIT
2020-07-24T18:47:35
2020-07-24T18:47:34
null
UTF-8
Python
false
false
2,865
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google LLC. 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 requir...
[ "luizfper@gmail.com" ]
luizfper@gmail.com
f4ea20b4c2b18eb379561c51c45e1ffce98af783
2a4432ce7d738b3670e07841d211689e3b4b19c0
/code/01-basics/lists-03.py
08a8627f70507e10491153f1609d272bc74a84cb
[]
no_license
avdata99/programacion-para-no-programadores
3f9ebba212fb1401bf5bba3befc394f4017d1de6
cb2405a6789535aa0c276b43116adb22b2c24a54
refs/heads/master
2022-12-14T10:18:23.523639
2022-11-29T00:55:14
2022-11-29T00:55:14
144,493,639
6
2
null
2022-11-17T23:53:47
2018-08-12T19:07:15
Python
UTF-8
Python
false
false
1,156
py
apellidos = ["gonzalez", "gomez", "rodriguez", "lopez", "garcia"] total_apellidos = len(apellidos) print(f'Total de apellidos: {total_apellidos}') # Total de apellidos: 5 primer_apellido = apellidos[0] print(f'El primer apellido es: {primer_apellido}') # El primer apellido es: gonzalez ultimo_apellido = apellidos[-1...
[ "andres@data99.com.ar" ]
andres@data99.com.ar
7b3cdaf3ccf1f5c613858afc5c0fa5a59173d639
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/mehmet/trinity/base/kdenetwork/actions.py
19635dd1b8448712d3dda9394fabfd51056431d3
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005-2010 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import kde from pisi.actionsapi import get from pisi.actionsapi import pisitools from pisi...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
3e98aa2b893184dcc8212f0ed3f0280ba18d4a70
5f845ebbc2c9b40eea702833c91928ae90ae7ee5
/algorithms/sansa-and-xor.py
c530755cda1afdf3da0b31b5a9bbdc62129a51ba
[ "MIT" ]
permissive
imgeekabhi/HackerRank
7a1917fee5af01976aebb9c82aa1045a36487016
7fe4a308abad85ce446a28328324be480672e6fc
refs/heads/master
2022-12-28T19:13:49.098090
2020-10-11T09:29:08
2020-10-11T09:29:08
300,023,395
1
0
MIT
2020-09-30T18:48:12
2020-09-30T18:48:11
null
UTF-8
Python
false
false
443
py
#!/bin/python3 import sys def sansaXor(arr): res = 0 arr_len = len(arr) if arr_len % 2 == 0: return 0 for ind in range(0, arr_len, 2): res ^= arr[ind] return res if __name__ == "__main__": t = int(input().strip()) for a0 in range(t): n = int(inpu...
[ "sergey.n.nemov@gmail.com" ]
sergey.n.nemov@gmail.com
53398a65baec73f067d92879974a00c707a3553c
e681066a46e0b6ee27b23c9ea8ff471225e053e7
/email_auth/account/migrations/0002_auto_20200513_2234.py
37c420d45b631497c8626f62bb7b871d8785660f
[]
no_license
arajo-hub/Test_Email-auth
b629108b99bcef69c072269c488cfe3217ff2c01
600a4923079ecff34d12c76a266ab0e21cb61cbf
refs/heads/master
2022-06-29T10:41:27.451862
2020-05-14T12:58:07
2020-05-14T12:58:07
263,462,773
1
0
null
null
null
null
UTF-8
Python
false
false
875
py
# Generated by Django 3.0.6 on 2020-05-13 13:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='user', name='date_joined', )...
[ "joara9566@naver.com" ]
joara9566@naver.com
f52e7164e94f5951904433989503d2f1555eb7e7
4393a24ad5fbf31a59c3521ce4c66ff7d9a378bc
/wework/test_wework.py
bd605fe86d74a79775c427c23c18c0b2c3ccc461
[]
no_license
Frecy16/learning
deba0abe0c326c6624456d83d3b75f06065c3834
a2b92f1c1dbd24bb5cc15ec9639c51aa8ca24902
refs/heads/master
2022-01-27T00:04:43.433775
2022-01-19T01:34:14
2022-01-19T01:34:14
210,374,068
0
0
null
null
null
null
UTF-8
Python
false
false
4,809
py
# import json # import random import re import pytest import requests def test_create_data(): """ 1、列表生成器 2、生成器 3、迭代器 """ data = [("weixiao" + str(x), "魏潇" + str(x), "152%08d" % x) for x in range(20)] print(data) return data class Testwework: @pytest.fi...
[ "1376210796@qq.com" ]
1376210796@qq.com
450c570d599fad38b19bafb4021da6c048f0d793
306d4c4ac51dbe13ae9fee8b3577ffc1ede53094
/ocelot/transformations/consequential/technology_levels.py
19451a83b04aea3c66e1fe1321f91acf228aa347
[]
no_license
damanncarlos/Ocelot
80563c4ab4508a945a4a29b53cc3d0ba9906897d
20e9639570c43f84ae255750a6c402ebabe00981
refs/heads/master
2022-01-08T15:25:15.997661
2019-03-18T16:31:43
2019-03-18T16:31:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
# -*- coding: utf-8 -*- from ... import toolz from ...collection import Collection import logging def log_conflicting_technology_levels(data): """Log anytime that there are both ``undefined`` and ``current`` inputs to a market. The behaviour when this condition occurs is undefined. We will later change all t...
[ "cmutel@gmail.com" ]
cmutel@gmail.com
a82e1eb0f34a3bd2d043461fa04d85c621dd4cd5
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/core/framework/log_memory_pb2.py
877be5882f2c766befdd8db5688b8069c4336556
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:855f12f0d0944d6b927291e87424c9455e25c435568ede0a38451bc1a808da1a size 16503
[ "github@cuba12345" ]
github@cuba12345
3a501e957c950c05c748d009493cf36c34f4b4c1
48e442524807b249ec001b712716c23094d8e2ed
/_side_projects/client-server-request_size_experiments/ServerBlobTest.py
6ee7106de4955d09cc763d1125f7c5d990d410b4
[]
no_license
BillMK/AttentionPipeline
a3ad4befe1b62e6d8b24b53c8db3123a8fd97bda
70e37142e79996e62c51c85de996127e38606efa
refs/heads/master
2022-02-26T12:13:42.754907
2019-10-23T22:21:26
2019-10-23T22:21:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,579
py
import evaluation_code.darkflow_handler as darkflow_handler from keras.preprocessing.image import img_to_array from evaluation_code.encoding import base64_decode_image from threading import Thread import time from PIL import Image import flask import io import os from timeit import default_timer as timer from multipr...
[ "previtus@gmail.com" ]
previtus@gmail.com
49ecb24adbd6f2b9430e2a9828ec499e8267a836
b627da650f75bdcf7e0dc0ef5c4419cf53a1d690
/src/zqh_rocc/zqh_rocc_stub.py
b95f9096e435d5ea53232f3bfed6a993edd861ec
[]
no_license
Jusan-zyh/zqh_riscv
4aa8a4c51e19fb786ba0c2a120722f1382994a52
bccde2f81b42ac258b92c21bb450ec6ff848387a
refs/heads/main
2023-08-06T12:56:52.420302
2021-09-21T01:25:41
2021-09-21T01:25:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
import sys import os from phgl_imp import * from .zqh_rocc_main import zqh_rocc_base_module class zqh_rocc_stub(zqh_rocc_base_module): def main(self): super(zqh_rocc_stub, self).main() self.io.cmd.ready /= 0 self.io.resp.valid /= 0 self.io.resp.bits /= 0 self.io.mem.req.val...
[ "zhouqinghua888@163.com" ]
zhouqinghua888@163.com
412d627460ca3bf78dd7d852aef36fe557ff61f5
1eb488aea8ca5c9dca18f110b63e4936f91f9bb6
/detecting_double_compression_using_lame_and_mpg123/training_models.py
18a19caedf3433f5feb0fb0f14df7ddf81831c91
[]
no_license
brickgao/Audio_Detecting_Misc
fbd5f51a54311ceecbea8ec6069ffc6580d7830c
65d93597d0565042653fbb8c5d5c485524717867
refs/heads/master
2021-01-23T06:44:52.706198
2014-04-15T15:23:23
2014-04-15T15:23:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
# -*- coding: utf-8 -*- import os from libsvm.svmutil import * _bitrate_list = [u'8', u'16', u'24', u'32', u'40', u'48', u'56', u'64', u'80', u'96', u'112', u'128', u'160', u'192', u'224', u'256', u'320'] _bitrate_list = [u'32'] _y, _x = [], [] def analyse_process(_group): os.re...
[ "brickgao@gmail.com" ]
brickgao@gmail.com
9b5d20d47711ba7a83d06dde399a527b07dff842
afa9fcd0f2443515ba89e96ed4eb9416e9d11847
/python/GafferUITest/WidgetSignalTest.py
16c810b148248bdab25d26e477a037f8edb2b1cb
[ "BSD-3-Clause" ]
permissive
dneg/gaffer
6eb12b3ab3cde00afdf170c456969a38f5968237
e87cb50f55a048cd7f6d5dcdfe6f95e38db2c5b6
refs/heads/master
2021-01-16T18:13:33.456876
2013-09-24T17:23:58
2013-09-24T17:23:58
13,094,917
2
0
null
null
null
null
UTF-8
Python
false
false
3,688
py
########################################################################## # # Copyright (c) 2011, John Haddon. All rights reserved. # Copyright (c) 2012, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided t...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
29c05be213a365da1ca935d1295d2c2a2962abe5
f6c0eb27a3a8e93e8d0f38d105e584af826753c4
/00_3DVector_11.py
8b2a49a21382a0a9b25c40d144b8e6d5a1d7e417
[]
no_license
UW-ParksidePhysics/Nicolas.Alexis
63e38096595a01780d1baf3b1c6ea94c70485c0f
64b34f02a96a72925168cf9d682b4ebe220520ae
refs/heads/master
2020-12-28T11:01:22.965307
2020-05-14T22:28:57
2020-05-14T22:28:57
238,303,308
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
from vpython import * scene.background = color.white scene.width = 600 scene.height = 600 scene.forward = vector(-.5, -.3, -1) scene.caption = """To rotate "camera", drag with right button or Ctrl-drag. To zoom, drag with middle button or Alt/Option depressed, or use scroll wheel. On a two-button mouse, ...
[ "noreply@github.com" ]
UW-ParksidePhysics.noreply@github.com
41b6c957f60424a66ad4720591bfc07fd731a89a
5864e86954a221d52d4fa83a607c71bacf201c5a
/carbon/common/script/net/GPSExceptions.py
f6085187795282172e0abadcda9083aae107424c
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
2,541
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\carbon\common\script\net\GPSExceptions.py import blue import eve.common.script.net.eveMachoNetVersion as eveMachoVersion import exceptions class GPSException(StandardError): __guid__ = 'exceptions.GPSException' def __init__(se...
[ "le02005@163.com" ]
le02005@163.com
c58d67fbc013e1dd1dc6694f56b280bb6ce809ec
6713372c2c86e766a80f440b441673ba232bc649
/jcsalesweb/jcsalesweb/spiders/built.py
494ba102178465301903840a9977e75fb7212b39
[]
no_license
rahul-keshav/zech-all-python-scrapers
3e0c98d69a036468dd49e1763de0c2f54486cc83
1576738c4f34d08c29d97145f43c343da8400d70
refs/heads/main
2023-03-03T15:19:10.523293
2021-02-17T16:55:05
2021-02-17T16:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule class BuiltSpider(CrawlSpider): name = 'built' allowed_domains = ['www.jcsalesweb.com'] start_urls = ['https://www.jcsalesweb.com/'] rules = ( Rule(LinkExtractor(restrict_xpaths='//li[@c...
[ "rr916122@gmail.com" ]
rr916122@gmail.com
2edc323e82e36c246435980385554837735232a1
c326c6e95c5ec945f534a89e3a24e791991f45f1
/oscar/apps/payment/migrations/0002_auto__chg_field_source_reference__chg_field_source_label__chg_field_tr.py
0b6f84ade11e044909a96fe896923ed3ed94aa32
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
michaelBenin/django-oscar
69ae279febae8d1896b9c0ba9b29d98439611b3e
f45d38b5d3ffa10756d95c625fb90a27185ce1e1
refs/heads/master
2021-01-18T03:56:51.054708
2013-07-10T13:50:15
2013-07-10T13:50:15
11,319,250
1
0
null
null
null
null
UTF-8
Python
false
false
14,749
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Source.reference' db.alter_column('payment_source', 'reference', self.gf('django.db.model...
[ "david.winterbottom@gmail.com" ]
david.winterbottom@gmail.com
26f64a83d5cd89221d7f1665dc549ffb54fdaa11
9b722ca41671eb2cea19bac5126d0920639261bd
/.history/app_20201124130253.py
b87b9dad2453eba605fff3c3a7ef82b879f9ac2b
[]
no_license
thawalk/db_flask_server
7928fd481f99d30bdccc60d97f02db78324cfdbe
cd55f1c9bf84c734457ee02d9f64a6833e295fad
refs/heads/master
2023-01-25T02:40:19.097457
2020-12-06T07:45:50
2020-12-06T07:45:50
314,229,480
0
0
null
null
null
null
UTF-8
Python
false
false
6,691
py
import json import pymongo from flask import Flask, jsonify, url_for, request, redirect,Response,Request import pymongo from bson.json_util import dumps import mysql.connector from werkzeug.serving import run_simple import os from dotenv import load_dotenv import datetime import time app = Flask(__name__) test_collec...
[ "akmal_hakim_teo@hotmail.com" ]
akmal_hakim_teo@hotmail.com
1abec2b264b95150cd3bd58187b7e71b6269d40a
8616892b6541602b53fdd94d1552d8e96b7ab722
/dessn/investigations/zeropoints/__init__.py
431f70a613cbef2e8ba27f431334a7a83058d136
[ "MIT" ]
permissive
dessn/sn-bhm
7c436877832ec10e4af318a6befff9fb8ffcbf3a
f320a41f9a4f2be49073437e98addca79e938160
refs/heads/master
2020-08-28T03:34:38.180148
2019-05-01T04:23:23
2019-05-01T04:23:23
45,723,864
1
0
null
2017-04-25T02:54:43
2015-11-07T05:27:44
Python
UTF-8
Python
false
false
2,272
py
r""" A fully rigorous analysis would be expected to integrate zero point uncertainty and covariance by having the conversion between counts and flux. However, this is numerically infeasible, as there are so many observational effects that must be included to get the actual flux and flux error. Because of this, zero po...
[ "samuelreay@gmail.com" ]
samuelreay@gmail.com
6e15047fc8b42f8993d0c2fa8ea6535776a3d0a1
ded0c895f6e1f8853f2222ae498bdc7ae52ef0e4
/week-03/week03/fit_es9_bodediag_g500.py
52b0261c3feb10d4a04ae9a37b493ba89d270a4d
[]
no_license
LorenzoLMP/TD2015
6a8846b4592b32db81338b8522a10a2dc52531c1
e39b51d48149d07c3cea682a02eeec4e69ffbabd
refs/heads/master
2021-01-17T14:47:20.378339
2016-05-31T11:33:50
2016-05-31T11:33:50
43,302,288
0
0
null
2015-09-28T13:58:46
2015-09-28T13:23:45
null
UTF-8
Python
false
false
2,208
py
from pylab import * from scipy import * from scipy import optimize from scipy import misc data = genfromtxt('es9_500_buono') f = data[:,0] guad = data[:,1] sfasa = data[:,2] xdata = f ydata = guad zdata = sfasa #sigmax = data [:,3] #sigmay = data [:,4] for k in range (len(zdata)): zdata[k]=zdata[k] - 0.0006*...
[ "lorenzo.perrone.lmp@gmail.com" ]
lorenzo.perrone.lmp@gmail.com
3e5cd7fd66923a6dfbc3094447a16059ab09184f
0adf94fc39a02018165b62e93dd83edddd041230
/.history/Jobs/models_20190223175917.py
16e73071aaf08e851f1634fc3c30a492187135df
[]
no_license
SabitDeepto/BrJobs
1e3baa143331cf46b9c70911c6644d1efd4fffd6
1a458c8c667f8093a2325d963e5542655467c7aa
refs/heads/master
2020-04-24T08:02:26.350007
2019-03-17T05:53:30
2019-03-17T05:53:30
171,818,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
from django.db import models from django.utils.text import slugify # Create your models here. class JobPost(models.Model): title_1 = models.CharField(max_length=100, null=True, blank=True) subtitle_1 = models.CharField(max_length=150, null=True, blank=True) title_2 = models.CharField(max_length=100, null...
[ "deepto69@gmail.com" ]
deepto69@gmail.com
8534ba19ac8b1dbb98e26204edaffc27a8b3f144
ea008627679802814b0ff8bcd91449af63348337
/lib/exabgp/bgp/message/open/routerid.py
f2db32231b684f6f493245fa86788d9d65c8ecd6
[ "BSD-3-Clause" ]
permissive
vbancroft/exabgp
aaab88ce5f1d0be94caa9381100cfba9e48043c2
4e6b88248e536b83b88e1d5df395048adc292fc0
refs/heads/master
2021-01-16T00:10:26.083063
2014-01-22T15:18:16
2014-01-22T15:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# encoding: utf-8 """ routerid.py Created by Thomas Mangin on 2012-07-17. Copyright (c) 2009-2013 Exa Networks. All rights reserved. """ from exabgp.protocol.ip.inet import Inet,inet # =================================================================== RouterID class RouterID (Inet): def __init__ (self,ipv4): In...
[ "thomas.mangin@exa-networks.co.uk" ]
thomas.mangin@exa-networks.co.uk
6c3d2124ed49f43a96e61c8cc3fcca545bdfc585
8e26c405249e891d66883b69142c8b576643b29f
/etk/__main__.py
25ea61a4e1f49b025fdb466d29f1764dac32c8de
[ "MIT" ]
permissive
usc-isi-i2/etk
6ccb54a44d87dd6143ebf220a2437c9e6911a1e2
2084003ae70acc9b6751ddadc29db935c95a0a52
refs/heads/master
2021-11-22T22:40:57.711864
2021-10-05T01:49:31
2021-10-05T01:49:31
83,400,190
82
73
MIT
2021-11-18T08:33:35
2017-02-28T06:56:15
HTML
UTF-8
Python
false
false
91
py
import sys from etk.cli_entry import cli_entry if __name__ == '__main__': cli_entry()
[ "bigyyx@gmail.com" ]
bigyyx@gmail.com
39fc66bf10c68f9c87ae44bb546889ae81b955fc
cbfb679bd068a1153ed855f0db1a8b9e0d4bfd98
/learning_material/nonlocal_vs_global.py
e6d9bb0ab5431b381a63b5c864ee458c3e4b0629
[]
no_license
arsamigullin/problem_solving_python
47715858a394ba9298e04c11f2fe7f5ec0ee443a
59f70dc4466e15df591ba285317e4a1fe808ed60
refs/heads/master
2023-03-04T01:13:51.280001
2023-02-27T18:20:56
2023-02-27T18:20:56
212,953,851
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
class NonLocalVsGlobal: def testNonLocal(self): # this works res = [] var = 0 for i in range(5): var+=1 res.append(var) print(var,res) def helper(): #nonlocal var, res # without nonlocal this code throws an error if var...
[ "ar.smglln@gmail.com" ]
ar.smglln@gmail.com
a5eea522f46af7faf91c63b7568dc49fe71b3aad
e2cc296dc3627242e56cd6f0a08f1e0dd8214eb2
/src/app/routers/geo.py
e6289796b70b78b03c05ec6185238c703f8fbf6a
[ "MIT" ]
permissive
trivedisorabh/fastapi-tile38
b7604d0f90261b30fa1559de50742d2ab0192dd0
878e74211cfa3fc0a0e55c68aeaae5b2822a9a4d
refs/heads/main
2023-07-16T06:26:59.794998
2021-09-03T11:09:49
2021-09-05T13:30:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
from typing import Optional from fastapi import APIRouter, status from pyle38.responses import ObjectsResponse from app.db.db import tile38 from app.models.vehicle import VehiclesResponse, Vehicle router = APIRouter() @router.get( "/search/within", response_model=VehiclesResponse, response_model_exclude_...
[ "legionaerr@googlemail.com" ]
legionaerr@googlemail.com
11e1f3fefec856c167d3df43e987a3f0636810ca
7275f7454ce7c3ce519aba81b3c99994d81a56d3
/sp1/python全栈/面向对象编程/面向对象进阶_用的较少/item_setitem_getitem_delitem.py
f0f215284ad925f208c9887c93688877a6c8cf0b
[]
no_license
chengqiangaoci/back
b4c964b17fb4b9e97ab7bf0e607bdc13e2724f06
a26da4e4f088afb57c4122eedb0cd42bb3052b16
refs/heads/master
2020-03-22T08:36:48.360430
2018-08-10T03:53:55
2018-08-10T03:53:55
139,777,994
0
1
null
null
null
null
UTF-8
Python
false
false
501
py
#.系列跟attr相关,字典的形式跟item相关 class Foo(): def __getitem__(self,item): print("getitem",item) return self.__dict__[item] def __setitem__(self,key,value): print("setitem") self.__dict__[key] = value def __delitem__(self,key): print("delitem") self.__dict__.pop(key) f1 = Foo() #item只适用于字典的复制方式,如下,但是f.name = xx...
[ "2395618655@qq.com" ]
2395618655@qq.com
34510fbd0abc39f92acaa541a2f90739c91ea04e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/8/usersdata/82/5616/submittedfiles/imc.py
e7a67c5946b587d937599ef4547dabde0603ba36
[]
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
128
py
# -*- coding: utf-8 -*- from __future__ import division #ENTRADA input ('Digite o peso em kg:') input ('Digite a altura em m:')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0a2d849eb8bd23d22633a78717adeb6e5e76e05e
22160e31f8ca03043560e8ac0d5178d75f90ba9b
/SeedWaterSegmenter/SWHelpers.py
70801bd1aa9034b778837d3655a417f4ec787a31
[]
no_license
KnightofDawn/SeedWaterSegmenter
f2a1193ee65bf11fff1cb560d1e881497f79d51e
efd59cc256078825b34268604908bf09a3ba541e
refs/heads/master
2020-03-28T11:57:56.192304
2018-08-25T14:59:23
2018-08-25T14:59:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,673
py
#!/usr/bin/env python ''''A useful collection of helper functions for SWS''' from __future__ import print_function import os import imp import numpy as np from scipy import ndimage import matplotlib.pyplot as plt import FilenameSort as FS import ImageContour import GifTiffLoader as GTL from GifTiffLoader import Imag...
[ "david.n.mashburn@gmail.com" ]
david.n.mashburn@gmail.com
c818012387353f88e9e5d35773ffdf49a04db87d
ee179dd9e9b24046508b11a60612da3758c7e122
/lib/python2.7/site-packages/nltk/downloader.py
e4410069718f678b180215cdadfacf7103aa6534
[]
no_license
buhtigexa/Nerit
fcd6cb08a0935e5b80392ae2acf68ba52ee8a899
d55629f6289c1fa6efe60802a78b79932ff248a2
refs/heads/master
2021-01-21T13:11:51.105930
2015-05-01T23:56:02
2015-05-01T23:56:02
34,728,820
4
2
null
null
null
null
UTF-8
Python
false
false
91,475
py
# Natural Language Toolkit: Corpus & Model Downloader # # Copyright (C) 2001-2014 NLTK Project # Author: Edward Loper <edloper@gmail.com> # URL: <http://nltk.org/> # For license information, see LICENSE.TXT """ The NLTK corpus and module downloader. This module defines several interfaces which can be used to download...
[ "mrodriguez@alumnos.exa.unicen.edu.ar" ]
mrodriguez@alumnos.exa.unicen.edu.ar
78f34811ef30c2bf8f1ea658d1940d31e99bfc2c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03409/s009547143.py
278737b03d5d70ba2b2f2aa87be5f575a51bf731
[]
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
620
py
from collections import defaultdict n = int(input()) cnt = 0 dic = defaultdict(list) ab = [] cd = [] for i in range(n): a, b = map(int, input().split()) ab.append((a, b)) for i in range(n): c, d = map(int, input().split()) cd.append((c, d)) for i in ab: for j in cd: a, b = i c, d = j...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fed7951cee22cfc9c0882716080ae3b260d36460
3292017df3ff6c7190d5c5a60ecf5f8936cb7b90
/checkio/Ice Base/Colder-Warmer/test_colder_warmer.py
24974220ee88c2a77c726aa4a95705ec00bb272b
[ "MIT" ]
permissive
KenMercusLai/checkio
1e9cdfe70ccaf5315db36391c4710533d99cf9aa
5082ab0c6a7ae2d97963568a6f41589332e88029
refs/heads/master
2022-05-12T18:22:22.604531
2022-05-11T09:00:28
2022-05-11T09:00:28
22,260,056
39
22
NOASSERTION
2022-05-11T08:42:05
2014-07-25T14:40:06
Python
UTF-8
Python
false
false
1,364
py
import unittest from math import hypot from colder_warmer import checkio MAX_STEP = 12 def check_solution(func, goal, start): prev_steps = [start] for step in range(MAX_STEP): row, col = func([s[:] for s in prev_steps]) if [row, col] == goal: return True if 10 <= row or ...
[ "ken.mercus.lai@gmail.com" ]
ken.mercus.lai@gmail.com
1568ef74cc5f8f1613a48d6d9899b608ab2d8575
499bc17d5cdfec023b9897fe8510c18c67432d70
/ibms_project/sfm/migrations/0007_costcentre_region.py
97b1bf8247f13b78917ecf76f0da243b0d895269
[ "Apache-2.0" ]
permissive
ropable/ibms
952348fb44b7be6d2ee5722b3f3dc40eb42f6e35
fbfb4e85586bc7409d2abc3cfd51380b7f1f59d3
refs/heads/master
2023-08-31T22:21:19.050078
2023-08-24T04:48:36
2023-08-24T04:48:36
49,852,305
1
0
Apache-2.0
2020-08-13T01:09:55
2016-01-18T04:36:48
Python
UTF-8
Python
false
false
652
py
# Generated by Django 3.2.4 on 2021-08-23 01:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sfm', '0006_sfmmetric_region'), ] operations = [ migrations.AddField( model_name='costcentre', name='region', ...
[ "ashley@ropable.com" ]
ashley@ropable.com
61c9b945b3814e8d0d8bae8207a4e3d8c13e36e3
152b74ed7d60d75a9d70f6637c107fff9b064ff9
/Chapter08/Testing Adversarial-Robustness of Neural Networks/abs_models/visualization.py
a2fc2a5c3716b85c177c3f61dc7da465f8ff83a3
[ "MIT" ]
permissive
PacktPublishing/Machine-Learning-for-Cybersecurity-Cookbook
1d7a50fb79b5da8c411eda9dc9cface4d0f78125
19b9757020cbcb09d9bb4249605fbb9c7322d92b
refs/heads/master
2023-05-12T08:29:13.569598
2023-01-18T10:19:07
2023-01-18T10:19:07
222,411,828
250
164
MIT
2023-05-01T20:11:44
2019-11-18T09:33:53
Jupyter Notebook
UTF-8
Python
false
false
6,395
py
import numpy as np import torch from matplotlib import pyplot as plt from PIL import Image from abs_models import utils as u def visualize_image(ax, im, title=None, clear=False, **kwargs): if clear: ax.cla() ax.imshow(im, **kwargs) if title is not None: ax.set_title(title) ax.axis('of...
[ "dineshchaudhary@packtpub.com" ]
dineshchaudhary@packtpub.com
0b530397a4d16de20d446798c3b1f63ee07e1e24
7298d1692c6948f0880e550d6100c63a64ce3ea1
/deriva-annotations/catalog99/catalog-configs/PDB/ihm_entity_poly_segment.py
aab44e4ec78a229b53a38057c379fc7b4c5a1bdf
[]
no_license
informatics-isi-edu/protein-database
b7684b3d08dbf22c1e7c4a4b8460248c6f0d2c6d
ce4be1bf13e6b1c22f3fccbb513824782609991f
refs/heads/master
2023-08-16T10:24:10.206574
2023-07-25T23:10:42
2023-07-25T23:10:42
174,095,941
2
0
null
2023-06-16T19:44:43
2019-03-06T07:39:14
Python
UTF-8
Python
false
false
15,657
py
import argparse from deriva.core import ErmrestCatalog, AttrDict, get_credential import deriva.core.ermrest_model as em from deriva.core.ermrest_config import tag as chaise_tags from deriva.utils.catalog.manage.update_catalog import CatalogUpdater, parse_args groups = { 'pdb-reader': 'https://auth.globus.org/8875a...
[ "brinda.vallat@rcsb.org" ]
brinda.vallat@rcsb.org
0167ffe29a7c77897d2d52f2701a698eefac4fc3
988176bcdae841e08106b0fe5cf07aabbc210c83
/alphabetical order.py
3b4718843f3274e095721bfe5236da56c857314c
[]
no_license
gopiprasad008/GUVI_CODEKATA_PYTHON_CODE
ce1a63c7eea2a099c01748162c1deb47172dcd0a
78f374e344df25aab181408d8f41b3ebe03b34ef
refs/heads/master
2023-03-16T00:27:31.539524
2020-05-16T11:46:08
2020-05-16T11:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
n=int(input()) lst = [] for i in range(n): lst.append(input()) lst.sort() for i in lst: print(i)
[ "noreply@github.com" ]
gopiprasad008.noreply@github.com
bfb42af3796dc24682eb5e3c0ed9198db2b7b387
3ff9821b1984417a83a75c7d186da9228e13ead9
/No_0222_Count Complete Tree Nodes/by_binary_search.py
006a5cadc6ca612d6efcf92d477269380d8c036e
[ "MIT" ]
permissive
brianchiang-tw/leetcode
fd4df1917daef403c48cb5a3f5834579526ad0c2
6978acfb8cb767002cb953d02be68999845425f3
refs/heads/master
2023-06-11T00:44:01.423772
2023-06-01T03:52:00
2023-06-01T03:52:00
222,939,709
41
12
null
null
null
null
UTF-8
Python
false
false
3,269
py
''' Description: Given a complete binary tree, count the number of nodes. Note: Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. It can have between 1 and 2h nodes ...
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
d0e16e2419d18241a0865e98ba48b2a17e51f348
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/49/usersdata/87/17853/submittedfiles/pico.py
79eb44db0e38ef045bf5cae68bc141b72a01085b
[]
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
502
py
# -*- coding: utf-8 -*- from __future__ import division def pico(lista): cont=0 for i in range (0,len(lista),1): if i==0: if lista[i]>lista[i+1]: cont=cont+1 if lista[i+1]<lista[i]: cont=cont+1 return True else: ret...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1721ea9ddcd5726fab2dd4be394836b06cc14ae7
ee5f91b0ae20ff1379da6dfa67eb27b402edcb1f
/user_app/urls.py
3e1ad01d32211e4ea2d1a61e31f2a8fa5222ca77
[]
no_license
cs-fullstack-master/django-ModelForm1-ic
bc4e936fc9f5f701dd493c38f197aa1c382b9c9e
5654b26304da6a38b2807bf0cafc6bfe841f0a41
refs/heads/master
2020-04-25T14:09:00.682561
2019-10-03T19:36:50
2019-10-03T19:36:50
172,831,529
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.urls import path from user_app import views urlpatterns = [ path('', views.index, name = 'index'), path('users/', views.users, name='users'), ]
[ "kevin@code-crew.org" ]
kevin@code-crew.org
e68c1ecbbf40865932991688780f2519ddfe4a08
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/tests/terraform/graph/checks_infra/attribute_solvers/not_contains_solver/test_solver.py
3fa9383ab971c6b2dedc995c4e68a45f5018bb47
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
1,902
py
import os from parameterized import parameterized_class from tests.terraform.graph.checks_infra.test_base import TestBaseSolver TEST_DIRNAME = os.path.dirname(os.path.realpath(__file__)) @parameterized_class([ {"graph_framework": "NETWORKX"}, {"graph_framework": "IGRAPH"} ]) class TestNotContainsSolver(TestB...
[ "noreply@github.com" ]
bridgecrewio.noreply@github.com
6e77e8a9684379dd99bad07ebcedd73de9c6a811
453e245dcb67a75f671d5e6067af13c21acd4f97
/1.1 Data/7-make_regression.py
2e01163f5ed0e87a56fe08c45d21b11ebcf5ca64
[]
no_license
ahmedatef1610/scikit-learn-library-for-machine-learning
c828f7510cd9a7df41e7aece31c08ea00d69bb4f
f12be8c1702c413742328a75f60b9b1f78a3c2d3
refs/heads/main
2023-04-05T01:23:46.970931
2021-04-12T09:16:26
2021-04-12T09:16:26
356,732,567
1
0
null
null
null
null
UTF-8
Python
false
false
623
py
# Import Libraries from sklearn.datasets import make_regression # ---------------------------------------------------- # load regression data ''' X ,y = make_regression(n_samples=100, n_features=100, n_informative=10, n_targets=1, bias=0.0, effective_rank=None, tail_stren...
[ "ahmedatef1610@gmail.com" ]
ahmedatef1610@gmail.com
fcd432036bd5e790ae9758afc44a70e2fbbe4378
df6d9d599568e7437f614c1404b26f74ebab47b0
/Preprocessing/processingresources.py
d0c1c999456a19e54b8c9b11cdf69113d8e5fe7a
[ "Apache-2.0" ]
permissive
akshay-verma/semeval2019-hyperpartisan-bertha-von-suttner
cacd535d7234a175e4d05a0c0ccbc6bde70495d1
1de672f5c7a5be3f9fff89c091b6211a85b69a8b
refs/heads/master
2020-05-17T16:56:35.563614
2019-04-29T20:09:08
2019-04-29T20:09:08
183,834,154
0
0
Apache-2.0
2019-04-28T00:24:43
2019-04-28T00:24:43
null
UTF-8
Python
false
false
7,058
py
""" Classes representing "processing resources" """ import preprocessing import xml.etree.ElementTree import tldextract from collections import Counter import features import json from numbers import Number import htmlparser import sys class PrArticle2Line: def __init__(self, stream, featureslist, addtargets=Tr...
[ "johann.petrak@gmail.com" ]
johann.petrak@gmail.com
85e5435fddc690666b601db7f53c32927be2aa4f
4c9e3a963aef1d8f0cea9edc35e3c5ffc64a87d1
/python-webpy/wiki/model.py
15f7152764ee641c2d6b368787597759d85ce4d6
[]
no_license
hackrole/daily-program
d6820d532a9ebb8132676e58da8e2382bd459b8f
cff87a09f03ce5bd9e186b0302bead6cd8484ab5
refs/heads/master
2021-01-21T13:11:55.287908
2015-04-21T14:34:36
2015-04-21T14:34:36
17,940,553
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
import web db = web.database(dbn='sqlite', db='sql/main.db') def get_pages(): return db.select('pages', order='id DESC') def get_page_by_url(url): """ Arguments: - `url`: """ try: return db.select('pages', where='url=$url', vars=locals())[0] except IndexError: return ...
[ "daipeng123456@gmail.com" ]
daipeng123456@gmail.com
fbbb1076d82b8b95b154e02ca11dad432c9ea418
4f728a8177d041ca8cbd616ec58858eb3fc4c204
/aleph/graph/queries.py
2d88424dc2923d7a720bd74908da3e839dc9b6b2
[ "MIT" ]
permissive
nivertech/aleph
9bafa122a99be82ae09219a4abdf5ca3aa05bc55
20c773352e2c533867c75b0e658c6ff4a58c47a2
refs/heads/master
2020-12-11T08:14:43.634439
2016-08-08T10:47:44
2016-08-08T10:47:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,561
py
import logging from aleph import authz from aleph.graph.schema import NodeType, EdgeType log = logging.getLogger(__name__) class GraphQuery(object): def __init__(self, graph, data): self.graph = graph self.data = data @property def limit(self): try: return min(int(s...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
58acf6941d6f455e0defc79c0d205906fa6f200f
847986bccb499dca707f7ad8ea3b7406e5178c7a
/testing_effectiveness/show_structure_metrics.py
ed1b836e811d70b25b693d7ead8010ea042c3f2d
[]
no_license
jianing-li/asynchronous-spatio-temporal-spike-metric
08818c00510d00c593f081aed078e9047d8d8b97
71b31956ba47e83e43138498aceb441f184282cd
refs/heads/master
2021-07-13T16:51:20.120434
2020-10-03T10:01:24
2020-10-03T10:43:57
203,725,140
16
0
null
null
null
null
UTF-8
Python
false
false
2,157
py
""" Function: Show searching error curves for spike metrics. Author: Jianing Li, lijianing@pku.edu.cn, Peking University, Apr. 1st, 2019. """ import numpy as np import pickle from matplotlib import pyplot as pl # load noise ratio steps. noise_ratio_steps = open('../datasets/search_moving_target/noise_rati...
[ "you@example.com" ]
you@example.com
c2795bb8eb76134679bae4e2d4db6248d789a084
7ec38beb6f041319916390ee92876678412b30f7
/src/hands_on_python/Ch11/test_survey.py
d791bfdea04977060bae33655c2b31987ac63c44
[]
no_license
hopensic/LearnPython
3570e212a1931d4dad65b64ecdd24414daf51c73
f735b5d865789843f06a623a4006f8883d6d1ae0
refs/heads/master
2022-02-18T23:11:30.663902
2022-02-12T17:51:56
2022-02-12T17:51:56
218,924,551
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
import unittest from hands_on_python.Ch11.survey import AnonymousSurvey class TestAnonymousSurvey(unittest.TestCase): def test_store_single_response(self): question = "What language did you first learn to speak?" my_survey = AnonymousSurvey(question) my_survey.store_response('English') ...
[ "hopensic@gmail.com" ]
hopensic@gmail.com
ae690a1904522075ac98df2f2ba7a9dec46ce90c
60d2c390736f5dce1cd0c9d4249a0ab95bdae802
/worker/slack/slack/slack.py
315205a148f51a24cbde6d2d4e1ae577da8919a2
[ "Apache-2.0" ]
permissive
tsmolka/stoq-plugins-public
d996b0be051ce0bac453af7380e7cbfecc03ff93
a8d3351fe55fc72891c395d6767188746bf381cf
refs/heads/master
2020-12-28T22:22:15.077514
2016-07-13T17:57:43
2016-07-13T17:57:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,917
py
# Copyright 2014-2015 PUNCH Cyber Analytics Group # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "marcus@randomhack.org" ]
marcus@randomhack.org
a6598878b769c2346edc9926294d9485f4a8c0b7
a134172173dbc976004729b38ea8d7c081bf374d
/homeassistant/components/hyperion/config_flow.py
aef74e530b17c7c42a76832657f18bfb5cacf026
[ "Apache-2.0" ]
permissive
uniosmarthome/home-assistant-core
910cc44f53381222ffe5543b43940875046bc738
dd56b1c17606fff40968940a27db6f64bb71abec
refs/heads/dev
2023-04-13T11:20:24.592193
2021-04-11T07:30:08
2021-04-11T07:30:08
295,188,670
1
0
Apache-2.0
2021-04-11T07:35:08
2020-09-13T16:14:03
Python
UTF-8
Python
false
false
18,031
py
"""Hyperion config flow.""" from __future__ import annotations import asyncio import logging from typing import Any, Dict, Optional from urllib.parse import urlparse from hyperion import client, const import voluptuous as vol from homeassistant.components.ssdp import ATTR_SSDP_LOCATION, ATTR_UPNP_SERIAL from homeass...
[ "noreply@github.com" ]
uniosmarthome.noreply@github.com
7d0e800f405196bc4560f3977f641aaec29c8f6c
f038216be109882668ccd89b71efe0127d845bfb
/LeetCode/maximum_product_subarray.py
549754da4a93cc85ee54958809337371159a4be4
[]
no_license
kunalt4/ProblemSolvingDSandAlgo
84b29a7eb2f73ea3b0450ed4b0707bc2d031c00d
6a796dd1a778049418d47bc3b94b82c7a2680d26
refs/heads/master
2021-08-16T23:05:39.452968
2020-09-16T00:02:06
2020-09-16T00:02:06
221,677,287
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
class Solution: def maxProduct(self, nums: List[int]) -> int: max_prod = nums[0] min_prod = nums[0] ans = nums[0] #Max product could be curr_max * curr_num or for negatives, curr_min * curr_num for i in range(1,len(nums)): x = m...
[ "noreply@github.com" ]
kunalt4.noreply@github.com
b164353c34e978242dbfa8a1d3f654dd12976365
64fa49a9a2c0b157aec3224530d7f61ddf9d24fa
/v6.0.2/wireless_controller/fortios_wireless_controller_ble_profile.py
3f3af0966f8ef3be0dfffed69cd1dadf76a770e7
[ "Apache-2.0" ]
permissive
chick-tiger/ansible_fgt_modules
55bee8a41a809b8c5756f6b3f5900721ee7c40e4
6106e87199881d1d4c3475a4f275c03d345ec9ad
refs/heads/master
2020-03-31T11:05:12.659115
2018-10-04T10:20:33
2018-10-04T10:20:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,335
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2018 Fortinet, Inc. # # 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 3 of the Lic...
[ "magonzalez@fortinet.com" ]
magonzalez@fortinet.com
1fee6a27ba3515c6d93b1874124ed5f7b7d389f4
e8cb2241329e57c9a4a5a23f839a352c98c791bc
/brainstorm/structure/buffer_views.py
dfc17d220d5a800d618b558d39cf7a1e64c4e068
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
xiaoerlaigeid/brainstorm
cc21cd75a05891d5fd1cff50d5c0e55d31f64d5b
8f1fc886faf268b25085fa5c95bf106b1805d766
refs/heads/master
2021-06-14T16:50:11.653075
2017-03-16T08:19:44
2017-03-16T08:19:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,752
py
#!/usr/bin/env python # coding=utf-8 from __future__ import division, print_function, unicode_literals from brainstorm.utils import get_by_path class BufferView(list): def __init__(self, buffer_names, buffers, full_buffer=None): super(BufferView, self).__init__(buffers) if not len(buffers) == len...
[ "qwlouse@gmail.com" ]
qwlouse@gmail.com
443260f7048dceaa141df8334cbabbea50523e69
71f36879a50805f04f5c1213c529d688268ce20f
/blog_env/lib/python3.7/stat.py
0af730a22462465e3919878d077ddaaf0ca0aa11
[]
no_license
RedmondY/Blog
11e9cd68044bb2f0daf824f23588e73a7788057b
fee7b6e5dfafb2d82f7d9a23aca7ff039730df57
refs/heads/master
2022-12-10T17:47:38.483618
2019-11-17T11:57:41
2019-11-17T11:57:41
222,220,504
0
0
null
2022-11-04T19:42:28
2019-11-17T08:47:28
Python
UTF-8
Python
false
false
50
py
/Users/raymond/opt/anaconda3/lib/python3.7/stat.py
[ "redmondy@foxmail.com" ]
redmondy@foxmail.com
97299d77812c63fa7f1e4f9466025b8724f95166
33b7a63d0866f9aabfdfdc342236191bebd1c1e6
/django_learning/chapter09/xss/xss_demo/front/migrations/0001_initial.py
d390906c9e092b0c32fa2850951a7f2870b4ceff
[]
no_license
leolvcl/leo_python
21f61bb898f8c755d1ff405f90864887e18a317e
5be0d897eeee34d50d835707112fb610de69b4c8
refs/heads/master
2020-08-02T21:00:01.808704
2019-12-06T17:04:59
2019-12-06T17:04:59
211,505,290
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
# Generated by Django 2.0.2 on 2018-05-16 02:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Comment', fields=[ ('id', m...
[ "lvclleo@gmail.com" ]
lvclleo@gmail.com
6855119c71a47bc978c06db2bab99f04d55fa0bb
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/oLmAshdKHWLP3ck7e_24.py
bd6dca045b9dcd263e67ceb1e39236707e84e75a
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
def min_difference_pair(nums): best = abs(nums[0]) r = [] for i in range(len(nums)): for j in range(i + 1, len(nums)): now = abs(nums[i] - nums[j]) if now < best: best = now r = sorted([nums[i], nums[j]]) elif now == best: ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ee749b64ebe34821da17751d091a13b06dbf8a81
27ad9461526e9a87b66a01306b48470d7dea9800
/src/SpringLeaf_subset.py
3d4f305d0d9c9c463cf36a0f575427baeadbb087
[]
no_license
aocampor/SpringLeafKaggle
100aeab631af76ed535dd700bfb1294c161e0880
02d89f31cbc6a615db9b035efe4a8083f7f9188c
refs/heads/master
2016-08-04T10:17:56.011049
2015-09-22T16:34:19
2015-09-22T16:34:19
42,946,548
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
import os, sys if __name__ == "__main__": file1 = open("Data/train.csv", "r") i = 0 for line in file1: lintok = line.rsplit(',') print line i = i + 1 if( i == 10000): break
[ "alocampor@gmail.com" ]
alocampor@gmail.com
c4795d1ec0e1b486ef8807813294a6243626829d
0739ea9aef038d50d2d8adfae53938795f921417
/examples/benchmarks/hiredis_test.py
cf16da355872a6011295538c60b14d8ab9aa3804
[ "BSD-2-Clause-Views" ]
permissive
vtheno/asyncio-redis
b51bf2c5ba265c56134532797ed2d683ffaf1209
a57a528d1bdf14be12953f8bf96df2f3ed24b840
refs/heads/master
2020-09-23T19:24:10.243603
2019-12-03T08:28:54
2019-12-03T08:28:54
225,567,864
0
0
NOASSERTION
2019-12-03T08:25:49
2019-12-03T08:25:48
null
UTF-8
Python
false
false
3,185
py
#!/usr/bin/env python """ Compare how fast HiRedisProtocol is compared to the pure Python implementation for a few different benchmarks. """ import asyncio import asyncio_redis import time try: import hiredis except ImportError: hiredis = None from asyncio_redis.protocol import HiRedisProtocol @asyncio.coro...
[ "jonathan@slenders.be" ]
jonathan@slenders.be
b9a340c14e85815b8bbf099a0e77b07fa8c74e7c
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/8349814/snippet.py
9ee0b33329a7a46c303c6e845ce284da438547bb
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
109
py
import struct def get_os_struct(): """Get system os struct.""" return str(struct.calcsize('P') * 8)
[ "gistshub@gmail.com" ]
gistshub@gmail.com
7b77ab771feda6d519910a539c1f19e5644f000a
b864b992187e2e1c5c8da6fdabeeab5040058fe9
/Python Example/python-scraping-master/chapter9/3-cookies.py
6e66f04ccd21321913b9a0e62aa1a20b8e046a88
[]
no_license
Mr-Phoebe/ProgramLanguage
5384afeef20c8a12cd89cf3720beb0337bd38fc9
1588aea62e15304339efb73d55653be1b4e57156
refs/heads/master
2023-02-06T11:59:06.272680
2023-02-06T04:00:14
2023-02-06T04:00:14
65,252,634
52
37
null
null
null
null
UTF-8
Python
false
false
366
py
import requests params = {'username': 'Ryan', 'password': 'password'} r = requests.post("http://pythonscraping.com/pages/cookies/welcome.php", params) print("Cookie is set to:") print(r.cookies.get_dict()) print("-----------") print("Going to profile page...") r = requests.get("http://pythonscraping.com/pages/cookies/...
[ "whn289467822@outlook.com" ]
whn289467822@outlook.com
e0dd603f9123c1f0b5f2548175ef84f637aaf788
bda0ecadb1fdede0a8935b35d5bb6eaa745d092a
/src/connectedvmware/azext_connectedvmware/vendored_sdks/aio/operations/_datastores_operations.py
698422156d4fc8b724a3da70911952302d423833
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
jongio/azure-cli-extensions
059c785e01c6dc5ec89bf7f4d9d2c42ed8cebea3
c2f1e4be94c65451a1d060291ae661a597531fd2
refs/heads/master
2021-11-23T23:49:26.690924
2021-10-23T14:09:49
2021-10-23T14:09:49
224,203,634
0
0
MIT
2020-06-16T16:26:32
2019-11-26T13:52:09
null
UTF-8
Python
false
false
27,753
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" ]
jongio.noreply@github.com
a06ffe988c97b052e6a8aedfed9e8432b1496028
ba6adee3c96f8ae56e266ec014a8411c5b776d13
/auto_yolo/tf_ops/render_sprites/__init__.py
13c67b1ab7854450169c2b8d4c8fb1e05c443f0a
[ "MIT" ]
permissive
alcinos/auto_yolo
7bfa97c0e0bc609de52bd15fe9fe9aa2701b4129
78727596f937b38d4de47dd9f0a7cc8c6104323f
refs/heads/master
2020-05-18T19:22:26.307837
2019-04-30T13:42:42
2019-04-30T13:42:42
184,607,522
0
0
MIT
2019-05-02T15:39:08
2019-05-02T15:39:08
null
UTF-8
Python
false
false
929
py
# Copyright 2016 The TensorFlow 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 applica...
[ "eric.crawford@mail.mcgill.ca" ]
eric.crawford@mail.mcgill.ca
14498468bf7f696b9a6af04485ed99d7c2c702c9
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/materialcenterbindquery/model/material_bind_query_response_paging.py
7288bfff51c7a7c661b81ef10f5d60205e9c55f1
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
12,379
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "v_wangzichen02@baidu.com" ]
v_wangzichen02@baidu.com
d2a3dc5f7164f1b606f5b0a11bad3d656716af12
425b5719ecf6b40bf3de94ddf6e0cc9cf72717b7
/app/engine/skill_components/charge_components.py
e879b21be2baee20d970ef87e0c7dbc70eb2cfec
[ "MIT" ]
permissive
zerorock1312/lt-maker-master
3b9b2e7245215936018601432a98915c40f3937d
82f733683f9dba763a5de8567c41fd7cbcfb0173
refs/heads/main
2023-06-04T10:28:43.931841
2021-06-18T06:03:40
2021-06-18T06:03:40
378,050,560
0
0
null
null
null
null
UTF-8
Python
false
false
3,472
py
from app.data.skill_components import SkillComponent from app.data.components import Type from app.engine import action class BuildCharge(SkillComponent): nid = 'build_charge' desc = "Skill gains charges until full" tag = "charge" expose = Type.Int value = 10 ignore_conditional = True d...
[ "85828552+zerorock1312@users.noreply.github.com" ]
85828552+zerorock1312@users.noreply.github.com
6456530f6f5fe8c9d04436f610dd784a925f2956
ab197194e6f4a7dae78b4cf72456aff78e71740f
/compareResolutionFuncP.py
f2da1495ae04835fded68c0180f4b7e631977539
[]
no_license
JanFSchulte/MuonResolution
b75919e4dabb064476bc71c997a42b916dd039e0
e39b4055b654f2b2e93b3b0fdac826fa630b042f
refs/heads/master
2023-07-02T12:02:40.541267
2023-06-06T16:14:45
2023-06-06T16:14:45
164,695,533
0
2
null
2019-09-13T09:47:52
2019-01-08T17:01:51
Python
UTF-8
Python
false
false
4,847
py
from ROOT import * import pickle import math from setTDRStyle import setTDRStyle def efficiencyRatio(eff1,eff2): newEff = TGraphAsymmErrors(eff1.GetN()) for i in range(0,eff1.GetN()): pointX1 = Double(0.) pointX2 = Double(0.) pointY1 = Double(0.) pointY2 = Double(0.) isSuccesful1 = eff1.GetPoint(i,pointX...
[ "jschulte@cern.ch" ]
jschulte@cern.ch
29793a85a88c5177d18332fa38bda80e0a5ece4c
e53cd62a6b0fa27f8f712b7df92897d61b532807
/Lesson_1/1.8 If's.py
7ef3dc5aa292ee0c6d1eccaeaa3385c9462d279c
[]
no_license
AdamSierzan/Python_basics_course_2
dc465ed0223347d5f555b835ac89c456fab5699c
216ccf66d8a1bccf376564297e60fcfb8cf0696b
refs/heads/master
2021-05-18T19:51:35.721711
2020-04-03T19:58:23
2020-04-03T19:58:23
251,388,646
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
print("How old are you:") age = int(input()) responsible = input("Are you responsible:? T/N") if (age > 100): print("You're definetly an adult") elif (age > 18) and responsible == "T": print("You're a responsible adult") elif responsible != "T": print("You're unresponsible adult") else: print("You're ...
[ "adagioo1993@gmail.com" ]
adagioo1993@gmail.com
ebc48825dd9ff055b7655e7a9c4aa0394204f395
821b4aca346c15624e65addc9ab5fbdf672deda3
/lux/extensions/static/__init__.py
d1fb5aedb57113ac6170b59f9b6cef3c1af5fe7d
[ "BSD-3-Clause" ]
permissive
tourist/lux
5cae17537ad9b057b327a4ffa3d47482e5f47803
8ddd804fe95b753c55ea566300409574ba4c1142
refs/heads/master
2020-12-11T03:57:11.218623
2015-04-09T08:03:36
2015-04-09T08:03:36
33,724,922
0
0
null
2015-04-10T11:22:37
2015-04-10T11:22:37
null
UTF-8
Python
false
false
9,117
py
'''Static site generator **Required extensions**: :mod:`lux.extensions.ui`, :mod:`lux.extensions.angular` **Optional third-party libraries**: markdown_, sphinx_ Usage ======= Put the :mod:`lux.extensions.static` extension into your :setting:`EXTENSIONS` list and build the static web site via the ``build_static`` op...
[ "luca.sbardella@gmail.com" ]
luca.sbardella@gmail.com
126a913890c9ac5720783ec360e2e83755de6621
de782989fc100f6784166d132db68b2209a5a43f
/stacked_MNIST_experiments/VEEGAN_experiment/model.py
06bf9d4c3f66bf7c80968332c8dd2fe6d0920be6
[ "MIT" ]
permissive
fjxmlzn/PacGAN
af255d2a52a32fa62b83d25e7798d912f2e9d38f
190853e56d6e7843c0d991dc64658cfb3311135e
refs/heads/master
2021-03-28T15:24:03.827377
2020-10-01T06:27:57
2020-10-01T06:27:57
117,491,235
89
9
null
null
null
null
UTF-8
Python
false
false
17,697
py
from __future__ import division import os, csv import time, pickle import math from glob import glob import tensorflow as tf import numpy as np from six.moves import xrange from ops import * from utils import * from math import log, ceil def conv_out_size_same(size, stride): return int(math.ceil(float(size) / fl...
[ "linzinan1995@126.com" ]
linzinan1995@126.com
da5e1b27e409b9adf9e9630f26cb45c2013b63ba
82b997b4e2f7986b3619f49c45410839955f699d
/invoke/monkey.py
073762f60b33866b49d1073f41c50571aa26fd75
[ "BSD-2-Clause" ]
permissive
markatto/invoke
a5c81f97fba810270b3a87aeafd1a6689544d340
3f2df01d989a325a70826226562ee19ce69e3ac1
refs/heads/master
2021-01-18T07:14:41.386860
2012-07-27T19:58:41
2012-07-27T19:58:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,799
py
# Fuckin' A. import select, errno, os, sys from subprocess import Popen as OriginalPopen, mswindows class Popen(OriginalPopen): # # Custom code # def __init__(self, *args, **kwargs): hide = kwargs.pop('hide', []) super(Popen, self).__init__(*args, **kwargs) self.hide = hide ...
[ "jeff@bitprophet.org" ]
jeff@bitprophet.org
2c4fb23f9c4fdbb529dd4ae121804e83ea1b1c3f
95673dabd649d4e358921182572e26c3ea21b53a
/PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging/share/.svn/text-base/BTagging_LifetimeTag1D.py.svn-base
ae543dd574131fdbd0959767505ca75b6aa67f7b
[]
no_license
zqhsfz/DoubleBTaggingDF
141deac5f2eca8763dd25c9d10e8458efcd6dd75
80c7c374ea8917c540b7fbfacb84e9e158787269
refs/heads/master
2020-05-31T07:47:47.525578
2015-09-15T20:25:31
2015-09-15T20:25:31
40,974,366
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
if BTaggingFlags.Runmodus == 'analysis': lhVariablesForAnalysis = [ "significance1D" ] # each tagger needs own instance, can't be shared! from JetTagTools.JetTagToolsConf import Analysis__LikelihoodTool myBTagLikelihoodTool1D = Analysis__LikelihoodTool( name ...
[ "zqhsfz@gmail.com" ]
zqhsfz@gmail.com
7e94d265c08c9712028dcbc9b5fd76e240275ddf
ea3bf64156bbb79544bfd6b42bbcd3eda453ac31
/content/Example Based Unit Testing/code-snippets-6/fake_logger.py
362f21c1f7b3dad97bc0e4fff2985f291ce72004
[ "CC-BY-4.0" ]
permissive
Jackiexiong/software-testing-course
563ffc8543fdcff9500f64944fd76e7c0c8e1144
3803851dcf9f7bbd0f0b89fca6c9c5e3a48f22e0
refs/heads/master
2021-07-08T02:10:25.915964
2017-10-04T20:50:51
2017-10-04T20:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from logger_interface import LoggerInterface # A logger that prints the message to the console class FakeLogger(LoggerInterface): def log(self, msg): print("Log: {0}".format(msg)) return True
[ "rvprasad@ksu.edu" ]
rvprasad@ksu.edu
55d76aefd85c06e28422f30adca73fdf7d8a4245
bdc14c302b60114321466cf38f1bf03a75a01eb3
/ImageCollection/overview.py
8e70ddb38b66a61677a64f3e1860366c6f7b755b
[ "MIT" ]
permissive
nishadhka/earthengine-py-notebooks
a09392fc83202884c8b36c76263a9e16f7351d40
fe3edf5189a424ffbedb42d1bc5ed95ff0af3bdb
refs/heads/master
2020-12-21T12:38:54.756294
2020-01-27T01:48:55
2020-01-27T01:48:55
236,433,700
1
0
MIT
2020-01-27T06:42:20
2020-01-27T06:42:19
null
UTF-8
Python
false
false
3,776
py
''' <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/ImageCollection/overview.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> <td><a target="_blank" ...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
9913227f3817aedd27bdd11f4702d2fbab8d619d
36f7e329efaf9f3b37003ef5c769628865f472ec
/Swasthya/accounts/views.py
ea76f5f4c924b52dfa9e2173a08fa78c0599be15
[]
no_license
aolashram/kri-vibe
d40080679f7f37568a8b57c2f7009ce6f6bcbbbc
6d77600c0c6953c3c78ec9a1fdf5a80c6611e162
refs/heads/main
2023-05-31T17:50:09.377629
2021-06-21T04:38:51
2021-06-21T04:38:51
378,806,174
0
0
null
null
null
null
UTF-8
Python
false
false
7,540
py
from django.shortcuts import render,redirect,get_object_or_404 from django.http import HttpResponse,HttpResponseRedirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth import update_session_auth_hash from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.auth...
[ "amalrajrs@gmail.com" ]
amalrajrs@gmail.com
d0be734cfa888c010914e448f0d2dd63394549a3
371f94ee0f44feeaf68d740f24bd9bb27f83c8aa
/app/models.py
410942c28fac8f1f24b4850a6988948f8b172033
[]
no_license
cjredmond/final_proto
f69d62da97428af3d52020054e9a327abbff8d15
28d73c7f25a7e8fae07d78b12964cdefeb3103de
refs/heads/master
2020-09-12T04:57:59.279571
2016-11-11T22:44:47
2016-11-11T22:44:47
73,517,094
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
from django.db import models from django.dispatch import receiver from django.db.models.signals import post_save class League(models.Model): name = models.CharField(max_length=40) limit = models.IntegerField() players = models.ManyToManyField('auth.User') live = models.BooleanField(default=False) ...
[ "connor.redmond@gmail.com" ]
connor.redmond@gmail.com
1e01c1ba08ee6205b00c1018a1d84b557ec98285
1975ecfc048594b1c05913a3c415bf2c233b37d2
/playlist_explanation/src/features/common/month.py
3b238d330ac9041a38d72abe7295ba15b4f2f136
[]
no_license
GiovanniGabbolini/dave
2ad35bbd0abf5aefd1c01436690d647f4b39d82c
e0ad90a5fd5691a8cd5e9b24261fb4d3d82ea91e
refs/heads/master
2023-03-17T06:04:15.127171
2021-03-18T19:31:43
2021-03-18T19:31:43
349,158,307
2
1
null
null
null
null
UTF-8
Python
false
false
160
py
from src.utils.decorator_annotations import annotations @annotations({'entailed': True}) def month(date) -> 'month': return {'value': date['value'].month}
[ "giovanni.gabbolini@gmail.com" ]
giovanni.gabbolini@gmail.com
cc80815dbabf33258057159b78c2d3f260fd1c14
dca653bb975528bd1b8ab2547f6ef4f48e15b7b7
/branches/WX_2_6_BRANCH/wx/lib/docview.py
8f85b4be2fbea554c3b60311d4854262bfca9778
[]
no_license
czxxjtu/wxPython-1
51ca2f62ff6c01722e50742d1813f4be378c0517
6a7473c258ea4105f44e31d140ea5c0ae6bc46d8
refs/heads/master
2021-01-15T12:09:59.328778
2015-01-05T20:55:10
2015-01-05T20:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
109,442
py
#---------------------------------------------------------------------------- # Name: docview.py # Purpose: Port of the wxWindows docview classes # # Author: Peter Yared # # Created: 5/15/03 # CVS-ID: $Id$ # Copyright: (c) 2003-2006 ActiveGrid, Inc. (Port of wxWindows classes by Julian ...
[ "RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775" ]
RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
f3888bab228c0f4298161e76cd505b18d51bbaa7
94838674ffd175df6194437c1ccc3f90ab409d6c
/pillowV3/log/2018-12-30 15:20:06.368004
701e9ab27937735b51af8c0b903a123d9b35cb0b
[]
no_license
WojciechKoz/MyFirstNeuralNetwork
4fdb3140d8f02257599d005638598f78055c1ac8
3cd032aba80ecd71edb0286724ae9ba565b75a81
refs/heads/master
2020-04-02T03:02:48.680433
2020-02-29T17:57:43
2020-02-29T17:57:43
153,943,121
0
0
null
null
null
null
UTF-8
Python
false
false
449,769
368004
#!/usr/bin/env python3 # -*- coding: utf8 -*- from __future__ import print_function # new print() on python2 from datetime import datetime import sys import numpy as np from mnist import MNIST # Display full arrays np.set_printoptions(threshold=np.inf) mndata = MNIST('./data') images_full, labels_full = mndata.loa...
[ "246992@student.pwr.edu.pl" ]
246992@student.pwr.edu.pl
7d44a5a6e361f2c14f3db541f7cea4bec33007e5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03970/s723836566.py
14f3a0f13728d234ce8a48b7ba4b2fff343fe40f
[]
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
113
py
s = input() fact ='CODEFESTIVAL2016' cnt = 0 for i in range(len(s)): if s[i] != fact[i]: cnt += 1 print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b8105707c3b776ccc77bd0d38b25325564279de3
85d150a1b4bcb7a56668209c9e466150f08a0a52
/dev/setup-old.py
0b33f0ae3aa42cc9b19493e327ca6bbbc915eab7
[ "MIT" ]
permissive
banskt/cpydemo
4663667261341a7aedad3c909955983fecd031d6
b8aa2ef7a43866ff2e6440b6209eec71d34306e5
refs/heads/main
2023-07-16T14:14:45.030960
2021-08-28T17:17:10
2021-08-28T17:17:10
360,275,820
0
0
null
null
null
null
UTF-8
Python
false
false
16,726
py
import sys import os import subprocess import setuptools import copy import textwrap from setuptools.command.bdist_egg import bdist_egg from setuptools.command.install import install from setuptools.command.build_ext import build_ext from setuptools import Extension from distutils ...
[ "bnrj.saikat@gmail.com" ]
bnrj.saikat@gmail.com
db154f56ea89f913c7ca67af270e96ea17cc6786
00e044ab93ae740e29c48a01db0f9671c740ae55
/setup.py
417b699ace6fb8a27c7d96a90eb5d1b0e378ef12
[ "BSD-3-Clause" ]
permissive
kalessin/crawlera-sessions
982f73d69bb7f8e6c0b98b39f08d165200d3eb27
52f6eeb28c776d013c4dc46559eb4cede57b893e
refs/heads/master
2023-04-28T12:35:10.088112
2023-03-17T20:12:38
2023-03-17T20:12:38
157,715,690
0
0
BSD-3-Clause
2021-11-22T14:03:24
2018-11-15T13:26:12
Python
UTF-8
Python
false
false
883
py
# Automatically created by: shub deploy from setuptools import setup, find_packages setup( name = 'crawlera-session', version = '1.2.8', description = 'Class that provides decorators and functions for easy handling of crawlera sessions in a scrapy spider.', long_description = open('READM...
[ "molveyra@gmail.com" ]
molveyra@gmail.com
5ac318576d07212bbea01d60ecc2ffa701080d72
870639af1487cf59b548f56c9cd1a45928c1e2c2
/homeassistant/components/hue/v2/entity.py
9bb81c16fa544659af4f2bbfefd017b9b381aa70
[ "Apache-2.0" ]
permissive
atmurray/home-assistant
9f050944d26c084f8f21e8612a7b90c0ae909763
133cb2c3b0e782f063c8a30de4ff55a5c14b9b03
refs/heads/dev
2023-03-19T04:26:40.743852
2021-11-27T05:58:25
2021-11-27T05:58:25
234,724,430
2
0
Apache-2.0
2023-02-22T06:18:36
2020-01-18T11:27:02
Python
UTF-8
Python
false
false
4,310
py
"""Generic Hue Entity Model.""" from __future__ import annotations from aiohue.v2.controllers.base import BaseResourcesController from aiohue.v2.controllers.events import EventType from aiohue.v2.models.clip import CLIPResource from aiohue.v2.models.connectivity import ConnectivityServiceStatus from aiohue.v2.models.r...
[ "noreply@github.com" ]
atmurray.noreply@github.com
f6103c08d17d281520b0332bf0896a292ba689b4
7a4649fa35a0306b120c76e448944ff48539c9cc
/rerun/11_r_downpayment.py
f6953ce828fb427a42f5c0e517e1e209a2ce9edd
[]
no_license
sphilmoon/Python3_tutorial_mosh
58ec9a1abdf801ccb1d88f85de56baa5f6fb4a7f
bb70de5bff7b4d26f58fe1dcdfd4ec4957631bd5
refs/heads/main
2023-01-24T17:51:56.181367
2020-12-06T10:15:00
2020-12-06T10:15:00
294,370,972
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
house_price = 1E6 good_credit = False if good_credit: downpayment = 0.1 * house_price else: downpayment = 0.2 * house_price message = f"My downpayment is: ${downpayment}." print(message)
[ "sphilmoon@gmail.com" ]
sphilmoon@gmail.com
ba471b38a7741ee3be4fb20ad9456b982c45fe2b
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/old_hand/little_way/say_case_in_way/eye/find_little_fact.py
9c9ce14fb0ac99641f3675d853aa3df09b8532f5
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
#! /usr/bin/env python def case(str_arg): use_last_case(str_arg) print('case') def use_last_case(str_arg): print(str_arg) if __name__ == '__main__': case('want_man')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
d96ba463d4ea4a6fbedb6545ef6a125cb4bb83c8
2ca50eb937c02a108bd80f7ed051065f26814921
/fabapp/urls.py
0096ccea0b61d94c6c8603bb5be829a41aa42907
[]
no_license
pythexcel/fab
b868f6e597c61aeb1115e66234f1a2a320a9c3a0
ce548c79e82eaacfd0c9d17d3e63cec64788e292
refs/heads/master
2022-12-15T00:24:10.388924
2021-07-26T07:58:10
2021-07-26T07:58:10
197,142,879
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
from rest_framework.urlpatterns import format_suffix_patterns from django.urls import path as url from fabapp import views urlpatterns = [ url('test', views.Test.as_view()), url('register', views.UserRegister.as_view()), url('login', views.UserAuth.as_view()), url('forget_password', views.UserPassword....
[ "pythexcel@excellencetechnologies.in" ]
pythexcel@excellencetechnologies.in
6e1074fc950074a4da2234e90afc154a5d59de9e
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/tables/5/4_11_table.py
6d45486fdbeaecd83c9e1e5025d319f1596e84f5
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
1,099
py
def load(h): return ({'abbr': 1, 'code': 1, 'title': 'Successive times processed have same forecast time, start time of ' 'forecast is incremented'}, {'abbr': 2, 'code': 2, 'title': 'Successive times processed have same start time...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
88b0815852de541e21c3c0cfa7dc65ce7159519e
3e5150447a2c90c26354500f1df9660ef35c990b
/filesystem/glob()
510ebbface9de3ebf5cbd93a98599bd2daa53893
[]
no_license
kilirobbs/python-fiddle
8d6417ebff9d6530e713b6724f8416da86c24c65
9c2f320bd2391433288cd4971c2993f1dd5ff464
refs/heads/master
2016-09-11T03:56:39.808358
2013-03-19T19:26:19
2013-03-19T19:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
#!/usr/bin/env python from glob import glob print glob("*.py")
[ "cancerhermit@gmail.com" ]
cancerhermit@gmail.com
3bad23447252471f37c8a506d6edc76be962f754
1bf2465e4e43d5b8bcdb8eed0c3fdcd999c34b3b
/telegrambot/views.py
7a7e9c2013ddb5a3cf0e66eff3804fd45a471e1b
[]
no_license
suhailvs/telegram_bot
075874c36fc03189680ad00b1580272efa47e5a1
3f44274a699521dc9b6b737051631932060a7357
refs/heads/main
2023-02-21T20:37:16.931097
2021-01-27T01:46:19
2021-01-27T02:00:46
332,320,890
0
0
null
null
null
null
UTF-8
Python
false
false
3,768
py
import json import requests import random from telegram import InlineKeyboardMarkup, InlineKeyboardButton from django.http import HttpResponse from django.views import generic from django.conf import settings from .models import TelegramUser, CallCount # TELEGRAM_USERNAME = "impress_ai_bot" class TelegramUserList(...
[ "suhailvs@gmail.com" ]
suhailvs@gmail.com
77ca09b513ef3858857f350d2c125052e51fccc2
d4abaedd47e5a3ce3e8aa7893cb63faaa4064551
/codeforce/round/prob2.py
a7ec801c624ce85cb815427de85ab42d2a986f63
[]
no_license
shiv125/Competetive_Programming
fc1a39be10c0588e0222efab8809b966430fe20f
9c949c6d6b5f83a35d6f5f6a169c493f677f4003
refs/heads/master
2020-03-15T19:47:12.944241
2018-05-06T08:18:11
2018-05-06T08:18:11
132,317,356
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
n,m=map(int,raw_input().split()) poland=[] eball=[] for i in range(n): poland.append(raw_input()) for i in range(m): eball.append(raw_input()) count=0 for i in poland: for j in eball: if i==j: count+=1 if (n==m): if (count%2==0): print "NO" else: print "YES" if (n>m): print "YES" if (n<m): print "NO"
[ "shivdutt@shivdutt-Lenovo-G50-80" ]
shivdutt@shivdutt-Lenovo-G50-80
81ada3c6cb6e387b1daabe2e40f08f6d07d52e69
0e7bf6fcd21e80beaad4257861be33b5ec226151
/scripts/tyler/createDatacardsBetterPlots.py
460c7db42081c9d92344bf3d644dbfafa723e780
[]
no_license
DryRun/StatisticalTools
528422edaf110611e5dc29e870a0370d8a0ad245
20aa23fd7630272fd5847a9121cd263001c334f9
refs/heads/master
2021-01-15T08:41:36.373770
2017-11-21T20:06:25
2017-11-21T20:06:25
59,477,777
0
0
null
2016-05-23T11:39:32
2016-05-23T11:39:32
null
UTF-8
Python
false
false
34,636
py
#!/usr/bin/env python import sys, os, copy, re from argparse import ArgumentParser from array import array import ROOT ROOT.gROOT.SetBatch(True) #if not os.path.exists(os.path.join(os.environ["CMSSW_BASE"],"src/HiggsAnalysis/CombinedLimit/src/PdfDiagonalizer_cc.so")): # ROOT.gROOT.ProcessLine(".L " + os.path.join(...
[ "david.renhwa.yu@gmail.com" ]
david.renhwa.yu@gmail.com