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
05a8d2e1001f8b597c7d47ed5c8775417ea9301a
c254cdfc532242e9fca877e94f1a5df3ae7438fa
/wide_census.py
fb2f6e9cda1f119322125000ee0ceb0473515dea
[]
no_license
fabriciojoc/tensorflow-widendeep
50498d1aca24c79c5efaedf70f3f2fd893d5990f
940bad1e1d2d56940d8bc5a1b76f42bdf6444044
refs/heads/master
2020-05-23T08:13:21.982075
2016-11-02T22:48:36
2016-11-02T22:48:36
70,288,048
0
0
null
null
null
null
UTF-8
Python
false
false
6,177
py
# ref: www.tensorflow.org/versions/r0.11/tutorials/wide_and_deep/index.html import tempfile import urllib import pandas as pd import tensorflow as tf import numpy as np ## ## 1 - READ DATA ## # temporary files for train and test train_file = tempfile.NamedTemporaryFile() test_file = tempfile.NamedTemporaryFile() # ...
[ "fjoceschin@inf.ufpr.br" ]
fjoceschin@inf.ufpr.br
8e7f462f54a5e8c377193b2b99995a768d177c25
88162a141dc3361bf0574b29b41096e57623d8e9
/src/python/gjettelek/gjettelek.py
1a26234825a987cea8aaa2609ab7add34e5498be
[]
no_license
kodeklubben/oppgaver
8ddc14297b33518d4532fe5c90170e981a9593a0
eb4b7d786563fc3c1d1b0324d00018198440aa1e
refs/heads/master
2023-09-05T21:09:37.505409
2023-08-01T06:08:56
2023-08-01T06:08:56
17,453,180
43
196
null
2023-08-23T11:27:25
2014-03-05T19:59:03
Python
UTF-8
Python
false
false
272
py
# gjettelek.py from random import randint number = randint(1, 100) guess = 0 while guess != number: guess = int(input("Please guess a number: ")) if (guess < number): print("Higher!") elif (guess > number): print("Lower!") print("Correct!")
[ "okpedersen@gmail.com" ]
okpedersen@gmail.com
ba79eca0f24f1d37729244332dbcd676824f7146
a4643b30586a66e9c7c189020bdf8d8a656215b0
/template_day/template.py
de581a31ddd960751b69467895e491353e44ec40
[]
no_license
Crinibus/adventofcode
db7bf6cb9098db388d2cc418ecc7df5e0f474323
1c81e388587fc7db3b59ec6ab6c38143880d90c9
refs/heads/master
2022-12-17T07:45:20.556732
2022-12-07T07:48:29
2022-12-07T07:48:29
225,465,739
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
import pathlib def get_input() -> list[str]: root_path = pathlib.Path(__file__).parent.absolute() with open(f"{root_path}/input.txt", "r") as input_file: input_raw = input_file.readlines() return [line.strip() for line in input_raw] def get_answer_part_1(input_data: list[str]): pass def ...
[ "57172157+Crinibus@users.noreply.github.com" ]
57172157+Crinibus@users.noreply.github.com
37d23ae628c21b76f4715d973d1d08d02af4b6ca
7ab15522084e2f81d39cda505da844fb4d519f9d
/Linear DS/Hard/Array Manipulation/array_manipulation.py
965441f349f2bce6c1db189177727e984daceb2b
[]
no_license
Infinite-Loop-KJSIEIT/Algo-Talks
1662cfd802bfbe4a9bfcf80a9c3157334e5cb4fd
27d85ae3827f8765a4ebe98c80cc55b53c0562b0
refs/heads/master
2022-12-25T21:53:57.745115
2020-10-03T07:07:02
2020-10-03T07:07:02
286,681,402
13
3
null
2020-10-03T07:07:04
2020-08-11T07:53:23
Python
UTF-8
Python
false
false
419
py
import sys def uno(): return int(sys.stdin.readline().strip()) def dos(): return sys.stdin.readline().strip() def tres(): return map(int, sys.stdin.readline().strip().split()) def cuatro(): return sys.stdin.readline().strip().split() n, m = tres() ar, mx, sm = [0]*(n+1), 0, 0 for i in range(m): a, b, k = tres() ...
[ "noreply@github.com" ]
Infinite-Loop-KJSIEIT.noreply@github.com
fd6c788ba6b8318466159be137309f8ff4ea1a29
9f109d4d4fa2eb4ecec2415a21e45945a35cd58a
/xshop/users/tests/test_models.py
81150f9ff1be611e68b2606f5f69d464e95e5b0d
[]
no_license
denokenya/xshop-web
4be66a39272075b778ed7dd8de996fec90b5fab8
262665ec4c2cb91490b219a086b8994d6eceb805
refs/heads/master
2023-06-07T02:54:57.068430
2020-09-13T11:24:32
2020-09-13T11:24:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
from django.test import TestCase from model_bakery import baker from ..models import User class UserTests(TestCase): def setUp(self) -> None: self.user = baker.make( User, mobile="01010092181", name="Ahmed Loay Shahwan", email="ahmed@shahwan.me", ) ...
[ "ahmed@shahwan.me" ]
ahmed@shahwan.me
2dbdd3de22cd35307bdf8d469a9124387145b253
2fc57e27bd74ca06a43f7ba6d192018cb282fc01
/functions_lab_1/start_point/tests/python_functions_test.py
6188ba6529c77b65131fa43d46a9947de6359d1c
[]
no_license
pvaliani/codeclan_hw2
39d59b77a6378f75eeca9f5a88afd752cf7ab095
f5b1ef72120e6aa317b1c700b025a7f48e3cb459
refs/heads/master
2023-01-04T09:39:07.185893
2020-11-04T21:45:53
2020-11-04T21:45:53
310,092,164
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
from src.python_functions_practice import * import unittest class TestPythonFunctionPractice(unittest.TestCase): def test_return_10(self): return_10_result = return_10() self.assertEqual( 10, return_10_result ) def test_add(self): add_result = add( 1, 2 ) self.assertEqual( 3, add_resu...
[ "p.valiani@gmail.com" ]
p.valiani@gmail.com
cdbbb2e4e9b0b6b4cbd73db33338923d64f8d519
a862bf03863411c3bdeb34a16af0f61647384172
/utils/tests/test_utils.py
f5a4c2bbf2442581d0e25bb4e075ea662b86ed88
[ "MIT" ]
permissive
braun-steven/torch-utils
87765e542dc855c2a107b7c048899262a93d22be
e4a7057217de3daf7eeef144ca7b12bc909b8473
refs/heads/master
2022-11-28T16:14:12.072970
2019-09-27T11:12:02
2019-09-27T11:12:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
import numpy as np import torch from torch import nn import datetime import time import os import tempfile import unittest from unittest import TestCase from utils import ( ensure_dir, generate_run_base_dir, count_params, load_args, save_args, set_cuda_device, clone_args, set_seed, ) imp...
[ "steven.lang.mz@gmail.com" ]
steven.lang.mz@gmail.com
2a5762a03705f381381e6c124790e7ce1ab5d662
93a7db386dfa0ac0dc369cc7f4b974224c801d8d
/scripts/ngram_io.py
33d3856f68312a40f09259482de1803a86d567b5
[]
no_license
lingxiao/good-great-combo
e051f20c89b7317a14ca5cee357bda7b095ce174
4d2691866bc21e2c542354ad3aae6f369eb86c87
refs/heads/master
2021-01-19T19:30:43.391759
2017-04-09T12:35:15
2017-04-09T12:35:15
83,699,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
############################################################ # Module : Open Ngram and read linguistic pattern # Date : April 3rd, 2017 # Author : Xiao Ling, merle ############################################################ import os ############################################################ ''' @Use : Op...
[ "lingxiao@seas.upenn.edu" ]
lingxiao@seas.upenn.edu
64801be0735e6c4264e2fcac275da94b245371ca
2ed6ad4a736879a47d192159da45ca56610c089a
/tests/test_db.py
22393c254cb71d6912d534a4a6399d1eabd15537
[ "MIT" ]
permissive
poonyisaTH/gsheets-db-api
a82bd35984766697757cc96aa74a1281d948f019
f023b32986d4da9a501fca8d435f2b6edc153353
refs/heads/master
2023-05-29T15:01:10.604324
2021-02-17T20:59:41
2021-02-17T20:59:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,045
py
# -*- coding: utf-8 -*- from collections import namedtuple import unittest import requests_mock from .context import ( apply_parameters, Connection, connect, exceptions, ) class DBTestSuite(unittest.TestCase): header_payload = { 'table': { 'cols': [ {'id': '...
[ "roberto@dealmeida.net" ]
roberto@dealmeida.net
bd5d4faa17a341677a9d9f49921f040b2ffa8302
0391b9a73193e36156cd17c2f778eb03b96f575e
/seism_to_csv_Z.py
00a5f6552ee8c47efe3c0ac2d693281b17f5f51c
[]
no_license
xian-ran/anisotropy_nn
0349565eafef87c2ab32ff59859409520e5c8bc7
65bee9be0673a48bfd87774c1d1b8b2a90ec8541
refs/heads/master
2022-04-05T17:07:33.910285
2020-02-18T17:05:21
2020-02-18T17:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# Z-component # column -- timesample, row -- trace import obspy import numpy as np import pandas as pd st = obspy.read('model_1\\model+GathNP-Z.sgy') N_traces = len(st) N_timesamples = len(st[0]) for i in range(1,1101): print('\t',i,'\t/\t1100') st = obspy.read('model_{}/model+GathNP-Z.sgy'.form...
[ "noreply@github.com" ]
xian-ran.noreply@github.com
4558b73f4309e412016f5c1d22d3652908e71d01
c2c84c98f2247f2a9fe280e41f3a4dc74fd4de1a
/online/analyses.py
73a0d03dbb5a0da0b17ff4129ab1c019baf63cab
[ "MIT" ]
permissive
mrware91/tmolv29
153ded42ee190287442330943a2a9c51d8e55243
823321f2505b684e9fd1de1c01f4e46997f1e307
refs/heads/main
2023-04-06T13:55:09.926010
2021-04-14T14:26:05
2021-04-14T14:26:05
347,172,169
0
0
null
null
null
null
UTF-8
Python
false
false
4,299
py
# Contributors: Matt Ware import numpy as np class analyses: def __init__(self, analysis, totalEvents,printMode='verbose'): self.analysis = analysis self.totalEvents = totalEvents self.events = 0 self.printMode = printMode self.data = {} self.dataTypesFound = False ...
[ "mrware91@gmail.com" ]
mrware91@gmail.com
c4d693a018899753b9d47f6da7643ece8efb4bfe
10fbe5526e5f0b8588b65f70f088cd86b6e9afbe
/irmtbds/migrations/0002_auto_20150218_1621.py
3c05b27f5b6c037590a673b577c9744a196e934f
[]
no_license
MarkusH/django-migrations-benchmark
eb4b2312bb30a5a5d2abf25e95eca8f714162056
e2bd24755389668b34b87d254ec8ac63725dc56e
refs/heads/master
2016-09-05T15:36:45.250134
2015-03-31T23:44:28
2015-03-31T23:44:28
31,168,231
3
1
null
null
null
null
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('irmtbds', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='rqzheruyb', name='xk...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
45cd907e8bb791d0ec58d64af91e6306665a8ab2
70b8b109d389037c31ca74ddbdabcb838a6026a5
/password_generator_app/views.py
79a3ff9c71d951811dc053d51060311a525e3bf4
[]
no_license
arnidhar/django3-password-generator
25dc8906d08f2f10e5a3a2093f2d6331f1ed4096
ee9746c05e3cdaa029814e60b48a10adcd988353
refs/heads/main
2023-07-20T20:15:33.804435
2021-09-01T18:15:19
2021-09-01T18:15:19
402,163,096
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
from django.shortcuts import render from django.http import HttpResponse import random # Create your views here. #def home(request): #return HttpResponse('<h1> Hello! Welcome to the website! </h1>') def home(request): return render(request, 'password_generator_app/home.html', {'password': ''} ) def about(r...
[ "arnidhar97@gmail.com" ]
arnidhar97@gmail.com
08e93077ca5d190a72f22f0dde55519979a6b6a6
3e0341c10981b49d15c3fb458f63de59357a821b
/venv/bin/wheel
51ea28c4f7ad7e6fa3b4354fa985621d1b4b0ebb
[]
no_license
sagarsmn331/meon-task3
555f0562c036693b8e728946e01e213d1e3bdf8a
18c2e8389ee8d2bbbe18e506ccbb6d003c4ed2cf
refs/heads/master
2022-12-02T11:54:03.125091
2020-08-18T11:28:35
2020-08-18T11:28:35
288,436,935
0
0
null
null
null
null
UTF-8
Python
false
false
229
#!/home/sagar/meon5/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sagar.innotical@gmail.com" ]
sagar.innotical@gmail.com
e86b129bd4a1c5aa43609bb6c91a77d19a9d689e
eb861e71ac828c01fa672acb8f69139d76f78981
/examples/nodeproppred/arxiv/ReLU.py
b6a73c6e4417bbf8c31bdce00c32bbddaa2aa930
[ "MIT" ]
permissive
yifeiacc/ogbExperiment
d1ea20104886be5aa5a85ad97e6810597ea481a3
3b1dffd80c27b7f85101afa515461f327b87a6b2
refs/heads/master
2023-02-07T04:25:44.783600
2020-12-29T08:46:41
2020-12-29T08:46:41
325,198,626
0
0
null
null
null
null
UTF-8
Python
false
false
6,215
py
import torch.nn as nn from torch_geometric.nn.conv import MessagePassing from torch.nn import Parameter from torch_geometric.nn.inits import glorot import torch from torch_geometric.utils import remove_self_loops, add_self_loops, softmax from torch import Tensor from torch_sparse import SparseTensor, set_diag import to...
[ "yifeiacc@gmail.com" ]
yifeiacc@gmail.com
8ce03b3371e6d779882789bcd8cb8042ee53e469
0c60cb4fdb2c6ad2992dc744d74218b0c2d5bb31
/3/1.py
38021d74e97611ea18ef3a4596068498e6378b8a
[]
no_license
vojtechcima/aoc2016
8b59ff1c28b23a7f8a358f6980325564e4cf820f
a9ff55f0a365a3a2cc5dd818eb8640d775950b74
refs/heads/master
2020-06-15T13:42:01.592624
2016-12-08T09:35:55
2016-12-08T09:35:55
75,288,226
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
def read_lines(path): with open(path, "r") as f: lines = f.readlines() return lines def parse_line(line, delimeter=" "): return [int(x.strip()) for x in line.split(delimeter) if x] def triangle(l): print l for i in range(3): if l[i % 3] + l[(i + 1) % 3] <= l[(i + 2) % 3]: ...
[ "cima.vojtech@gmail.com" ]
cima.vojtech@gmail.com
ae57b70ed6eda0f92b39385332ced1e0fcf017ea
a98947b0dee48d5a014db44f31889ac6cf3a1107
/LD_GAMP_R/Test_LD_GAMP_R.py
cafeae2093acc0ee15c0b95649b1307984d078e3
[]
no_license
PeiKaLunCi/LD-GAMP
bc00139b71ba092f63fe85c60b08101fa32063a8
455da27f00c752531cb4531dcb282f2d8cb1f9e2
refs/heads/master
2020-12-15T21:16:26.416264
2020-03-07T14:43:45
2020-03-07T14:43:45
245,648,986
2
2
null
null
null
null
UTF-8
Python
false
false
11,546
py
import time import numpy as np import tensorflow as tf from matplotlib import pyplot as plt import LD_GAMP_R as LD_GAMP_R import random import h5py #np.set_printoptions(threshold=1e10) ## Network Parameters import os os.environ["CUDA_VISIBLE_DEVICES"] = "0" alg="GAMP" tie_weights=False height_img = 256 width_img = 2...
[ "695865444@qq.com" ]
695865444@qq.com
d605544bb5bd4b5f2f891b75f75930b2d21e7fe4
048df2b4dc5ad153a36afad33831017800b9b9c7
/atcoder/agc008/agc008_c.py
01428e6976f334cebf389e5e84a0a5f947a48943
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
a, b, c, d, e, f, g = map(int, raw_input().split()) if a > 0 and d > 0 and e > 0: ans1 = b + a / 2 * 2 + d / 2 * 2 + e / 2 * 2 ans2 = b + 3 + (a-1) / 2 * 2 + (d-1) / 2 * 2 + (e-1) / 2 * 2 print max(ans1, ans2) else: print b + a / 2 * 2 + d / 2 * 2 + e / 2 * 2
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
8e0fdec3518e0ed5c1d564e69641dbdf3e33a918
9b617d281d83880d385a57809c4cafd55024d516
/manage.py
ca0d6f3d331fffa4ace90b822a09041b6d37c7af
[]
no_license
crowdbotics-users/wwickey-crowdbotics-164
3df5074f39dc34de2def1bde928f523391942689
909b185e528f60b9258b317f7c26b35e791d8685
refs/heads/master
2020-03-16T12:02:27.614606
2018-05-08T20:01:05
2018-05-08T20:01:05
132,658,449
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wwickey_crowdbotics_164.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. ...
[ "sp.gharti@gmail.com" ]
sp.gharti@gmail.com
5d8f1425b2fad2472d4c17f7052ec4d9db036f97
0e0cfb81069fda8cf67561b91cd4968f8e5c3d0d
/Actividad Teoria - Entrega 3 Mayo/src/windows/menu.py
71a6aad03a52f961be8c5255322f42d246454901
[]
no_license
juliermili/seminario
919a555567c0e44e64ea5eb0591677425d26abb6
2fc2be8e8d1a7d060c20a6b07e8df03aacb5e62c
refs/heads/master
2023-04-23T20:03:54.988819
2021-05-03T03:39:20
2021-05-03T03:39:20
352,199,725
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
import PySimpleGUI as sg def build(): layout = [ [sg.Button('Data1', size=(50, 2), key="-DATA1-")], [sg.Button('Data2', size=(50, 2), key="-DATA2-")], [sg.Button('Salir', size=(50, 2), key="-EXIT-")] ] menu = sg.Window('menu').Layout(layout) return menu
[ "juliermili@gmail.com" ]
juliermili@gmail.com
eda512e915db0b90dc647c7c5544c47aa6875d2b
99bb3ef44a1c0727017aab5a9161c0ffbb333c86
/hdl_comments.py
2588175449fc6768f253dd68f0156ce19f170cdb
[ "MIT" ]
permissive
rdustinb/GAPy
7c35c73c89e85ad40fce99d18e2ba129b2439683
3caf19daee229636ed6fc2feac202cbdad8557cb
refs/heads/master
2022-08-09T18:24:46.595695
2022-07-26T16:51:04
2022-07-26T16:51:04
44,443,126
1
0
null
null
null
null
UTF-8
Python
false
false
4,695
py
import sys, getopt, os from termcolor import colored, cprint def main(argv): """ Main Script Execution Point """ directory = '' singlefile = '' ignorestart = 'NaN' try: opts,args = getopt.getopt(argv, "hf:d:i:") except getopt.GetoptError: print('python hdl_comments.py -f <filename>') prin...
[ "dustin.brothers@icloud.com" ]
dustin.brothers@icloud.com
727df59b7e7d7e6f5d0fe4af8ed16d4cd63151dd
0459eca6819b9a57a7fc388ee626fbcece9e6c90
/projet_st.R
941c8b00513acd02e1cda0a3404be7fc97b5a664
[]
no_license
Orlogskapten/Vectoriel_auto_regressif
c3138ee88b05f1765cfb43941061e675ad984356
09782d9d33d9dc387d22c16803d14ffa7f78145a
refs/heads/master
2022-12-01T23:11:59.502390
2020-08-13T07:31:51
2020-08-13T07:31:51
287,211,705
0
0
null
null
null
null
UTF-8
Python
false
false
44,876
r
#!/usr/bin/env python # coding: utf-8 # # Projet d'analyse de séries temporelles # # En colaboration avec : # # - [Paul Leydier](https://github.com/pleydier) # # - [Damien Raimond](https://github.com/dams-lab/) # # - [Wenceslas Sanchez](https://github.com/Orlogskapten) # # --- # # Le but du projet...
[ "noreply@github.com" ]
Orlogskapten.noreply@github.com
15255dffd47f10b3f99409f7b5dea95315005ab9
fb8cbebdf034b2f478943752d5443afc82c6eef5
/tuirer/users/models.py
a3a6f2b88a946f2a8ca0ab80decd3e78a3924509
[]
no_license
fariasjr/CitiTuirer
f64e0ec93ef088f8140bb0961d2ad4ed3b59448a
deb3f7a9c2d45b8a7f54639037f097b99abdac11
refs/heads/master
2020-03-24T05:10:36.261050
2018-08-01T20:24:30
2018-08-01T20:24:30
142,477,521
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): picture = models.ImageField('Fotode perfil', default='/img/blank-pic.png') following = models.ManyToManyField('self', blank=True)
[ "jornadaciti@ug4c08.windows.cin.ufpe.br" ]
jornadaciti@ug4c08.windows.cin.ufpe.br
effb3ee7b4162231d120df597dc22d67af06d86a
36aa9e4268394b23826abf20c64bcb9821c102c3
/FTP_downloadBinFile.py
47266e801cea51b5fa01fec2e11bd889a868b22e
[ "Apache-2.0" ]
permissive
ChenSunMac/BlueNose_ToolKit
011b3ad0fd1c9eb5eb206f26f66a798518ebb3df
edd4fbc0e13903c591f156d673d584551403905c
refs/heads/master
2021-09-15T04:10:55.561165
2018-05-25T14:19:51
2018-05-25T14:19:51
108,892,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 2 11:08:02 2017 @author: Chens """ import ftplib import os import socket #HOST是远程FTP地址 HOST = '222.222.444.92' DIRN = 'hcjy/css/' def main(): try: f = ftplib.FTP(HOST) except ftplib.error_perm: print('无法连接到"%s"' % HOST) return print(...
[ "chensunmac@gmail.com" ]
chensunmac@gmail.com
6c9b764a14bf8bfa12a485be883a1637e1498062
8efe1f1ea1a9ac81b8abc261aae0a8084131b478
/utility/get_korea_stock_code_list.py
c7f6113b033b39f2293a5738c3d698a82af033f2
[]
no_license
linanzhu/TradeBot
8de6befd715724ff5602b5dc71c89132b0cf0cca
a9b08fc48d2ad4b5e27c92c72968a88eed191acf
refs/heads/master
2020-03-18T17:47:48.062419
2018-05-27T14:30:13
2018-05-27T14:30:13
135,051,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
# -*- coding: utf-8 -*- # 다음은 주식알고리즘 전문회사 사이트이다 # 상장 주식들의 코드를 제공한다. # http://bigdata-trader.com/itemcodehelp.jsp # Install해야 할 package들 # : pip install lxml # : pip install html5lib # : pip install beautifulsoup4 import os import numpy as np import html5lib import pandas as pd if float(pd.__vers...
[ "noreply@github.com" ]
linanzhu.noreply@github.com
07d46fef45ca10f86c44bdf72420c66f478bbe99
032edbd5eccee1896a207f6e0b0ba1d026d4e984
/basics/threads.py
86d4e0ae8c859f7bfd652c9ccc8e1ee29e98a117
[ "MIT" ]
permissive
grzesk075/PythonSandbox
95812a69e1b53e1faea574c10ec8db6fc79a58d2
9fa879b4a15a971258c458bbfe55c7a899c95ce5
refs/heads/master
2021-06-10T11:35:06.781026
2019-11-20T14:10:18
2019-11-20T14:10:18
156,559,088
0
0
MIT
2021-04-20T17:46:55
2018-11-07T14:31:11
Python
UTF-8
Python
false
false
547
py
import threading import time # import queue - designed for inter-thread communication and synchronization class AsyncPrinter(threading.Thread): def __init__(self): threading.Thread.__init__(self) def run(self): for i in range(20): time.sleep(0.01) print('Async:...
[ "grzegorz.kuprianowicz@tomtom.com" ]
grzegorz.kuprianowicz@tomtom.com
c36c3e33fb0f68a51c3042802b366cdc95ddec55
a22661610155c1c144f082b6ba4c7d935eeddbd6
/tests/test_user_model.py
675e627af78865e3c33ce1130e2919e69658d214
[]
no_license
gerocha/petshop
7d21b746f83549671033ab772eaa652861791063
7e0b64e002c05ed4a9b17b59196fa55ed040df82
refs/heads/master
2020-03-28T09:48:51.764661
2018-09-23T01:19:14
2018-09-23T01:19:14
148,061,734
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from petshop.user_model import authenticate, get_user def test_authenticate_existing_user_should_return_user(user_batima): auth = authenticate(username=user_batima['username'], password=user_batima['password']) assert auth is not None def test_is_correct_password_with_correct_passwo...
[ "gel@leandro@alertaapp.com.br" ]
gel@leandro@alertaapp.com.br
4a0bcf2cba4fcc37359b3360e26fdc69ed83fda6
e75f01e5db9239e637879c0dda03ce5254b14466
/fls/migrations/0016_auto_20190321_2317.py
086b104a3e567a4493465592b06fa92cb12ad32b
[]
no_license
Korgutlova/diploma
b90b49fd6c2f2d2f36d6ae84b937821e9ae31dc3
cee5759a33330627d2b0927937138c128da4d368
refs/heads/master
2020-04-23T18:24:46.931706
2019-06-26T06:00:35
2019-06-26T06:00:35
171,366,047
3
0
null
null
null
null
UTF-8
Python
false
false
541
py
# Generated by Django 2.1.7 on 2019-03-21 20:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('fls', '0015_auto_20190319_2338'), ] operations = [ migrations.AlterField( ...
[ "iashevyakov@mail.ru" ]
iashevyakov@mail.ru
b4d01dd3705d74d25a15957865fcbc913580986c
36afa271f080459adf1014cd23f4be9f954dfee6
/Crawler/Course/第八章:scrapy框架/sunPro/sunPro/spiders/sun.py
35ab678e80afc0bf5d06d12f11a75a5455738471
[]
no_license
King-Of-Game/Python
b69186a7574ce1c0b7097207cfe9a2eb38a90bc0
643b9fd22efd78f6679735f23432943a57b5f5bb
refs/heads/master
2023-05-25T05:35:14.473114
2021-10-24T12:52:21
2021-10-24T12:52:21
151,251,434
3
0
null
2023-05-01T20:51:50
2018-10-02T12:34:04
HTML
UTF-8
Python
false
false
2,909
py
# -*- coding: utf-8 -*- import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from sunPro.items import SunproItem from sunPro.items import DetailItem # 需求:爬取小说分类、名称、人气、简介 class SunSpider(CrawlSpider): name = 'sun' # allowed_domains = ['www.xxx.com'] sta...
[ "871437338@qq.com" ]
871437338@qq.com
522f3091c7930ae3db3d74832d60772a6e40c0df
4eb4a51464a1c6f1729a92e7dabc4b6e747c23e5
/tests/python/test_copy.py
bdcd4f6325adcb2e1c4e2989e555478273b0293f
[ "BSD-3-Clause" ]
permissive
LongyanU/psvWave
b8ae7cd8024f940affa0d259fe27bc8582393f65
2caf2d5018a7f80ecb645640c8564afb52883819
refs/heads/master
2022-11-09T01:31:30.150963
2020-07-03T09:54:59
2020-07-03T09:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
import psvWave import numpy def test_copy(): model = psvWave.fdModel( "../../tests/test_configurations/default_testing_configuration.ini" ) model2: psvWave.fdModel = model.copy() def test_copy_modify(): model1 = psvWave.fdModel( "../../tests/test_configurations/default_testing_confi...
[ "lars.gebraad@erdw.ethz.ch" ]
lars.gebraad@erdw.ethz.ch
68f3c986ea57a2c8867a281c046b02f3481a1037
3ef6eb6071c2de6c7e9139de1c8c1da09cc222dc
/generate_tfrecord.py
2890689a6b85655da46ec08e9394f0db8a8bb8c4
[]
no_license
MoGaber/segmentation-of-planes-satellite-imagery-satellogic
c2e4f336bbb3829a8086b53a340065cfe8a9a311
06a4ef36baf08704b36e633d50219fa12df6c058
refs/heads/master
2023-04-15T19:38:39.640901
2021-04-24T02:06:18
2021-04-24T02:06:18
298,437,303
1
0
null
null
null
null
UTF-8
Python
false
false
3,483
py
""" Usage: # From tensorflow/models/ # Create train data: python3 generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record # Create test data: python generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=data/test.record """ from __future__ import division from _...
[ "gaber@minerva.kgi.edu" ]
gaber@minerva.kgi.edu
2c56642bd2995c1960d44d3ecaf052abec1da8d3
208fc53e55e88b94aec48b0f1a9c13d19793bc0e
/assignment_1/problem2.py
bb967b7d93d18ebcb82e3e992ff6b6acece2e4c7
[]
no_license
YixueWang/Priniciples-of-Informatics
8810e6753b698c431ce8426593e00d9c312ec932
1d0c25e55bce934043080605e7349a8d58cb518e
refs/heads/master
2021-01-10T14:35:10.516388
2015-12-03T21:14:40
2015-12-03T21:14:40
47,356,115
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
import sys import pandas as pd file1 = open(sys.argv[1]) df = pd.DataFrame.from_csv(file1) a = set(df['Complaint Type']) b = list(df['Complaint Type']) for n in a: print str(n) +' with '+ str(b.count(n)) +' complains'
[ "yw1819@nyu.edu" ]
yw1819@nyu.edu
605b69b97d71ca06ff53108fa17904b0d3e284f3
e9ceaa0bb091c189373ac0c70a545bca5791d50d
/egg_timer_2.py
feffa178e94448820d73a59289c40ae4f4105fe6
[]
no_license
oupofat/lesson-one
5a967a14a68175ddde4b6f4e77d0a068e8ad8262
8fa591fc4be08ccd4eb0bb01a72eaa5795eb295a
refs/heads/master
2021-05-01T21:24:38.509955
2018-02-10T02:18:29
2018-02-10T02:18:29
120,976,057
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
'''It takes 2 eggs to make 5 pancakes. Ask the user how many pancakes they want to make, and tell them how many eggs they need. Decimals are okay.''' pancakes = float(input("How many pancakse do you like")) eggs = 2/5 eggs_uses = eggs * pancakes print ("you will need",eggs_uses,"eggs to make this many",pancakes...
[ "noreply@github.com" ]
oupofat.noreply@github.com
ea9e7a8b99cd02b1f71e0f5c2c419a055b084728
fe0bca3fcf363ebc465fcc370e77b55df1cfaaa7
/src/route/work_viewer.py
f79466d814c37cc4151ac1ca0217dbe9d45950dc
[]
no_license
sihcpro/todo-list
66847aece556fe45223b98ecc44f04bbaaf17b55
1db48a63e9f4d309d57baeca691f6e85c36866a6
refs/heads/master
2022-11-17T14:34:20.316901
2020-07-14T10:16:18
2020-07-14T10:16:18
279,233,154
0
0
null
null
null
null
UTF-8
Python
false
false
3,661
py
import calendar from datetime import timedelta from sqlalchemy import Date, and_, cast, or_ from .data_define import ShowWorkData from .resource import WorkResource def configWorkViewer(Domain): session = Domain.session def getValidatedDate(param): date_data = ShowWorkData( from_date=par...
[ "tvquocchi@gmail.com" ]
tvquocchi@gmail.com
14c8a651775fd01a8b08f03a40c76e197beaee1c
0118285a9feed3693f36659ac7646ab38b931f54
/satapp/wsgi.py
453bb017b0b3e60101701ba05b00cbd197164e0f
[]
no_license
jdobes/openshiftplayground
6a4513ec10db2d74b06fcbe0c1270149e67be17a
5ec5bb85bca0e8d4b4e8816cff66bbd249e9c5ae
refs/heads/master
2021-08-29T23:52:25.929976
2017-12-15T10:20:26
2017-12-15T10:20:26
111,908,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import ujson import falcon import errata DB_HOSTNAME = "postgresql-slave" EXAMPLE_MSG = "Example:\ncurl http://<FQDN>/errata?pkg=<nvrea>\n" cursor = errata.init_db(errata.DEFAULT_DB_NAME, errata.DEFAULT_DB_USER, errata.DEFAULT_DB_PASSWORD, DB_HOSTNAME, errata.DEFAULT_DB_PORT) class Test(obje...
[ "jdobes@redhat.com" ]
jdobes@redhat.com
ba11745933fa5c61976989834c195771c5305183
0aa5187e4bfa91434ac8446aced2763faac0d3b9
/numerical_analysis.py
c55bc690f55acc5d99b5d9512e011575833495de
[]
no_license
nadavpo/real_fake_im_classifier
889879ef26e74fe686ade52372b7697cb41c732c
597bad2b3699fad8c629c6217db68a390d0f6adb
refs/heads/main
2023-09-04T22:43:34.230129
2021-11-17T18:31:07
2021-11-17T18:31:07
428,213,391
0
0
null
null
null
null
UTF-8
Python
false
false
7,097
py
"""Plot ROC and DET curves.""" import os import argparse import torch import scipy.stats as sp import matplotlib.pyplot as plt from sklearn import metrics from torch.utils.data import DataLoader from common import FIGURES_DIR from utils import load_dataset, load_model device = "cpu"#torch.device("cuda:0" if torch....
[ "noreply@github.com" ]
nadavpo.noreply@github.com
77d3ccb4fbb606e29dc100993d9286af9143d806
f00767fdeed6bfa8b12f6900b9f9bd5c70786895
/models/base_db.py
b9ec16abf725b932e97446cf9463b303db180b0b
[]
no_license
guoyu07/domain_whois_query
de22cb5d83db2441ba512935fd7f3ed5c158997a
c70b52f2b9306e4b9ead273de279cd149052623f
refs/heads/master
2020-12-07T06:24:57.907042
2015-11-29T00:53:31
2015-11-29T00:53:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
# encoding:utf-8 """ 操作数据库基础类 """ import torndb class BaseDb(object): def __init__(self): self.db = torndb.Connection( host="172.26.253.3", database="DomainWhois", user="root", password="platform", charset="utf8" )
[ "mrcheng0910@gmail.com" ]
mrcheng0910@gmail.com
3e98058f7493b2f337bc4cd0732597063e4222b7
c5231cd5696c4c036723e9c36110cf6da9b0fc8f
/ui/testDialog.py
59f10c203e43cb0764b56dec160c3c9ff7a77422
[]
no_license
kubaz122/Cristal
26afc0bc6619ce3cc01b785f7f34b0d59cbf03d9
7b2adf00608b96e90fa2c7a2c915167b1d0efaec
refs/heads/master
2020-12-27T15:57:32.644733
2020-02-03T16:40:31
2020-02-03T16:40:31
237,890,176
0
0
null
null
null
null
UTF-8
Python
false
false
1,888
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/home/zielak/BlackDev/BlackDevUnpack-zqcazfqpyi/usr/src/cristal/ui/testDialog.ui' # # Created by: PyQt5 UI code generator 5.13.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui...
[ "blacksoft@int.pl" ]
blacksoft@int.pl
bfc0eb29f275677c7395aadbfec57e0cf384125f
416753425946c580d452bfe0eb86563230e7d01b
/app_blog/tests_model.py
cc1c66310038afb71bc8f2a6b5b7e33fc9072dd9
[]
no_license
UADesant/myblog
79404a0be206b1b57b71f37478b2ef1b1d27c362
68256f2847a6e9e3fcb2e3398d050cfd1c4b1bb4
refs/heads/master
2023-04-17T10:20:47.365102
2021-05-07T09:28:31
2021-05-07T09:28:31
359,869,024
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
from django.test import TestCase # Create your tests here. from .models import Category class CategoryModelTest(TestCase): @classmethod def setUpTestData(cls): # Set up non-modified objects used by all test Category.objects.create(category='Innovations', slug='innovations') def test_ge...
[ "makc.dudar@gmail.com" ]
makc.dudar@gmail.com
30a88e9a85e870ada62701b27587c4a9ba59ba65
a5b43123d91d23581ae1f1cc725d7b004a4caa25
/python/counting rock samples.py
53f459ff4dba284ce0183deb39eef9b2e3a04b37
[]
no_license
ivan570/code
376001416a01f0a870a0d73796f1a61dd3bfe958
e5a8e9bf7c9ea27b070ca3f351bb54cb16ce0317
refs/heads/main
2023-05-23T04:48:30.477060
2021-06-11T15:50:30
2021-06-11T15:50:30
330,686,610
0
1
null
null
null
null
UTF-8
Python
false
false
325
py
from collections import Counter S, R = map(int, input().split()) sample = list(map(int, input().rstrip().split())) p = dict(Counter(sample)) for _ in range(R): start, end = map(int, input().split()) c = 0 for i in range(start, end + 1): if p.get(i) is not None: c += p.get(i) print...
[ "ivankshu@gmail.com" ]
ivankshu@gmail.com
7d31fe18877c6078bd75cf9d7badeddd503d0e55
0466559817d3a1be9409da2c83db99c4db3bacfe
/hubcheck/shell/container_manager.py
0d0d575c450a0cd9d608a7c9e7729ac697b061c0
[ "MIT" ]
permissive
ken2190/hubcheck
955cf9b75a1ee77e28256dfd3a780cfbc17de961
2ff506eb56ba00f035300862f8848e4168452a17
refs/heads/master
2023-03-20T15:17:12.949715
2015-09-29T16:11:18
2015-09-29T16:11:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,451
py
from .toolsession import ToolSession from hubcheck.exceptions import ConnectionClosedError from hubcheck.exceptions import SessionCreateError import logging import pprint import re import hubcheck.conf class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._insta...
[ "telldsk@gmail.com" ]
telldsk@gmail.com
d92f30b3e758222776245aa95fcb11704d4d7d8b
9272584f18cdc8450713b2376fef966934f3fd3e
/starblock/starblock.pyde
c8bf8e37339c6b6f39cc330a7547603edd25f169
[]
no_license
FranciscoPython/TamashiVR
ff949ad610ba5f2f870ab9438a2fd89d85079ae0
403461bea9f0cff785308089ca2ad69be927697b
refs/heads/master
2020-12-22T15:26:54.250975
2020-03-02T13:14:20
2020-03-02T13:14:20
236,840,838
0
0
null
null
null
null
UTF-8
Python
false
false
3,105
pyde
key_mode = 1 padpos1 = 0 x = 10 def frame(): fill(145) rect (0, 0, 500, 500) def Innerframe(): fill(45) rect (10, 10, 480, 480) padpos= -10 def paddle(): fill(255) circle(padpos , 460 , 20) circle(padpos + 20 , 460, 20) rect(padpos, 450 , 20 , 20) def set...
[ "noreply@github.com" ]
FranciscoPython.noreply@github.com
75750e2d778d9088cc0aa9d4e0a9b23d245d0029
7041c85dffb757c3e7063118730363f32ebb9b8a
/프로젝트/20190111/open_api.py
af937d2499eb4c1f56272d6930b3d2c64641b4f6
[]
no_license
woonji913/til
efae551baff56f3ca16169b93185a65f4d81cd7a
a05efc68f88f535c26cb4d4a396a1e9cd6bf0248
refs/heads/master
2021-06-06T23:17:54.504620
2019-06-19T04:29:18
2019-06-19T04:29:18
163,778,844
1
0
null
2021-05-08T16:27:17
2019-01-02T01:08:19
HTML
UTF-8
Python
false
false
1,240
py
import requests from bs4 import BeautifulSoup import csv, datetime, os date = datetime.date(2019, 1, 13) weeks = datetime.timedelta(7) movies = [] check = set() key = os.environ['KEY'] for i in range(10): current = date - weeks * i url = f'http://www.kobis.or.kr/kobisopenapi/webservice/rest/boxoffice/searchW...
[ "johnnyboy0913@gmail.com" ]
johnnyboy0913@gmail.com
60fda27af18dd2cb7d19ba6fa1c357da127acf69
45f1501f28d71510237b51f66a215cdc7779cdab
/klinik/klinik/settings.py
07f4c10a354037ca33dfe332af832827230cb88a
[]
no_license
Aldodev01/Django-Crud
809def1faa51679f46315080df9a4851f37c3830
9ed4844e85a09eba3db464e1c8064496dc195ef1
refs/heads/master
2023-03-10T02:20:53.491501
2021-02-28T02:34:46
2021-02-28T02:34:46
343,004,618
0
0
null
null
null
null
UTF-8
Python
false
false
3,269
py
""" Django settings for klinik project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "aldodevox@gmail.com" ]
aldodevox@gmail.com
0f062cc01fbb6a98530d53acaacf401676251db0
921fb4c92c8c17f362f74bda23cfa8570495aba2
/Fight.py
fe99825860bd9c09fe22e4145d0a792e13238050
[]
no_license
jamestyhurst/Europa-Barbarorum
b3e652559110e1e4f4c97a342b44592bafa52020
c34015028f69a553429d43b9852620d8e8dacd87
refs/heads/master
2021-01-01T02:42:10.946861
2020-02-24T07:06:42
2020-02-24T07:06:42
239,145,713
1
0
null
null
null
null
UTF-8
Python
false
false
36
py
#Fight.py, File for combat functions
[ "JamesCTyhurst@gmail.com" ]
JamesCTyhurst@gmail.com
d1597ffd8c87152ec49b9949a7de3ec827c5d1d4
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/matplotlib/2017/12/setupext.py
2868fd76aee773dc4d8d576d9dfe80e8c6cca6b4
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
68,786
py
from __future__ import print_function, absolute_import from importlib import import_module from distutils import sysconfig from distutils import version from distutils.core import Extension import distutils.command.build_ext import glob import multiprocessing import os import platform import re import subprocess from...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
d17f6b1a279af3be2139adc5998d5a7d115792ec
ea659b7456912bd1d05c5e0c051674d3eafa2af5
/cmproject/settings.py
cc4cde58f9cf122938e507b07048da1a689fd6d9
[]
no_license
pablomonteiro/cmproject_horaextra
e78dcfba04ee9a5d16ef5cca888748e6da63d3cb
769be04e4c616d12044b61ada279552867138005
refs/heads/master
2021-02-10T21:10:20.975535
2020-03-02T19:02:48
2020-03-02T19:02:48
244,419,726
0
0
null
null
null
null
UTF-8
Python
false
false
3,144
py
""" Django settings for cmproject project. Generated by 'django-admin startproject' using Django 1.11.27. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
[ "pablomf84@gmail.com" ]
pablomf84@gmail.com
b313a40665834fa373eb35ee42a45551315f5bcc
60e27db34568fbb042ebc1209a80a69ca244de0c
/resources/lib/common/constants.py
9fea76c391c544a3ee0a8b543751cf7d39c9cd57
[]
no_license
Prometheusx-git/plugin.video.unofficial9anime
425f3fce1e299c06e96b873567a42e4b4f2c9c25
9ea5c5bde3337fadc3bde4e915db0f8efcfc2e9c
refs/heads/master
2021-01-01T06:30:31.144584
2019-03-20T08:49:23
2019-03-20T08:49:23
97,443,808
7
2
null
null
null
null
UTF-8
Python
false
false
7,607
py
# -*- coding: utf-8 -*- ''' The Unofficial Plugin for 9anime, aka UP9anime - a plugin for Kodi Copyright (C) 2016 dat1guy This file is part of UP9anime. UP9anime is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
[ "prometheusx@gmx.de" ]
prometheusx@gmx.de
72dff18867a5ecc45e8a6feb50567cf3be592ed6
6c951ca04d6c0db92b05972d651d370302d98a2c
/tests/test_sensitivity_analyzer.py
35a1db44b33b09a91687ae8644cb8603a1c9727c
[ "MIT" ]
permissive
nickderobertis/sensitivity
9309bba0aadbac6e8dba09e7c7b1477d063a6d6d
8f0d0e676213772bdb8cbc8c6fc08fdba6dc6b53
refs/heads/master
2023-02-23T20:33:45.118907
2022-10-09T01:17:01
2022-10-09T01:17:01
239,607,375
12
0
MIT
2023-02-11T02:07:41
2020-02-10T20:33:30
Jupyter Notebook
UTF-8
Python
false
false
2,995
py
import uuid from pandas.testing import assert_frame_equal from sensitivity import SensitivityAnalyzer from tests.base import EXPECT_DF_TWO_VALUE, SENSITIVITY_VALUES_TWO_VALUE, add_5_to_values, RESULT_NAME, \ SENSITIVITY_VALUES_THREE_VALUE, add_10_to_values, EXPECT_DF_THREE_VALUE, assert_styled_matches, \ DF_S...
[ "whoopnip@gmail.com" ]
whoopnip@gmail.com
694553df0c0aa0de72c6cd3372d907b36a37b9fa
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_3_neat/16_0_3_RTN8_solve.py
7578551770778fbca70157c20919e407da47b880
[]
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
2,357
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import math def optimal(from_, to_): if from_ % 2 == 0: yield from_ from_ += 1 for divider_candidate in range(from_, to_, 2): yield divider_candidate def get_divider(x, from_, to_): for divider_candidate in optimal(from_, min(to_, int(ma...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
be2d4b941c14faa0176be8ec0a90f175fe943bde
a93ce0dbb557f9e3a0218fe22bf80d7fe42c84a2
/deepgmm/methods/mnist_xz_model_selection_method.py
0f171d6592144cf9f0978b2cea0468604d1856c0
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/AdversarialGMM
9d31993e7907937a80a0bef721c4f879a1009904
691fbe0761ee5b40dbc4e38317946a7193186af2
refs/heads/main
2023-06-24T00:22:55.120222
2023-06-12T18:16:19
2023-06-12T18:16:19
306,104,666
30
18
NOASSERTION
2023-06-12T18:16:20
2020-10-21T17:49:34
Python
UTF-8
Python
false
false
4,975
py
import torch import torch.nn as nn from torch.optim import Adam from game_objectives.simple_moment_objective import OptimalMomentObjective from learning.learning_dev_f import GradientDescentLearningDevF, SGDLearningDevF from methods.abstract_method import AbstractMethod from model_selection.f_history_model_selection_v...
[ "vasy@microsoft.com" ]
vasy@microsoft.com
3bc807fff68940a850babd595cc1a6d5f414496c
0f1db4874afcdcf16397dcb5a0e82ae4897efbe6
/longest_prefix_suffix/code.py
6b0dba7950c915f29d609e639ea736d0e9e11f17
[]
no_license
anarkia7115/g4g
619a22af59f1f3cacfbd8db734f37e2c0870e7d0
0dafd0beb8c640395e905fc313736921571a9e5a
refs/heads/master
2020-03-30T16:08:27.453764
2019-03-07T01:44:47
2019-03-07T01:44:47
151,394,943
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys def main(): sys.stdin.readline() # loop every line for l in sys.stdin: l = l.strip() # print(l) lps = 0 # init lps curr_prefix = "" # init prefix # loop every char for ch in l[:-1]: ...
[ "gaojxcs@gmail.com" ]
gaojxcs@gmail.com
3d9809d331b11e78f16c48a0364c18ecd3672cc4
6cf57efb6ae16d593d6272816ad5fcb4b869c1e7
/bin/django-admin
59362b958b1dcd2bc7134477d15610d1f9927277
[]
no_license
daltondiaz/true-promotion
b41171790c4e9ade7fd503117520dd2f52120c1a
4ff1651223ca5a98169e278af238a5d99691c6e3
refs/heads/master
2021-01-17T17:34:06.353708
2016-10-11T02:03:18
2016-10-11T02:03:18
70,442,353
0
0
null
null
null
null
UTF-8
Python
false
false
303
#!/home/dalton/Dev/python/true_promotion/env/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "dalton.dias@ymail.com" ]
dalton.dias@ymail.com
1c68371a7e2d8eaddb197d4d63eff1c8935ef143
5c8346597e3690eec3939f56f233eb5fafd336bc
/varsom_regobs_client/models/snow_temp_view_model.py
761a19ec81381882d6deee0093d85ef0c634d216
[]
no_license
NVE/python-varsom-regobs-client
be44befd04ca07058f8b46ec69bf1659d3ee422b
8bb7fc06d2f6da36a5fa4a475d4f036ebe3cfd72
refs/heads/master
2022-12-27T19:09:54.761318
2020-06-24T08:56:15
2020-06-24T08:56:15
274,619,205
0
0
null
null
null
null
UTF-8
Python
false
false
4,254
py
# coding: utf-8 """ RegObs API ## Introduction RegObs is a tool for collecting observations and events related to natural hazards. It is currently used by the Norwegian flood, landslide and avalanche warning service in Norway, but the data is openly available for anyone through this API. Regobs ...
[ "jorgen.kvalberg@gmail.com" ]
jorgen.kvalberg@gmail.com
7e9261d35a8303545bab4d58c725e6db41d12152
84e4232a1162597cdf779eab2a329290bbcc1712
/Machine_Learning/D19-D20 Python Clustering Segmentation/solution/m3q1.py
62184d5773cf3f2467c6d60a9757ba3977acea58
[]
no_license
ohjho/ftds_oct_2018
66046cff606577cf60f3caa414e65a8ecc1bffae
0d0bd1dad87b583bd9e4c4e51b915c1f68e400fd
refs/heads/master
2020-04-01T09:18:43.712700
2018-12-13T09:29:33
2018-12-13T09:29:33
153,069,742
5
0
null
null
null
null
UTF-8
Python
false
false
223
py
# Initialize instance of StandardScaler scaler = StandardScaler() # Fit and transform item_data item_data_scaled = scaler.fit_transform(item_data) # Display first 5 rows of item_data_scaled item_data_scaled[:5]
[ "git@johnho.ca" ]
git@johnho.ca
62283757532919c536c4fe9afbc9a9587785faa6
fd6862057a794174db628bb94a3e5397f0aeaeab
/django/django_full_stack/examproj/examapp/migrations/0003_auto_20200919_1933.py
da7dc642242d0910337bf4d796208658c4099c3a
[]
no_license
bellos711/python_practice
8f7117dd7f21cb1f1549e50de9e4873a2fd0e1d9
19539a08830f67bd4ff445dd539e1441b2ecae72
refs/heads/master
2023-02-15T04:01:40.423472
2021-01-11T17:47:36
2021-01-11T17:47:36
328,255,702
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Generated by Django 2.2.4 on 2020-09-20 02:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('examapp', '0002_auto_20200918_0954'), ] operations = [ migrations.RemoveField( model_name='user', name='liked_wish',...
[ "bellos711@gmail.com" ]
bellos711@gmail.com
356d6496f9b5d3ef867d61fe4ea944f06311fa75
da9e1f7ef83345c4490e744c4bea01cbafe7c3f0
/catalog/test_utils.py
dbb85912ceed36c3cc341e4f20bef4d04764ddbc
[ "MIT" ]
permissive
chriswilley/catalog
38328c1facb973c26ed562719b33e20bdbe1e1b0
09a664a1547a55bc20ff0c8108f9bde55ff10ce3
refs/heads/master
2022-12-02T15:06:11.801009
2020-03-24T16:26:24
2020-03-24T16:26:24
49,510,792
1
1
MIT
2022-11-22T04:28:14
2016-01-12T15:53:30
Python
UTF-8
Python
false
false
1,370
py
import json import os from catalog import app def delete_test_file(filename): """Delete a named file used for testing purposes. """ file_path = os.path.join( os.path.dirname(__file__), filename) os.remove(file_path) return def get_google_client_id(): """Since we have to do this a nu...
[ "cwilley@gmail.com" ]
cwilley@gmail.com
a7e160e11c6dae2533059ec8221fb03be44a9eb8
821c1063078c22edc0b35a98d9634ad4a6d2f10a
/contacts/migrations/0001_initial.py
3225dc0a409a65be4c26266df6f1087141ff2191
[]
no_license
shudii1/carzone-gitproject
888b19e8671843af74ffaee39a284754032a85f1
1b35e1873dab203eeb35d710ea3aa713280db145
refs/heads/master
2023-04-28T16:38:29.478805
2021-05-17T05:11:42
2021-05-17T05:11:42
334,718,960
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
# Generated by Django 3.0.7 on 2021-02-14 14:40 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', m...
[ "hustle162@gmail.com" ]
hustle162@gmail.com
931c1ee3b6dbce31cf3bb4a6cef5c091784387b4
0c29b00e47acbb316dbc6d107b5f415af6be33f9
/Windenergy_prediction/accounts/models.py
e30ccaf60d7bdab5c00d0881a45c5221aae69bea
[]
no_license
ganesh12450/Predicting-the-energy-output-of-the-wind-turbines-based-on-weather-conditon
638763e20d5d5e8123fdac049387e0f189527c2a
e239af4d48da656bcd25e2e8c0af527b184f2a0c
refs/heads/master
2022-11-21T16:05:20.315890
2020-07-15T09:57:35
2020-07-15T09:57:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.db import models # Create your models here. class user_details(models.Model): Name = models.CharField(max_length=30) email = models.CharField(max_length=30) username = models.CharField(max_length=30)
[ "tmuthukumarnpm@gmail.com" ]
tmuthukumarnpm@gmail.com
1bcd21e97a0088563cadcf935ce0e1dc6bc280f8
7f9954b117c7cd3e514c0643c0689245a7927e0c
/src/Speech_recognition.py
fd0c5339ea2f3ffc767352db7bfc5c6112ec6f4b
[ "MIT" ]
permissive
pranayjoshi/Speech_recognition
30f0a9512724230a12000ebc0626b4f6d69b86a4
e42e486babffc7941ff2e425fd48c47e206ce539
refs/heads/master
2022-12-24T14:13:00.326382
2020-09-04T18:01:07
2020-09-04T18:01:07
168,701,681
2
4
MIT
2020-10-01T20:17:11
2019-02-01T13:29:57
Python
UTF-8
Python
false
false
10,035
py
""" Project name = Pranay Assistant(Indo) Name = Indo Developer Name = Pranay Joshi Version = 2.0 Old modules = Speech recognition, GTTs, PyAudio, os, re, webbrowser, smtplib, certifi, requests, pyttsx3 etc. New Modules = google, word2number, wikipedia, time, json, datetime, ctime """ ...
[ "noreply@github.com" ]
pranayjoshi.noreply@github.com
ba5bb8dfdc1f2e5859c708ef09ebf2485d187b2f
cb7dd5c6f33d0e09321cee2a7030ab275e8b541e
/unittests/test_orderbook.py
74ad06589bfaea69d1abc5009659fbf95b71d952
[]
no_license
JakimPL/Iceberg-Order-Book
c2e6d473feb5ddb1aa0ee6efaf37eaeab1cb0ea8
a6f89198ca102bc377d8b04f06685dc3a0f94479
refs/heads/master
2023-03-19T13:59:56.581249
2021-03-17T23:36:02
2021-03-17T23:36:02
347,716,932
0
0
null
null
null
null
UTF-8
Python
false
false
4,255
py
import unittest from modules.order import Order from modules.orderbook import OrderBook class TestOrderBook(unittest.TestCase): def test_order_book_add_order(self): order_book = OrderBook() order = Order((1, "Limit", "Buy", 100, 100, 0)) order_book.add(order) self.assertEqual(order...
[ "jakimpl@gmail.com" ]
jakimpl@gmail.com
3b8d00461c70b529e72e2d5764a08329dd7404a5
46aedfe0d90c396ce17227aa9a53343536c5969c
/application/utils/geocode.py
8a2d5608d0bd2f4c53c2e1ed3662393d33d4140d
[]
no_license
VID-STUDY/CoffeeBot
8e81f36a7427414a7ce93720a3c404f30f36226f
512b5ba0b53d42f09414f95567d8de9ef12885bf
refs/heads/master
2022-12-27T16:37:36.372750
2020-10-13T18:41:30
2020-10-13T18:41:30
299,697,140
0
1
null
null
null
null
UTF-8
Python
false
false
1,565
py
from math import radians, cos, sin, asin, sqrt from yandex_geocoder import Client from typing import Optional, AnyStr def distance_between_two_points(first_coordinates: tuple, second_coordinates: tuple) -> tuple: """ Calculate the great circle distance between two pints on the Earth (specified in decimal ...
[ "sunnat_m98@icloud.com" ]
sunnat_m98@icloud.com
feaca30d209710ef59254b4a7a876cbbc712270f
016cf414259dccd8e45856ef0cd131cf27f66fec
/datapreprocessing/file_to_wav.py
a443a9b3b87dee5ea6ad204e9024e6261fc3732e
[]
no_license
steinszzh/2020capstone
acccd69924ccaf3de77907808422f049631408ac
95d223f15ffbd39af2d79532ee0ed73613b4a399
refs/heads/master
2023-02-03T05:53:06.444073
2020-12-21T12:51:01
2020-12-21T12:51:01
288,187,353
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Dec 19 20:44:10 2020 @author: zhihongz """ import os from pydub import AudioSegment def convert_to_wav(dir_path): for file_path in os.listdir(dir_path): if file_path.split('.')[-1] != "wav": read_file = AudioSegment.from_fi...
[ "noreply@github.com" ]
steinszzh.noreply@github.com
7bbd45dc9c290c1a74e2526119f7f5cc401db529
874abdd97c48329a10e13845fe75bbb18dbfd650
/stocks.py
3e863b6654d85f3459bf1f0f72a4721b2fdb4bd5
[]
no_license
JakeSigwart/Stock_Dataset
ff732cf268bb9b138168947eb0b3ae50d52bec81
972b82f80d835785c9682b29b695d3823f3122db
refs/heads/master
2021-05-03T22:55:15.202175
2018-02-06T03:42:33
2018-02-06T03:42:33
120,394,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
import os import time import pickle import numpy as np import pandas as pd import datetime as dt from Stock_dataset import * path = os.path.dirname(__file__) todays_date = str(dt.date.today()) tickers = ['AAPL', 'AMZN', 'NVDA', 'GM', 'T', 'CAH'] #sp_500_tickers = np.load(path + '\\data\\tickers.npy') dat...
[ "noreply@github.com" ]
JakeSigwart.noreply@github.com
4e58a5df4cfa106e927ac654f9765e8d43ca5acf
4ffe483f8297aa3fee8254ce569c3d260f156524
/code/test-suite/EstheRustConvertor/expected/ope_3.py
944cfb4dd8188ed2a425d563179d2e2545527d5f
[ "MIT" ]
permissive
SamiBelaidi/LOG3210
5dd7fbfc4cd709c9c46a2b4dc250cb565650293c
03b3952af125be98fe32eefb2338767020033f51
refs/heads/master
2023-04-16T05:58:20.147795
2021-04-25T20:54:29
2021-04-25T20:54:29
334,222,417
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
variable4 = 9 - 9 + 5 variable5 = (9 + 5) - 19023 variable6 = -9 + 0
[ "sami.belaidi98@gmail.com" ]
sami.belaidi98@gmail.com
3c851c00f3168cf06f90684e89022ab2bc3965e0
c9697437c292df7fefd68559fdd9636066bdb2f1
/dev/animations/quick_sph_harm_anim.py
70d6bba7b23d2c08505d1efe4f8e75ea2ef961bf
[]
no_license
JoshKarpel/ionization
ebdb387483a9bc3fdb52818ab8e897e562ffcc67
3056df523ee90147d262b0e8bfaaef6f2678ea11
refs/heads/master
2021-03-24T13:03:57.469388
2020-04-06T03:37:04
2020-04-06T03:37:04
62,348,115
0
0
null
null
null
null
UTF-8
Python
false
false
5,491
py
import logging import os from copy import deepcopy import simulacra as si from simulacra.units import * import ionization as ion import matplotlib.pyplot as plt FILE_NAME = os.path.splitext(os.path.basename(__file__))[0] OUT_DIR = os.path.join(os.getcwd(), "out", FILE_NAME) if __name__ == "__main__": with si.u...
[ "josh.karpel@gmail.com" ]
josh.karpel@gmail.com
919db12dde6d6740bb4331a91b54bcc197fc0e1a
0a4b219ff87e296f7afe92967d7224e5d4bef67b
/Algorithms/64_Minimum_Path_Sum/Minimum_Path_Sum.py
08cf40c542afa3e9c0273d358d568dde19a6abaa
[]
no_license
lirui-ML/my_leetcode
ef3a3fb73a85d53b14e8c112ad70c1b353c3dfba
13e7ec9fe7a92ab13b247bd4edeb1ada5de81a08
refs/heads/master
2021-08-07T12:26:12.508487
2020-12-11T06:07:29
2020-12-11T06:07:29
229,288,993
1
0
null
null
null
null
UTF-8
Python
false
false
2,129
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 描述:最小路径和 (难度:中等) 给定一个包含非负整数的 m x n 网格,请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。 说明:每次只能向下或者向右移动一步。 示例: 输入: [   [1,3,1], [1,5,1], [4,2,1] ] 输出: 7 解释: 因为路径 1→3→1→1→1 的总和最小。 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/minimum-path-sum 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注...
[ "1342058369@qq.com" ]
1342058369@qq.com
a36ae4917549a017d3b949b570e8c4b0577ac04a
0f8f6d9ddee615ecd4d54c5c849c9660e1dd3c69
/SimpleAIassistant.py
cc948040a39195f57aab1f90a354ef22f57438fe
[]
no_license
fairy186/SimpleAIassistant
a1e9d2553785fb5758133297499b23716afa8beb
1bd513b1960d6e5df220e08982ac6ebf3c10bd6d
refs/heads/main
2023-08-25T09:38:39.081754
2021-11-09T09:28:19
2021-11-09T09:28:19
426,166,840
0
0
null
null
null
null
UTF-8
Python
false
false
4,242
py
import speech_recognition import pyttsx3 import os import pygame from datetime import date, datetime light = 0 while True: robot_Listen = speech_recognition.Recognizer() robot_speak = pyttsx3.init() voices = robot_speak.getProperty('voices') robot_speak.setProperty('voice', voices[1].id) with speech_recognition.M...
[ "huy.nx.60cntt@ntu.edu.vn" ]
huy.nx.60cntt@ntu.edu.vn
1f182e8a36647ee5821729ce8dbb868c606bb379
928d800fb38dbc9aeab9e1e4536c559154ca9a40
/www/handlers.py
0becb2850c49492136de9e63fafd80ffec916a32
[]
no_license
weilei0209/awesome-python3-webapp
d4664b7cbba8359cc93f24ca6a7f42cc73998bc1
3d5b1427d73aa4a0a35238cf02b823a064e556a7
refs/heads/master
2021-01-22T13:51:42.943883
2017-08-30T08:34:37
2017-08-30T08:34:37
100,683,959
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'Wei Lei' ' url handlers '
[ "weilei0209@163.com" ]
weilei0209@163.com
ac6a3c014150e6d5977baa99c4a14e69a2f65419
f4f2be5885ce0cf7647c856cf202e63163009d5b
/University_Lecture/05week_HW_02.py
640a0b5f1a76a876af0432b3f886c3ed0b661471
[]
no_license
epsilon-d/Python
9488198dfff7be446ab99a784b7404fc27cd74d9
27a5298a0ba33aa8c63ff9bd6d372ac30be3df04
refs/heads/master
2022-06-02T09:07:50.988547
2022-05-26T18:27:42
2022-05-26T18:27:42
209,555,591
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
# 연습문제 #2: 홀수의 합 sum_num = 0 for x in range(501, 1000, 1): if x % 2 == 0: continue sum_num = sum_num + x print("500에서 1000까지 홀수의 합: %d" % sum_num)
[ "eumyangsun3@naver.com" ]
eumyangsun3@naver.com
a2f2c2365fbdeb8aa7369aa3fe1d11c10b4e1f3b
3dbb88524b16e9a58310f612829380c2152eb54a
/mysite/mainApp/migrations/0003_registration2.py
47fef75bf3f6b60f5cffe5470a516f2fae1ba4cf
[]
no_license
Amir-error/Django_ib_1kurs
ccc826896e86cffeeb332df8ba5ea4ae13e528f5
e710a14c420fd6c45dba636aa076894483fb0543
refs/heads/master
2023-04-15T19:22:56.111218
2021-05-06T18:08:13
2021-05-06T18:08:13
341,322,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
# Generated by Django 3.1.4 on 2021-01-31 09:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainApp', '0002_registration_password'), ] operations = [ migrations.CreateModel( name='Registration2', fields=[ ...
[ "amir-bilalov@mail.ru" ]
amir-bilalov@mail.ru
51cd6deb2f42faf59d3c7e5bf876fa0321501eb3
9407b2b21f4696ff5b392e7ac8eb0b421dd415a5
/downloader/models.py
b98779828989e32c4a03d5540b3b9c4df0cd4b3e
[]
no_license
Craeckie/otrtools
15f06bd037a608334904cd032aaa803a02cab254
3abad47bfe126e47c9cc1256263b2297bd1dc56e
refs/heads/master
2023-02-22T07:41:13.267355
2022-08-11T21:23:13
2022-08-11T21:23:13
249,022,513
1
0
null
2023-02-15T18:50:49
2020-03-21T17:06:23
Python
UTF-8
Python
false
false
411
py
from django.db import models class Task(models.Model): video_url = models.URLField(max_length=1000) audio_url = models.URLField(max_length=1000, null=True) otrkey = models.CharField(max_length=200) decrypted = models.CharField(max_length=200) cutlist = models.CharField(max_length=5000, null=True) ...
[ "josia-internet@rosskopfs.de" ]
josia-internet@rosskopfs.de
704b8094862dc15eea3c0bba95ffb5a928bd1cdd
a7ecc51a9c3dd86690fe4e5358901af9f598af80
/code/generator/ContentGenerator.py
4e871f79ede16635896ab510fc9e8049d7990ef2
[]
no_license
Maciejfsafew/PopularitySimulation
31387eae32a9535c63bc57f423ce2a25daa0340f
36a56262f49fd02777cca8f247a740795594db7d
refs/heads/master
2016-09-06T13:07:43.386601
2014-06-08T21:28:47
2014-06-08T21:28:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,723
py
# -*- coding: utf-8 -*- import random from code.datamodel.Category import Category from code.datamodel.Content import Content __author__ = 'mjjaniec' class ContentGenerator(object): def generate_content(self): return random.choice(self.contents) @staticmethod def _generate_categories(hint): ...
[ "mjjaniec@gmail.com" ]
mjjaniec@gmail.com
792d8426759a5c85f9af9fba9e0fdfa56c425d1f
681ad82b3c7f18411f83a4be2c190a7cd123ce8a
/EDBRCommon/python/datasets/cmgTupleList_XWW/cmgTuple_0627/cmgTuple_SingleElectron_Run2012D_PromptReco_xww_cff.py
b4b251384f77aa7ba8b6b17ce20739ec6b976a18
[]
no_license
cms-edbr/ExoDiBosonResonances
5009161fdc76b39f121316e26497bedd29abe3d7
b8ae400a20bfb8ed66c83b8f38e98d853058ae17
refs/heads/master
2021-01-19T18:33:17.435519
2014-03-12T12:00:43
2014-03-12T12:00:43
12,613,661
0
0
null
2015-10-18T15:06:39
2013-09-05T09:06:16
Python
UTF-8
Python
false
false
28,612
py
import FWCore.ParameterSet.Config as cms cmgFiles = cms.untracked.vstring() source = cms.Source("PoolSource", noEventSort = cms.untracked.bool(True), duplicateCheckMode = cms.untracked.string("noDuplicateCheck"), fileNames = cmgFiles ) cmg...
[ "" ]
6fd9bb6dae2bb50a8a9fbac2eb6d9c75a6b3da23
17b22d94c938bddafd4420424997a5b82afca6f9
/hw3.py
5681a5988ca075e7baa42656fd9a02b0070d78bf
[]
no_license
amikoz/HW3-Kozenasheva151
42623a21c5a7c6f2522f15034d834b9c9073eaed
a4ab011d2cb18843bb7551cdbb829a8ed33bc53a
refs/heads/master
2021-06-08T21:12:15.162713
2016-12-04T21:15:16
2016-12-04T21:15:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
import re import urllib.request import os import html def download_page1(pageUrl1): try: page1 = urllib.request.urlopen(pageUrl1) text1 = page1.read().decode('UTF-8') except: text1 = 'unavailable page' return text1 def txt_1(text1): regPostTitletxt1 = re.compile(' <b class="reg...
[ "noreply@github.com" ]
amikoz.noreply@github.com
f37e0c03f9c5faea225fd44758e373c763d12d40
450e32d0a75f05340dc7c3660b01efbd6f2b15e6
/log_process/x.py
34932c1cb0fa196a175aff4605779e535b8eabb6
[ "MIT" ]
permissive
skyzh/fish-agent-simulation-mcm2020
679ee29632b8ab2bb5e903c30e4c0f502c4a73aa
dfe5b3c0b85ff738df3446cb87610e85136f857e
refs/heads/master
2022-10-04T02:00:46.554228
2020-04-06T02:47:21
2020-04-06T02:47:21
240,444,153
3
0
MIT
2020-06-07T20:53:32
2020-02-14T06:37:03
Rust
UTF-8
Python
false
false
108
py
while True: x = [] for j in range(12): x.append(float(input())) print(sum(x) / 12)
[ "iskyzh@gmail.com" ]
iskyzh@gmail.com
4eee527a569be132019dc5c3961bcede255e3ed6
4bdc163f846c0e9900fdc5a2a27e803d152afc49
/parser_.py
3b98bb4b0caaf7304f5aea96f928257783543d66
[]
no_license
navedrizvi/PyLox
44822f6577a95a2424f1585c381740ade45c7a76
2e1d45f4e67e79e1b5ed92c663520534c6924d87
refs/heads/master
2023-07-17T14:57:33.557961
2021-08-07T11:53:09
2021-08-07T11:53:09
266,264,202
0
0
null
null
null
null
UTF-8
Python
false
false
4,338
py
from token_ import Token, TokenType from expr import Binary, Expr, Grouping, Literal, Unary class ParseError(RuntimeError): pass class Parser: current = 0 def __init__(self, tokens: [Token]): self.tokens = tokens def _expression(self) -> Expr: return self._equality() #Rule- eq...
[ "rizvi.naved1997@gmail.com" ]
rizvi.naved1997@gmail.com
72d7699bddf94214ff38384c276b9e713e3248d0
44da94c0a05e079df944748a9331a4b8d45ae182
/Practice_100/p70.py
cabccc7f1fc7c59c15a518acb6009aafd1c12e5f
[]
no_license
Tamalika1995/Udemy_Practice
7af1f3f07cda26614be20032e2e02d86a4e43856
3f2286584205ae847c8686584f6de78a5a6382af
refs/heads/master
2023-06-16T14:02:31.371663
2021-06-22T03:32:12
2021-06-22T03:32:12
377,487,991
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
'''Please write a program to output a random even number between 0 and 10 inclusive using random module and list comprehension.''' import random l=random.choice([i for i in range(0,11) if i%2==0]) print(l)
[ "614785@cognizant.com" ]
614785@cognizant.com
e0bf0736a15032cf463a5b606c455b4e65f89479
d2b5e5039b2fb0556ebaadf68c491b7f35cadc32
/django_temporal/utils.py
5991936b1a8cab12e981c2a89ba43edb10fe2f4e
[ "BSD-3-Clause" ]
permissive
hwinkel/django_temporal
65d4bac57bbd8ffc92789b8260524ece7f957b74
c192a4f2bd052d14ae43795962e2451be22985d2
refs/heads/master
2021-01-17T12:22:43.948709
2014-10-24T21:24:49
2014-10-24T21:24:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,107
py
import csv import datetime import logging import os import time from django.db import connection, transaction from psycopg2.extensions import adapt from django_temporal.db.models.fields import DATE_CURRENT, TIME_CURRENT # TODO # merge in between two times # documentation def merge(new_csv, model, timestamp, keys, sna...
[ "zejn@kiberpipa.org" ]
zejn@kiberpipa.org
884da089c1ad2da26bab7d0e24816593e1a9b0a6
7f155be68a153c93321e33d1ceaf0e3c43443b66
/batchHobj2Tiff.py
569e05ab3bc83a4ec57dead019cb08e89d4b307d
[]
no_license
EthanHC21/OMA-M
eff328a710f27fd62e27b3a303055ba6517f2ac6
6a83fb7ef3f5f22cfe4a6be3a0f791b04169424c
refs/heads/master
2023-08-14T00:00:00.266298
2021-09-21T01:45:06
2021-09-21T01:45:06
354,226,788
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
import numpy as np import cv2 import struct, time, os def read_hobj(image_filename): start_time = time.time() print('Getting HOBJ file >>> {:s}'.format(image_filename)) with open(image_filename,'rb') as f: ibuffer = f.read(84) # npixels = struct.unpack('i',ibuffer[72:76][::-1])[0] rows = struct.unpack(...
[ "ethan.catalanello@rutgers.edu" ]
ethan.catalanello@rutgers.edu
71713664da5f286f35226c63cd9d2b695c3b5d4a
cee2d75869ffbe682eade7233f4bca24033acaff
/mysite/settings.py
87268b6945f7a15f1659d33d709f9cd039eae0fc
[]
no_license
WTSR8888/djangoblog
d0fbcc4015859c0aedd19706ee2a2fac76d37ca5
9b17c267bc1476526beb14dae5d76fb75da6e503
refs/heads/master
2020-04-27T02:30:30.419479
2019-03-05T18:04:43
2019-03-05T18:04:43
173,996,585
0
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "bartek.kordyk@wp.pl" ]
bartek.kordyk@wp.pl
12713c973883df5102ea1444ec040bcba5a07233
17fc3ebe9bb956dcc00388da6a11d979664c7e10
/sklearn_03/stu_and_demo/demo_02.py
9d2f1b4b9517a1bcdddb058c52078f2477dc5d2f
[]
no_license
jmsxiaoli/holiday_stu_2019
054c63cb7bc365418cbb50e563d02e1435446eac
5297ae2552562dad55f1fe9debc75f97b4648346
refs/heads/master
2023-04-04T10:28:55.382556
2020-04-27T13:09:48
2020-04-27T13:09:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,959
py
''' 线性回归模型评估指标示例 ''' import matplotlib.pyplot as plt import numpy as np from sklearn import datasets, linear_model from sklearn.metrics import mean_squared_error, r2_score """ # 利用 diabetes数据集来学习线性回归 # diabetes 是一个关于糖尿病的数据集, 该数据集包括442个病人的生理数据及一年以后的病情发展情况。 # 数据集中的特征值总共10项, 如下: # 性别 #体质指数 #血压 ...
[ "bug@nuaa.edu.cn" ]
bug@nuaa.edu.cn
f811204e6610601c7ff459d4b0fc1fd20076ac1d
1b8762f9402a7e30aad3ba31da5bf3d5d147a21e
/robotDescription/testURDF.py
7df1cf7b5aae72178a997052be69ddda80f8ccd6
[]
no_license
MTlachac/nlp-waypoints
e033d05e8a04ae99dae773902363cc904f555c15
a2018992059b5b3d574a284ddcf3901d36f41865
refs/heads/master
2023-02-02T17:45:22.611285
2020-12-23T22:59:32
2020-12-23T22:59:32
308,916,098
2
1
null
2020-11-27T15:11:09
2020-10-31T15:48:09
Jupyter Notebook
UTF-8
Python
false
false
838
py
import time import pybullet as p import pybullet_data # joint ID to visualize (move and print info and state) JOINT_ID = 3 client = p.connect(p.GUI) p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.setGravity(0,0,-10) planeId = p.loadURDF("plane.urdf") startPos = [0, 0, 2] botId = p.loadURDF("hyq.urdf", star...
[ "tlach007@umn.edu" ]
tlach007@umn.edu
c4c440d4f7e22c09561d6861a4dd80339e4b7534
23c1d920580966cee3a617b81475994a52dbca3e
/dictalchemy/tests/test_utils.py
767437680427a1574b18caac7f8888ab4043ed60
[ "MIT" ]
permissive
iuantu/dictalchemy
cf98eb71b83f1ffb0cba11fb313b3761ede8ee5b
fa12c1cae17d35f57c20d68df81f3a694677050d
refs/heads/master
2020-11-29T10:49:45.083463
2019-12-25T11:57:36
2019-12-25T11:57:36
230,096,116
0
0
MIT
2019-12-25T11:54:03
2019-12-25T11:54:02
null
UTF-8
Python
false
false
1,833
py
# vim: set fileencoding=utf-8 : from __future__ import absolute_import, division import unittest import dictalchemy.tests as tests from dictalchemy import make_class_dictable from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy import Column, String, Integer engine = create_eng...
[ "holmstrom.daniel@gmail.com" ]
holmstrom.daniel@gmail.com
cbccee82c1301e6805ef9d0e03b6ec7445ab82da
fc2289618d93309b824d44a61310f096ef37b257
/npsTracker/tracker/migrations/0005_auto_20181207_2149.py
91b6ed4c3e371cc0bbf8845b08181693dc584cdb
[]
no_license
jonna-t/npsTracker
50929583a0cd0c3b876f4f6cc1eb34868503b99a
f33bdecbfdee0a5374eb0c57789da626a1aa3801
refs/heads/master
2020-04-18T23:00:43.916947
2019-01-27T13:15:30
2019-01-27T13:15:30
167,810,545
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
# Generated by Django 2.1.3 on 2018-12-07 21:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tracker', '0004_auto_20181207_2147'), ] operations = [ migrations.AlterField( model_name='event', name='status', ...
[ "j.turnbull@accenture.com" ]
j.turnbull@accenture.com
1cf3376248e4dae4f7b043f2554ed9f25c909d80
7bbe2060385e1d732bb125b881562c64618075e0
/Python/GaeaPipeline/workflow/H_merge_vcf.py
cae0f2ee23a1dd7871002045f737b5dd34f951a4
[]
no_license
jjmini/dmcade
7071cefd451946de14ee3817568b8d7c6ce5bf7e
8c621126c3b18e4d4f0daed27fe77db35e16fd31
refs/heads/master
2022-12-08T13:55:53.355357
2019-07-07T06:09:33
2019-07-07T06:09:33
195,595,960
0
0
null
2022-07-07T23:10:18
2019-07-07T00:58:48
Java
UTF-8
Python
false
false
4,257
py
# encoding: utf-8 import os from gaeautils.bundle import bundle from gaeautils.workflow import Workflow __updated__ = '2018-05-31' class merge_vcf(Workflow): """ merge_vcf """ INIT = bundle(merge_vcf=bundle()) INIT.merge_vcf.program = "gaeatools.jar" INIT.merge_vcf.bcftools = "" INIT.merge_vcf....
[ "https://jjmini@github.com" ]
https://jjmini@github.com
aaa174b7d5b9a39f124aded81196211c16574ee5
c31046b84964bf7a9843582a4e2ecd4e8e2ed51a
/Unit7Labs/Lab_7A.py
dca8f7029be90f39b0e5bf91399cf5549b7c31fc
[]
no_license
Foxx2019/FoxxWaiss-Python
ecfb6d2e22c67be4171af138c48527d24bb091a9
f36dd9773df1e29f7d55f8cbfe89af6ecd5201aa
refs/heads/master
2021-07-18T20:34:41.677533
2019-01-17T17:11:09
2019-01-17T17:11:09
146,913,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
class Petclass(): petType= "cage free pet" def __init__(self, pType, pName, pBreed): self.type = pType self.name = pName self.breed = pBreed def getName(self): return(str(self.name)) def getBreed(self): return(str(self.breed)) def whatItIs(self): p...
[ "19liuzhuoran@bprep.org" ]
19liuzhuoran@bprep.org
e615006a23c81dc60b0a5cdc99d864b0a4c4a7d4
c724fad90be2e221cb0f5c0005ebcfbdfdb35d27
/backend/fitsii_19945/wsgi.py
cfa9f31b691c6399a7797d950bc243dc2bb70ac9
[]
no_license
crowdbotics-apps/fitsii-19945
d461349a510febd39f4edcaeb2b8b722664e3bf0
040621b4053e58b9c323ef7222a6a36465c4806e
refs/heads/master
2022-12-07T18:18:50.580128
2020-09-02T16:56:11
2020-09-02T16:56:11
292,342,025
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for fitsii_19945 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0497e0262a8ee739513125f73d20dec716f79060
52b5773617a1b972a905de4d692540d26ff74926
/.history/cylicRot_20200714234806.py
755b17fab1acf221b7f045ba530fc306bc41432f
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
# given an array rotate it k times to the right def rotate(arr,k): # first I'd rotate the array once # so how do we rotate the array # we move the last element to the firs place and # the rest follow suit # [1,2,3,4] # [4,2,3,1] # [4,1,3,2] # [4,1,2,3] # [4,1,2,3] # all we ar...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
99d27433a0fd4c8152c28b420d73c12dabf8b703
131cb30e1e0a636e798ffed8dfc7395048f52f72
/python/conferencerates.py
3097d0c2b2e3f6c84b37d99ec357831d22eb02dd
[ "Unlicense" ]
permissive
robotprogrammer22/Astro-Budget-Site
fef31af181dd58c2698021183e74cd6a8bb4750e
b30aaf8a86b1a5d2f184b5a5506dfd939eade392
refs/heads/master
2020-06-03T03:17:11.224177
2019-06-28T16:44:31
2019-06-28T16:44:31
191,413,323
0
0
Unlicense
2019-06-11T16:50:41
2019-06-11T16:50:41
null
UTF-8
Python
false
false
742
py
from sqlalchemy import Column, Integer, String, Float, DateTime, ForeignKey, Sequence from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class ConferenceRates(Base): __tablename__ = 'conferencerates' conferencerateid = Column (Integer, Sequence('conferencerates_conferencerateid_seq...
[ "sakins@GS.DOI.NET@a6478e1e-ec95-11dc-b814-c3d4bc21ddcb" ]
sakins@GS.DOI.NET@a6478e1e-ec95-11dc-b814-c3d4bc21ddcb
c9c4d9cec089efc390d4bc9ec3d75c7bd405ae1b
4df17daecb32fd5ec6ae6a76ba6c9f5e58702203
/10-06/Factory/Factory_python/Factory.py
14f1a6bbc9f1371b216a045f2eda88ee44bc686b
[]
no_license
celinalopez/DisenoDeSistemas
3ea29db526105a4bd2db44c70c4db8680ce68f1e
273fa9f800479285cd0d3e2a3ebe0561bd7469de
refs/heads/main
2023-08-24T18:23:21.669060
2021-11-04T04:46:52
2021-11-04T04:46:52
409,076,707
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
from pizzas import Muzzarella, Especial, Pepperonni, CuatroQuesos class PizzaFactory(): @staticmethod def pedir_pizza(tipo_pizza): if tipo_pizza == 'Muzzarella': return Muzzarella() elif tipo_pizza == 'Especial': return Especial() elif tipo_pizza == 'Pepperonni'...
[ "cea.lopez@alumno.um.edu.ar" ]
cea.lopez@alumno.um.edu.ar
710bdfba83d3af4084ef5374be28722fb9f47424
05d884fccb0d8d46024f8df8d4d93d8911c9e9d5
/Deep_VAMP/ConvRecL/test_fullimage/make_predictions_fullimage.py
b2678a7ecd7d292ea53c3ddf223b16f03b697435
[]
no_license
havaeimo/Deep_VAMP
6305c5d1a9a642d7ef11daeb5e8240e72e165ff8
041c1b5c8da762ef5e087d07e75302f86e4fa541
refs/heads/master
2021-01-10T11:35:47.367156
2015-07-14T23:37:23
2015-07-14T23:37:23
36,247,348
1
0
null
null
null
null
UTF-8
Python
false
false
6,124
py
import pdb import numpy as np #from matplotlib.pyplot import imsave import numpy from os.path import isfile, join import argparse from itertools import izip import scipy import cPickle import theano import os import os.path from PIL import Image import PIL from pylearn2.datasets.deep_vamp import toronto_preprocessing ...
[ "seyed.mohammad.havaei@usherbrooke.ca" ]
seyed.mohammad.havaei@usherbrooke.ca
8a90af3d8f8303466537548fe2ee18c2d1f3d983
3d48edf0c7335be78cdfb27764faae78f5b92270
/async_property/cached.py
4c1fafb08e39a01b6046054e2e8fe00dacb71b25
[ "MIT" ]
permissive
18600575648/async_property
fc051acb291dfe7245d874974f6486311816da8c
9991fe614e89c04f5d9d93e150afe6cb10a42392
refs/heads/master
2023-07-06T10:11:01.917887
2023-07-03T17:22:23
2023-07-03T17:22:23
468,599,873
0
0
MIT
2023-09-05T07:44:36
2022-03-11T03:52:48
Python
UTF-8
Python
false
false
3,948
py
import asyncio import functools from collections import defaultdict from async_property.proxy import AwaitableOnly, AwaitableProxy is_coroutine = asyncio.iscoroutinefunction ASYNC_PROPERTY_ATTR = '__async_property__' def async_cached_property(func, *args, **kwargs): assert is_coroutine(func), 'Can only use wi...
[ "ryan.anguiano@gmail.com" ]
ryan.anguiano@gmail.com
e1b14ee4ee75a098c5be24097ca8b03f11ca23c0
2e2e37a8e2cde7a63b9e462ca2fbc2a067f20be1
/packt.py
bc2f5f4a565cd4903616bbf762557bb2f81ee2b9
[]
no_license
xhimalaya/system_setup
678f938a58e6638c94df132fe3fb9a14b0e9dfd1
1b0a1f2a28c77c18116d6fb1dc49b75652b947d6
refs/heads/master
2022-11-15T07:11:54.705088
2020-07-06T16:51:47
2020-07-06T16:51:47
254,872,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
import scapy as scapy from scapy_http import http import argparse def get_arguments(): parser = argparse.ArgumentParser() parser.add_argument("-i", "--interface", dest="interface", help="Interface name") options = parser.parse_args() return options def sniff_packet(interface)...
[ "himalaya@wsegames.com" ]
himalaya@wsegames.com
36f60d587f725070a2ff8b01f994e92c4b097cc5
efe9ef79f0e38cefe0d896ef8f0fe8b6acd79234
/longestChain.py
07b1ed37e47aa18e08100c48acccd967ff8aec48
[]
no_license
kchanhee/pythonpractice
ed97c30aaccd509836ec313bf75eee268d202be7
a2cd3a1930f0f8c4d4581b9071f7b1121a0b62c0
refs/heads/master
2020-12-30T12:35:36.514990
2017-11-20T08:00:18
2017-11-20T08:00:18
91,395,309
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
def longest_chain(w): words = set() for word in w: words.add(word) max_chain = 0 for word in words: if len(word) <= max_chain: # skip word if it cannot be greater than max_chain continue max_candidate = find_longest_chain(word, words, 0, [ 0 ]) max_chain = max...
[ "koh.chanhee@gmail.com" ]
koh.chanhee@gmail.com
fa06c71dbb665db2798a80f020f94620ea392755
93b7700d0deba59c6752693e9eda9047dd7b92f0
/action/evaluation/eval_classification.py
20580c5e9cfd545e99307c7045f9b939dd7f8af1
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
scape1989/IKEA_ASM_Dataset
238851979d8a1cff53fb7bc41092a0a308043a95
1627ba894c974cf45a653d79598120202ea658b5
refs/heads/master
2022-12-24T10:29:13.705768
2020-09-28T23:57:12
2020-09-28T23:57:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,190
py
# source: ActivityNet: https://github.com/activitynet/ActivityNet/blob/master/Evaluation/eval_classification.py # adapted to python3 and the IKEA ASM dataset import json # import urllib2 import numpy as np import pandas as pd # from utils import get_blocked_videos from eval_utils import interpolated_prec_rec class ...
[ "sitzikbs@gmail.com" ]
sitzikbs@gmail.com
7af5765fa5c6edb401f7b850aa3101fbeaafd7f3
e825640a5d087fb0e14267111dda4fe010224a3a
/multiapp/helpers/multiapp.py
b25c3163809f8b7eccf466bcd8226f80406be5db
[]
no_license
Nhiemth1985/PyPortfolioAnalytics
c2ee64a47fb58654528353cb8796a96eb6ed8d60
7f210c98b1dcc6f2a157372b34664d8d163a2874
refs/heads/master
2023-09-03T15:22:18.493060
2021-10-17T18:22:58
2021-10-17T18:22:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
"""Frameworks for running multiple Streamlit applications as a single app. https://github.com/upraneelnihar/streamlit-multiapps """ import streamlit as st class MultiApp: """Framework for combining multiple streamlit applications. Usage: def foo(): st.title("Hello Foo") def bar(): ...
[ "simone.precicchiani@gmail.com" ]
simone.precicchiani@gmail.com
c5968b91f1e8556b70007f764784c56df35cfef6
2c89037666a3c3c9be55b53055c73aa9fcbde2b7
/webrobot/app/main/service/user_service.py
1aa181ef641092046126c96166d66c61d9b54523
[ "MIT" ]
permissive
kakawaa/Auto-Test-System
844284de1eb5fac8fa8c5318371c99991caff62d
76b0690e4e49769ec5d6e65ab6c499396880c0bd
refs/heads/master
2020-06-17T11:42:38.121124
2019-07-05T03:32:39
2019-07-05T03:32:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,451
py
# import uuid import datetime import os from pathlib import Path from app.main import db from app.main.model.database import User, Organization from task_runner.runner import start_threads from ..config import get_config from ..util.errors import * from ..util.identicon import * USERS_ROOT = Path(get_config().USERS_...
[ "panzilla@163.com" ]
panzilla@163.com
94ec66eea7c4ae730b2e71fc18b4f51f42d5626a
8f11b828a75180161963f082a772e410ad1d95c6
/packages/python/ram/ai/__init__.py
7fc0cd75962ad19cb0295be679c48e2ac7cb2ab8
[]
no_license
venkatarajasekhar/tortuga
c0d61703d90a6f4e84d57f6750c01786ad21d214
f6336fb4d58b11ddfda62ce114097703340e9abd
refs/heads/master
2020-12-25T23:57:25.036347
2017-02-17T05:01:47
2017-02-17T05:01:47
43,284,285
0
0
null
2017-02-17T05:01:48
2015-09-28T06:39:21
C++
UTF-8
Python
false
false
282
py
# Copyright (C) 2007 Maryland Robotics Club # Copyright (C) 2007 Joseph Lisee <jlisee@umd.edu> # All rights reserved. # # Author: Joseph Lisee <jlisee@umd.edu> # File: packages/python/ram/ai/__init__.py # To allow the registration of SubsystemMakers #import ram.ai.state as _state
[ "jlisee@gmail.com" ]
jlisee@gmail.com
d4c73b518210b00ff4f14bb7bf1b7d93e8c7e2fd
9ed987c683b925b505bf7fa258cdf48d4962b6b0
/P0/Sin título0.py
8ed1625247aaa31a89582b4455015d450bc21f6c
[]
no_license
victory06/AA
1789ee9efeb3b9ebc68275262e7eaf8da3d0bdf3
1d0bcc9edd4b425ab68145ddcad446bbddf40b77
refs/heads/master
2023-04-20T15:47:47.876228
2021-05-10T07:53:01
2021-05-10T07:53:01
339,379,562
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Feb 24 18:02:50 2020 @author: victor """ import numpy as np import matplotlib.pyplot as plt # Create data N = 60 g1 = (0.6 + 0.6 * np.random.rand(N), np.random.rand(N)) g2 = (0.4+0.3 * np.random.rand(N), 0.5*np.random.rand(N)) g3 = (0.3*np.random.rand...
[ "victorarroyo@correo.ugr.es" ]
victorarroyo@correo.ugr.es