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
bb66d565c7901fa656d27ec8304f84e0cff5e2b4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02733/s521806066.py
eaacba5d64a927b669fe57e8f8784787243f8a31
[]
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
641
py
# E - Dividing Chocolate import numpy as np H, W, K = map(int, input().split()) S = np.zeros((H, W), dtype=np.int64) ans = H+W for i in range(H): S[i] = list(str(input())) for m in range(2**(H-1)): wp = np.zeros((H, W), dtype=np.int64) wq = np.zeros((H, ), dtype=np.int64) wp[0] = S[0] cut = 0 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7de07b33eb12026a237b44f682f148ada5b4c79f
322ffb1bcda9ae1d90156681d5a17fd8b2cc7493
/tests/utils_tests.py
22623aac6be0a21afc52448cc5c01f1ef47ca6c8
[ "Apache-2.0" ]
permissive
QuantamKawts/incubator-superset
2aa7864303970c9588cda30ec172103f0853fa12
591e5ec32ee7321f8833b8199ee6ab9ff7ed92f6
refs/heads/master
2021-08-08T19:59:37.937127
2017-11-11T00:28:56
2017-11-11T00:28:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,724
py
from datetime import date, datetime, time, timedelta from decimal import Decimal import unittest import uuid from mock import patch import numpy from superset.utils import ( base_json_conv, datetime_f, json_int_dttm_ser, json_iso_dttm_ser, JSONEncodedDict, merge_extra_filters, parse_human_timedelta, Super...
[ "maximebeauchemin@gmail.com" ]
maximebeauchemin@gmail.com
9c06a1c179fe1622fbe1e9dffdd6ae278579babc
d54634fd4e28d07aae2928630cfe32441a3ca611
/sport3/sport3/urls.py
48e70b551fb9e54605bffd34fba6191c36963a3d
[]
no_license
nimanoori22/django_varzesh3_scraper
7565c08b6a32dae1c374b4574c1f757d2efac888
d7a0b81139b141f5cb6bb030bb4024593502ed55
refs/heads/master
2022-12-14T00:53:05.668819
2020-09-05T22:42:13
2020-09-05T22:42:13
290,219,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
"""sport3 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-based ...
[ "nimanoori000@gmail.com" ]
nimanoori000@gmail.com
a837b30a020dbcdf1d405ac4a94e454049f6726b
b6bdd774e91e3e5a64c99a1ed7fc631ebcf4c423
/PYTHON-4/3 - Sistem Pemesanan Makanan/17. Menghitung Jumlah Total/x1/menu_item.py
e2c5cf41232efc8096e0f5d255189c6f5badf60f
[]
no_license
yandre-dle/Catatan_PRGT_PYTHON
eade2dd2506dd6f6587c29c948e723110cda4ca0
5d4337d0fd296578b132dfeef65f9ee0e12e73bb
refs/heads/main
2023-03-04T14:18:32.898790
2021-02-16T02:33:51
2021-02-16T02:33:51
337,601,323
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
class MenuItem: def __init__(self, name, price): self.name = name self.price = price def info(self): return self.name + ': $' + str(self.price) def get_total_price(self, count): total_price = self.price * count # Jika count lebih besar dari atau sama dengan...
[ "reuter3yandri3@gmail.com" ]
reuter3yandri3@gmail.com
4f6de5c4126884ee954ef8700dc7b6ff8d93eb15
b288e79bc4aa3a3ea2e11b2fe5d9d707fc36b916
/wen_python_18/homework1.py
1179ece2490225a7b5ae782b7f4dae4a1c0a1ed6
[]
no_license
pylinx64/wen_python_18
88e780e7045419a8c14d26f1dbb42c0d98e8856c
173f21e046904cdc24f846e19004d2a007deb2d3
refs/heads/main
2023-04-17T19:36:37.485510
2021-05-05T10:07:41
2021-05-05T10:07:41
336,603,726
1
0
null
null
null
null
UTF-8
Python
false
false
618
py
def exp(a,b): s = a ** b return s z=exp(2, 3) #print(z) import time, colorama from colorama import Fore, Back, Style # запуск движка colorama.init() def test1(a, b): print(Fore.RED + '---------#test1----------') et = time.time() res = exp(a, b) st = time.time() dt = st - et print(Fore.RED + ...
[ "noreply@github.com" ]
pylinx64.noreply@github.com
b5d1b838aa93b52461121ffcaef86f9509335da9
61f140ba963a9ea803917e1c2ef87fe3f9475877
/gr/gbi-server/app/gbi_server/signals.py
8de0d48c76cf37f11e8e6197b17077e0755352ce
[ "Apache-2.0" ]
permissive
Web-Dev-Collaborative/Github-Based-Projects
41db5fa30157cd8810d2dfd7f457e61306e2871f
7f8f7189337dfcc351c3215d1b2a7b5e8252c9f0
refs/heads/master
2023-07-03T10:50:11.475717
2021-08-04T20:53:17
2021-08-04T20:53:17
392,795,892
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
# This file is part of the GBI project. # Copyright (C) 2013 Omniscale GmbH & Co. KG <http://omniscale.com> # # 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/licens...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
c7c5b6b33bd941665b42c36263695cba50cdd038
5b245d51b2084c89de6d2c9e41c11debf1f58433
/samples/basic/crud/ydk/models/ip/nc-create-config-ip-static-25-ydk.py
946df497e8a7c5735e40a403afb6d0c4647f8419
[ "Apache-2.0" ]
permissive
fmontoy/ydk-py-samples
161071afc47bf05e7ad25506b3065fa052130173
b46e37a87d73ded101a6c27988c99ef58dd3d344
refs/heads/master
2020-12-28T21:05:43.969348
2016-07-23T00:43:23
2016-07-23T00:43:23
63,990,521
0
0
null
2016-07-23T00:03:35
2016-07-23T00:03:35
null
UTF-8
Python
false
false
3,411
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
fa7850fc75daf2dde886fd3a47e7b7393afad7ff
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/impl/gen/view_models/views/battle/battle_royale/__init__.py
be198cbdefdcb1766a8036eb1a9e215e93c27b38
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
157
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/impl/gen/view_models/views/battle/battle_royale/__init__.py pass
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
fc6bd5bd66008d6a062d74a904a348a05ac028f8
bfac5fac6cc9396afbdf2b89bcdb703ad1835720
/LoadTests/loadTest.py
4b53e8c2b16e01b866c2f7898f5fd0985721bc02
[]
no_license
dimatroickij/searchImages
7df1169f9e252a99a426efa3a2a8987b7e80edd4
c1f2ef4746f66e354af35091ce8f7634737ba80d
refs/heads/master
2023-06-05T05:58:57.646738
2021-06-14T16:16:38
2021-06-14T16:16:38
321,958,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,306
py
import csv import os import random import uuid from locust import task, between, HttpUser, tag # locust -f loadTest.py --host=https://dimatroickij.site -u 1 -r 1 class LoadTest(HttpUser): oper = ['%2B', '%2D', '%2A', '%2F', '%26', '%7C', '%23%7C', '%23%2F'] location = ['top', 'bottom', 'left', 'right', 'ce...
[ "dimatroickij@yandex.ru" ]
dimatroickij@yandex.ru
2a1a6046ff0282e4b7a24deb1b5e9e8d542bdf9e
78e6c64920a65f1605f2368d4b0a47e25f0b28c5
/arc109/a/main.py
98dafc3750392bbc91a3dbb7c5228db535748c8e
[]
no_license
melank/atCoder
b8dce4f30ffbfd930e0f0c4fa7579228baae8d2a
606b0c84f2f4864869868e948f702f5833a6a062
refs/heads/master
2023-08-05T06:08:39.209811
2021-09-24T14:10:29
2021-09-24T14:10:29
328,083,168
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
a, b, x, y = map(int, input().split()) if a == b: print(x) elif a > b: if 2 * x < y: print(x + (a - b - 1) * (2 * x)) else: print(x + (a - b - 1) * y) else: if 2 * x < y: print(x + (b - a) * (2 * x)) else: print(x + (b - a) * y)
[ "masaki.vr@gmail.com" ]
masaki.vr@gmail.com
19c25c2a36807614cec839ef97729b4a295b7b21
12a42054b156383ebbe3ccc5de4150633c66da5d
/problems/range-module/solution.py
a18021a70267d5380bb51c5694c47e8b11fdbe4e
[]
no_license
cfoust/leetcode-problems
93c33029f74f32c64caf8294292226d199d6e272
f5ad7866906d0a2cf2250e5972ce910bf35ce526
refs/heads/master
2020-03-16T23:05:45.123781
2018-05-11T16:41:09
2018-05-11T16:41:09
133,064,772
1
1
null
null
null
null
UTF-8
Python
false
false
675
py
class RangeModule: def __init__(self): def addRange(self, left, right): """ :type left: int :type right: int :rtype: void """ def queryRange(self, left, right): """ :type left: int :type right: int :rtype: bool ...
[ "cfoust@sqweebloid.com" ]
cfoust@sqweebloid.com
845c78644c890967b6b882fdfeab5885f3fbb143
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/101/usersdata/160/49577/submittedfiles/av1_m3.py
82fde475c58cbd7feb9ab68f660c37210d702610
[]
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
205
py
# -*- coding: utf-8 -*- import math m=int(input('Digite a quantidade de termos:')) i=3 denominador=1 soma=0 for i in range(1,m+1,1): if i%2==1: soma=soma+i/denominador* denominador+1
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d318b4deaa12bcb09baf6725d10397ba4cbcfd68
d0e953d791920b508104d5f3ca298eab2f6e7bea
/列表解析式.py
8a12ac1f04e2a5931423e911cab20c3ccac747d3
[]
no_license
JKFjkf/Practise
97ebabc376e0929f50fd542d0ede77739e3f9088
3371d5cc878bdb64f645311f2eb097f59c492c3c
refs/heads/master
2023-07-03T21:28:06.873370
2021-08-11T12:19:39
2021-08-11T12:19:39
394,978,548
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
list = [1,2,3,4] list = [i for i in list if i%2==0] print(list)
[ "1920578919@qq.com" ]
1920578919@qq.com
73679c3b7e56d4fa0ff4b3c36a6522eb60375590
c398a04969f364bab39ab4043ea352bdc857ea14
/docs/design_patterns/singleton/class_new_method.py
bc9580b6f9414adf64bc3bd35708e318bc80c114
[]
no_license
alexshchegretsov/mkdocs_documentation_library
68609e955deabcfaae97d5844abf671dc62f0fb0
0744a012394fcc3915bd635e2e0676f6bbf59619
refs/heads/master
2020-09-08T16:43:35.839550
2019-12-24T22:35:10
2019-12-24T22:35:10
221,187,049
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
# -*- coding: utf-8 -*- class Singleton: _instances = None def __new__(cls, *args, **kwargs): if not cls._instances: cls._instances = object.__new__(cls) return cls._instances if __name__ == '__main__': s = Singleton() s2 = Singleton() print(s is s2)
[ "nydollz77@gmail.com" ]
nydollz77@gmail.com
2c1901ab95fed822f1c56b062f511e1e0e7ffb1f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21517.py
e1bbd5be98c26c124ddbe774f7c3247763de7ad3
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
# Reading text from cgi.FieldStorage instance reader = csv.reader(field_storage.file, dialect=csv.excel_tab)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
99591be06a923792c028e50498533768e035a3f8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_285/ch8_2019_06_02_21_27_01_956143.py
6c9274506c89aee8fc67852a7969997911d90f00
[]
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
471
py
def verifica_progressao(lista): i=0 razaoPA=lista[i]-lista[i+1] razaoPG=lista[i]/lista[i+1] while i+2<len(lista): if razaoPA==lista[i+1]-lista[i+2] and razaoPG==lista[i+1]/lista[i+2]: return'AG' elif razaoPA==lista[i+1]-lista[i+2]: return'PA' ...
[ "you@example.com" ]
you@example.com
600a7bd6ea42008646407c91959785f29e9d17eb
0f7786e5664e034e77d5529eaafc5a216abcaedb
/resources/lib/pytumblr/models/other/Liked_count.py
0d5994d0860c7b69752a84d9c194f2bb95936280
[]
no_license
zoelmd/plugin.video.tumblrv
38e3acdcdb457c83d1c5acca458d82eeebfd6c65
2164a905d5d90469ac1c3b4668ee5b410e6e8541
refs/heads/master
2020-03-28T19:46:01.963031
2017-08-15T01:36:14
2017-08-15T01:36:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
#!/usr/bin/python class Liked_count: def __init__(self, type): self.type = type
[ "r00trox" ]
r00trox
dad56afc4a2d9383fcb6e018ff0b0e379e018f1a
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/CreateParagraphRequest.py
bdbeaedfba618e75a1042a8db8459e713657718b
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
1,436
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
492fa146c9b91ec0834eb55a46a14aaba8d0a63f
302442c32bacca6cde69184d3f2d7529361e4f3c
/cidtrsend-all/stage3-model/pytz/zoneinfo/Africa/Djibouti.py
fc8ae84c4f7bf92af954cba686b3da755577fbc2
[]
no_license
fucknoob/WebSemantic
580b85563072b1c9cc1fc8755f4b09dda5a14b03
f2b4584a994e00e76caccce167eb04ea61afa3e0
refs/heads/master
2021-01-19T09:41:59.135927
2015-02-07T02:11:23
2015-02-07T02:11:23
30,441,659
1
0
null
null
null
null
UTF-8
Python
false
false
517
py
'''tzinfo timezone information for Africa/Djibouti.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Djibouti(DstTzInfo): '''Africa/Djibouti timezone definition. See datetime.tzinfo for details''' zone = 'Africa/Dj...
[ "learnfuzzy@gmail.com" ]
learnfuzzy@gmail.com
53ae1cf251cde2044ebdc47174dae5bb14b10f8c
eb925b9da3c21d0183789cde51ab8e99629cd9b7
/densityProfile.py
34fe0c9b07aae28d79f1914d890df8e8b3cd76c6
[]
no_license
ansko/PyLat
9d7ffc64e226b4bb3e1abfe0c66d9bf5e1102b03
430caf607f3a33432c949dc0e48b51308d3a9513
refs/heads/master
2021-06-27T15:24:29.327380
2017-09-13T15:40:14
2017-09-13T15:40:14
101,990,579
0
0
null
null
null
null
UTF-8
Python
false
false
3,775
py
#!/usr/bin/env python3 # coding utf-8 import pprint pprint=pprint.PrettyPrinter(indent=1).pprint from Classes.DataParser import DataParser from Classes.Options import Options from functions.definePhase import definePhase def densityProfile(): o = Options() systemName = o.getProperty('systemName') multi...
[ "skomorokhov@phystech.edu" ]
skomorokhov@phystech.edu
df141bf424f3e32aa877391d60c8fe59f6b33c0f
3994a5b3b4250752012b668b714c17939ffa81b7
/scripts/v1.0/MOS-calculation-scripts/calculate-moss.py
4baa3fe0dba7a266ea3660dba88504b728d29097
[]
no_license
skyun2023/Traffic_Classification
6202ed03bbee0ef5b1d00877bc536b5acf86a599
21268d3400b44a411d174d95507c69d2c8d6a13f
refs/heads/master
2023-04-12T10:47:05.861125
2016-06-30T18:40:01
2016-06-30T18:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
# This sccript calculates MOS score using latency, jitter and loss percentage parameters. # This script takes two input : total number of lost packets and total packets import math import sys import numpy flow_list = [] # this list contains all the RTT with open('a.txt','r') as f1: for line in f1: ...
[ "a@a.com" ]
a@a.com
7c1237163e1e2ae35210eab7dd6d0d251b9559cf
9f1a56cbf621b34f539b64e526f00f68423a235a
/zigida/apps/db/products/sizes/migrations/0001_initial.py
b05e37124effc94a160215cd3907d1e9ab7547eb
[]
no_license
JacobSima/zando
21d982b190a719982bd5648ac135fbfbe45dbf00
e6fcac1ce97796d1dea5104f1b73bbf9b8822b98
refs/heads/main
2023-06-15T03:51:52.846591
2021-07-12T10:52:25
2021-07-12T10:52:25
385,208,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
# Generated by Django 3.2.4 on 2021-07-06 15:56 from django.db import migrations, models import uuid import zigida.core.utils class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Size', fields=[ ...
[ "simajacob2011@gmail.com" ]
simajacob2011@gmail.com
8173259b800064549511184723bcb30a582adf7d
7eebabdae7f30250375fd3783fb4d97cf40cdd8a
/appscript/genericreference.py
b10ab36dfbf856e90d60f70318751c456df080ae
[ "0BSD" ]
permissive
talonvoice/appscript
361ba1f2c622f703be49a4da164144753fb47c20
86118da1ab18296e226b4217f05ed0fc5bc49bcc
refs/heads/master
2022-09-11T06:53:49.941397
2022-09-04T21:45:08
2022-09-04T21:45:08
147,737,588
2
1
null
null
null
null
UTF-8
Python
false
false
2,497
py
"""genericreference -- allows user to construct relative (con- and its- based) references without immediate access to application terminology. """ from . import aem ###################################################################### # PUBLIC ###################################################################### c...
[ "lunixbochs@gmail.com" ]
lunixbochs@gmail.com
ecb53e7a2977e8b5f010eceb789dfb2e3539d96a
5f0aa278f1bce85b852d4cb57b5d1314b577635f
/arrays/first_duplicate.py
757cdb7e2e598d73843577def613e75ffa86308c
[]
no_license
osvaldohg/algorithms
56eb12975468871a11c7598b291780ce662b80cd
99bcc57440e1fc7ac077112a9f65377554cb3a4c
refs/heads/master
2021-10-08T04:28:24.106489
2018-12-07T17:08:03
2018-12-07T17:08:03
71,183,016
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# Arrays # from codefights # by oz def firstDuplicate(a): numbers={} for i in range(0,len(a)): if a[i] in numbers: return a[i] else: numbers[a[i]]=1 return -1
[ "osvaldohg@gmail.com" ]
osvaldohg@gmail.com
dab0f7b6e6eb25a0d65c7a1b2ee4ec28bcb2e19b
6d66c9a16c199e87b5a5dc2892e638a6be5d0924
/translated_fields/__init__.py
4e1bde53f8055233d0f57b37d7212f9c080800fc
[ "BSD-2-Clause" ]
permissive
philippbruhin/django-translated-fields
bc816729663e06404ae482af5106f052b3d58bf4
3d6176645dfdbcda39fc854d5ec42203a0b42fca
refs/heads/master
2020-05-18T03:27:57.081049
2019-02-19T12:32:55
2019-02-19T12:32:55
184,145,714
0
0
null
2019-04-29T21:19:42
2019-04-29T21:19:41
null
UTF-8
Python
false
false
217
py
VERSION = (0, 7, 3) __version__ = ".".join(map(str, VERSION)) try: from .admin import * # noqa from .fields import * # noqa from .utils import * # noqa except ImportError: # pragma: no cover pass
[ "mk@feinheit.ch" ]
mk@feinheit.ch
83ec6c8f7aa67678cbcd202f3ffa556409e93e7d
9a72da59caf9d829cb3981a4b5e8bcde640732be
/releng_tool/engine/autotools/install.py
8ed4af5ad15d4bb5345287d8bb6950e4a99859a9
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
releng-tool/releng-tool
0fa8c44b864ee10e7a8c8eeb54af7acc62b3cd56
d05eb2153c72e9bd82c5fdddd5eb41d5316592d6
refs/heads/main
2023-08-22T09:52:12.341285
2023-08-06T21:27:18
2023-08-06T21:27:18
155,482,664
12
2
BSD-2-Clause
2023-01-03T06:21:00
2018-10-31T01:54:18
Python
UTF-8
Python
false
false
1,694
py
# -*- coding: utf-8 -*- # Copyright releng-tool # SPDX-License-Identifier: BSD-2-Clause from releng_tool.tool.make import MAKE from releng_tool.util.io import prepare_arguments from releng_tool.util.io import prepare_definitions from releng_tool.util.log import err from releng_tool.util.string import expand def inst...
[ "james.d.knight@live.com" ]
james.d.knight@live.com
e39fed9ab8e922d75ca053af84ceaf1a3992a08a
464b867648ffa7afb444d9754cf4d1ffbf25d2bf
/Learn_Python/002_scientific_computing/03_numpy_pandas_comparison/np/003.py
7fa37085210bfbed2105ac772ace854636edee84
[]
no_license
pks3kor/For_GitHub
b619fd7f19baa96d7232a0d35ce48c1355360547
bafb2c15ff81fd2f3f90a57ac7b3467c86ac6a2e
refs/heads/master
2021-01-25T09:20:52.146374
2018-06-10T14:44:04
2018-06-10T14:44:04
93,822,114
2
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
import numpy as np # Create an vector and reshape tmp = np.array([1,2,3,4,5,6]).reshape(2,3) print tmp print "*"*100 # Create an array and reshape tmp = np.array([[1,2,3],[4,5,6]]).reshape(6,1) # 6-row and 1-col print tmp print "*"*100 # Create an array and reshape tmp = np.array([[1,2,3],[4,5,6]]) print tmp print "...
[ "pks3kor@gmail.com" ]
pks3kor@gmail.com
521529d9f66422972dd33737736135d465f0eac1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03573/s301218577.py
db8bbf33b5e3c89bbf369c229fd3ff795b2555b4
[]
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
78
py
l=list(map(int,input().split()));print(list(x for x in l if l.count(x)==1)[0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e5a2c86dcfccb73cbd306ed15e073d86507b13e2
65670a54fb031088e4a99f95a0b3b9d4dc3c2f61
/urls/migrations/0003_auto_20151105_1511.py
6f8bbb6c9ee1111d167633952152c1323aa62217
[]
no_license
Toofifty/matho.me
3b3a0dc03fd6642635619b6fb0b0edff3ecae190
6a07cb88b4999411ccbce9f72d44de1e0a6c916b
refs/heads/master
2016-08-12T11:08:42.537456
2016-02-05T06:44:11
2016-02-05T06:44:11
51,130,632
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('urls', '0002_urlrecord_user'), ] operations = [ migrations.AlterField( model_na...
[ "amatho250@gmail.com" ]
amatho250@gmail.com
92ab361ef815fe2a67b37a77530ca8466aa1c223
2be8a9f06d4003d12c0a727fb83d284c31a53050
/HoudiniHotBox17.0/lib/PolySplit_SM.py
dbd6ea26ee65b7c47c92bd6a9c49953e2bc48164
[]
no_license
LiuLiangFx/SmileHotBOX
7551d9578b2defe612950cb8e3bffdb85024cede
8bd8eac69b3c2a9824b9aa4488ca77789bea8d85
refs/heads/master
2021-01-01T10:22:26.959731
2020-02-09T03:16:32
2020-02-09T03:16:32
239,236,801
0
0
null
2020-02-09T02:47:18
2020-02-09T02:47:18
null
UTF-8
Python
false
false
153
py
import hou kwargs ={} class PolySplit_SM: def run(self): import soptoolutils soptoolutils.customStateTool(kwargs, 'polysplit::2.0')
[ "change52092@yahoo.com" ]
change52092@yahoo.com
3e22ad8dbbc18781505d8e642dace67904130a92
b113fbe97f5a7e8c7bbcb73ec709519da7f1ad53
/kellee/main.py
d260001b33a705c26724ad3d37b00adae4b49191
[]
no_license
kwarwp/sandra
92c79425dd58c39324f12a1ed74aee2bc977abff
8b41713d69ec8809b312644f84145bac0225745b
refs/heads/master
2022-05-27T16:42:24.079018
2022-05-25T02:54:52
2022-05-25T02:54:52
131,900,889
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
# ludimila rodrigues from-spy.vitolino.main importi cena,elemento,texto elemento_miraculous ="https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwijj7G4ocbgAhUsHbkGHUPBBp8QjRx6BAgBEAU&url=https%3A%2F%2Fwww.pinterest.com%2Fpin%2F395331673533068033%2F&psig=AOvVaw1CNXp8iYb7Pc_igM7955Vi&ust=1550612...
[ "38007182+kwarwp@users.noreply.github.com" ]
38007182+kwarwp@users.noreply.github.com
3d413618e5968ff4074f19578d8b568a9a09999d
1f4204f903657884d9cccfd44b19ecb531b59ded
/test_settings/273_1_10_2000.py
88ee1222a6be60c9de64c54d1cb7e58e03727467
[]
no_license
fmcc/StylometricAnalyser
795a8e4abe264ee18ab3bcb34bd128bcd06ac5ca
e86305a63c95d8b533cab4a3be0010c2fee0ff14
refs/heads/master
2021-01-23T08:38:44.961082
2013-08-31T20:23:36
2013-08-31T20:23:36
11,097,508
3
1
null
null
null
null
UTF-8
Python
false
false
542
py
import os DB_PATH = os.getcwd() + '/database/greek_texts.db' LOGGING = True DB_LOGGING = False NGRAM_WORDS = False NGRAM_LENGTHS = { 'MIN': 1, 'MAX': 10 } NO_SPACES = True RESTRICT_VECTOR_SPACE = 2000 # If selected, texts will be divided according to their original top-level divisions (Books et...
[ "finlaymccourt@gmail.com" ]
finlaymccourt@gmail.com
482a1a74e884e053506c86483a033e079a99218d
f2e8afed063bef9292a2ac8d3a84943ebcef9b11
/06_reCRUD/todos/views.py
c4e2e918324be772238b0fd269a48024f4174b82
[]
no_license
seunggue/django
e8a4f376bda247b8780d4f838365b7621cde6101
377b73652b723be1d7bd83abd9bc9e14203799be
refs/heads/master
2022-12-15T13:59:31.218873
2019-10-28T08:42:33
2019-10-28T08:42:33
200,620,105
0
0
null
2022-12-08T06:14:59
2019-08-05T08:59:41
Python
UTF-8
Python
false
false
1,187
py
from django.shortcuts import render, redirect from .models import Todo # Create your views here. def index(request): todos = Todo.objects.all() context = { 'todos': todos, } return render(request, 'index.html', context) def new(request): return render(request, 'new.html') def create(requ...
[ "seungue1687@gmail.com" ]
seungue1687@gmail.com
ce6faafb6f140b36cf1580ea050ee0094f58c3bf
5c2aec4770a819a811dcee72133de7d018be00c0
/valohai_yaml/objs/parameter.py
412e3fe8e92df0b15bee01c05c4afeb173128d01
[ "MIT" ]
permissive
saiprashanths/valohai-yaml
5a9f375287420f80313a9fd486e2d94ce279ca2d
a15701a49c1fffedc30f939c231be4936d3ab790
refs/heads/master
2020-03-09T12:14:12.154586
2018-04-04T14:50:18
2018-04-04T14:50:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,560
py
import six from valohai_yaml.validation import ValidationErrors from .base import _SimpleObject class Parameter(_SimpleObject): def __init__( self, name, type='string', optional=False, min=None, max=None, description=None, default=None, pa...
[ "akx@iki.fi" ]
akx@iki.fi
b3798049e6c75374d536ff536dc61b318353630b
2cfa0cd5e016d81ecdd3f643e95bd6382652f1ab
/toTheMoon/leetcode_070_ClimbingStairs.py
2e0bafbd6917e198321b7d0b2ac456aab664b204
[ "MIT" ]
permissive
jercas/offer66-leetcode-newcode
b863871840875cc38e0310b1e20ccaa4040ea134
a2e5256f27dbfb23fc34119fc857cd9b00e28c03
refs/heads/master
2020-05-07T17:43:43.326326
2019-10-24T12:52:32
2019-10-24T12:52:32
180,738,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
# -*- coding: utf-8 -*- """ Created on Sun Apr 14 16:02:55 2019 @author: jercas """ """ leetcode-70: 爬楼梯 EASY ‘动态规划’ 假设你正在爬楼梯。需要 n 阶你才能到达楼顶。 每次你可以爬 1 或 2 个台阶。你有多少种不同的方法可以爬到楼顶呢? 注意:给定 n 是一个正整数。 """ class Solution: def climbStairs1(self, n: int) -> int: """ :type prices: List[int] :rtype: int 时间复杂度:O(n), 一...
[ "jercas0618@163.com" ]
jercas0618@163.com
ec66607a78ef9e53c710ba53ce5bcc86afcbc123
eaf827b3b9a8e0d7f76eac2cea13b1337abf167f
/dbe/dbe/settings.py
0445c113e9bc451c6617bcde80c1c77c9a1254ed
[]
no_license
gzpgg3x/L2ghtBird_Blog
8248b0578a5f14fc93fdb896fe24fcfded48bad9
17e4b92caa013b87f489602928945c8b360b9ecb
refs/heads/master
2021-01-25T07:40:10.767578
2013-04-23T19:44:14
2013-04-23T19:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,405
py
# Django settings for dbe project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME':...
[ "gzpgg3x@yahoo.com" ]
gzpgg3x@yahoo.com
96386efc38a0b219966182c5a468ce75c26d88c2
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/compiler/tests/matrix_band_part_test.py
4178d5c1c96554cfa90d4f6d21c0f91976f92f9f
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
5,053
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
01fc4973ed9c0e6ad87a17aba01e183ebed9a564
cb35df97989fcc46831a8adb8de3434b94fd2ecd
/projects/nerf/nerf/nerf_renderer.py
d72089734d580ebf7fa00dd1c7cbd9faba85bf35
[ "CC-BY-4.0", "MIT", "BSD-3-Clause" ]
permissive
facebookresearch/pytorch3d
6d93b28c0f36a4b7efa0a8143726200c252d3502
a3d99cab6bf5eb69be8d5eb48895da6edd859565
refs/heads/main
2023-09-01T16:26:58.756831
2023-08-26T20:55:56
2023-08-26T20:55:56
217,433,767
7,964
1,342
NOASSERTION
2023-08-25T10:00:26
2019-10-25T02:23:45
Python
UTF-8
Python
false
false
18,307
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from typing import List, Optional, Tuple import torch from pytorch3d.renderer import ImplicitRenderer, ray_bun...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1dabf0976b4d6c943a11b37de8124b318722d5f1
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Rhino/Geometry/__init___parts/RTree.py
51c8942c933bacdfbe0978ac125bf6005a46399f
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
4,851
py
class RTree(object,IDisposable): """ Represents a spatial search structure based on implementations of the R-tree algorithm by Toni Gutman. RTree() """ def Clear(self): """ Clear(self: RTree) Removes all elements. """ pass @staticmethod def CreateMeshFaceTree(mesh): """ CreateMeshFaceTre...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
f563f05b5ae62dda0bc12381aea67e1a465379df
0d86675d6f69836db9a7cd5244ebc7307d7f997a
/open_spiel/python/examples/skat_dqn.py
479ec34c7038544c2fbe3592d3aa01274bd37ef5
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
sarahperrin/open_spiel
a7a4ecde1156b458d144989d3d7ef1814577741b
6f3551fd990053cf2287b380fb9ad0b2a2607c18
refs/heads/master
2021-12-25T04:12:19.270095
2021-12-09T16:17:43
2021-12-09T16:17:43
235,547,820
3
0
Apache-2.0
2020-01-22T10:17:41
2020-01-22T10:17:40
null
UTF-8
Python
false
false
5,688
py
# Copyright 2019 DeepMind Technologies Ltd. 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 appl...
[ "DeepMind technologies Ltd" ]
DeepMind technologies Ltd
f5485e4df5b11719a6bbe9d530000dc684175be9
460bfd29174e157c07d7eff50982a7b1e80f077b
/train_extractor.py
52e17f22b69f1f133355e11145f3752a11a93b22
[]
no_license
TrellixVulnTeam/imagenet-build_RZ1F
52ade3ec39c3a0d7d3a43b13d0deab131f5909ec
fe0f9a4ff78dbd3931a8a97e3cb922d9ae9a22cc
refs/heads/main
2023-06-11T10:10:49.983799
2021-07-05T09:43:11
2021-07-05T09:43:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#This assumes that you have extracted the imagenet tar files which has about 1000 tar files that needs to be extracted. #This script iterates through the directory and extracts the dataset import tarfile import os #Set this to the location of training directory TRAIN_DIR='/home/jupyter/imagenet/train' def extract_tar...
[ "noreply@github.com" ]
TrellixVulnTeam.noreply@github.com
2cd039ca67f785889debe97ec84c6cb8e6c29bca
ca2c52752b7bbcabaf3d3d5405be7a87d3e1b1ae
/examples/locations/make_enum.py
28cad643d12d3d52558e2f5af6d07c274f392b6c
[ "BSD-2-Clause" ]
permissive
indera/vivo-pump
16a16c3bb8916e89d8a3a1fc1ecc599b187dbb5f
66bd4d61bdc3292dcb60bfb596fac379351d18bb
refs/heads/master
2020-12-28T21:05:23.033139
2015-11-24T14:58:49
2015-11-24T14:58:49
35,620,275
1
1
null
2015-05-14T15:47:42
2015-05-14T15:47:42
Python
UTF-8
Python
false
false
780
py
#!/usr/bin/env/python """ make_enum.py -- make enumerations for locations """ __author__ = "Michael Conlon" __copyright__ = "Copyright 2015 (c) Michael Conlon" __license__ = "BSD 3-Clause license" __version__ = "0.1.2" from datetime import datetime from vivopump import get_parms, create_enum def main(): ""...
[ "mconlon@ufl.edu" ]
mconlon@ufl.edu
40afe7338a9960780c71e8e36541c6a16a444694
8e1668e35a8df9968ab14d16db089b51dbe6dd51
/python/algorithms/strings/single_row_keyword.py
cf78a4f0baece2b6d22cb5a3e317a32709a2d7cc
[]
no_license
Chalmiller/competitive_programming
f1ec0184d1ff247201522ab90ca8e66b3f326afc
b437080d1ba977c023baf08b7dc5c3946784e183
refs/heads/master
2021-03-24T05:11:59.383916
2020-08-24T22:07:41
2020-08-24T22:07:41
247,519,998
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# 1165: Single RowKeyboard from typing import * class Solution: def calculateTime(self, keyboard: str, word: str) -> int: move_sum = 0 for index, let in enumerate(word): if move_sum == 0: move_sum += keyboard.index(let) else: move_sum += abs(k...
[ "chalmiller1@gmail.com" ]
chalmiller1@gmail.com
c3d77ac34d4c34e5965193b5f9914e48c36c3b54
292b85af22221eb7b632814d7842655b82ed284f
/py_files/0082_tsp_nurse.py
629a3f7154aa7974430a17c8481ba78bdd947916
[]
no_license
tospolkaw/CloanGit_PythonHealthcare
ac138279cd4a97a968def7e975030a985fee048b
b16f2b16f161cd68e0532e7a3381518e0d565bdf
refs/heads/master
2020-07-20T18:25:16.755793
2019-08-15T20:53:18
2019-08-15T20:53:18
206,691,291
1
0
null
null
null
null
UTF-8
Python
false
false
6,893
py
import numpy as np import matplotlib.pyplot as plt from matplotlib.path import Path import matplotlib.patches as patches import math def main_code(): """Main program code called""" # Load points to visit with co-ordinates points_to_visit, xCo, yCo, number_of_points_to_visit = load_points() # Cre...
[ "michael.allen1966@gmail.com" ]
michael.allen1966@gmail.com
c8156e53562ffc979eaedd9fb84d897cfc642124
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/docutils-0.14/test/test_parsers/test_rst/test_doctest_blocks.py
dabc2ec1e94bd95322fcb461c142d072431c8aed
[ "GPL-1.0-or-later", "GPL-3.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-permissive", "Python-2.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
1,388
py
#! /usr/bin/env python # $Id: test_doctest_blocks.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Tests for states.py. """ from __init__ import DocutilsTestSupport def suite(): s = DocutilsTestSupport.ParserTe...
[ "ranade@cloudera.com" ]
ranade@cloudera.com
0f5cb7679701213202e3b09cad0c98b2fb6588df
0fa82ccc0b93944c4cbb8255834b019cf16d128d
/ms/combination.py
bee8d792d50ceb20e39ed8c814861abdf1c62bba
[]
no_license
Akashdeepsingh1/project
6ad477088a3cae2d7eea818a7bd50a2495ce3ba8
bdebc6271b39d7260f6ab5bca37ab4036400258f
refs/heads/master
2022-12-13T23:09:35.782820
2020-08-27T14:22:37
2020-08-27T14:22:37
279,722,741
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
def solution(words): final_list = [] def backtracking(words, l , r): if l==r: final_list.append(words[:]) print(''.join(words[:])) for i in range(l,r): words[i], words[l] = words[l], words[i] backtracking(words,l+1,r) words[i], words[...
[ "Akashdeep_S@Dell.com" ]
Akashdeep_S@Dell.com
d37710cacd50df45fe6f6b4970588ab7ec3d6a83
f754271a40293bc567c1a23fda7e9061a365da25
/libs/graph/specific/trading_graphs.py
f7e44537b91fa76a68e3c5e01a56df45301d46e2
[]
no_license
realentertain/Trapyng
95f6a5d7e4a793bc1083256d388ce368d100849f
3fd590dfce9ba70ba352422ff11dd13b0faf751b
refs/heads/master
2020-03-22T02:47:22.824287
2018-02-21T23:35:28
2018-02-21T23:35:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,373
py
##!/usr/bin/env python #import matplotlib.pyplot as plt #from matplotlib.dates import DateFormatter, WeekdayLocator,\ # DayLocator, MONDAY #from matplotlib.finance import quotes_historical_yahoo_ohlc, candlestick_ohlc # # ## (Year, month, day) tuples suffice as args for quotes_historical_yahoo #date1 = (2004, 2, 1...
[ "manuwhs@bitbucket.org" ]
manuwhs@bitbucket.org
2694731345368bb30d5ca8d231fcd17c7d5686cd
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/ShapeNet_JointEmbedding/JointEmbedding-master/src/experiments/ExactMatchChairsDataset/code/rename.py
6d71aa6d66b135308b899f0b42df2e3a11e365bf
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
697
py
import os import Image all_modelIds = [x.rstrip() for x in open('filelist_chair_6777.txt','r')] modelIds = [x.rstrip() for x in open('filelist_exactmatch_chair_105.txt','r')] for modelId in modelIds: assert(modelId in all_modelIds) for modelId in modelIds: img_names = os.listdir('exactmatch_selected_cropped/'+mod...
[ "659338505@qq.com" ]
659338505@qq.com
7a86f4d86a8364e2de7c2f46bc40e153de36e000
8afb5afd38548c631f6f9536846039ef6cb297b9
/_REPO/MICROSOFT/computervision-recipes/utils_cv/action_recognition/model.py
fc3ea509bce15e7967ba4043e235c34bb0631526
[ "MIT", "BSD-3-Clause", "LGPL-2.1-or-later", "Apache-2.0" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
23,578
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from collections import OrderedDict import os import warnings import numpy as np from typing import Any, Callable, Dict, List, Tuple, Union from pathlib import Path import matplotlib.pyplot as plt import torch.cuda as cuda fr...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
b475e2b37067d5ac7c97406fdac2673f2f47dca9
3711580539720a6e05634e17ef33a181eff806b1
/behaviour/views.py
b24792e6e3768039ecf2b001687de61f219895fe
[]
no_license
SK-Subroto/Parents-Portal
e2b040a5ba0d7e53556ea597f46d9b869b99a72e
7cb5a1f07e3f3e9052e2e5e580166c9b0639a851
refs/heads/master
2020-06-15T17:09:08.476519
2019-10-25T21:33:04
2019-10-25T21:33:04
195,349,299
0
1
null
2019-07-22T19:39:49
2019-07-05T06:13:00
JavaScript
UTF-8
Python
false
false
7,292
py
from django.shortcuts import render, get_object_or_404,HttpResponse, redirect from django.views.generic import CreateView, ListView, TemplateView, UpdateView, DeleteView # from django.contrib.auth.models import User from users.models import User from django.urls import reverse from django.contrib.auth.mixins import Log...
[ "subroto35-1734@diu.edu.bd" ]
subroto35-1734@diu.edu.bd
0236190bfd1abe620e78fb77a5ab50ba3d555f16
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_22205.py
f3cd27f777f180e03f9587e58bbdd509bcb049d8
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,839
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
91126eccaca5d326f6778899e79f65f05db6cbbc
1e2c92fd8bf80ad537183870e140b778f4c4033f
/kewpie/drizzle_tests/randgen_basic/subquery_test.py
6bfa81e4dde98c66923999d68eceed1aa20e3be7
[ "BSD-3-Clause" ]
permissive
jonzobrist/Percona-Server-5.1
a53ff052cac38ed03cd8dd7d79258b47e2577208
f45f52484870646500b0260dc1237cfd07a5acde
refs/heads/master
2016-09-06T10:56:33.997409
2013-01-03T18:29:28
2013-01-03T18:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
#! /usr/bin/env python # -*- mode: python; indent-tabs-mode: nil; -*- # vim:expandtab:shiftwidth=2:tabstop=2:smarttab: # # Copyright (C) 2011 Patrick Crews # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Softwar...
[ "ci@inthinc.com" ]
ci@inthinc.com
54d1a88f18135b1da293bbe58c6cc9a9239cf26a
50ca6df816baeeb59e2cfb0320d46d621df165d3
/Python/201910/191023/2019102300.py
e1ac64c71e50594ecb55ee256002ef458265961a
[]
no_license
96no3/PythonStudy
6606342e788c63ca35e2a6cf21a432fc5274a343
2bf21081dd4803c7f4702b6cfccbaca3d2aa6f7b
refs/heads/master
2020-08-07T04:19:35.341606
2019-12-18T05:35:10
2019-12-18T05:35:10
213,292,674
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
def show99(start=1,end=9): def join_delim(delim,strs): return delim + delim.join(strs) + delim def join_with_newline(delim,strs): d = delim + "\n" return d + d.join(s + "\n" for s in strs) + delim r= range(start,end+1) table99 = [[i*j for j in r] for i in r] widths = [len(st...
[ "44739759+96no3@users.noreply.github.com" ]
44739759+96no3@users.noreply.github.com
58ff9d01c00072366e236b1b62a0a556de6bf45c
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/rope-0.9.4-py27_1/lib/python2.7/site-packages/rope/base/oi/soa.py
38cd5c9dd8e7328c6d66a88c9602e4b1c600183d
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
5,618
py
import rope.base.ast import rope.base.oi.soi import rope.base.pynames from rope.base import pyobjects, evaluate, astutils, arguments def analyze_module(pycore, pymodule, should_analyze, search_subscopes, followed_calls): """Analyze `pymodule` for static object inference Analyzes scopes for...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
19b989d41a2f3253b03e341ad3547c4ef1e72402
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/300/82543/submittedfiles/testes.py
fd19495996844a9bb0abb5495ee42ba90acccaf5
[]
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
187
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n = int(input('Digite o valor de n: ')) i = 1 cont = 0 while i<n: if i%2==1: cont = cont + 1 i = i + 1 print(cont)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3336731b6d09092b748d332bad19252e789ce209
12f83344cdfe561db39ad9106dbf263ccd919f7e
/Projects/miami_metro/debra/migrations/0114_auto__add_field_brands_num_items_shelved__add_field_brands_num_items_h.py
b4785e023bba34ebaf24401021d1c957cd42d352
[]
no_license
TopWebGhost/Angular-Influencer
ebcd28f83a77a92d240c41f11d82927b98bcea9e
2f15c4ddd8bbb112c407d222ae48746b626c674f
refs/heads/master
2021-01-19T10:45:47.039673
2016-12-05T01:59:26
2016-12-05T01:59:26
82,214,998
1
0
null
null
null
null
UTF-8
Python
false
false
55,649
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Brands.num_items_shelved' db.add_column('debra_brands', 'num_items_shelved', self.gf('djan...
[ "ivanfridrich1981129@yandex.com" ]
ivanfridrich1981129@yandex.com
09fefa58d74cde30d5891c520da6dc334346188b
52b5773617a1b972a905de4d692540d26ff74926
/.history/powerTwo_20200609230304.py
3ea355a1119cf71893c5cf511dc1b8b79dd8021e
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
# so a number is a power two if it is # continually divisble by two def power(nums): while(nums>2): nums = nums/2 if nums %2 != 0: p return False return True
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
7d65a61ed4561450a9f67ae9bb19b0c106f73965
b9bc60cca34c6b4f8a750af6062f357f18dfcae2
/tensorflow/python/kernel_tests/sparse_reshape_op_test.py
f6dee8a3fb2ea190fb29bc470c4b3e1aa8020dd9
[ "Apache-2.0" ]
permissive
lidenghui1110/tensorflow-0.12.0-fpga
7c96753aafab5fe79d5d0c500a0bae1251a3d21b
f536d3d0b91f7f07f8e4a3978d362cd21bad832c
refs/heads/master
2022-11-20T11:42:11.461490
2017-07-28T09:28:37
2017-07-28T09:28:37
98,633,565
3
2
Apache-2.0
2022-11-15T05:22:07
2017-07-28T09:29:01
C++
UTF-8
Python
false
false
10,801
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "lidenghui@hadoop67.localdomain" ]
lidenghui@hadoop67.localdomain
f573fd15d0145e63035f4b3c5d9d9a586484c728
a86ca34e23afaf67fdf858df9e47847606b23e0c
/lib/temboo/Library/Stripe/RetrieveCharge.py
6a30bc0e24c044b0c621b3846583d918c4c5c662
[]
no_license
miriammelnick/dont-get-mugged
6026ad93c910baaecbc3f5477629b0322e116fa8
1613ee636c027ccc49c3f84a5f186e27de7f0f9d
refs/heads/master
2021-01-13T02:18:39.599323
2012-08-12T23:25:47
2012-08-12T23:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,471
py
############################################################################### # # RetrieveCharge # Retrieves the details of an existing charge. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from temboo.core....
[ "miriam@famulus" ]
miriam@famulus
9e1a4029467a5da3e15a013567490225996fe3cd
93f46eca2edccd59d8d8ea7547cc07a8854a47b1
/abraham_challenge_question_two.py
6d93afaa765fb1a21a32006944cc587ad993351a
[]
no_license
ogol254/Andela-challenge
7ecd79dced741ce1c76d236c9be2f928c679fd0e
631160ebe026f80de6f7a493d792abef6d13cf79
refs/heads/master
2020-03-12T05:57:18.787085
2018-04-21T13:22:12
2018-04-21T13:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
#ABRAHAM MCOGOL #254790463533 #abramogol@gmail.com #Please run everything in terminal for the sake of my return values # moving zeros to the end def zeros_to_end(): lst = [1,2,4,0,3,0,4,3] evaluated = [i for i in lst if i!=0] zeros = [n for n in lst if n==0] for i in zeros: evaluated.append(i) ...
[ "abramogol@gmail.com" ]
abramogol@gmail.com
cbf2621371d8afdff695bad7375744defd3b9468
48da47cbcec9f1424ff103ced345f8f923349a6a
/code_snippets/ch2_pylint_invokations/ex1_errors.py
a95bba618300048d1cd3c53e0c47bb890e3799c8
[]
no_license
rogalski/pygda-pylint-talk
bfdefe3f903d4899e7a5dd80b662ef8a3056e384
0c031285522b0e5a702361b537484acd6f432e0d
refs/heads/master
2021-01-20T06:44:38.243612
2017-07-31T08:32:11
2017-07-31T08:32:11
89,923,368
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# pylint: disable=R,C import sys def mispellings(): my_str = "Hello, PyGDA!" print(my_st) # misspelled variable sys.stout.write(my_str) # misspelled attribute def bad_except_order(): try: return mispellings() except ValueError: pass except UnicodeError: # never reac...
[ "rogalski.91@gmail.com" ]
rogalski.91@gmail.com
cd5c791ee5bb0657233237d86490742895eb906b
56d6257e932e1397ab03b1e7ccc6231378665b04
/MPD218/__init__.py
7f61e17665adbecb40e3c3c79f392df0ef3a03f6
[]
no_license
gluon/AbletonLive10.1_MIDIRemoteScripts
e6c8dc4956cff9630aaa36f3667994387ad1d0cf
2468b51eba7e5082b06f9e381b3e72027c5f272c
refs/heads/master
2023-01-10T18:37:46.504180
2022-12-23T09:21:48
2022-12-23T09:21:48
213,423,555
205
59
null
2021-02-12T16:15:01
2019-10-07T15:44:52
Python
UTF-8
Python
false
false
628
py
#Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/MPD218/__init__.py from __future__ import absolute_import, print_function, unicode_literals import _Framework.Capabilities as caps from .MPD218 import MPD218 def get_capabilities(): return {caps....
[ "julien@julienbayle.net" ]
julien@julienbayle.net
9ba190f23491a0faeb8a9dd426962e3eb9cb46b8
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/ir/inference/test_trt_convert_gelu.py
aa64994ad4cf7790cf03e04eafb64b7f8468d372
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
6,180
py
# Copyright (c) 2021 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
4426ef7a4c07d2263342463da4b6bfe8669150ed
bcd6de19314b6c895caa8697261a1324afed30ab
/Pandas/PandasDataframe/Exercise44.py
04030251e14e60a746ce550416826e194223b1a5
[]
no_license
ErenBtrk/Python-Fundamentals
2f84c146a1123692181b27aa87547dc13b6b3ad4
97cb5fea19c9f17af14c36a646c044ce22cfb058
refs/heads/master
2023-08-29T10:38:11.652809
2021-10-30T13:22:27
2021-10-30T13:22:27
398,052,285
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
''' 44. Write a Pandas program to create a DataFrame from a Numpy array and specify the index column and column headers. ''' import pandas as pd import numpy as np dtype = [('Column1','int32'), ('Column2','float32'), ('Column3','float32')] values = np.zeros(15, dtype=dtype) index = ['Index'+str(i) for i in range(1, ...
[ "=" ]
=
11edd70da9a6107b2a38bcf13a89fa07d5c1f2a9
8a82a83655f118208692e55d7804d9fa480ad4b6
/book/apress/Beginning.Python.Visualization.Crafting.Visual.Transformation.Scripts/0053-7-src-Ch07/src/fractal_collage.py
c36e161e94175a45e16274a7958407401a2cb555
[]
no_license
xenron/sandbox-da-python
0814159da9a91923e4b66c5e40057e381f765e96
ab8f1c0d57fdc6006355f613012b84165068c315
refs/heads/master
2020-04-12T05:41:33.182110
2016-12-14T22:57:33
2016-12-14T22:57:33
60,324,979
5
2
null
null
null
null
UTF-8
Python
false
false
1,910
py
from PIL import Image from cmath import * # creates a z**4+1=0 fractal using the Newton-Raphson # root finding method delta = 0.000001 # convergence criteria res = 200 # image size iterations = range(1,10) # number of iterations for iters in iterations: # create an image to draw on, paint...
[ "xenron@hotmail.com" ]
xenron@hotmail.com
83e80fd698640f4c9e03092ca916a6e136b021a9
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/allergies/7ae95200eb134537b3d8f73ced68074b.py
d6fa164f2117331f42e00197f109aca774c93787
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
479
py
allergens = ["eggs", "peanuts", "shellfish", "strawberries", "tomatoes", "chocolate", "pollen", "cats" ] class Allergies: def __init__(self, score): bin_score = bin(score)[:1:-1] # convert to binary, reverse order self._list = [ allergens[idx] for idx,v in enumerate(bin_score) if v == '1' and idx ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a9b9d5d7153912193e15cefa8efcf46b38aba014
91414fbf5ca6d54d1892b0bd6e8b271fb6dd3a97
/django/scripts/get_shopify_id.py
ab30cc8ea6d78ffabd9d85f474664899b42df9a9
[]
no_license
nathananderson03/liveeverfit
7b231756d6f5559f5169647fa5d7239a2f9863ee
c6809cca334ed3f692904988b4ab940c68eba775
refs/heads/master
2020-12-25T15:17:21.721548
2016-07-20T17:28:28
2016-07-20T17:28:28
63,797,276
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from shopify_app import shopify_call users = User.objects.all() for user in users: try: print user.email user.shopify_id = shopify_call.requests_search(user.email)['id'] user.save() print user.shopify_id except: print 'doesnt exists'
[ "nathan.andersson03@gmail.com" ]
nathan.andersson03@gmail.com
7219a3713c3bedf2ab2ef6a14509df96bbdfdd7a
793e41c7a15c873ee449ced530cbf839dd3356b3
/month01/day15/my_project02/skill_system/__init__.py
58bcf06a5f69556b0fac84629b05ce0d6dc9b5aa
[]
no_license
guhaigg/python
684a3667fef6abcd4ab2617228e9b2786131f4b1
9346a02a8788b6cd07fa3e947809aab7c89570dc
refs/heads/main
2023-08-06T16:46:26.525425
2021-09-18T01:11:23
2021-09-18T02:17:48
407,390,972
1
0
null
null
null
null
UTF-8
Python
false
false
41
py
from skill_system.skill_manager import A
[ "1779564752@qq.com" ]
1779564752@qq.com
616a1166b1f3c84f08193b520a4d5a8b9d46647d
518da1fd169595190bb07d9d178ddec5e8a5d2da
/websauna/system/__init__.py
98d76da0a5a905bcf9d20f72674e330877ca6e26
[ "MIT", "Apache-2.0" ]
permissive
maskid40/websauna
17f09611ed22cecd001b91069b4341c1af15c956
9be40e0becce90d0b6b5b8eb13bf15e2afcfcb8d
refs/heads/master
2021-01-19T13:23:42.338786
2017-08-10T13:01:13
2017-08-10T13:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,248
py
"""Websauna framework initialization routine.""" # # NOTE: Be careful about not to import anything in this file head that might cause the import of `transaction` package. If Websauna is used with gevent async event loop and gevent monkey patches, the patching order would become incorrect. This is because importlib and...
[ "mikko@opensourcehacker.com" ]
mikko@opensourcehacker.com
7e461e8fca9f93070788a512ccd9ac93900e368a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_enduing.py
14f042d0a18cb7dfb1aa63d070024b62d47c43f8
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
#calss header class _ENDUING(): def __init__(self,): self.name = "ENDUING" self.definitions = endue self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['endue']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
80d1d4025cb2b6446edb966c38811b7518f37cb0
fd250b34a87c3e026bb7e0b3747ffc52f28048cd
/udp_tas.py
72e298c49b6db42b13ffe052da7ad2a326debc7c
[ "MIT" ]
permissive
juhnowski/DataStreams
968a6d7554ce93402a84fd1a846afa535c70239f
a1206558c8c8918dcca464f55b1fef14d483d6a2
refs/heads/master
2021-01-01T18:55:10.132336
2014-12-27T20:21:46
2014-12-27T20:21:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,985
py
__author__ = '7634' import socket import sys from math import sin,cos,sqrt,pi from time import clock,sleep # Create a socket (SOCK_STREAM means a TCP socket) class ModelTas: """ Tas model """ def __init__(self): self.n = 50.0 self.t = 0.0 self.x_max = 1280.0 ...
[ "info@phreebie.net" ]
info@phreebie.net
0e7962c685c668709269e174b4ad6142dcf1d4c2
5b04b47b9498890ef95fa6e78fe7135c570a3f43
/puf_tax_analysis.py
28a492feafcd915fc1ffb7a59a131e864901aa46
[]
no_license
donboyd5/puf_analysis_frozen
8ca3ea7e899a7db60fe7b3ed681cbd80ef0f59e8
3aa2b1cb680aad16987ed776bcfdc878418e7a64
refs/heads/main
2023-04-12T12:55:48.495699
2020-12-16T09:48:39
2020-12-16T09:48:39
361,897,853
0
0
null
null
null
null
UTF-8
Python
false
false
24,612
py
# -*- coding: utf-8 -*- """ Created on Mon Nov 23 06:57:20 2020 Notes ----- The most efficient way to specify current-law and reform Calculator objects is as follows: pol = Policy() rec = Records() calc1 = Calculator(policy=pol, records=rec) # current-law pol.implem...
[ "donboyd5@gmail.com" ]
donboyd5@gmail.com
fcf9d58184752a2df4f04db014123389266ae84c
30cffb7452220c2ac2961dd2e0f42e3b359a59c0
/simscale_sdk/models/manual_reference_length.py
8ff5b68082b09c8f9f01204c235ad8e6003b9dc7
[ "MIT" ]
permissive
vpurcarea/simscale-python-sdk
0bf892d8824f8d4599caa0f345d5ba28e038f5eb
6f2d12b2d21142bd854042c0fb402c2c797629e4
refs/heads/master
2023-03-14T04:31:06.226337
2021-03-03T16:20:01
2021-03-03T16:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,054
py
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class ManualReferenceLength(object): """NOTE: This class is auto gene...
[ "simscale" ]
simscale
630999cb246915614035ca2e49230fa4b43faf73
9d6e747ed7204555199ece2033decff978295a09
/Baekjoon/silver/큐.py
15bf4754834ee01c70dfeda70f0a9ba4e5226d13
[]
no_license
leejaeyeong/Algorithm
5b47ed9aa241990945cbf2451afe7f084984ced5
72072d1e0c28e72075fc00db9239a4bd444b68b6
refs/heads/master
2021-08-08T10:57:07.345943
2021-07-11T15:01:59
2021-07-11T15:01:59
238,156,464
5
0
null
null
null
null
UTF-8
Python
false
false
860
py
import collections import sys queue=collections.deque() n=int(input()) queue_length=0 # len(queue) 보다 push할때 +1, pop할때 -1로 queue size 갱신 for i in range(n): command=sys.stdin.readline().split() # python 입력은 sys로 if command[0]=='push': queue.append(command[1]) queue_length+=1 elif command[0]==...
[ "dldustn14@gmail.com" ]
dldustn14@gmail.com
f44b94fa76ef01f7d0f7941bbc4c4cd4a728c9b7
eccbb87eefe632a1aa4eafb1e5581420ccf2224a
/July-kaggle/house-prices/xgboost_house_price.py
349265591c7e97c993242013e5047e45eee674f5
[]
no_license
jianjunyue/python-learn-ml
4191fc675d79830308fd06a62f16a23295a48d32
195df28b0b8b8b7dc78c57dd1a6a4505e48e499f
refs/heads/master
2018-11-09T15:31:50.360084
2018-08-25T07:47:20
2018-08-25T07:47:20
102,184,768
2
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
import numpy as np import pandas as pd from sklearn.linear_model import Ridge from sklearn.model_selection import cross_val_score import matplotlib.pyplot as plt from xgboost import XGBRegressor from sklearn.preprocessing import Imputer # from lightgbm import LGBMRegressor from sklearn.model_selection import train_te...
[ "409494312@qq.com" ]
409494312@qq.com
2b80a907721753391b15357a2f02a0fbe7227f44
adea9fc9697f5201f4cb215571025b0493e96b25
/napalm_yang/models/openconfig/network_instances/network_instance/inter_instance_policies/apply_policy/config/__init__.py
0dc5dbdbd6b1614bcd2a1d9de8e1772b3ba8601c
[ "Apache-2.0" ]
permissive
andyjsharp/napalm-yang
d8a8b51896ef7c6490f011fe265db46f63f54248
ef80ebbfb50e188f09486380c88b058db673c896
refs/heads/develop
2021-09-09T02:09:36.151629
2018-03-08T22:44:04
2018-03-08T22:44:04
114,273,455
0
0
null
2018-03-08T22:44:05
2017-12-14T16:33:35
Python
UTF-8
Python
false
false
32,146
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.y...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
18492911f93df79b2baf97a5304c7a1edc30b94b
88b667f671beb285e567f7648e92247d644a3abd
/sharpy/managers/data_manager.py
dc958e6ae259d656cd92d314dc61cfc1fc0a5996
[ "MIT" ]
permissive
august-k/sharpy-paul
e7fbd6ac181d7e81e1f60eb34016063227590a64
6f4462208842db6dd32b30d5c1ebf90e79e975a0
refs/heads/master
2022-07-17T15:40:31.603339
2021-02-26T02:56:34
2021-02-26T02:56:34
257,317,358
1
1
MIT
2022-06-22T02:07:06
2020-04-20T15:05:13
Python
UTF-8
Python
false
false
5,776
py
import json import os from typing import Optional from uuid import uuid4 import jsonpickle from datetime import datetime from pathlib import Path from sc2 import Result, Tuple from sharpy.managers.build_detector import EnemyRushBuild, EnemyMacroBuild from sharpy.managers.manager_base import ManagerBase from sharpy.t...
[ "august.kaplan@gmail.com" ]
august.kaplan@gmail.com
4e0370aa58c33ac994ae601079fb2586930d2339
4a270db52265325897f8851781cf23048f3ec10a
/st2client/tests/unit/test_client_liveaction.py
af57bd0c6bc3382f54bcdd9fb4bf8191b7d81789
[ "Apache-2.0" ]
permissive
ekhavana/st2
e1c7f6d03dac253412cb26a391c3778c300ff983
2b47b0e317a2dfd7d92d63ec6dcf706493148890
refs/heads/master
2021-06-19T05:29:03.798681
2017-06-09T21:19:13
2017-06-09T21:19:13
93,899,869
0
0
Apache-2.0
2021-01-03T10:32:24
2017-06-09T22:00:10
Python
UTF-8
Python
false
false
3,660
py
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
[ "m4d.coder@gmail.com" ]
m4d.coder@gmail.com
39131aef77bcce7bbdcbb368c72a64d02c9ec7fe
cbe264842df4eae3569b28ed4aae9489014ed23c
/books/PythonAutomate/file_organize/extracting_zip_files.py
3b5113d4deedde8a611148ad95082b5e6cea0fa1
[ "MIT" ]
permissive
zeroam/TIL
31e176c2f4c3e1ef72b1155353690cc2f7160f96
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
refs/heads/master
2021-07-23T01:43:34.135033
2021-07-10T06:47:17
2021-07-10T06:47:17
167,952,375
1
0
null
null
null
null
UTF-8
Python
false
false
317
py
import os import zipfile from pathlib import Path p = Path('.') example_zip = zipfile.ZipFile(p / 'example.zip') # 전부 압축 풀기 example_zip.extractall('example') # 단일 파일 풀기 example_zip.extract('spam.txt') example_zip.extract('cats/catnames.txt', 'new_folder') example_zip.close()
[ "imdff0803@gmail.com" ]
imdff0803@gmail.com
b50c94b7d1e01bf634e156588cfb6c4e34797949
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/12513020.py
a6271f5a9ccb7201f04a5cb94942fe612da607a2
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/12513020.py generated: Fri, 27 Mar 2015 15:48:12 # # Event Type: 12513020 # # ASCII decay Descriptor: [B+ -> mu+ mu- mu+ nu_mu]cc # from Configurables import Generation Generation().EventType = 12513020 Generation().SampleGenerationTool = "SignalRepeatedH...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
2010501e9da41ce8d10be951aa18f769e4106609
bae75bf1de75fb1b76e19b0d32c778e566de570a
/smodels-database/13TeV/CMS/CMS-SUS-19-006/validation/T2ttoff_2EqMassAx_EqMassBy.py
b263cebd7854da49abcaae6b61db6cc5b4809019
[]
no_license
andlessa/RDM
78ae5cbadda1875c24e1bb726096b05c61627249
ac6b242871894fee492e089d378806c2c2e7aad8
refs/heads/master
2023-08-16T00:47:14.415434
2021-09-21T20:54:25
2021-09-21T20:54:25
228,639,778
0
0
null
null
null
null
UTF-8
Python
false
false
211,956
py
validationData = [{'slhafile': 'T2ttoff_112_12_112_12.slha', 'error': 'no results', 'axes': {'x': 112.0, 'y': 12.0}}, {'slhafile': 'T2ttoff_113_11_113_11.slha', 'error': 'no results', 'axes': {'x': 113.0, 'y': 11.0}}, {'slhafile': 'T2ttoff_115_9_115_9.slha', 'error': 'no results', 'axes': {'x': 115.0, 'y': 9.0}}, {'slh...
[ "wolfgang.waltenberger@gmail.com" ]
wolfgang.waltenberger@gmail.com
847524ee6c8a34ddf6d52b7bc231dfce8000642f
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/perso_arabic_norm/analyze_nmt_metrics.py
bfd1c79e61277fe6239b6bd90df3a2b0436efc6d
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
5,376
py
# coding=utf-8 # Copyright 2022 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
1020451a4611f32f958bed3fdc2c4494bea086c0
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/JzXH3QnwHmpptadQr_3.py
c3c42e37c6ebece9bc6a7bcb8de29f4060a32b30
[]
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
43
py
bitwise_logical_negation=lambda x:1>>x*x
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
aafe8cf6c0c84f59e30161d162e0308db2be19ef
ae90864ffefaae65da9c6e1809bf27208a9d34fc
/EXAMPLES/API/ask_manual_human_question_simple_single_sensor.py
cdc6b5c3201af85fc7b929e2a73049630c9c8bab
[]
no_license
apDataGuy/pytan
6374f128c4b4070d041d8bfb05c22e2434ff4a68
24c2907e28b3a93f3a96aa4cb42933ed2c6f83bf
refs/heads/master
2021-01-16T22:10:31.715453
2015-03-26T17:32:11
2015-03-26T17:32:11
38,935,203
0
0
null
2015-07-11T17:56:56
2015-07-11T17:56:56
null
UTF-8
Python
false
false
2,720
py
""" Ask a manual question using human strings by referencing the name of a single sensor in a string. No sensor filters, sensor parameters, sensor filter options, question filters, or question options supplied. """ import os import sys sys.dont_write_bytecode = True # Determine our script name, script dir my_file =...
[ "jim.olsen@tanium.com" ]
jim.olsen@tanium.com
c3819d7ee7f94b035f0b5f5690fb8ce47828f069
f305ba8f0eedc8f8d3e58caca9b1bcff4af9a01a
/aiogram/bot/api.py
1498f2a3cc87a0816a8c7930242dc7d861a1301d
[ "MIT" ]
permissive
mahenzon/aiogram
1ed235e15903211ffd8c2a7d9ded981a3f5a2c7a
f4a8923c80afb1f17651893890ff4190e7eb65c6
refs/heads/master
2022-01-21T13:21:43.397771
2018-01-13T17:42:18
2018-01-13T17:42:18
118,588,741
2
0
null
null
null
null
UTF-8
Python
false
false
8,984
py
import asyncio import logging import os from http import HTTPStatus import aiohttp from .. import types from ..utils import exceptions from ..utils import json from ..utils.helper import Helper, HelperMode, Item # Main aiogram logger log = logging.getLogger('aiogram') # API Url's API_URL = "https://api.telegram.org...
[ "jroot.junior@gmail.com" ]
jroot.junior@gmail.com
9fcd9d382afb06cf55e0e9ceba3a2a89c9d1aa70
8504bae114664f66562a5f12db106d831a4d2618
/jobplus/config.py
b03b439474f3327cbfd4ce6590e47fc7a5cb15ae
[]
no_license
LouPlus/jobplus12-1
8fe5d1b6b5947dda0d2dc7369a405758b1112171
d9db6216d41dbb6af46192ed7e79c4bebf4ac681
refs/heads/master
2023-05-14T22:52:05.303646
2019-07-05T00:54:22
2019-07-05T00:54:22
192,873,594
0
2
null
2023-05-01T20:58:00
2019-06-20T07:43:15
Python
UTF-8
Python
false
false
313
py
class BaseConfig: SECRET_KEY = 'a random secret key' SQLALCHEMY_TRACK_MODIFICATIONS = False class DevConfig(BaseConfig): SQLALCHEMY_DATABASE_URI = 'mysql://root@127.0.0.1:3306/jobplus' class ProductConfig(BaseConfig): pass config = { 'dev': DevConfig(), 'product': ProductConfig() }
[ "34020606+LouPlus@users.noreply.github.com" ]
34020606+LouPlus@users.noreply.github.com
b03fb24a2b8d75844d1fd1f8c6e0206908a8d36d
7ec91f8b8342b1ab62d315424f43588a13dda307
/solu/222. Count Complete Tree Nodes.py
41f6f5c7adbb9927c45a9b4d490c13ffc9cf3b06
[]
no_license
coolmich/py-leetcode
bbd001a1cb41b13cd0515d1b764ec327dfaaa03c
3129438b032d3aeb87c6ac5c4733df0ebc1272ba
refs/heads/master
2020-05-21T08:44:46.564419
2016-09-15T15:45:08
2016-09-15T15:45:08
60,917,444
3
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def countNodes(self, root): """ :type root: TreeNode :rtype: int """ # def help(n...
[ "coolmich00@gmail.com" ]
coolmich00@gmail.com
8c50cd396c2f83b648fd83059e790ce55558a1a6
e2a373a7e02a74e9f575367e106c45abfbafdbe7
/backend/chat/admin.py
b7b988ccb5bf5f5e3a5be601f3048bbe7f6173e9
[]
no_license
crowdbotics-apps/chatem-21142
7dd666b894d98fd058ebd264a9c6e91180a6e3c5
6dc8f0dc5b839619095e23cce0641fc9d213c0a9
refs/heads/master
2022-12-22T21:13:12.364607
2020-10-06T01:33:03
2020-10-06T01:33:03
301,581,831
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from django.contrib import admin from .models import ( Message, ThreadMember, MessageAction, ThreadAction, ForwardedMessage, Thread, ) admin.site.register(Thread) admin.site.register(MessageAction) admin.site.register(Message) admin.site.register(ForwardedMessage) admin.site.register(ThreadMemb...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
241cf1934d8dc58aabeee1b79d206566f1d4a983
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/connectparticipant_write_1/participant_disconnect.py
6c28e89805843084fed9103df89149654906a43e
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/connectparticipant/disconnect-participant.html i...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
4400dae743156d8e14605534afcee9cab7982ada
9dc4b2d69ad10fd67d3c9a7845b1e7bc4707bc63
/callbacks/ensemble.py
1f750340da8f78dd1ab218c13db11d9af0a44b56
[]
no_license
sangensong/ccks2019_el
ff7b0dd1e1bd0eb7640484613b912c0974f9cc70
969aebf74bb3a7690548caa0206f594cbadc086e
refs/heads/master
2020-11-27T18:36:28.707813
2019-09-07T03:12:38
2019-09-07T03:12:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,926
py
# -*- coding: utf-8 -*- """ @author: alexyang @contact: alex.yang0326@gmail.com @file: ensemble.py @time: 2019/4/13 20:39 @desc: ensemble during training process """ import os import math import keras.backend as K from keras.callbacks import Callback class SWA(Callback): """ This callback implements a ...
[ "2041462766@qq.com" ]
2041462766@qq.com
8b4c85ae28e65e87b7c5507eb185472032f2915d
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Fisher/trend_MovingMedian/cycle_0/ar_/test_artificial_1024_Fisher_MovingMedian_0__20.py
de361bfd4bf37e061e83ce50aad94a7d2d03bafe
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
265
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "MovingMedian", cycle_length = 0, transform = "Fisher", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
2ea6267b9fa913b95bec571ea38f689c48e4b034
672ea11a7dee763fc8c37bc82bb609b8de19344c
/src/main/one.py
0b5509dbf181d875e012e8fe5d78e1cafa4f20ac
[]
no_license
qlong8807/python3-lesson
294ede6a0de1d89f513209b00504e8f0c9bb2607
ac4e745a8e8d0ab665e2ff676ddcd0ab190fed06
refs/heads/master
2020-04-08T15:18:44.564272
2020-02-18T08:33:30
2020-02-18T08:33:30
159,472,820
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
#!/usr/bin/env python3 # _*_ coding:utf-8 _*_ '当前文档注释' __author__ = 'Jans' print('one 开始执行') print(__name__) def func(): print('one func() 被执行了') if __name__ == "__main__": print("one.py 直接运行自己") else: print("one.py 是导入后被执行的")
[ "qlong8807@hotmail.com" ]
qlong8807@hotmail.com
85bc7f20f669f381c326254a07b0717af836cc55
baf5af1d86c6792f419d6f7cb8d5dbd899ceb78a
/lib/node_modules/@stdlib/math/base/special/hypot/binding.gyp
7a772af31cbe7759d4ac864969ee2a3ea260784a
[ "BSD-3-Clause", "MIT", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mqzry/stdlib
fd5c2e2f51896460e49c0d39dbf51587714e95e3
8770dc9884f9109ad6454e7c721b90717a4ed04c
refs/heads/develop
2021-05-07T08:13:13.443985
2017-11-02T05:26:38
2017-11-02T05:26:38
109,251,091
0
0
null
2017-11-02T10:36:55
2017-11-02T10:36:55
null
UTF-8
Python
false
false
3,940
gyp
# A `.gyp` file for building a Node.js native add-on. # # [1]: https://gyp.gsrc.io/docs/InputFormatReference.md # [2]: https://gyp.gsrc.io/docs/UserDocumentation.md { # List of files to include in this file: 'includes': [ './include.gypi', ], # Define variables to be used throughout the configuration for a...
[ "kgryte@gmail.com" ]
kgryte@gmail.com
60fade27e1d78b2842fca8c9b45939e11d1b3017
5569677c81dd60b29c832e209519ea5aa101b1ee
/tests/manage.py
7441842752bab3ffa049242c4e8199789b0a10a9
[]
no_license
elastic-coders/djasync
d6b7f1797363d8876d81bc378f5653f3da1669c5
460eecddae9ca564d181e39a4fb4ab4f3a29cb33
refs/heads/master
2021-01-10T19:02:18.685126
2014-05-28T16:40:03
2014-05-28T16:40:03
20,265,015
1
2
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zootest.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "marco@credra.com" ]
marco@credra.com
c96b8e42a7ce48a8d7139e87dddbbc281c5ca690
52a9464fcb0064748485a9558651f1058ad524b3
/detection/core/bbox/transforms.py
e4a8d99a4ff1ef05a460662ede2aa37705565c43
[ "MIT" ]
permissive
WengSongxiu/Faster-RCNN-TensorFlow-2
2b51e7544324b20db7954e770698318f86de694a
c908dc7a99981b3fab8062af44838943ab5b82d9
refs/heads/master
2023-04-15T09:13:12.340482
2021-04-18T07:39:35
2021-04-18T07:39:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,806
py
from detection.utils.misc import * def bbox2delta(box, gt_box, target_means, target_stds): """Compute refinement needed to transform box to gt_box. Args --- box: [..., (y1, x1, y2, x2)] gt_box: [..., (y1, x1, y2, x2)] target_means: [4] target_stds: [4] """ target...
[ "zxryhjp@yahoo.co.jp" ]
zxryhjp@yahoo.co.jp
87b503cf62dcf47f318950856ae060ee4bf62909
c96be87901ba476b9f78bc9fafe11c4b1ea3f68a
/dashboard/dashboard/pinpoint/models/quest/find_isolate_test.py
10c12325f0789ff152b38f64353e5d573433afd1
[ "BSD-3-Clause" ]
permissive
blezek/catapult
b2be407309065b49bd29db74f0bebd29c8ae1dbb
b8e60f98418e290f4d1c41278166dd5c057ba0e1
refs/heads/master
2020-03-27T18:53:58.457744
2018-08-30T20:54:36
2018-08-31T21:25:56
146,952,194
0
0
BSD-3-Clause
2018-08-31T23:46:39
2018-08-31T23:46:39
null
UTF-8
Python
false
false
8,270
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest import mock from dashboard.pinpoint.models import isolate from dashboard.pinpoint.models.change import change_test from dashboard.pinpoint....
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
36e1727fcfd81076ccfca7d805524918f63e9071
062dbbed1d3c030bba07cfa8ba8c4484c985e03b
/sixtyThird.py
aed7e874cce81aed2c3d7735ed897f8e8348b82d
[]
no_license
alindsharmasimply/Python_Practice_2
10ed81ba3ee1962d952127d1e1e74b48161d9422
f7ae50f0b209856ba89fd3ea660297534a1b53bb
refs/heads/master
2021-05-04T18:40:11.903533
2017-12-31T16:16:30
2017-12-31T16:16:30
105,950,199
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
def split_and_join(line): line = line.split() line = '-'.join(line) print line split_and_join(raw_input())
[ "alindsharmasimply@gmail.com" ]
alindsharmasimply@gmail.com
aa41d3a14099e24497891064c779d963ed3b180e
29345337bf86edc938f3b5652702d551bfc3f11a
/python/src/main/python/pyalink/alink/tests/examples/from_docs/test_columnstotriplestreamop.py
585a1037296eecb5211c65788d3577b6f47f733a
[ "Apache-2.0" ]
permissive
vacaly/Alink
32b71ac4572ae3509d343e3d1ff31a4da2321b6d
edb543ee05260a1dd314b11384d918fa1622d9c1
refs/heads/master
2023-07-21T03:29:07.612507
2023-07-12T12:41:31
2023-07-12T12:41:31
283,079,072
0
0
Apache-2.0
2020-07-28T02:46:14
2020-07-28T02:46:13
null
UTF-8
Python
false
false
878
py
import unittest from pyalink.alink import * import numpy as np import pandas as pd class TestColumnsToTripleStreamOp(unittest.TestCase): def test_columnstotriplestreamop(self): df = pd.DataFrame([ ['1', '{"f0":"1.0","f1":"2.0"}', '$3$0:1.0 1:2.0', 'f0:1.0,f1:2.0', '1.0,2.0', 1.0, 2.0], ...
[ "shaomeng.wang.w@gmail.com" ]
shaomeng.wang.w@gmail.com
6e740e44da118fa8be82312af5eefd9a92f3a5e0
2d24c495ba7318c639043095b6bdf4707be29f7e
/samsara/models/vehicle_stats_decorations.py
548a3aa10fabede3857b0d76abb7c34a1ab90cc8
[]
no_license
samsarahq/samsara-python
e032d72b041f45a142566d7d9756c28e6acb24bd
59704b2e2c8af94a069a512b0bc0db7494c8c10d
refs/heads/master
2021-12-11T08:21:57.218305
2021-11-29T19:13:47
2021-11-29T19:13:47
66,108,617
13
7
null
null
null
null
UTF-8
Python
false
false
31,377
py
# coding: utf-8 """ Samsara API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 2020-06-15 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six...
[ "ci@samsara.com" ]
ci@samsara.com
6a18f0eedcf7bc0638779477caca2c98f67bbaaf
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-imm/aliyunsdkimm/request/v20170906/GetDocIndexRequest.py
28fcd62f89831542e51b4f3de274dcb6ed3dee57
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com