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
5a8e8d819963505695e442f8feb3dc849404db3d
f03bd5bd7873c5cc33b4ef5199f219539f3a340e
/CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/plotting/maps.py
34c95944a5b48c35565bf382c7f5185c18db72ec
[ "GPL-1.0-or-later", "AGPL-3.0-only", "AGPL-3.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-philippe-de-muyter", "MIT" ]
permissive
Stargrazer82301/CAAPR
5f8a7033b16792f23abd5d07021b53b9228a5db4
62b2339beb2eb956565e1605d44d92f934361ad7
refs/heads/master
2022-08-29T02:53:33.658022
2022-08-05T19:06:46
2022-08-05T19:06:46
49,977,601
8
1
MIT
2022-08-05T19:06:47
2016-01-19T19:32:42
Python
UTF-8
Python
false
false
3,449
py
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
[ "cjrc88@gmail.com" ]
cjrc88@gmail.com
c2aa9abcfa5c036633a093ef2a54e4933f52f65f
d820c8efb25c9adb77015650a0f7dc6f1e983bfe
/abc/abc050_c.py
2ee42d95bfc181d741d4eb9244b9dd97dde8f042
[]
no_license
toshikish/atcoder
73fdaa2310f23f846279f9f7466bdb969448371f
33676630d6820dd92ccf0931425b8906b065bedd
refs/heads/master
2022-05-16T20:00:52.665762
2022-04-02T11:55:44
2022-04-02T11:55:44
173,099,510
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
from collections import defaultdict N = int(input()) A = list(map(int, input().split())) c = defaultdict(int) for a in A: c[a] += 1 if N % 2 == 0: probable = True for i in range(1, N, 2): if c[i] != 2: probable = False ans = 2 ** (N // 2) % (10 ** 9 + 7) if probable else 0 else: ...
[ "toshiki@nanshika.com" ]
toshiki@nanshika.com
372c60c9ffa1d43f6ea24aa8501c2db618e5bbce
f3e51466d00510f1dae58f1cb87dd53244ce4e70
/LeetCodes/272. Closest Binary Search Tree Value II.py
d1d13fab5f033ce4abb1ae9ab45dffa36d528771
[]
no_license
chutianwen/LeetCodes
40d18e7aa270f8235342f0485bfda2bd1ed960e1
11d6bf2ba7b50c07e048df37c4e05c8f46b92241
refs/heads/master
2022-08-27T10:28:16.594258
2022-07-24T21:23:56
2022-07-24T21:23:56
96,836,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,395
py
''' 272. Closest Binary Search Tree Value II Hard 277 13 Favorite Share Given a non-empty binary search tree and a target value, find k values in the BST that are closest to the target. Note: Given target value is a floating point. You may assume k is always valid, that is: k ≤ total nodes. You are guaranteed to ...
[ "tianwen.chu@fedcentric.com" ]
tianwen.chu@fedcentric.com
269c20a755b2e945ab30e91074fb5b1c3c6610fc
c380976b7c59dadaccabacf6b541124c967d2b5a
/.history/src/data/data_20191019130008.py
488e9d3809c5c14aace59c9e423def076851d17e
[ "MIT" ]
permissive
bkraft4257/kaggle_titanic
b83603563b4a3c995b631e8142fe72e1730a0e2e
f29ea1773773109a867278c001dbd21a9f7b21dd
refs/heads/master
2020-08-17T12:45:28.653402
2019-11-15T16:20:04
2019-11-15T16:20:04
215,667,760
0
0
null
null
null
null
UTF-8
Python
false
false
4,144
py
import pandas as pd from typing import Union from pathlib import Path from nameparser import HumanName class ExtractData: def __init__(self, filename: Union[str, Path], drop_columns=None): # """Extract Training Data from file or Path # Arguments: # filename {[str]} -- Filename of CSV...
[ "bob.kraft@infiniteleap.net" ]
bob.kraft@infiniteleap.net
2b3a6a3b8a0cd3fafbbbf5f6845e94e7ea145772
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba2526.pngMap.py
dbdb9cdfd109add3c261a76f235b40924fc08b33
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba2526.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000', '0000100000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
30e15a1b111b3db9ba288c9d3dc8e0e6c1a8ff63
077c91b9d5cb1a6a724da47067483c622ce64be6
/load_balancer_fuzzer_mcs/intermcs_19_/interactive_replay_config.py
c579a012fb2bdbbe402547c7e4eedc9f0915ee81
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import InteractiveReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_...
[ "jefflai2@gmail.com" ]
jefflai2@gmail.com
85696669f20f3e9e72ae887dfea4980d60f2d30c
cf7c928d6066da1ce15d2793dcf04315dda9b9ed
/Jungol/Lv1_LCoder_Python/pyc0_리스트3/Main_JO_924_리스트3_자가진단4.py
5d2a061396cfe3ecaa9addc21c493d77e9562c33
[]
no_license
refresh6724/APS
a261b3da8f53de7ff5ed687f21bb1392046c98e5
945e0af114033d05d571011e9dbf18f2e9375166
refs/heads/master
2022-02-01T23:31:42.679631
2021-12-31T14:16:04
2021-12-31T14:16:04
251,617,280
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# 100 이하의 자연수를 입력받아 # 첫 번째 항은 100으로 두 번째 항은 입력받은 수로 초기화하고 # 다음 항부터는 전전항에서 전항을 뺀 수로 채워나가는 수열을 작성하여 # 그 수가 음수가 나올 때까지 출력하는 프로그램을 작성하시오. a = 100 b = int(input()) list = [a, b] c = a - b while c >= 0: list.append(c) a = b b = c c = a - b list.append(c) print(*list, sep=" ")
[ "refresh6724@gmail.com" ]
refresh6724@gmail.com
c4a06e2b61bcf307acb87e92eaa2c9ff5afa4e5a
ed12e1905d71e2ff8ff01f39e8d2ebd2e8ccda1f
/Chapter 18/spiralDraw.py
7f3bdce70ef5205cb0a9f9c14537bcdd93946f70
[]
no_license
afettouhi/AutomatetheBoringStuffwithPython-py38
ac18c28a78c0fe9b4b3afd900f668a50a92203db
f8cfc1761257983280039246d3fa3ebe65ec84cb
refs/heads/master
2022-12-01T00:44:09.828472
2020-08-01T04:47:46
2020-08-01T04:47:46
281,289,442
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
import pyautogui import time print('5 second til it starts') pyautogui.LOG_SCREENSHOTS = True pyautogui.LOG_SCREENSHOTS_LIMIT = 100 time.sleep(5) pyautogui.click() # click to put drawing program in focus distance = 300 shrink = 20 while distance > 0: pyautogui.dragRel(distance, 0, duration=0.1) # move right ...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
36106fd4f837ef5a89f665a1d2bd3c2438f6df1f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_nighties.py
f7282804ffcdbc15e6ef297e404c1b07eea351a2
[ "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
226
py
#calss header class _NIGHTIES(): def __init__(self,): self.name = "NIGHTIES" self.definitions = nightie self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['nightie']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
57e2a50254badcb57543d4facb1a0485fdcb2a11
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/googlecloudsdk/generated_clients/apis/tpu/v1beta1/resources.py
a1b11eb5bd917f4daa240b150019a41f2041e4d1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
1,722
py
# -*- coding: utf-8 -*- # # Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
ca76d2d1c807f66ca7556dc77a4ddb73eab2cd23
f8360e6eef89f9b78365a73e7abacf87db1d880a
/models/hospitality/ambulance.py
bdf8c525a7757a874f200ac727dccadb8dc04407
[]
no_license
Trilokan/sivappu
022c6b5997213db8c8994429bf5e482f42b8464d
110c95851a970f051a50bed6ee72be542ca91efe
refs/heads/master
2020-05-04T20:44:42.555829
2019-04-29T12:34:08
2019-04-29T12:34:08
179,449,651
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
py
# -*- coding: utf-8 -*- from odoo import models, fields, api from datetime import datetime PROGRESS_INFO = [("draft", "Draft"), ("confirmed", "Confirmed"), ("driver_intimated", "Driver to Intimated"), ("done", "Done"), ("cancel", "Cancel")] CANCEL_IN...
[ "ram@hk.com" ]
ram@hk.com
e76e790450bcd46e5b5dcd70d7a0b61000286552
4b7e282fe480415f5d52c0fc0429f144156190fe
/examples/campaign_management/validate_text_ad.py
c417044271af2550cbaf807dc27cd05064965c41
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
4,625
py
#!/usr/bin/env python # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "noreply@github.com" ]
Z2Xsoft.noreply@github.com
0fba4f05eb71350e2e99e4e969652cb301f906c5
ae002b7c03eacb4081c9234fa07c5201ec703941
/tasklock/tests.py
c58ea9334ed9a1e9d4effe8b6fd9aa83638aeaf1
[]
no_license
zbyte64/django-tasklock
53ea4ab4454bcece54ec1835166fb2bb5998c7ae
75f848fde78f488457be54304027f82d12f48c25
refs/heads/master
2021-01-18T17:25:24.749657
2011-10-15T05:09:15
2011-10-15T05:09:15
2,580,617
1
0
null
null
null
null
UTF-8
Python
false
false
412
py
from django.test import TestCase from models import TaskLock import tasks class TaskLockTest(TestCase): def testPing(self): task_lock = TaskLock.objects.schedule_task('thekey', 'celery.ping') self.assertEqual(TaskLock.objects.all().count(), 1) task_lock.ready() def testCleanup(self...
[ "jasonk@cukerinteractive.com" ]
jasonk@cukerinteractive.com
1c7dc028dc165fd5bc7b49df4beb82a4a9f66004
9ecfa2dfa544dc77c8adc92f414f506846823e23
/scripts/roficalc/roficalc
350faf4ad31b9a22935d23c2cee0fb2102ef0e4a
[ "MIT" ]
permissive
grimpy/rofi-scripts
164eab6de2174acf33eec2d2410fd6d43df22900
5cee30e9b0ad5fddcd0c5cea12ce6eb14bd86bdc
refs/heads/master
2021-04-06T11:11:13.828931
2018-03-10T20:22:04
2018-03-10T20:22:04
124,650,044
1
0
null
null
null
null
UTF-8
Python
false
false
539
#!/usr/bin/env python3 import sys from sys import argv # allow users to use math function like sqrt sin and so on easily from math import * if len(argv) == 1: # scriptname print("Enter math expression to evaluate") else: expr = ("".join(argv[1:])).strip() try: result = str(eval(expr)) except: ...
[ "deboeck.jo@gmail.com" ]
deboeck.jo@gmail.com
b299b2e5a9e1daa9ba514883cc28f69082507351
694559acfaf08a145989ca1a4fa95e6a94b2abaa
/流量分析与处理/Scapy/TCP_Rest.py
04d38e6aa528bb611c60cd4c57eb8c75fef718d1
[]
no_license
Founderbn2014/Python_Network
64d01e19aca84986eca48b85a222c62a338e1dff
e89bbbd54bdee5b13c9ffca8d2ea128ee4ecac6a
refs/heads/master
2023-05-19T06:46:52.559372
2020-11-23T14:01:16
2020-11-23T14:01:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,500
py
#!/usr/bin/env python3 # -*- encoding = utf-8 -*- # 该代码由本人学习时编写,仅供自娱自乐! # 本人QQ:1945962391 # 欢迎留言讨论,共同学习进步! from scapy.all import * from Tools.Scapy_IFACE import scapy_iface import logging logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # 清除报错 def tcp_monitor_callback(pkt): # 本代码主要任务: 对传入的数据包,发送TCP Re...
[ "15148365776@163.com" ]
15148365776@163.com
91fd6ec6a59587d512d5275184795b8b3b4b41a5
3f969c2c4ebdf3a9226ae624a84292ba63210147
/dataAnalysis/calGoalInferAndPlot.py
c2426a723d7884988f562ceb16cccb5b9c0b3ac1
[]
no_license
chengshaozhe/commitmentObstacles
390cb7f4c3b7ea79fdb17c1b20ff656bdba6c009
f77f9de11c7798984cc07f5cf34c81f0ffba410d
refs/heads/master
2021-06-25T13:52:08.880415
2021-06-22T06:31:07
2021-06-22T06:31:07
233,626,897
0
0
null
null
null
null
UTF-8
Python
false
false
16,473
py
import pandas as pd import os import sys sys.path.append(os.path.join(os.path.join(os.path.dirname(__file__), '..'))) import glob DIRNAME = os.path.dirname(__file__) import matplotlib.pyplot as plt # plt.style.use('ggplot') import numpy as np import pickle from scipy.stats import ttest_ind, entropy, mannwhitneyu, ranks...
[ "shaozhecheng@outlook.com" ]
shaozhecheng@outlook.com
aa8e32b68deea78cb2fba849a9d3e19ff132cca3
e45cf89071f4c625fca52dd8e549d243a79da6a5
/tests/multithread/ctrl_thread_0.py
3ceaa17030418dd537e258633a5afa07dca9300a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
EddieBurning/PyCoRAM
cb78f6cebcca001a5a8ed3e868d87b11cdfb7af4
8eaa9a2d417a57611d78058b732ebcd86ee09759
refs/heads/master
2020-03-07T18:06:13.877471
2016-11-21T09:03:46
2016-11-21T09:03:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
def ctrl_thread(): print("thread 0") ram = CoramMemory(0, 32, 128) channel = CoramChannel(0, 32) addr = 0 sum = 0 for i in range(4): ram.write(0, addr, 128) channel.write(addr) sum = channel.read() addr += 512 print('thread0 sum=', sum) ctrl_thread()
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
82a1e89adc5a862bba569ee647f117869509b4ea
82f3c228f1b913ed4f37d6ab651eb2c0a9ce7221
/Configurations/UserConfigs/2018_MCOnly/EWKZNuNuConfig.py
a9b99a9014f6db73b747f831a3d4fc3d243ac35d
[]
no_license
samhiggie/ReweightScheme
7f388f639d02753e19eca30c8b0920ca6addb6e0
b2e4449e8d77d244048047a79e7dd8df6b2e35f7
refs/heads/master
2020-09-11T19:35:53.094218
2019-11-12T22:42:32
2019-11-12T22:42:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
import ROOT from Configurations.Weights.CrossSectionWeightingModule.CrossSectionWeight import crossSectionWeight from Configurations.Weights.MuIDIsoReweightingModule.MuIDIsoWeight import muIDIsoWeight_2018 as muIDIsoWeight from Configurations.Weights.MuTrackingWeightModule.MuTrackingWeight import muTrackingWeight_201...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
af8953741c5d9fb31421e8d4289a5a1c21177f09
45758bad12c09ead188ee1cb7f121dab4dd5eeca
/sandbox/urls.py
8eb5830f3f7270427a8d6f13d16ec3d99fe39019
[ "MIT" ]
permissive
sveetch/django-icomoon
35dd55962a4423b8930dbcb884ed2a8aa2d4ef67
327b70e5509811db7b46f2baa8d301a49e626167
refs/heads/master
2021-12-28T21:55:05.563118
2021-12-22T00:17:53
2021-12-22T00:17:53
42,755,203
3
0
null
null
null
null
UTF-8
Python
false
false
602
py
""" Sandbox URL Configuration """ from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.urls import include, path urlpatterns = [ path("admin/", admin.site.urls), path('', inc...
[ "sveetch@gmail.com" ]
sveetch@gmail.com
9113b4f9227eef4b96bbe40c1c53de88cfa930b6
95267d92a6438665cf7848de229bea691d537f81
/EGE_27/dosroc2.py
8c5c6833ef5acd30d1a39dd7040ab57e4f8b5fdc
[ "MIT" ]
permissive
webkadiz/olympiad-problems
2874eb1846c59778e70bcdc9550b3484bc3aa9cc
b3a8a3e83d0930947a89ec42e86e3058f464ea40
refs/heads/master
2022-11-15T23:48:39.854546
2022-11-04T12:55:48
2022-11-04T12:55:48
228,297,097
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
n = int(input()) m1 = m2 = m171 = m172 = 0 L = R = 0 for i in range(n): x = int(input()) if x % 17 == 0 and x % 2 == 0 and x + m2 > L + R: L = x; R = m2 if x % 17 == 0 and x % 2 == 1 and x + m1 > L + R: L = x; R = m1 if x % 2 == 0 and x + m172 > L + R: L = x; R = m172 if x ...
[ "webkadiz@gmail.com" ]
webkadiz@gmail.com
544506ebe00126ce63deae7f44ed381b16b2cf45
a06e021bf984c2ff8d1236fb4ff14f99c46fb538
/venv/lib/python3.5/io.py
c337c43b1f600ff920e4c96a51869e4055062100
[ "MIT" ]
permissive
luzfcb/danibraz
c148336d7139664f9e3ac2fe5c1676f82d9bb6af
bb1070fdcd31cf4911956c81c50e792fa43fa373
refs/heads/master
2020-09-14T23:15:51.570941
2017-11-29T19:27:30
2017-11-29T19:27:30
94,474,781
0
0
null
2017-06-15T20:07:41
2017-06-15T20:07:41
null
UTF-8
Python
false
false
56
py
/home/eliaspai/.pyenv/versions/3.5.3/lib/python3.5/io.py
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
14bf2f67d2e6064de9cf34ea6f8fee72bf41afdf
9b5cbd04b771b6fc4c3a6a1715622d7a0d579f0f
/src/app/main.py
6a11dd25c388335e9288137d16e89f922ce7b0a1
[]
no_license
OneTesseractInMultiverse/fuzzy-guacamole
7b091661b09de7859a7620dfb74e9cf371b5e223
141bef131c25684e48670ede76f4404291f42f9a
refs/heads/main
2023-03-09T21:52:44.325106
2021-02-25T02:03:02
2021-02-25T02:03:02
342,083,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
from fastapi import FastAPI from .routers import sample, application from starlette.middleware.cors import CORSMiddleware from .database import SessionLocal, engine from starlette.requests import Request from starlette.responses import Response from . import models models.Base.metadata.create_all(bind=engine) # ---...
[ "pedro@subvertic.com" ]
pedro@subvertic.com
67f7b7355c99f3dcd4073f6246ec09ea455407a3
5b93930ce8280b3cbc7d6b955df0bfc5504ee99c
/nodes/VanderPlas17Python/D_Chapter3/A_Installingand/index.py
5764989f53230bdcbd9f37fd9ad573b50f12c66f
[]
no_license
nimra/module_gen
8749c8d29beb700cac57132232861eba4eb82331
2e0a4452548af4fefd4cb30ab9d08d7662122cf4
refs/heads/master
2022-03-04T09:35:12.443651
2019-10-26T04:40:49
2019-10-26T04:40:49
213,980,247
0
1
null
null
null
null
UTF-8
Python
false
false
5,710
py
# Lawrence McAfee # ~~~~~~~~ import ~~~~~~~~ from modules.node.HierNode import HierNode from modules.node.LeafNode import LeafNode from modules.node.Stage import Stage from modules.node.block.CodeBlock import CodeBlock as cbk from modules.node.block.HierBlock import HierBlock as hbk from modules.node.block.ImageBlock ...
[ "lawrence.mcafee@gmail.com" ]
lawrence.mcafee@gmail.com
c5a37467b8d6e7b6fd1b0eddf40d765701fd7025
10e19b5cfd59208c1b754fea38c34cc1fb14fdbe
/desktop/core/ext-py/Babel-0.9.6/babel/messages/tests/data/project/file1.py
7f592a8354bb01e56e129eb05907aa597c5a3c21
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
sarvex/hue
780d28d032edd810d04e83f588617d1630ec2bef
6e75f0c4da2f3231e19c57bdedd57fb5a935670d
refs/heads/master
2023-08-15T21:39:16.171556
2023-05-01T08:37:43
2023-05-01T08:37:43
32,574,366
0
0
Apache-2.0
2023-09-14T16:55:28
2015-03-20T09:18:18
Python
UTF-8
Python
false
false
207
py
# -*- coding: utf-8 -*- # file1.py for tests from gettext import gettext as _ def foo(): # TRANSLATOR: This will be a translator coment, # that will include several lines print _('bar')
[ "bcwalrus@cloudera.com" ]
bcwalrus@cloudera.com
436fadf058f83c73cbe9654035f8c721ee01dd1e
ee70ae3bc47a885b5c372f3de0077c7f7b61ad41
/application/machinelearning/demo/demo_tree.py
bb45527540f31f4e878927a6c029ca86d486b79a
[]
no_license
plutoese/mars
e2518631c36772812c70af4aa52de10dd5f1d6a7
28f6ded1275e47c83f2f3bad5d0c7063d51c779f
refs/heads/master
2021-01-10T04:37:18.245424
2016-01-27T02:48:25
2016-01-27T02:48:25
47,901,707
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# coding=UTF-8 from sklearn import tree from sklearn.datasets import load_iris from sklearn.externals.six import StringIO from graphviz import Source iris = load_iris() clf = tree.DecisionTreeClassifier() print(iris.data) print(iris.target) clf = clf.fit(iris.data, iris.target) dot_data = StringIO() tree.export_graph...
[ "glen.zhang7@gmail.com" ]
glen.zhang7@gmail.com
c475df4a12601af3051abf2c9415ab99487f6153
2d96050f870d26703d7e1ff8f1c472592c70ecf7
/accounts/models.py
9c1e1d0ee1b76ddb440d56310587d76850cbe521
[]
no_license
Pythonian/tweetme
92b211028fc683f515b98df8a29afe61e25bd9d6
5858b5977ff1bfbf8ee4de03d059f90defa1e3d1
refs/heads/master
2023-08-05T05:28:28.796794
2020-07-03T07:42:02
2020-07-03T07:42:02
276,833,816
0
0
null
2021-09-22T19:21:14
2020-07-03T07:14:34
Python
UTF-8
Python
false
false
2,826
py
from django.conf import settings from django.db import models from django.db.models.signals import post_save from django.urls import reverse_lazy class UserProfileManager(models.Manager): use_for_related_fields = True def all(self): qs = self.get_queryset().all() try: if self.inst...
[ "prontomaster@gmail.com" ]
prontomaster@gmail.com
c5dd090b720a4344c3a53761aba525e6b8b59d02
11eb83864d41f71dabc92fd5fa04cefa158c09ee
/heatpump/ui_helper.py
b42aa6acb5b14b2df2c0631b5a36b4dccc4bce52
[ "Apache-2.0" ]
permissive
alanmitchell/heat-pump-calc
9d6dd5a3288861865d2b20e323da631b56a7bff7
fb0b5bfb4dc84d002b431eac7373d24920f11dc3
refs/heads/master
2023-08-10T12:41:24.400653
2023-07-03T21:49:12
2023-07-03T21:49:12
123,494,123
9
1
Apache-2.0
2023-07-25T18:48:51
2018-03-01T21:24:46
Jupyter Notebook
UTF-8
Python
false
false
14,587
py
"""Functions that create lists of Dash Input and State objects, and convert the values from the components associated with those objects into variables suitable for passing to energy models. Only inputs that are used in the Energy Model are addressed here. """ import numbers import numpy as np from dash.dependencies ...
[ "tabb99@gmail.com" ]
tabb99@gmail.com
c293ce9bd29a97a2c3b61fcadaa79834d734aff1
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/DaVinciDev_v39r1/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingTau23MuLines.py
e41b622cb595dc6fb534a355d58d740cfbacc24d
[]
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
17,410
py
''' Module for construction of tau -->MuMuMu stripping selections and lines Exported symbols (use python help!): - ''' __author__ = ['Jon Harrison', 'Paul Seyfert', 'Marcin Chrzaszcz'] __date__ = '05/05/2015' __version__ = '$Revision: 3.0 $' __all__ = ('Tau23MuLinesConf', 'default_config', ...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
fbf85905651a6049958aa7abf3d844158023081a
2ec97b62d7edf0f2e257622e0027f12bfdb3651a
/custom_components/covid19_nswhealth_tests/sensor.py
72a601647fc62554cd94058c27c79948cacd0602
[ "Unlicense" ]
permissive
Mirec511/HomeAssistantConfig
6837ed67ef73600410b6e07b82ef641930762429
200bca51e91ef3c844f6f2ddc004a7e82da3a04e
refs/heads/master
2023-02-08T00:03:38.825829
2021-01-02T00:42:42
2021-01-02T00:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,094
py
"""Sensor platform for NSW Air Quality""" import datetime import logging from datetime import timedelta import homeassistant.helpers.config_validation as cv import pandas as pd import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import ATTR_ATTRIBUTION, CONF_NA...
[ "thomas@thomasbaxter.info" ]
thomas@thomasbaxter.info
b42d07f5043047e9017805411b5a44416a02059c
115022e4e1e2e78e99a73a87e8172efb16faecd7
/accounts/admin.py
85fa978e83658b9d3797c78642601e6e407a2d7a
[]
no_license
navill/toy_project
a043865c3c40c3ceb3e07c7662347df225f62203
7d2ea837cfc4543d219c2096ab8f156f77d118b7
refs/heads/master
2022-12-11T04:09:39.845515
2020-02-14T02:56:40
2020-02-14T02:56:40
228,669,658
1
0
null
2022-12-08T03:19:23
2019-12-17T17:38:48
Python
UTF-8
Python
false
false
437
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin # from .forms import CustomUserCreationForm, CustomUserChangeForm from .models import User # # class CustomUserAdmin(UserAdmin): # add_form = CustomUserCreationForm # form = CustomUserChangeForm # model = User # list_disp...
[ "blue_jihoon@naver.com" ]
blue_jihoon@naver.com
f70949e09e7699a52a5ae572af19486fb8b2dc86
b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23
/Python/Strings/Alphabet Rangoli/Alphabet_Rangoli.py
26cb874f6a5802822cd69e78986885dcdb2c30df
[]
no_license
rsoemardja/HackerRank
ac257a66c3649534197b223b8ab55011d84fb9e1
97d28d648a85a16fbe6a5d6ae72ff6503a063ffc
refs/heads/master
2022-04-14T22:46:03.412359
2020-04-03T07:44:04
2020-04-03T07:44:04
217,687,370
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
import string size = int(input()) alphabet = string.ascii_lowercase for i in range(size - 1,0, -1): row = ["-"] * (size * 2 - 1) for j in range(0, size - i): row[size - 1 - j] = alphabet[j + i] row[size - 1 + j] = alphabet[j + i] print("-".join(row)) for i in range(0, size): row = ["-...
[ "rsoemardja@gmail.com" ]
rsoemardja@gmail.com
5d796f0381a5ebddca1568879724619b4be56403
573a2fa5094d510a9d44a361366a67efda5a3e8a
/blender/arm/logicnode/variable_scene.py
2aa08fdf4e4328d2cf637bf86b1a6abf32e6ccd9
[ "GPL-2.0-only", "Zlib" ]
permissive
kirumon/armory
ca7126a47172abe676da9e36ff13052a008bc812
4df19ef970ba76d6f99d0b07b44048e2e148e4ff
refs/heads/master
2020-04-19T22:51:41.810157
2019-01-30T16:45:54
2019-01-30T16:45:54
168,481,317
1
0
Zlib
2019-01-31T07:21:29
2019-01-31T07:21:28
null
UTF-8
Python
false
false
569
py
import bpy from bpy.props import * from bpy.types import Node, NodeSocket from arm.logicnode.arm_nodes import * class SceneNode(Node, ArmLogicTreeNode): '''Scene node''' bl_idname = 'LNSceneNode' bl_label = 'Scene' bl_icon = 'QUESTION' property0: StringProperty(name='', default='') def in...
[ "lubos.lenco@gmail.com" ]
lubos.lenco@gmail.com
9e94ec20208d9e3ca2e8fc55036b9d896fa09936
206c10808b6224f7d8236e27cc555e723af695d9
/tomodachi/envelope/protobuf_base.py
8a43ed27bf914590e789c8bd1487d3173828be56
[ "MIT" ]
permissive
xdmiodz/tomodachi
3280209ae49100ec902e3b15c323b38e7480cdd3
7ca998a421dd724df5967d5baa0cf79f5112b79b
refs/heads/master
2023-03-15T19:22:16.381212
2023-01-20T07:34:48
2023-01-20T07:34:48
200,020,833
0
2
MIT
2023-03-08T00:00:01
2019-08-01T09:30:22
Python
UTF-8
Python
false
false
3,768
py
import base64 import logging import time import uuid import zlib from typing import Any, Dict, Tuple, Union from tomodachi.envelope.proto_build.protobuf.sns_sqs_message_pb2 import SNSSQSMessage PROTOCOL_VERSION = "tomodachi-protobuf-base--1.0.0" class ProtobufBase(object): @classmethod def validate(cls, **k...
[ "hello@carloscar.com" ]
hello@carloscar.com
8153fbc21d01a5e302697a944d2f268e1cb21908
41a4eeaf62a36d7c57ad55393996787bb55ba6b7
/venv/lib/python3.7/site-packages/kubernetes/client/models/v1_env_var.py
b756905e43471ee3b9b8e089d217f9efdd3b5ef4
[]
no_license
jicowan/group-operator
c7a20ff03584da9ace19489bc3d27b9fb22a066c
bac6e51aef0d9836679621e3ce7e55f4c1ead402
refs/heads/master
2021-07-14T11:45:30.062219
2019-09-26T15:26:52
2019-09-26T15:26:52
209,454,861
10
4
null
2021-07-01T17:23:07
2019-09-19T03:29:54
Python
UTF-8
Python
false
false
5,399
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.14.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "jicowan@f0189801a302.ant.amazon.com" ]
jicowan@f0189801a302.ant.amazon.com
33abb6dd9defeaef05ef48f283b9bbc6035dd8e9
e71fa62123b2b8f7c1a22acb1babeb6631a4549b
/examples/inheritance1.py
70ebab52d7eed62adfcc64973549ae62dd19fed5
[ "BSD-2-Clause" ]
permissive
timgates42/XlsxWriter
40480b6b834f28c4a7b6fc490657e558b0a466e5
7ad2541c5f12b70be471b447ab709c451618ab59
refs/heads/main
2023-03-16T14:31:08.915121
2022-07-13T23:43:45
2022-07-13T23:43:45
242,121,381
0
0
NOASSERTION
2020-02-21T11:14:55
2020-02-21T11:14:55
null
UTF-8
Python
false
false
1,766
py
############################################################################## # # Example of how to subclass the Workbook and Worksheet objects. We also # override the default worksheet.write() method to show how that is done. # # SPDX-License-Identifier: BSD-2-Clause # Copyright 2013-2022, John McNamara, jmcnamara@cp...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
db6569501a941b99f6394e71bd64953e8ddb415a
993cf64df4795e7912a7f9157bd8bf02aa985506
/past_work/SWEA_D2/1946 docdecode.py
99fd7ef2d7f3d2cd0488565545486aecda7eebfd
[]
no_license
jiwonjulietyoon/Algorithm
b541e630c5b01b47cc05b538970d2b73d452baf5
a11be16f4700e7e55382d4dcfd88d534a232f024
refs/heads/master
2020-04-24T01:54:05.200538
2019-11-09T03:56:47
2019-11-09T03:56:47
171,616,523
1
0
null
null
null
null
UTF-8
Python
false
false
879
py
# 1946. 간단한 압축 풀기 # for T in range(int(input())): # doc = {} # N = int(input()) # for _ in N: # k, v = input().split() # v = int(v) # doc[k] = v # print(f"#{T+1}") # for k in doc: # for for T in range(int(input())): N = int(input()) print(f"#{T+1}") cnt...
[ "jiwonjulietyoon@gmail.com" ]
jiwonjulietyoon@gmail.com
d09335d99fce5581c09dbb4944074926cd84937b
74983098c5de53007bde6052a631845c781b5ba8
/camelback/camelback15/camelback.py
6809a547ce3f5ca4a2973a8aad74b2abcb3e8e5e
[]
no_license
numairmansur/Experiments
94ccdd60f4c2cf538fab41556ac72405656c9d77
592f39916461c7a9f7d400fa26f849043d1377ed
refs/heads/master
2021-04-29T12:39:16.845074
2017-02-15T07:36:47
2017-02-15T07:36:47
78,043,284
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
import numpy as np import sys import math import time import csv from hpolib.benchmarks.synthetic_functions import Camelback # Change this from time import gmtime, strftime def main(job_id, params): print '!!! Entered Main !!!' print 'Anything printed here will end up in the output directory for job #:', str(job_i...
[ "numair.mansur@gmail.com" ]
numair.mansur@gmail.com
31ff8aaa5ba4c0ea5c9cd51140a9cb65ed640375
78ed228ff9262eaca44fe5badab05f512433eea8
/transcrypt/development/automated_tests/transcrypt/iterators_and_generators/__init__.py
9da8cb24e88386f5ae95b46235edb89a0fc66840
[ "Apache-2.0" ]
permissive
khlumzeemee/Transcrypt
74af14f3175d1ce1d4debdfc5b346214d2597105
6a8abee3648daa0f36b509993ba54e14e8e9cf9b
refs/heads/master
2021-01-12T16:57:15.609336
2016-10-14T17:22:29
2016-10-14T17:22:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
class Iterable: def __init__ (self, i): self.aList = range (0, 50, i) def __iter__ (self): return Iterator (self) class Iterator: def __init__ (self, iterable): self.iterable = iterable self.index = -1 def __next__ (self): # Should be auto-wrapped in a next (self) by the compiler sel...
[ "info@qquick.org" ]
info@qquick.org
3a2bb166b63a640f43091117e69e7b8199f98ea0
3be86a9093167acf4cb92a0b70c7087996f8f8e1
/0013_roman_to_integer.py
1322ef20494da2c1ea575461524a1a41cf40a8cd
[]
no_license
zimingding/leetcode
28d25fc1e62612752c511b52af9ff77f7b7a7da7
c43b22146465a78a58e3cc3945228431ed94388a
refs/heads/master
2020-05-24T00:10:59.893207
2019-11-11T20:21:38
2019-11-11T20:21:38
187,010,281
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
class Solution: def romanToInt(self, s: str) -> int: r = 0 i = 0 while i < len(s): c = s[i] if c == 'I': if i+1 < len(s) and s[i+1] == 'V': r += 4 i += 1 elif i+1 < len(s) and s[i+1] == 'X': ...
[ "uowzd01@hotmail.com" ]
uowzd01@hotmail.com
a0ca7b7d5578f7ed4c1ad33fdabb84e8158a0362
98b9e0a180d65bde6e799a0ef503409ce09ad9bd
/PythonFun/pyFun/Type_List.py
912a66f52b9aff6b8a3e6b5674fcb68014099e35
[]
no_license
LizhangX/DojoAssignments
7fae9ed3098d1a131f2a2b093ded95a4de70a5cb
b56ccdf41fe5d43a4d5f340e4f21aaf632d7b7d6
refs/heads/master
2023-02-04T14:27:09.234685
2019-08-23T22:18:04
2019-08-23T22:18:04
94,444,518
0
1
null
2023-01-31T21:55:04
2017-06-15T13:55:14
TSQL
UTF-8
Python
false
false
948
py
# Write a program that takes a list and prints a message for each element in the list, based on that element's data type. def TypeList(arr): string = "" sum = 0 for i in arr: if type(i) == str: string = string + " " + i elif type(i) == float or type(i) == int: sum +...
[ "lizhang.xie@gmail.com" ]
lizhang.xie@gmail.com
c02e9b9aafa6aeabec084409401e9a732d8f1f9a
edfd1db2b48d4d225bc58be32fbe372a43415112
/team-task/airflow1.9/dags/redtuxedo/rwidjojo2_5.py
fda6c03c2023cabe0f8455728727512ee85cda92
[]
no_license
rwidjojo/airflow-training
ed83cb9e97ca85ef06de1426f2f41014881a1f22
ac82040d8ddc3859df5576eee08d397e824016f1
refs/heads/main
2023-08-12T21:01:17.672059
2021-01-04T09:17:48
2021-01-04T09:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
# Instructions # Define a function that uses the python logger to log # parameter from PythonOperator import datetime import logging from airflow import DAG from airflow.operators.python_operator import PythonOperator from airflow.utils.dates import days_ago owner = 'rwidjojo' # Replace with your short name defa...
[ "nurcahyopujo@gmail.com" ]
nurcahyopujo@gmail.com
5501985b53b77f2d646b0cf9178da0185097aea6
5b88dcd27a0edb0c4de5cf523848d7f033a82bec
/Documents/Django/Examen_Django_1_3/Nueva carpeta/M5_SitioMedico-01_JuanArancibia/M5_SitioMedico/urls.py
06031cc279720ccf5b8a0c5f1c42dd2a0fb8458b
[ "MIT" ]
permissive
JuanArancibiaF/M5_SitioMedico
e63440c8edc0a491c6c134c88e8a43cb3283195a
ea9cb6a35f9b2e57741f6384d3b8c0081b7bb677
refs/heads/master
2023-03-03T15:38:13.107832
2021-02-12T16:53:14
2021-02-12T16:53:14
337,381,870
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
"""M5_SitioMedico 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') Clas...
[ "luis.debia@gmail.com" ]
luis.debia@gmail.com
73df0c0ec8d34d04112fe3dd73871d6063d5dc44
172e5fcd35072b576380c4258f0ca3e0d8883b35
/datasets/helmet/filter.py
7d5e9c7548d9e929d3180d46f8d3e6a3c965bfe2
[]
no_license
fanqie03/classifier_pytorch
e1951578fb0eeab8983bf80be710d250be64b8f9
21bb2e3c2ca01333080668dce928b48d4e0e6d59
refs/heads/master
2023-05-14T13:36:08.211691
2020-01-03T08:02:09
2020-01-03T08:02:09
202,356,398
1
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
import shutil import os import argparse from pathlib import Path from PIL import Image from tqdm import tqdm def get_args(): parser = argparse.ArgumentParser() parser.add_argument('--source_dir', default='/home/cmf/datasets/extract_data/gongdi/person') parser.add_argument('--target_dir', default='/home/cm...
[ "1242733702@qq.com" ]
1242733702@qq.com
f1f1b0a578bbed74ac77a1c88f51c2b536e74150
d6150d04ec161dbdac33e9be23648ad4f258a1a7
/tensorflow/examples/saved_model/integration_tests/use_mnist_cnn.py
9e1ca33029a928e8f6a8bad1f068d9e56e71be54
[ "Apache-2.0" ]
permissive
aweers/tensorflow
bf0f5c6c6a6384a044a5c081dd1e8efe89c0349e
640726310112e1ad708faef66f751fe5d70ec102
refs/heads/master
2020-04-24T23:56:25.910880
2019-03-09T15:12:37
2019-03-09T15:12:37
172,361,635
0
0
Apache-2.0
2019-03-09T15:12:38
2019-02-24T16:31:37
C++
UTF-8
Python
false
false
4,964
py
# Copyright 2019 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
2429e6f4e1bf8f3af9f8ad79ed51e9307b1be38e
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/CJ_16_2/16_2_1_kieronb_digits.py
88aa02a8dfc600e147bcbfb888a04aa403e5cd60
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,483
py
#!/usr/bin/python import sys #import logging #logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) nums = ['ZERO', 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN', 'EIGHT', 'NINE']; def solve(s): digits = [] while 'Z' in s: digits.append(0) s = remove_word(s, nums[0]) whil...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
420215bd2efecae47efd82097ef50ae4aeb87a1c
b3084604bb27ff87149bfc49c16a8a5e6ea5582c
/flsp-mrp/models/Productionmsg.py
7cf757957caa793f22d4c429c2a337555ca17ede
[]
no_license
odoo-smg/firstlight
9fe308fb876e80a11ebfda40a442983c9a85ae3e
4a82cd5cfd1898c6da860cb68dff3a14e037bbad
refs/heads/master
2022-10-09T10:10:36.108190
2022-09-28T16:06:30
2022-09-28T16:06:30
235,829,864
3
2
null
2022-03-17T19:26:27
2020-01-23T15:56:48
JavaScript
UTF-8
Python
false
false
1,009
py
# -*- coding: utf-8 -*- from odoo import models, fields, api class Produtionflspmsg(models.TransientModel): _name = 'flspmrp.productionflspmsg' _description = "Wizard: Message on Production" @api.model def default_get(self, fields): res = super(Produtionflspmsg, self).default_get(fields) ...
[ "alexandresousa@smartrend.com" ]
alexandresousa@smartrend.com
fadfcdfc5a65325f9e65158cb8d2183527c560d5
4380a4029bac26f205ed925026914dce9e96fff0
/slyr/parser/object.py
7edcb40861627e48a2518d8bf6be2b450d2eba7e
[]
no_license
deepVector/slyr
6b327f835994c8f20f0614eb6c772b90aa2d8536
5d532ac3eec0e00c5883bf873d30c6b18a4edf30
refs/heads/master
2020-12-03T10:24:39.660904
2019-04-08T00:48:03
2019-04-08T00:48:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
#!/usr/bin/env python """ Base class for persistent objects """ from typing import List class Object: """ Base class for objects which can be read from a stream """ @staticmethod def guid() -> str: """ Returns the object's GUID """ return '' @staticmethod ...
[ "nyall.dawson@gmail.com" ]
nyall.dawson@gmail.com
6c61a8655ed737b3ded276848231cfa8a07a9bb0
2bf56904829ab9d5e5aa49a50aeceaef620df643
/tests/test_collector.py
41a03d3fd613b6b8f6b685f983d856ad12323a3e
[ "MIT" ]
permissive
OCHA-DAP/hdx-scraper-unosat-flood-portal
501f53d43ead4fc46312fc46229c43c034787ed0
80b0bcd404993e4bd1dae442f794c9f86b6d5328
refs/heads/master
2021-12-25T06:00:02.327571
2021-12-22T20:07:36
2021-12-22T20:07:36
37,866,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
#!/usr/bin/python # -*- coding: utf-8 -*- # system import os import sys dir = os.path.split(os.path.split(os.path.realpath(__file__))[0])[0] sys.path.append(os.path.join(dir, 'scripts')) # testing import mock import unittest from mock import patch # program import config.load as Config import config.database as DB i...
[ "luiscape@gmail.com" ]
luiscape@gmail.com
8178cc34b56a6a03048dac573f71a04c78628aa0
7cc9cb8bfa749cb011170299ca780f8e8d140b54
/api/endpoints/login.py
11e94f14912aefe873931f2ae736874d028c5596
[ "Apache-2.0" ]
permissive
AssiaHalloul/FRDP
75ef66168782d854494a79ef220f60d3792784b7
e799b7e9d858c613ee7d7cce992dddee2eafca5f
refs/heads/main
2023-07-28T04:09:27.358335
2021-09-17T03:11:13
2021-09-17T03:11:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,915
py
from datetime import timedelta from typing import Any from fastapi import APIRouter, Body, Depends, HTTPException from fastapi.security import OAuth2PasswordRequestForm from sqlalchemy.orm import Session import crud import models from api import deps from core import security from core.config import settings from cor...
[ "yasserth19@gmail.com" ]
yasserth19@gmail.com
55d298950c7d7ca21de4fa38f72dc8b508087211
93db4b48741ff4ab0a3895813a6c7543e01821ea
/leetcode/Python/884_decoded_str.py
436b4076dfc4d56b8920181fbd41bd1e380db873
[]
no_license
shubham14/Coding_Contest_solutions
f884c458d3316bdafc6f1b1a52cf3e962c58bc47
1b67497f35b892c25e3d9600214fa37a738ffd40
refs/heads/master
2021-06-22T13:34:10.581101
2019-10-09T02:56:01
2019-10-09T02:56:01
131,326,516
1
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 11 19:42:57 2018 @author: Shubham """ import math class Solution: def maxArea(self, A, B, C, D, E, F, G, H): areaSum = (C-A)*(D-B) + (G-E)*(H-F) if(E>=C or A>=G or B>=H or F>=D): return areaSum bX = max(A, E) bY = max(B, F...
[ "shubham.ddash@gmail.com" ]
shubham.ddash@gmail.com
86f71192aab9f52f5661559bb3f89b77d1024de2
aea8fea216234fd48269e4a1830b345c52d85de2
/fhir/resources/tests/test_patient.py
ef1efd5ded649615fb1e081d1f6330bcd7bf3f8a
[ "BSD-3-Clause" ]
permissive
mmabey/fhir.resources
67fce95c6b35bfdc3cbbc8036e02c962a6a7340c
cc73718e9762c04726cd7de240c8f2dd5313cbe1
refs/heads/master
2023-04-12T15:50:30.104992
2020-04-11T17:21:36
2020-04-11T17:21:36
269,712,884
0
0
NOASSERTION
2020-06-05T17:03:04
2020-06-05T17:03:04
null
UTF-8
Python
false
false
29,150
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/Patient Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import io import json import os import unittest import pytest from .. import patient from ..fhirdate import FHIRDate from .fixtures impo...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
ba481ea8f879122af999411632fb73b73261732c
10041bd495b9accbc8f81790fbcc581350e2eaad
/utils/GoogleSpreadSheet_API.py
82aadecda194fdf6563a5f60ab143f43358b0372
[ "Apache-2.0" ]
permissive
heboric/ouro
58ca64d217a593f168dec11068aed12fe910c0c8
5209a9946b39874ed02c2602baf39fd299de609b
refs/heads/master
2023-04-19T04:47:21.235442
2021-05-04T21:58:30
2021-05-04T21:58:30
364,108,551
0
0
null
null
null
null
UTF-8
Python
false
false
14,467
py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "rkolbe96@gmail.com" ]
rkolbe96@gmail.com
5fdf10d2c3284be8fe2c12dd47d17a980192a24d
477a1182c09f276e8d29651222ba72968074fcb8
/Fizz Buzz.py
1691cf23a3ddb9911ba968b01c0572d305dfe589
[]
no_license
a58982284/cookbook
900ed8f8f2d1fb4111076074607574645ac07314
7490a968e93c85df0d4d9701d0901e2a8c3bdfac
refs/heads/master
2020-03-29T12:04:08.316281
2018-09-22T14:14:44
2018-09-22T14:14:44
149,883,412
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
def checkio(number: int) -> str: if number%3 == 0 and number%5==0: return 'Fizz Buzz' elif number%3==0 and number%5!=0: return 'Fizz' elif number%3 !=0 and number%5==0: return 'Buzz' else: return str(number) print(checkio(15)) print(checkio(6)) print(checkio(5)) print(ch...
[ "a58982284@163.com" ]
a58982284@163.com
9b8122ee97bc2012e154cd33cd099e61ed67ab7b
de88a649182d42206358e53bba69252e04d8a69f
/abc_py/abc168/c.py
b616070660aef9a02ea101c6794186568462f0ec
[]
no_license
aki-nasu/competition
47b05312d9b19dcf62212570d6253ec7a109382d
9edb02abb14d896932f08218417d3f10b54f1755
refs/heads/master
2021-06-22T22:09:14.433407
2021-06-06T06:53:42
2021-06-06T06:53:42
225,662,310
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
import math a,b,h,m = map(int,input().split()) ra = h * 30 + m * 0.5 rb = m * 6 r = math.radians(abs(ra-rb)) # (abs(ra-rb)*math.pi)/180 print(math.sqrt(a**2 + b**2 - 2*a*b*math.cos(r)))
[ "t.t.akiyoshi2@gmail.com" ]
t.t.akiyoshi2@gmail.com
e0f547e3b52a0671a240931d5804ecde3fac717d
887f86963badac6d18c7aff8a3c421a104c27553
/model/sensibility_baseline/rnn_pytorch.py
db7a5646559bf8a8783f66b0834acc51a1435eb4
[]
no_license
monperrus/ProgramFix
3c63e69325f7f62e188bc39364732b8d01eb0635
64f7c943775664147333d1a3e73a3cb10d7d4aa4
refs/heads/master
2022-04-19T16:30:11.213078
2020-04-01T07:27:43
2020-04-01T07:27:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,404
py
import torch import torch.nn as nn import torch.autograd as autograd import config import os import more_itertools from common.problem_util import to_cuda from common.torch_util import calculate_accuracy_of_code_completion, get_predict_and_target_tokens, \ remove_last_item_in_sequence, reverse_tensor from common.u...
[ "lfsoftware13@gmail.com" ]
lfsoftware13@gmail.com
9325ce23a6bcefeac701f51d38d1513df3b719a6
814f8b85dd6435b3bb3fdebf2f193912aa145a62
/image_segmentation/CycleGAN/__init__.py
b7901d30d6a0433aae360a3b18a7d65798dcb49b
[ "Apache-2.0" ]
permissive
jacke121/pycharm
480df86258ee918de25b76a4156e9e6b9d355df7
b9b2963cf0c5028f622f41413f52f1b5cbde28a1
refs/heads/master
2020-03-18T16:35:25.579992
2018-01-01T02:30:58
2018-01-01T02:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by weihang huang on 17-12-10 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys import os root = os.path.abspath(os.path.dirname(os.path.dirname(__file__...
[ "614047311@qq.com" ]
614047311@qq.com
389ab210334c512ad944a1569f96a0cfda9fea26
3482beb24c0635efcb60391d27c1987b7fb413a5
/kvipytools/kvipytools/rename.py
cce6f4b4865c27f1c76dac3edfdbb3d77e504d17
[]
no_license
rpgplanet/rpgplanet-all
ad2e6a00935d2b214ba41b4adced524f1bd443db
6d473369cd8263f59ebcbf7f812fd4d34d4d785e
refs/heads/master
2021-01-13T01:43:58.718833
2010-10-28T10:25:01
2010-10-28T10:25:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,987
py
#!/usr/bin/env python import sys, os class OptionParser(object): ''' parser commandline optiones separated by given separator:: ./rename.py a=b c=d "a a a=b b b" a\\==\\=b will result into something like this:: opts = [ ('a', 'b'), ('c', 'd'), ('a a a', 'b b b'), ('a=', '=b') ] ''' ...
[ "bugs@almad.net" ]
bugs@almad.net
30cb098c7657866cc84531411b8c6256998523ed
3a5ad075884d55593464f97df758de1891bfd3f2
/all_Gryzinski/BDE_model.py
6affdeb9cf80c7abc20558e4776bbe0101198979
[]
no_license
fedorsidorov/DEBER-Simulation-2.0
1a812e950749cf86e8e0dbd4d3514fc58f710e9a
eca39922df628ca6dcfbfb2af61aaa469fe66074
refs/heads/master
2022-04-26T13:23:24.262182
2020-04-24T23:43:12
2020-04-24T23:43:12
202,705,740
0
0
null
null
null
null
UTF-8
Python
false
false
4,527
py
#%% Import import numpy as np import os import importlib import matplotlib.pyplot as plt import copy import my_constants as mc mc = importlib.reload(mc) import E_loss_functions as elf elf = importlib.reload(elf) os.chdir(mc.sim_folder + 'all_Gryzinski') #%% MMA_bonds = {} #kJmol_2_eV = 1e+3 / (mc.Na * mc.eV) kJmo...
[ "fedor.sidorov.92@yandex.ru" ]
fedor.sidorov.92@yandex.ru
b0788388960b10b9cc402064bdf16311c76adf2a
9ce0d602404b2329dfb36a0ae31b43dd1865d76d
/app/models.py
d9f118e64dfe4d21fefde1ec1ff4885190fe0e26
[]
no_license
haruyasu/django-video-membership
0cf40e6c2d28bbbc1c4c608df378a163b83f1654
87b8a0c4b3b12c4b901303bd2c6ee078069ba167
refs/heads/main
2023-01-01T18:39:13.697284
2020-10-25T10:59:41
2020-10-25T10:59:41
305,915,329
0
0
null
null
null
null
UTF-8
Python
false
false
3,721
py
from django.db import models from django.conf import settings from django.db.models.signals import pre_save, post_save from django.contrib.auth.signals import user_logged_in from django.utils.text import slugify from django.shortcuts import reverse from django.contrib.auth import get_user_model from allauth.account.sig...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
64a399c18f23c2f0509b1b87319fcf387ad2065d
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902TG/830-tideGauge.py
98529851e7c0414d44337ffea9a71bbf32c354c9
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
5,075
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 01 10:00:00 2020 MERRAv2 netCDF extraction script - template To create an extraction script for each tide gauge @author: Michael Tadesse """ import os import pandas as pd from d_merra_define_grid import Coordinate, findPixels, findindx from c_merra_read_netcdf import r...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
884b9d01cec1bf9f1ce1a06c648463cd2ddab33d
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/draft_schematic/clothing/shared_clothing_shirt_casual_04.py
1f8fd20f134c94f5a9dd3f2bdc8e6da119d5dd5b
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
462
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/clothing/shared_clothing_shirt_casual_04.iff" result.attri...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
4ce3ff8329588679e9e470c545d88baf564a200e
0fa00ecf2dd671515dc001d4b14049ec6a0c1f1c
/custom_components/smartthinq_sensors/wideq/devices/refrigerator.py
8c6a5e1a3447dad65eb1b18cd2f31b52cf4f9b96
[ "Unlicense" ]
permissive
bacco007/HomeAssistantConfig
d91a5368344f50abbea881bd1e6dfc57a0e456ca
8548d9999ddd54f13d6a307e013abcb8c897a74e
refs/heads/master
2023-08-30T07:07:33.571959
2023-08-29T20:00:00
2023-08-29T20:00:00
230,585,631
98
16
Unlicense
2023-09-09T08:28:39
2019-12-28T09:05:02
Python
UTF-8
Python
false
false
22,201
py
"""------------------for Refrigerator""" from __future__ import annotations import base64 import json import logging from ..const import RefrigeratorFeatures, StateOptions, TemperatureUnit from ..core_async import ClientAsync from ..device import LABEL_BIT_OFF, LABEL_BIT_ON, Device, DeviceStatus from ..device_info im...
[ "thomas@thomasbaxter.info" ]
thomas@thomasbaxter.info
91965e649e25eb2201b821ce51e22d441092e675
f7b25eaee7a19767a27f6172b87e552bcfe608ad
/apps/certification/tests.py
42c8dfc07ad42bee54b4ddce012a3fb48cc6fc0a
[]
no_license
Mid0Riii/Psyconsole
addf280e075e29abc746b437a114d531d2e70f10
d9540e0b4b37fdd44be0a169d3ce8cdddc2b956a
refs/heads/master
2023-01-01T05:10:18.520481
2020-10-18T11:11:26
2020-10-18T11:11:26
266,294,872
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
from django.test import TestCase # Create your tests here. import qrcode from PIL import Image, ImageDraw, ImageFont import datetime # # image = Image.open('assets/cert.jpg') # # def get_size(image): # #获取图像的宽和高 # width, height = image.size # return width,height # # setFont = ImageFont.truetype("assets/ms...
[ "1534296263@qq.com" ]
1534296263@qq.com
579496a4ada0cb14b1e59a2b9b0b835e5ce6c8ee
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/M/mick/test_395.py
215e88633f5bb3f554649c55ba67ce4f7bef9adc
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
import scraperwiki import gviz_api page_template = """ <html> <head> <title>Bar-Meter</title> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script> google.load("visualization", "1", {packages:["table","corechart"]}); google.setOnLoadCallback(drawTable); func...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
661166baa4aeb5d49e0acef2a214a82c99197977
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/frog-position-after-t-seconds/386090832.py
9a855ba87a746a4da2b3445c88f2d2167012e3ee
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
914
py
# title: frog-position-after-t-seconds # detail: https://leetcode.com/submissions/detail/386090832/ # datetime: Tue Aug 25 17:01:25 2020 # runtime: 100 ms # memory: 14 MB class Solution: def frogPosition(self, n: int, edges: List[List[int]], t: int, target: int) -> float: visited = {1} g = collecti...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
d2738856b779dd77745eccd9ba6a256cc478cd52
aca253ff1a97c96a1a0a9a5802aa623789662bb1
/p036/modify_tree.py
85501c51bdad36228626e0879d0805eb3bab30d1
[]
no_license
KD-huhu/PyQt5
a6128a34b93f6e2da7216d5818f66dc9614216bc
1c33a6549c2fcf663168256553d8c24e25d9a69c
refs/heads/master
2022-07-03T07:37:29.837547
2020-05-17T14:54:39
2020-05-17T14:54:39
261,768,854
0
1
null
null
null
null
UTF-8
Python
false
false
2,719
py
import sys from PyQt5.QtWidgets import * class ModifyTree(QWidget): def __init__(self, parent=None): super(ModifyTree, self).__init__(parent) self.setWindowTitle('TreeWidget 例子') operatorLayout = QHBoxLayout() addBtn = QPushButton('添加节点') updateBtn = QPushButton...
[ "noreply@github.com" ]
KD-huhu.noreply@github.com
1f5468676d551ebb3f849b542fc5defe208c8f8c
731c3f2f85f6002725322eedc0b2c8b5e74f610e
/1-jakc/jakc_hr_schedule/models/jakc_hr_employee.py
f81455e3f0490de9f60a0733819918ac05534423
[]
no_license
babarlhr/project-0021
1ac824657f893c8f25d6eb3b839051f350d7cc9d
e30b8a9f5d2147d3ca5b56b69ec5dbd22f712a91
refs/heads/master
2021-09-22T15:45:47.431000
2018-09-11T14:59:49
2018-09-11T14:59:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
from openerp import fields, models, api, _ from openerp.exceptions import Warning, ValidationError import logging logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) class HrEmployee(models.Model): _inherit = 'hr.employee' nik = fields.Char('NIK', size=20, required=True)
[ "wahhid@gmail.com" ]
wahhid@gmail.com
ec72bc2000d02a1c5f1186aff1d4b6d0651c8040
b9abb3c31e98b95b4d21380d929897e70b1a4233
/models/data_models/__init__.py
a18c5783e892bcd801527f31c065e8f6dc6911c3
[]
no_license
codacy-badger/noobit-backend
8b3cc4838990c08a1a830dce833a73c0a900f68c
874372803d709d078947b38024856a926763fff4
refs/heads/master
2022-04-07T22:15:16.681500
2020-03-25T20:45:35
2020-03-25T20:45:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
from server import settings from .items import * from .users import *
[ "maximousse@protonmail.com" ]
maximousse@protonmail.com
c7a08b2e9d4d981344d5de6f125cc2b7bb211375
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02804/s852532161.py
db55ddcaa9dc897931e5c7429d31e68beae24140
[]
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
607
py
n,k=map(int,input().split()) A=list(map(int,input().split())) mod=10**9+7 A.sort() def cmb(n, r, mod): if ( r<0 or r>n ): return 0 r = min(r, n-r) return g1[n] * g2[r] * g2[n-r] % mod N = 10**5 g1 = [1, 1] # 元テーブル g2 = [1, 1] #逆元テーブル inverse = [0, 1] #逆元テーブル計算用テーブル for i in range( 2, N + 1 ): g1...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
55adec22c2b1a4fd58bcba0728db6e2560ac8d54
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/twilio/build/lib/twilio/rest/ip_messaging/v2/__init__.py
ebd0c69459eafe129379c2b02fe69211ed1fe8af
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a7d8849526bea15c375620047af3b52bac72acf3b87db9881e9bddafd4c1c295 size 1343
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
90256ce535bb47bd3131fa27540b688141cd699c
a9305f461b2c03e4a55fec9f1ecc75f78265eb8e
/opencv/Realidade-Aumentada-master/insertObject/glyphfunctions.py
c5cdbb695347ab7fb65ec816e467b7e27d9f5fd8
[]
no_license
JoaoBueno/estudos-python
653afb174f2d141fcc82511c51cbfd2bca1b55cb
606e188e88ee3a2b2e1daee60c71948c678228e1
refs/heads/master
2022-01-24T20:17:52.702768
2022-01-19T20:39:20
2022-01-19T20:39:20
150,925,137
2
2
null
2022-01-19T20:40:46
2018-09-30T03:09:08
Python
UTF-8
Python
false
false
3,278
py
import cv2 import numpy as np def order_points(points): s = points.sum(axis=1) diff = np.diff(points, axis=1) ordered_points = np.zeros((4,2), dtype="float32") ordered_points[0] = points[np.argmin(s)] ordered_points[2] = points[np.argmax(s)] ordered_points[1] = points[np.argmin(diff)...
[ "heavyhide@gmail.com" ]
heavyhide@gmail.com
f08bb2bf9dddb60974d27a3fbedbb68e56233d38
7d8e040cb703e6f6e2d55b5dc64fc9124d85dde8
/tests/test_sklearn_gaussian_process_classifier.py
cc65cc32b1d02e64a75788f2b0aa18cd2d1849a7
[ "MIT" ]
permissive
Global-localhost/sklearn-onnx
fc44aa481a91482f187cfd2307df6061b77742af
a8267e7ba946d8b0596951060e5dca39fec47439
refs/heads/master
2023-03-23T00:19:31.474251
2021-03-03T19:17:12
2021-03-03T19:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,957
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import un...
[ "noreply@github.com" ]
Global-localhost.noreply@github.com
2dc0f4d0b55a84dd527af325de9d13fe3c90d1e9
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/abc159/abc159_c/11098579.py
97346785a4fa732160d26402e7682a23418b6d98
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
L = int(input()) print((L**3 / 27))
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
c1c6e061d4012ce3011878e9be9c295ead79c428
a7dad581abcc74dd191754268131ff2ebef060fc
/fabfile.py
f16c5d1bf778c9e64bfdc2d6b25d034fd7a36380
[]
no_license
jeremyjbowers/can-i-vote
5eeba4c82ab1a1f6fe94b6baaec691ecc82eea4a
2388b285387f59e271759d3fa71c6831b7414b38
refs/heads/master
2020-05-16T22:25:58.515072
2012-10-07T19:04:24
2012-10-07T19:04:24
null
0
0
null
null
null
null
UTF-8
Python
true
false
446
py
#!/usr/bin/env python from fabric.api import * """ Base configuration """ env.project_name = 'vote' env.user = 'root' env.repo_path = '/home/canivote/can-i-vote/%(project_name)s' % env """ Environments """ def prod(): env.hosts = ['198.61.200.10'] """ Commands """ def git_pull(release): with cd(env.repo_pa...
[ "jeremyjbowers@gmail.com" ]
jeremyjbowers@gmail.com
6824a784b25c19dfa9fc7df1a76fe30f908699b5
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations_async/_express_route_links_operations_async.py
0ce55b6c442f9135914a6c16b0da92095cb26bef
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
8,416
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" ]
YijunXieMS.noreply@github.com
05a4f511f05f4671e829cce55a8c86fcf668af92
05b24701576cc5d470b6ab49b25f966d3764c2d2
/venv/Lib/site-packages/pip/_internal/commands/configuration.py
31e040923ccea0d7396b56a98efd233422e4771f
[ "MIT" ]
permissive
taneemishere/Spam-Comment-Detector
e80d27cdc679ad55a774052c9fa8f897fe38a514
b0c75cc00ef584a571ab1b2b579a6016b3504792
refs/heads/main
2023-01-24T01:06:57.299863
2020-11-14T05:29:58
2020-11-14T05:29:58
305,711,846
2
1
MIT
2020-11-12T07:03:38
2020-10-20T13:10:41
Jupyter Notebook
UTF-8
Python
false
false
8,168
py
import logging import os import subprocess from pip._internal.cli.base_command import Command from pip._internal.cli.status_codes import ERROR, SUCCESS from pip._internal.configuration import ( Configuration, get_configuration_files, kinds, ) from pip._internal.exceptions import PipError from pip._internal.utils.d...
[ "taneemishere@gmail.com" ]
taneemishere@gmail.com
f358510396aee7aceb8657337137844f32866b6c
dc760b9503033b97457702f5c0d64ba6beb52d37
/tests/blueprints/test_documents.py
39417b5f3244fadf8188d949fd91cc5d01bc5c9d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
agdsn/sipa
1862fa5f5764a6cb3ab866df724b6b9adeadbfe4
5e82221041de1b08129ed43f9f6036c541e2683d
refs/heads/develop
2023-06-08T23:04:31.054933
2023-05-28T11:43:31
2023-05-28T11:43:31
33,961,711
23
18
MIT
2023-09-11T22:32:43
2015-04-14T23:09:34
Python
UTF-8
Python
false
false
746
py
import pytest from tests.assertions import TestClient @pytest.fixture(scope="module") def client(module_test_client): return module_test_client def test_restriced_area(client: TestClient): with client.renders_template("login.html"): resp = client.assert_url_ok( "/documents_restricted/fa...
[ "lukas.juhrich@agdsn.de" ]
lukas.juhrich@agdsn.de
b9bc7aefa51fa537abb98e21537fec20db0d22ea
8f24e443e42315a81028b648e753c50967c51c78
/python/ray/train/huggingface/huggingface_trainer.py
8afe9c2784b0f74b0cc0380b0d37f83f69b80dec
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
simon-mo/ray
d07efdada8d05c6e10417f96e8dfc35f9ad33397
1e42e6cd15e2fb96c217cba8484e59ed0ef4b0c8
refs/heads/master
2023-03-06T00:09:35.758834
2022-12-23T18:46:48
2022-12-23T18:46:48
122,156,396
4
2
Apache-2.0
2023-03-04T08:56:56
2018-02-20T04:47:06
Python
UTF-8
Python
false
false
18,092
py
import importlib.util import inspect import os import sys import warnings from typing import TYPE_CHECKING, Any, Callable, Dict, Optional try: from packaging.version import Version except ImportError: from distutils.version import LooseVersion as Version import transformers import transformers.modeling_utils...
[ "noreply@github.com" ]
simon-mo.noreply@github.com
f631f0ad314cc54e012f56dd0631e587b44f8930
dd449ad8388847779b265f49f2339c9681376c60
/a_star_algo/algo.py
2d3e0aea892a843f490f31666f9a20dbc5402a30
[]
no_license
whoji/training-ground
478d76a8c274050eb910b28729ca1d1cdb47eae9
b107cc47c4a04bb8868c410ab207bacab5a86e4c
refs/heads/master
2020-05-16T16:13:26.788156
2019-12-04T01:56:01
2019-12-04T01:56:01
183,154,348
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
# https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2 class Node(): """A node class for A* Pathfinding""" def __init__(self, parent=None, position=None): self.parent = parent self.position = position self.g = 0 # G is the distance between the current node and th...
[ "minli1985@gmail.com" ]
minli1985@gmail.com
d680f8875b14ff6b14fad6a3d87412f63c377f03
2dd0082221239fef0e0894c852f70f1eaeb62b9e
/Assignments/pete/python/curses/curses8/curses7.py
58231c63220cd044d2e1c7060580b9eaab06acdc
[]
no_license
pjz987/2019-10-28-fullstack-night
03097cf3dc24aeec0c326044bb0fc99385fbc333
4c643013de73f08d7503d62ec602d6a5c80ffa7e
refs/heads/master
2022-11-11T19:40:00.296645
2020-06-25T16:14:47
2020-06-25T16:14:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,750
py
import argparse import curses parser = argparse.ArgumentParser() parser.add_argument('-lvl', action='store', dest='version_arg', type=int) parsed_args = parser.parse_args() LEVEL = parsed_args.version_arg or 1 import random import time ''' Above argparse and curses are imported and set up.#and numpy Below I will establ...
[ "pwj2012@gmail.com" ]
pwj2012@gmail.com
c8eb4290d28e0c5f79fcabc5ae365815fdd0e68a
46ad22b772f0bb115e1192ca24c86b1593d51870
/tools/vidcap/vidcap.py
3488605089f48448b70aa5f2b26896fe570106bb
[]
no_license
cosmologicon/unifac
fb533abfbba7ebb33561a330f7be5d22dbc2a373
e7668c6736cd4db66f8d56e945afb69ec03f2160
refs/heads/master
2022-06-15T10:46:28.448477
2022-05-30T20:26:55
2022-05-30T20:26:55
37,033,765
0
0
null
null
null
null
UTF-8
Python
false
false
19,655
py
# Linux/pygame video capture utility by Christopher Night - public domain # Requires mogrify, oggenc (if there's audio), and mencoder # 0. Install dependencies: sudo apt-get install imagemagick vorbis-tools mencoder # 1. Recording. Place this file into your source directory. Within your game, import it with # "impor...
[ "cosmologicon@gmail.com" ]
cosmologicon@gmail.com
2c1dcce271be95ff71696e0634eac1611b1af8d3
81acce1d49924d89e6ebf5a472ad5b1b80cc202c
/qcdScale/qcdFitter.py
7650be090a5d03a503d1e3c513a0cb4b5ae83b62
[]
no_license
truggles/Z_to_TauTau_13TeV
36a85b024052fcfef3c9efd8aebc63dc85744f7b
123fe0d25f8e926d8959f54cd4f64122394b60d5
refs/heads/master
2021-03-13T01:50:43.031581
2017-10-12T18:56:25
2017-10-12T18:56:25
37,312,811
0
0
null
2016-09-29T08:29:13
2015-06-12T09:08:22
Python
UTF-8
Python
false
false
449
py
import ROOT from ROOT import gROOT def qcdFit() : f = ROOT.TFile('roots/OSvsSS.root','r') h = f.Get('OSvsSS') func = ROOT.TF2( 'func', '[0] + (x * [1]) +(y *[2])' ) f1 = gROOT.GetFunction('func' ) f1.SetParName( 0, 'Intercept' ) f1.SetParName( 1, 'x-slope' ) f1.SetParName( 2, 'y-slope'...
[ "truggles@wisc.edu" ]
truggles@wisc.edu
8e165645b9a092e4faa7392ab4052d978f7ea58e
222d7bd1c7fba8d2cfe2754ae1b07e7219ff854e
/Run_VVC-bu.py
f3bfd8de137923efe4c4b3154638e4586b7ebb46
[]
no_license
mkjubran/VVCS
70981f1a64f380c2b3d04e138a46bf545d8b1bf7
79ffb3cbe25a48848eb2b4dbadc908f053c3f8f1
refs/heads/master
2020-12-22T09:48:42.629357
2020-07-14T07:24:23
2020-07-14T07:24:23
236,737,042
0
0
null
null
null
null
UTF-8
Python
false
false
5,839
py
#Frame1: Type POC QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference #pictures predict deltaRPS #ref_idcs reference idcs print >> fid, 'Frame1: P 1 5 -6.5 0.2590 0 0 1.0 0 0 0 1 1 -1 0'); from __future__ import divisi...
[ "mjubran@birzeit.edu" ]
mjubran@birzeit.edu
887a23cdc580ec87b2158ee45d31535b0c0dc08e
65ed6010531735377d8c0b8a77d0d336842ebe3e
/atx/device/__init__.py
f02e38e70d7453565c1496ce76e0b8f43445816f
[ "BSD-3-Clause", "MIT" ]
permissive
neteaseknight/AirtestX
5084a9401777f765e11f70dd02bf3633f5cb66fd
c1fe6581f5f37088cbc486c9f128b6f26b0c7695
refs/heads/master
2021-01-17T21:42:27.346213
2016-04-03T12:44:10
2016-04-03T12:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
# coding: utf-8 from __future__ import absolute_import import collections from atx import imutils FindPoint = collections.namedtuple('FindPoint', ['pos', 'confidence', 'method', 'matched']) Display = collections.namedtuple('Display', ['width', 'height']) __boundstuple = collections.namedtuple('Bounds', ['left', ...
[ "codeskyblue@gmail.com" ]
codeskyblue@gmail.com
dec4a2fb41492241dfdefc7038a33d1f48fa4b13
9fa08002daf2e991ff9dfe33ab47c4518976cc12
/DeepLearing/DeepLearningFlappyBird-master/deep_q_network.py
abdb40aeef2860bb55123cb5bb6e8f77f8267cd3
[ "MIT" ]
permissive
freeflyfish/code_file
6e1264de2c13d700895bde31421ca791802f1ac6
e80cc440f1c969af417bc5bad73c61b50dfa7590
refs/heads/master
2020-04-30T22:10:06.929633
2018-12-07T10:31:04
2018-12-07T10:31:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,232
py
from __future__ import print_function import tensorflow as tf import cv2 import sys sys.path.append("game/") import game.wrapped_flappy_bird as game import random import numpy as np from collections import deque GAME = 'bird' # the name of the game being played for log files ACTIONS = 2 # number of valid actions GAM...
[ "807745654@qq.com" ]
807745654@qq.com
58f6791db4ae9844c53d1e49da8e3ef0bccd20d6
3073c7cd9efe87471bcd3d38da4cc44720984d58
/ureport/migrations/0013_auto__add_settings.py
737b12b4d9dfc8e7e262399eda064a756798d006
[]
no_license
unicefuganda/rapidsms-ureport
7b9418ebc2e10c24d32c8e93072c2395329fa67b
90de9d4224af1922f9a828c22505de21a86f7ac0
refs/heads/master
2016-09-10T06:51:54.835440
2015-06-22T06:02:37
2015-06-22T06:02:37
2,215,097
2
2
null
2014-05-21T08:45:05
2011-08-16T10:20:59
Python
UTF-8
Python
false
false
16,489
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 'Settings' db.create_table('ureport_settings', ( ('id', self.gf('django.db.models...
[ "mossplix@gmail.com" ]
mossplix@gmail.com
25c239b31c0a578419e6f525d348d98c0f40112a
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-MetalPerformanceShaders/PyObjCTest/test_mpsrayintersector_mpspolygonaccelerationstructure.py
1a5da10d9a4ea08bb220c5af477a364059d79eaa
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
490
py
from PyObjCTools.TestSupport import TestCase import MetalPerformanceShaders MPSAccelerationStructureCompletionHandler = b"v@" class TestMPSRayIntersector_MPSPolygonAccelerationStructure(TestCase): def test_enum_types(self): self.assertIsEnumType(MetalPerformanceShaders.MPSPolygonType) def test_cons...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
824b3721de5cfb5f090fa571e20f924b6a69af1b
f02485de5a101f3b69a45b2c4e71bd950ee55eba
/Z_other/NetWork/a_test/HelloWorld/HelloWorld/urls.py
53f8c23c69c2637e205756186cef301657c5f5b2
[]
no_license
newjokker/PyUtil
ef4266b0ca32157f9de6e2cac1b1a10647190d99
32e64be10a6cd2856850f6720d70b4c6e7033f4e
refs/heads/master
2020-11-28T00:19:02.073391
2019-12-23T02:07:40
2019-12-23T02:07:40
229,654,616
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
"""HelloWorld URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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...
[ "18761609908@163.com" ]
18761609908@163.com
dc6539b1e4f2e1e7b697a39e2d29dcd7da994516
016200d5593feb15bf7737389586bd161398a09c
/Database/venv/bin/rst2s5.py
0c2a22f8856285da5058dbce8a0c1e7017f95304
[]
no_license
MarcPartensky/Python-2019
d74e41710c9b48887e141ef5a8251f5e5d06026d
1b29680292fdc48af25ae45ce0e9572b8c31427d
refs/heads/master
2021-07-07T18:46:49.708387
2020-08-11T19:49:01
2020-08-11T19:49:01
166,604,663
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
#!/Users/marcpartensky/Programs/Python/Repository-2019/Database/venv/bin/python # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using ...
[ "marc.partensky@gmail.com" ]
marc.partensky@gmail.com
d26f9799eb67232c4f9c0d0617aaa9b2f1ec1988
61673ab9a42f7151de7337608c442fa6247f13bb
/__scraping__/gall.dcinside.com/main.py
490c073a6a1c9d7e5de77e2bc435f07699d416ff
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
774
py
#!/usr/bin/env python3 # date: 2020.01.01 # https://stackoverflow.com/questions/59551193/i-want-to-download-images-from-python-what-should-i-do/ from selenium import webdriver import requests #path = r"C:\Users\qpslt\Desktop\py\chromedriver_win32\chromedriver.exe" #driver = webdriver.Chrome(path) driver = webdriver...
[ "furas@tlen.pl" ]
furas@tlen.pl
0c44c18c0c305096c4cde6e736d92a55731f5691
7048901d6ad4cd58150deec2f7095c4bc20e28bc
/coupons/serializers.py
8c0a733f4fda39147966e3d16888dab2aad72790
[]
no_license
reloadercf/Tienda_Backend
f658bc3b01cf7e8d7d86c4964a7808f04f866e66
ef602107861096c3f2bb8f31eab12db44be4186d
refs/heads/master
2022-07-29T03:49:40.413308
2019-10-21T16:47:40
2019-10-21T16:47:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from rest_framework import serializers from .models import Coupon class CouponSerializer(serializers.ModelSerializer): class Meta: model = Coupon fields = '__all__'
[ "contacto@fixter.org" ]
contacto@fixter.org
266d40130e6ece916b7a7b8d7242e4cccea1a212
868c604cdc34e04bba44834e8544036437a7eb9b
/chapter_1_building_abstractions_with_functions/example_1.py
f7311525c376f664a8d9930ffd5961f8ab97a62a
[]
no_license
cshintov/sicp
bc0c1ae5c3f2b9a068e446030fcde59d73209b7c
46b36254d05171704ddcf45666d006e734a7a196
refs/heads/master
2021-04-23T03:14:32.416422
2020-03-24T13:24:12
2020-03-24T13:24:12
249,893,193
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from urllib import urlopen shakespeare_poem = 'http://inst.eecs.berkeley.edu/~cs61a/fa11/shakespeare.txt' poem = urlopen(shakespeare_poem) print poem
[ "cshintov@gmail.com" ]
cshintov@gmail.com
c5f90bbaa9e2eaf84c3dc0035e740cbcbf93576d
d286518da2d7b74d63162cac3befe838f74ac93a
/backend/winter_firefly_27005/urls.py
7305cf2e7f3fdf9cae158bb72166dce189017d05
[]
no_license
crowdbotics-apps/winter-firefly-27005
7a1b28ec1e1bfa57800c0db25256929925935f1a
96777599d723241987fd750bcaa72fe040deb738
refs/heads/master
2023-04-20T15:57:28.132529
2021-05-20T21:00:22
2021-05-20T21:00:22
369,336,748
0
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
"""winter_firefly_27005 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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'...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
acd4413b1a25bb706c5aa2fafcb6dca1519727b5
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/awscli/customizations/s3/s3handler.py
c95c4015d9c5e017565629761a9c7883ae451dc1
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
23,299
py
# Copyright 2013 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
6cdd9ef513534aeb4a9400bcad53eefa19477095
6d97e875fb6a3dea9780d918efe33dfd59ac137d
/scripts/calc_rec_probs.py
2bc4c7f5437257ad4b4b9c2891975142f86a63be
[]
no_license
acarvalh/tth-htt
0a1350efcf76f425057c809f74d92ae3d719d008
c6bb3f2bfb6620c858d29c800be1ae1e2246904a
refs/heads/master
2021-06-20T05:29:35.657498
2018-06-02T01:34:37
2018-06-02T01:34:37
104,874,635
0
0
null
2017-09-26T11:10:10
2017-09-26T11:10:10
null
UTF-8
Python
false
false
2,950
py
from ROOT import TFile import ROOT categories = ["BB_LL", "BB_ML", "BB_MM", "BB_HL", "BB_HM", "BB_HH", "EE_LL", "EE_ML", "EE_MM", "EE_HL", "EE_HM", "EE_HH", "BE_LL", "BE_ML", "EB_ML", "BE_MM", "BE_HL", "EB_HL", "BE_HM", "EB_HM", "BE_HH"] def calc_rec_probs(infile, processes): f = TFile(infile) for p in process...
[ "andres.tiko@cern.ch" ]
andres.tiko@cern.ch
1ceef34be4f65f2c9baae4ffe8778cb490a17660
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129091734.py
095946f3367c54f7ca3a4f7faf804a6b08068a18
[]
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
8,076
py
# 东方财富网 首发申报 from datetime import datetime,timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?' headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Ap...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
65c9f4d94735b5d8ec3bd25b297f2d107ba78d57
c83e356d265a1d294733885c373d0a4c258c2d5e
/mayan/apps/documents/models/trashed_document_models.py
b01b915df45c786b9f2bae689388dabfd9ca7183
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/fall-2021-hw2-451-unavailable-for-legal-reasons_6YX3
4160809d2c96707a196b8c94ea9e4df1a119d96a
0e4e919fd2e1ded6711354a0330135283e87f8c7
refs/heads/master
2023-08-21T23:36:41.230179
2021-10-02T03:51:12
2021-10-02T03:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from mayan.apps.events.classes import EventManagerMethodAfter from mayan.apps.events.decorators import method_event from ..events import event_trashed_document_restored from ..managers import TrashCanManager from .document_models import Document __all__ = ('TrashedDocument',) class TrashedDocument(Doc...
[ "79801878+Meng87@users.noreply.github.com" ]
79801878+Meng87@users.noreply.github.com
f320319b03d47c6fb1820eed7a74123132d8126f
b059c2cf1e19932abb179ca3de74ced2759f6754
/S20/day03/02作业.py
56e199fe792866eaf71cd248d1ce258e423277ee
[]
no_license
Lwk1071373366/zdh
a16e9cad478a64c36227419d324454dfb9c43fd9
d41032b0edd7d96e147573a26d0e70f3d209dd84
refs/heads/master
2020-06-18T02:11:22.740239
2019-07-10T08:55:14
2019-07-10T08:55:14
196,130,277
0
0
null
null
null
null
UTF-8
Python
false
false
7,842
py
# 有变量name = "aleX leNb" 完成如下操作: # 1. 移除 name 变量对应的值两边的空格,并输出处理结果 # # name ='aleX leNB' # print(name.strip()) # 2. 移除name变量左边的"al"并输出处理结果 # name ='aleX leNB' # print(name[2:]) # 移除name变量右⾯的"Nb",并输出处理结果 # name='aleX leNB' # print(name[0:7]) # 移除name变量开头的a"与最后的"b",并输出处理结果 # name='aleX leNB' # # print(name[1:8]) # 判断 nam...
[ "1071373366@qq.com" ]
1071373366@qq.com
bd5492b6bec1f6e3280cbd6bf2c71e883c29edac
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=69/sched.py
921e6e054d0d3ab3a119fcc51f90853d86f0b4cf
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
-X FMLP -Q 0 -L 3 103 300 -X FMLP -Q 0 -L 3 89 300 -X FMLP -Q 0 -L 3 81 400 -X FMLP -Q 1 -L 2 77 300 -X FMLP -Q 1 -L 2 64 400 -X FMLP -Q 2 -L 2 59 200 -X FMLP -Q 2 -L 2 54 175 -X FMLP -Q 3 -L 1 42 250 -X FMLP -Q 3 -L 1 39 250 32 150 29 150 28 175 28 125 26 175 24 250 20 300 16 150 13 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
06fde46f14519931629dcd804ce8b5d896403fd6
cef574422ec96cc972733812f78b8f777a934326
/first/drow_circle.py
976d039d5df39e66cf4054eae764bfd8de493bd7
[]
no_license
ducksfrogs/pyGame2
6aa1f01743fc3bd8df4149f090a5ac63d72686a9
17fc545fa66a2d091127cfd4d5779b1e5d3385e4
refs/heads/main
2023-02-25T13:42:33.719568
2021-01-31T02:49:11
2021-01-31T02:49:11
323,764,411
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
"""Draw circle """ import sys import pygame from pygame.locals import QUIT, Rect pygame.init() SURFACE = pygame.display.set_mode((400,300)) FPSCLOCK = pygame.time.Clock() def main(): """ Main routine """ while True: for event in pygame.event.get(): if event.type == QUIT: ...
[ "ma_yamaki@yahoo.com" ]
ma_yamaki@yahoo.com