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
95495b389e7e95436f048fe3e1e335059fb2bd5d
748c4ba7058336eb2d09b413066d21582e26d71b
/course_catalog/migrations/0041_rename_course_run.py
64d107c8459b49ba3d72ecb2957b228b3bd05eb5
[ "BSD-3-Clause" ]
permissive
mitodl/open-discussions
6dbb8ae2843263889634849ddd9096f74536b78e
ba7442482da97d463302658c0aac989567ee1241
refs/heads/master
2023-08-10T02:54:45.706067
2023-08-01T17:05:36
2023-08-01T17:05:36
93,760,926
13
3
BSD-3-Clause
2023-08-01T17:05:40
2017-06-08T14:46:35
Python
UTF-8
Python
false
false
380
py
# Generated by Django 2.1.11 on 2019-10-02 17:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("contenttypes", "0002_remove_content_type_name"), ("course_catalog", "0040_add_program_published"), ] operations = [ migrations.RenameModel(...
[ "noreply@github.com" ]
mitodl.noreply@github.com
4c6ed8f33aa431abae76a14dd95bb5c435bb4a2f
39385e706c34202539ee8ee1089ebc4faa7e15c5
/inference_server/inference_server_pb2_grpc.py
9325a8429cd3ccb4e86f0e55f8a3001b70159127
[]
no_license
paulhendricks/inference-server
f7845d8aeab13f95dd1ce069c6740fc80af6ca87
bdf6ccc0e2559b2fef8ed8a02cb0b6cfbbfaba63
refs/heads/master
2020-03-17T22:22:12.580704
2018-05-18T20:54:00
2018-05-18T20:54:00
134,000,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import inference_server_pb2 as inference__server__pb2 class InferenceStub(object): # missing associated documentation comment in .proto file pass def __init__(self, channel): """Constructor. Args: channel: A grpc....
[ "paul.hendricks.2013@owu.edu" ]
paul.hendricks.2013@owu.edu
9f1a9e27a25ef04ca6febee56a37699a43c8a6d8
51d348426c6e5fa79f2e77baf59bdbf8357d9f12
/week10/Инфоматрикс/b.условныйоператор/b)e.py
282e78011a30e6244539ebc1ed65784e57996e99
[]
no_license
Zhansayaas/webdev
c01325b13abf92cef13138d7ffc123cf9bc4f81a
dd054d0bcafc498eccc5f4626ab45fd8b46b3a3f
refs/heads/main
2023-04-10T23:33:30.469465
2021-04-17T10:21:53
2021-04-17T10:21:53
322,049,225
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
n=int(input()) k=int(input()) if(n>k):print(1) elif(n==k):print(0) else:print(2)
[ "noreply@github.com" ]
Zhansayaas.noreply@github.com
d25ee342daa07ce418636d6017598ceccbc395a2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03086/s109673720.py
9c53994051ea917600e7062df13c6995566eab3f
[]
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
297
py
s=input() n=len(s) res=0 for i in range(n): if s[i]=='A' or s[i]=='C' or s[i]=='G' or s[i]=='T': ans=1 j=i+1 while j<n: if s[j]=='A' or s[j]=='C' or s[j]=='G' or s[j]=='T': ans+=1 j+=1 else: break else: continue res=max(res,ans) print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
57447872fefc81ffb2c0125733fb53f138cc9502
d4e9fd6dd51d29ad374b460a2cfbd467502ede7d
/ros2param/ros2param/command/param.py
1aa9026af3542f670f8f3224a40aaf22089810ad
[ "Apache-2.0" ]
permissive
ros2/ros2cli
3f7b93ff44d18b2292a50d3b6ff119494142328b
351ef3c7442f49013d84084dea23fe399517690f
refs/heads/rolling
2023-08-07T03:53:23.635067
2023-08-03T19:50:28
2023-08-03T19:50:28
93,568,427
142
157
Apache-2.0
2023-09-14T07:36:46
2017-06-06T22:13:14
Python
UTF-8
Python
false
false
1,366
py
# Copyright 2018 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "noreply@github.com" ]
ros2.noreply@github.com
ff786bb5396ad92d10ed243592117497f6cf1e1c
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/_signal.py
46398c329673fba8df3fa9b203f853e8f6dd22a6
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,547
py
# encoding: utf-8 # module _signal # from (built-in) # by generator 1.146 """ This module provides mechanisms to use signal handlers in Python. Functions: alarm() -- cause SIGALRM after a specified time [Unix only] setitimer() -- cause a signal (described below) after a specified float time and the tim...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
37a1db073986ca0971ba4944632aafaec7a0d5ff
f57529f95a0fd10676f46063fdcd273fb5a81427
/boj/05001-06000/5063.py
6a2433d4269d1553b50fb5ef00f2d4236113033c
[]
no_license
hoyasmh/PS
a9b83b0044e483586590c9b7c6bf8a77236b67e7
6bbaa0ce77b2726f6af782af049d73720820f761
refs/heads/master
2023-04-23T10:43:27.349785
2021-05-17T13:43:53
2021-05-17T13:43:53
311,239,034
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
n=int(input()) for i in range(n): r,e,c=map(int, input().split()) a=e-c if a>r: print('advertise') elif a==r: print('does not matter') else: print('do not advertise')
[ "hoyasmh@gmail.com" ]
hoyasmh@gmail.com
600a02249547f25a443efccb2f227a4daf743e72
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03626/s691421903.py
12b73d2e8e8b33454998cc794473feec516fdf85
[]
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
933
py
# https://atcoder.jp/contests/abc071/tasks/arc081_b # 横ドミノと縦ドミノの場合わけを考える # 横ドミノ→横ドミノの場合 : いままでの通り*3通り # 横ドミノ→縦ドミノ : いままで*1通り ok # 縦ドミノ→横ドミノ : いままで*2通り ok # 縦ドミノ→縦ドミノ : いままで*2通り ok MOD = 10**9+7 N = int(input()) S1 = input() S2 = input() pre1 = S1[0] pre2 = S2[0] if pre1 != pre2: ans = 6 else: ans = 3 for s1, ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
511cd08228a358eb20555f4016aa0f102b17db57
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/HazelParr/pancake_revenge.py
0d9c90b6f19e36f7eff6120670502de3018d5d1b
[]
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
381
py
T = int(input()) for case in range(T): x = input() count = 0 while "-" in x: new_string = "" unchanged = "" y = x.rfind("-") fragment = x[:y+1] unchanged = x[y+1:] for i in fragment: if i == "-": new_string += "+" else: new_string += "-" count += 1 x = new_string + un...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
8cbdf7ab2ec66f8f1e82cb4824f60c32e935e855
e23a4f57ce5474d468258e5e63b9e23fb6011188
/120_design_patterns/001_SOLID_design_principles/_exercises/_exercises/isp/ISP/Book/IBook.py
01dad5411393ea75f180ee3e25c50e409867ecae
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
220
py
# ___ ISP.IL.. ______ IL.. # # # c_ IBookIL.. # # ?p.. # ___ pages -> ? # r_ N... # # ??.? # ___ pages num_pages ? # r_ N... # # ?p.. # ___ title __ ? # r_ N... # # ??.? # ___ title titleName ? # r_ N...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f6b1a79848c4fc34a82d807b82b44e98bececaf5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2320/60716/267286.py
b7837b56224bdc4c298a9aada04e063f0c2c204d
[]
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
385
py
strs = input() k = int(input()) if k==1: lists = list() lists.append(strs) for i in range(len(strs)): strlist = list(strs) k = strlist.pop(0) strlist.append(k) strs = ''.join(strlist) lists.append(strs) lists.sort() print(lists[0]) else: strlist = list(str...
[ "1069583789@qq.com" ]
1069583789@qq.com
391f37b3390c8466064f8f93b5a3f7eba2852de0
cdd79cef15bdf6a0b9098e27028bbe38607bc288
/AOJ/Vol02/0241_Quaternion Multiplication.py
a94a35629d177665c61f8dcc76a162305205fbfc
[]
no_license
nord2sudjp/atcoder
ee35a3eb35717485dc62627172de24c9dac102fb
6b1cc5102a615492cc7ff8a33813bbb954641782
refs/heads/master
2023-08-25T11:27:14.205593
2021-09-27T05:43:04
2021-09-27T05:43:04
302,855,505
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Volume2-0241 Quaternion Multiplication #l1=[1,2,3,4] #l2=[7,6,7,8] while True: N=int(input()) if N==0:break for _ in range(N): *t,=list(map(int,input().split())) l1=t[0:4] l2=t[4:] s=[x*y for x in l1 for y in l2] ans=[0]*4 #1,i,j,k ans[0]+=s[0] ...
[ "nord2sudjp@gmail.com" ]
nord2sudjp@gmail.com
e6c627876e58af236e4193f1e7495a258b610ed7
2f38331b8a0bc8867859d853d352f9f5cc9cd1b5
/day07/code/value.py
ae8c35d75226626552aef586887bad597c2a649a
[]
no_license
Chenhuaqi6/python_net
aaf66a15a2f438e1f3fc67f338abd15e2bbfd6a3
56efd53bbaa1212a86c65e9cd3b29d2f5f30b752
refs/heads/master
2020-04-09T08:30:20.817513
2019-01-19T06:51:41
2019-01-19T06:51:41
160,196,516
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
from multiprocessing import Process,Value import time import random #创建共享内存 money = Value("i",5000) #挣钱 def boy(): for i in range(30): time.sleep(0.2) money.value += random.randint(1,1500) def girl(): for i in range(30): time.sleep(0.15) money.value -= random.randint(100,1200)...
[ "466940759@qq.com" ]
466940759@qq.com
4621879f40c0fc877a782f9a6e4748cf4c1db4cc
077a17b286bdd6c427c325f196eb6e16b30c257e
/00_BofVar-unit-tests/05_32/remenissions-work/exploit-BofFunc-28.py
a140ada92f16b731fc6c68505ca91b55c8fc744a
[]
no_license
KurSh/remenissions_test
626daf6e923459b44b82521aa4cb944aad0dbced
9dec8085b62a446f7562adfeccf70f8bfcdbb738
refs/heads/master
2023-07-08T20:25:04.823318
2020-10-05T06:45:16
2020-10-05T06:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
from pwn import * import time import sys import signal import sf target = process("./chall-test_BofVar-05-x86") gdb.attach(target, execute="verify_exploit") bof_payload = sf.BufferOverflow(arch=32) bof_payload.set_input_start(0x66) bof_payload.add_int32(0x34, 0xdeab) bof_payload.add_int32(0x30, 0xbeef) bof_payload.a...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
ac37fdfdef9ec6fcb843f8501be6c32e260623bf
1cf0346a84062d63dd4e05bd858bb437ea0b0d07
/tensorflow_tts/models/melgan.py
49e434afe36a0d48711436f13e743a35e68b7799
[ "Apache-2.0" ]
permissive
Joyseyousa/TensorflowTTS
668b149cf6b3ff774aca5197f6033aacf2802eba
f0614c03b677562a27f6a80f623f4ce0018b21eb
refs/heads/master
2022-09-29T13:42:19.077946
2020-06-04T08:29:30
2020-06-04T08:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,434
py
# -*- coding: utf-8 -*- # Copyright 2020 The MelGAN Authors and Minh Nguyen (@dathudeptrai) # # 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 ...
[ "nguyenquananhminh@gmail.com" ]
nguyenquananhminh@gmail.com
4ce830497d5d62e49c120012bdfb1463222c1714
0b406d2c041c76d9ef8789539e0e3af9a50e3613
/Extract_refactor/Ocr/lib/BusinessImagen.py
1efc3e6dc179167f58ae293994b0d864ef57c812
[]
no_license
aise17/ExtractPdf
221b47c5f0e75a823284b4f52981917962042592
7e1bfbc759cb7473d727574e5df78eaaac9fa8a4
refs/heads/master
2022-02-26T06:39:14.265795
2019-06-04T15:01:39
2019-06-04T15:01:39
184,154,301
1
0
null
null
null
null
UTF-8
Python
false
false
3,186
py
import glob # de aki cojeremos la calse Image de PIL que es necesaria para pasarsela a tresseract from PIL import Image # con treseract extaeremos eltexto de la imagen png pasada por escala de grises import pytesseract # se usea OpenCv para aplicar escala de grises sobre imagen import cv2 # usamos sistema para crear un...
[ "sergio.martinez-g@hotmail.com" ]
sergio.martinez-g@hotmail.com
bbefdb7f7b0c7af6bc87b4dd1079b37651970d18
8fc653ed827dc185cc92196826c94e01c0a532c4
/setup.py
90e957663dd75dd44cbb3931a9637eb2385ae74f
[ "MIT" ]
permissive
Deepakdubey90/prometheus_flask_exporter
825dd1d1b8f4d81c7c78d9b9d2107b17f673748d
ae613e94573a28c72ef19dcd1372cc52fa07b5a7
refs/heads/master
2020-04-08T19:36:43.364482
2018-11-13T11:21:35
2018-11-13T11:21:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
from setuptools import setup with open('README.md') as readme: long_description = readme.read() setup( name='prometheus_flask_exporter', packages=['prometheus_flask_exporter'], version='0.4.0', description='Prometheus metrics exporter for Flask', long_description=long_description, long_des...
[ "rycus86@gmail.com" ]
rycus86@gmail.com
e26e6b3fb181566bc0a2c8b7ecbf18f53dc42fef
e27333261b8e579564016c71d2061cc33972a8b8
/development_codes/Backend/.history/BERTimplementation_20210810215300.py
e2cbc16e68d4af0fc027546c697ad4f250821dcd
[]
no_license
Dustyik/NewsTweet_InformationRetrieval
882e63dd20bc9101cbf48afa6c3302febf1989b1
d9a6d92b51c288f5bcd21ea1cc54772910fa58f7
refs/heads/master
2023-07-01T09:12:53.215563
2021-08-12T08:28:33
2021-08-12T08:28:33
382,780,359
0
0
null
null
null
null
UTF-8
Python
false
false
1,561
py
from sentence_transformers import SentenceTransformer from sklearn.metrics.pairwise import cosine_similarity import numpy as np from tfidfImplementation import * from utils import QueryParsers #First segment involves retrieving K documents with tf-idf #Second segment involves reranking them with a BERT encoder K = 10...
[ "chiayik_tan@mymail.sutd.edu.sg" ]
chiayik_tan@mymail.sutd.edu.sg
b6da48ecd1d049b9d4232c17283cd2ca3c4afe13
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/actrl/rulehitag15min.py
36d1af8cc9f903d8698add797b360b3c6b85fd41
[]
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
34,591
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
fc2adf8051fdd9f97147f4dc02075974b54ab7ac
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03265/s414771268.py
b56306c65e375123788a4b9e6db496b3f1d196d4
[]
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
147
py
x1, y1, x2, y2 = map(int, input().split()) a = x2 - x1 b = y2 - y1 x3 = x2 - b y3 = y2 + a x4 = x3 - a y4 = y3 - b print(f'{x3} {y3} {x4} {y4}')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a22223b26b8737255728236d842d299cecf4eb12
d91a0186cec0452a8eb54fd6fabe0ef9e75cd738
/chapter_8/exercise_8.16/build_prof_module.py
301a4e69f18d34e27417fae0a4179c61e1060dee
[]
no_license
MaximZolotukhin/erik_metiz
31a6f5146b8bb58b8f04a6b9635b36a67830e52a
8afde60aa2bddd6858a5f7a7189169a82bde4322
refs/heads/main
2023-05-03T07:39:06.731413
2021-05-30T19:04:31
2021-05-30T19:04:31
361,544,267
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# Передача неограниченного числа именованных аргументов def build_profile(firs_name, last_name, **user_info): """Строит словарь с информацией о пользователе""" user_info['firs_name'] = firs_name user_info['last_name'] = last_name return user_info
[ "ScorpionEvil777@gmail.com" ]
ScorpionEvil777@gmail.com
ec6d47be6ba51fe99fb151c6c4965a64bf57d256
d68aedd8fdd83669d0f91b0191846a67a10fecf1
/mwtfidfe.py
4ce2b6cd0749bbf37d107eb352d588504afa966e
[]
no_license
frankness/MPyWE
d63c2b35071d48c49626c79910e6f182445a6ff0
af0fb7bd170080e2a496b95841ad9443a65c226d
refs/heads/master
2020-04-13T00:54:00.697708
2018-06-23T13:55:35
2018-06-30T01:37:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,555
py
# encoding: utf-8 from __future__ import unicode_literals from __future__ import division import argparse import math import struct import sys import warnings import os import codecs import numpy as np from multiprocessing import Pool, Value, Array import time from pybloom import BloomFilter import pickle u''' chine...
[ "694731929@qq.com" ]
694731929@qq.com
e09aaeb743a979e5cabac0be657af51374b5dbfc
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/yaml-3.10/yaml/__init__.py
13b9f8b58fe063c683cad508788cf06d6e71c097
[]
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
81
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/yaml-3.10/yaml/__init__.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
407d88f8bd05212b374fa5dd67bf6d0bcceb9d30
4c5d113b19bf8d55d2d94fe7dc08fd90e0152174
/thor/constants.py
1787df00d88af014488203ee7972eb248d049a43
[ "BSD-3-Clause" ]
permissive
swipswaps/thor
f4b2b956fbd71c3fa4a84d457ff67f158d9e9c21
d3d1dcbe86f67a62c90b4cde3fc577e414825cf2
refs/heads/master
2023-04-05T11:48:31.884619
2021-02-12T19:38:23
2021-02-12T19:38:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
import numpy as np class Constants: # km to au KM_P_AU = 149597870.700 # seconds to days S_P_DAY = 86400.0 # Speed of light: AU per day (173.14463267424034) (299792.458 km/s -- DE431/DE430) C = 299792.458 / KM_P_AU * S_P_DAY # Gravitational constant: AU**3 / M_sun / d**2 (0.295...
[ "moeyensj@gmail.com" ]
moeyensj@gmail.com
2dd3b4102b27ed2302263574898acc47681bba6c
43eb7f8581a8dbfa1298b4e6d84fc7b7a552e335
/python/kserve/test/test_v1beta1_explainer_config.py
462733a4fe7179cd230f7ac00ba92e086e952e08
[ "Apache-2.0" ]
permissive
Suresh-Nakkeran/kserve
c2d114f7258a70b4c8ddeb8ee8c584d4eee0f81b
d3910e0fc6af4bf73156a53bd912d6e4acc87533
refs/heads/master
2023-07-29T00:17:28.900100
2021-09-11T08:04:54
2021-09-11T08:04:54
406,243,335
0
0
Apache-2.0
2021-09-14T05:59:05
2021-09-14T05:59:04
null
UTF-8
Python
false
false
2,073
py
# Copyright 2020 kubeflow.org. # # 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,...
[ "noreply@github.com" ]
Suresh-Nakkeran.noreply@github.com
6331b3fa3fff6a07d5467b20340d9d1d30e4fe9b
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/unsignedByte/Schema+Instance/NISTXML-SV-IV-atomic-unsignedByte-minExclusive-4-2.py
ad0db34b2b85a1754a789abff5f0a8024ff7d358
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
302
py
from output.models.nist_data.atomic.unsigned_byte.schema_instance.nistschema_sv_iv_atomic_unsigned_byte_min_exclusive_4_xsd.nistschema_sv_iv_atomic_unsigned_byte_min_exclusive_4 import NistschemaSvIvAtomicUnsignedByteMinExclusive4 obj = NistschemaSvIvAtomicUnsignedByteMinExclusive4( value=218 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
7a92b6df84eaf024ce5f084a8fbb89c734db180b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_229/ch74_2020_04_13_03_09_30_010178.py
593012b482da142f910dee4af2f450b410ca8283
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
def conta_bigramas(string): dic = dict() for i in string and x in string: if i+x in string: if i+x in dic: dic[i+x] += 1 else: dic[i+x] = 1 return dic print(conta_bigramas("banana nanica"))
[ "you@example.com" ]
you@example.com
424a7ef7d48763ef6c952dd34adea36b3238cc13
23f3349e8b50f0cb3e461bbd65c1ea8dec792d0b
/2_semestr/encryption_1.py
beb9439133bbf54535c99776ead5297b83c186b0
[]
no_license
JacobLutin/Python_bmstu
d17866dbab0e74f0f9d600c4dbd9d53eb5c5b7be
66fd8679de7556978b9cd1e9fd8646a8d7d6daa8
refs/heads/master
2020-05-29T14:40:09.310602
2017-03-27T05:18:58
2017-03-27T05:18:58
64,742,311
0
0
null
null
null
null
UTF-8
Python
false
false
2,367
py
def rotate(Tb,N): for i in range(0,N//2): for j in range(i,N-1-i): tmp = Tb[i][j] Tb[i][j] = Tb[n-j-1][i] Tb[n-j-1][i] = Tb[n-i-1][n-j-1] Tb[n-i-1][n-j-1] = Tb[j][n-i-1] Tb[j][n-i-1] = tmp return Tb def PrintTable(Tb,N): for i in rang...
[ "jacoblutin@gmail.com" ]
jacoblutin@gmail.com
0fbe0e50be80a501c819d446dd212e8cea341c8d
8862d671654ed336f1de2895323e4cf76f0855d7
/syft/mpc/utils.py
3a4a7d9b250c7487e661dab920df36ddfed39296
[ "Apache-2.0" ]
permissive
Vinohith/PySyft
f0f29b000af586faca88756533079a4bfea17ff1
1921efeeda2c7b0bf93f17a33ddf59f8020fa653
refs/heads/master
2020-03-31T14:24:27.596173
2018-10-09T16:03:43
2018-10-09T16:03:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
cache = {} def egcd(a, b): """ greatest common denominator :param a: :param b: :return: """ if a == 0: return (b, 0, 1) else: g, y, x = egcd(b % a, a) return (g, x - (b // a) * y, y) def modinv(a, m): """ calculate the multiplicative inverse of a modulu...
[ "liamtrask@gmail.com" ]
liamtrask@gmail.com
9e77404a90a4c116a9c72e7dd494b94705ede353
ffc02736617d5bb4308427b3df5e43811601cea0
/examples/run_curl.py
b1dfee4e9ef691aaa9a75caf82946d6d611dde11
[ "MIT" ]
permissive
weihancool/tf2rl
4315dd94f8f924f15085f26a9434f6824aa3736c
0ef45d4a32a177f14fb579c9c2332f71404a9595
refs/heads/master
2023-05-02T17:00:05.775610
2021-05-29T03:32:52
2021-05-29T03:32:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,618
py
import dmc2gym from tf2rl.algos.curl_sac import CURLSAC from tf2rl.envs.dmc_wrapper import DMCWrapper from tf2rl.experiments.trainer import Trainer def main(): dm_envs = { 'finger': ['finger', 'spin', 2], 'cartpole': ['cartpole', 'balance', 4], 'reacher': ['reacher', 'easy', 4], '...
[ "dev.ohtakei@gmail.com" ]
dev.ohtakei@gmail.com
ea79b41539481557905fbd47f8df65758118b68d
96ec8ea87fb2cfdd2d850a0471c9820f92152847
/九章算法/递归/Fibonacci easy.py
ed586d5e4c2c29806c786838bc6a997aa82f867e
[]
no_license
bitterengsci/algorithm
ae0b9159fd21cc30c9865f981f9c18cf9c6898d7
bf70d038b70c51edc6ddd6bfef1720fb5f9f2567
refs/heads/master
2023-08-10T10:22:18.774232
2023-07-31T21:04:11
2023-07-31T21:04:11
186,261,880
95
46
null
2023-07-31T21:04:12
2019-05-12T13:57:27
Python
UTF-8
Python
false
false
323
py
from functools import lru_cache class Solution: """ @param n: an integer @return: an integer f(n) """ @lru_cache(maxsize=10000) def fibonacci(self, n): if n == 1: return 0 elif n in [2, 3]: return 1 return self.fibonacci(n - 1) + self.fibonacci(n -...
[ "yanran2012@gmail.com" ]
yanran2012@gmail.com
d7366dbf8bbfbc57e036cf38cc8c864998245935
97a192ac8a3feca408bb3f0ad746a8004e6bfcb7
/to_do_list/venv/bin/pip3.6
e29e4a64c8ccf31bea1aab4c20a66f68917835e0
[ "MIT", "Python-2.0" ]
permissive
DitooAZ/Python-Games
e46aed297c2e2ab2a5ca9869241a711d2e15f6e2
587cb499c57437acbe052d9eb5fb8d48272735e9
refs/heads/master
2023-03-21T00:34:28.405176
2021-01-30T15:25:22
2021-01-30T15:25:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
6
#!/home/afroz/PycharmProjects/to_do_list/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "aaaanchakure@gmail.com" ]
aaaanchakure@gmail.com
a547055c3a6c7346b003d025b49edfef8cd3e2b8
329d8c2e0a259ad4880774c84ca4f6b28bbb641c
/bangali_19/configs/augs/v1.py
2ccdd35a4f447281decfd6fdc7264984bca77b04
[]
no_license
dodler/kgl
1d3eeb6032b74afb761abe5fa8620325594d5a75
b17525299e98d41da6f6631bd796084097e8a94e
refs/heads/master
2021-06-24T17:26:38.683242
2021-06-20T08:14:23
2021-06-20T08:14:23
192,477,506
7
0
null
null
null
null
UTF-8
Python
false
false
334
py
config = { "arch": "multi-head", "backbone": "se_resnext50_32x4d", "pretrained": True, "in-bn": True, 'opt': 'sgd', 'loss_aggregate_fn': 'mean', 'schedule': 'cosine_annealing_warm_restarts', 'T_0': 6, 'lr': 0.1, 'train_aug': 'augmentations.geom.v1', 'valid_aug': 'augmentation...
[ "tntlagf93@mail.ru" ]
tntlagf93@mail.ru
f26abbd82e77317f1c957bdf7e3267f5c65f2d83
833e69b32f9bf9f9ac746ac46851cedae6366e63
/hta_expense_management/models/expense_request.py
415674635f4aa5001ca3aadb44016a0887ff5dc5
[]
no_license
halltech-ci/odoo_15
2984d3ac5dbd446f2fb8ef49dd37ea53e71a0f71
8e587e38535ccf8fa10fd42be1bc75d957e63311
refs/heads/main
2023-08-23T14:48:10.712042
2021-11-06T20:14:46
2021-11-06T20:14:46
414,481,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
# -*- coding: utf-8 -*- from odoo import models, fields, api, _ from odoo.exceptions import UserError, ValidationError class ExpenseRequest(models.Model): _name = 'expense.request' _description = 'Custom expense request' _inherit = ['mail.thread', 'mail.activity.mixin'] _order = 'date desc' ...
[ "maurice.atche@halltech-africa.com" ]
maurice.atche@halltech-africa.com
e97f08ac73a48b46ed2e88f1aa02f9e54c37b37e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03549/s657113138.py
7bc42c0eb4301b72eea8570f2ec52dbe884e2fce
[]
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
191
py
n,m = map(int,input().split()) # 1ケースでかかる時間を求める total = m*1900 + (n-m)*100 # 全てのケースで正解する確率の分母 prob_all = 2**m print(total * prob_all)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
aec3ae45025c14557e08868f995361392ecd97e0
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/tools/binary_size/print_trybot_sizes.py
3dfbbc52800a48e7e37c53d5d46648cf12e7eaa3
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
5,713
py
#!/usr/bin/env python3 # Copyright 2022 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Prints android-binary-size result for a given commit or commit range.""" import argparse import collections import concurrent.futures import csv import j...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
006bb7b5a2c12acfab42ef1e5bce124fd466f121
c9669c314c74b5d7f3098f75fe359b036f241eea
/tests/test_generation_utils.py
de986b696d8aa0aeddfe880993354754726411e1
[ "Apache-2.0" ]
permissive
stanford-crfm/transformers
c5439f53bc777a43a9adc02ecedb561facdb4b79
8575081fa36a0ff7c7f90a779f1e5ae7633dfbd8
refs/heads/mistral-v1
2023-08-23T22:15:32.268675
2021-09-28T19:44:38
2021-09-28T19:44:38
337,241,186
5
1
Apache-2.0
2021-09-15T04:18:36
2021-02-08T23:45:32
Python
UTF-8
Python
false
false
70,282
py
# coding=utf-8 # Copyright 2020 The HuggingFace Team 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 clone of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "noreply@github.com" ]
stanford-crfm.noreply@github.com
9b22cfd35b76e0c6d5d9df02c069057c37a0a9c7
51d8f003828d6ee6e6611f0e133b1e35cf400601
/dnekcab-eciovni/invoice_api/core/migrations/0005_auto_20180831_1728.py
6c7e489ba33b303a972e1f95773abfe4a6348581
[]
no_license
tatubola/xpto
23b5f7a42c13c7d39eb321e52b9b4b2d1ef76c4c
6ed8cec23b06bccb1edf57e6b67af017f9a162d3
refs/heads/master
2020-04-02T11:05:24.560009
2018-10-23T17:41:10
2018-10-23T17:41:10
154,370,519
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
# Generated by Django 2.0.8 on 2018-08-31 17:28 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0004_auto_20180827_1752'), ] operations = [ migrations.AlterField( model_name='fatura', ...
[ "dmoniz@nic.br" ]
dmoniz@nic.br
210e2ef67d9dbcad596f1621a8653073ca4e2646
8168caa4ae066940dfedd788eeb107c5f65532ef
/node_modules/jest-haste-map/node_modules/fsevents/build/config.gypi
77c829ebd83516aa0e33f98d86df08a9e4e5fdef
[ "MIT" ]
permissive
muzamilnazir/keeper
099a922068e028ca51b14c9bf85135fc2a509cf1
ade15bd80b95f31e640378db8a3ed9a1a2a4ea86
refs/heads/main
2023-06-18T18:28:01.293667
2021-07-07T07:17:52
2021-07-07T07:17:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,702
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "mac@Macs-MacBook-Pro.local" ]
mac@Macs-MacBook-Pro.local
955597662f9fa120479a85f48ef72fc1c51a6ba7
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractSadhoovysinhumantranslationsWordpressCom.py
76bd4a048313ef6e663c631631bd11116a32297d
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
596
py
def extractSadhoovysinhumantranslationsWordpressCom(item): ''' Parser for 'sadhoovysinhumantranslations.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', ...
[ "something@fake-url.com" ]
something@fake-url.com
e6b1a7a5d7f6c2ea08dcd31845e29efc0e8c606f
020fed990dcab7417f82bde82f19d6beae58b06f
/ethiostockdemo/ethiostockdemo/urls.py
af60814eaf5fbc6f4ca37c6961e8330427d55c92
[]
no_license
TsiyonW/pracdjango
2cb27522bf201543eb262e060f70a765d59236e3
ef6d319fda2cde3d3c07b9e0162e30a6153cce5e
refs/heads/master
2021-01-16T09:06:21.008123
2020-02-25T20:37:16
2020-02-25T20:37:16
243,053,765
0
0
null
2020-02-25T20:37:17
2020-02-25T17:07:47
Python
UTF-8
Python
false
false
925
py
"""ethiostockdemo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "=" ]
=
ff1d767a12e4fd97828963a44224b8e3926cfc52
34ed92a9593746ccbcb1a02630be1370e8524f98
/lib/pints/pints/tests/test_toy_rosenbrock.py
b22f4651ddea441cae2d604c240719ec522216c8
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
HOLL95/Cytochrome_SV
87b7a680ed59681230f79e1de617621680ea0fa0
d02b3469f3ee5a4c85d756053bc87651093abea1
refs/heads/master
2022-08-01T05:58:16.161510
2021-02-01T16:09:31
2021-02-01T16:09:31
249,424,867
0
0
null
2022-06-22T04:09:11
2020-03-23T12:29:29
Jupyter Notebook
UTF-8
Python
false
false
2,807
py
#!/usr/bin/env python3 # # Tests the Rosenbrock toy problems. # # This file is part of PINTS. # Copyright (c) 2017-2018, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # import pints import pints.toy import unittest import numpy as np class Te...
[ "henney@localhost.localdomain" ]
henney@localhost.localdomain
465623bff38a425e2f71d5f8761761b68aabd562
51a37b7108f2f69a1377d98f714711af3c32d0df
/src/leetcode/P968.py
adec6da448f1dd1be7449761ba15ed897b6927e1
[]
no_license
stupidchen/leetcode
1dd2683ba4b1c0382e9263547d6c623e4979a806
72d172ea25777980a49439042dbc39448fcad73d
refs/heads/master
2022-03-14T21:15:47.263954
2022-02-27T15:33:15
2022-02-27T15:33:15
55,680,865
7
1
null
null
null
null
UTF-8
Python
false
false
1,925
py
# Definition for a binary tree node. from functools import lru_cache INF = 0xffffffff class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def minCameraCover(self, root): """ :type root: TreeNode :rtype: int ...
[ "stupidchen@foxmail.com" ]
stupidchen@foxmail.com
e645f221824750ae1df6e085b30a4d11d74f99d1
5ed21f38903512ff931cb0527fc0a651a1572127
/dag1/live_koding/gjettelek.py
b593a9791de1a0e0394b71192b55604fdfbfa7a4
[]
no_license
kodeskolen/tekna_agder_h20_2
6eb52a21fa2425b82cb88108686cce0079ac71ab
16e869ad48b2411b3f2b133f3adbb382863a744d
refs/heads/main
2023-01-13T16:35:06.870744
2020-11-20T13:24:49
2020-11-20T13:24:49
310,009,393
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 12 19:28:47 2020 @author: Marie """ # Vi "tenker" på et tall mellom 0 og 100 # Spilleren gjetter et tall # Dersom gjettet er rett så er spillet over # Dersom gjettet er for lavt eller høyt, får spilleren beskjed # Spilleren får gjette på nytt # Spilleren har begrenset me...
[ "roald.marie@gmail.com" ]
roald.marie@gmail.com
cc44faed3d75937afcbd58a5d3896e2eafd0e6c5
f4b694982027ac362de1e9d6755f2943d0355a06
/DECSKS-29_--_Finite_difference_approximations_to_derivatives_using_centered_stencils_only_with_ghost_point_extrapolating_from_ghost_cells/DECSKS-versions/1D1V-VP ghost points on both sides_plotting_cleaned_up_FD_stencil_size_corrected_and_ndarrays_to_data_instead_of_plots/DECSKS/lib/read.py
dddf6324f5d24524d809138d4e1417aef2eb83c1
[]
no_license
dsirajud/IPython-notebooks
55275e44191c16f5393571522787993f931cfd98
6ad9d978c611558525fc9d716af101dc841a393b
refs/heads/master
2021-01-15T15:33:57.119172
2016-07-13T20:08:29
2016-07-13T20:08:29
35,054,473
0
0
null
null
null
null
UTF-8
Python
false
false
116,324
py
import numpy as np import linecache import scipy.misc # lib.read for DECSKS-2.2 input decks class InputError(Exception): def __init__(self, value): self.value = value def __str__(self): return repr(self.value) def safe_eval(s): try: return eval(s) except NameError: ret...
[ "sirajuddin@wisc.edu" ]
sirajuddin@wisc.edu
b8e423e679443fc6f005a3baffb6c63992fc9384
98420fdd66b8dce46ef88cd34fcace36777fa232
/py3/torch_motion_retarget_autoencoder/main_train.py
63456fb7a475f29d83de2bf2e04dd5e88bb0e5e9
[]
no_license
Daiver/jff
f972fe7464f78ba6008a036b697ea3f04b7010a4
33d6a781af8d7f6ae60c25e10051977af2fef1b9
refs/heads/master
2023-04-07T06:33:41.487938
2022-05-03T10:07:32
2022-05-03T10:07:32
12,180,634
1
1
null
2023-04-03T19:25:00
2013-08-17T15:03:14
C++
UTF-8
Python
false
false
3,558
py
import numpy as np import cv2 import torch import torch.optim as optim import torch.nn as nn from torch.utils.data import DataLoader import np_draw_tools from data_generation import make_rectangle_dataset, make_circle_dataset from models import Encoder, Decoder from utils import numpy_images_to_torch def main(): ...
[ "ra22341@ya.ru" ]
ra22341@ya.ru
db035bcd80d85a97d93d283c7d8154a62e1f3161
9d530dc15db600c0630bf7f5141a1277e11d7da6
/wagtail_shell/test/urls.py
e816acb3672e0c9c3b22078e2ca91f8db34363bd
[ "BSD-3-Clause" ]
permissive
kaedroho/wagtail-shell
a7b549800a6302d2338d79c5472457662b0d01d3
cddab026bc3d647c77eac7e31236b662276698af
refs/heads/main
2023-04-13T10:55:56.916119
2021-04-26T17:12:41
2021-04-26T17:13:06
312,389,122
1
0
null
null
null
null
UTF-8
Python
false
false
431
py
from django.conf.urls import include, url from django.contrib import admin from wagtail.admin import urls as wagtailadmin_urls from wagtail.documents import urls as wagtaildocs_urls from wagtail.core import urls as wagtail_urls urlpatterns = [ url(r"^django-admin/", admin.site.urls), url(r"^admin/", include(w...
[ "karl@kaed.uk" ]
karl@kaed.uk
caea99874c479e8fff1f0d8d70f1c26b8bf9f39e
344e2956b4e2a30a8ef7532d951f96d995d1dd1e
/18_mmaction/lib/mmcv/mmcv/ops/__init__.py
b38aff92534ddc32fe7d6ee4eb59383b38c688f7
[ "Apache-2.0", "LGPL-3.0-only", "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "GPL-3.0-only" ]
permissive
karndeepsingh/Monk_Object_Detection
e64199705326e4cd65e4b29946cae210a4ef9649
425fa50a3236cb9097389646275da06bf9185f6b
refs/heads/master
2022-12-22T18:26:53.933397
2020-09-28T12:49:50
2020-09-28T12:49:50
299,307,843
1
1
Apache-2.0
2020-09-28T12:52:18
2020-09-28T12:52:17
null
UTF-8
Python
false
false
2,136
py
from .bbox import bbox_overlaps from .carafe import CARAFE, CARAFENaive, CARAFEPack, carafe, carafe_naive from .cc_attention import CrissCrossAttention from .corner_pool import CornerPool from .deform_conv import DeformConv2d, DeformConv2dPack, deform_conv2d from .deform_roi_pool import (DeformRoIPool, DeformRoIPoolPac...
[ "abhishek4273@gmail.com" ]
abhishek4273@gmail.com
62923615d10f8b267c51040f2482bd55da9e58cf
7615badcbd9cc22a263c5f206e951c8c1e6b3e70
/setup.py
81eed71015da29a0162829431b4559150308db73
[]
no_license
winkidney/PyMonitor
216c88140ea942d23e8f3a634e63c5e3052f46c8
f772153af217d89b74e5fca2427f3d92ca919f34
refs/heads/master
2021-01-23T15:29:45.711809
2014-09-18T06:06:14
2014-09-18T06:06:14
24,089,355
1
0
null
null
null
null
UTF-8
Python
false
false
564
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) requires = [ 'psutil', ] setup(name='PyMonitor', version='0.1', description='Monitor system status', classifiers=[ "Programming Language :: Python", ], author='', a...
[ "winkidney@gmail.com" ]
winkidney@gmail.com
d3480cfe285646810d63a5bcafcf319224170244
d4679b63ff98399a2e2c90a70196ca61be12d5ed
/Part_1/Алгоритмы и структуры данных/Homeworks/Sort1/quick_sort_new.py
96af6e92a923fca83c9b9828b92291d6e436ae13
[]
no_license
akoshel/MADE
9a702064f9dd5f89664efed4e76f9a2fb0a94743
e0c3aceaf190bb86bae9f8239ae181d5529bc044
refs/heads/main
2023-04-28T14:25:53.210880
2021-05-19T16:23:52
2021-05-19T16:23:52
328,123,200
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
from random import randint list_lenght = int(input()) raw_list = list(map(int, input().split(' '))) assert(len(raw_list) == list_lenght) def quick_sort_step(input_list, l, r): ll = l i = l hh = r x = input_list[l] while i <= hh: if input_list[i] < x: input_list[ll], input_list[...
[ "johndoe@example.com" ]
johndoe@example.com
38713d85ffd79716879376e48de891c2aaa7b329
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/nn_ns/data_structure/TreeNodeOps/UnbalancedMultiWayTreeNodeOps/IUnbalancedMultiWayTreeNodeOps.py
628ddf2735bb46b14ed81b58dd3dae4abfa781b8
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
6,174
py
__all__ = ''' IUnbalancedMultiWayTreeNodeOps '''.split() from .abc import not_implemented, override from ..TreeNodeOps.IOrientedTreeNodeOps__inorder import \ IOrientedTreeNodeOps__inorder class IUnbalancedMultiWayTreeNodeOps(IOrientedTreeNodeOps__inorder): ''' assume nonleaf.num_children > 0 sinc...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
f2c89a5b91a1fc71833013689a89d7bf15352771
beea74a2a1f2445b107af411197e8b6300e715e6
/supervised_learning/0x12-transformer_apps/1-dataset.py
486a2ffdb9d99fe7221d1babf782fa0a793b1816
[]
no_license
95ktsmith/holbertonschool-machine_learning
0240d8fa8523b06d3353c2bffa74205b84253be8
2757c8526290197d45a4de33cda71e686ddcbf1c
refs/heads/master
2023-07-26T16:02:26.399758
2021-09-09T15:57:57
2021-09-09T15:57:57
310,087,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
#!/usr/bin/env python3 """ Dataset """ import tensorflow.compat.v2 as tf import tensorflow_datasets as tfds class Dataset: """ Class to load an prepare a dataset for machine translation """ def __init__(self): """ Init """ data = tfds.load( "ted_hrlr_translate/pt_to_en", ...
[ "95ktsmith@gmail.com" ]
95ktsmith@gmail.com
6bb4155195ddc4b87cc695213e8d01711e32e57a
115d568228ea4dd48bc567fac1afbe90a67e9a8c
/LSTM/SegWords/BI-LSTM/Demo4/seqlib.py
30ee4fca743daeff75bb34637089947b506e7f4c
[]
no_license
sunshinelu/NLPLearnNote
6eb6b016ed18602be3a2fe8ce2f1bdb770efb226
76cfd64438e8acbf0aadc727675d7b17b63549e3
refs/heads/master
2020-03-08T07:03:25.652478
2018-05-06T14:13:02
2018-05-06T14:13:02
127,985,677
0
0
null
null
null
null
UTF-8
Python
false
false
7,052
py
#!/usr/bin/python #-*-coding:utf-8-*- ''' Created on 2018-04-25 15:41 @author:wangrs ''' #1.导入模块包和语料库文件 import codecs from gensim.models.word2vec import Word2Vec import numpy as np import nltk from nltk.probability import FreqDist import pandas as pd from pickle import dump,load from keras.preprocessing import sequence...
[ "sunlu900326@yeah.net" ]
sunlu900326@yeah.net
d010259a00c5e7ee1dffe89abbf7d4da12ce6f86
716f3250efd6fe51cf9e44b5cc57a45e04c5113e
/computeFeatures/seqStep/seqToolManagers/conservationTools/corrMutGeneric.py
6e41aaec075005ec4928c67486daae55a463c9c9
[ "Apache-2.0" ]
permissive
kacst2/BIPSPI
6e878ca7fe6a3f4175efd26ba209c489f4429db6
35bbf88ac7f4c4f09773101f44cebdb828dd64ef
refs/heads/master
2020-03-29T18:47:13.017429
2018-09-04T17:03:07
2018-09-04T17:03:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,179
py
from __future__ import absolute_import, print_function import sys, os from subprocess import Popen, PIPE, check_output from Config import Configuration from utils import myMakeDir, tryToRemove #utils is at the root of the package import re import time from ..seqToolManager import seqToolManager, FeatureComputerExcepti...
[ "rubensanchezgarc@gmail.com" ]
rubensanchezgarc@gmail.com
9a8f98740162c5d7d7746170ae5aac8824d90bb8
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Average_Supply_Air_Flow.py
9859e698689ef384cb9feebcee0e03310d17392d
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Supply_Air_Flow import Supply_Air_Flow class Average_Supply_Air_Flow(Supply_Air_Flow): rdf_type = Namespace(...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
c2b0992bf436362075dcb44aa8a37adeff6d0bbc
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/client/avatarinputhandler/aimingsystemssniperaimingsystem.py
3880835227faf1be789c070fc425cf175557dbee
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,483
py
# Embedded file name: scripts/client/AvatarInputHandler/AimingSystems/SniperAimingSystem.py import BigWorld import Math import GUI from Math import Vector3, Matrix import math from AvatarInputHandler import mathUtils from AvatarInputHandler import AimingSystems from AvatarInputHandler.AimingSystems import IAimingSystem...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
9f22af2e0e7505b1cc7333dc94157e766abb8b25
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit959.py
fdc98c144976bd8c7ca16f4120e60feff1cf388a
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,967
py
# qubit number=5 # total number=41 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy as np import networkx as ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
9ac8fbd2093b050ddc4cfc599c8ec66a84de265d
35fdd5b42b47a1dbe6a25f6fc1865f4e48b842a5
/evalml/data_checks/class_imbalance_data_check.py
9eedc3f25b4b5d9b027a72bcabf93ac8fc2b90fa
[ "BSD-3-Clause" ]
permissive
skvorekn/evalml
41e5426f9f7d5ad625c21b74336009894c79c7de
2cbfa344ec3fdc0fb0f4a0f1093811135b9b97d8
refs/heads/main
2023-03-27T01:42:07.691406
2021-03-19T18:53:43
2021-03-19T18:53:43
349,555,689
0
0
BSD-3-Clause
2021-03-21T14:57:01
2021-03-19T21:08:12
null
UTF-8
Python
false
false
7,631
py
from evalml.data_checks import ( DataCheck, DataCheckError, DataCheckMessageCode, DataCheckWarning ) from evalml.utils import _convert_woodwork_types_wrapper, infer_feature_types class ClassImbalanceDataCheck(DataCheck): """Checks if any target labels are imbalanced beyond a threshold. Use for cl...
[ "noreply@github.com" ]
skvorekn.noreply@github.com
339989adcfa17b04173240ab9b0f9595798d6350
e5f8d24525a211750900c3c8e7a631b344aa4443
/src/mpi4py/run.py
3c279bf1277d7bedc09cd800f4d76233ab803077
[]
permissive
mpi4py/mpi4py
569ce3f4707e54fa2c1e041cc9b96147337a1f10
8bdd0c30f98797deefa4e4f129898fefb2b1e171
refs/heads/master
2023-08-31T21:39:18.799184
2023-08-28T09:41:32
2023-08-28T13:24:37
12,620,272
720
125
BSD-2-Clause
2023-09-14T21:16:17
2013-09-05T14:44:25
Python
UTF-8
Python
false
false
8,358
py
# Author: Lisandro Dalcin # Contact: dalcinl@gmail.com """Run Python code using ``mpi4py``. Run Python code (scripts, modules, zip files) using the ``runpy`` module. In case of an unhandled exception, abort execution of the MPI program by calling ``MPI.COMM_WORLD.Abort()``. """ def run_command_line(args=None): ...
[ "dalcinl@gmail.com" ]
dalcinl@gmail.com
5bcd1a408337e34fde01241f6fa33a12fd231a0c
da497ddf926b8791f3812c79543120215822216b
/icsbep/pu-sol-therm-007/openmc/case-6/generate_materials.py
9bf69b784be27e86c3ab8ef8378f2f525260bcdb
[]
no_license
mit-crpg/benchmarks
55f38e569699554d07df254103e2f828dc5b4ff8
58e15679ec684b9e2f552df58099e3648b5708cc
refs/heads/master
2022-05-17T12:27:45.590757
2022-05-09T15:07:00
2022-05-09T15:07:00
2,704,358
23
30
null
2019-11-11T16:35:27
2011-11-03T19:04:29
Python
UTF-8
Python
false
false
926
py
import openmc mats = openmc.Materials() mat = openmc.Material(1) mat.name = "Plutonium nitrate solution" mat.set_density('sum') mat.add_nuclide('Pu238', 1.5406e-08) mat.add_nuclide('Pu239', 2.4294e-04) mat.add_nuclide('Pu240', 1.1886e-05) mat.add_nuclide('Pu241', 7.7338e-07) mat.add_nuclide('Pu242', 2.2727e-08) mat.a...
[ "paul.k.romano@gmail.com" ]
paul.k.romano@gmail.com
f7bdc9446ef34ddd93a77d2b6caff30f2bd83d5c
26536ad8f07242ea5411a02117adc80462cc1173
/ssseg/modules/models/nonlocalnet/nonlocalnet.py
6c52ff731e0d8a7bb1f2e4ed9300222c35906f67
[ "MIT" ]
permissive
yawudede/sssegmentation
451b34c7e383b61d74b483c3048c0ed760821956
b7fb5bd955a59cda0cfa20ac0c51aea67bfe0e30
refs/heads/main
2023-01-30T20:28:10.976883
2020-12-16T08:45:49
2020-12-16T08:45:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,243
py
''' Function: Implementation of NonLocalNet Author: Zhenchao Jin ''' import copy import torch import torch.nn as nn import torch.nn.functional as F from ...backbones import * from ..base import BaseModel from .nonlocalblock import NonLocal2d '''NonLocalNet''' class NonLocalNet(BaseModel): def __init__(sel...
[ "1159254961@qq.com" ]
1159254961@qq.com
26f66d348266283b60f81e944067b3f15c0bf29f
e03174f2b447f998415e9629821efd85117076f7
/recipe_app/urls.py
00bb48962163a84840617566218bd0418b587349
[ "MIT" ]
permissive
PatrickCmd/Recipe-API-Django-GraphQL
64defbf46ba69a1cefec367228e7ef281071e4f8
bed1f1ebab88615ca62ea3846fbeb8e1a69c09e6
refs/heads/main
2023-03-20T07:57:04.214175
2021-03-02T19:05:22
2021-03-02T19:08:51
343,881,682
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
"""recipe_app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "pwalukagga@gmail.com" ]
pwalukagga@gmail.com
94a022a9f21e7f396b42b3a6c186a2c6f0e4cf76
4015291afebfd346da3fee4b1d5a775882b5b461
/packages/models-library/src/models_library/services_ui.py
2933c09a2120995bb48d1c780f35c5ca452fbded
[ "MIT" ]
permissive
pcrespov/osparc-simcore
3a8a6b5252038542f515c7e90d983ac6f1fb4de7
eb5e00bc2cf4acfe81f5dc422a5e50a4646c9596
refs/heads/master
2023-08-06T04:33:38.594066
2023-07-12T09:47:00
2023-07-12T09:47:00
130,357,545
0
1
MIT
2023-04-18T08:04:27
2018-04-20T12:10:41
Python
UTF-8
Python
false
false
895
py
from enum import Enum from typing import Union from pydantic import BaseModel, Extra, Field from pydantic.types import PositiveInt class WidgetType(str, Enum): TextArea = "TextArea" SelectBox = "SelectBox" class TextArea(BaseModel): min_height: PositiveInt = Field( ..., alias="minHeight", descr...
[ "noreply@github.com" ]
pcrespov.noreply@github.com
f91540884b5e4959ef73492c7f863d2922eccf94
18aee5d93a63eab684fe69e3aa0abd1372dd5d08
/test/collective/fleet/test_fleet_lamb_meta_optimizer.py
c32135bafc1922c15f3cde7cad759415d8939996
[ "Apache-2.0" ]
permissive
Shixiaowei02/Paddle
8d049f4f29e281de2fb1ffcd143997c88078eadb
3d4d995f26c48f7792b325806ec3d110fc59f6fc
refs/heads/develop
2023-06-26T06:25:48.074273
2023-06-14T06:40:21
2023-06-14T06:40:21
174,320,213
2
1
Apache-2.0
2022-12-28T05:14:30
2019-03-07T10:09:34
C++
UTF-8
Python
false
false
6,035
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
Shixiaowei02.noreply@github.com
21e5c7969a5e8530ef51ea85feca0c3bfffdd174
5c1531b47fb4dc4d7e5998d44f7200bf1786b12b
/074_search_2d_matrix/search_2d_matrix.py
3c4f9a7a01a2733e9c54637410c7700ced156771
[]
no_license
Web-Dev-Collaborative/Leetcode-JS-PY-MD
d1f560051aad1896a80eccdd4b4fbb389e7033e3
675b94fa5da8d40f0ea79efe6d3ef1393221425f
refs/heads/master
2023-09-01T22:30:32.313793
2021-10-26T02:17:03
2021-10-26T02:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import bisect class Solution: # @param {integer[][]} matrix # @param {integer} target # @return {boolean} def searchMatrix(self, matrix, target): row = bisect.bisect_left([r[0] for r in matrix], target) if row == len(matrix): row = row - 1 else: if matri...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
ad120a33f5a38c61f5bf51b963ca28fe9bb7181e
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/compute/azure-mgmt-avs/generated_samples/workload_networks_list_virtual_machines.py
5c0476b45004e198a88a5953076a48e7cd6a0852
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,593
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" ]
openapi-env-test.noreply@github.com
ab4aa406b1c17f7f9b9d681a9994f81bb61e1d9d
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/fc/inputothererrorshist5min.py
f32c1c9ff33549d1579e1e8c16dd6a037f659a95
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
33,113
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
c8626cacf72ea2f02508cbcbc1bb016ff3d83bdb
1f94767da0b3d9260cf2548014ff264127704796
/ml/rl/training/parametric_dqn_trainer.py
e7d2a7ba67969378c6bcb4a2bea436b77c2f18aa
[ "BSD-3-Clause" ]
permissive
johncliu/Horizon
9ea6de069a0294f6e97a3821137394be9ae66c34
cfa7a873ada5de3bb01e78e2f237d9849b8270b2
refs/heads/master
2022-11-26T21:15:07.795468
2018-12-09T00:27:42
2018-12-09T00:29:27
160,994,599
0
0
NOASSERTION
2022-11-21T22:30:40
2018-12-09T01:44:45
Python
UTF-8
Python
false
false
12,392
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import logging from copy import deepcopy from typing import Dict, Tuple import torch import torch.nn.functional as F from ml.rl.models.dueling_q_network import DuelingQNetwork from ml.rl.models.fully_connected_network impor...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
df4213385952a300718dc7d4f472408281b8134b
525dc175d55c2f5f33f87df6915f3633537da17c
/oas_dev/util/plot/Nd_plot.py
06a934191347906689c4cfcd78d717675e010ea2
[ "CC0-1.0" ]
permissive
sarambl/OAS-DEV
1b4c020ff862075034536ea38f30a131968791fb
8dec6d29ef23dee8135bc937cd6ee1ef5b64d304
refs/heads/master
2023-04-09T07:59:31.051158
2021-10-26T12:20:04
2021-10-26T12:20:04
310,578,324
0
0
null
null
null
null
UTF-8
Python
false
false
12,605
py
#import sensitivity_scripts import oas_dev.util.plot.make_break_axis as mba from matplotlib import colors, pyplot from oas_dev.util.plot import plot_settings #to_make_figures_paper.make_break_axis as mba from oas_dev.util import practical_functions import seaborn as sns #import analysis_tools.Nd_pkg #from oas_dev.util...
[ "samebr@gmail.com" ]
samebr@gmail.com
8b6353a0c90e0e69cd17cfbd061e0b152fd0363a
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/recognizer/DmgRecognizer.pyi
38a1f498d2fec2009f3d8d943ac5a215070df3d4
[ "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
797
pyi
from typing import List import ghidra.app.util.recognizer import java.lang class DmgRecognizer(object, ghidra.app.util.recognizer.Recognizer): def __init__(self): ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> java.lang.Class: ... def getPriority(self) -> int: ... ...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
b401270ebad54df08a47715a824853f516267bdc
a3746020cf091f433beb41bde1b62818b4de569b
/past/rule_analysis/rule/text/check_using_revoke.py
b8b835f7f2fc5a709f3ae4af5bdc769296baefa9
[]
no_license
kk71/sqlaudit
59bab5765a67f56f1dd2f3103812051c5acbbc49
747aaa02573a9c2b46a9e14415d27c0ab8e6158c
refs/heads/master
2023-02-04T18:38:46.125746
2020-06-05T09:49:46
2020-06-05T09:49:46
323,559,338
1
0
null
null
null
null
UTF-8
Python
false
false
265
py
# Author: kk.Fang(fkfkbill@gmail.com) import re from .utils import judge_if_ddl def execute_rule(sql, db_model=None, **kwargs): if not judge_if_ddl(sql): return False if re.search('revoke\s+', sql, re.I): return True return False
[ "fkfkbill@gmail.com" ]
fkfkbill@gmail.com
d8334689fb752ac8c03db533028e606d863cb0fe
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_add_segment_bind_response_wrapper.py
2ac6343754d5d8b7139947919a07f681b7905ae0
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
1,100
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.advancedsegmentbind.model.add_segment_bind_response_wrapper_body import AddSegmentBindResponseWrapperBody from baiduads.common.model.api_re...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
13f1ee4a2434f217b952e800c62824c3622ae5c8
c3d4f7e811b39de9d6f8fa8b013ecd1c13ed46b1
/2018-01/01_Jan/19/_08_bases_.py
e3d2e736ed0920f3ea0979e26cc97440af0999d2
[ "Apache-2.0" ]
permissive
z727354123/pyCharmTest
b58ebb78c3b51633ed6894009565ec84c8441509
577aad45c5bf7bef055db0788b9f480529a04186
refs/heads/master
2023-03-10T23:59:20.098707
2023-03-01T05:12:48
2023-03-01T05:12:48
99,561,307
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# _*_ encoding=utf-8 _*__*_ encoding=utf-8 _*_ # 元组 class A: _name = "A" @classmethod def printName(self): print(self._name) class B: _name = "B" class StartA(A, B): pass class StartB(B, A): pass print(StartA._name) print(StartB._name) StartA.printName() StartB.printName() print(A.__d...
[ "727354123@qq.com" ]
727354123@qq.com
aff8d834ffd907d4713b0f8caee9d5a834be77ab
a1c8731a8527872042bd46340d8d3e6d47596732
/programming-laboratory-I/2r9q/jasei.py
7aa512c05333853cbb941be1c35fa9fe5bede241
[ "MIT" ]
permissive
MisaelAugusto/computer-science
bbf98195b0ee954a7ffaf58e78f4a47b15069314
d21335a2dc824b54ffe828370f0e6717fd0c7c27
refs/heads/master
2022-12-04T08:21:16.052628
2020-08-31T13:00:04
2020-08-31T13:00:04
287,621,838
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
# coding: utf-8 # Aluno: Misael Augusto # Matrícula: 117110525 # Problema: Já sei tocar essa música def sei_tocar_musica(musica, acordes): n = 0 for i in range(len(musica)): for j in range(len(acordes)): if musica[i] == acordes[j]: n += 1 break if n == len(musica): return True else: return False...
[ "misael.costa@ccc.ufcg.edu.br" ]
misael.costa@ccc.ufcg.edu.br
3ae06584c472949daf17c71997368ef6a6d112a0
59ac1d0f09ebfb527701031f3ab2cfbfb8055f51
/soapsales/basedata/serializers.py
502074108cd066ca5c0ee996f46d869ec1458bb7
[]
no_license
DUMBALINYOLO/erpmanu
d4eb61b66cfa3704bd514b58580bdfec5639e3b0
db979bafcc7481f60af467d1f48d0a81bbbfc1aa
refs/heads/master
2023-04-28T13:07:45.593051
2021-05-12T09:30:23
2021-05-12T09:30:23
288,446,097
1
1
null
null
null
null
UTF-8
Python
false
false
1,008
py
from rest_framework import serializers from .models import ( Note, Organization, UnitOfMeasure ) class NoteSerializer(serializers.ModelSerializer): class Meta: model = Note fields = "__all__" class OrganizationSerializer(serializers.ModelSerializer): class Meta: model = Organization f...
[ "baridzimaximillem@gmail.com" ]
baridzimaximillem@gmail.com
19b006dc67b046dbbd412173f9ecb217d47c117f
3c797162b544aba5122c8eb85dddd3089f462065
/vgg.py
44c590d966b6ad101198d73f5ae3b7309651c99e
[ "Apache-2.0" ]
permissive
MorvanZhou/Computer-Vision
cf5f6dfbc0dd534172f67d812874c72b8fccb75e
f0cb97c099ed4ec363c72ee8aae8c93315bef276
refs/heads/main
2023-02-06T12:05:29.553579
2020-12-24T12:01:09
2020-12-24T12:01:09
324,119,891
32
1
null
null
null
null
UTF-8
Python
false
false
1,862
py
# [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://arxiv.org/abs/1409.1556) # dependency file: https://github.com/MorvanZhou/Computer-Vision/requirements.txt from tensorflow import keras from tensorflow.keras import layers from utils import load_mnist, save_model_structure, save_model_weigh...
[ "morvanzhou@hotmail.com" ]
morvanzhou@hotmail.com
b838de11fe10bfe0911408ce552355f4cee5e046
8b04ede84df2f20b3151db4ecdeee60ce9d33765
/yapypy/utils/yapypy_tokenize37.py
8d36a2b4550e9ab9d0d5e21a636cd0d0a99fdcfe
[ "MIT" ]
permissive
nikita215/YAPyPy
6dafac5d8340df6b1539c34bdd9bd592b6037d69
bd432994126f2d9c8f13cd2d9d7b36a0a524c43b
refs/heads/master
2020-06-08T15:38:18.517825
2018-10-29T01:16:45
2018-10-29T01:16:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,553
py
"""Tokenization help for Python programs. tokenize(readline) is a generator that breaks a stream of bytes into Python tokens. It decodes the bytes according to PEP-0263 for determining source file encoding. It accepts a readline-like method which is called repeatedly to get the next line of input (or b"" for EOF). ...
[ "twshere@outlook.com" ]
twshere@outlook.com
8473cf96f72a7fa8bc7ff272a5dc599372da20de
00c2e8163b2292348ac8337462e71e665039044b
/article/migrations/0004_auto_20200730_1618.py
c6b277529da7a46020789ec39abb33e7151d9d33
[]
no_license
InjiChoi/third_crud
6666c8ad4e0c6d40555b0a5c6a5a82fe45b54cc0
541f135dc1a328be35aa404ea28ef1583e5ba8f3
refs/heads/master
2022-11-29T06:13:14.602168
2020-08-13T07:28:35
2020-08-13T07:28:35
287,207,295
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# Generated by Django 2.2.9 on 2020-07-30 07:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('article', '0003_comment'), ] operations = [ migrations.AlterField( model_name='comment', ...
[ "chldlswl1212@gmail.com" ]
chldlswl1212@gmail.com
bea5f7c08bd226ba60f7bb07cbfa676a5538d5bf
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/EFwDXErjDywXp56WG_11.py
ccaa28a482253e024a286e75e335e487bfb65c08
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
""" Create a function that takes a string and returns `True` or `False`, depending on whether the characters are in order or not. ### Examples is_in_order("abc") ➞ True is_in_order("edabit") ➞ False is_in_order("123") ➞ True is_in_order("xyzz") ➞ True ### Notes You don't have to ha...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c33158dd9ad65177efc24faced5f5bd61a02f722
cc9a87e975546e2ee2957039cceffcb795850d4f
/HelloAdam/HelloAdam20TeknikLooping/__init__.py
1aa7fb69d6a33a47a6b599344069d22eb1132404
[]
no_license
CodeHunterDev/Belajar-Python
304d3243801b91b3605d2b9bd09e49a30735e51b
9dd2ffb556eed6b2540da19c5f206fedb218ae99
refs/heads/master
2023-03-19T22:12:46.330272
2020-02-04T08:02:00
2020-02-04T08:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
# Copyright (c) 2020. Adam Arthur Faizal from sys import copyright print("====== TEKNIK LOOPING ======\n") hewan = ["Kucing", "Kelinci", "Sapi", "Ular", "Burung"] print("Daftar hewan :", hewan) buah = ["Mangga", "Stroberi", "Pepaya", "Melon"] print("Daftar buah :", buah) # Enumerate print("--- Enumerate ---") for no...
[ "adam.faizal.af6@gmail.com" ]
adam.faizal.af6@gmail.com
5ce496de26a11bcee871ef17fd2aababae82c386
9440d951de2c49c068f3dd1f760a94cce156aa92
/chemical/main.py
63fa4d969d8832f9ee44fd227449fbd4bd03dbc7
[]
no_license
dxcv/crusader
ce0e8ed31e0a5500f76a36a43e4431af4b8cd2bd
e0f9f0f132405250a39ad8c3db9be4df1e02a7d4
refs/heads/master
2020-07-04T22:40:30.623026
2019-06-14T03:00:16
2019-06-14T03:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,604
py
# encoding: utf-8 import pandas as pd import numpy as np import chemical.const as const from bokeh.io import curdoc from bokeh.layouts import column from bokeh.models import ColumnDataSource, NumeralTickFormatter from bokeh.plotting import figure col_df = pd.read_excel(const.LIST_FNAME) dic = {k: v for k, v in zip(c...
[ "zjsxzy@gmail.com" ]
zjsxzy@gmail.com
bd0e36d73cf11b2003e2087c21a73cdb2c8a846a
a290925e8c3103bb84327f6f38f0b4ffd7945c1d
/electramodels/modeling_outputs.py
7a6a05791d9cedb361b80771f7bf71421f46fdec
[]
no_license
enterpriseih/lightningHotpotQA
6db502747b2b7a876e7f32743b839c65f851ee49
b3a992f27a1c2b7881e6ab0c16132c20fb880f8d
refs/heads/master
2023-08-24T05:38:32.419496
2021-05-27T01:09:29
2021-05-27T01:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,405
py
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "guangtao.wang@jd.com" ]
guangtao.wang@jd.com
479662d20de07396bd35fcfe7f488ed18826fad5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02855/s718736811.py
8ddd9b2385d3289e1813e674e14423b272d3ea98
[]
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
1,150
py
import sys input = sys.stdin.readline def main(): H, W, K = map(int, input().split()) cake = [[0]*W for _ in range(H)] sb = [] for y in range(H): s = input().strip() for x, c in enumerate(s): if c == "#": sb.append((y, x)) for i, (y, x) in enumerate(sb):...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f463a74f74787be2e051c8d2a6a94d0fb9b4f288
76938f270e6165514162856b2ed33c78e3c3bcb5
/lib/coginvasion/hood/SafeZoneLoader.py
002fba48993eee06b78f6836ee332a27de837fa4
[]
no_license
coginvasion/src
9a5ec682845cc4c9c013fcc35e9b379bd4360b6c
2d7fcdb0cd073050250cb51292ee48300a9fe19f
refs/heads/master
2021-01-19T06:50:11.786112
2015-11-08T12:28:52
2015-11-08T12:28:52
61,545,543
1
2
null
null
null
null
UTF-8
Python
false
false
8,874
py
# Embedded file name: lib.coginvasion.hood.SafeZoneLoader """ Filename: SafeZoneLoader.py Created by: blach (14Dec14) """ from pandac.PandaModules import * from direct.fsm.StateData import StateData from direct.fsm.ClassicFSM import ClassicFSM from direct.fsm.State import State from QuietZoneState import QuietZon...
[ "ttarchive@yandex.com" ]
ttarchive@yandex.com
a82bee3b593d95974bad78f55ee6156122db8fd3
f998a574343292d050777f616b408a74fde05738
/eshop_docker/eshop/extra_apps/social_core/pipeline/mail.py
0011dff7ec36b703d0f114d0e63bcffcaea7276f
[]
no_license
Boomshakal/Django
7987e0572fc902bd56360affea0b5087a4cb04a7
a149691c472eab3440028bf2460cd992acec0f8a
refs/heads/master
2023-01-11T06:16:29.283428
2022-12-23T08:00:05
2022-12-23T08:00:05
199,360,433
0
0
null
2020-06-06T09:37:02
2019-07-29T02:01:09
Python
UTF-8
Python
false
false
1,363
py
from ..exceptions import InvalidEmail from .partial import partial @partial def mail_validation(backend, details, is_new=False, *args, **kwargs): requires_validation = backend.REQUIRES_EMAIL_VALIDATION or \ backend.setting('FORCE_EMAIL_VALIDATION', False) send_validation = de...
[ "362169885@qq.com" ]
362169885@qq.com
221c800690ad2075781c1a540faef149ed4178c1
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/eastmoney_20210204151516.py
5a538aeca4821250f7da0e18299c626362fd9943
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
18,012
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : easy-money.py @Time : 2021/02/04 09:03:02 @Author : Jiajun Chen @Version : 1.0 @Contact : 554001000@qq.com @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA ''' # 东方财富网 首发申报及上会信息 import re import pickle from datetime import datetime...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
f5003698eeb746238b83debfde8aa260cb48bdfd
ec56e3a57fb71f3fc4f19b168d3fa34cebb781ab
/tcga_encoder/analyses/old/tsne_from_z_space.py
34915972bbefbbd33094bd0c0e2d2d99481dc0c7
[ "MIT" ]
permissive
tedmeeds/tcga_encoder
64d60148b0c69092cb499abec22618e740ba8b6c
805f9a5bcc422a43faea45baa0996c88d346e3b4
refs/heads/master
2021-01-13T04:50:42.643743
2017-08-25T13:09:38
2017-08-25T13:09:38
78,621,753
2
0
null
null
null
null
UTF-8
Python
false
false
3,225
py
from tcga_encoder.utils.helpers import * from tcga_encoder.data.data import * from tcga_encoder.definitions.tcga import * #from tcga_encoder.definitions.nn import * from tcga_encoder.definitions.locations import * #from tcga_encoder.algorithms import * import seaborn as sns from sklearn.manifold import TSNE, locally_li...
[ "tmeeds@gmail.com" ]
tmeeds@gmail.com
713e7e523ab6077cab397b0e284922c44b0230b9
66bad57fb663349518cfc5a19dd34e00b4672165
/sn_projection/train_sn_projection.py
daa59db9d86ea7b2b2d08faa821e8143516c8daf
[]
no_license
B-Step62/anime-GANs
233ac55ae5b0b2031757d7c4d908a65952a25c8d
8ea05e19121612bb8adb2dd4c7453423e198f320
refs/heads/master
2020-04-22T12:13:59.644268
2019-03-26T07:17:43
2019-03-26T07:17:43
170,365,673
6
2
null
2019-10-21T06:05:40
2019-02-12T18:02:21
Python
UTF-8
Python
false
false
9,002
py
import os import sys import glob import argparse import shutil import numpy as np import torch import torch.backends.cudnn as cudnn import torch.nn.functional as F from torch.optim import Adam from torch.autograd import Variable from torchvision.utils import save_image sys.path.append(pardir) from models import sn_pr...
[ "bsatbeyp@gmail.com" ]
bsatbeyp@gmail.com
f1794c53533ed59e09135659ebffe26264600476
04a26d4908cef6d94f2e491de4be0d0ad7cf82a8
/summerforprogress/settings/dev.py
85a05591de96d9fa677d8a7ea2b84fde4b75ac35
[]
no_license
Our-Revolution/summer-for-progress
468293144c38ca5de0e3147ad7eb14bd9265dc7b
b3fae3254d0bf1151470147be6118ea85d6c1cab
refs/heads/master
2021-01-01T15:53:59.444536
2018-03-09T19:52:13
2018-03-09T19:52:13
97,728,229
0
0
null
2018-03-09T19:52:14
2017-07-19T14:48:17
CSS
UTF-8
Python
false
false
58
py
from base import * DEBUG = True COMPRESS_ENABLED = True
[ "cjmab28@gmail.com" ]
cjmab28@gmail.com
e96ba09963ac7c70cb2539d107d9a761a45db37f
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices/aio/operations/_online_deployments_operations.py
b3dd667cf623ad3ff04388eae957841a138bff5a
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
55,662
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
9aafc60a18e81c3c46b7f61ce8584b6642ac2b85
5f86944bdf1b810a84c63adc6ed01bbb48d2c59a
/kubernetes/client/models/v1alpha1_cluster_role_binding.py
0a4350d713ee282f409da55e0d78e80cd0581b15
[ "Apache-2.0" ]
permissive
m4ttshaw/client-python
384c721ba57b7ccc824d5eca25834d0288b211e2
4eac56a8b65d56eb23d738ceb90d3afb6dbd96c1
refs/heads/master
2021-01-13T06:05:51.564765
2017-06-21T08:31:03
2017-06-21T08:31:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,473
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "mehdy@google.com" ]
mehdy@google.com
2a51fc184829e1da5455b36180993db24eb91034
d0ca6faf4b672be1d97b6cf6302430a3dc970895
/apps/spark/src/spark/migrations/0001_initial.py
f94b6466d45d50367513e891f3d02575f4ac7780
[ "Apache-2.0" ]
permissive
jesman/hue
8aaea0a6134e1624c12145159fae94d6e01e5db4
21edfc1b790510e512216ab5cc8aeb1a84255de3
refs/heads/master
2021-01-14T13:48:06.054767
2013-11-26T22:26:32
2013-11-26T23:10:41
14,733,058
1
0
null
null
null
null
UTF-8
Python
false
false
5,825
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 model 'SparkScript' db.create_table('spark_sparkscript', ( ('id', self.gf('django.db.mo...
[ "romain@cloudera.com" ]
romain@cloudera.com
3180b25bad018eec1119e875c24d615762cfd99d
7add1f8fc31b09bb79efd2b25cc15e23666c1d1d
/tfx/dsl/context_managers/context_manager_test.py
6cd12f340655d602f1e13a0924a240f2424f8509
[ "Apache-2.0" ]
permissive
twitter-forks/tfx
b867e9fee9533029ca799c4a4c5d1c5430ba05fe
cb3561224c54a5dad4d5679165d5b3bafc8b451b
refs/heads/master
2021-11-19T18:45:09.157744
2021-10-19T00:02:34
2021-10-19T00:02:34
205,426,993
2
1
Apache-2.0
2021-10-18T21:03:50
2019-08-30T17:21:03
Python
UTF-8
Python
false
false
7,687
py
# Copyright 2021 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 required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
91cc85e0ffa21fb97bb0ff8de417a2d95386a351
2c4648efe8c7e408b8c3a649b2eed8bb846446ec
/codewars/Python/6 kyu/EqualSidesOfAnArray/find_even_index_test.py
8b6028dd54d750990bb81debe7dec85cc4fd15a3
[]
no_license
Adasumizox/ProgrammingChallenges
9d79bd1b0ce4794b576124f9874aabb86d5c0713
3630fcde088d7991e344eb1b84805e9e756aa1a2
refs/heads/master
2021-07-16T08:16:57.538577
2020-07-19T19:58:28
2020-07-19T19:58:28
190,159,085
1
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
from find_even_index import find_even_index import unittest from random import randint class TestFindEvenIndex(unittest.TestCase): def test(self): self.assertEqual(find_even_index([1,2,3,4,3,2,1]), 3, 'Basic test') self.assertEqual(find_even_index([1,100,50,-51,1,1]), 1, 'Basic test') ...
[ "darkdan099@gmail.com" ]
darkdan099@gmail.com
8eac4fc825850b11e722174526cd44ce446db0db
8158f19a3dde47587b27730296c50c670ab8eb5f
/py/lvmtarget/brightstar.py
2741dfc82e12294cb601d2f26d5f437627f5156e
[ "BSD-3-Clause" ]
permissive
sdss/lvmtarget
e083ecef5f3df50f7fa606d44c5de17792cbd902
8014fe1a60f26475526e2beea943f5444cd78a82
refs/heads/master
2021-05-11T19:42:54.477069
2019-10-28T19:53:25
2019-10-28T19:53:25
117,886,365
0
0
null
null
null
null
UTF-8
Python
false
false
41,634
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- """ lvmtarget.brightstar ===================== Module for studying and masking bright stars in the sweeps """ from __future__ import (absolute_import, division) from time import time import numpy as np import numpy.lib.recfunction...
[ "havok2063@hotmail.com" ]
havok2063@hotmail.com
4bc7285423b98e0b74f38de3f3b9828f8e2cf477
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_domain_name_certificate_v2_response.py
0252ac99c6b536ce317ea20d030cdf72e3ff3c1b
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,067
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ShowDetailsOfDomainNameCertificateV2Response(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
645e0aebaab4b939d2f1eaa75c24879619c3c55e
73d5f8918e7933f31a1ead5f23000989ff8d1445
/buildbuild/api/tests/test_api_team_list_search.py
f6b2e34370b2cc2fb16426f7cd16ea1c0462076e
[ "BSD-3-Clause" ]
permissive
wikibootup/buildbuild
c8f1d3f241131059315ba1ca368bfa173449ee9a
7629b3ac172803d474af312f22eb4a9631342ed3
refs/heads/master
2021-01-18T07:22:25.530180
2014-11-20T19:03:23
2014-11-20T19:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
from django.test import TestCase from django.test.client import Client from teams.models import Team class TestAPITeamListSearch(TestCase): def setUp(self): self.test_string = "test_string" self.team_with_test_string = Team.objects.create_team( name="team_name_with_" + self.test_strin...
[ "dobestan@gmail.com" ]
dobestan@gmail.com
8542295dc0339d09a52885dcaa9e153216812568
ffb05b145989e01da075e2a607fb291955251f46
/mtraits/strait.py
8a9a1b7d9c0d49bab9a31ca2e20f96ba6118265e
[]
no_license
micheles/papers
a5e7f2fa0cf305cd3f8face7c7ecc0db70ce7cc7
be9070f8b7e8192b84a102444b1238266bdc55a0
refs/heads/master
2023-06-07T16:46:46.306040
2018-07-14T04:17:51
2018-07-14T04:17:51
32,264,461
2
0
null
null
null
null
UTF-8
Python
false
false
4,528
py
__version__ = '0.5.3' __all__ = ['__version__', 'include', 'MetaTOS'] import inspect import types import warnings class OverridingError(NameError): pass class OverridingWarning(Warning): pass class Super(object): # this is needed to fix a shortcoming of unbound super objects, # i.e. this is how t...
[ "michele.simionato@gmail.com" ]
michele.simionato@gmail.com
cad351df6be0d827b8bb24971c1b081dbad29221
d0645bc7120a4e577c604a7cbfc568e558e7f083
/pitchfork/load_balancers/__init__.py
d2aba35fb87ad0e7d9c3e0dad962ef44bf7e0de5
[ "Apache-2.0" ]
permissive
dev-ace/pitchfork
85380f9def9cac10fa30f6b851bc6f94b8a7a265
ba372daef78b64abffb9cc7ca51d14d8299f1ca4
refs/heads/master
2021-01-18T20:44:00.550156
2014-04-02T18:54:47
2014-04-02T18:54:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
# Copyright 2014 Dave Kludt # # 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, s...
[ "david.kludt@rackspace.com" ]
david.kludt@rackspace.com
ceee035fae6adfbdcf3ec2a990ba6b0f0ef0fa01
7e145d1fff87cdabf7c9ae9c08637f299fbd3849
/8. String to Integer (atoi).py
e2c542ddf189458ca878044d1437b0bbd14f4fa0
[]
no_license
dundunmao/LeetCode2019
2b39ef181a7f66efc9de7d459b11eb1a4a7f60a8
9b38a7742a819ac3795ea295e371e26bb5bfc28c
refs/heads/master
2020-09-16T16:46:50.482697
2020-06-07T08:01:16
2020-06-07T08:01:16
223,833,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
class Solution: # @return an integer def myAtoi(self, str): str = str.strip() #去掉所有空格 if len(str) == 0: return 0 tmp = "" result = 0 i = 0 sign = 1 if str[0] == "-": #处理正负号 sign = -1 i = 1 if str[0] == "+": #处...
[ "dundunmao@gmail.com" ]
dundunmao@gmail.com