blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
6251d68f138a9b14476759cfdce97fd773872ec8
12123592a54c4f292ed6a8df4bcc0df33e082206
/py3/pgms/sec8/Extend/ctypes/convs.py
616830fa1e5821bc2a04d9cde8ded2752fa0ab67
[]
no_license
alvinooo/advpython
b44b7322915f832c8dce72fe63ae6ac7c99ef3d4
df95e06fd7ba11b0d2329f4b113863a9c866fbae
refs/heads/master
2021-01-23T01:17:22.487514
2017-05-30T17:51:47
2017-05-30T17:51:47
92,860,630
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
#!/usr/bin/env python3 # convs.py - ctype conversions from ctypes import * # load shared library mylib = CDLL("./mylib.so") # double mult(double, double) mylib.mult.argtypes = (c_double, c_double) mylib.mult.restype = c_double # call C mult() function print(mylib.mult(2.5, 3.5)) ####################################...
[ "alvin.heng@teradata.com" ]
alvin.heng@teradata.com
7f6063443980fa7eed25912a3dd0b1c477be9440
9940a37b520a57ed00e85e2d54991b117ce1a646
/leetcode/python/binary_tree_postorder_traversal.py
0dd3ecf67a7204502c52faa593b7ddf21fa20923
[]
no_license
rioshen/Problems
e36e528f49912ff233f5f5052a7ca8ac95be4f0a
1269b05a51e834e620d0adf4c3a10fe1a917b458
refs/heads/master
2020-12-03T19:37:38.281260
2015-04-09T17:46:59
2015-04-09T17:46:59
29,544,782
1
0
null
null
null
null
UTF-8
Python
false
false
512
py
#!/usr/bin/env python class Solution: def postorderTraversal(self, root): if not root: return [] result, stack = [], [] prev, curr = None, root while curr or stack: if curr: stack.append(curr) curr = curr.left else:...
[ "rioxshen@gmail.com" ]
rioxshen@gmail.com
49377535fc22c5ee93cad59f6aa76251d7a6bdee
451c79cfe8cbf4a9e4301c8b8c8c4c99768274c1
/posenet_pytorch_evaluate.py
d0b7a83e5d6017047b66c3a55a5b58e5cb4a9eeb
[]
no_license
wang422003/Code_Master_Thesis
0662f41e24cb169b2e62215898037cae70e37cef
62735f606b2220003b5d1aed0cb2f1330c4453d7
refs/heads/master
2022-04-17T18:43:41.462140
2020-04-16T14:31:52
2020-04-16T14:31:52
256,230,086
0
0
null
null
null
null
UTF-8
Python
false
false
3,481
py
import os import argparse from pytorch_data import get_loader from posenet_torch_solver import SolverPoseNetEvaluate from torch.backends import cudnn def main(config): cudnn.benchmark = True data_loader = get_loader(config.model, config.image_path, config.metadata_path, config.mode, config.batch_size...
[ "noreply@github.com" ]
wang422003.noreply@github.com
627323e27a09dc5c117409415c9142032f3337b7
bbf0f7cc8afd4d8de241211617051923d540e701
/Licenta2020CrivoiAndrei/Piano Follower/PianoManagerToplevel.py
4adbe94d5c44342bb36ff34349d2a46a88f6d352
[]
no_license
Crivoi/PianoFollower
f1c0e11a9cd7a23ec11018676ebadd9fce4fb2b1
90601bef5969f188d9d53fdceaa061147233f786
refs/heads/master
2022-03-31T18:56:40.816825
2020-02-12T16:39:58
2020-02-12T16:39:58
238,552,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
try: import Tkinter as tk import TkFileDialog except ImportError: import tkinter as tk from tkinter import filedialog from DefaultToplevel import DefaultToplevel from MidiManager import MidiManager class PianoManagerToplevel(DefaultToplevel): def __init__(self, parent): self.midi_object =...
[ "andrei.crivoi1997@gmail.com" ]
andrei.crivoi1997@gmail.com
4dd4ef0331f98f983cbcd659ff8e1be4bc3723c5
f382030d3e054490c46da8e6a2a86c3f13149cfb
/Test/Profile/views.py
9cc36837f5b8a7537160d20e7a7b36544613373c
[]
no_license
Astily/TestTask_Django
048c2c4c48daacfbf93f39ce74b57833e3538ba2
ccaf2d6703b7a6a86afe7169c12ad1f62e0b8fbd
refs/heads/master
2020-04-03T17:13:23.593912
2018-10-31T14:54:34
2018-10-31T14:54:34
155,435,455
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
from django.contrib.auth.decorators import login_required from django.http import HttpResponse from django.shortcuts import render, get_object_or_404, redirect from django.http import Http404 from django.urls import reverse from .forms import CustomUserForm from .models import CustomUser, IpUsers def index(request):...
[ "nikita@novikoff.pp.ua" ]
nikita@novikoff.pp.ua
86b6e7d3332dc5f4925a2df4a4b96fb09ce525fd
5eb8c1f285837846a8fad3c08b7e9d89019ea2f8
/character.py
ff633ed151b34f4aa96727b54fc995962db94d70
[ "MIT" ]
permissive
RitikShah/hopper
cdd9e516eae39bd3d078aa30055433e32d384528
85503f9fae11124d40a7c1433102a7bdf56ba420
refs/heads/master
2020-03-07T21:06:07.870001
2018-04-02T18:33:58
2018-04-02T18:34:26
127,717,485
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
from color import * import random from entity import * import pygame class Character(Entity): def __init__(self, posx, posy): super().__init__(posx, posy, 5) self.grav = 1 self.xspeed = 5 self.floorlevel = 100 self.jumpheight = 15 self.jumps = 0 self.maxjumps = 1 self.spacehold = False def u...
[ "shah10.ritik@gmail.com" ]
shah10.ritik@gmail.com
d710f047198a283c91cddbb86877ac0c4ecc62e7
4b670f0efaadb56b1770bc387e07a6d1439ab1b6
/GUI/PlottingWidgets.py
cc8685b662ee49a0ffb775f3eac16877a05bb679
[]
no_license
xyt556/Scattering_Analysis
f2e8e18fb353a36b73ec7792428c3ac9e91152de
4a98b34ec8ac122da5077e08432782c591857f56
refs/heads/master
2021-01-21T15:03:59.213412
2017-04-14T07:55:27
2017-04-14T07:55:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,376
py
import matplotlib as mpl mpl.use("Qt5Agg") from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar from matplotlib.figure import Figure from matplotlib import lines import logging import numpy as np from Py...
[ "Castro@Nicolos-MacBook-Pro-2.local" ]
Castro@Nicolos-MacBook-Pro-2.local
13ba32c6e2a103795a5cafba7f437334176ac67e
d5fbb40c8fa95970a6b1dd10920071a3330c6de8
/src_d21c/in_theta.py
428938d97f7d9d9e57abdd3f26b45e3ee98844aa
[]
no_license
Pooleyo/theta.py
622000e04a7834a7b12d371337992f6063c3f332
7bdf96f7494db7fda8dbe8d1e8bb536a5b39e39d
refs/heads/master
2021-06-18T06:03:47.176742
2019-09-18T16:02:02
2019-09-18T16:02:02
137,497,437
0
0
null
null
null
null
UTF-8
Python
false
false
1,561
py
test_mode = True image_files = ['3x3_pixel_value_1.tif'] # "PSL_plate4_s10257_BBXRD.tif"#"3x3_white_test_image.tif"##"Nb_test_image.png" # #"PSL_plate4_s10257_BBXRD.tif"#"Nb_test_image.png"# source_position = [[50.0, 0.0, 49.8]] # In mm normal = [[-25.6, 0.0, 12.7078]] # [-10.0, 0.0, 10.0] # The normal to the pl...
[ "ajp560@york.ac.uk" ]
ajp560@york.ac.uk
c625c91f36b9023bdda7ad7f8346b9bde769ae1b
63b0fed007d152fe5e96640b844081c07ca20a11
/ABC/ABC300~ABC399/ABC300/e.py
9ba33d532fb2e724f862b0ad868328126a7e1249
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from functools import lru_cache def modinv(a: int, m: int) -> int: ''' モジュラ逆元 ax mod m =1の解x=a^(-1)を返す Parameters ---------- a:int m:int ''' x, y, u, v = 1, 0, 0, 1 M = m while m > 0: k = a//m x -= k*u y -= k*v x, u = u, x y, v = v, ...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
6938f0bc75372893e1b90af44297d7efdbdabe3c
2d2ef049d450ef9ac6459bcdd1ea25fccc0305d5
/loadTimeEstimator.py
b1f03e7172b7ba44449aeb4afa1aa99899599ebb
[]
no_license
iotmember/code-fights
fc119f53cc42f9fea8a40f43335d93d076c92e9d
e7f1fdb9d5068bd2ed67d9df07541f306097bd19
refs/heads/master
2021-05-31T06:03:41.497371
2016-04-08T05:40:39
2016-04-08T05:40:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
import sys def loadTimeEstimator(sizes, uploadingStart, V): finish_time = [x for x in uploadingStart] t = [0 for x in uploadingStart] c = len(sizes) time_ = 0 curr_time = uploadingStart[0] while (c > 0): index_of_uploading_start = [i for i, x in enumerate(uploadingStart) if x == curr_ti...
[ "nasa.freaks@gmail.com" ]
nasa.freaks@gmail.com
ff64debff15d72ec3bafdf254c48b07687cfa1bc
fa9d297de5b007e249511191ad9ce99ebf07d640
/Nodoterreno.py
20f1479c82ccc1144086393825b8ba26671f37e8
[]
no_license
LuisBarrera23/IPC2_Proyecto1_202010223
0eb9e4e86151a8fae6ea4730b8e666228901e31b
740dbb1cddf9a80c079503c732eb2998197d7382
refs/heads/main
2023-08-09T22:32:14.116505
2021-08-30T03:46:56
2021-08-30T03:46:56
394,154,522
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
class nodoterreno: def __init__(self,terreno=None,siguiente=None): self.terreno=terreno self.siguiente=siguiente
[ "luisbarrera5662@gmail.com" ]
luisbarrera5662@gmail.com
e3c70a06800823605b23e90caeeb6c3cb91014cd
ca7d9df0890b0eed1b153737bc67afcd5494d11e
/iocpuller.py
9461edc31b6e0e7e00f513b673acc24a4ff58bd6
[]
no_license
KMCGamer/iocpuller
b219bdaf5ca412c9b910a3d46d911d079bb791f6
0c2ded1bb5f6611d932a5c62c7968f9fe949bfe8
refs/heads/master
2021-03-27T10:36:01.346459
2018-02-05T21:28:31
2018-02-05T21:28:31
120,359,665
0
0
null
null
null
null
UTF-8
Python
false
false
14,791
py
#!/usr/bin/python -u # -*- coding: utf-8 -*- import bisect import logging import re import requests import argparse class color: BOLD = '\033[1m' UNDERLINE = '\033[4m' END = '\033[0m' # ----------------------------------------------------------------------------- # Locations and Constants VERSION = "2.1.1" INTEL...
[ "KMCGamer@live.com" ]
KMCGamer@live.com
9d086a9a5e0386554d865c16beaba00a2871db2a
b2eddd579b39c68884372f71808453d6f50668ae
/step_1_capture_tweets.py
1c627d8604c2638e383b809d5c952e809c27ef47
[]
no_license
PhilipGuo1992/csci_5408_assign_2
32214185b43ca9086c48ae0ecfb5d291b1afc23b
39eb825a2768288746bc678892146fe0a067e384
refs/heads/master
2020-03-19T12:23:03.344155
2018-06-07T21:16:03
2018-06-07T21:16:03
136,513,989
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
import tweepy import time import json import csv consumer_key = "z56cu40Jq1XxntXeGKLfhNZnk" consumer_secret = "NWsAOtbQ4lVGPq7xooVbE21XEeMnDuFBtdTfyZzc85Czh4wKnm" access_key = "1003752992171024386-lsvEB53AROSLhKGJgEchdgajkBJTIC" access_secret = "NV7vVHJX3FrGJFm1fx7hivxKBLOfVom34gYAJeaUEklX1" auth = tweepy.OAuthHandl...
[ "philipguo1992@gmail.com" ]
philipguo1992@gmail.com
44efa17d2f52a95bd7265e1773831210ac6db66a
a06c9d95093f8c33aefb13d5a46c1466c43cc1e8
/Aulas/aula 3/aula3.py
fc75a2811210d51ced11feea1e4e87795a300c9f
[]
no_license
danrleydaniel/pygame
3b7062a24ce1659f1c23bff70af0a372fba0f5c7
9de33102920d021a5f28b79a8fd04ba89e9c07f2
refs/heads/main
2023-08-14T16:27:00.766939
2021-09-30T17:08:56
2021-09-30T17:08:56
307,095,908
1
0
null
null
null
null
UTF-8
Python
false
false
470
py
import pygame def main(): pygame.init() tela = pygame.display.set_mode([300, 300]) pygame.display.set_caption("Iniciando com Pygame") relogio = pygame.time.Clock() cor_branca = (255,255,255) sup = pygame.Surface((200, 200)) sair = False while sair != True: for event in pygame.event.get(): if event.type ...
[ "noreply@github.com" ]
danrleydaniel.noreply@github.com
a24704b833d23a859af9ec1629f1226377f8c7ea
5dfbfa153f22b3f58f8138f62edaeef30bad46d3
/bill_ws/build/bill_description/catkin_generated/pkg.develspace.context.pc.py
d846aac1c29db5d24fa24af24e101a5ae58bdccd
[]
no_license
adubredu/rascapp_robot
f09e67626bd5a617a569c9a049504285cecdee98
29ace46657dd3a0a6736e086ff09daa29e9cf10f
refs/heads/master
2022-01-19T07:52:58.511741
2019-04-01T19:22:48
2019-04-01T19:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "bill_description" PROJECT_SPACE_DIR =...
[ "alphonsusbq436@gmail.com" ]
alphonsusbq436@gmail.com
7c4ca5b5dfae96a3696b405eff6c615b26b86332
4c873560c66ce3b84268ad2abcd1ffcada32e458
/examples/scripts/csc/gwnden_clr.py
d382225550d6ce93e6a690716a2697b9e384579a
[ "BSD-3-Clause" ]
permissive
wangjinjia1/sporco
d21bf6174365acce614248fcd2f24b72d5a5b07f
c6363b206fba6f440dd18de7a17dadeb47940911
refs/heads/master
2023-04-02T01:10:02.905490
2021-03-29T14:20:57
2021-03-29T14:20:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,966
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the SPORCO package. Details of the copyright # and user license can be found in the 'LICENSE.txt' file distributed # with the package. """ Gaussian White Noise Restoration via CSC ======================================== This example demonstrates t...
[ "brendt@ieee.org" ]
brendt@ieee.org
02cf011d3d9b1895c848c8f25e71c77dc301fdcf
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Simulador_20200708161311.py
cbf32fa7cf0f64a93631d4928bd7f10dc6a1caf5
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
12,983
py
import pandas as pd import numpy as np from Matriz_esferica import Matriz_esferica from Individuo import Individuo, Fabrica_individuo import random from itertools import permutations import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap class Simulador(): def __init__( self, ...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
194d85d0f80ef569c614a64fab89b028bebb7e25
d4239e239bab52585a2e4409353a6312f5f3f351
/VBACodesEditor.py
1478a84a4bcbfdf44a420a36c1422c589dfda133
[]
no_license
Liu373/Python_VBACodesEditor
03d10d8f509766ce43b22a60d3559cb8c2698689
7bc5fed35f1b1f8cba4c86fff257e3c18930ae04
refs/heads/main
2023-08-11T12:12:28.882375
2021-09-21T14:13:45
2021-09-21T14:13:45
401,190,107
1
0
null
null
null
null
UTF-8
Python
false
false
22,377
py
import comtypes.client import win32con import win32com.client import commctrl import time import threading import win32gui import os import tkinter as tk from tkinter import ttk import glob import logging import ctypes user32 = comtypes.windll.user32 flag = False dir_path = os.path.dirname(os.path.realpath('__file__...
[ "noreply@github.com" ]
Liu373.noreply@github.com
1eb48a906c41d240228e260d96f74a91e308d423
2afb1095de2b03b05c8b96f98f38ddeca889fbff
/web_scrapping/try_steam_parse.py
f76504a9eb079147e18d2455c67b424ba847329a
[]
no_license
draganmoo/trypython
187316f8823296b12e1df60ef92c54b7a04aa3e7
90cb0fc8626e333c6ea430e32aa21af7d189d975
refs/heads/master
2023-09-03T16:24:33.548172
2021-11-04T21:21:12
2021-11-04T21:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
import glob import pandas as pd from bs4 import BeautifulSoup df = pd.DataFrame() df1 = pd.DataFrame() df2 = pd.DataFrame() for one_file in glob.glob("steam_html_file/*.html"): f = open(one_file, "r", encoding= "utf-8") soup = BeautifulSoup(f.read(),"html.parser") items = soup.find("div...
[ "13701304462@163.com" ]
13701304462@163.com
ab5123e5c40629e5280e10236c6abe7c03e7a859
07e22b0a383fb0fc198ccd76d51e8b1481aa4d8e
/account/migrations/0001_initial.py
b54fe0b4de9605143ffb4a10cf3027c9b6307492
[]
no_license
Shivangi438/demo3
fb43bbf4b32bb1bad1c01841289b6d76f503e8dc
fa73ee485b2175f8abbd7dbc31149157e4fa52a1
refs/heads/master
2022-12-08T22:34:46.621994
2020-09-13T08:19:46
2020-09-13T08:19:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
# Generated by Django 3.1 on 2020-09-06 07:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ...
[ "shpy3296@gmail.com" ]
shpy3296@gmail.com
472327499a42ace71b4610362be969074821b053
8d9c8fd1f8bbdee01bf0bb685feee7f5980484a8
/RNN_generacion_nombres.py
3a4fe0bf8dbf2b00a8324320f8970842e4fe12d7
[]
no_license
avenegascaleron/ejemploRNN
e2784afa2539c959a9799916ecd32bf91fb5dd87
8c8e6823bf6adac7b32d892e88ce13203a7e11c5
refs/heads/main
2023-01-28T08:59:29.230064
2020-12-01T12:53:20
2020-12-01T12:53:20
317,540,069
0
0
null
null
null
null
UTF-8
Python
false
false
4,988
py
import numpy as np np.random.seed(5) from keras.layers import Input, Dense, SimpleRNN from keras.models import Model from keras.optimizers import SGD from keras.utils import to_categorical from keras import backend as K # 1. LECTURA DEL SET DE DATOS # =======================================================...
[ "noreply@github.com" ]
avenegascaleron.noreply@github.com
44b8b15712428540ec8bb8881ed03e41fb5bbabc
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit2167.py
0d743940a6f806b63db35149af9e8542d6728277
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,035
py
# qubit number=4 # total number=37 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
791cb6aa33976e681d1eda201b25780a2d473025
4a4ae0208909f3297021977bcb7733d71d8d1321
/main.py
cb9a2c85d4c497787c93a7502e37f8f948091e48
[ "MIT" ]
permissive
weishan-Lin/rl-tf2
1f52c55df1974ac093969fa0f21c0f955852e6f8
7474df2c6ba9980dccf8946fa95942fe2382cd65
refs/heads/main
2023-08-05T17:05:22.205615
2021-10-04T00:08:55
2021-10-04T00:08:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
import tensorflow as tf import gym from rl_tf2.agents.ddpg.actor_network import Actor from rl_tf2.agents.ddpg.critic_network import Critic from rl_tf2.agents.ddpg.ddpg_agent import DDPG import yaml with open('config.yml', 'r') as f: config = yaml.load(f, Loader=yaml.FullLoader) env = gym.make(config['env']) if c...
[ "xjygr08@gmail.com" ]
xjygr08@gmail.com
38c048053b17d136f49564e67551e3075fbf6610
f866b2f3450fe6ebdf17fb853bcd27710548b928
/eleanor/postcard.py
6727126d4ad4a849a17947d41f7ccad2bf96a427
[ "MIT" ]
permissive
viyangshah/eleanor
5efdb5e33506d0105a2617eee9e4c414df645f2b
7b3393be544854d9a5272f6ce8a4695fdf3a3609
refs/heads/master
2020-06-07T08:06:15.549143
2019-06-20T17:05:34
2019-06-20T17:05:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,079
py
import os, sys from astropy.io import fits import matplotlib.pyplot as plt from astropy.wcs import WCS import numpy as np import warnings import pandas as pd import copy from .mast import crossmatch_by_position from urllib.request import urlopen __all__ = ['Postcard'] class Postcard(object): """TESS FFI data fo...
[ "bmontet@uchicago.edu" ]
bmontet@uchicago.edu
c6b5593b63f105914856900aebbc5be8af1a513d
7e90a1f8280618b97729d0b49b80c6814d0466e2
/workspace_pc/catkin_ws/cartographer_ws/build_isolated/jackal_navigation/catkin_generated/generate_cached_setup.py
4daf5fb9eb5f1b0d60987d0c7e079fc39de7971f
[]
no_license
IreneYIN7/Map-Tracer
91909f4649a8b65afed56ae3803f0c0602dd89ff
cbbe9acf067757116ec74c3aebdd672fd3df62ed
refs/heads/master
2022-04-02T09:53:15.650365
2019-12-19T07:31:31
2019-12-19T07:31:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "sh9339@outlook.com" ]
sh9339@outlook.com
68a5dfb492a916a1c01d489302bca9f55e915fb8
11b13e5c0a5286a6877ecb4f24c5c8b4d69e26d2
/GMM/fit.py
b7ba45670ecd81c904c15dac50d67c4e52bf6683
[]
no_license
ruozhengu/machine-learning-model-by-scratch
bcf015b6b7fd768304749858c4006864257b747c
bd4b1da212c5a1626ce89d4cdafc0fe6a6cf1f05
refs/heads/master
2022-11-14T03:06:17.768123
2020-07-14T07:15:03
2020-07-14T07:15:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
from GMM import EM import numpy as np from keras.datasets import mnist from sklearn.decomposition import PCA def fit_and_eval(): k = 5 # load data n_train = 60000 n_test = 10000 x_eval = np.zeros((n_test, 5)) y_heta = np.zeros((n_test, 1)) size = 28 # size of image is 28 pixels (x_...
[ "gu.gabriel@hotmail.com" ]
gu.gabriel@hotmail.com
88bd4a7be1bb90e388797cbac655dfadd940bb34
00635315cacca50f08685e25e5f3e4bcbd1a287b
/Django_citas/settings.py
79adbac223b724818dc1584b145dadb433951f3c
[]
no_license
DiegoArredo/Django-Citas
ceda2f6f93390f199dd2d4d6b7cc687a82bac07f
d205488dd363526ce06e6a63a881b05329af6937
refs/heads/master
2023-08-03T21:05:23.436404
2021-09-13T01:51:45
2021-09-13T01:51:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,297
py
""" Django settings for Django_citas project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pa...
[ "diego.arredo18@gmail.com" ]
diego.arredo18@gmail.com
96a2513a19ec5ef5b4cef589ef45c1624ee248cb
117f066c80f3863ebef74463292bca6444f9758a
/data_pulling/crypto/do.py
33e917485159521a9e506bfcba5606efbf76ad82
[]
no_license
cottrell/notebooks
c6de3842cbaeb71457d270cbe6fabc8695a6ee1b
9eaf3d0500067fccb294d064ab78d7aaa03e8b4d
refs/heads/master
2023-08-09T22:41:01.996938
2023-08-04T22:41:51
2023-08-04T22:41:51
26,830,272
3
1
null
2023-03-04T03:58:03
2014-11-18T21:14:23
Python
UTF-8
Python
false
false
1,908
py
import pandas as pd import pyarrow as pa import pyarrow.parquet as pq import os import glob import inspect def get_pandas_read_csv_defaults(): # probably fragile i = inspect.getfullargspec(pd.read_csv) v = i.defaults k = i.args[-len(v):] kwargs = dict(zip(k, v)) return kwargs _mydir = os.path....
[ "cottrell@users.noreply.github.com" ]
cottrell@users.noreply.github.com
d038c06c6c4f20653a17f5fb33b4d16d637fb9be
66acbd1f601e00f311c53a9ce0659e5b56c87fef
/pre_analysis/observable_analysis/topc4mcintervalanalyser.py
508e973104b53d9e4245701856db48d1f55c9b6c
[ "MIT" ]
permissive
hmvege/LatticeAnalyser
fad3d832190f4903642a588ed018f6cca3858193
6c3e69ab7af893f23934d1c3ce8355ac7514c0fe
refs/heads/master
2021-05-25T11:46:30.278709
2019-04-11T14:14:23
2019-04-11T14:14:23
127,303,453
0
1
null
2018-10-12T21:09:58
2018-03-29T14:29:14
Python
UTF-8
Python
false
false
601
py
from pre_analysis.core.flowanalyser import FlowAnalyser class Topc4MCIntervalAnalyser(FlowAnalyser): """Class for topological charge with quartic topological charge.""" observable_name = r"$\langle Q^4 \rangle$" observable_name_compact = "topc4MC" x_label = r"$\sqrt{8t_{f}}$ [fm]" y_label = r"$\lan...
[ "hmvege@ulrik.uio.no" ]
hmvege@ulrik.uio.no
5556284697c83072c5f8adcd31eebd42bde99e85
9acff625f8a82c510b23213e4eed9b5c94d84580
/analyze.py
f25e88e4b51899131cd7e4beff16375ee7ff65f8
[]
no_license
jennalau/lyft-data-challenge
69b970b4214e63abd9f34cb3c31cbf0e571b9c08
d3c6cac9807de0aaa87d31f87e237a26bb487672
refs/heads/master
2020-07-08T12:48:12.376898
2019-09-16T17:32:58
2019-09-16T17:32:58
203,675,863
0
0
null
null
null
null
UTF-8
Python
false
false
3,894
py
from utils import * import pandas as pd import seaborn as sns; sns.set() import matplotlib.pyplot as plt def calcTotalDrivingMin(data): """ calculate mean # of driving min for all drivers for all days data shape = (122, 46, 24) """ total = [] for i in range(0,24): total.append([0,0,0]) ...
[ "jennanla@usc.edu" ]
jennanla@usc.edu
1a321791650a05c8b77ab5c95f563d2f6b201961
0dcbcf0ed0e19a7406e85f1f5f4f957ab2a6975b
/plasTeX/Packages/listings.py
2f163dd70fae8b9761fbc3de9bcdb434e5da17b3
[ "MIT" ]
permissive
rsbowman/plastex-mobi
aa3762ffb9e48f8c2120a79c7ed4c2e2717e3308
8ea054c63e9deb9dd302d950e636256f9e5e75e9
refs/heads/master
2021-01-19T18:32:12.720364
2014-06-30T12:07:45
2014-06-30T12:07:45
21,349,475
0
1
null
null
null
null
UTF-8
Python
false
false
3,849
py
#!/usr/bin/env python import sys, re, codecs from plasTeX import Base try: import pygments except: pygments = None class listingsname(Base.Command): unicode = 'Listing' PackageOptions = {} def ProcessOptions(options, document): document.context.newcounter('listings', re...
[ "r.sean.bowman@gmail.com" ]
r.sean.bowman@gmail.com
1253730c187a79635a06e3f974cfc757d73a20e1
909323b8a1baca96711a0b5285b5af233dda70ae
/01 PY0101EN Python Basics for Data Science/Module 2 - Python Data Structures/Dictionaries.py
d10c9175548d0ef9e261c71bd20ee73ffbb837f1
[]
no_license
ekmanch/IBM-Python-Data-Science
629084c104294c0dcd67a592f514c5b160859fcb
813a8bde137b90b4dfd74387b263987c06e08ba7
refs/heads/main
2023-03-28T06:08:34.161225
2021-03-20T18:37:32
2021-03-20T18:37:32
330,181,878
1
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
###################################### # Dictionaries Lab 1 ###################################### # You will need the dictionary D: from typing import Dict D={'a':0,'b':1,'c':2} # Find the value for the key 'a' print(D['a']) # Find the keys of the dictionary D print(D.keys()) ################################...
[ "christian.ekman89@gmail.com" ]
christian.ekman89@gmail.com
8ef604e567085a98f8973285131c2bdfcfa87320
45db4a55c6bd5137b17bf8dfa54ed94f361c3bf6
/ResonantCircuits/parallelResonantCircuit.py
913cbbe0b0728612811e4e777255d1dfd7520aae
[]
no_license
CatT-DancingDev/PythonProjects
1be3e8f0b0528be1ccbe8aeadb76ac8a5f9961ae
7b59d9b1843eaddb9254f980f178d6e8ba551106
refs/heads/main
2023-04-15T08:06:25.240981
2021-04-25T04:13:15
2021-04-25T04:13:15
361,327,469
0
0
null
null
null
null
UTF-8
Python
false
false
3,878
py
################################################################################################### # # Program: Resonant Circuit Design # Module: parallelResonantCircuit.py # Author: Catherine Trujillo # Course: CSC 217-470 # Date: 7/07/2020 # ####################################...
[ "noreply@github.com" ]
CatT-DancingDev.noreply@github.com
d4796b17e0004688ffac671106272d188dbca7d6
1cbc8d9b99e5ac8397a857f4c20adb5c7662171f
/helloworldapp/helloworldapp/__init__.py
84707a415502114026b8c35a4e51bdbdfc478844
[]
no_license
six0h/helloworldapp
255cc08a41317c040c8ad150a8f0246309055a45
311aa2c5df5aef763d068e879541b8f77ff1a062
refs/heads/master
2021-01-19T22:34:29.180128
2017-04-20T15:03:04
2017-04-20T15:03:04
88,826,187
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
# -*- coding: utf-8 -*- __author__ = """Cody Halovich""" __email__ = 'me@codyhalovich.com' __version__ = '0.1.0'
[ "cody@savtechnology.com" ]
cody@savtechnology.com
b84e755e93027b2789dea29567569defeb59a598
40f6176d172025c7061d3c1fe027628c06c86f39
/setup.py
015a81e636e7c57885954242016210af5a43c5c7
[]
no_license
rsriram315/eds_covid-19
8adca890fcf93552b9761036d6b268213afd10bc
528695a430ff13c9dcc6e969ebf1f7988e26c434
refs/heads/master
2022-12-07T16:38:21.071965
2020-09-01T20:25:40
2020-09-01T20:25:40
291,678,422
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Applied Data science on COVID-19 Data', author='Sriram Ramachandran', license='', )
[ "rsriram315@gmail.com" ]
rsriram315@gmail.com
f5442a5cd16a2677c528d2570c555dac671f2270
43535a0667aa1d745fdd718bb8c81b2e616633be
/SLQ/sess_4/4a_citycycle.py
d33344469ec0bc4abccf20a9fea8994831d47573
[]
no_license
anniequasar/session-summaries
25336afe94b5033ae009bd124e00d4adf4748a99
acc17b640e1a737e70b310cb2c8ce21aac35c6da
refs/heads/master
2023-08-08T03:01:43.030746
2023-07-19T01:41:34
2023-07-19T01:41:34
165,978,720
17
11
null
2022-04-26T07:43:49
2019-01-16T05:20:31
Jupyter Notebook
UTF-8
Python
false
false
2,134
py
# Author: Tim Cummings # See https://data.brisbane.qld.gov.au for other data sets # Register at https://developer.jcdecaux.com/ to get an api_key # contract list GET https://api.jcdecaux.com/vls/v1/contracts?apiKey={api_key} HTTP/1.1 # station list GET https://api.jcdecaux.com/vls/v1/stations?contract={contract_na...
[ "noreply@github.com" ]
anniequasar.noreply@github.com
37b0f73442e6b0db42d0419136e19faef5f2f973
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/tacaribe_mammarenavirus.py
7f62021e43d0f87c81e26077042b3721995eee6d
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
"""Dataset with 'Tacaribe mammarenavirus' sequences. A dataset with 5 'Tacaribe mammarenavirus' sequences. The virus is segmented and has 2 segments. Based on their strain and/or isolate, these sequences were able to be grouped into 4 genomes. Many genomes may have fewer than 2 segments. THIS PYTHON FILE WAS GENERATE...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
a83ca6ce05b21ca251fbaf60b2b466a01099eeb9
8fe8294460dd743534d0c10a9288da3f3d2ae155
/scripts/mimic3benchmarks_inhospital_mortality/predictions_collapsed/zzz_old_code/train_random_forest_with_per_tslice_features.smk
b0244edb0bbd708ce40fd4f097f44524bbe9cd1d
[ "MIT" ]
permissive
tufts-ml/time_series_prediction
32132a6c0d17ce196ea97b55387ea27fa18ba6e3
831c388d8854773b7545a3a681a596f7c2d98dff
refs/heads/master
2023-04-08T20:03:05.647403
2022-07-19T19:10:06
2022-07-19T19:10:06
161,347,900
8
7
MIT
2023-03-24T22:43:26
2018-12-11T14:40:58
Jupyter Notebook
UTF-8
Python
false
false
2,764
smk
''' Train random fores on collapsed features for mimic3 inhospital mortality Usage ----- snakemake --cores 1 --snakefile train_random_forest.smk train_and_evaluate_classifier ''' sys.path.append('../predictions_collapsed/') from config_loader import ( D_CONFIG, DATASET_STD_PATH, DATASET_SPLIT_PATH, PROJ...
[ "prath01@alpha001.lux.tufts.edu" ]
prath01@alpha001.lux.tufts.edu
47b0fad3467437ec0622fddde5ff65dbed7f685e
a306e621d15d6287f75c8e4f22329da810408605
/tests/test_distance.py
2500daf3774b7e965c5bd7d243e4f01b24e8e026
[ "MIT" ]
permissive
moble/quaternionic
c6175a8e5ff57fbb9d2f2462bc761368f3b4fa66
074b626d0c63aa78479ff04ed41638931ca6693a
refs/heads/main
2023-06-08T08:21:46.827232
2023-02-07T17:36:31
2023-02-07T17:36:38
286,745,519
73
7
MIT
2023-05-27T12:19:43
2020-08-11T13:00:26
Python
UTF-8
Python
false
false
3,116
py
import warnings import numpy as np import quaternionic import pytest @pytest.mark.parametrize("rotor,rotation,slow", [ # pragma: no branch (quaternionic.distance.rotor, quaternionic.distance.rotation, True), quaternionic.distance.CreateMetrics(lambda f: f, quaternionic.utilities.pyguvectorize) + (False,) ], ...
[ "michael.oliver.boyle@gmail.com" ]
michael.oliver.boyle@gmail.com
070f9fae7f4af5744ad3cfe5bb1332147cfc2637
13b22a505cbeed3f88653cd379d72ff797068935
/jenkins_jobs/builder.py
b1b23e2cbe8696c73572efdde25edc35e4f7181d
[ "Apache-2.0" ]
permissive
jaybuff/jenkins-job-builder
af88e4dfd7fe99d17b5e87f2058c0e99cda1d4bd
e3e8f6363f515051e94dc9ebb3ec1473857e4389
refs/heads/master
2021-01-15T17:51:28.890445
2013-07-25T16:15:48
2013-07-25T16:15:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,875
py
#!/usr/bin/env python # Copyright (C) 2012 OpenStack, 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...
[ "jenkins@review.openstack.org" ]
jenkins@review.openstack.org
7271a590d509168d243ce7c8c3d509719a72fae1
b9c67cbe41da7743dbe46e7054844ff68a1c0fb4
/plot_tri.py
d466a28ba3e0957dc50dedc4c358bfcffd98f7ab
[]
no_license
SuperKam91/McAdam
a82c0a8f4366880566b6a1dd2c551b9572c44b22
ab2f36417cb870e611a5f43ad7854fdfc2d1e439
refs/heads/master
2021-07-18T19:44:44.144640
2018-05-06T12:33:38
2018-05-06T12:33:38
132,277,982
1
0
null
null
null
null
UTF-8
Python
false
false
3,502
py
#!/usr/bin/python26 from getdist import plots, MCSamples, loadMCSamples import getdist ch_path=[] while 1: ch_path.append(raw_input('Path to chains or q to quit: ').strip()) if ch_path[-1]=='q': ch_path=ch_path[:-1] break ch=[] for p in ch_path: ch.append(loadMCSamples(p)) pars=ch[0].getParamNames() i...
[ "kj316@cam.ac.uk" ]
kj316@cam.ac.uk
a28eb576387611a80ec9b659a172f16f38ac1fc9
34959caee120ba712b50c52a50975ad39a1b150c
/constants.py
c804cb10e6b961cc9bc6b42aa386b140d8198aea
[]
no_license
satirmo/Team-Awsomesauce
eb2f3e585b70089497f45cbd27cac21b5771f91c
13e0ec212bf6d66db5ffae9fc5ec4f74c0ed9e4c
refs/heads/master
2021-01-19T17:07:03.784179
2017-05-08T15:42:32
2017-05-08T15:42:32
88,304,980
1
0
null
null
null
null
UTF-8
Python
false
false
985
py
# Group Members : John Atti, Mark Bonadies, Tomas Carino, Aayush Shrestha, & Amanda Steidl # Project : Final Demo : Cozmo Driving Course # Course : CMPS 367 Robotics # Professor : Benjamin Fine # Date : 05.01.2016 # Main Contributor(s) of Section : Amanda Steidl # Current File : constants.py class CONST: def __ini...
[ "amanda.steidl@gmail.com" ]
amanda.steidl@gmail.com
bbba29c77ed91e9e1f9c2b9e3b0adf06c9fb0fe1
db35888bbcacc90e923fdb10312df82f03c40c60
/WHILELOOPchallenges03.py
73452b60c8cd7e9c0c4d87e8844f7b04a80decb2
[]
no_license
DiogoCondecoOphs/Y11-Python-
45b47286439865e6201114d43e4c72c5f12d77fc
d1e45ad026fd2d9f0cd36a76db51ed126a902118
refs/heads/master
2023-04-13T08:41:25.820805
2021-04-23T14:50:10
2021-04-23T14:50:10
296,599,361
1
2
null
null
null
null
UTF-8
Python
false
false
286
py
#WHILELOOPchallenges03 #Diogo.c num1= int(input("please enter a number ")) total = num1 val= "y" while val == "y": num2 = int(input("please enter another number ")) total = total + num2 val=str(input("would you like to add another number y/n ")) print("total was",total)
[ "noreply@github.com" ]
DiogoCondecoOphs.noreply@github.com
0c6e5ddba7ebbe6e00461c9af0795cf0f598a220
a2b598d8e89c1755f683d6b6fe35c3f1ef3e2cf6
/search/[boj]1072_게임_이분탐색.py
9b2ba1666cc1fce2d54fdd1b38de88a172296a19
[ "MIT" ]
permissive
DongHyunByun/algorithm_practice
cbe82606eaa7f372d9c0b54679bdae863aab0099
dcd595e6962c86f90f29e1d68f3ccc9bc673d837
refs/heads/master
2022-09-24T22:47:01.556157
2022-09-11T07:36:42
2022-09-11T07:36:42
231,518,518
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
while(1): try: X,Y=map(int,input().split()) nowPercent=int(Y*100/X) target=nowPercent+1 #a번 더 이겼을때 퍼센트 def percent(a): return int((Y+a)*100/(X+a)) if nowPercent>=99: print(-1) else: left=0 right=9...
[ "noreply@github.com" ]
DongHyunByun.noreply@github.com
28bfa6b818b26e8d7e4657da0f4649ecd145616e
120673df478f641a7a0824a074b4b26eeea2846a
/duplicates.py
95b390554f7bf9a69d11c8ab57c2255be041b061
[]
no_license
nicholsl/PythonProjects
413034434e8084a62326a31ef70f09765f180b4e
c2c76409ab0844d67257b980214158dbc83924de
refs/heads/master
2020-04-26T11:24:33.694907
2019-01-11T04:15:11
2019-01-11T04:15:11
173,515,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
## This program runs a test of knowledge # First get the test questions # Later this will be modified to use file io. def get_questions(): # notice how the data is stored as a list of lists return [["What color is the daytime sky on a clear day? ", "blue"], ["What is the answer to life, the univers...
[ "yumetaki@gmail.com" ]
yumetaki@gmail.com
d7f797ef4b5ed6b8a1b9e335a74a534bcc982d87
da349082f2dc259fc2469aacf1ad6d2ebe6ea8d3
/Exam March 28/02/02. Mountain Run.py
a922e128491cc78705aea64e97385168b8863f81
[]
no_license
lsnvski/SoftUni
0f8e80d6d8b098028f4652693cb698cacc6c2ee3
984db6a2edcfd40a98987a3d32fb5370f9793d3c
refs/heads/main
2023-01-31T13:52:29.541592
2020-12-13T12:55:15
2020-12-13T12:55:15
303,548,844
2
0
null
null
null
null
UTF-8
Python
false
false
323
py
import math record = float(input()) meter_per_sec = float(input()) time_for_meter = float(input()) time = (math.floor(meter_per_sec / 50) * 30) + (meter_per_sec * time_for_meter) if record > time: print(f"Yes! The new record is {time:.2f} seconds.") else: print(f"No! He was {time - record:.2f} seconds slower...
[ "lsnvski@abv.bg" ]
lsnvski@abv.bg
5a82148a31bf8f2f5d8fa145f859153c97c63e7d
db9247b2cf24d9f49225b5a8b6ab4918af0abde9
/Test-AWS-price-list-Details.py
c7b6b300c123593934f480bfd6eed20ed3946e28
[]
no_license
anecula/AWS-CostEstimation-Python
af599538d574130d0c62a7e63547e096c32797f7
e3e8f39f653affb58d823558693c537596b2638d
refs/heads/master
2020-04-01T14:06:49.401710
2018-10-27T08:28:14
2018-10-27T08:28:14
153,280,796
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
import argparse import boto3 import datetime parser = argparse.ArgumentParser() parser.add_argument('--days', type=int, default=30) args = parser.parse_args() now = datetime.datetime.utcnow() start = (now - datetime.timedelta(days=args.days)).strftime('%Y-%m-%d') end = now.strftime('%Y-%m-%d') cd = boto3.client('ce'...
[ "srinu24.a@gmail.com" ]
srinu24.a@gmail.com
7f0200d78f46ea457f3b02e334ed5ce822ffc726
afc3dddd1c9c7c05436af5c8b41b3215d075905a
/Intermediate 2016/increment.py
4591045221f591a06f4be5a2acfd6ea0e28512ec
[]
no_license
JohnathanLP/minecraftpython
9f5b668ea8d21ee78e1341f2099c2a4ff642a602
76d91e95128bfabb1f03f80c5a4f7f16899a270d
refs/heads/master
2021-01-17T13:02:54.784724
2016-07-15T19:06:56
2016-07-15T19:06:56
56,737,802
0
0
null
2016-07-15T19:06:58
2016-04-21T02:56:01
Python
UTF-8
Python
false
false
569
py
import os import time fout = open("timerecord.txt",'w') fout.truncate() try: limit = input("How long do you want to count? ") seconds = 0.00 #take it to the limit while seconds <= limit: os.system('clear') print seconds seconds += .01 time.sleep(.01) #one more ti...
[ "johnathanlpowell@gmail.com" ]
johnathanlpowell@gmail.com
35214fa22f54ec813cf37fce5d8abb7862d782ca
eb397d0383138412c64788834e4073e650b26212
/game.py
f4333c03688811d5f1c69dd1c6f78b05e20c6816
[]
no_license
jerseymec/Hilo
e26db92ebf99c915b1ad1f498c0ce0b252230811
236c98ec1423b13f6c3a72d1768d892bd10d7851
refs/heads/master
2020-09-22T05:34:36.101803
2019-11-30T21:57:01
2019-11-30T21:57:01
225,068,981
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
import random while True: rand_num = random.randint(1, 193) print(rand_num) if rand_num < 40: break
[ "meldoncharles@hotmail.com" ]
meldoncharles@hotmail.com
d5b4a608c9726f75c6b1686c1985c5c4f548ef98
7aff63055c63b41e39f99a87d0628383f61bee54
/Composite_index/4. Aggregation/MPI_Mazziotta_Pareto.py
d88da10caac02c1655dfd757e34c5a763c2fb8d7
[]
no_license
IacopoTesti/Spatial_Data_Science_Rome
634f39fdb5246f5fa14e8db9ec9e55b4a1d19d3d
a63adb33b4b84c28f30131c7b805bb1a50979979
refs/heads/master
2023-03-18T08:22:07.472985
2021-03-16T17:30:36
2021-03-16T17:30:36
262,096,553
2
1
null
null
null
null
UTF-8
Python
false
false
1,002
py
### This block defines the aggregation for normalization with MPI (Mazziotta Pareto Index) #### aggregation MPI is used (similar to geometric mean because the arithmetic mean is corrected by a penalty function) # all variables needed for the formula abovementioned are defined # mean of the z elements of the standardi...
[ "noreply@github.com" ]
IacopoTesti.noreply@github.com
cb6bf07d43b3538bd0f67d1273b2348a33926802
0d419daf3514e06d18107ae834ff72ae6535c04d
/pilot/pilot/controllers/error.py
45bb750651d3348bf28be9a0cbf1359bfa44a16b
[]
no_license
grid4hpc/pilot
f7efc2a4786c8146096b614c6f81f04283bf83e8
183c8cf9b71acaa6f55565091f76afc9b30ffe52
refs/heads/master
2016-09-06T02:30:11.126632
2013-10-29T16:10:49
2013-10-29T16:10:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,629
py
import cgi from paste.urlparser import PkgResourcesParser from pylons import request from pylons.controllers.util import forward from pylons.middleware import error_document_template from webhelpers.html.builder import literal from pilot.lib.base import BaseController class ErrorController(BaseController): """G...
[ "shamardin@gmail.com" ]
shamardin@gmail.com
58f3ad5187db0ba90a597d319ecd2fd4036de17e
fd74a044c0037796455ba4bd4fd44f11c3323599
/Practice/ABC/Bcontest037_a.py
25217aff10ee643818c607b06b0b3160e6edfb8b
[]
no_license
tegetege/tegetege_AtCoder
5ac87e0a7a9acdd50d06227283aa7d95eebe2e2f
ba6c6472082e8255202f4f22a60953d0afe21591
refs/heads/master
2022-03-25T00:29:22.952078
2022-02-10T14:39:58
2022-02-10T14:39:58
193,516,879
0
0
null
2019-06-25T13:53:13
2019-06-24T14:02:05
Python
UTF-8
Python
false
false
55
py
A,B,C = map(int,input().split()) print(int(C/min(A,B)))
[ "m_take7_ex_d@yahoo.co.jp" ]
m_take7_ex_d@yahoo.co.jp
9eb6bae7627c2afdc8c8b8050b3ee526b76ad8c9
c513e3ca72ce5e8ebe62d00c37531603f1b541c1
/part1/nn_models.py
7a400deb0cead2dc5a2bf7c20ecb44158a101a61
[]
no_license
0akhilesh9/reinforcement_learning_algos
e3cdb9f9b5333e9c655506a3acb1a825591b9068
7750a85cc98b5c1697cb3272fc3a7a572e383d0c
refs/heads/main
2023-03-08T10:37:29.828739
2021-02-25T06:15:37
2021-02-25T06:15:37
342,087,918
1
0
null
null
null
null
UTF-8
Python
false
false
1,908
py
import torch import torch.nn as nn import torch.autograd as autograd class ConvolutionalNN(nn.Module): # Init the layer dimensions and network architecture def __init__(self, input_dim, output_dim): super(ConvDQN, self).__init__() self.input_dim = input_dim self.output_dim = ...
[ "noreply@github.com" ]
0akhilesh9.noreply@github.com
487d70bc23e229a453f023037c3ecd226010880b
ea08a577ce67633a4663890df93690231e9e5736
/N-body simulation.py
dcbd1d5d4a507ba5391a3dab45afb81109981787
[]
no_license
tjredfern/N-body-numerical-simulation
91f8bccadc318ed96526adc117d34ecdb650e420
f85e4cc51730195ad70ef1bccad72b8fb6be7f13
refs/heads/master
2022-11-27T16:08:33.235051
2020-07-31T13:05:00
2020-07-31T13:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,686
py
#========================================================================================================================================== # Script written in Python to integrate the equations of motion of N particles interacting with each other gravitationally with high precision. # The script computes the equatio...
[ "noreply@github.com" ]
tjredfern.noreply@github.com
9ca59003a4044b3e9194cf46b6a1df42749829f2
f638793eaf038b0f5b6fc21099ef486d5f1a9c4b
/hacker_rank/default_arg.py
be29a49192fa9b1f27bdd3d737c4f44ce641619e
[]
no_license
barbocz/UdemyCourse
8c8a377c7d3a1c3c091cd9a98d3cd730a08de82d
eb9c9e217ca8357699967fc98ecdd5af9db295e5
refs/heads/master
2022-12-24T18:32:36.427401
2020-09-30T19:03:33
2020-09-30T19:03:33
298,615,240
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
class EvenStream(object): def __init__(self): self.current = 0 def get_next(self): to_return = self.current self.current += 2 return to_return class OddStream(object): def __init__(self): self.current = 1 def get_next(self): to_return = self.current ...
[ "barbocz.attila@gmail.com" ]
barbocz.attila@gmail.com
f865b3508c6ba6b9fd2a0f572519eae1a3eced74
52ed0fe71b8fefcd292ae16e4da9df8c84aedbbf
/probabilidades/env/bin/easy_install-3.8
eca82ed48d78ef7f5cc12431e0a4f1d2c67f58c2
[]
no_license
Viistorrr/python_platzi_route
596b13f2602a612ca64a878bfdb8fd1a34691413
36f25737dc970353f333717798afc0ad29d70a6c
refs/heads/master
2022-11-26T14:50:40.168772
2020-07-25T17:54:15
2020-07-25T17:54:15
281,691,361
0
0
null
null
null
null
UTF-8
Python
false
false
299
8
#!/Users/macbookpro/Documents/platzi/python_platzi_route/probabilidades/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "victormeza41@gmail.com" ]
victormeza41@gmail.com
9678cb52350193a1095fe3ab30afa8b5e511b73e
04850099bbe9f7548793eb8fd6376fbdb2f07670
/ecg/from_MCP3008.py
109a60e19d49ff1c895139308ad2aa3b6abbceeb
[]
no_license
sam-luby/ECG-Pi
f92f48312347c2b0954cd3bc9b959c5363ebd92d
c0e3d520f15e6e2acd2fb3943c00800efaf1ff5d
refs/heads/master
2022-07-21T19:07:08.341152
2019-03-05T14:31:54
2019-03-05T14:31:54
122,356,393
2
1
null
2022-06-21T23:29:09
2018-02-21T15:47:15
Python
UTF-8
Python
false
false
1,146
py
import time import Adafruit_GPIO.SPI as SPI import Adafruit_MCP3008 import pandas as pd #run pip3 install Adafruit-GPIO & pip3 install Adafruit-MCP3008 if packages not found # retrieve data from ADC using SPI interface def get_data_from_MCP(T, filename): fs = 250 i = 0 Nsamp = T*fs milestones = [] ...
[ "samwluby@gmail.com" ]
samwluby@gmail.com
012d51acc6c656aee5030104ef582244d8f617f2
93d5f864f4e24892c3df665ffd32d3a39faf644f
/Tareas/T01/menu.py
64fcb6287472f3cd7cb197f8a28a03bf4b83b9c4
[]
no_license
Benjaescobar/programacion_avanzada
ecf177b6ddf0a250682c7952580b0786197ce0a8
c0664208b13a9c9216a9361e75560ebd8cf92f45
refs/heads/master
2023-05-30T15:33:00.249358
2021-05-25T21:24:18
2021-05-25T21:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,656
py
from parametros import INICIADOR_LOOP, DIAS_COMPETENCIA from cargar_datos import cargar_delegaciones from campeonato import Campeonato from delegaciones import IEEEsparta, DCCrotona from funciones import ingresar_input, crear_archivo, seleccionar_jugador_lesionado ##### Funciones utiles ##### def ingresar_apodo(): ...
[ "benja.escobar.b@gmail.com" ]
benja.escobar.b@gmail.com
b71d0ba69122f20eb76eb0293f5134ff216d358c
50e5d9961505b046edc6b8c210fbc17e954a4394
/LeetCode/Dynamic Programming/Maximum Subarray.py
9b86013a3d7768deeaaa743c7a8a4e10dfb0ff70
[]
no_license
chai1323/Data-Structures-and-Algorithms
e1ba49080dfbc16aec7060064ed98711a602b625
97b9600c5b4d71bce6d8d5b1a52c99e8ff4c8d1b
refs/heads/master
2023-05-26T13:21:09.487453
2021-02-11T11:32:10
2021-02-11T11:32:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
'''Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Input: [-2,1,-3,4,-1,2,1,-5,4], Output: 6 Explanation: [4,-1,2,1] has the largest sum = 6. ''' class Solution: def maxSubArray(self, A: List[int]) -> int: ...
[ "noreply@github.com" ]
chai1323.noreply@github.com
b6139653ae942b7e144940a2e1f5a870f1debf20
701a7bfab7e6e33951c5d418731c008c30c7d0db
/products/migrations/0006_product_media.py
e13190efcd7c10b7237c18abecacf9db7482bab4
[]
no_license
pjelelhml/bootcamp-django
4aade18f3e67fa450bcdd3188fab1140afa1684d
f2cb0bf729f16148d1d835a9caa67df96a48cf5e
refs/heads/main
2023-06-13T08:29:41.318027
2021-07-12T20:53:31
2021-07-12T20:53:31
374,385,924
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# Generated by Django 3.2.4 on 2021-07-09 14:33 from django.db import migrations, models import products.storages class Migration(migrations.Migration): dependencies = [ ('products', '0005_product_image'), ] operations = [ migrations.AddField( model_name='product', ...
[ "paulo3385@hotmail.com" ]
paulo3385@hotmail.com
b74e4582bc25ab70c230b807cd60cc78749dc992
34b2402c2058267d9d154b7d150aa61b5324d73c
/proxymodules/http_strip.py
e96a63fe9d0d87f53017ee7c584256476f27ba82
[ "MIT" ]
permissive
ickerwx/tcpproxy
0d56241187a3e90d21afb3937c511c88bb389706
fdf749ef941eca3fc02ddc456dfe36f53b58e22a
refs/heads/master
2023-08-29T21:07:14.823784
2023-07-15T18:20:41
2023-07-15T18:20:41
32,262,026
295
97
MIT
2023-08-24T18:28:40
2015-03-15T13:32:05
Python
UTF-8
Python
false
false
857
py
#!/usr/bin/env python3 import os.path as path class Module: def __init__(self, incoming=False, verbose=False, options=None): # extract the file name from __file__. __file__ is proxymodules/name.py self.name = path.splitext(path.basename(__file__))[0] self.description = 'Remove HTTP header ...
[ "mail@renewerner.net" ]
mail@renewerner.net
a75471f9aa157b4f6ec54a2ee0b120c12d7fd17d
a10d048b1780adc0f8da05d9d1e851a529807279
/WorkWithFile/main.py
b586d488029a6e6be5711bac9693f2bb6f88816f
[]
no_license
jiroblea/Self-Taught-Programmer-Book
c198fb2640a89d97808d66c98d4b0d21c048e627
35c85b2e804e767e1ffd2bdb1c40e65cfcee1e2a
refs/heads/master
2023-08-18T13:40:03.408870
2021-10-24T08:42:50
2021-10-24T08:42:50
371,001,400
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
import utilities as util import csv name, age = util.biographies() fields = ["Names", "Age"] rows = [name, age] filename = input("File to be called: ") filename = filename + ".csv" with open(filename, "w") as csvfile: filewriter = csv.writer(csvfile, delimiter = ",") filewriter.writerow(fields) filewrite...
[ "jirooblea@gmail.com" ]
jirooblea@gmail.com
5cab019870ce8d4033bcf29458e13fbf7f4aed13
f85e4937fb580d082e83c606a0a58aedbdc140fe
/Pytho chan/Nigma24.py
f8b253bcd37b32ff6c6bb996f4c58779eaff9302
[]
no_license
matteobaire/pychallenge
81b0bd8abedbf8f549b6b78f6d2284e1c14e9aba
9f5d3bf699ee063686978f7ba73734c5b131f036
refs/heads/master
2021-01-01T18:41:34.650712
2015-09-11T13:04:26
2015-09-11T13:04:26
42,308,919
0
0
null
null
null
null
UTF-8
Python
false
false
5,172
py
# Copyright for the following five classes by John Eriksson # <http://arainyday.se/>, 2006. Originally written for the AStar # library <http://www.pygame.org/projects/9/195/> and released into the # public domain. Thanks a lot! from PIL import Image class Path: def __init__(self, nodes, totalCost): self...
[ "mbdigital@virgilio.it" ]
mbdigital@virgilio.it
818fb09f8f5de94bdddf44acd471f366bfd04c70
eb463217f001a8ff63243208dc2bb7e355793548
/src/richie/plugins/section/migrations/0002_add_template_field.py
d3c83581c472881596481d657675e6d9f2744e84
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
phuoclhb/richie
25020254b635c41648d65a30b3f2405007bd8a39
328167d02f9596c8b1d428655f0de1bed7fb277d
refs/heads/master
2020-08-13T07:14:22.006472
2019-10-11T15:31:02
2019-10-11T15:58:48
214,930,515
1
0
MIT
2019-10-14T02:27:14
2019-10-14T02:27:13
null
UTF-8
Python
false
false
631
py
# Generated by Django 2.1.7 on 2019-02-22 01:57 from django.db import migrations, models from ..defaults import SECTION_TEMPLATES class Migration(migrations.Migration): dependencies = [("section", "0001_initial")] operations = [ migrations.AddField( model_name="section", na...
[ "sveetch@gmail.com" ]
sveetch@gmail.com
e6dc56afa4414aaf765a2ecc588488d2ab650a35
a86552e1da790c6a24ab0009d84be270e303c1a8
/highlighting numbers, if, for, while/Queen's move.py
8e1bc399649ca35fcebc715fa7c444ed0a57e1b0
[]
no_license
dimasiklrnd/python
4c9da1c0e7fa834bcf9083c475654e2b4d6ef0eb
1c0a84ab8242b577c92c1ec8b83ad80216fdc972
refs/heads/master
2020-06-29T08:22:26.845678
2020-01-09T19:59:23
2020-01-09T19:59:23
200,410,813
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
'''Шахматный ферзь может ходить на любое число клеток по горизонтали, по вертикали или по диагонали. Даны две различные клетки шахматной доски, определите, может ли ферзь попасть с первой клетки на вторую одним ходом. Для простоты можно не рассматривать случай, когда данные клетки совпадают. Формат входных данных Прог...
[ "dimasiklrnd@gmail.com" ]
dimasiklrnd@gmail.com
2302a6695ea93d585a3bdfd4cc25f1fe488046cf
1caeb7c3f73562176cdd33d983fc6af40e890c71
/服务器与计算机视觉模块/View/view.py
02932cc7fb5640708d6d8cfe863cec6d9b3ece5d
[]
no_license
Yimyl/Care
abe6c302b1a669f9f79c13f9a061bee10699acb4
b0c72c6536b97a74284ac98e704bd9f0f9c4c57f
refs/heads/master
2020-06-18T13:04:09.625187
2019-07-10T08:06:04
2019-07-10T08:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,629
py
from flask_cors import CORS from flask_login import LoginManager, login_user, login_required import json import datetime import os from flask_sqlalchemy import SQLAlchemy import pymysql import socket import cv2 import threading import struct import numpy import _thread from Util.JudgeInteract import faceRegniZation fro...
[ "tiamo39@vip.aa.com" ]
tiamo39@vip.aa.com
60b20aa9d3b0bab7d87c6610f60a4be9b8b08c52
b25fe0d0e401ef3a0ba52751326a427d575ce2bc
/GALAXY_wrapper/run_enrichment.py
2a793bddc019621885382c8f2c38b1997ab326df
[ "LicenseRef-scancode-biopython" ]
permissive
szymczakpau/biopython
9fd8385396073d43f4758c60f45aace9aa032e17
6f997cd1ea7daf89f0b70854401da4cde35d6a00
refs/heads/master
2021-01-26T04:40:40.853772
2020-02-26T16:36:28
2020-02-26T16:36:28
243,308,366
0
0
NOASSERTION
2020-02-26T16:20:02
2020-02-26T16:20:00
null
UTF-8
Python
false
false
5,250
py
#!/usr/bin/python import sys import os import math import argparse import Bio.Ontology import Bio.Ontology.IO as OntoIO def read_list(filename): out = [] with open(filename, 'r') as file_in: line = file_in.readline() #header if not (line[0] == '!' or line[0] == '#'): file_in.seek(0) ...
[ "julia.hermanizycka@gmail.com" ]
julia.hermanizycka@gmail.com
270c15670e030d0104c5c652e4fe7cb418d3d976
d659810b24ebc6ae29a4d7fbb3b82294c860633a
/aliyun-python-sdk-mse/aliyunsdkmse/request/v20190531/GetOverviewRequest.py
45fcc3ddbf67d6dc972d5537367c6ddd7257cc6e
[ "Apache-2.0" ]
permissive
leafcoder/aliyun-openapi-python-sdk
3dd874e620715173b6ccf7c34646d5cb8268da45
26b441ab37a5cda804de475fd5284bab699443f1
refs/heads/master
2023-07-31T23:22:35.642837
2021-09-17T07:49:51
2021-09-17T07:49:51
407,727,896
0
0
NOASSERTION
2021-09-18T01:56:10
2021-09-18T01:56:09
null
UTF-8
Python
false
false
1,556
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
85dfa9657bf5f1207e0b7cd837ff3661aa12b093
2dd560dc468af0af4ca44cb4cd37a0b807357063
/Leetcode/2. Add Two Numbers/solution1.py
78df80bb3d9a1d82a8d444589710b5f138669603
[ "MIT" ]
permissive
hi0t/Outtalent
460fe4a73788437ba6ce9ef1501291035c8ff1e8
8a10b23335d8e9f080e5c39715b38bcc2916ff00
refs/heads/master
2023-02-26T21:16:56.741589
2021-02-05T13:36:50
2021-02-05T13:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: dummy_head = curr_head = ListNode() p, q = l1, l2 carry = 0...
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
ee0d33f5290bac527b87dc1b699c7442a39292b2
1214d7d393f6a8edb64e6136dc0b253e0597f4a6
/bokeh/bokeh_label.py
e8da41d3f378ca7a65a516126efaf282ff741026
[]
no_license
stockdata123/upgraded-journey
047319acba7d0e822c581c40ad8b51f34cfe35f1
76b97c7944352170d51003be39efdd7683c4bb99
refs/heads/master
2023-06-28T01:06:59.493345
2021-08-02T01:23:02
2021-08-02T01:23:02
391,776,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
from bokeh.plotting import figure, show, output_file from bokeh.models import ColumnDataSource, Range1d, LabelSet, Label output_file("label.html", title="label.py example") source = ColumnDataSource(data=dict(height=[66, 71, 72, 68, 58, 62], weight=[165, 189, 220, 141, 260, 174], ...
[ "ssophiemarceau@gmail.com" ]
ssophiemarceau@gmail.com
2f4d3ed5aeb0dd33c30eeb4314e8635d304e8da0
307d3dea0a67bc779b65839fad410536d8ee636e
/data/formatted_data.py
ebc47895870b77670cc4a9e2c2c02876a690fafd
[]
no_license
PatelMohneesh/Network-Visualization-with-SigmaJS
c179a7cd321457d60be6b62fd9de3d810c6bb47e
3b62025903837454d14093b7a4be76179b522ccf
refs/heads/master
2021-09-24T10:50:48.065943
2018-10-08T16:08:32
2018-10-08T16:08:32
100,344,284
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Aug 1 14:46:24 2017 @author: Mohneesh """ import json import os #Considering the same format of the data as provided by "Benjie", network_temp.json filename = 'network_temp.json' with open(filename, 'r') as f: data = json.load(f) # data = ...
[ "mp3542@columbia.edu" ]
mp3542@columbia.edu
281890c279ba18dc825d3b09570b691ceeaf4bc2
73b793758d0db27e4d67e6effbda40f5b550a9f4
/clientes/comandos.py
a8025e49c2a97a46d2dbc01c81ced6a1bec07659
[]
no_license
RubenMaier/python_crud_ventas
a696fb52ec4a2ac37e5983c211fc8ff9bc4fee00
c95af4646bb8173c41e79118a6f53919308a0898
refs/heads/master
2020-08-12T06:38:02.986974
2019-12-29T13:39:30
2019-12-29T13:39:30
214,707,878
0
0
null
null
null
null
UTF-8
Python
false
false
4,536
py
import click # modificamos los comandos dentro del grupo clientes # definimos nuestros comandos básicos from clientes.servicios import ServiciosClientes from clientes.modelo import Cliente @click.group() # con esto los convertimos en comandos de click def clientes(): """Administrador de ciclo de vida de clien...
[ "ruben@MacBook-Pro-2017-15-Inch.local" ]
ruben@MacBook-Pro-2017-15-Inch.local
74b4ed23694523deb7002963f183afb60094dad0
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/decoding/GAD/fairseq/modules/scalar_bias.py
c96247c75914fabb8a2b7ff731bb82b588f72690
[ "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
888
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # import torch class ScalarBias(torch.autograd.Function): """ Adds a vector of scalars, used in self-attention mechanism to allow ...
[ "tage@microsoft.com" ]
tage@microsoft.com
44f6e5b18d17003a26d61b4f72c2690406caa75e
c9307021a54fb97eb7e1a76b4aae23d9f5206c71
/app/external/playhouse/postgres_ext.py
ce50ca9f9b6ab78f67c2aed472b3a0d3b488b098
[]
no_license
fitzterra/sshKeyServer
7b331ca4fc50f66371b36d86d6d2ba64ec991784
6146fe9f5b945288cd186a09d277bfe13171507a
refs/heads/master
2021-01-19T14:06:27.539059
2017-06-08T12:36:29
2017-06-08T12:36:29
19,774,164
0
0
null
null
null
null
UTF-8
Python
false
false
9,455
py
""" Collection of postgres-specific extensions, currently including: * Support for hstore, a key/value type storage * Support for UUID field """ import uuid from peewee import * from peewee import Expression from peewee import logger from peewee import Node from peewee import Param from peewee import QueryCompiler fr...
[ "github_subs@icave.net" ]
github_subs@icave.net
2fd7e86a0345548fe89a360c898f938f9227bdb2
5b38dd549d29322ae07ad0cc68a28761989ef93a
/cc_lib/_util/_logger.py
fc66aac68804a599831a0405e5eaf400e78fd1cb
[ "Apache-2.0" ]
permissive
SENERGY-Platform/client-connector-lib
d54ea800807892600cf08d3b2a4f00e8340ab69c
e365fc4bed949e84cde81fd4b5268bb8d4f53c12
refs/heads/master
2022-09-03T00:03:29.656511
2022-08-24T11:18:22
2022-08-24T11:18:22
159,316,125
1
2
Apache-2.0
2020-05-27T07:47:14
2018-11-27T10:15:38
Python
UTF-8
Python
false
false
784
py
""" Copyright 2019 InfAI (CC SES) 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...
[ "42994541+y-du@users.noreply.github.com" ]
42994541+y-du@users.noreply.github.com
8ca486bf9468da73f85b937419fe7251c45b06d1
56a446ab5ac2994607d92cf7e5453fc39d611e8d
/book/_build/jupyter_execute/docs/Semantic Textual Similarity.py
52aa5708ea51b5dc4ee1fab6e21cba4cb6e9e835
[]
no_license
Python-Repository-Hub/klue-baseline
66dcd8d305d6be184cda31460d29f7043eb808f2
e4c419feadb30f00a5176cb85f2620964a021531
refs/heads/main
2023-07-30T15:05:08.241086
2021-09-29T03:12:13
2021-09-29T03:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
#!/usr/bin/env python # coding: utf-8 # # Semantic Textual Similarity # ## 1. 예시 # - (본문 예시) # - .ipynb 형식입니다. # In[1]: print("test") # In[ ]:
[ "jih020202@gmail.com" ]
jih020202@gmail.com
e577ea4fe5dde95179497ef4002865bb86ea6907
3c9dbfff9e5ac88ca42f5a21f9dff8bcf40ed4b2
/chapter03_stacks_queues/06_animal_shelter.py
735b56f77401bf6ee88b3b8d875ff460a0762cb5
[]
no_license
optionalg/cracking_the_coding_interview
50834f3c9aea7d24cd372bf3022c4bf01ec90957
2e962b3e272074b428ace8e85e6d4a735cfe6afa
refs/heads/master
2021-06-20T21:15:48.063618
2017-07-18T14:42:03
2017-07-18T14:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
from ctci.chapter02_lists.LinkedList import LinkedList class Node: def __init__(self, value, name): self.data = value self.name = name self.next = None class AnimalQueue: def __init__(self): self.dogs = LinkedList() self.cats = LinkedList() self.any = LinkedList...
[ "lito.kriara@disneyresearch.com" ]
lito.kriara@disneyresearch.com
d6758b1214e18affacc304004dfb23d732194dc0
07cf86733b110a13224ef91e94ea5862a8f5d0d5
/taum_and_bday/taum_and_bday.py
2dca00a8c687bce30c4615338d881eba6f673268
[]
no_license
karsevar/Code_Challenge_Practice
2d96964ed2601b3beb324d08dd3692c3d566b223
88d4587041a76cfd539c0698771420974ffaf60b
refs/heads/master
2023-01-23T17:20:33.967020
2020-12-14T18:29:49
2020-12-14T18:29:49
261,813,079
1
0
null
null
null
null
UTF-8
Python
false
false
851
py
def taumBday(b, w, bc, wc, z): # Write your code here # create a variable named black_cost # create a variable named white_cost # check if bc + z is less than wc: # if so overwrite white_cost with b * (bc + z) # overwrite black_cost with b * (bc) # elif wc + z is less than bc: ...
[ "masonkarsevar@gmail.com" ]
masonkarsevar@gmail.com
f5de930cd145d2474ed04f2b3d2d810ceba3e181
f38db79439185ab6062294e1d82f6e909d2be81e
/test/test_update_timesheet_model.py
cbf81950c118167fd9c24c13db0647e8123c0e00
[]
no_license
ContainerSolutions/avazacli
3a37f8500ad1f1843acbdbb413d4949e00ec6f91
49618314f15d8cb2bda36e6019670fdfbed1524f
refs/heads/master
2020-06-18T18:44:58.594385
2019-07-11T14:23:10
2019-07-11T14:23:10
196,406,206
3
2
null
null
null
null
UTF-8
Python
false
false
2,494
py
# coding: utf-8 """ Avaza API Documentation Welcome to the autogenerated documentation & test tool for Avaza's API. <br/><br/><strong>API Security & Authentication</strong><br/>Authentication options include OAuth2 Implicit and Authorization Code flows, and Personal Access Token. All connections should be enc...
[ "riccardo.cefala@container-solutions.com" ]
riccardo.cefala@container-solutions.com
1b0b4bc4e5b5b0bc77020ca601dd1f1dabbccc3a
23e74e0d5bd42de514544917f7b33206e5acf84a
/alumnos/58003-Martin-Ruggeri/copia.py
eb8dc2774c2bf67e0fdfa336f443d85570aba882
[]
no_license
Martin-Ruggeri-Bio/lab
2e19015dae657bb9c9e86c55d8355a04db8f5804
9a1c1d8f99c90c28c3be62670a368838aa06988f
refs/heads/main
2023-08-01T07:26:42.015115
2021-09-20T20:21:31
2021-09-20T20:21:31
350,102,381
0
0
null
2021-03-21T19:48:58
2021-03-21T19:48:58
null
UTF-8
Python
false
false
279
py
#!/bin/python3 def copiaArchivos(): archi_org = open(input("ingrese archivo de origen:\n"), "r") archi_des = open(input("ingrese archivo de destino:\n"), "w") with archi_org: archi_des.write(archi_org.read()) if __name__ == '__main__': copiaArchivos()
[ "martinruggeri18@gmail.com" ]
martinruggeri18@gmail.com
6a9b79f848da7a24ffbeb03eedae35d4063b8580
d78a55788407c58ab7e5d7edc53a2887f46b20c4
/Basic/SubList.py
ee95eab4cc76e85a710f55a883bcce91dc98e972
[]
no_license
aakib7/python
db085e7eee10d3427906da7f32349a9f16a82a3e
40ffa242ebdf78f042e559cecd20722949607b0b
refs/heads/main
2023-07-01T04:24:03.472448
2021-08-04T20:16:39
2021-08-04T20:16:39
392,812,945
2
0
null
null
null
null
UTF-8
Python
false
false
426
py
matrix = [[1,2,3],[4,5,6],[7,8,9]] print(matrix[0]) # print [1,2,3] print(matrix[0][1]) # print 2 # for i in matrix: # print [1,2,3]\n[3,4,5]\n[6,7,8] # print(i) count = 0 for sublist in matrix: # frist time loop exicute [1,2,3] store in sublist and so on count +=1 print(f"{count} Sublist:") for i i...
[ "ajmehdi5@gmail.com" ]
ajmehdi5@gmail.com
690be3e020160ec55919e9b80e9a4669bde616bf
08b623f814a04467d5602b7fded7a5767d696763
/music_controller/music_controller/urls.py
3c8bfd48bdfc72bf481629cde03e5383f0fb3d55
[ "MIT" ]
permissive
ajsnow56/react-python-music-app
30f122e2243a01b4ef41b7615fbf2c6ecf8c255e
f44fc0040d2c2f8bf3580ba7e71c9196c2603386
refs/heads/main
2023-02-10T17:23:36.353584
2021-01-10T06:59:40
2021-01-10T06:59:40
328,294,981
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
"""music_controller URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "ajsnow56@gmail.com" ]
ajsnow56@gmail.com
e0630106cd1f4d50aff9fea679ff50ae76a6ff20
775c92c038d418a97f483a5c6f3692562aa5e616
/test_code.py
fed80156fec837c60c2554d0dd3844a941c063d6
[]
no_license
seminvest/investment
2878efd9ca8a09e5c708fec99eaea80b6e22cb0e
af5a9f4c4163bbcdc293d3ebad0d551464d96f12
refs/heads/master
2021-01-20T18:15:26.114699
2019-05-24T19:07:26
2019-05-24T19:07:26
90,911,587
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
import pandas as pd def test_run(): start_date ='2018-08-14' end_date='2019-01-07' dates=pd.date_range(start_date,end_date) #print(dates[0]) df1=pd.DataFrame(index=dates) symbols = ['TSLA','FB','AAPL'] for symbol in symbols: df_temp=pd.read_csv("{}.csv".format(symbol),index_col="date",parse_dates=True,usecol...
[ "rtang7813@icloud.com" ]
rtang7813@icloud.com
0ada9e39c61bd009bdf2ced7e598217a1ddcebd1
3318f5b9ae8a374f08c3fa8cb3db92681542ba2b
/src/GetElectroStaticEmbedding.py
b7b6b859ff06cb46592737bf8179d882d2592846
[]
no_license
jiahao/clusterchem
2c381f0b044f9d51653636666610d2377233b2f7
7b5db987c252780dffd4f213b0e14dcb48a62391
refs/heads/master
2021-01-22T08:48:46.776359
2012-07-18T20:22:30
2012-07-18T20:22:30
2,615,352
0
0
null
null
null
null
UTF-8
Python
false
false
2,765
py
def LoadGromacsTopology(filename): """ Parses Gromacs topology file for atomic charge definitions @param filename Name of Gromacs topology file (usually .top or .itp) to parse. @returns a dictionary of atomtypes with (residue, atomtype) as key and charge as value. """ AtomTypes = {} ...
[ "jiahao@mit.edu" ]
jiahao@mit.edu
0608ed6c0bd8ae5268945ba712871159548338c1
bab51ba1ff7a839ca16bcc086ae55451a3a16823
/stylesite/stylesite/settings.py
087b2b12ef8b7185ae2fe0c599b1e11b009b3368
[]
no_license
melissapnyc/insphairation
a96197e03556f63c2c49b4a487a5296d25224b41
4e3ba94430a476132da645fdbb8c17e0e87f4468
refs/heads/master
2020-05-05T02:54:10.174628
2014-04-03T17:13:04
2014-04-03T17:13:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
""" Django settings for stylesite project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
[ "melissapallay@gmail.com" ]
melissapallay@gmail.com
0726392c3e962800ab537f902236c9ddf78370f0
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/hinventory/account.py
7b581f55213470c10ef7d664c6a48948edf9b960
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
7,184
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
79331affbc571e2fd6380690621972ed904a93b2
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2015_11_15_5deg_FIP_db/check_db_symm_v3.py
02760a80bd14513da9f994e3a337517bca50323a
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,154
py
import numpy as np import matplotlib.pyplot as plt import euler_func as ef import h5py """ check whether the database exhibits hexagonal-triclinic crystal symmetry first find 12 symmetric orientations in triclinic FZ (0<=phi1<2*pi, 0<=Phi<=pi, 0<=phi2<2*pi) for each deformation mode sample (theta), check if the val...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
1be1511f6d587ac160826b59755e8c6494866c0f
70a02a488849ac8cc15f5684564b06cfafe98192
/src/network/pyramid.py
10e1ac8d8e0fa5c71aed70d09cd2d88b803c5016
[]
no_license
takedarts/resnetfamily
9a4203ba5e2c54caf369138d23352c9f2a514ddb
ea51083c430cc27c5fd285429e6eed67b1f697bd
refs/heads/master
2020-12-02T11:14:17.881053
2017-07-09T14:28:08
2017-07-09T14:28:08
96,619,601
19
1
null
null
null
null
UTF-8
Python
false
false
2,693
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Residual Network (pre-activation)モジュール。 Residual Block : BN - Conv(3x3) - BN - ReLU - Conv(3x3) - BN @author: Atsushi TAKEDA ''' import chainer def reshape(x, channels): if x.shape[1] < channels: xp = chainer.cuda.get_array_module(x) p = xp.zero...
[ "atsushi@takedarts.jp" ]
atsushi@takedarts.jp
20237d2e410ec4f79401483b11eccd032bf6a5f3
4a4484e61b662a7d093d72560a0a1182b680acc4
/contact.py
1cd6badb10d933d6665091eafcc791d9b50791ec
[]
no_license
TheRohitRahul/Disease_Spread_Simulator
1a8a86e454f9c7fe29a89189cb8babba3626d2c0
3c97bb7e467028ad9b330f5709481a0423040e03
refs/heads/master
2021-05-21T02:49:09.063162
2020-04-03T08:16:07
2020-04-03T08:16:07
252,508,531
1
1
null
null
null
null
UTF-8
Python
false
false
1,304
py
from living_state import * from random import randint import pdb def contact(person1, person2, current_iter): xp1, yp1 = person1.location xp2, yp2 = person2.location if (person1.status == INFECTED or person1.status == NO_HOSPITAL_QUARANTINED) and person2.status == UNINFECTED: if (xp2...
[ "rohit.rahul@tcs.com" ]
rohit.rahul@tcs.com
1783ef895c616c80015e20e025262af87331c702
bfa58d62c3c03fd3d728d8cea5c47f36942c43b8
/Modules/MidsagittalSurfaceMacro.py
0215eddd74fd17fdca8fb2e784e0a09cd28b532c
[ "Apache-2.0" ]
permissive
vinay0458/MidsagittalApp
3490ecc86e7b27077f20a4d20838463283c133bf
aa067e536df842b8ceafed787f042aa4a6ebd117
refs/heads/master
2020-07-22T03:34:04.338842
2016-01-15T14:56:37
2016-01-15T14:56:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
from AlgorithmMacroModule.AlgorithmMacroModule import AlgorithmMacroModule, Error from AlgorithmModule.Definitions import StatusCode import numpy class MidsagittalSurfaceMacro( AlgorithmMacroModule ): def _init( self ): self._ctx.field("MemoryCache.clear").touch() self._ctx.field("outMsp").setVectorValue((1...
[ "hjkuijf@users.noreply.github.com" ]
hjkuijf@users.noreply.github.com
26acb61a5f3dc306afadcc547821d416d28cbc9b
29daf4c05f7a604b55f9518757c70093c4dad6a8
/decision_trees/tree_predict.py
1107eb8ed53fcb71e51649471d488b5829002950
[]
no_license
EthanYue/Machine_Learning
43091a567da5bffa4bc4071237452ffc44f55bc7
defd64db8273da00128b3f7fa5578fa60ce20a15
refs/heads/master
2020-04-22T10:38:26.459500
2019-02-22T14:14:01
2019-02-22T14:14:01
170,311,726
0
0
null
null
null
null
UTF-8
Python
false
false
7,306
py
from PIL import Image, ImageDraw my_data = [['slashdot', 'USA', 'yes', 18, 'None'], ['google', 'France', 'yes', 23, 'Premium'], ['digg', 'USA', 'yes', 24, 'Basic'], ['kiwitobes', 'France', 'yes', 23, 'Basic'], ['google', 'UK', 'no', 21, 'Premium'], ['(direct)', 'N...
[ "yfy17859733505@gmail.com" ]
yfy17859733505@gmail.com
9cf0b12018962010a876c9da5885b4db43e416b4
640ac4564cba4836c01cccd37376bdf647c2484c
/optim_project/optim_app/migrations/0007_auto_20200604_0228.py
de9a9a98406647055d86496e801f81d5a64d8095
[]
no_license
shchepinevg/Bachelor-s-thesis
9c162839452347e3a8a0f10baf6aa72c3bdd3b95
ba99c7bf7f75de993a8f6605c2dc4e348f9809df
refs/heads/master
2023-02-10T10:51:22.914621
2020-07-10T09:08:27
2020-07-10T09:08:27
261,974,296
0
0
null
2021-01-06T03:18:41
2020-05-07T06:58:50
R
UTF-8
Python
false
false
2,126
py
# Generated by Django 3.0.6 on 2020-06-03 19:28 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('optim_app', '0006_auto_20200601_2234'), ] operations = [ migrat...
[ "shchepinevg@gmail.com" ]
shchepinevg@gmail.com
6e6a8d9906539b1e7a5184501859be324b07a84d
3d12da3c90cf1ebc9b04e9a8b289d82fce46cb48
/planet_name_generator/__init__.py
57834dad8290c8c1fe0ed939a7b85ebc7751df79
[ "MIT" ]
permissive
dawsonren/proc_gen_universe
14b3cf7e91c39fefece26db1f2f23f4a915602cb
958cf628e12654cadcc858e2122591f0e0a3c84d
refs/heads/master
2023-02-17T02:28:17.142137
2021-01-13T03:06:32
2021-01-13T03:06:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import random SUFFIXES = ["prime", "", "B", "", "alpha", "", 'proxima', "", "V", "", "C", "", "X", "", "D", "", "", ""] # empty strings so some don't have suffixes with open("planet_name_generator/planets.txt", "r") as f:...
[ "dawsonren@gmail.com" ]
dawsonren@gmail.com
60f89bcbfd5b5b577a09c1598ca2168403e00b62
136cbeb736cecca889dce4dc4abc601919b41a3c
/GUI/add_monster_popup.py
be4c83de807c4c4a52c013d0dea2d58f3cc68bfd
[]
no_license
LouisChen1013/CharacterManagementSystem
f756ac1817b577003f7bc52c1189d5d67fc8b357
e710f04a2f95a8f4815088d9fe01168547b55fae
refs/heads/master
2023-05-23T21:02:44.284701
2021-07-29T06:54:25
2021-07-29T06:54:25
210,401,012
0
0
null
2023-05-23T01:26:35
2019-09-23T16:20:29
Python
UTF-8
Python
false
false
1,624
py
import tkinter as tk from tkinter import messagebox import requests import re class AddMonsterPopup(tk.Frame): """ Popup Frame to Add a Monster """ def __init__(self, parent, close_callback): """ Constructor """ tk.Frame.__init__(self, parent) self._close_cb = close_callback ...
[ "chenhonglin1013@gmail.com" ]
chenhonglin1013@gmail.com
533b9efc9a2717c2a35f6dd0878ed0ee355c00d9
0cc2e39d4f288a4d07d2df5cc51b2d27037f3732
/exercism/python/book-store/book_store.py
144502255b204e733d633f3c73777cdc47bfc182
[]
no_license
Sujan-Kandeepan/Exercism
893aceb3f5b7a37b7d845dfdde3faa11fae60236
3491c660d7090627196c83c8f46c13cca9e0f856
refs/heads/master
2021-04-27T00:09:09.211345
2018-03-04T08:16:58
2018-03-04T08:16:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
def calculate_total(books): def groupnums(num): if num == 1: return [[0], [1], [2]] else: returnlist = [] for i in groupnums(num-1): returnlist.extend([i+[0], i+[1], i+[2]]) return returnlist bestprice = len(books)*8 if books =...
[ "kandeeps@mcmaster.ca" ]
kandeeps@mcmaster.ca
e33fe0145613768d16866c5fc41bc2560e783bf5
70bee1e4e770398ae7ad9323bd9ea06f279e2796
/test/test_istio_authorization_policy_source.py
d06474312ad2007728f5c1f1dbe3e96ba1395147
[]
no_license
hi-artem/twistlock-py
c84b420b1e582b3c4cf3631eb72dac6d659d4746
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
refs/heads/main
2023-07-18T07:57:57.705014
2021-08-22T04:36:33
2021-08-22T04:36:33
398,637,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
# coding: utf-8 """ Prisma Cloud Compute API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 21.04.439 Generated by: https://openapi-generator.tech """ from __future__ import absolute_impor...
[ "aakatev@virtru.com" ]
aakatev@virtru.com
59891f64ba1120d54b73a4d999144edc28304be6
652cea9eea05f9baa54f93830746fda5db13af25
/vscode_test.py
7e87500081095e377099a6a5b0315ca4f1d65378
[]
no_license
linbirg/qt
091af74b0ac4527883c8c0451135d77bdc310d23
4cb85944cebf903f0a43d0c2883a0e4839dcad31
refs/heads/master
2020-07-23T03:36:40.889622
2019-10-28T06:13:34
2019-10-28T06:13:34
207,435,268
22
9
null
null
null
null
UTF-8
Python
false
false
42,976
py
# coding: utf-8 ##### 下方代码为 IDE 运行必备代码 ##### import jqdata if __name__ == '__main__': import jqsdk params = { 'token': '88e0627cf5b11e6e988637de1f3be8e8', # 在客户端系统设置中找,字符串格式,例如 'asdf...' 'algorithmId': 6, # 在客户端我的策略中,整数型,例如:1;回测结束后在客户端此ID策略的回测列表中找对应的回测结果 'baseCapital': 100000, ...
[ "linbirg@gmail.com" ]
linbirg@gmail.com
fb68c7639379c040a8111bd9b8d7448a5fe7d37d
607b41ce463b9941fd6ae4fcaa46e0e9abab38f7
/auth.py
6206a845d3a1541c590a89ddbf7030aa688a1c7b
[ "MIT" ]
permissive
nislag/chat-bot-tornado
45ab3ed2bd25f97bcefb0957a95a61b9f0fa5b2a
def046f5add0773362b547314e7dc3fdea74331f
refs/heads/master
2021-01-10T05:43:46.960470
2015-06-04T13:38:33
2015-06-04T13:38:33
36,575,254
0
0
null
null
null
null
UTF-8
Python
false
false
6,720
py
# coding=UTF-8 # Tornado modules. import tornado.auth import tornado.web import tornado.escape # Import application modules. from base import BaseHandler # General modules. import logging class LoginHandler(BaseHandler, tornado.auth.GoogleOAuth2Mixin): """ Handler for logins with Google Open ID / OAuth ...
[ "nislagg@gmail.com" ]
nislagg@gmail.com
61094d5d3babcb4ac784998ee52b573967471ac0
7fc22330d96b48a425894311441c4e83cb4d2447
/code/snakeeyes/tests/__init__.py
e207e34b2b0db2f98b137a14327de8cf795330f9
[]
no_license
tangentstorm/snakeeyes
5c23791adfe4511a3a97a35d725d1b2769552000
a036884e39fe7989e8101c7f96cae8d4f3c507ea
refs/heads/master
2021-01-22T08:23:27.661057
2020-11-22T05:08:56
2020-11-22T05:08:56
10,516,815
3
2
null
null
null
null
UTF-8
Python
false
false
299
py
""" Created on Aug 1, 2009 @author: michal """ import sys; sys.path.append("..") # for testloop.sh import unittest from snakeeyes.tests.img_test import * from snakeeyes.tests.ocr_test import * from snakeeyes.tests.scrape_test import * if __name__ == '__main__': unittest.main()
[ "michal.wallace@gmail.com" ]
michal.wallace@gmail.com
49256118e79555242d05bc0d7a022c34619aa4ae
c86cd75be4f5b4eef605fb0f40743406ae19685f
/core/ui_test.py
cd1ce62099cf077a55dbf0934f3f6763c20bac3b
[ "Apache-2.0" ]
permissive
jyn514/oil
3de53092c81e7f9129c9d12d51a8dfdbcacd397b
42adba6a1668ff30c6312a6ce3c3d1f1acd529ec
refs/heads/master
2022-02-23T08:12:48.381272
2019-03-15T08:54:31
2019-03-15T08:54:31
176,316,917
0
0
Apache-2.0
2019-03-18T15:36:14
2019-03-18T15:36:13
null
UTF-8
Python
false
false
279
py
#!/usr/bin/python -S from __future__ import print_function """ ui_test.py: Tests for ui.py """ import unittest from core import ui # module under test class UiTest(unittest.TestCase): def testFoo(self): ui.usage('oops') if __name__ == '__main__': unittest.main()
[ "andy@oilshell.org" ]
andy@oilshell.org