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
d76de6f1729cd68c87459533420f386e37c26b77
32632f0b0d00c54366aa12742a6dcf10d5a0c993
/lifeline-backend-master/apps/patients/migrations/0021_auto_20190329_1234.py
4f9881edf46a91b1100183e22dba3ebc72e1b788
[]
no_license
NightHunter97/Django
c64f20ecb5e2ef6bfa9b7fca5dacc64a0a38599b
060283c2ab210a7d4222c790d201b70363eca848
refs/heads/master
2022-12-11T04:01:34.011192
2020-02-09T05:32:26
2020-02-09T05:32:26
239,252,129
0
0
null
2022-12-08T01:51:10
2020-02-09T05:28:18
Python
UTF-8
Python
false
false
534
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-03-29 12:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('patients', '0020_nationalregister'), ] operations = [ migrations.AlterFiel...
[ "56120789+NightHunter97@users.noreply.github.com" ]
56120789+NightHunter97@users.noreply.github.com
b9eed55d93907ebb1c8eca2d83436c05bb906617
1acf4a87eb644f6c6a85ebb63849e57514a9870a
/tridesclous/peeler_engine_base.py
f825fde8e7f790d07d439c4e04468f5b4600539e
[ "MIT" ]
permissive
remi-pr/tridesclous
de42c8df588bd5e9835024f5831aca3a35b581db
074f425fd40f1fb76f619f74cc024dd9817b7ee7
refs/heads/master
2023-02-21T12:10:31.115591
2021-01-26T15:31:11
2021-01-26T15:31:11
300,652,054
0
0
null
null
null
null
UTF-8
Python
false
false
26,920
py
import time from .peeler_tools import * from .peeler_tools import _dtype_spike from .tools import make_color_dict from .signalpreprocessor import signalpreprocessor_engines #~ from .peakdetector import get_peak_detector_class from .cltools import HAVE_PYOPENCL, OpenCL_Helper if HAVE_PYOPENCL: import pyopencl ...
[ "sam.garcia.die@gmail.com" ]
sam.garcia.die@gmail.com
737c3a0c18eecf9dd5af78c6ee2af945f8d9b712
4fa57f50470b1e83b3c833f5e7e4644faecf589e
/analytics/non_energy_minerals.py
e3c0a62033d85964232b2b3377f2282a6dc92d1a
[]
no_license
tilakchandlo/Top-Stocks-To-Buy-And-Watch
d87c4d9bd944cc4ad4e3f173def49204ae459106
611de2f789199a1230fc91c2147e4a7cfade91ae
refs/heads/master
2022-09-13T18:22:27.797441
2020-06-03T07:20:02
2020-06-03T07:20:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
from analytics import sectors from analytics.utils import upload def non_energy_minerals_1(): upload(sectors.non_energy_minerals_1, "non_energy_minerals") print("non_energy_minerals_1") def non_energy_minerals_2(): upload(sectors.non_energy_minerals_2, "non_energy_minerals") print("non_energy_minera...
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
4d99769afdbb9b1f3b348594b562f45b0a54ab52
41f99117a29379502671eafc0b65b8249e8809b0
/FINAL PROGRA 1/Finales/Regular Agus/Agustin_Final.py
fe3e87a59322936b9820f5610975a04335b246f2
[]
no_license
maximilianogomez/Progra1
4525ac47d309bf9569e62ea369454037777803df
2b15c276fc70de413619291f4bd85e34a4ed46fb
refs/heads/master
2020-09-08T07:06:42.484239
2020-07-18T01:57:59
2020-07-18T01:57:59
221,055,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
def leerArchivo(letra): try: origen = open("subtes.txt") except IOError: print("Hubo un error de carga") else: dic = {} linea = origen.readline() # Compruebo que la linea sea la que ingrese while linea: linea = linea.replace('\n','') ...
[ "noreply@github.com" ]
maximilianogomez.noreply@github.com
a2a1ecc38b23a29854331d3081a00e88e149cdda
5fe256f7c301c823e3be70d897fc7e84567de461
/StockAnalyze.py
e91208e1c55d0e05b5c620e640ae5ec4e78c44cb
[]
no_license
snakedragon/stock
70aa645cae02f59764dce5975fd3c0f75b405401
9fb74cc8072b11597ce0b4e6c5a5166c5206c61f
refs/heads/master
2021-07-09T20:33:40.047635
2020-11-03T02:39:13
2020-11-03T02:39:13
213,774,506
1
0
null
2020-11-03T02:39:14
2019-10-08T23:16:54
null
UTF-8
Python
false
false
7,351
py
''' @author:rocky @email:weigesysu@qq.com @feature: 收盘事后分析 ''' from settings import get_engine import pandas as pd from scipy import stats import tushare as ts import datetime import os # import matplotlib.pyplot as plt import numpy as np pd.set_option('display.max_rows', None) def volume_calculation(code, start, e...
[ "jinweizsu@gmail.com" ]
jinweizsu@gmail.com
31932d94dbaad033391a62b666e0b3e0bac4578c
9bcee042c4aa3f9f3ec5a2d3e54e51272913b54f
/gram/urls.py
2f144271b376f3f012677af9da22d7607f3e6aa4
[]
no_license
fredkheisa/mygram
c2459c3a292e464c52f3b571ad6606ee3b6175d4
71c728aae4490e5c7494f18026bb328272bd4e17
refs/heads/master
2020-04-09T17:04:42.731953
2018-12-13T07:39:05
2018-12-13T07:39:05
160,470,028
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
"""gram URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
[ "you@example.com" ]
you@example.com
2a96fb06588b323210d4e338805b7d1743a83d12
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/BASIS-ONLINE-DIAG-MIB.py
a383745970494a0dea1e2124ef27e16d36509498
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
5,674
py
# # PySNMP MIB module BASIS-ONLINE-DIAG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BASIS-ONLINE-DIAG-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:34:38 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
ffd8189efccaf668f1223d29f7b787af70a003f6
3e89188ae718ec4cff058a33745eb60d35833600
/dataset_processing/test/cv_test1.py
1eb879bf15e3eb00b8709809cdd82a8cdedaa6d2
[]
no_license
Nishida-Lab/human_recognition
dd2d1bf53b1bdbfad26c5e12d4218748c3b45f40
0bdc3e4a37459b60ac7e4caa1d6cbff7deb13b2b
refs/heads/master
2021-01-22T21:18:00.465442
2018-04-01T22:18:25
2018-04-01T22:18:25
100,671,359
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
import numpy as np import cv2 drawing = False mode = True ix,iy = -1,-1 def draw_circle(event,x,y,flags,param): global ix,iy,drawing,mode if event == cv2.EVENT_LBUTTONDOWN: print 'Push' drawing = True ix,iy = x,y elif event == cv2.EVENT_MOUSEMOVE: if drawing == True: ...
[ "p104314t@mail.kyutech.jp" ]
p104314t@mail.kyutech.jp
4b20ced07657f8667d9f813eff53fbd1311735e8
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/responder/actions/tests/test_views.py
48e91664413efed0e3eef853406fab0b250ef3f3
[ "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
4,004
py
# -*- coding: utf-8 -*- # Copyright 2017-2019 ControlScan, Inc. # # This file is part of Cyphon Engine. # # Cyphon Engine 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, version 3 of the License. # # Cyphon En...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
279bba930e900774e181f045a2724faa279ee657
5864e86954a221d52d4fa83a607c71bacf201c5a
/carbonui/services/font.py
3f6e920389ce90730ac348a03ca362570364c61c
[]
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
19,942
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\carbonui\services\font.py import blue import telemetry import types import fontConst import trinity import carbonui.const as uiconst import carbonui.languageConst as languageConst from carbonui.util.stringManip import GetAsUnic...
[ "le02005@163.com" ]
le02005@163.com
e55b8c37883a3269f8c432b6f6c176575bea2904
c2b3b2fe011cacba280137713d559a813be52d6c
/Week_06/解码方法.py
e18e514c893be60864fc936800741bf7924a3d19
[]
no_license
xsan777/algorithm009-class01
be23f021809fb7a5ff220c14dca27957f3346f5a
79d60b3ce467a1368ad8906c1191653778991067
refs/heads/master
2022-11-20T05:43:57.438823
2020-07-26T14:22:14
2020-07-26T14:22:14
266,499,856
0
0
null
2020-05-24T08:27:46
2020-05-24T08:27:45
null
UTF-8
Python
false
false
609
py
class Solution: def numDecodings(self, s): n = len(s) if not s or s[0] == '0': return 0 pre = 1 cur = 1 for i in range(1, n): if s[i] == '0': if s[i -1] == '1' or s[i - 2] == '2': cur = pre else: ...
[ "1315969544@qq.com" ]
1315969544@qq.com
b118df4421057e319b8724506ec519d59db5ba87
000f60cb58d475b53d17a302aa32d61f177430e1
/scenarios/activity-update-and-delete/bots/__init__.py
e6c728a1239d1d515aa34e6b879db4fd861d8e6e
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Bpowers4/botbuilder-python
72c45df9a2115e1c40ed0a356671ad83ab2ed586
7e2fbadc920a2edb0b91fef2be5ac54da7702fb7
refs/heads/master
2021-03-16T00:46:47.205449
2020-03-12T16:43:11
2020-03-12T16:43:11
246,891,240
1
0
MIT
2020-03-12T17:18:19
2020-03-12T17:17:35
null
UTF-8
Python
false
false
210
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from .activity_update_and_delete_bot import ActivitiyUpdateAndDeleteBot __all__ = ["ActivitiyUpdateAndDeleteBot"]
[ "johtaylo@microsoft.com" ]
johtaylo@microsoft.com
84f0c50e12864566fdd8b0dae3b1827aa242bbb0
e2e847fb7094f756007b3ab8f1d85a7dd1456429
/backend/manage.py
0a0354f29848d0431b130a0eaf53860869411530
[]
no_license
crowdbotics-apps/lss-workplace-24272
ddbe40011dcf01d8bd65e65af9feae11c99a681f
f3b90e57a13ce8260e1c1dd5f512bd582c9c8185
refs/heads/master
2023-02-27T21:22:58.846432
2021-02-04T10:08:57
2021-02-04T10:08:57
335,912,980
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lss_workplace_24272.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
805f415ab0716b2acf065556481b728f95aee7c0
bfd6ac084fcc08040b94d310e6a91d5d804141de
/scripts/experiments/Gates/ms_scan_local_stark_detuning.py
8d9056e3dd3c0a39d24e7e02516c2b74e6790dee
[]
no_license
jqwang17/HaeffnerLabLattice
3b1cba747b8b62cada4467a4ea041119a7a68bfa
03d5bedf64cf63efac457f90b189daada47ff535
refs/heads/master
2020-12-07T20:23:32.251900
2019-11-11T19:26:41
2019-11-11T19:26:41
232,792,450
1
0
null
2020-01-09T11:23:28
2020-01-09T11:23:27
null
UTF-8
Python
false
false
10,080
py
from common.abstractdevices.script_scanner.scan_methods import experiment from excitations import molmer_sorensen_gate from lattice.scripts.scriptLibrary.common_methods_729 import common_methods_729 as cm from lattice.scripts.scriptLibrary import dvParameters from lattice.scripts.experiments.Crystallization.crystalliz...
[ "haeffnerlab@gmail.com" ]
haeffnerlab@gmail.com
31addbbe053c154c6a33e6a62f3499fb9d111c81
d82ad43212dbb60b81c8f09728e5c53626071ad7
/docs/conf.py
d479c794c25a9665cbc1733934552ff81d2442ea
[ "MIT" ]
permissive
kirill-shtrykov/rocket-python
6521fbe1fdf2a534c9bb12100f7c25418f2f6668
0310940a36d6f586aaa4ca59ad1f6bb96f2c1d8d
refs/heads/master
2020-03-21T00:16:03.376083
2018-06-19T17:28:55
2018-06-19T17:28:55
137,885,526
0
0
null
2018-06-19T11:59:44
2018-06-19T11:59:44
null
UTF-8
Python
false
false
5,057
py
# -*- coding: utf-8 -*- # # Rocket Python documentation build configuration file, created by # sphinx-quickstart on Thu Jan 19 18:32:35 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file....
[ "dstegelman@gmail.com" ]
dstegelman@gmail.com
0a869ed417bef160a123a160cdfde44a8e502077
95b0c5ca479c71ab0809f8b042187506e054a409
/test/functional/wallet_basic.py
811e9e58eed5e2077038084412c5cfc2f21b01e3
[ "MIT" ]
permissive
JTAG-Romney/scholarshipcoin
8497ebd6779a2ececd01e49732a77bcd3da39e6e
eac2ed5d5f7e7d7d38a6a2a3b689749ae17f597a
refs/heads/main
2023-03-14T03:58:57.579899
2021-03-03T01:38:49
2021-03-03T01:38:49
354,953,577
2
0
MIT
2021-04-05T19:47:21
2021-04-05T19:47:21
null
UTF-8
Python
false
false
25,925
py
#!/usr/bin/env python3 # Copyright (c) 2014-2019 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet.""" from decimal import Decimal import time from test_framework.test_framework import ...
[ "quentin.neveu@hotmail.ca" ]
quentin.neveu@hotmail.ca
02650b9a8a03ca2dba0adc75c569eea376c523b0
62922a76e40003f3d3a7d02282853f9a2b76c6fc
/keras/test6.py
f9c7a4686724c9e7a2d9f67cb8c464bf9e3a4eb8
[]
no_license
cchangcs/ai_learning_record
a7d0d9c7fcdc1e97d8869aa7e63b535f8cf62df2
235a90ff5fe0205334376a927d462b8ae64e4e70
refs/heads/master
2020-04-01T16:59:31.203223
2018-11-21T11:12:34
2018-11-21T11:12:34
153,408,023
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
import numpy as np from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential from keras.layers import Dense, TimeDistributed, LSTM from keras.optimizers import Adam import matplotlib.pyplot as plt # 使多次生成的随机数相同 np.random.seed(1337) # 超参数 BATCH_START = 0 TIME_STEPS = 20 BATC...
[ "752340690@qq.com" ]
752340690@qq.com
6a7dec5f1a1fca09ae2eae3783081194cd4c85ed
3599c08e9f5d9ff72dd2225b54e3dffb28aa73de
/tests/fr.py
398649f603db196ada541722c2d2478ac78c131e
[ "MIT" ]
permissive
thibaudcolas/l18n
b9a1d087d3416930ea190ab84461679cb7d980bc
986c5ace9f5d6f02269940123e97de5f29e8e655
refs/heads/master
2023-01-06T09:57:13.207394
2020-10-31T04:02:00
2020-10-31T04:02:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
# -*- coding: utf-8 -*- import l18n import six from ._base import TestCase class FrTests(TestCase): language = 'fr' def test_tz_city_translated(self): self.assertEqual( six.text_type(l18n.tz_cities['America/North_Dakota/New_Salem']), u'New Salem (Dakota du No...
[ "thomas@ksytek.com" ]
thomas@ksytek.com
e83ad649cc705cb824a317a9ca216719b1317d61
c1e0874f55d05ee990ed2d637c2910701b32d246
/soft_uni_OOP/Inheritance/exercise/need_for_speed_4/main.py
c5bc04b9d69e23be042feedff741454dbac42b81
[]
no_license
borislavstoychev/Soft_Uni
5d047bef402c50215e0abc825476326889ffd0be
ccc0b2fb18f8ad6809b475eb20e82a9e4eb4b0b0
refs/heads/master
2023-05-11T12:27:08.672058
2021-05-28T18:00:10
2021-05-28T18:00:10
277,556,731
3
2
null
2021-02-11T19:57:37
2020-07-06T13:58:23
Python
UTF-8
Python
false
false
515
py
from project.vehicle import Vehicle from project.family_car import FamilyCar if __name__ == "__main__": vehicle = Vehicle(50, 150) print(Vehicle.DEFAULT_FUEL_CONSUMPTION) print(vehicle.fuel) print(vehicle.horse_power) print(vehicle.fuel_consumption) vehicle.drive(100) print(vehicle.fuel)...
[ "stoy4ew@gmail.com" ]
stoy4ew@gmail.com
d1bcfd103880ba576f0e7e36599feac36f54da08
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/RejeSPe68ajYzzgXM_7.py
47f528272e0894098cc28a41fb021b9c08add9a0
[]
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
383
py
def combine(lst): d = {} state_lst = [] res = [] ​ for i in range(len(lst)): state_lst.append(lst[i][0]) ​ state_lst = sorted(set(state_lst)) ​ for state in state_lst: for i in range(len(lst)): if lst[i][0] == state: res.append(lst[i][-1]) ​ d...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
62245fa0ddbe93c7edd71d71e8a6e5c46a6d777b
10ad2932faa9ddeeafeb5b6b455966e5044ece19
/surveys/default_config.py
0b125062dfcf95e1003a7b5bd76731f1af5f8167
[]
no_license
JoaoFelipe/prov-survey
9a4ab596a2e4e8cfc49038e7aac7bd9fdfb6718a
0a766fb60a0e846b0ea2ec380b804b29b4f0ee0a
refs/heads/master
2021-01-10T11:39:03.983529
2017-07-12T15:23:36
2017-07-12T15:23:36
80,329,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
# -*- coding: utf-8 -*- # The default_config module automatically gets imported by Appconfig, if it # exists. See https://pypi.python.org/pypi/flask-appconfig for details. # Note: Don't *ever* do this in a real app. A secret key should not have a # default, rather the app should fail if it is missing. For the sa...
[ "joaofelipenp@gmail.com" ]
joaofelipenp@gmail.com
085b9d5922f1f894d9178cc1b929a8d753e745b9
7a31597f1359be11d2cc05d8107963f3dbe9e204
/image_handle/test.py
cb4222b7a9122c54491a1b50ecec0f2c6b6bc33c
[]
no_license
LIMr1209/machine-learn
9aac2b51a928a864ac3cf82368b3fe9694644cb2
56453dce6ae8ba5e7298dab99d5e6a6d114e4860
refs/heads/master
2022-07-12T14:17:07.536535
2021-12-20T06:57:54
2021-12-20T06:57:54
163,064,915
5
2
null
2020-08-31T03:09:10
2018-12-25T08:48:00
Python
UTF-8
Python
false
false
1,443
py
import os from PIL import Image # 转换格式 IMG_EXP = ".png" CURRENT_PATH = 'C:\\Users\\aaa10\\Desktop\\webp' # 获取最高所有文件 cur_all_files = os.listdir(CURRENT_PATH) # 转换列表 imgList = [] # 遍历文件夹,储存webp格式的路径到列表内 def findFileForImage(filePath): child_all_files = os.listdir(filePath) for child_file_name in child_all_file...
[ "aaa1058169464@126.com" ]
aaa1058169464@126.com
4e6e9cad7afb7fa14f305568ab772aab74f533a9
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/sieve-354.py
3d256f2286e8a964e1ad5e0e04983d9474060490
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,587
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
f379bd909c731d26615706a93c7932df522949ae
2ec14fd1724fc8959e1d3a1b4d3f61d5c0cf6f48
/test/functional/wallet_createwallet.py
2a5bf1ff0a5729494e3337f934d910bdd559290e
[ "MIT" ]
permissive
vitae-labs/Vitae
7ddf8142d1e663f406399ec17de1c7bbba5e32fd
fa301e714cb26e742cfe29164a25961f1ff6d52c
refs/heads/main
2022-07-28T15:48:24.765770
2022-01-29T06:13:19
2022-01-29T06:13:19
451,559,855
0
1
null
null
null
null
UTF-8
Python
false
false
8,103
py
#!/usr/bin/env python3 # Copyright (c) 2018-2019 The Bitcoin Core developers # Copyright (c) 2020-2021 The Vitae Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test createwallet arguments. """ from test_framew...
[ "hemant.singh.leu@gmail.com" ]
hemant.singh.leu@gmail.com
cd1942abf9abc840e3e976984e21f3107da71cbc
39d26bedd4049d58265fcd6c480cc7a5b73c7ece
/Tutorial_SimpleTeacherAPI/python-sample-code/tests/test_traversal.py
ca31ba75db4fd7e84da6b803ef3560976889b6fb
[]
no_license
sramirezh/Developing
7adc6dbb5c8436db6a3ab125018186ea7bdd1b40
a07ed07899911b9860830f9498c08144c4eca3d4
refs/heads/master
2022-11-08T01:43:05.755215
2021-08-23T03:57:39
2021-08-23T03:57:39
249,786,342
0
1
null
2022-10-24T21:02:22
2020-03-24T18:26:46
Python
UTF-8
Python
false
false
1,336
py
"""Unit tests for the traversal module.""" from binary_trees import binary_search_tree from binary_trees import traversal def test_binary_search_tree_traversal(basic_tree): """Test binary search tree traversal.""" tree = binary_search_tree.BinarySearchTree() for key, data in basic_tree: tree.ins...
[ "sramirez.hinestrosa@gmail.com" ]
sramirez.hinestrosa@gmail.com
09c2adda29e4b03a779382e1cf5a89a03f5d0b30
40370aaec6e4bd028f64e49b7374548e2eb2086a
/rocketgram/api/delete_sticker_from_set.py
517cb14077c3026da707de1643fe8443adde84ab
[ "MIT" ]
permissive
TonyZhang03/rocketgram
8d176253bc6bbd2bd9cd8bc353fe30987ac9dd59
edfa0b1e48e5c8d8c9bc8ec871e75eaeb59b9ddd
refs/heads/master
2023-03-24T13:41:14.469894
2021-03-20T19:30:26
2021-03-20T19:30:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# Copyright (C) 2015-2021 by Vd. # This file is part of Rocketgram, the modern Telegram bot framework. # Rocketgram is released under the MIT License (see LICENSE). from dataclasses import dataclass from .request import Request from .utils import BoolResultMixin @dataclass(frozen=True) class DeleteStickerFromSet(B...
[ "vd@" ]
vd@
3e479e22d052cb884a0abaac481d35d160d54a29
21cd8decb5b2304b175c018a9bd516cd6a66b042
/torch_utils/training.py
e1717a21a44d878a84fcedfd9e9fc2f3c1534814
[ "MIT" ]
permissive
jjakimoto/torch_utils
93c26b2561dfc7110356167b4fc4a10b72170753
2007924a2de7f27057536b90d324661747b45241
refs/heads/master
2020-03-27T03:57:55.513028
2018-09-27T06:20:19
2018-09-27T06:20:19
145,901,982
2
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
import torch def train_step(model, train_loader, optimizer, loss_func, score_func=None, epoch=None, device='cpu', log_interval=100, silent=False, **kwargs): '''Train step for one epoch Parameters ---------- model: nn.Module subclass train_loader: Defin...
[ "f.j.akimoto@gmail.com" ]
f.j.akimoto@gmail.com
934eb78a8f13e6b9f48c23147f92fade27a231ad
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/nkwyon001/question4.py
efd2bbeadaa00621b02aa42b899e3bc07c786100
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
"""list of marks yondela nkwali 24 April 2014""" #ask for list of marks Lmarks=input("Enter a space-separated list of marks:\n") marks=Lmarks.split(" ") noMarks1=0 noMarks2=0 noMarks3=0 noMarks4=0 noMarks5=0 #put them in categories according to their marks for i in marks: j=eval(i) if j>= 75: ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
3f0eb12c7760afa59d4651ca6bf65e4500c1e709
597b82737635e845fd5360e191f323669af1b2ae
/07_Django/surprise_me/surprise_me/settings.py
75d56b6d2227cb7d3955cc8dfac5a4ad26bd96b5
[]
no_license
twknab/learning-python
1bd10497fbbe181a26f2070c147cb2fed6955178
75b76b2a607439aa2d8db675738adf8d3b8644df
refs/heads/master
2021-08-08T08:50:04.337490
2017-11-10T00:28:45
2017-11-10T00:28:45
89,213,845
0
1
null
null
null
null
UTF-8
Python
false
false
3,130
py
""" Django settings for surprise_me project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "natureminded@users.noreply.github.com" ]
natureminded@users.noreply.github.com
9bc9689c9cabe1bc506d9f1761059e484a172772
b122b723c2fbadef6f19e8c9ec4e485d48c03dec
/Python/Pascal's Triangle II.py
d232d9de588e7ee41fb72da35b382cd33bd3652f
[]
no_license
zhanglintc/leetcode
5ba3977172679fde8cdcd3f4940057d55d8112eb
8edbd2fbad8b10a497c7a10e8cd09cc91eeba079
refs/heads/master
2020-12-13T08:49:57.244106
2018-09-06T13:52:43
2018-09-06T13:52:43
18,562,111
1
0
null
null
null
null
UTF-8
Python
false
false
728
py
# Pascal's Triangle II # for leetcode problems # 2014.09.13 by zhanglin # Problem Link: # https://leetcode.com/problems/pascals-triangle-ii/ # Problem: # Given an index k, return the k[th] row of the Pascal's triangle. # For example, given k = 3, # Return [1,3,3,1]. # Note: # Could you optimize your algorithm to us...
[ "zhanglintc623@gmail.com" ]
zhanglintc623@gmail.com
4fa544588fcc6ef1227393515926f17dc0363c28
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/zinstance/products/auslfe.formonline.content-0.8.1/auslfe/formonline/content/config.py
eade46d7239c83eb399299d3c5e28b450283cbf8
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
203
py
"""Common configuration constants """ PROJECTNAME = 'auslfe.formonline.content' ADD_PERMISSIONS = { # -*- extra stuff goes here -*- 'FormOnline': 'auslfe.formonline.content: Add FormOnline', }
[ "renansfs@gmail.com" ]
renansfs@gmail.com
d6dde85475f035a3bb1a5a8fc4b4e22c8f88f7bf
6d8a7664b25fbe9c24ca972d310c5934d0d991e8
/Sorteio do aluno.py
3701026abe7067fc156e8d9c81049810dae4a717
[]
no_license
LeoGraciano/python
c6d24f438c3735fd97d1e71ea7bfd53d16fc2205
bf447bb42a5fab399a8cae5a5d2f5785f9ed0ebf
refs/heads/master
2022-12-22T11:48:11.757387
2020-09-29T03:24:11
2020-09-29T03:24:11
287,509,893
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
import random a1 = (input('Nome primeiro Aluno: ')) a2 = (input('Nome segundo Aluno: ')) a3 = (input('Nome terceiro Aluno: ')) a4 = (input('Nome do quarto Aluno: ')) l = [a1,a2,a3,a4] luck = random.choice(l) print ('O aluno escolhido foi: {}'.format(luck))
[ "leonardof.graciano@gmail.com" ]
leonardof.graciano@gmail.com
fa76cfe0e3478d98cd958dad95d49b1c93eb270c
d3c5bc56115f2ffa43a72885814868766a5f6932
/mbasic_crawl.py
9daa299a83cdcd9b6960242a2a028d164d3c8842
[]
no_license
chunin1103/num2face
93e95e4a2bfc9c021c9c70a5d22f8828aa5898f4
838e18df1496a9689789237dfe2ba693f4e8ed7a
refs/heads/main
2023-02-13T15:44:23.660594
2021-01-11T19:18:11
2021-01-11T19:18:11
328,761,793
1
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
from selenium import webdriver from time import sleep from selenium.webdriver.common.keys import Keys import urllib.request # 1. Khai bao bien browser browser = webdriver.Chrome(executable_path=r'C:\Python38\Scripts\chromedriver.exe') # 2. Mo thu mot trang web browser.get("http://mbasic.facebook.com") # 2a. Login t...
[ "you@example.com" ]
you@example.com
077a968a3623f2392dd82f76b907c4c5a9d20a2e
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/site-packages/setuptools/package_index.py
9593d56994b5600c17617501ab7a8bb54efa9431
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:c9e89f650849551c0f49a42646b54fc5b5d1cbed6517929d4c557c3406f761c1 size 40342
[ "aqp1234@naver.com" ]
aqp1234@naver.com
069550cc3af24be180730803b35cf12504c73285
8a269d6e597ce214dc6540230c997c801b5addd0
/11/volume.py
34903e15846d3c82dfc71eeed543d8467500ccd8
[]
no_license
oreqizer/pv248
f9f126d40b4e331989b3b39a8367c826bc77fcd6
9550e91c5e3473f39488605298dee52e4240342b
refs/heads/master
2023-03-01T21:40:02.354436
2021-02-08T17:31:15
2021-02-08T17:31:15
302,929,555
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# Compute the volume of an n-dimensional simplex, given as a list of # n + 1 points. A 2D simplex is a triangle, given by 3 points, a 3D # simplex is a 3-sided pyramid given by 4 points and so on. # Go on to ‹histogram.py›. def volume( pts ): pass from math import isclose def test_main(): assert isclose( vo...
[ "oreqizer@gmail.com" ]
oreqizer@gmail.com
06edf79a1f8c72f05e911be11e524a5cb5c52084
a7cf2d5a062ccb93285f034baa472703599336fb
/lec09-function2/binormial.py
907c1bdc8a8b8ef5a593e542e8dcd79993028208
[]
no_license
webturing/PythonProgramming_20DS123
5538535e039a87e20752549bb0fa75d32b022cf9
d971277b0401e342adad637ebfac5f88f321abe6
refs/heads/master
2023-02-16T17:02:07.385325
2021-01-20T09:53:28
2021-01-20T09:53:28
297,176,647
1
1
null
null
null
null
UTF-8
Python
false
false
307
py
def factorial(n): # n! ''' n!=2*3*4....*n n!=n*(n-1)! ''' s = 1 for i in range(2, n + 1): # [a,b+1) == [a,b] s *= i return s def binormial(n, r): return int(factorial(n) / factorial(r) / factorial(n - r)) for i in range(5): # C(4,i) print(binormial(4, i))
[ "zj@webturing.com" ]
zj@webturing.com
3caf9a5c25a429d2da3a289c3dd2dbf851367556
4c20c78cf383cd40db8e3d3eee88e5f96884a1af
/221.maximal_square/maximalSquare.py
23a3669e5c434841eae923933416746965b89017
[]
no_license
HanchengZhao/Leetcode-exercise
de6c17a2c965fe0c3afc0a4c39fc0a5f8bbe8d47
6c780a97c956856ac94a5d0bb4c9b631e7a0677a
refs/heads/master
2021-05-04T10:09:29.308858
2019-10-17T05:31:20
2019-10-17T05:31:20
50,731,817
7
1
null
null
null
null
UTF-8
Python
false
false
777
py
class Solution(object): def maximalSquare(self, matrix): """ :type matrix: List[List[str]] :rtype: int """ n = len(matrix) if n == 0: return 0 m = len(matrix[0]) if m == 0: return 0 s = [[0] * (m+1) for i in range(2)] ...
[ "chancidy@gmail.com" ]
chancidy@gmail.com
5d091321e40482d4ea827336b6ccd2954d8efe38
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2249/60620/264910.py
d0d240f23afd7e022f23561a75d70583a5982045
[]
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
321
py
n=int(input()) r=[] result=0 for i in range(n): a=list(map(int,input().split(','))) r.extend([a]) for i in range(len(r)): row=0 col=0 for j in range(len(r)): if(r[i][j]): result+=1 row=max(row,r[i][j]) col=max(col,r[j][i]) result+=row+col print(result)...
[ "1069583789@qq.com" ]
1069583789@qq.com
20d37755cf254f29c25a7aac195af82ad4a5fff6
e12385c85e41d98bc3104f3e4dde22025a0b6365
/m5stack-u097/examples/test_async.py
3f649224ab2f19cbfb930bd59ee33772c3015ba9
[]
no_license
mchobby/esp8266-upy
6ee046856ec03c900ebde594967dd50c5f0a8e21
75184da49e8578315a26bc42d9c3816ae5d5afe8
refs/heads/master
2023-08-04T15:11:03.031121
2023-07-27T15:43:08
2023-07-27T15:43:08
72,998,023
47
30
null
2021-06-20T16:12:59
2016-11-06T15:00:57
Python
UTF-8
Python
false
false
999
py
""" Test ASYNC mode the MicroPython driver for M5Stack U097, 4 relays I2C grove unit. In ASYNC mode, the LED can be controled independantly from the relays * Author(s): 28 may 2021: Meurisse D. (shop.mchobby.be) - port to MicroPython https://github.com/m5stack/M5Stack/blob/master/examples/Unit/4-RELAY/4-RELAY....
[ "info@mchobby.be" ]
info@mchobby.be
8f244a5289e801c24ea0f09ff216ca916e8bb96d
3b89c0a97ac6b58b6923a213bc8471e11ad4fe69
/python/CodingExercises/ReverseIndividualWords.py
62d7bbbad800fa48e9950b166389a96e56d850c9
[]
no_license
ksayee/programming_assignments
b187adca502ecf7ff7b51dc849d5d79ceb90d4a6
13bc1c44e1eef17fc36724f20b060c3339c280ea
refs/heads/master
2021-06-30T07:19:34.192277
2021-06-23T05:11:32
2021-06-23T05:11:32
50,700,556
1
3
null
null
null
null
UTF-8
Python
false
false
477
py
# Reverse individual words # Given a string str, we need to print reverse of individual words. def ReverseIndividualWords(str1): lst=str1.split() fnl_lst=[] for l in lst: tmp=list(l) tmp.reverse() fnl_lst.append(''.join(tmp)) return ' '.join(fnl_lst) def main(): str1='He...
[ "kartiksayee@gmail.com" ]
kartiksayee@gmail.com
975a56e8e3d36b6db823b76518bd858e61cf3b83
693d8da2a6925a211600816b420863591dba409f
/interview_questions/cross_entropy.py
61e5040af399dff395b38a58b98788427ecb3243
[ "Apache-2.0" ]
permissive
gridl/insight-data-challenges
3501094338db661679cd380d8f96840596b16c53
a5ab4d00085d820b97fb3438bb113fc49f8c2acb
refs/heads/master
2020-03-23T02:21:55.954026
2017-07-18T15:54:45
2017-07-18T15:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
""" Define cross-entropy loss. What kinds of problems is it used in? Write a Python function that takes in two numpy matrices, one a black-and-white image, and the other an identically shaped set of probability values, and returns the cross entropy loss score. """ import numpy as np def cross_entropy_loss(img, prob...
[ "ericmajinglong@gmail.com" ]
ericmajinglong@gmail.com
9847dc37429b52ac3a7b77ef70f2b4b334e3723c
071c3c26cc1ab2f96cf193803ff99afde61fdc8a
/elastic/simulator/dp_simulation2.py
d3bbf1c9a9de847944e72bf537d73fb1652210d8
[]
no_license
oxhead/elastic-hpcc
245cd4120a4ae0b42d0aedfe0a31cc364869da92
053af4126263de68e36d46cbb2f83c28c40dcd2f
refs/heads/master
2021-04-15T13:37:47.712593
2017-08-17T13:41:14
2017-08-17T13:41:14
126,847,123
0
0
null
null
null
null
UTF-8
Python
false
false
13,858
py
import enum import math from collections import defaultdict import json import copy import numpy as np from scipy import stats from elastic.util import collection as collection_helper class WorkloadGenerator: @staticmethod def new(workload_name, size=16): distribution_type = workload_name.lower() ...
[ "chsu6@ncsu.edu" ]
chsu6@ncsu.edu
ce6dd5b2cf40ef08a7132b964a59ba66c1528e63
4f528442bd809fdd15f8e7ef15ab1266d9acb2b3
/21/s.py
52ae53070ecd3a62a3ef1249254c3099e300c3ca
[]
no_license
acu192/advent-of-code-2019
dbb971a070e81217c4cfc79e5592aa58a06f31f7
58ba664006142eccd139a4591ba4c311eebbcdf1
refs/heads/master
2020-09-27T22:05:03.605203
2019-12-25T17:52:44
2019-12-25T17:52:44
226,620,328
0
0
null
null
null
null
UTF-8
Python
false
false
9,808
py
import asyncio from collections import defaultdict def get_program(): intcode = [3,8,1005,8,334,1106,0,11,0,0,0,104,1,104,0,3,8,102,-1,8,10,101,1,10,10,4,10,108,0,8,10,4,10,1002,8,1,28,2,1108,5,10,3,8,102,-1,8,10,101,1,10,10,4,10,1008,8,1,10,4,10,1001,8,0,55,1,102,18,10,1,2,5,10,3,8,1002,8,-1,10,1001,10,1,10,4,1...
[ "ryan@rhobota.com" ]
ryan@rhobota.com
9ede031be2abc9b10cd704e0d35e292af1e5125f
a47e1f4a771d078104a877e461b5bce0130a9043
/python/demo-ellipses.py
3d8f4402b5fe99bda9209a3f427fac368a3b9fdd
[]
no_license
changcunyuan/gl-agg
adb582b8bb00f31b33e9799dedc08423c3deb605
559b6eecbdd034fd1cc0253782556853ac8c4921
refs/heads/master
2020-04-27T04:43:30.623563
2013-03-06T08:26:25
2013-03-06T08:26:25
33,650,094
0
0
null
null
null
null
UTF-8
Python
false
false
5,701
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ---------------------------------------------------------------------------- # OpenGL Anti-Grain Geometry (GL-AGG) - Version 0.1 # A high quality OpenGL rendering engine # Copyright (C) 2012 Nicolas P. Rougier. All rights reserved. # Contact: Nicolas.Rougier@gmail.com # ...
[ "Nicolas.Rougier@inria.fr" ]
Nicolas.Rougier@inria.fr
c7bf0786041cc088dc1bc4c1ddf716a072bd14cf
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/scikit-learn_test_results/files/65_pipeline_remote.py
7712b5cf58871eb413d4e9ae5625cb7ce06bf7eb
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,288
py
""" Pipeline: chain transforms and estimators to build a composite estimator. """ # Author: Edouard Duchesnay # Gael Varoquaux # Virgile Fritsch # Alexandre Gramfort # Licence: BSD from .base import BaseEstimator class Pipeline(BaseEstimator): """ Pipeline of transforms with a final estim...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
023240d485b6296ae2dc0822afe926d3b877537e
d7016f69993570a1c55974582cda899ff70907ec
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2021_10_01/aio/_compute_management_client.py
312c91cd0a1b268d4269ae280bece29cd3f5278a
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
6,174
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" ]
kurtzeborn.noreply@github.com
6152b6794f237a8f6efe688dae2bf56375d84d90
aebacedc43afabf8ce54bb25f4cbe040441dcba4
/appscripts/appscripts-acer/protint.py
be512e2a07221ee1aa705d012e7801c4e9cddcde
[]
no_license
swanandgore/rappertk
84e968447597494645ac0c9868358fc6a194197a
d1a5d5e0d096dfc23237e29bfd983183ca1e2fbd
refs/heads/master
2020-05-17T07:59:43.613762
2014-08-20T12:13:56
2014-08-20T12:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,862
py
import math, os, sys, string , shutil , sys from xray import cif2mtz, uniqueify, sfall, mtz2hkl, cns_generate, cns_anneal, sgCCP4toCNS, fft, omitmap, mapman from builders import VecInt, VecFloat, VecVecFloat from geometry import MapIntIntFloat, CAtraceGH, calcDist from pdbr import protein, line2resid, line2resn, line2c...
[ "swanand@ebi-001.ebi.ac.uk" ]
swanand@ebi-001.ebi.ac.uk
9eb61728d8cedd5c55d29c70b8ff9ee9cb5c9aef
644bcdabf35261e07c2abed75986d70f736cb414
/python-project/Defis/Euler_68_Test.py
0fd131d8c66ddb7f109c7c7bdbc08afceaae7232
[]
no_license
matcianfa/playground-X1rXTswJ
f967ab2c2cf3905becafb6d77e89a31414d014de
67859b496e407200afb2b1d2b32bba5ed0fcc3f0
refs/heads/master
2023-04-03T11:56:15.878757
2023-03-24T15:52:37
2023-03-24T15:52:37
122,226,979
5
20
null
null
null
null
UTF-8
Python
false
false
1,119
py
#Ne pas oublier de changer le module à importer module="Defis/Euler_68" import sys import io #On récupère les données de l'utilisateur sauvegarde_stdout=sys.stdout sys.stdout=io.StringIO() from Euler_68 import * count1 = sys.stdout.getvalue()[:-1] sys.stdout=sauvegarde_stdout from ma_bao import * #La réponse reponse...
[ "noreply@github.com" ]
matcianfa.noreply@github.com
a02dc254eefd1012a4ba4e72055b5e7218e2a509
6a43aefed27596fcbcf861e2b5199e7cd5fa7580
/main.py
bc36e105006daae3dd23661f5b31a19b3850fcc2
[]
no_license
r07921059/Depth-Map-Generation-on-More-Realistic-Scenes
d63532eaa5d5150302b86cbed51a5b0fed6103b0
38451482537daf291fdb8bd4e07b4dedcddbc7f5
refs/heads/master
2022-11-25T10:05:11.405399
2020-01-20T08:01:47
2020-01-20T08:01:47
235,044,887
0
0
null
2022-11-22T05:15:28
2020-01-20T07:40:52
Python
UTF-8
Python
false
false
6,076
py
import os import numpy as np import argparse import cv2 import time from util import writePFM import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.optim as optim import torch.utils.data from torch.autograd import Variable import torch.nn.functional as F import sk...
[ "a" ]
a
8972ebc21260b3eda4a95d97be58d22fbf2ebfd7
4719e598dd6bbb1e0b1f8ecf4d4997e963dbd8bc
/ctat-genome_guided_reco.py
f5062f15883f2dd3c932a5f549807ae9f8a2cbbf
[]
no_license
NCIP/ctat-genome_guided_reconstruction
6d2690353dc96f44a18e796bf09b8c626b0aac7c
82d2cbde9d459ee4bb7096ad34795dc3e7a8afb5
refs/heads/master
2020-04-27T14:21:58.436333
2019-03-08T22:00:39
2019-03-08T22:00:39
174,407,678
0
0
null
null
null
null
UTF-8
Python
false
false
5,466
py
#!/usr/bin/env python # encoding: utf-8 from __future__ import (absolute_import, division, print_function, unicode_literals) import sys, os, re import argparse import subprocess sys.path.insert(0, os.path.sep.join([os.path.dirname(os.path.realpath(__file__)), "PyLib"])) from Pipeliner import ...
[ "brianjohnhaas@gmail.com" ]
brianjohnhaas@gmail.com
5074af6ec7a83e61a07e86806e70b5769e883615
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/bonus_based_exploration/noisy_networks/noisy_dqn_agent.py
d41d8b723c2738aeec35708b0795aac0c552c94b
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
8,066
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
4ed046fa4835f75d776e6d9027a078c382381d0c
ca58f8e1696e6275116dfb3eea68ff17eec3bbe1
/PyQt5开发与实战(网易云课堂)/src/dialogs/QColorDialog.py
e0e116ab3debb6297e639bc8a42793ff7066b7d9
[]
no_license
piperpi/python_book_code
9b8f99d08ed9840d34389aa008fd9ff5fd15e1ae
19d35e33624923a764711469bed9006549a59d52
refs/heads/master
2022-07-15T05:34:53.226952
2020-06-30T10:20:40
2020-06-30T10:20:40
217,888,567
3
2
null
2022-07-06T20:42:49
2019-10-27T17:10:00
Python
UTF-8
Python
false
false
1,394
py
''' 颜色对话框:QColorDialog ''' ''' 字体对话框:QFontDialog ''' import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class QColorDialogDemo(QWidget): def __init__(self): super(QColorDialogDemo,self).__init__() self.initUI() def initUI(self): self.se...
[ "775996445@qq.com" ]
775996445@qq.com
211986362d3998df23e24eb0eca4d374f245e52e
1d0895269d1d93bab6a0b595c806418b1eeda735
/test/ibmq/test_jupyter.py
96618b55d08fdd152c150b2ae62fe245199257c7
[ "Apache-2.0" ]
permissive
Qiskit/qiskit-ibmq-provider
3921bf5f77a9621013ada7ea5e18fa199470650c
590f68d9ddb42a45c4ac8a8626ea60da85575b21
refs/heads/master
2023-06-08T03:17:52.745052
2023-06-05T14:20:16
2023-06-05T14:20:16
163,192,893
240
182
Apache-2.0
2023-06-05T14:20:18
2018-12-26T15:22:11
Python
UTF-8
Python
false
false
5,164
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
Qiskit.noreply@github.com
db29e8c4e94be855ef52f4237b10234d0a9fb51e
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/contrib/humanize/__init__.py
9ca1642fae627bf11f9e2a02aeff06fbb0d82604
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
67
py
default_app_config = 'django.contrib.humanize.apps.HumanizeConfig'
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
515b846b7ca6a15fa455ead8bc0fef8574262e38
b441503bcdb484d098885b19a989932b8d053a71
/test/encoders/test_conformer_encoder.py
497e8c1a41583701a0a25e7388b71197dbddb953
[ "Apache-2.0" ]
permissive
entn-at/neural_sp
a266594b357b175b0fea18253433e32adc62810c
9dbbb4ab3985b825f8e9120a603a6caa141c8bdd
refs/heads/master
2020-08-28T05:48:28.928667
2020-06-22T19:17:53
2020-06-22T19:17:53
217,611,439
0
0
null
2019-10-25T20:40:18
2019-10-25T20:40:18
null
UTF-8
Python
false
false
3,604
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """Test for Conformer encoders.""" import importlib import numpy as np import pytest import torch from neural_sp.models.torch_utils import np2tensor from neural_sp.models.torch_utils import pad_list def make_args(**kwargs): args = dict( input_dim=80, ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
79a42b8bb00afc72b17682c95fe3653f96c82f01
7758c05e03e5a0e80dfe36c7faad3a075c2ad4b4
/py/for_f90/val_nshel.py
552c6e9231aecdb401069ba1e028450e4f96a36a
[]
no_license
ReiMatsuzaki/enint
cfedf2a010c11aa16416d57e62a2f0f3f8976e1f
2f884e7d5708ffdfee8319cf3ea7644cfe6a99fc
refs/heads/master
2021-09-07T21:04:03.611111
2018-03-01T04:28:27
2018-03-01T04:28:27
108,660,538
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
from enint.nsh import * print "mole_gammainc" for (m,z) in [(0,1.0), (1,1.1), (2,3.3), (3,0.0)]: print m, z, mole_gammainc(m,z) print "" print "coef_R" print coef_R_list(1.1, [0.0,0.1,0.2], [0.2,0.3,0.4], 1, 0)
[ "matsuzaki.rei@gmail.com" ]
matsuzaki.rei@gmail.com
8f8ce4cbb4905ddb999c4b4f5260abd9d9456e76
8acdae9ee934186aa2c3197f261d20e6005d8c32
/not_eav/contrib/basefields/models.py
c0f8a69736287d325597e8ec031b4588115d13d0
[]
no_license
jpic/django-not-eav
6e53fd264955185846d17701041224e8f30780f0
c68d2213b5cb80725292ffa7c19516a130474ce5
refs/heads/master
2021-01-23T21:38:28.124624
2012-09-13T12:05:06
2012-09-13T12:05:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,135
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from not_eav.models import BaseFieldModel class BooleanFieldModel(BaseFieldModel): module_class = 'django.db.models.fields.BooleanField' class Meta: verbose_name = _(u'Yes/No field') class CharFieldModel(BaseField...
[ "jamespic@gmail.com" ]
jamespic@gmail.com
ada11a7d972fad2cf295ce631463af0ff6404950
a12e089b254191b20b716cf6bf32ed1841ba0b08
/get_magicleague.py
3265e565e7af71ff739a987f7da2ae15ba07b701
[]
no_license
keflavich/meta_analysis
7dd90f0d2385d63c1c561326ed7d7b84de1e1dbe
51da14a85031f584e2234b8297038b9e1d81ff3b
refs/heads/master
2020-12-24T11:47:16.548046
2017-05-21T23:02:55
2017-05-21T23:02:55
76,384,380
0
0
null
null
null
null
UTF-8
Python
false
false
11,781
py
import urllib import json import re import os import requests from bs4 import BeautifulSoup import datetime def get_all_event_info(fmt='Standard', max_pages=10, savefile='data/mtg-leagues/meta.json', earliest_date=datetime.datetime(year=2016, month=10, day=1), ...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
dd8cab2e924990b054d4519929062eed175a250a
af8a0d5366eaf969c4d77b49015a76c8ece972b4
/profiles_api/serializers.py
816a68834eec88062303b2848bef1a0d3e00e0a8
[]
no_license
santeive/DJANGO_REST_API
e075ee5d85208e3a35acb7b060e2e086a4af2d89
f14bdc8971ed4ba71b1b873e7b8eccae3933906b
refs/heads/main
2023-07-18T17:09:01.870068
2021-09-13T23:10:41
2021-09-13T23:10:41
404,865,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
from rest_framework import serializers from profiles_api import models class HelloSerializer(serializers.Serializer): """ Serializa un campo para probar nuestro API View""" name = serializers.CharField(max_length=10) class UserProfileSerializer(serializers.ModelSerializer): """ Serializa objeto de perfi...
[ "packo.ive@gmail.com" ]
packo.ive@gmail.com
28d109849300b7e58abce05516b4646b3bb6050c
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/services/services/click_view_service/transports/base.py
3e417e47793c32b62586a04e690e884335d2f29b
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,690
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
c481a0de6cefdd79cf619dd38e1af7ace0bdf8c3
a2566bc495d098da78cd2441dd1a0f08642e2d83
/11cp.py
ee7c207ccff862cae37da90e98ccb093df4e6259
[]
no_license
krzivn/CryptoPals
4ee52c43e1ce448106fb545448a02beb2ed57e8d
586c8371c877d4c5c97201ecd8f1d94d873f64f8
refs/heads/master
2020-04-01T05:39:18.558134
2018-10-13T21:33:43
2018-10-13T21:33:43
152,913,498
0
0
null
null
null
null
UTF-8
Python
false
false
2,296
py
#! /usr/bin/python """ Chall 11 An ECB/CBC detection oracle Now that you have ECB and CBC working: Write a function to generate a random AES key; that's just 16 random bytes. Write a function that encrypts data under an unknown key --- that is, a function that generates a random key and encrypts under it. The funct...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b02ea75f20d1fbaa5fef4649d93c1b1e288a3c40
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/88/usersdata/216/60027/submittedfiles/listas.py
06fa06ad9d7e979f7698bb894a4c3efd93cce195
[]
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
537
py
# -*- coding: utf-8 -*- def diferenca(a): l=[] for i in range(0,len(a)-1,1): menos=a[i]-a[i+1] if menos<0: menos=menos*(-1) l.append(menos) else: l.append(menos) return(l) def maior(b): for i in range(0,len(b),1): c=b[0] ma=0 ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0547cd73c90a64d5a821e4ed7be323b64e4406f9
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/codec/models/cisco-ios-xr/Cisco-IOS-XR-ipv4-bgp-cfg/cd-encode-xr-ipv4-bgp-cfg-43-ydk.py
e9b6885da60507ae5df6e672b4d52558454a582d
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
4,128
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
4d481f6592ca0bd1f60c17ace62319236d3e428a
049d0f7e867b7454e8cec70f1b46f96960be0d1b
/env/lib/python3.6/functools.py
f4ee0e1cd582194574d4dda11e7dcf9ca3ff9e65
[]
no_license
Dimas4/StartApp-BackEnd
8f06f9f73062ffe8dbffdfc28f3962551f5926b7
96a2b62d789408dcb8a1e90142aacae2e54d97c8
refs/heads/master
2020-03-30T03:59:09.845794
2018-09-28T19:16:35
2018-09-28T19:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
/home/rootadmin/anaconda3/anac/lib/python3.6/functools.py
[ "vaniashatuhomail@mail.ru" ]
vaniashatuhomail@mail.ru
2e369fd96ec44a156782635e79b4a3cf97e4ffd5
05cdf6f093124aff17c9378dcc63602f3d973ae5
/tccli/services/cim/__init__.py
dbfb627f2f7b89e4eddb6f40d976ae05743ec841
[ "Apache-2.0" ]
permissive
zyh911/tencentcloud-cli
e717d78c2429da8f2e26c9e3c19ecabfcc116f45
dfc5dbd660d4c60d265921c4edc630091478fc41
refs/heads/master
2021-06-02T07:00:48.445549
2020-04-17T04:08:26
2020-04-17T04:08:26
254,317,574
0
0
Apache-2.0
2020-04-17T04:08:27
2020-04-09T08:43:15
null
UTF-8
Python
false
false
203
py
# -*- coding: utf-8 -*- from tccli.services.cim.cim_client import register_arg from tccli.services.cim.cim_client import get_actions_info from tccli.services.cim.cim_client import AVAILABLE_VERSION_LIST
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
6d7f704467684dc5eff5b4f0f39472afdf40a950
448c533feb888fd2b64d0d4f130ca4bc1c82e6c2
/juparc/cli/markdown_features_cmd.py
395a02af9d95f429f820d346a1b9a2ae90fbb808
[]
no_license
gems-uff/jupyter-archaeology
e2433f745c70cbcc502cfc762127e75e3762ecb4
3bf3d6fdf672d2123c599fefa65292de3c3dc1c9
refs/heads/main
2023-03-24T21:23:06.999836
2021-03-12T00:40:50
2021-03-12T00:40:50
304,041,226
4
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
"""Markdown Features command: extract features from markdown""" import json import sys from ..extract import load from ..markdown import generate_markdown_cells, split_markdown, extract_features def extract_features_from_args(markdown, args): """extract markdown features according to args""" if args.notebooks:...
[ "joaofelipenp@gmail.com" ]
joaofelipenp@gmail.com
52437b5983217e43309fae17c83dde8d22a63d2a
5864e86954a221d52d4fa83a607c71bacf201c5a
/achievements/common/util.py
c7ed1e28c13782e842108ce87b37aab93307a3ee
[]
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,523
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\achievements\common\util.py from collections import defaultdict from achievements.common.opportunityTaskMap import BuildIndex import gametime def UpdateAndGetNewAchievements(existingAchivements, completedDict, statsTrakcer): ...
[ "le02005@163.com" ]
le02005@163.com
9b3ba59f368d26abd7246af51312a0f4c8470cff
78dbae82469a0a3a0b8be66da2d6c4b8c9ab894a
/core_oaipmh_harvester_app/migrations/0002_psql_full_text.py
61927c5a0a1d9d657f1db7dd1c9a8e7bd7255a74
[ "NIST-Software", "Apache-2.0", "BSD-3-Clause" ]
permissive
usnistgov/core_oaipmh_harvester_app
07a9c4d5c6b7078c10aab8e675318f71703353fd
bc5e31a9d7e5f66e34340230ae17a3cc2d08e7e7
refs/heads/master
2023-09-01T08:48:47.677916
2023-07-14T00:41:54
2023-07-14T00:46:46
97,263,716
1
2
NOASSERTION
2021-07-06T18:36:16
2017-07-14T18:48:57
Python
UTF-8
Python
false
false
1,636
py
""" Migrations """ # Generated by Django 3.2.10 on 2021-12-17 21:34 import django.contrib.postgres.indexes import django.contrib.postgres.search from django.db import migrations from core_main_app.settings import MONGODB_INDEXING from core_main_app.utils.databases.backend import uses_postgresql_backend class Migra...
[ "guillaume.sousa@nist.gov" ]
guillaume.sousa@nist.gov
f2fe3debc4af23b3a7d1720f3c1d982b7c606ab7
73ffc43cb973c0b150de7205c175db5891f9d7f7
/landing_page/mainpage/migrations/0040_delete_feedback_delete_graduateprojectsvideos_and_more.py
a90895a8b2290c2c9d08ae925b7a6359bf3ed852
[]
no_license
moscowpython/learnpython
5b08ee26fc942b46eb7c68e046a4901d2d95b54d
2eb40bbb247704eed4895b4083543f1ef93d9a86
refs/heads/master
2023-09-05T23:38:52.409105
2023-09-01T08:30:51
2023-09-01T08:30:51
134,971,360
3
3
null
2023-09-13T12:59:04
2018-05-26T15:08:08
HTML
UTF-8
Python
false
false
1,719
py
# Generated by Django 4.2.4 on 2023-08-24 14:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainpage', '0039_alter_graduatestories_story_section'), ] operations = [ migrations.DeleteModel( name='Feedback', ), ...
[ "melevir@gmail.com" ]
melevir@gmail.com
4396c86a7c141e0e97d571dbd669b5607f1f9c9b
009ed977018fdd8607ffab33a0b6ecf8f6222149
/homura/modules/functional/grad_approximation.py
9ea153373653d3bcbca1a0db716225bb1f58bd75
[ "Apache-2.0" ]
permissive
Fragile-azalea/homura
87d3a5ef4d7cc5dec475c33759e08543558389d7
900d1d63affb9c8af3accd9b196b5276cb2e14b6
refs/heads/master
2022-11-08T21:02:09.776361
2020-06-28T13:46:32
2020-06-28T13:46:32
275,592,482
1
0
Apache-2.0
2020-06-28T13:38:26
2020-06-28T13:38:25
null
UTF-8
Python
false
false
903
py
from typing import Tuple import torch from torch.autograd import Function class _CustomSTE(Function): """ An efficient alternatives for >>> input_forward.requires_grad is False >>> input_backward.requires_grad is True >>> input_forward + (input_backward - input_backward.detach()) """ @stati...
[ "hataya@keio.jp" ]
hataya@keio.jp
433ccd4be2f26407444bcc59102987858b3f4c94
8149045eadb9d26ede5e8803736358c03022064d
/jobboard/contact/urls.py
998d1f56d00a20bd9bd362ad910870e12de743f0
[]
no_license
DmitriiGrekov/jobboard
9da3884c5f3884f876a9ffd8694ce5949f2c6088
fd161cb38f21ccd9666b335113829d102e34140f
refs/heads/master
2023-07-08T02:14:05.161182
2021-08-18T17:23:18
2021-08-18T17:23:18
397,639,574
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.conf.urls import url from django.urls import path from .views import ContactView app_name = 'contact' urlpatterns = [ path('', ContactView.as_view(), name='contact'), ]
[ "grekovdima7@gmail.com" ]
grekovdima7@gmail.com
f8a61493575ce4d6add350a2e76dd8afae36bf86
f884130e62b247f0cac8c09c67be5d9b563bd6e9
/pylib/vcsreplicator/vcsreplicator/aggregator.py
edabf127d612ab7f31782692502457fbf49c3186
[]
no_license
linearregression/version-control-tools
4e965e75a998906018763d1237c325ea57d14a11
dbb6aaa0f0d0c9f5776cc08d0231dd26a5490558
refs/heads/master
2021-01-17T22:10:07.631231
2016-05-03T00:02:18
2016-05-03T00:02:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,295
py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from __future__ import absolute_import, unicode_literals import logging import sys import time from .config import Con...
[ "gps@mozilla.com" ]
gps@mozilla.com
c4fad13be76c2c94f847bcb885a801017af90bc2
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/___uu/pytorch_related/clamp_name.py
174befb7cad1f50011fa1a599aebcc47736aa68e
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
37
py
torch.clamp(maxi_loss, max=limit)
[ "geemguang@gmail.com" ]
geemguang@gmail.com
5bb91c9c41d3dadd851c5620e462b24c1410f73a
2f963d7989749037a3ec27aaa39b31416b33cbb2
/ib_recommender/__init__.py
27cd0e36eff84c9dfa802c16023621a642ec12f8
[]
no_license
migsantos121/phd3-backend
3cd014908856c995de3c4473d82059bc9c1b5794
9d1d2bd6f55dc89719ce5a1916c5db3d573aec1e
refs/heads/master
2022-12-12T17:25:59.334509
2020-03-09T09:24:08
2020-03-09T09:24:08
245,991,086
0
0
null
2022-06-28T14:45:50
2020-03-09T09:17:18
Python
UTF-8
Python
false
false
79
py
__authors__ = 'aneesh@cybereyelabs.io','manne@ibtspl.com' __version__ = '0.1.0'
[ "migsantos121@outlook.com" ]
migsantos121@outlook.com
ac6c4c6f2c3b227fec45bfb0635e84cbe9fc5f42
b7088f9cd080f99d7d9165c149000a62545f763e
/accounts/models.py
bc3ace15ff236b39bad4e3a118ff2cbc8a2b4b2a
[ "MIT" ]
permissive
mikpim01/Stock-Bridge-2018
cde03cbe743218276ec1f1a34a6235e51a0c8c52
5f7d55a5dfeed52e2fa46fd1e2abd6bba80c954a
refs/heads/master
2022-04-23T06:17:36.204942
2018-05-14T15:05:47
2018-05-14T15:05:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,991
py
from datetime import timedelta from decimal import Decimal import numpy as np from django.conf import settings from django.db import models from django.db.models import Q from django.db.models.signals import pre_save, post_save from django.contrib.auth.models import AbstractBaseUser, BaseUserManager from django.utils ...
[ "thegeek.004@gmail.com" ]
thegeek.004@gmail.com
be7179d6a176c647c15d6b39d43e3de5d2924ae6
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/212a363a-5cc5-11e4-af55-00155d01fe08.py
7b5a0ff019e1b85b0978af5615800588a4c871ca
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
#!/usr/bin/python ################################################################################ # 212a363a-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
ef55cba7aeb5e375e4720ea64972795157f0a4b1
2568a8234cc235e01dc75c0e67348eeda2a19908
/Exam-Exercises/Python Advanced Exam Preparation - 18 February 2020/Problem 1.2- Dating App.py
82ee7762a2cb14e019a186aa7fab068d67779e0c
[]
no_license
asen-krasimirov/Python-Advanced-Course
6cc6f998a3b0a4db8cd96e3f3d4ec45591d28a5c
fe6cdf78efe2d1c6be134f6c49d2f2d6b497e608
refs/heads/master
2023-01-07T07:28:45.709067
2020-11-02T14:00:47
2020-11-02T14:00:47
299,660,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
from collections import deque def get_value(gender): global males, females if gender == "males": while True: value = males.popleft() if value <= 0: if males: continue break if value % 25 == 0: if m...
[ "68907559+asen-krasimirov@users.noreply.github.com" ]
68907559+asen-krasimirov@users.noreply.github.com
20cd10d6e48011ea742b944c9d446c88c338a9f7
bf1bb5a8e29a5e61a983042d3737eededae33825
/align/matrix.py
e0dec37092f2f4e90acf6da900c74353aedfa368
[ "MIT" ]
permissive
bluecerebudgerigar/align
f812443e6f41fda65bf5f876656a2cca7346d0d4
01ce7ae44de0b49862ad72d1ae8077e002974bd7
refs/heads/master
2020-02-26T15:02:09.660626
2010-12-25T00:27:49
2010-12-25T00:27:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,602
py
DNAFULL = {'A': {'A': 5, 'B': -4, 'C': -4, 'D': -1, 'G': -4, 'H': -1, 'K': -4, 'M': 1, 'N': -2, 'R': 1, 'S': -4, 'T': -4, 'U': -4, 'V': -1, 'W': 1, 'Y': -4}, 'B': {'A': -4, 'B': -1, 'C': -1, 'D': -2, 'G': -1, 'H': -2, 'K': -1, 'M': -3, 'N': -1, 'R': -3, 'S': -1, 'T': -1, 'U': -1, 'V': -2, 'W': -3, 'Y': -1}, 'C': {'A': ...
[ "bpederse@gmail.com" ]
bpederse@gmail.com
cbcf1e75b86d241098046a38c318096033a7abb3
6a7e9e0e9c08132166f566bd88ae1c46ff8f9c0a
/azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/label_text_object_py3.py
598047479fb2554124ae811b8c156b2d94d084d7
[ "MIT" ]
permissive
ashirey-msft/azure-sdk-for-python
d92381d11c48f194ec9f989f5f803db614fb73f2
e04778e13306dad2e8fb044970215bad6296afb6
refs/heads/master
2020-03-23T06:05:39.283442
2018-09-15T00:18:26
2018-09-15T00:18:26
141,188,192
0
1
MIT
2018-07-16T20:02:52
2018-07-16T20:02:52
null
UTF-8
Python
false
false
1,016
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
2fa9448020e6a7fff77beb0aac7529043ef72572
b04cc98a746d1df457183bc14908094a8be00ba1
/paddleslim/quant/constraints/__init__.py
28a2a739bde3c72715479c565684d37f4f10bad5
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleSlim
a3bcaef0c92016b7f6946d58787f87c7db8ff3f8
bb02b103a89a09635941bc0bbbd38506d7412468
refs/heads/develop
2023-08-31T01:47:27.824722
2023-08-25T08:06:08
2023-08-25T08:06:08
228,290,594
1,534
402
Apache-2.0
2023-08-29T09:37:55
2019-12-16T02:56:50
Python
UTF-8
Python
false
false
794
py
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
660f3817029b61b547d0ad2bb3f7f62f910fc73a
44dc2c2065154fe725dfeb900762da733b62652b
/arduapi/flaskread.py
1919432fbc8a53d2a67873695b525b051767d10a
[ "MIT" ]
permissive
sutt/robojune
3a11ef1db2113f38f08c88ba70dbfbe72ddf0c8d
05b37494c5ea8fcdeeb7e175a83d12d8911c6275
refs/heads/master
2021-01-10T21:11:46.085334
2015-11-02T01:31:59
2015-11-02T01:31:59
37,559,231
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
import os, subprocess, time from flask import Flask, send_file import serial import sys import time from arduino import Arduino #device = '/dev/ttyACM0' #baud = 115200 #timeout = 3 from arduino import Arduino import time def pollj(): ret = [] pin = 1 try: b = Arduino('/dev/ttyACM0') b.output([]) except: ...
[ "wsutton17@gmail.com" ]
wsutton17@gmail.com
2c7ceea8cf55c97d2676d1e1e45510eb0953fb0a
12f9f8b622a8b6bba70ec95bec996a95e8c7521f
/tests/auth/test_create_middleware.py
a1f81681c751b3dd8fcfe1489ead87dbe41542ba
[ "Apache-2.0" ]
permissive
MiquelCollado/talons
84e9f8b9b636a142ff0a5d692b7aa0382668f911
b0c2c349b3bfac4db14e213044dfc963f8dd5f06
refs/heads/master
2021-01-09T08:15:52.802106
2016-04-11T10:30:20
2016-04-11T10:30:20
55,779,159
0
1
null
2016-04-08T12:59:04
2016-04-08T12:59:03
null
UTF-8
Python
false
false
6,319
py
# -*- encoding: utf-8 -*- # # Copyright 2013-2014 Jay Pipes # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "jaypipes@gmail.com" ]
jaypipes@gmail.com
401fb68d523b42981643a1ee581fc03fd7a31b84
fe6e31ed82ba8075895b2435726c6f9b1fff8aff
/gender_predictor_embeddings/visual/head_pose/feature_extraction/feature_extractor.py
b8c7b367213a16a2acbc83e31abe113c1c197c91
[]
no_license
arbaazQureshi/gender_effect_on_depression_estimation
906169f0a41b78379a57cf1157fa83cd88b2f3f3
0ac6a168ab5fe5ad11027e9cfd0fcdb82f8884aa
refs/heads/master
2022-02-12T07:19:39.783739
2019-08-02T13:55:45
2019-08-02T13:55:45
200,239,644
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
from keras.models import Model, load_model from load_data import load_training_data, load_development_data, load_test_data import keras import numpy as np import os from os import path import random #os.environ["CUDA_VISIBLE_DEVICES"]="3,4,5,6" X_train, X_train_gender, Y_train = load_training_data() X_dev, X_dev_ge...
[ "arbaaz.qureshi29@gmail.com" ]
arbaaz.qureshi29@gmail.com
b7f2ce6e5476824d478d0c85a44b8601e96a1deb
afedb9a940f309ead33f1fb568083238cd4927d7
/nemo_text_processing/text_normalization/verbalizers/decimal.py
9ebefebce9c9486b50c6019cb6fab987622bf898
[ "Apache-2.0" ]
permissive
sergiogcharles/NeMo
1ce7b4972d708c5fd875bdf629d783296fdb1847
fcba7eb98f86ca862f4d03141738ecb1b62db046
refs/heads/main
2023-07-16T03:06:06.478682
2021-09-03T04:25:50
2021-09-03T04:25:50
382,719,035
1
0
Apache-2.0
2021-07-03T22:22:53
2021-07-03T22:22:53
null
UTF-8
Python
false
false
2,935
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright 2015 and onwards Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
[ "noreply@github.com" ]
sergiogcharles.noreply@github.com
91ac0391cacc6d4956b03c7b335f97b1fcc527ed
5ed194cdfeaa8973d98511eb2844c2ff98502c1f
/projects/src/main/python/CodeJam/Y14R5P1/protos/generated_py_8ec377b8111442eb9e9f280b5085bc00.py
ff9ebde45bac3f55806a7c5217079b02c598077d
[ "MIT" ]
permissive
Abigiris/SLACC
2f11a8833ffc939d186ff81c166abea4a6293c1c
ee985ece7691691585952eb88565f0e08bdc9113
refs/heads/master
2023-01-01T07:12:21.876464
2020-02-17T19:01:02
2020-02-17T19:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
152,075
py
import sys sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python') from CodeJam.Y14R5P1.protos.codejam import * def func_98697841739a42efa27a1233ac93c776(s, d, m): v = s + t + 1 >> 1 if d[v] <= m: s = v else: t = v - 1 return t def func_c4df38cf061e490ab...
[ "george.meg91@gmail.com" ]
george.meg91@gmail.com
7d138eda19765cf562bd8e203f8519959b34fe3b
c7a5f5c79a3eaf508b8b720f7c954ba7cd256c42
/tceh_all.py
e2a1de7e3e3ffe809e460783865595530850e6fa
[]
no_license
porosya80/st18
c3b11708c65707a480eb80cce689392f66056f36
6ebf53b156b950d7b938e8ab5ca5560e42b06c82
refs/heads/master
2020-03-17T08:58:41.711251
2018-05-26T20:54:26
2018-05-26T20:54:26
133,456,775
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
# first,second,third = [int(input())for i in range(3)] # print (first) # print(max([n for n in [int(input()) for i in range(int(input()))] if not n%4])) # first, second, third = [int(input()) for i in range(3)] # print (first) # print(round(8.5,)) # a,b,l,n = [int(input())for i in range(4)] # # print((a*n)+(2*(b*(n-...
[ "porosya@gmail.com" ]
porosya@gmail.com
9d4927bedd033dc853d7ed6dcfe4b89ec0a79e6f
b5234002f071ddf857a45fc9824d06e334ae804e
/tests/test_conf.py
c41f24bf4db05ef85897cb96cc132bf641766000
[ "BSD-3-Clause" ]
permissive
kostyll/pakit
856f376ace2c597e8f8d2aac4b58756ee919c420
b34c7873ece8cbfe97d9dcad8f52b784e6ca8ce3
refs/heads/master
2021-01-21T23:29:26.240747
2015-12-29T19:57:39
2015-12-29T20:01:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,630
py
""" Test pakit.conf """ from __future__ import absolute_import, print_function import os import subprocess as sub import mock import pytest import pakit.conf from pakit.conf import Config, InstallDB, YamlMixin, RecipeURIDB import pakit.recipe import tests.common as tc class TestYamlMixin(object): """ Specificall...
[ "unknown3000@gmail.com" ]
unknown3000@gmail.com
77f7f43411c6b933fa856e5aaab3292c0c913aa4
e0f4ff209369036fda8b7e04eefe014f8fc730f7
/terminal/run.py
aa9cf70349bfa2656c6cf030f6d17457266a252c
[]
no_license
GINK03/kotlin-deeplearning
a2b6dc5bfdd7ba6bcc4498e9b76434df07ed6bc6
504910b946d51be8b4800870cad04c54889b0e31
refs/heads/master
2021-01-19T01:17:22.334483
2017-06-28T12:44:16
2017-06-28T12:44:16
95,619,513
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
#! /usr/bin/python3 import glob import os jars = ":".join(glob.glob("jars/*.jar")) print(jars) targets = " ".join(glob.glob("*.kt")) os.system("kotlin -cp {jars} MnistKt".format(jars=jars) )
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
f17ffe4c7cd13478f977b27796a56f4af1f3441a
7ec5e20097a6d6cca490dbb7200f9d06cdd2b83e
/nikola/data/themes/base/messages/messages_nb.py
a55636c7ee2d83574c978c966959a23aab06873d
[ "MIT" ]
permissive
dnguyen85/nikola
d547f30b3d9e40872a4b88540a0ce8f17bdcbfd9
8fdf2ad99dbca518b67630333b4194eebc95e84d
refs/heads/master
2021-01-18T03:08:24.202369
2015-04-06T15:05:01
2015-04-06T15:05:01
28,894,871
1
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
# -*- encoding:utf-8 -*- from __future__ import unicode_literals MESSAGES = { "%d min remaining to read": "", "Also available in:": "Også tilgjengelig på:", "Archive": "Arkiv", "Categories": "Kategorier", "Comments": "", "LANGUAGE": "norsk", "Languages:": "", "More posts about %s": "Fle...
[ "kwpolska@gmail.com" ]
kwpolska@gmail.com
22a93668b8651ae7b0b89a67fc86d7bad099980f
db326011a46bdc55c64b0c35424df551ed030519
/leetcode/Done/171_ExcelSheetColumnNumber.py
2fb31c6c2f1b7d166296b39e0ecb6927764f4ba2
[]
no_license
humachine/AlgoLearning
ac9a6bd0fdf1293ca63d85732bfbbf864bd68220
2d06ab566c8adc6d864c5565310b56008d2d4b31
refs/heads/master
2020-12-12T07:19:02.518810
2017-04-29T07:15:04
2017-04-29T07:15:04
49,476,721
1
1
null
null
null
null
UTF-8
Python
false
false
534
py
#https://leetcode.com/problems/excel-sheet-column-number/ ''' Given a column title as it appears in Excel, return its column number. Inp: A Out: 1 Inp: 28 Out: AB ''' class Solution(object): def titleToNumber(self, s): colNumber = 0 for char in s: colNumber = colNumber*...
[ "swarun@gmail.com" ]
swarun@gmail.com
a7b360ebe5c30623ba0df568c2d20b11b5bbde27
89a466da200b1ac2d6801a7d871c9bd705ae4a55
/mhdata/io/csv/functions.py
5cf6b8800a1da425448e59737676f2f739a60555
[ "MIT" ]
permissive
kevinn/MHWorldData
43d9a70964d3d3d85a5dd83c6f1b87a78e622326
c2de2692949d82cc2cebe2960b644839774ff833
refs/heads/master
2020-03-19T06:07:31.525424
2018-06-04T08:15:47
2018-06-04T08:15:47
135,992,414
0
0
MIT
2018-06-04T08:12:03
2018-06-04T08:12:03
null
UTF-8
Python
false
false
2,098
py
import csv import mhdata.util as util def determine_fields(obj_list): """ Returns the set of all possible keys in the object list """ fields = [] for obj in obj_list: for key in obj.keys(): if key not in fields: fields.append(key) return fields def validat...
[ "cfern1990@gmail.com" ]
cfern1990@gmail.com
55e9d929cc326b670327eca3a252d8baf47613a2
a2fab78b021469748337bdbe46d60f4b2dccf6b9
/day07/04.列表推导式.py
680b720f616ac347afca63986f2c9b26b5370f40
[]
no_license
yywecanwin/PythonLearning
06175886b42f6ec6be5ee8fa379365779e8e14e6
f59d381692f22b3c7cf605aec88500f6c0267ffc
refs/heads/master
2020-08-01T13:03:17.458829
2020-02-11T02:53:33
2020-02-11T02:53:33
211,006,180
1
0
null
null
null
null
UTF-8
Python
false
false
820
py
# -*- coding: utf-8 -*- # author:yaoyao time:2020/1/10 """ 列表推导式的格式: 列表名 = [x for x in range()函数] 每次循环都得一个数字,然后把x作为元素添加到列表中 在列表推导式中使用 if语句 列表名 = [x for x in range()函数 if 条件] """ list1 = [x for x in range(1,5)] print(list1) # [1, 2, 3, 4] list2 = [x+2 for x in range(1,5)] print(list2) # [3, 4, 5, 6] list...
[ "3216561314@qq.com" ]
3216561314@qq.com
542305827acfa9ffcc98c428407d112932c3e42c
87a9bf07c690a46acd78c833f6321953b9dfe4c2
/ndlib/test/test_mpl_viz.py
2acc1f845002b10b3676eb5bf154cd2ad5570898
[ "BSD-2-Clause" ]
permissive
a1shadows/ndlib
5aea5ecaeb831c78ca2f7fdb630c7abcfb662a4a
11d10340a1aeb7d9a5df2d33b90415187bec6d75
refs/heads/master
2020-04-11T02:02:53.181758
2018-12-11T18:16:20
2018-12-11T18:16:20
161,433,763
0
0
BSD-2-Clause
2018-12-12T04:42:20
2018-12-12T04:42:20
null
UTF-8
Python
false
false
4,521
py
from __future__ import absolute_import import unittest import past import networkx as nx import dynetx as dn from ndlib.viz.mpl.DiffusionPrevalence import DiffusionPrevalence from ndlib.viz.mpl.PrevalenceComparison import DiffusionPrevalenceComparison from ndlib.viz.mpl.TrendComparison import DiffusionTrendComparison...
[ "giulio.rossetti@gmail.com" ]
giulio.rossetti@gmail.com
428b2c9bd0595faa33d2cb70ed59b475944a766f
f2889a13368b59d8b82f7def1a31a6277b6518b7
/1220.py
1384e9aff155acd30ade32550526b7c3f724c600
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
349
py
# Ref: https://leetcode.com/problems/count-vowels-permutation/discuss/398286/Simple-Python-(With-Diagram) class Solution: def countVowelPermutation(self, n: int) -> int: a = e = i = o = u = 1 for _ in range(n - 1): a, e, i, o, u = e + i + u, a + i, e + o, i, i + o return (a + e ...
[ "tlhuang@tlhuang.net" ]
tlhuang@tlhuang.net
310af0e71a2c1a5dd1dbea9d6c2cd9bd8f832f6e
7570a9fc71cbf397e2d7c4289dd7404ecba7d3c3
/domain/eggNOG_annotation.py
5bdc32759740ac93e58d5c35a259259cf8de99ef
[]
no_license
compgenomics2019/Team2-FunctionalAnnotation
fd6d1d973f8a6cc4f470d050928386c2e502bbe6
c0a79f4630ac1d987bdf1cf94c19a62f9c7ef92e
refs/heads/master
2020-05-17T01:56:41.357315
2019-04-22T23:55:00
2019-04-22T23:55:00
183,441,594
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
#!/usr/bin/python 3 import sys,os # Usage: eggNOG_annotation <input_file> <output_file> def download_eggnog_database(): # Before annotation, bactNOG database will be checked and installed os.system("python /projects/team2/func_annotation/tools/eggnog/eggnog_dataset/eggnog-mapper-1.0.3/download_eggnog_data.p...
[ "github-noreply@oit.gatech.edu" ]
github-noreply@oit.gatech.edu
ed22511f8c3cd8070eeafcbff2238e46c6bd7747
b5f75c656d06f8569df18f48a3c1c2213d6dc59b
/src/mm/mm_g0g4.py
1b315f349b7d20c1a53c17c3b6f239cdccf83735
[]
no_license
SchusterLab/qoc-experiments
772b7ece9cad5df67a4fd9015bc41031b309c6cf
8f5ab3167ebe32f8caf34155d27e5233a9a3989a
refs/heads/master
2023-07-11T04:57:38.102868
2021-08-25T14:44:37
2021-08-25T14:44:37
205,202,825
1
1
null
null
null
null
UTF-8
Python
false
false
8,495
py
""" mm_g0g4.py - This is a file to house the notebook QOC_test-Thoms.ipynb created by Tanay. """ from argparse import ArgumentParser from copy import copy import os import autograd.numpy as anp from filelock import FileLock import h5py import numpy as np from qutip import Qobj,tensor,basis from qoc import ( evol...
[ "tcpropson@gmail.com" ]
tcpropson@gmail.com
87ecafc9b312953dc230cf94fbe0d9dc5c0e1660
6e9ea85971e12928bba1f833d417fe199bd6d0ec
/cord19kg/apps/__init__.py
4c1d44242a9dc36987f4231ccefa51c9d480be99
[ "BSD-3-Clause", "CC-BY-4.0", "Apache-2.0" ]
permissive
MFSY/BlueGraph
217171a5ea96beb0bcd7389656b4637fef0522a4
e41b415aae2c82506f3e4569b078cb60269d717c
refs/heads/master
2023-07-02T12:36:03.569334
2021-07-30T15:16:07
2021-07-30T15:16:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# BlueGraph: unifying Python framework for graph analytics and co-occurrence analysis. # Copyright 2020-2021 Blue Brain Project / EPFL # 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 a...
[ "yarutoua@gmail.com" ]
yarutoua@gmail.com
e1b9aad955212a8ee83305507d1187706ac95725
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/plugin/assembler/sleigh/tree/AssemblyParseBranch.pyi
314137a1dc3c9fdfbdce78e57073fa272aadc98d
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
4,146
pyi
from typing import Iterator from typing import List import ghidra.app.plugin.assembler.sleigh.grammars import ghidra.app.plugin.assembler.sleigh.symbol import ghidra.app.plugin.assembler.sleigh.tree import java.io import java.lang import java.util import java.util.function class AssemblyParseBranch(ghidra.app.plugin....
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
2285aa27bb403fc2a82f9b583e3c7a1e2e9dc1d0
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_3_1/Kaviarasu1212/1B_1.py
7df1ac7c64add6dc880309212494aa22d0954c16
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,262
py
from collections import OrderedDict t = int(raw_input()) # read a line with a single integer string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" for z in xrange(1, t + 1): dic = {} def add(m, n): dic[m] = int(n) parties = raw_input() lines = (raw_input()).split() tmp = {add(s, l) for l, s in...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
fb338257d4710d769a6ba8f37ff5fd5e3457fb61
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/dnsepg/svr.py
cc50650c8b36053b30ad797f32a00c594e5c25df
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
9,338
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com