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
afa46d68ecf6d61c6df7864fbb08ae004dd62027
47a3a59288792f654309bfc9ceb6cbfa890720ef
/ramda/pick_all_test.py
c1dcb75e4e093273553227d190646a1b2ddff6d4
[ "MIT" ]
permissive
jakobkolb/ramda.py
9531d32b9036908df09107d2cc19c04bf9544564
982b2172f4bb95b9a5b09eff8077362d6f2f0920
refs/heads/master
2023-06-23T00:46:24.347144
2021-02-01T16:47:51
2021-02-01T16:48:25
388,051,418
0
0
MIT
2021-07-21T16:31:45
2021-07-21T08:40:22
null
UTF-8
Python
false
false
317
py
from ramda import * from ramda.private.asserts import * def pick_all_test(): assert_equal( pick_all(["a", "d"], {"a": 1, "b": 2, "c": 3, "d": 4}), {"a": 1, "d": 4} ) assert_equal( pick_all(["a", "e", "f"], {"a": 1, "b": 2, "c": 3, "d": 4}), {"a": 1, "e": None, "f": None}, )
[ "slava.ganzin@gmail.com" ]
slava.ganzin@gmail.com
e185236b6376cf931550d58de7dbc40d13c29ad2
1e0e610166b36e5c73e7ff82c4c0b8b1288990bf
/scrapy/scrapy28.py
6f5341d26d3402dea78b84c8a0d584f884360945
[]
no_license
PythonOpen/PyhonProjects
4ef1e70a971b9ebd0eb6a09e63e22581ad302534
ede93314009564c31aa586d2f89ed8b1e4751c1b
refs/heads/master
2022-05-20T23:21:03.536846
2020-04-27T00:59:32
2020-04-27T00:59:32
250,142,108
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
import re ''' findall ''' hello = u'您好,世界!' s = r'[\u4e00-\u9fa5]+' pattern = re.compile(s) m = pattern.findall(hello) print(m)
[ "1083138609@qq.com" ]
1083138609@qq.com
c40ac47c517727668db2d5ecdab88a29f78e49cd
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/application_command/application_command_option_metadata/tests/test__ApplicationCommandOptionMetadataFloat__magic.py
5f59bf9f28ed267aba57cdf79310534c0cbe8d27
[ "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
2,571
py
import vampytest from ...application_command_option_choice import ApplicationCommandOptionChoice from ..float import ApplicationCommandOptionMetadataFloat def test__ApplicationCommandOptionMetadataFloat__repr(): """ Tests whether ``ApplicationCommandOptionMetadataFloat.__repr__`` works as intended. """ ...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
1cb3e56193bf9836e2e816dd830b90e36338db8b
490ffe1023a601760ae7288e86723f0c6e366bba
/kolla-docker/python-zunclient/zunclient/osc/v1/images.py
4af97886c8048a0d97904f5372e7928a39594407
[ "Apache-2.0" ]
permissive
bopopescu/Cloud-User-Management
89696a5ea5d2f95191327fbeab6c3e400bbfb2b8
390988bf4915a276c7bf8d96b62c3051c17d9e6e
refs/heads/master
2022-11-19T10:09:36.662906
2018-11-07T20:28:31
2018-11-07T20:28:31
281,786,345
0
0
null
2020-07-22T21:26:07
2020-07-22T21:26:06
null
UTF-8
Python
false
false
5,747
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 under the Li...
[ "Mr.Qinlichao@hotmail.com" ]
Mr.Qinlichao@hotmail.com
605b9fe4d1a7957cb2c55e30fa0363e03ff3f7eb
8bde826917476ba95bd3e9b4c33d4b28284c1774
/bin/fasta2phylip.py
20c4f9be477fe93b9186aee62a7a87c516416368
[]
no_license
rpetit3-education/ibs594-phylogenetics
2935d2ea3ba0ab41967cb0ddf42a2850328034e4
f39048354d636300ba1a2067a0bdc5f0c6bddc95
refs/heads/master
2020-05-29T12:27:21.973218
2014-10-08T01:42:56
2014-10-08T01:42:56
24,832,930
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
#! /usr/bin/env python ''' ''' import sys from Bio import AlignIO input_handle = open(sys.argv[1], "rU") output_handle = open(sys.argv[2], "w") alignments = AlignIO.parse(input_handle, "fasta") AlignIO.write(alignments, output_handle, "phylip") output_handle.close() input_handle.close()
[ "robbie.petit@gmail.com" ]
robbie.petit@gmail.com
a8a8b14820fcddd5bd55fd019f52ee57c7ff3a51
de9bd97adcbe4d278a1bf1d5f9107e87b94366e1
/coding_solutions/Day9(28-05-2020)/Program2.py
31f78a9bb4008fe640973829d9b4d7bc8af22e25
[]
no_license
alvas-education-foundation/ANUSHA_4AL17CS007
6ed2957d6d1b1b1f2172de3c8ba6bfd3f886aab9
031849369448dd60f56769abb630fc7cf22fe325
refs/heads/master
2022-10-29T10:49:23.188604
2020-06-15T15:50:00
2020-06-15T15:50:00
267,532,875
0
1
null
null
null
null
UTF-8
Python
false
false
366
py
#Python program to find digital root of a #number n = int(input("Enter the digit\n")) def digital_root(n): m = len(str(n)) s=0 for i in range(m): s = s+ n%10 n = n//10 print(s) if(len(str(s))>1): return(digital_root(s)) print(digital_root(n)) Output: Enter the...
[ "noreply@github.com" ]
alvas-education-foundation.noreply@github.com
6841b5f8f2844439542581821019d5fd11329764
07f837d8c5236fe5e75ef510cd296814452370ce
/py/four_hour_cloud.py
220c212f5dfc9d69fd0d4fccfd0d8b1a5659a04f
[ "Apache-2.0" ]
permissive
vkuznet/h2o
6f9006a5186b964bac266981d9082aec7bc1067c
e08f7014f228cbaecfb21f57379970e6a3ac0756
refs/heads/master
2021-08-28T11:37:52.099953
2021-08-10T22:43:34
2021-08-10T22:43:34
20,032,996
0
0
Apache-2.0
2021-08-10T22:43:35
2014-05-21T18:46:27
Java
UTF-8
Python
false
false
3,693
py
#!/usr/bin/python import unittest, time, sys, random, datetime sys.path.extend(['.','..','py','../h2o/py','../../h2o/py']) import h2o, h2o_hosts, h2o_cmd, h2o_browse as h2b import h2o_print as h2p beginning = time.time() def log(msg): print "\033[92m[0xdata] \033[0m", msg CHECK_WHILE_SLEEPING = False print "Don'...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
51d94bb10630aafec0640620432c3ebe407246a3
f5b5a6e3f844d849a05ff56c497638e607f940e0
/capitulo 06/06.32 - Programa 6.10 Transformacao de range em uma lista.py
51cd535815fbd14cb32451d366d9badde5012cb3
[]
no_license
alexrogeriodj/Caixa-Eletronico-em-Python
9237fa2f7f8fab5f17b7dd008af215fb0aaed29f
96b5238437c88e89aed7a7b9c34b303e1e7d61e5
refs/heads/master
2020-09-06T21:47:36.169855
2019-11-09T00:22:14
2019-11-09T00:22:14
220,563,960
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "noreply@github.com" ]
alexrogeriodj.noreply@github.com
0f8f10c674666f80a8dfb7dc011afc0af5ca45d6
41e69a518ff146ef299e9b807a7a96428effd958
/test/test_full_operations_operation.py
ef25b6c9c5cb0a0793bc2948de26f0953af9ea2b
[]
no_license
daxslab/enzona-payment-python
40797a8aea7d7185ad04fe401c4f699cb1d93309
9a7721445cc1331e14687374df872f911a565305
refs/heads/master
2022-07-13T15:34:53.171246
2020-05-16T04:18:51
2020-05-16T04:18:51
264,357,269
2
1
null
null
null
null
UTF-8
Python
false
false
1,007
py
# coding: utf-8 """ PaymentAPI No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "ccesar@daxslab.com" ]
ccesar@daxslab.com
247f95d2dd1ba8c30dc05f432d9df8ab67e809ea
cd995dbf44647858e092f22fd99228b3aadc138a
/16 트라이/56 트라이 구현.py
a9e65658e8ed722ea191413bbcd928d182b72dc5
[]
no_license
Wooyongjeong/python-algorithm-interview
ed970ae046bd65ac46fd4f42aaa386f353f97233
c134dbb1aaff5f4c7aa930be79fcdf1dfad62cec
refs/heads/master
2023-08-17T04:51:19.727919
2021-10-07T14:29:24
2021-10-07T14:29:24
398,216,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
import collections # 풀이 1. 딕셔너리를 이용해 간결한 트라이 구현 # 트라이의 노드 class TrieNode: def __init__(self): self.word = False self.children = collections.defaultdict(TrieNode) class Trie: def __init__(self): """ Initialize your data structure here. """ self.root = TrieNode()...
[ "wooyong.dev@gmail.com" ]
wooyong.dev@gmail.com
2f1752c2bb239fc015ffd2b4a91ad7011d473660
177c2393fb86c6fbcc1e995a60805e4a6b901aae
/Sesion-02/Banco/tarjeta/views.py
d3de642d321bb86fe5f489875cbfc164f93fcf53
[]
no_license
rctorr/TECP0008FUPYCMX2001
bc6a11e33486be2ccb5d2b79a9a64ba5e48a24f4
419635f02de189b91a06a9b366950320dfb0e00e
refs/heads/master
2023-05-20T22:37:25.194835
2021-06-08T03:12:37
2021-06-08T03:12:37
370,964,281
1
1
null
null
null
null
UTF-8
Python
false
false
164
py
from django.shortcuts import render # Create your views here. def index(request): """ Atiende la petición GET / """ return render(request, "tarjeta/index.html")
[ "rictor@cuhrt.com" ]
rictor@cuhrt.com
eda95050e4aab8b87d5ef0e01e7b3dd35478760f
d0bd9c3c5539141c74e0eeae2fa6b7b38af84ce2
/tests/test_data/test_molecular_weight.py
6743fdd25cc4c253454be447b8c4c52f01c76f3a
[ "BSD-3-Clause" ]
permissive
KaneWh1te/cogent3
150c72e2f80a6439de0413b39c4c37c09c9966e3
115e9eb5700627fdb24be61441a7e3e155c02c61
refs/heads/master
2023-07-29T00:32:03.742351
2021-04-20T04:32:00
2021-04-20T04:32:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
#!/usr/bin/env python """Tests for molecular weight. """ from unittest import TestCase, main from cogent3.data.molecular_weight import ProteinMW, RnaMW __author__ = "Rob Knight" __copyright__ = "Copyright 2007-2021, The Cogent Project" __credits__ = ["Rob Knight"] __license__ = "BSD-3" __version__ = "2021.04.20a" __...
[ "Gavin.Huttley@anu.edu.au" ]
Gavin.Huttley@anu.edu.au
687ceb831757b55f605ca7582082dad5862e647f
aab50ee31f6107fd08d87bd4a93ded216eebb6be
/com/baizhi/杜亚博作业/杜亚博_9.5/杜亚博_9.24.py
e22353a598b8ddc8afb188119acb08d6855be8a8
[]
no_license
dyb-py/pk
deaf50988694475bdfcda6f2535ba0e728d79931
b571b67a98fa0be6d73cccb48b66386bc4dfd191
refs/heads/master
2020-12-29T15:06:20.294353
2020-02-06T09:05:08
2020-02-06T09:05:08
238,646,794
1
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
#1 # SyntaxError 语法错误 #2 #下标越界 IndexError #3 #属性错误 AttributeError #4 #KeyError #5 # SyntaxError #6 # NameError #7 # # UnboundLocalError #8 # try-except 之类的语句来处理异常 #9 # 可以, 因为异常有多种 多个except可以捕捉多个异常 #10 #自定义异常类 直接或间接继承BaseException #except捕捉一切异常 #except(异常1,异常2.。。) #11 #不建议 可读性极差 出现异常后 不清楚是那种异常 不好维护 #12 #用fina...
[ "m15935117233@163.com" ]
m15935117233@163.com
4a109b25566b48449fcf3d5d6534a0e68f5e82a2
4341e83359d5dddbfb67998e456d4d053fb73b71
/web_deployment/admin/catlog/apps.py
662d3e5de0afd4a124f9e2f58e8bf8838c155df9
[]
no_license
ArulFranklin08/django-deployments
1c1ef80356f37b33d9ee86bcd65f032b4d1d31ee
74938f5d946af646d7a54be0766b6b1dde59ff3d
refs/heads/main
2023-02-01T17:40:39.045299
2020-12-15T07:46:20
2020-12-15T07:46:20
321,590,952
0
1
null
null
null
null
UTF-8
Python
false
false
109
py
#!/usr/bin/env python from django.apps import AppConfig class CatlogConfig(AppConfig): name = 'catlog'
[ "arulfranklin1996@gmail.com" ]
arulfranklin1996@gmail.com
0d13290dc44ec8593cb073a1ca94340e77ff9ea9
146db8cd0f775e0c4d051ea675bd147f1cb08503
/old/md-service/SMDS/timestamp.py
e0bd0bdf1daac67b56a62833456e03a8e2b03702
[ "Apache-2.0" ]
permissive
syndicate-storage/syndicate
3cb4a22a4ae0d92859f57ed4634b03f1665791e4
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
refs/heads/master
2020-04-14T19:59:42.849428
2016-03-24T15:47:49
2016-03-24T15:47:49
10,639,326
16
6
null
null
null
null
UTF-8
Python
false
false
5,873
py
# # Utilities to handle timestamps / durations from/to integers and strings # # $Id: Timestamp.py 18344 2010-06-22 18:56:38Z caglar $ # $URL: http://svn.planet-lab.org/svn/PLCAPI/trunk/PLC/Timestamp.py $ # # # datetime.{datetime,timedelta} are powerful tools, but these objects are not # natively marshalled over xmlrpc...
[ "jcnelson@cs.princeton.edu" ]
jcnelson@cs.princeton.edu
93f760d29e6465c846af2a2e81bf5e01ba327359
4c67533d6d5183ed985288a55631fe1c99b5ae21
/448.py
9f64bb067dba432831726c47da96cfac37b25b7d
[]
no_license
Jiongxiao/Leetcode
546f789a0d892fe56d7f53a41aa97ccb2a8e1813
641775f750a1197f9aaa23e5122b0add2ae064ee
refs/heads/master
2021-01-17T01:11:35.970423
2017-09-21T07:04:52
2017-09-21T07:04:52
56,422,836
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
class Solution(object): def findDisappearedNumbers(self, nums): """ :type nums: List[int] :rtype: List[int] """ for i in range(len(nums)): nums[abs(nums[i])-1]=-abs(nums[abs(nums[i])-1]) return [j+1 for j in range(len(nums)) if nums[j]>0]
[ "tctjx@hotmail.com" ]
tctjx@hotmail.com
2c478fb713f273ebcc755c97aa70348d66391179
fea44d5ca4e6c9b2c7950234718a4531d453849e
/sktime/forecasting/tests/test_sarimax.py
17fdd9984ebd6c8806270391fc1ea39884dc931e
[ "BSD-3-Clause" ]
permissive
mlgig/sktime
288069ab8c9b0743113877032dfca8cf1c2db3fb
19618df351a27b77e3979efc191e53987dbd99ae
refs/heads/master
2023-03-07T20:22:48.553615
2023-02-19T18:09:12
2023-02-19T18:09:12
234,604,691
1
0
BSD-3-Clause
2020-01-17T17:50:12
2020-01-17T17:50:11
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- """Tests the SARIMAX model.""" __author__ = ["TNTran92"] import pytest from numpy.testing import assert_allclose from sktime.forecasting.sarimax import SARIMAX from sktime.utils._testing.forecasting import make_forecasting_problem from sktime.utils.validation._dependencies import _check_soft_d...
[ "noreply@github.com" ]
mlgig.noreply@github.com
8bbeda72f37a50488eb26bdbe34f50cb14917af4
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0459-Repeated-Substring-Pattern/soln.py
4ebac002c8929e3bbc180c53514482b5e1dc4e61
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
158
py
class Solution: def repeatedSubstringPattern(self, s): """ :type s: str :rtype: bool """ return s in (s + s)[1:-1]
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
947b2fcbdca5e1cac34017bc1c75d05e106a4700
9f79c4f9a8a9154fc3dc9202ab8ed2547a722b5f
/Dictionaries/char_count.py
6e73cf6fa167e94d9894e7ca32f38daa5956f09f
[]
no_license
grigor-stoyanov/PythonFundamentals
31b6da00bd8294e8e802174dca4e62b231134090
5ae5f1f1b9ca9500d10e95318a731d3b29950a30
refs/heads/main
2023-02-11T12:17:19.010596
2021-01-14T22:14:54
2021-01-14T22:14:54
321,658,096
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
line = input().split() char_dic = {} for word in line: for char in range(0, len(word)): if word[char] not in char_dic: char_dic[word[char]] = 1 else: char_dic[word[char]] += 1 for key, value in char_dic.items(): print(f'{key} -> {value}')
[ "76039296+codelocks7@users.noreply.github.com" ]
76039296+codelocks7@users.noreply.github.com
8c13f655d8ae98bb3e994fd2181dfbed06df9aa9
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/scaleform/locale/quests.py
d092b4f53be4bc89915ed7d17202ae9982bd837c
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
66,835
py
# Embedded file name: scripts/client/gui/Scaleform/locale/QUESTS.py class QUESTS(object): IGR_TOOLTIP_BATTLESLABEL = '#quests:igr/tooltip/battlesLabel' IGR_TOOLTIP_WINSLABEL = '#quests:igr/tooltip/winsLabel' POSTBATTLE_PROGRESSRESET = '#quests:postBattle/progressReset' TOOLTIP_PROGRESS_GROUPBY_HEADER ...
[ "info@webium.sk" ]
info@webium.sk
0bb6bbb5cb9dab50c91c9d10e108fdd734f381b9
c77b2f06a971d5e77a3dc71e972ef27fc85475a5
/algo_ds/_general/pattern_matching_naive.py
b1c431aa83f479f3a7c749328a24bc2fee5b1372
[]
no_license
thefr33radical/codeblue
f25520ea85110ed09b09ae38e7db92bab8285b2f
86bf4a4ba693b1797564dca66b645487973dafa4
refs/heads/master
2022-08-01T19:05:09.486567
2022-07-18T22:56:05
2022-07-18T22:56:05
110,525,490
3
6
null
null
null
null
UTF-8
Python
false
false
321
py
''' txt[] = "THIS IS A TEST TEXT" pat[] = "TEST" ''' import re def compute(): txt= "THIS IS A TEST TEXT TEST" pat = "TEST" m = re.search(pat, txt) print(m.span()) if pat in txt: print("yes") if __name__=="__main__": compute(...
[ "imperial.gauntlet@gmail.com" ]
imperial.gauntlet@gmail.com
0da0f290f94f52c7dd23b74744834633d0fd949c
e5135867a8f2f5923b21523489c8f246d9c5a13a
/kaleo/management/commands/infinite_invites.py
b69ea50f7cd1935b122e67b8b0c4cb9bd4126e13
[ "BSD-3-Clause" ]
permissive
exitio/kaleo
01574cc0675211a586995e08a4e19b6a1c9063ee
53e73e0acf3429d83b45e6b22b1a6ec76ac69c12
refs/heads/master
2021-01-21T01:27:44.609605
2013-01-31T15:50:10
2013-01-31T15:50:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
import sys from django.core.management.base import BaseCommand from django.contrib.auth.models import User from kaleo.models import InvitationStat class Command(BaseCommand): help = "Sets invites_allocated to -1 to represent infinite invites." def handle(self, *args, **kwargs): for user in Use...
[ "me@ntucker.me" ]
me@ntucker.me
d924c27a884790f3eccceeacebb5b4ef409f3586
da5ef82554c6c0413193b7c99192edd70fed58dd
/mozdns/soa/tests.py
529c22573446ed774dbfbfa53a43c6d989673fa2
[]
no_license
rtucker-mozilla/mozilla_inventory
d643c7713c65aa870e732e18aaf19ce677e277b7
bf9154b0d77705d8c0fe1a9a35ce9c1bd60fcbea
refs/heads/master
2020-12-24T17:17:37.621418
2013-04-11T10:39:41
2013-04-11T10:39:41
2,709,399
1
2
null
null
null
null
UTF-8
Python
false
false
5,757
py
from django.test import TestCase from django.core.exceptions import ValidationError from mozdns.soa.models import SOA from mozdns.domain.models import Domain class SOATests(TestCase): def setUp(self): pass def do_generic_add(self, primary, contact, retry, refresh, description): soa = SOA(pri...
[ "uberj@onid.orst.edu" ]
uberj@onid.orst.edu
a2556ca3423248387c4752f977fd8c4b52bd63ec
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/135/usersdata/224/45859/submittedfiles/OBI.py
5fea3ee2b17d98501bf3732ea5e8dc6b5487efd9
[]
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
278
py
# -*- coding: utf-8 -*- N=int(input('Digite o numero de competidores: ')) P=int(input('Digite o numero mínimo de ponto para as duas fases: ')) somA=o i=1 for i in range(1.n+1,1): x=int(input('Nota1: ')) y=int(input('Nota2: ')) if x+y==P: soma=soma+1 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b13cac275f608ebea67b00f70a7d5e7ec19afebe
fa247fbb7755cf21fa262b02fa6c36a19adae55a
/manage.py
d344b73c096cab159e05d4a868f32b29a1888f88
[]
no_license
crowdbotics-apps/csantosmachadogmailco-897
9ea0f851badc9678a8148ea051131eaa711b26de
b76954f678212ece02777d3deebb3e571bfb578c
refs/heads/master
2022-12-13T12:51:23.337978
2019-02-07T13:01:07
2019-02-07T13:01:07
169,572,262
0
0
null
2022-12-08T01:37:36
2019-02-07T12:59:48
Python
UTF-8
Python
false
false
823
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "csantosmachadogmailco_897.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d14ce4d4e3bde8dff86cf8596a0610aa6ce7e652
210e88536cd2a917fb66010ff69f6710b2261e8e
/games/migrations/0002_auto__add_field_game_is_over.py
ab9299348edd60d9b0e5600523b1bc7cd285f9ce
[]
no_license
tlam/multiverse_sidekick
e5ef1fa908c6fd3fee4d816aa1776b7243075e8c
9211e4cb36611088420a79666f0c40ecb0a6b645
refs/heads/master
2020-04-17T08:30:28.396623
2015-08-27T03:36:47
2015-08-27T03:36:47
9,423,955
0
0
null
null
null
null
UTF-8
Python
false
false
3,875
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): # Adding field 'Game.is_over' db.add_column(u'games_game', 'is_over', self.gf('django....
[ "lamthierry@gmail.com" ]
lamthierry@gmail.com
d1d2b859904e2d714def63d27148d911b68e70b9
43e900f11e2b230cdc0b2e48007d40294fefd87a
/Facebook/PhoneInterview/shortest_job_first.py
02f0c808d6aad85a7f1028a46e84e57fdcc92298
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
1,058
py
import heapq class process: def process(self, arr, exe): self.arrTime = arr self.exeTime = exe class Solution: def shortest_job_first(self, req, dur): if req == None or dur == None or len(req) != len(dur): return 0 index, length = 0, len(req) waitTime, curTime...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
ee5988f7474b4fc537308710e17b74a741581fd1
d8ea695288010f7496c8661bfc3a7675477dcba0
/django/ewm/file/admin.py
edbb70030fbb242451d77d39501bf657b1b2fdb1
[]
no_license
dabolau/demo
de9c593dabca26144ef8098c437369492797edd6
212f4c2ec6b49baef0ef5fcdee6f178fa21c5713
refs/heads/master
2021-01-17T16:09:48.381642
2018-10-08T10:12:45
2018-10-08T10:12:45
90,009,236
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
from django.contrib import admin from file.models import * ### # 注册附件信息数据库模型和自定义功能 ### @admin.register(File) class FileAdmin(admin.ModelAdmin): ### # 管理中要显示的字段名称 ### list_display = [ 'file_name', # 'manufacturer_name', # 'model_specification', # 'equipme...
[ "dabolau@qq.com" ]
dabolau@qq.com
04153bb5d37ce2d86223a0bd652aa1f3ce650c12
4a344071b0dc0e43073f5aa680dc9ed46074d7db
/azure/mgmt/network/models/network_management_client_enums.py
5f0cd8bb7a6b49af179f7ff4a5221d9d397fba4a
[]
no_license
pexip/os-python-azure-mgmt-network
59ee8859cda2a77e03c051d104b1e8d2f08c1fe3
fa4f791818b8432888c398b3841da58e5aeb370b
refs/heads/master
2023-08-28T05:02:29.843835
2017-02-28T11:38:16
2017-02-28T11:47:18
54,524,386
0
0
null
null
null
null
UTF-8
Python
false
false
5,166
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. # C...
[ "jmb@pexip.com" ]
jmb@pexip.com
0fe2a3ee5bcbf151df129e38ff5051b969889aca
d9dcbd9f4dc60ab752670d2b7025c2da05f6d69d
/study_day12_flask01/15_hook.py
61dfd8866cf5d20895859f744a5ca530dfbbfdc9
[]
no_license
chenliang15405/python-learning
14c7e60c794026b1f2dadbbbe82f63e4745b0c23
6de32a1c9b729e9528b45c080e861b3da352f858
refs/heads/master
2020-08-28T12:21:07.544254
2020-01-04T10:49:50
2020-01-04T10:49:50
217,696,366
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
""" 请求的钩子 """ from flask import Flask, request app = Flask(__name__) @app.route("/hello") def index(): print("hello 执行") return "login success" # 相当于程序启动之后在处理第一个请求的时候执行的函数 @app.before_first_request def index(): print("第一次请求处理前执行") @app.before_request def index(): print("每次请求之前都被执行") @app.after...
[ "1165243776@qq.com" ]
1165243776@qq.com
4d3956aca08cd84cabb584e92a9c96a95ef34502
11cf40946c55b47886cfe8777916a17db82c2309
/ex8.py
717dbf1941b429dd3f54602f98d5e4661d89267e
[]
no_license
dalalsunil1986/python_the_hard_way_exercises
fc669bf2f823a4886f0de717d5f1ca0d0233f6af
bc329999490dedad842e23e8447623fd0321ffe0
refs/heads/master
2023-05-03T01:35:24.097087
2021-05-16T00:43:56
2021-05-16T00:43:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
formatter = "{} {} {} {}" print(formatter.format(1, 2, 3, 4)) print(formatter.format("one", "two", "three", "four")) print(formatter.format(formatter, formatter, formatter, formatter)) print(formatter.format( "Try your", "Own text", "Maybe a", "Or some bs" ))
[ "mathiasgreg@gmail.com" ]
mathiasgreg@gmail.com
bf8de6800a12c7d01677b1d90a2bcfdcc875683f
c68c841c67f03ab8794027ff8d64d29356e21bf1
/Sort Letters by Case.py
df083f821551643b58d7653b6921c678258e3104
[]
no_license
jke-zq/my_lintcode
430e482bae5b18b59eb0e9b5b577606e93c4c961
64ce451a7f7be9ec42474f0b1164243838077a6f
refs/heads/master
2020-05-21T20:29:11.236967
2018-06-14T15:14:55
2018-06-14T15:14:55
37,583,264
8
2
null
null
null
null
UTF-8
Python
false
false
593
py
class Solution: """ @param chars: The letters array you should sort. """ def sortLetters(self, chars): # write your code here if not chars: return None length = len(chars) left, pivot, right = 0, 0, length - 1 while left <= right: ...
[ "jke0zq@gmail.com" ]
jke0zq@gmail.com
787c2274a31c79dfdceb6628ae8aab2f7590a368
630e5fa4fec4cee4b6936eec74a726550406c11f
/test/functional/rpc_bip38.py
93dfb7a50712e55599f4be7defa4821459115c3a
[ "MIT" ]
permissive
crypTuron/PengolinCoin-Core
4d815d25de927d42dc890379d15738ee728c525e
3d6c66dd930110075ff44ee6f5a4364c533becd7
refs/heads/master
2022-11-24T21:17:56.271853
2020-07-23T13:49:52
2020-07-23T13:49:52
282,408,670
0
0
MIT
2020-07-25T09:04:22
2020-07-25T09:04:21
null
UTF-8
Python
false
false
1,016
py
#!/usr/bin/env python3 # Copyright (c) 2018 The PENGOLINCOIN developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC commands for BIP38 encrypting and decrypting addresses.""" from test_framework.test_framework impo...
[ "alonewolf2ksk@gmail.com" ]
alonewolf2ksk@gmail.com
8c24d77f85ac64da80cb0bd41fae46738e54e830
b085f79c4dbc07557e4c82f71628f44d1a2a3c55
/accounts/migrations/0003_auto_20160922_0338.py
0027cb116306145f49ab57259bd0c0c132400216
[]
no_license
HugOoOguH/ctlTwynco
6c1fd856871243cacc5668cd2ff619130d82c460
6d88b4a1a35ce585f6ee2df0372aac948a6b2955
refs/heads/master
2020-09-27T16:59:36.790096
2016-09-22T05:25:04
2016-09-22T05:25:04
66,982,996
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-22 03:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20160920_2010'), ] operations = [ migrations.RemoveFiel...
[ "hugo-ensc@outlook.com" ]
hugo-ensc@outlook.com
030e52259d44d34774c35c42d1d85544d7bbead2
0f7e18a483a44352dfac27137b8d351416f1d1bb
/tools/extract_gif.py
2954d57a2760b14fc8ed5596e03e11684e3c682c
[]
no_license
rinoshinme/slim_finetune
b5ec4ed53a2d6c15dfa5b4cfb73677ccb58a4aa6
1e465e3faff668e65cc873828057365114d4cfb1
refs/heads/master
2022-11-07T21:02:38.253001
2022-11-02T14:48:45
2022-11-02T14:48:45
199,089,723
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
""" Extract image frames from gif files. """ import cv2 import os def read_gif(gif_file, write_folder, name_prefix): capture = cv2.VideoCapture(gif_file) cnt = 1 while True: ret, frame = capture.read() if not ret: break save_name = os.path.join(write_folder, '%s_%06d....
[ "rinoshinme@163.com" ]
rinoshinme@163.com
9a303d5a18b1917d5e0ff10d6430ce6a4b6bd086
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/tools/perf/page_sets/blink_memory_mobile.py
40b5f134886c79490da62c0fdd3e8fdc1c01ea0c
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-2.0-only", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
5,080
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging from telemetry.page import page as page_module from telemetry.page import shared_page_state from telemetry import story from page_sets.login...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
c3d90ec27fcc681bfa880229fd4e3c3d7269f3d8
9de3cd1f8d66e223b7f193776376147136321b30
/tests/test_cookie_storage.py
80d9dbd52236af389425acd1c41c63ce277620ad
[ "Apache-2.0" ]
permissive
kolko/aiohttp_session
223b5eaf8c291407f289e20efe692a0afef31bca
8df78b3d7bd5623f82ff8171c9d947107421f4ce
refs/heads/master
2021-01-18T09:43:10.928082
2015-08-06T16:15:51
2015-08-06T16:15:51
40,311,233
0
0
null
2015-08-06T15:06:58
2015-08-06T15:06:58
null
UTF-8
Python
false
false
5,099
py
import asyncio import json import socket import unittest from aiohttp import web, request from aiohttp_session import (Session, session_middleware, get_session, SimpleCookieStorage) class TestSimleCookieStorage(unittest.TestCase): def setUp(self): self.loop = asyncio.new_eve...
[ "andrew.svetlov@gmail.com" ]
andrew.svetlov@gmail.com
64010d201f6a37108148ac511448e0bfea8f5f95
2d9a17e2b896d2f6a90913a4ba02d41f0ede5dd0
/_gsinfo/qiyecxb/test.py
8290bb75e875e96e55b8b937147c849a9ba5f19c
[]
no_license
wolfwhoami/xxxxx
1cf2ed2c8ed78048d87cccf2953ca86c0871a783
670787ec71127bc05c1645cc3d8ef7c3a91fe84b
refs/heads/master
2020-03-30T00:44:55.864817
2016-12-16T01:45:03
2016-12-16T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,842
py
#!/usr/bin/env python # -*- coding:utf8 -*- import os import sys sys.path.append(sys.path[0]+"/..") from spider.spider import Spider from spider.httpreq import SessionRequests, CurlReq import spider.util import pycurl import cutil import json import abc from spider.runtime import Log import time import base64 from Cry...
[ "jianghao@ipin.com" ]
jianghao@ipin.com
9d4365826dd9af614ce9b518bc6de82921605311
621a865f772ccbab32471fb388e20b620ebba6b0
/compile/gameserver/data/scripts/quests/378_MagnificentFeast/__init__.py
b971073fd517a5f3915abefa119d21a16ab52a08
[]
no_license
BloodyDawn/Scions_of_Destiny
5257de035cdb7fe5ef92bc991119b464cba6790c
e03ef8117b57a1188ba80a381faff6f2e97d6c41
refs/heads/master
2021-01-12T00:02:47.744333
2017-04-24T06:30:39
2017-04-24T06:30:39
78,662,280
0
1
null
null
null
null
UTF-8
Python
false
false
3,714
py
# Magnificent Feast - v0.1 by DrLecter (adapted for L2JLisvus by roko91) import sys from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "378_MagnificentFeast" #NPC RANSPO = 7594 #...
[ "psv71@yandex.ru" ]
psv71@yandex.ru
ad1bf68a660e4ab9ea3514eb7a9d1c009dd6e56d
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.3/django/contrib/gis/gdal/base.py
642a7c541e681e266343d47f00fbee2db2507210
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
97
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/django/contrib/gis/gdal/base.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
551fbca4a6614d91516633237c0818a95fb45e7d
986630b72263dc5db7acb2d617d989111bc23649
/urbanizze/map/migrations/0006_terreno_setor.py
29d7b9ccb761a532bcf7f9d2fab2d7b746bb9e42
[]
no_license
marcellobenigno/urbanizze
afbef6d45077ed93e0edd3abf21d167561659914
ca11fa55846030a75e8d4815e13dcd1df89ff421
refs/heads/master
2022-08-13T03:55:32.269185
2019-08-08T10:33:42
2019-08-08T10:33:42
201,235,674
1
2
null
2021-12-13T20:07:21
2019-08-08T10:31:30
JavaScript
UTF-8
Python
false
false
510
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-20 01:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('map', '0005_setor'), ] operations = [ migrations.AddField( mode...
[ "benigno.marcello@gmail.com" ]
benigno.marcello@gmail.com
56104be7b888315ad95f9167b9242fd41724b8e4
c93c88d7e45cfcf05822c701a1c1dafee8153347
/projects/cs102/circle_of_squares.py
fd97d939c1fb1f0196448c0b8b062ffd70ff92aa
[]
no_license
timisenman/python
b7c09f6377e9a28787fce7b0ade6cab499691524
9ea6b6605bd78b11b981ca26a4b9b43abe449713
refs/heads/master
2020-05-21T22:46:50.502488
2017-01-18T22:54:23
2017-01-18T22:54:23
63,548,164
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#A Circle of Squares #Either creates a draw square function, #and rotate it 10 degrees 36 times. import turtle def draw_square(a_turtle): for i in range(1,5): a_turtle.forward(100) a_turtle.right(90) def draw_art(): window = turtle.Screen() window.bgcolor("blue") brad = turtle....
[ "tim.isenman@gmail.com" ]
tim.isenman@gmail.com
5d02379f98ac637617a3f89c3ac250ecf7787fbd
52b5773617a1b972a905de4d692540d26ff74926
/.history/knapsack_20200708153620.py
dd426fbe9706b3c9e39d8c8e2e1af773190273a4
[]
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
656
py
def Knap(a,b,w): # declare an empty dictionary newArr = [] for i,j in zip(a,b): smallArr = [] smallArr.append(i) smallArr.append(j) newArr.append(smallArr) i = 0 # at position 0 is the weight and at position 1 is the value # goal is to find highest value b...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
27f38e0cf34c7a458c77862ed021f69b1081d219
9adea4131921ae4b8c94e6e20c8dcd5efa8f5f4a
/src/group_by.py
585b07ad5374f384b3db8715b75f8af318fac5fe
[ "BSD-3-Clause" ]
permissive
ferhatcicek/minifold
33f447133601c299c9ddf6e7bfaa888f43c999fd
00c5e912e18a713b0496bcb869f5f6af4f3d40c9
refs/heads/master
2022-12-15T05:58:04.541226
2020-09-25T16:55:52
2020-09-25T16:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # This file is part of the minifold project. # https://github.com/nokia/minifold __author__ = "Marc-Olivier Buob" __maintainer__ = "Marc-Olivier Buob" __email__ = "marc-olivier.buob@nokia-bell-labs.com" __copyright__ = "Copyright (C) 2018, Nokia" __license__ ...
[ "marc-olivier.buob@nokia-bell-labs.com" ]
marc-olivier.buob@nokia-bell-labs.com
d202ffe04150297400e04709fcc09d24982baf93
8d402df39c18eba7e1c86c762f205c944357c5df
/www/gallery/sidebar.py
40830ea74ad141050c9cf4d414e8d9b5a387a0f1
[ "BSD-3-Clause" ]
permissive
brython-dev/brython
87cc023e25550dec9ce459ba68774189f33712b6
b33958bff0e8c7a280babc30232dc389a2500a7a
refs/heads/master
2023-09-04T04:49:29.156209
2023-09-01T06:36:08
2023-09-01T06:36:08
24,046,239
6,569
625
BSD-3-Clause
2023-07-05T06:13:32
2014-09-15T06:58:21
Python
UTF-8
Python
false
false
236
py
x=0 from browser.html import A,B,BR print('A',A) from os import * def menu(title,links): # links is a list of tuples (name,href) res = B(title) for _name,href in links: res += BR()+A(_name,href=href) return res
[ "pierre.quentel@gmail.com" ]
pierre.quentel@gmail.com
53e62f8d8703c493130f1759cf7ee0c205c4f15c
d396aa3495407069935ebab3faf870ad87025014
/python-leetcode/剑指offer/tree/剑指 Offer 55 - I. 二叉树的深度.py
36b475c95dd52bc934243fe9103e8b69f9f96341
[]
no_license
qwjaskzxl/For-OJ
4d3b2f873cf11c5f9ddb74c4b91b4b78cccc3afa
1fe6e5099d95fff2dcfc503951ff6e311202919b
refs/heads/master
2021-12-25T21:17:44.232567
2021-08-05T14:01:59
2021-08-05T14:01:59
175,966,016
1
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
pass ''' 输入一棵二叉树的根节点,求该树的深度。从根节点到叶节点依次经过的节点(含根、叶节点)形成树的一条路径,最长路径的长度为树的深度。 例如: 给定二叉树 [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 返回它的最大深度 3 。   提示: 节点总数 <= 10000 ''' # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None...
[ "870384605@qq.com" ]
870384605@qq.com
6950bb2514c10a37f69d8268d2a1bcae8b0f65e0
f0257428fed2a5f10950ee52e88a0f6811120323
/book_study/book_chapter4/tuple.py
8b984479ddcedf9425ce141e5f6f5ccf6b3c92c8
[]
no_license
tata-LY/python
454d42cc8f6db9a1450966aba4af6894e1b59b78
55d13b7f61cbb87ff3f272f596cd5b8c53b807c5
refs/heads/main
2023-04-08T19:31:57.945506
2021-04-19T05:39:17
2021-04-19T05:39:17
328,880,464
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#!/usr/bin/env python3 # _*_coding:utf-8_*_ # by liuyang tuple1 = (1,100) print(tuple1) print(tuple1[0]) #tuple1[0] = 10 #元组不允许修改 #print(tuple1) for i in tuple1: print(i) tuple1 = ('liuyang', 'zhangjuan') # 不允许修改,可以重新定义 print(tuple1)
[ "ainiyang20@qq.com" ]
ainiyang20@qq.com
22f0a214ee1dca65b2464ec11b94e429d66e79cc
78eb766321c7ed3236fb87bb6ac8547c99d0d1a4
/oneYou2/pages/migrations/0001_initial.py
8aaa7b7e731d48ae75dd6fe64a29f8b282817fdc
[]
no_license
danmorley/nhs-example
9d7be76116ed962248e1f7e287355a6870534f5d
ae4b5f395d3518ee17ef89348ed756c817e0c08c
refs/heads/master
2022-12-13T02:13:18.484448
2019-02-28T11:05:31
2019-02-28T11:05:31
203,353,840
1
0
null
2022-12-07T04:29:46
2019-08-20T10:30:15
Python
UTF-8
Python
false
false
1,087
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-02-06 14:59 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): ini...
[ "andrewkenyon123@gmail.com" ]
andrewkenyon123@gmail.com
97e25af591a27b65414cb6af1325caf83381bf30
ac7435b0b3faa6b6cf51d0d6b43984b77b70a37c
/nova/tests/unit/network/test_neutronv2.py
7424cbb63fba3e40671c004d21b540ff5b69b930
[ "Apache-2.0" ]
permissive
gokrokvertskhov/nova-mesos-driver
04688cd51cad9790cf5460b44ba527b51080760d
fdb9c8468f6a8680c19095a81bf77884ae61e170
refs/heads/master
2021-01-10T10:51:07.096729
2016-03-25T01:45:10
2016-03-25T01:45:10
54,685,199
0
1
Apache-2.0
2020-07-24T01:00:58
2016-03-25T01:22:06
Python
UTF-8
Python
false
false
181,927
py
# Copyright 2012 OpenStack Foundation # 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 requi...
[ "gokrokvertskhov@mirantis.com" ]
gokrokvertskhov@mirantis.com
6148f29660770166eb2b88bd95268e8ebb855c58
eff5cd25fa442b70491262bada0584eaaf8add46
/tfx/tools/cli/testdata/test_pipeline_airflow_2.py
324d6b0cfbc2ed928677e8a5bbc8c1e5c375d2ac
[ "Apache-2.0" ]
permissive
fsx950223/tfx
c58e58a85e6de6e9abcb8790acbf36424b5b2029
527fe2bab6e4f62febfe1a2029358fabe55f418c
refs/heads/master
2021-01-04T12:12:51.010090
2020-01-26T04:43:14
2020-01-26T04:43:14
240,543,231
1
0
Apache-2.0
2020-02-14T15:48:12
2020-02-14T15:48:11
null
UTF-8
Python
false
false
3,007
py
# Lint as: python2, python3 # Copyright 2019 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 req...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
a703dc2eb5ad305e5bd2196c3484053910cf36c6
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py
55371021d9e09323425a87dad705ef9be90f1746
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
27,723
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
d6cdeb85c2c728cec647a482d4b7f3bb21bb0366
a80047f86b96367c75fd24a43be67bb8202645aa
/tailor/models.py
00f95b7fe8b02f9d3e439941c5eebce2bbfdddc3
[ "MIT" ]
permissive
Albert-Byrone/Tailor_Hub
84deaee04809c56bb4d7638dfa800e434936c82a
0ab4402302d03f261ff00af79f84b62cbd241a27
refs/heads/master
2022-12-09T14:18:01.392545
2019-12-23T10:26:44
2019-12-23T10:26:44
224,847,452
0
0
MIT
2022-12-08T03:18:46
2019-11-29T12:10:07
Python
UTF-8
Python
false
false
6,060
py
from django.db import models from django.contrib.auth.models import User from django.shortcuts import reverse from pyuploadcare.dj.models import ImageField from django.db.models.signals import post_save from django.dispatch import receiver import datetime as datetime from django_countries.fields import CountryField fro...
[ "albertbyrone1677@gmail.com" ]
albertbyrone1677@gmail.com
c16d87aad5c12e73552775d7063b510229c7d2b4
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/c9dbb4f567ab4afa840dedb35209b154.py
3ac8cb50e479178794591a5bbba3d8776dab6ff1
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
220
py
""" Solution for "Word Count" Exercise """ def word_count(input): result = {} words = input.replace('\n',' ').split(' ') for word in words: if word != '': result[word] = result.get(word,0) + 1 return result
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
60fcc7583e7a4666ee84df1b89aa0de7c824794d
5c724d6e03e4194680c793718a4f72a58ca66bb1
/app/migrations/0015_auto_20180903_2010.py
75587dd9dfbf783469020f2e266a255f975a8bff
[]
no_license
tigrezhito1/bat
26002de4540bb4eac2751a31171adc45687f4293
0ea6b9b85e130a201c21eb6cbf09bc21988d6443
refs/heads/master
2020-05-02T07:13:06.936015
2019-03-26T15:04:17
2019-03-26T15:04:17
177,812,144
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-09-03 20:10 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0014_auto_20180903_1946'), ] operations = [ migrati...
[ "you@example.com" ]
you@example.com
f4cb702bb909488b44205a7c3c85860429401cc4
0737b583899d7d5ddcbdda49731046036d65d998
/sven/settings.py
746ef6ac71a5df61f46113c3869cf2e519f9fb90
[]
no_license
martolini/sven_admin
71b8b6e84e0eae3d7e971a62e3715efac708b160
610183b2d995b1d1f6b1946c13e9b4c9070ef26f
refs/heads/master
2021-01-25T04:58:00.067439
2014-02-25T22:04:25
2014-02-25T22:04:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,190
py
# Django settings for sven project. import os import socket DEBUG = 'cauchy' not in socket.gethostname() TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS BASE_DIR = os.path.dirname(os.path.abspath(__file__)) if DEBUG: DATABASES = { 'default': { ...
[ "msroed@gmail.com" ]
msroed@gmail.com
9fdef289488f09abcc2b7641aa8a537ae0231dd7
e70d0bcc547d63b338ff51c253aa95d78ea99992
/xdl/test/python/unit_test/ps_ops/test_ps_pull_op.py
dfa1f106fecb5690866aa4d7d8629b0e15c3b2d8
[ "Apache-2.0" ]
permissive
niumeng07/x-deeplearning
2513f7ba823521c40e0346284f5dd0aca5562e40
6d3bc3ad4996ab8938c56d8a834af07a04dc2f67
refs/heads/master
2020-04-12T23:06:24.447833
2019-07-06T16:06:16
2019-07-06T16:06:16
162,808,758
2
0
Apache-2.0
2018-12-22T12:18:01
2018-12-22T12:17:59
null
UTF-8
Python
false
false
1,377
py
# Copyright (C) 2016-2018 Alibaba Group Holding Limited # # 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...
[ "yue.song@alibaba-inc.com" ]
yue.song@alibaba-inc.com
95b462c1589ad5fcc2afbb3b460ed427d4606ddf
ef8d6ba2afe24cd981eeb92624e838b6acc98166
/src/ckanext-delineate/setup.py
4b2815902ac1b31eff768239e15632773f5b8dd6
[ "BSD-3-Clause" ]
permissive
CI-WATER/portal
cd68cd8f514d10092faea3e78d4421819c9714c3
c61660c8389c7af82517cbd0154bc83f9737c4d1
refs/heads/master
2016-09-05T10:40:10.721184
2014-07-01T17:43:06
2014-07-01T17:43:06
20,502,671
1
0
null
null
null
null
UTF-8
Python
false
false
751
py
from setuptools import setup, find_packages version = '0.1' setup( name='ckanext-delineate', version=version, description="Watershed delineation extension", long_description="""\ """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='', author='Pabitra Dash', ...
[ "pkdash_reena@hotmail.com" ]
pkdash_reena@hotmail.com
29ade0802ba7f753dde50457d3d040b9d9b4e45a
a16feb303b7599afac19a89945fc2a9603ae2477
/Simple_Python/standard/traceback/traceback_6.py
98c71ab419e8207fcac4ff823ee242f3b6713f45
[]
no_license
yafeile/Simple_Study
d75874745ce388b3d0f9acfa9ebc5606a5745d78
c3c554f14b378b487c632e11f22e5e3118be940c
refs/heads/master
2021-01-10T22:08:34.636123
2015-06-10T11:58:59
2015-06-10T11:58:59
24,746,770
0
2
null
null
null
null
UTF-8
Python
false
false
263
py
#! /usr/bin/env/python # -*- coding:utf-8 -*- import traceback import sys from traceback_1 import call_function def f(): traceback.print_stack(file=sys.stdout) print 'Calling f() directly:' f() print print 'Calling f() from 3 levels deep:' call_function(f)
[ "zhuzhulang@126.com" ]
zhuzhulang@126.com
d7af9a0c88e28ef76bd358174e5b026502fcb910
956d2056e7cc56cc5ef2c6224a52a5e5c2987785
/utils/pyrrd/backend/external.py
69b49adb1b75d3f9cf03e1a3dd935cd127612bc0
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
AndriyZabavskyy/taf
60f7ff7476d6a7443a1e5a752778277f6629e65b
2007bf3fe66edfe704e485141c55caed54fe13aa
refs/heads/master
2021-05-20T01:01:23.835257
2020-04-10T08:31:15
2020-04-10T08:31:15
252,119,009
0
0
Apache-2.0
2020-04-01T08:40:24
2020-04-01T08:40:23
null
UTF-8
Python
false
false
11,722
py
""" Copyright (c) 2004-2008, AdytumSolutions, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
[ "ross.b.brattain@intel.com" ]
ross.b.brattain@intel.com
22df3a45ebed1aaa000d917da4cf9f6d77c8ad8e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04001/s037589622.py
245a5174bd7db200bf673123ca5d544e43c7f7dc
[]
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
332
py
#!/usr/bin python3 # -*- coding: utf-8 -*- def main(): S = input() l = len(S)-1 ret = 0 for i in range(2**l): fs = S[0] for j in range(l): if (i>>j & 1) == 1: fs += '+' fs += S[j+1] ret += eval(fs) print(ret) if __name__ == '__main__'...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0150ee4b951d7aa98d33671a60f4da5d924e1da8
2de33ba731066a63352080dd19da1e4582bb00c4
/collective.project/collective/project/browser/create_iteration.py
d3c03e2dcb7ff08becb20002dd3249c618cfcb4f
[]
no_license
adam139/plonesrc
58f48e7cdfc8fbed7398011c40649f095df10066
cbf20045d31d13cf09d0a0b2a4fb78b96c464d20
refs/heads/master
2021-01-10T21:36:44.014240
2014-09-09T04:28:04
2014-09-09T04:28:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,139
py
from zope import interface, schema from z3c.form import form, field, button from plone.app.z3cform.layout import wrap_form from collective.project import projectMessageFactory as _ from collective.project.bbb import getSite from zope.schema import vocabulary from zope.interface import directlyProvides from zope.schema....
[ "plone@localhost.localdomain" ]
plone@localhost.localdomain
c6b2508756ca483742fc681caa459b0b1fe7fff9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_wounder.py
b0d6cd04f474aad1a04a22fbffe4505de907b214
[ "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
233
py
from xai.brain.wordbase.verbs._wound import _WOUND #calss header class _WOUNDER(_WOUND, ): def __init__(self,): _WOUND.__init__(self) self.name = "WOUNDER" self.specie = 'verbs' self.basic = "wound" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
73b384d0b1fb7908b2521c4f150f93c076b807c7
10d17864a685c025bb77959545f74b797f1d6077
/capitulo 07/07.22.py
d7274f669aa67ce98579dc96a66e3b781eec34c2
[]
no_license
jcicerof/IntroducaoPython
02178d2dfcaa014587edbd3090c517089ccef7c2
02e619c7c17e74acdc3268fbfae9ab624a3601dd
refs/heads/master
2020-04-24T18:12:21.422079
2019-02-23T05:14:43
2019-02-23T05:14:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "jose.cicero@gmail.com" ]
jose.cicero@gmail.com
a15ba967a5a20d5c51a3fe4bd4b1b7ee046e37de
350db570521d3fc43f07df645addb9d6e648c17e
/0779_K-th_Symbol_in_Grammar/solution_test.py
954e62fd402ddafba1bf568523536c189f2aedf3
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
378
py
''' 779. K-th Symbol in Grammar Level: Medium https://leetcode.com/problems/k-th-symbol-in-grammar ''' import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum_tuple(self): self.assertEqual(sum((1, 2, 2)), 6, "Sho...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
64899c99b053884b463b2aca741431e307f7b480
1919fc2555dbcb6b865fdef0cc44c56c6c47e2f0
/chapter_7/demo_7_2.py
8b2b373f88eeeae54cc30d598f1dd6d869f9e330
[]
no_license
ender8848/the_fluent_python
10f8dd98fcf206b04ea6d34f47ad5e35f896a3ac
058d59f6a11da34e23deb228e24a160d907f7643
refs/heads/master
2022-12-19T07:51:51.908127
2019-01-17T09:53:33
2019-01-17T09:53:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
''' 装饰器的一个关键特性是,它们在被装饰的函数定义之后立即运行。 这通常是在导入时(即 Python 加载模块时) , 如示例 7-2 中的 demo_7_2.py 模块所示。 ''' # registry 保存被 @register 装饰的函数引用 registry = [] # register 的参数是一个函数 def register(func): print('running register(%s)' % func) registry.append(func) return func @register def f1(): print('running f1()') @register de...
[ "js_huang@foxmail.com" ]
js_huang@foxmail.com
abee031f9dd8d4d4d9ab634022ebb1f4a6c78b3d
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/argo/models/io_argoproj_workflow_v1alpha1_workflow.py
9004cddc944622ff5565d97235c12f3fc64c9b23
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
8,259
py
# coding: utf-8 """ Argo No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v2.3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from a...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
de9f1199dc5aaa7e1cc8da79229dc61e059a54e2
25e2d5bb03c5b2534880ab41fb7de82d815f83da
/menpo/landmark/labels/__init__.py
36cab907dbfd7bbb95e2c5c10a432ae9e3e2fea5
[ "BSD-3-Clause" ]
permissive
justusschock/menpo
f4c4a15b62eab17f06387c5772af2699d52a9419
d915bec26de64a5711b96be75cd145661a32290e
refs/heads/master
2020-04-06T18:08:26.397844
2019-03-09T20:54:07
2019-03-09T20:54:07
157,687,031
0
0
NOASSERTION
2018-11-15T09:39:03
2018-11-15T09:39:03
null
UTF-8
Python
false
false
612
py
from .base import labeller from .human import * from .car import ( car_streetscene_20_to_car_streetscene_view_0_8, car_streetscene_20_to_car_streetscene_view_1_14, car_streetscene_20_to_car_streetscene_view_2_10, car_streetscene_20_to_car_streetscene_view_3_14, car_streetscene_20_to_car_streetscene_...
[ "patricksnape@gmail.com" ]
patricksnape@gmail.com
27a2982791e485a8d4a48f5bf1b30eb87d869ecc
d45b08745ab3f1e951485fa6b9f905be65f71da4
/programmers/kakao20_경주로건설.py
9bc2872919783233501f1b27d53f832c1fc7caf3
[]
no_license
HYUNMIN-HWANG/Algorithm_practice
d0a82e73a735e22a70c98fd4882b66929061bd6c
96b70fbea42ca11881546531fa6a9486e9a5289f
refs/heads/main
2023-04-25T05:40:24.126757
2021-05-08T13:42:56
2021-05-08T13:42:56
324,109,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
from collections import deque def solution(board): n = len(board) visited = [[1000000 for _ in range(n)] for _ in range(n)] ds = [[-1, 0], [1, 0], [0, 1], [0, -1]] q = deque() q.append((0, 0, 0, -1)) visited[0][0] = 0 while q: y, x, c, t = q.popleft() for i in range(4): ...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
3248d8abf873f771774003dc8d0226a2dff074f3
599069eeeae294950aab730ca8d4858ac1929a5c
/bemani/client/iidx/tricoro.py
1ea4a005f356b6586ed3b5e9f75655973ecc8b36
[]
no_license
ByteFun/bemaniutils
232d057d4b548f929af4da4f145565ad51482113
bd467a9b732a25a1c8aba75106dc459fbdff61b0
refs/heads/master
2020-12-04T07:45:45.503620
2019-12-08T21:57:08
2019-12-08T21:57:08
231,683,196
4
1
null
null
null
null
UTF-8
Python
false
false
31,071
py
import random import time from typing import Any, Dict, Optional, Tuple from bemani.client.base import BaseClient from bemani.protocol import Node class IIDXTricoroClient(BaseClient): NAME = 'TEST' def verify_shop_getname(self, lid: str) -> str: call = self.call_node() # Construct node ...
[ "dragonminded@dragonminded.com" ]
dragonminded@dragonminded.com
81b071b194eaf7cf41f099b4b2ae69ce0fdb01f6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03168/s984146914.py
d29e8d5cf735e05031e772be32479e5b3e032425
[]
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
271
py
n = int(input()) ns = list(map(float, input().split())) dp = [[0 for j in range(n+1)] for i in range(n+1)] dp[0][0] = 1 for i in range(1,n+1): for j in range(0, i + 1): dp[i][j] = dp[i-1][j] * (1-ns[i-1]) + dp[i-1][j-1] * ns[i-1] print(sum(dp[-1][(n+1)//2:]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
37cb1a55bf2943e3cb7f46d64c52de8169b903f0
11459f6d05c7091537570a63bb2654b3d3a5440c
/mlprodict/plotting/plotting_validate_graph.py
f30922b8ca4cda3cd369f447e8fb26caa3a256dd
[ "MIT" ]
permissive
xhochy/mlprodict
663e6ac21ae913d5dff59cfab938fc62f59d1c79
22ab05af3ff4a67f4390af1c44e349efa454f0d5
refs/heads/master
2023-08-11T00:53:24.133020
2021-09-24T15:52:46
2021-09-24T15:52:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,540
py
""" @file @brief Functions to help visualizing performances. """ import numpy import pandas def _model_name(name): """ Extracts the main component of a model, removes suffixes such ``Classifier``, ``Regressor``, ``CV``. @param name string @return shorter string """...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
ab25cc9d4cab4c0e131e57540685f03f68c4b4f0
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/fairseq/criterions/label_smoothed_cross_entropy_with_ctc.py
f2e8cdf3bfe0caea99125c6f9607dff9495891cf
[ "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
3,403
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math from dataclasses import dataclass, field import torch import torch.nn.functional as F from fairseq import utils from fairseq.log...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
d1f546681794e6a313737c2b6c0ecc037fcc1921
a79c9afff9afea0c64ce8efac5683bde4ef7eeb8
/apps/app_two/urls.py
46e912dd7bc1de957131647bfdebb35d948d591d
[]
no_license
kswelch53/login_registration
82e8a865125e903efbc624a3b7e3c5a4b6f98a60
364cfae780fe9f7e39c11dbe9e53e684d0798f5d
refs/heads/master
2021-05-12T08:48:04.707930
2018-01-13T00:11:50
2018-01-13T00:11:50
117,300,189
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
from django.conf.urls import url, include from . import views urlpatterns = [ # root route to index method in app_two url(r'^$', views.index, name='index'), ]
[ "kswelch53@gmail.com" ]
kswelch53@gmail.com
1367392cb579fabd31cd0a289627c57077a7bda2
a53998e56ee06a96d59d97b2601fd6ec1e4124d7
/基础课/jichu/day19/multiple_inherit.py
97a196a49966ef3c0d0f854d88f992a637e776cf
[]
no_license
zh-en520/aid1901
f0ec0ec54e3fd616a2a85883da16670f34d4f873
a56f82d0ea60b2395deacc57c4bdf3b6bc73bd2e
refs/heads/master
2020-06-28T21:16:22.259665
2019-08-03T07:09:29
2019-08-03T07:09:29
200,344,127
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
class Car: def run(self,speed): print('汽车以',speed,'公里/小时的速度行驶') class Plane: def fly(self,height): print('飞机以海拔',height,'米的高度飞行') class PlaneCar(Car,Plane): '''PlaneCar为飞行汽车类''' p1 = PlaneCar() p1.fly(10000) p1.run(300)
[ "zh_en520@163.com" ]
zh_en520@163.com
e7e90eb396092cbfdd8804bdc98e246f49e58d27
f2e70de60adb32014fc718647e00e221687c4055
/openacademy/models/models.py
18977c7d29a89790deb59ee8d4506deae8805181
[]
no_license
fawad4bros/Odoo13_employe_info
6a28f929cda1a3cb2c1ba1b665ba9565df3d2e37
40dd51c011726f49b331f29ffc2f7445877e5624
refs/heads/master
2023-04-05T10:01:42.591943
2021-04-04T06:58:47
2021-04-04T06:58:47
352,701,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
# -*- coding: utf-8 -*- from odoo import models, fields, api, exceptions class Course(models.Model): _name = 'openacademy.course' _description = 'OpenAcademy Courses' name = fields.Char(string="Title", required=True, help="Name of the Course") description = fields.Text() responsible_id = field...
[ "you@example.com" ]
you@example.com
b5c67701e84dfa41e36333c8a985bf9e72b01b6a
5ad6b1b7fead932860d7a1f5d1281c339ca4d487
/papermerge/contrib/admin/migrations/0001_initial.py
d389247d6f2852eb8cd071971030e581fc0c895c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only" ]
permissive
zhiliangpersonal/papermerge
da51fc7c6674a53e1c007e2eb70e5cc05de5da9e
56c10c889e1db4760a3c47f2374a63ec12fcec3b
refs/heads/master
2022-12-18T15:20:42.747194
2020-09-28T05:09:32
2020-09-28T05:09:32
299,205,072
1
0
Apache-2.0
2020-09-28T06:04:35
2020-09-28T06:04:34
null
UTF-8
Python
false
false
1,256
py
# Generated by Django 3.0.8 on 2020-08-28 11:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "eugen@papermerge.com" ]
eugen@papermerge.com
34757da4411d0823effcccd1a88b96cea9eb401a
1ef536d93c6616f9793e57a9ebc6b44248d50202
/Unit of Measure/models/res_partner.py
6d1e384ef6259b088b57ea48681fdce6824c20e1
[]
no_license
mohamed4185/Express
157f21f8eba2b76042f4dbe09e4071e4411342ac
604aa39a68bfb41165549d605d40a27b9251d742
refs/heads/master
2022-04-12T17:04:05.407820
2020-03-09T14:02:17
2020-03-09T14:02:17
246,014,712
1
3
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- from odoo import api, fields ,models from odoo.exceptions import ValidationError import logging _logger = logging.getLogger(__name__) class ResPartner(models.Model): _inherit="uom.category" measure_type = fields.Selection([ ('unit', 'Units'), ('weight', 'Weight')...
[ "mohamed.abdelrahman@businessborderlines.com" ]
mohamed.abdelrahman@businessborderlines.com
401502d8d8b40bd00eb29a1d486ea9d4465a8eb3
a0cc82bef6e39617f88d5b64ad960593615bfa59
/wsgi.py
ed8a8c9bc5854819e56be7b2f9007832c9f63486
[]
no_license
RevengeComing/RatSnake
624b2563234daf83f62667160483bde5eb7e56a0
e8fbc3b58c2c1fb9e029da979baa51b5fae38a85
refs/heads/master
2021-01-11T17:43:46.816389
2018-03-05T16:04:24
2018-03-05T16:04:24
79,827,634
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
from ratsnake.app import create_app app = create_app() if __name__ == "__main__": app.run(debug=True)
[ "s.hamzelooy@gmail.com" ]
s.hamzelooy@gmail.com
c38a872e6e6ae5b1d7edc0e1731ec393f49a556d
a0241ddd6feb1236740c4b57f86b4e2b9c812ffe
/userdata/models/beirat.py
ee4cada6ca3852e198c2996ce9b2dd941e739f94
[]
no_license
patta42/website
0a08d4b11c49020acefaf8f8cca30982ca2afa50
72d2e136272e0ed23f74080697d16eb9bc692ac3
refs/heads/master
2021-06-10T16:30:51.292679
2021-04-24T06:27:02
2021-04-24T06:27:02
151,085,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
from django.db import models from django.utils.translation import gettext as _ from website.models import TranslatedField from userdata.models import StaffUser class BeiratGroups(models.Model): title_de = models.CharField( max_length = 128, verbose_name = 'Gruppe innerhalb des Beirats (deutsch)' ...
[ "patrick.happel@rub.de" ]
patrick.happel@rub.de
7bc22ff7aaf4908fbac56962aad200eb123b3427
59522e46a73630181f19251b8bfef90e497c2f82
/coop_cms/management/commands/create_db_password.py
5e1a63ab5f5a28fa874530f70fdb8939143577be
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ljean/coop_cms
9befe74edda007686007f8566cd2555856099ae8
9e6c70afb61b57dc0326fbb64f9d6b19c04f48a1
refs/heads/master
2023-07-11T16:02:35.945029
2023-06-30T12:16:26
2023-06-30T12:16:26
5,846,409
3
5
NOASSERTION
2019-08-30T10:55:02
2012-09-17T19:53:56
Python
UTF-8
Python
false
false
409
py
# -*- coding: utf-8 -*- from getpass import getpass from django.core.management.base import BaseCommand from django.conf import settings from ...secrets import set_db_password class Command(BaseCommand): help = 'Generates a password DB' def handle(self, *args, **options): db_password = getpass("p...
[ "ljean@apidev.fr" ]
ljean@apidev.fr
a3abb973df7c49c23f085d85ce66b4a6df1246d2
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/gigasecond/f02e9fb37a7446a1af9ca9e795c77365.py
e490967c96d68ba8fa7ac4318031d539f832a649
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
135
py
from datetime import timedelta def add_gigasecond(dateTimeObj): gigasecond=10**9 return dateTimeObj + timedelta(0,gigasecond)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a2bfd5334ad964b8fe2f5c3addb9d88084f31e5b
0d9b75fee49b37038a10e467c39cf75c9cf4d5ae
/OpenCV_learn/code_030/opencv_030.py
d4195aea4d2a004c17e47d6166072a6ffa2427bc
[]
no_license
MachineLP/OpenCV-
743a5fcfc3f300ccb135f869e2f048cb5fdcd02a
f3da4feb71c20d2e8bc426eb5a4e2e61a2fd4a75
refs/heads/master
2023-03-23T15:31:22.985413
2023-03-08T09:33:28
2023-03-08T09:33:28
178,887,816
104
51
null
null
null
null
UTF-8
Python
false
false
657
py
import cv2 as cv import numpy as np src = cv.imread("./test.png") cv.namedWindow("input", cv.WINDOW_AUTOSIZE) cv.imshow("input", src) blur_op = np.ones([5, 5], dtype=np.float32)/25. shape_op = np.array([[0, -1, 0], [-1, 5, -1], [0, -1, 0]], np.float32) grad_op = np.arr...
[ "noreply@github.com" ]
MachineLP.noreply@github.com
02bf8fdde14c3aac9ce51f353f4387eeb79001e6
e627d47d5102bd68c2012501aa120833b9271da7
/aws_api/core/models.py
89508d58bf7297df0d5b42ee5c50cbd82b4d8508
[]
no_license
aayushgupta97/django-km
5ba275d1f85eaaf8bc052e47d2b6b6f1a5e4cf90
d34cd4f8637718044832d9baeecee86df5e821a5
refs/heads/master
2023-01-02T18:12:31.384634
2020-10-24T09:21:50
2020-10-24T09:21:50
298,391,389
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
from django.db import models from django.contrib.auth.models import User from jsonfield import JSONField # Create your models here. class AWSCredentials(models.Model): access_key = models.CharField(max_length=128) secret_key = models.CharField(max_length=512) account_id = models.CharField(max_length=40) ...
[ "aayushgupta2097@gmail.com" ]
aayushgupta2097@gmail.com
81ea85c94df6be769b91ca66567cb99c500486e8
ae231d793f80966513e225dafd127c25772c2e6b
/nuitka/tree/ReformulationClasses.py
95e73f0da69e65ac532dc10c0ba890fe779bd1d6
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
awesome-python/Nuitka
41bbc3cbd8a0e025ac5f59e6d3f7bcca3efe1522
ad0ed473eb4a919d758c72cfc6cfbd5977998c5b
refs/heads/master
2021-01-18T06:23:06.493913
2016-05-26T12:58:27
2016-05-26T12:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,489
py
# Copyright 2016, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
d17ce8802fa93c39c6b0c878618591c8e9e54804
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/list_workflow_statistic_request.py
15c6ff0b1d99414e34d6ff1f3f4a86a7a12c7a08
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,669
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListWorkflowStatisticRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
9e8d73095336a9aec74a9c50d0d0e8418c3ee1fa
72863e7278f4be8b5d63d999144f9eaec3e7ec48
/venv/lib/python2.7/site-packages/libmproxy/console/window.py
69d5e242cd0f379d95e9b2ce08e66ce6ea7d6a88
[ "MIT" ]
permissive
sravani-m/Web-Application-Security-Framework
6e484b6c8642f47dac94e67b657a92fd0dbb6412
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
refs/heads/master
2020-04-26T11:54:01.334566
2019-05-03T19:17:30
2019-05-03T19:17:30
173,532,718
3
0
null
null
null
null
UTF-8
Python
false
false
3,189
py
import urwid from . import signals class Window(urwid.Frame): def __init__(self, master, body, header, footer, helpctx): urwid.Frame.__init__( self, urwid.AttrWrap(body, "background"), header = urwid.AttrWrap(header, "background") if header else None, footer...
[ "sravani.manukonda7@gmail.com" ]
sravani.manukonda7@gmail.com
72a814435d4159ba19a2c548b890a43020e942c8
f68cd225b050d11616ad9542dda60288f6eeccff
/testscripts/RDKB/component/PAM/TS_PAM_GetProcessNumberOfEntries.py
173f02eb2b3d59f3694789afc506cc744abebd56
[ "Apache-2.0" ]
permissive
cablelabs/tools-tdkb
18fb98fadcd169fa9000db8865285fbf6ff8dc9d
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
refs/heads/master
2020-03-28T03:06:50.595160
2018-09-04T11:11:00
2018-09-05T00:24:38
147,621,410
0
0
null
null
null
null
UTF-8
Python
false
false
5,419
py
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
[ "jim.lawton@accenture.com" ]
jim.lawton@accenture.com
a3896f595a20d91502cbd6e39182b02c88162ce0
c8a84cdced4d408a273a99a82432e41fc6a9ab55
/src/neprojects/settings/prod.py
f0bd684ef104bfaafcf743399bf9f4088f514eba
[]
no_license
poudel/goodmandu
584bb652ef4f51ee4ca336f674e37d38a782e3c9
64177d7fd95002dd06ad9b99817fff6095a9166c
refs/heads/master
2021-06-12T14:56:18.802948
2019-10-09T19:15:34
2019-10-09T19:47:16
128,678,514
1
0
null
2020-06-05T18:07:43
2018-04-08T20:18:13
Python
UTF-8
Python
false
false
96
py
from .base import * DEBUG = False try: from .local import * except ImportError: pass
[ "self@keshab.net" ]
self@keshab.net
1e3202d244ebfff9dd6bcecadaa71c32fb40e2fd
709bd5f2ecc69a340da85f6aed67af4d0603177e
/saleor/product/migrations/0073_auto_20181010_0729.py
b6435a6d48c72a8b3723f876f1995998d63fc51b
[ "BSD-3-Clause" ]
permissive
Kenstogram/opensale
41c869ee004d195bd191a1a28bf582cc6fbb3c00
5102f461fa90f2eeb13b9a0a94ef9cb86bd3a3ba
refs/heads/master
2022-12-15T02:48:48.810025
2020-03-10T02:55:10
2020-03-10T02:55:10
163,656,395
8
0
BSD-3-Clause
2022-12-08T01:31:09
2018-12-31T09:30:41
Python
UTF-8
Python
false
false
1,129
py
# Generated by Django 2.1.2 on 2018-10-10 12:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('product', '0072_auto_20180925_1048'), ] operations = [ migrations.AddField( model_name='attribu...
[ "Kenstogram@gmail.com" ]
Kenstogram@gmail.com
8b0c025a56778453f144197d06f980ed00737458
af8f0d50bb11279c9ff0b81fae97f754df98c350
/src/book/api/views/category.py
3037b5486bcde77e4a473f50e746cb978cc99220
[ "Apache-2.0" ]
permissive
DmytroKaminskiy/ltt
592ed061efe3cae169a4e01f21d2e112e58714a1
d08df4d102e678651cd42928e2343733c3308d71
refs/heads/master
2022-12-18T09:56:36.077545
2020-09-20T15:57:35
2020-09-20T15:57:35
292,520,616
0
0
Apache-2.0
2020-09-20T15:49:58
2020-09-03T09:09:26
HTML
UTF-8
Python
false
false
513
py
from book.api.serializers.category import CategorySerializer from book.models import Category from rest_framework import generics __all__ = [ 'ListCreateCategoryView', 'RetrieveCategoryView', ] class ListCreateCategoryView(generics.ListCreateAPIView): serializer_class = CategorySerializer queryset ...
[ "dmytro.kaminskyi92@gmail.com" ]
dmytro.kaminskyi92@gmail.com
3eebded3e51926fff9c1f76a81b7786c011c7547
8aa1b94626402c0c614128d6061edb771dad05cf
/e100/e017.py
b24dd8c62dd7fb877ccffbdbd147ff7d80e27ed6
[]
no_license
netfj/Project_Stu02
31e76c1b656ee74c54cae2185821dec7ccf50401
afc1b26b7c586fd6979ab574c7d357a6b9ef4d29
refs/heads/master
2023-03-13T22:24:40.364167
2021-02-23T09:53:31
2021-02-23T09:53:31
341,506,093
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#coding:utf-8 """ @info: 题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。 @author:NetFj @software:PyCharm @file:e017.py @time:2018/11/1.16:45 """ # c='0' # while c != '': # c = input('Input a string:') c='abc1 2 3 4 5 6[(@#$)]' y,k,s,q =0,0,0,0 for x in c: if x.isalpha():y+=1 elif x.isspace():k+=1 elif x.isdigit(): s ...
[ "netfj@sina.com" ]
netfj@sina.com
511334a97959c166add09f07d30f551acd4b2aeb
268b0441a5fd45da501f5e50e155a86043de2472
/test/test_puchikarui.py
6495727bd08686c549c8fb266e4650e6d8b26d27
[ "MIT" ]
permissive
cliffpham/puchikarui
c837e4b487cd4c3a8fcfe0c46d69ea2804bdfc9a
c6cf9292685f2a5c93f9feb206e2dc1371ce20f2
refs/heads/master
2020-07-31T16:28:01.674364
2019-07-03T03:36:54
2019-07-03T03:36:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,282
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Script for testing puchikarui library Latest version can be found at https://github.com/letuananh/puchikarui References: Python documentation: https://docs.python.org/ Python unittest https://docs.python.org/3/library/unittest.html @author: ...
[ "tuananh.ke@gmail.com" ]
tuananh.ke@gmail.com
ab6b6c52579d74e382ce37f2ebe8f535a24dbc3f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_59/455.py
3e6cea92b28872ec185a3a22fdbde19106c357b6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,472
py
#! /usr/bin/env python import sys f = file(sys.argv[1]) lines = [ln.strip() for ln in f.readlines()] T = int(lines[0]) print('%s contains %i (T) test cases' % (sys.argv[1],T)) cases = [] ind = 1 for i in range(T): #print(lines[ind], lines[ind].split(' ')) n,m = [int(k) for k in lines[ind].split(' ')] #pr...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
dc56ce3d672acadfd6e6b640ae3c4b0cf870703f
c28b15dfca3212f0f28727c7ad9d6193936598dc
/tasks/_iblrig_tasks_trainingChoiceWorld/_iblrig_tasks_trainingChoiceWorld.py
7e7cf1d44f7c01a2c0531d5126b05a0bfb48d72f
[ "MIT" ]
permissive
justinplittle/iblrig
78d0703cda0b8623015f77939220128f20a997e6
0ee17a14633f0dc7b87f268f433a027e73fd6d57
refs/heads/master
2022-11-30T07:20:20.637002
2020-08-12T17:04:41
2020-08-12T17:04:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,435
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: Niccolò Bonacchi # @Date: 2018-02-02 12:31:13 import logging import matplotlib.pyplot as plt from pybpodapi.protocol import Bpod, StateMachine import online_plots as op import task_settings import user_settings from iblrig.bpod_helper import BpodM...
[ "nbonacchi@gmail.com" ]
nbonacchi@gmail.com
043e9fa6f520efc3819ea417696518a68ba03ca1
7769cb512623c8d3ba96c68556b2cea5547df5fd
/configs/cascade_mask_rcnn_x101_64x4d_fpn_1x.py
80a5ed6a2b31ff06816ce74d04570d82517229a0
[ "MIT" ]
permissive
JialeCao001/D2Det
0e49f4c76e539d574e46b02f278242ca912c31ea
a76781ab624a1304f9c15679852a73b4b6770950
refs/heads/master
2022-12-05T01:00:08.498629
2020-09-04T11:33:26
2020-09-04T11:33:26
270,723,372
312
88
MIT
2020-07-08T23:53:23
2020-06-08T15:37:35
Python
UTF-8
Python
false
false
8,061
py
# model settings model = dict( type='CascadeRCNN', num_stages=3, pretrained='open-mmlab://resnext101_64x4d', backbone=dict( type='ResNeXt', depth=101, groups=64, base_width=4, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
dba1a03904559ee7acc59f6c910257a5156bf9d0
52c4444b7a8e1a313d847ba5f0474f5a429be4bd
/celescope/fusion/multi_fusion.py
b82cd4bece7083905eb8b0e0063018ff9117df0c
[ "MIT" ]
permissive
JING-XINXING/CeleScope
98d0d018f3689dbe355679c1b8c06f8d796c296d
d401e01bdf15c8eeb71bddede484ed8d4f189dcd
refs/heads/master
2023-05-07T11:47:04.133216
2021-05-28T10:14:53
2021-05-28T10:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from celescope.fusion.__init__ import __ASSAY__ from celescope.tools.multi import Multi class Multi_fusion(Multi): def star_fusion(self, sample): step = 'star_fusion' cmd_line = self.get_cmd_line(step, sample) fq = f'{self.outdir_dic[sample]["cutadapt"]}/{sample}_clean_2.fq{self.fq_suffix...
[ "zhouyiqi@singleronbio.com" ]
zhouyiqi@singleronbio.com
ad0f463e50fc0f5b7824e19aca588087c8539085
80b7f2a10506f70477d8720e229d7530da2eff5d
/uhd_restpy/testplatform/sessions/ixnetwork/topology/bfdv6interface_b9a91920db1b70c8c6410d2de0b438d3.py
949dbb8037a1e6340226858d1613dfa36d82a596
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
52,891
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
85f6ba445f50885725cedabb538b5da28dee1645
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/opcodes/cases/test_pexec_253.py
18a5dd1216b31de8c9699b42ce6666fe9b9aae87
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
820
py
from unittest import TestCase from tests import abspath from pytezos.repl.interpreter import Interpreter from pytezos.michelson.converter import michelson_to_micheline from pytezos.repl.parser import parse_expression class OpcodeTestpexec_253(TestCase): def setUp(self): self.maxDiff = None self...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
9cc60c5abdd36edbd7a873ba397ed2815867ad34
66cff6c4ad4c5fd6ecdfb723614f0475e27a5b38
/akshare/air/air_hebei.py
7954e6d79e7f2c969e9da72997e8aedbf6ef83fa
[ "MIT" ]
permissive
ifzz/akshare
a862501b314f2b5aeab22af86771dbeee34cfdb8
70cf20680b580c8bacab55a0b7d792d06e299628
refs/heads/master
2022-12-02T18:36:33.754645
2020-08-24T05:16:42
2020-08-24T05:16:42
289,834,570
1
0
MIT
2020-08-24T05:17:09
2020-08-24T05:17:09
null
UTF-8
Python
false
false
3,461
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2020/4/29 12:33 Desc: 河北省空气质量预报信息发布系统 http://110.249.223.67/publish/ 每日 17 时发布 等级划分 1. 空气污染指数为0-50,空气质量级别为一级,空气质量状况属于优。此时,空气质量令人满意,基本无空气污染,各类人群可正常活动。 2. 空气污染指数为51-100,空气质量级别为二级,空气质量状况属于良。此时空气质量可接受,但某些污染物可能对极少数异常敏感人群健康有较弱影响,建议极少数异常敏感人群应减少户外活动。 3. 空气污染指数为101-150,空气质量...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
62c23bc35e09fd885d7dd599ac35f30f777a5148
4c19eac6e53b2c1230257508370ad60c8d83d6a7
/dxm/lib/DxAlgorithm/alg_worker.py
75fcc4c87123d87ea14ca078b5a002fd729f7811
[ "Apache-2.0" ]
permissive
rakesh-roshan/dxm-toolkit
2c7741c8a02952de1c23715eadb515d84fcaf954
2c6e6ebf8615526501767844edf06fb74d878f25
refs/heads/master
2020-04-27T19:05:11.293818
2019-03-01T13:49:34
2019-03-01T13:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,246
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 under ...
[ "marcin@delphix.com" ]
marcin@delphix.com