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
f021bb6980fc0c5185a1dd2bd49e8253b7bab1cf
ee8bfdaede4de43c40bd3a614bb01e01efcebacc
/test/test5.py
9d39a89a5bfff2b1136c140cae025531b7d19dd4
[]
no_license
xufangda/flask_playground
c929b6bf329e1df15b6078e4473fbb506ee09db6
d01ceb2f058194bb51175016f871f7eee5c800e4
refs/heads/master
2022-12-12T16:28:14.393183
2018-05-10T23:28:15
2018-05-10T23:28:15
132,193,222
0
0
null
2021-03-19T23:39:41
2018-05-04T22:03:49
Python
UTF-8
Python
false
false
78
py
class NoneLocal: def __init__(self, v): self.v = v n=NoneLocal()
[ "xfangda@gmail.com" ]
xfangda@gmail.com
c676b048e188e0db0fbba0e539d748370987f5be
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02595/s506680961.py
0b69961fbe962e610ab93e5fd3943def42a15081
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
n, d = map(int, input().split()) xy = [0]*n for i in range(n): xy[i] = list(map(int, input().split())) def judge(x, y): return (((x**2 + y**2)**0.5)) cnt = 0 for i in range(n): dis = judge(xy[i][0], xy[i][1]) if dis <= d: cnt += 1 print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9b1f380f8f3d8faba47b70f88a989e06dd533b0b
16e12ca977e31f8f672ead2679ff283389192eb2
/byoot/wsgi.py
41a56b165863c619680351d51a9ff60751f7b7ee
[]
no_license
hussainalhilli/django-project
7e69e5c6f5a66830742e29f24ebd7a1f28bca639
b0dc616164c7c4420caf40795e458d42680a80c7
refs/heads/master
2020-12-25T06:22:42.762820
2016-04-26T18:27:12
2016-04-26T18:27:12
56,699,802
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for byoot 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTING...
[ "Hilli@Hillis-MacBook-Air.local" ]
Hilli@Hillis-MacBook-Air.local
a41e01bb4fc3e243c6163b6ec37fa51a5a3a8beb
85ce93b4f02111b68941807dd99527e97c77ebef
/websocket/rpc_agent.py
5baa937c56b0dc5270c7b26ba099d57cbaa17177
[]
no_license
jdutreve/request-reply-python
dd706be4c5246fb4fd241905aa030e1975492226
43eec3943d9cff08616e95097fa109c20ddb3112
refs/heads/main
2023-01-20T19:45:26.033669
2020-11-14T11:39:21
2020-11-14T11:39:21
312,557,304
0
0
null
null
null
null
UTF-8
Python
false
false
11,854
py
# # Freelance Pattern # # worker LRU load balancing (ROUTER + ready queue) # heartbeat to workers so they restart all (i.e. send READY) if queue is unresponsive # import time import threading import random import asyncio import zmq import zmq.asyncio from zhelpers import zpipe # If no server replies after N re...
[ "noreply@github.com" ]
jdutreve.noreply@github.com
393658705cd559f61f856a8a2dff56181e9268ed
348a4089b4af1b4c05f4837cccd01d87f756e7ed
/else/test.py
77b2ece6b52b6354efd75c5024fefe3c3078c4df
[]
no_license
ecode-ethiopia/plotbot
5bc694e3e73ae82e10dc3b0b25d98442478d157a
eb1e40c42c43943a00c38299ea966852fc601707
refs/heads/master
2020-07-07T20:48:10.092435
2018-09-13T10:01:57
2018-09-13T10:01:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,501
py
# this is the webhook for a TestBot #import os #import json #import requests from flask import Flask, request, make_response, jsonify #from keys import nutrionix_app_id, nutrionix_app_key #import pygal #from pygal.style import DefaultStyle #import cairosvg #import pymongo #from pymongo import MongoClient i...
[ "iurii.dziuban@gmail.com" ]
iurii.dziuban@gmail.com
e3bd5d3495a210f25ecc424a18742c1b119aa157
9b1f36c8863916cead28b58b08ba37f346fe85c9
/2 ЧАСТЬ/задача (15).py
f52108f8fef3e8ec0a726e2a82b61341e0bfb959
[]
no_license
kbpersik/cource-work
875d089c8fa0d16ec5141a0fd8ca07294a4bed22
ea7f382e95b26e4f9f8ee18f9345a6a0cc95a832
refs/heads/master
2020-05-31T19:26:03.868087
2019-06-02T19:45:25
2019-06-02T19:45:25
190,456,062
1
0
null
2019-06-05T19:28:58
2019-06-05T19:28:58
null
UTF-8
Python
false
false
512
py
import numpy as np import random N = random.randint(1, 10) M = random.randint(1, 10) H = random.randint(1, 10) A = np.random.randint(0, 10, (N, M)) print("Матрица:\r\n{}".format(A)) A_bool = A == H row_sum = np.sum(A_bool, axis=0) print("Столбцы в которых встречается значение {}:".format(H)) print(np.ar...
[ "noreply@github.com" ]
kbpersik.noreply@github.com
4b4a0ca0bdc90aa474a316c7d9937947eaee2af0
79ea915d7b66510fd783a84b8cba564bbcc95eef
/app/migrations/0001_initial.py
90108fd195a20e0aa89f0fde3546f01c42e63738
[]
no_license
pseudo-sm/covidasha
04eed28dbb20fba27adb709842aa6d055d8ebdf3
2da73b11de652553b996f92ee215bc80fba79d57
refs/heads/master
2023-04-22T22:44:09.715625
2021-04-28T19:03:30
2021-04-28T19:03:30
361,137,991
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
# Generated by Django 3.2 on 2021-04-23 09:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Alert', fields=[ ('id', models.AutoField(prim...
[ "saswathcommand@gmail.com" ]
saswathcommand@gmail.com
4a93251e0a310cb4044c6db320a1f6a0d884524a
a284dd520c0e7619ed928645e4ae8855d4a04d3e
/etl.py
612263275018324d697d86ef1a4f53e041014228
[]
no_license
mmosc/sparkify-data-lake
c928b0e107dc4cfed41fe3a7f7c0f2bdbb12dc21
82d61555c24c245c498e55c8e2a6149771c0099e
refs/heads/master
2022-11-12T23:20:20.642277
2020-07-01T13:24:27
2020-07-01T13:24:27
275,584,450
0
0
null
null
null
null
UTF-8
Python
false
false
9,874
py
import configparser from datetime import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import udf, col from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format from pyspark.sql.types import StructType as R, StructField,DecimalType as Dec, DoubleType a...
[ "ma.moscati@gmail.com" ]
ma.moscati@gmail.com
b96d13b288c2afe32f6274094917a0b4626ca0bc
069f911ec587a14b74526aa00e5646499e36da1e
/pyjobsearch/bin/pasteurize
b54487ffce3859a01a5c913e05ec9c7e1555f893
[]
no_license
cmurphy580/PyJobSearch
448c2dd57aab12573e3d5289bd97a455cef68368
436e4ebf511d605e69bb498c12c3cdfd0f961091
refs/heads/master
2022-12-13T07:16:32.153291
2021-06-24T21:26:16
2021-06-24T21:26:16
204,336,863
1
0
null
2022-12-08T05:21:08
2019-08-25T18:55:20
Python
UTF-8
Python
false
false
268
#!/Users/conormurphy/Desktop/pyjobsearch/pyjobsearch/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from libpasteurize.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "cmurphy580@gmail.com" ]
cmurphy580@gmail.com
46fb6238d675c352a76334374b518342da606394
4aece8140046cefd8500030f305852dbd1cf8d10
/nlp/nlp.py
87fea4b3356ebde745838fcc0fc97da33d9b3140
[]
no_license
donkkis/tori-scraper
3f1bbf5226aef656ae870fc2920cabbdd7ffa2f5
10202da06deeaca139ff7472a5a5b9cd5ccc9858
refs/heads/master
2023-03-16T07:41:51.108537
2021-03-04T10:37:21
2021-03-04T10:37:21
293,253,056
0
0
null
2021-03-04T10:37:22
2020-09-06T10:30:21
Python
UTF-8
Python
false
false
1,308
py
import os import string import pandas as pd import nltk from nltk import bigrams, trigrams from nltk.tokenize import word_tokenize from nltk.probability import FreqDist from dotenv import load_dotenv load_dotenv() from typing import List STOPWORDS = nltk.corpus.stopwords.words('finnish') def tokenize(sen...
[ "panu.aho@wapice.com" ]
panu.aho@wapice.com
45a81c3d49206cca47cd45f790c01bf1608403af
9ad27ac41069190d316065689a25ecab0df60cc9
/bin/ex13_combine_argv_with_input.py
46bdb3f35125337556ffe7552c4eddba2835f8b5
[]
no_license
hmdshfq/Learn-Python-The-Hard-Way
115efbd9254460a74d1add8f9c81ad2c00ff6b70
624519050b5e1797ee29f2ead28efff8eb579853
refs/heads/master
2022-02-27T11:16:57.302210
2019-10-13T13:37:53
2019-10-13T13:37:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
# Exercise 13 - Practice exercise that combines input with argv from sys import argv script, username = argv print("The script is ", script) print("The username is ", username) password = input("Enter your password: ") print("Your password is ", password)
[ "hmdbupt@yahoo.com" ]
hmdbupt@yahoo.com
aa4f12a9fb94b5aba945728094e8204a9ecd33aa
65ece82f9d1529c9babb7e902d6f875348f09fc4
/5주차/CRUD/CRUD/myvenv/Lib/site-packages/django/db/models/sql/compiler.py
e98dbdfdf2e8ed433482512f5e135bb407f876f9
[]
no_license
hoohoohoohoo/LikeLion
f1e8a0d2b6f88ef9ff1c4cffde5af8d7c76c6ae4
566ceb4c6bb11579163732ae5320e7e7068f0ca3
refs/heads/master
2020-05-05T03:14:45.573294
2019-05-10T08:27:17
2019-05-10T08:27:17
179,665,157
0
0
null
null
null
null
UTF-8
Python
false
false
71,086
py
import collections import functools import re import warnings from itertools import chain from django.core.exceptions import EmptyResultSet, FieldError from django.db.models.constants import LOOKUP_SEP from django.db.models.expressions import OrderBy, Random, RawSQL, Ref, Subquery from django.db.models.query_...
[ "hojun0520@nate.com" ]
hojun0520@nate.com
0f3b7c53f539c1c74fee44343f1d0ce4d6d2f0f7
98beba61ee90c29d67aff50e9bc226e56ed49a2e
/tests/test_graph_states.py
d6fabac09d3765e067fc34442d5222772271e413
[ "MIT" ]
permissive
deyh2020/Graph-States
5a6c53a44ba6ee2c1048c56ccaf334a8e4588eea
e3e29abedf0a82e12a36da10bad1393b8d7ada6e
refs/heads/master
2022-11-09T09:39:46.331707
2020-07-01T22:03:25
2020-07-01T22:03:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
import unittest import networkx as nx from qiskit.circuit.classicalregister import Clbit, ClassicalRegister from QiskitGraphStates import QiskitGraphState class GraphStateTest(unittest.TestCase): def setUp(self): self.G = nx.Graph() self.G.add_edges_from([(0, 1), (1, 2)]) def test_init_edge...
[ "thesingularity.research@gmail.com" ]
thesingularity.research@gmail.com
e2e231f46c10e111ff203e31af44196df8a5b100
de95e9ace929f6279f5364260630e4bf7a658c1c
/firstDebug.py
559b4cae2546eae9669c115c5caa54fcd5c045de
[]
no_license
ludwigwittgenstein2/Algorithms-Python
ceaf0739b8582f7bd749a9b3f52f283765044744
c5bed8b2e398c218d1f36e72b05a3f5545cf783a
refs/heads/master
2021-06-19T11:40:31.012268
2017-07-02T04:59:20
2017-07-02T04:59:20
75,953,711
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
#!/bin/Python import pdb a = "aaa" b = "bbb" pdb.set_trace() c = "ccc" final = a+b+c print final
[ "penpals.oranges14@gmail.com" ]
penpals.oranges14@gmail.com
66217f5e3e24f7387bd7ba67d7c458fb2e13bcef
888ac6eabd07082bfc0c1a0faecad05627628b79
/Python Codes/Labor3_Aufgabe3.py
63b975a8bee662b8aff0ffcffb466db64ce6eb75
[]
no_license
MertUzeken/codes
6e12cd45e8abc358b114f76241de73ee2ceb119c
42592710e8817256d50d449553b16eca35e275fa
refs/heads/master
2023-05-05T15:33:59.434111
2021-05-28T12:19:40
2021-05-28T12:19:40
291,279,758
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
s1=input("Please enter the first string: ") s2=input("Please enter the second string: ") s3=input("Please enter the third string: ") snew=s1.upper() + s2.upper() + s3.upper() print("The whole string is: ", snew)
[ "mertuzeken@gmail.com" ]
mertuzeken@gmail.com
7ab36fd8318dee6634ece773310edd784e2a1024
624a37e0aec90409ab3ea0b33216bc708c7ce42b
/bubbleSort.py
e2db2b5b6b397af0de25dc889d08fffc2fd65c9d
[]
no_license
qiyue0421/pythontest
a68229dcf8d733a0815194112cda3ef9ae526c5d
5dc20737bc492386bf5d2f35b240e83307f81e13
refs/heads/master
2020-05-03T12:39:51.524319
2019-04-18T08:46:55
2019-04-18T08:46:55
173,700,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
def bubbleSort(alist): # 如果有n个项,则需要比较n-1次 for passnum in range(len(alist)-1, 0, -1): # 开始遍历列表 for i in range(passnum): # 每次比较一对 if alist[i] > alist[i+1]: # 交换操作 alist[i], alist[i+1] = alist[i+1], alist[i] # 短冒泡排序 def shortBubbleSort(alist...
[ "qiyue0421@gmail.com" ]
qiyue0421@gmail.com
4b18e3099af4a6f90ef46f5244c5a2cb5c1d8ad4
62e9fb33329fbefa89287e5bc343cb9c120306a1
/tensorflow_probability/python/bijectors/rayleigh_cdf_test.py
6e4562bdd491190cd57b4ab6b6507d6daab3b402
[ "Apache-2.0" ]
permissive
npfp/probability
3c103d4b9d7a72d3d16eb79b1e4f648afbaca057
3911f4463cdcca6cc118633742430885fb0c88cb
refs/heads/master
2022-05-01T14:23:40.504258
2022-04-07T20:08:45
2022-04-07T20:10:58
246,853,846
0
0
Apache-2.0
2020-03-12T14:23:04
2020-03-12T14:23:03
null
UTF-8
Python
false
false
3,455
py
# Copyright 2018 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b784259f8e99dc073c3ca1c79fb2c66824833654
467c4d2ded2eba79db4fe4ad426e506ad367159a
/Code_two.py
bf80590d51f5723747e634a45ea183b4e5c89dfd
[]
no_license
PoojaBansal12/Machine_test_code
5f615946bde28c4d8b76124b8877d96de155dd0d
4ec4eb87ca72757bef80d7e422d85cbddab5e04a
refs/heads/master
2022-12-06T19:29:43.064953
2020-08-21T05:49:57
2020-08-21T05:49:57
289,073,914
0
1
null
null
null
null
UTF-8
Python
false
false
196
py
name = input("Enter the email address: ") try: companyName = (name.split("@")[1]).split(".")[0] print("Your company name is: " + companyName) except: print("Invalid Input!")
[ "noreply@github.com" ]
PoojaBansal12.noreply@github.com
f977275edc686bc1849ef7dab91f7e0c966481e6
3546ee7f176ceb89694d0ba7b6d285f02eb45c6f
/garlic/apps.py
770a2e3eec677194f46bfe17a3c7a94ff51b9a03
[]
no_license
WoodlandGeoEng/fundraiserapp
144fa40ffb9572bde8276356d559d0a485d26d16
2f960de2fdc6a38dfd755992a8591ce28586142a
refs/heads/master
2020-08-15T15:20:18.298851
2019-10-15T18:34:22
2019-10-15T18:34:22
215,362,788
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class GarlicConfig(AppConfig): name = 'garlic'
[ "49031803+WoodlandGeoEng@users.noreply.github.com" ]
49031803+WoodlandGeoEng@users.noreply.github.com
c88e116b193fce222e5239539de8a5312d0abac1
38d1e0b40d9cc54e4aa272ae5c2872fca378002a
/python_stack/django/django_orm/dojo_ninjas_proj/dojo_ninjas_proj/settings.py
1af921065ff4a5858802afb4d5aedb6da2f5d487
[]
no_license
taichikoga/Dojo_Assignments
0a8974a6fcb3ce83973fd481803f1bb7126ca3ba
4c7e82bd652286d281ce86fe9c14491182c3ecde
refs/heads/master
2022-11-22T23:19:02.431639
2020-07-20T17:53:37
2020-07-20T17:53:37
274,190,553
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
""" Django settings for dojo_ninjas_proj project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ imp...
[ "63776416+taichikoga@users.noreply.github.com" ]
63776416+taichikoga@users.noreply.github.com
210654eb0dfbcce74f526a3f7ac5416d20744c38
88726f0d487a0d9f1c568722f458d5cc8ad40566
/ABC167/B.py
ea6cee584a1715de002cd48b55330ccc14f395f3
[]
no_license
thortoyo/study
60e3cccbf7b6587044ca3ee5c4cdb07f038a5800
7c20f7208703acf81125aca49de580982391ecfe
refs/heads/master
2023-06-21T21:56:47.141439
2023-06-20T02:38:47
2023-06-20T02:38:47
196,919,933
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
A,B,C,K=map(int,input().split()) ans = min(A,K) K -= A if K > 0: K -= B if K > 0: ans -= min(C,K) print(ans)
[ "thor.toyo@gmail.com" ]
thor.toyo@gmail.com
4255fe74e150947607bb20d26bd775baf0b357cd
d90655925e189a3e936b3223794809d1bf44acc7
/ArticleBlog/app01/migrations/0022_auto_20200218_2029.py
cbf520624ff68e0638ac622a957a5c87bd8e9c72
[]
no_license
xiaokou123/-
c6e91d73e151ee4e303a84e852361757867c79db
9e798ee4d3700c70df0ab3b9b1c668b1f6208ca5
refs/heads/master
2021-01-02T15:36:58.890776
2020-03-09T01:36:02
2020-03-09T01:36:02
239,683,336
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
# Generated by Django 2.2.1 on 2020-02-18 12:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app01', '0021_user'), ] operations = [ migrations.RenameModel( old_name='User', new_name='Yonghu', ), ]
[ "760391377@qq.com" ]
760391377@qq.com
d2ef75c71589468ef3f6d4adc3034aa3bd5a9c87
7c2e1b71dfabaa2cef72da577b78677d4dd6237e
/speed_training.py
1455060a6d7fad6686af0ea7e8d420ad181e1ee4
[]
no_license
mirkozaff/DeepGTAPrediction
e89707b614e03f36f4a35764da8b5594a7a89a3d
a5d80c3402d053567ef6c679c3b67a5b82f0720d
refs/heads/master
2020-03-22T07:31:15.046299
2019-07-01T10:25:48
2019-07-01T10:25:48
139,705,682
6
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
import h5py from keras.optimizers import Adam from load_batch import speed_steps_counter, speed_batch_generator, load_speed_dataset, SpeedDataGenerator from utils import EarlyStopping from keras.callbacks import TensorBoard, ModelCheckpoint from speed_model import nvidia_model, ODFPA import os from keras.utils import m...
[ "mirko.zaff@gmail.com" ]
mirko.zaff@gmail.com
b8c949054e759c0ff8197cab3e98c993622ca4fd
e36225e61d95adfabfd4ac3111ec7631d9efadb7
/problems/SD/auto/problem56_SD.py
217b7658e448cb1ce9116acecf7c8bf45d4d51dd
[ "BSD-3-Clause" ]
permissive
sunandita/ICAPS_Summer_School_RAE_2020
d2ab6be94ac508e227624040283e8cc6a37651f1
a496b62185bcfdd2c76eb7986ae99cfa85708d28
refs/heads/main
2023-01-01T02:06:40.848068
2020-10-15T17:25:01
2020-10-15T17:25:01
301,263,711
5
2
BSD-3-Clause
2020-10-15T17:25:03
2020-10-05T01:24:08
Python
UTF-8
Python
false
false
1,214
py
__author__ = 'patras' from domain_springDoor import * from timer import DURATION from state import state, rv DURATION.TIME = { 'unlatch1': 5, 'unlatch2': 5, 'holdDoor': 2, 'passDoor': 3, 'releaseDoor': 2, 'closeDoors': 3, 'move': 7, 'take': 2, 'put': 2, } DURATION.COUNTER = { ...
[ "sunandita.patra@gmail.com" ]
sunandita.patra@gmail.com
d15700d5e54ef4902dac5a4fdeab8419b868866a
fd9d661ebc70f97993a8a381b62177fb191b5005
/对称的二叉树/hello.py
11c08c2b9ce72d6ac8e71886a00b6a2e121aa89f
[]
no_license
blankxz/LCOF
441db27ba42c0d10cdcfcb45ea36d72308e05a47
aea440d51dee61b03ca2cd1edafda661971331e6
refs/heads/master
2021-01-26T05:02:55.455887
2020-07-06T01:47:29
2020-07-06T01:47:29
243,318,530
1
0
null
null
null
null
UTF-8
Python
false
false
637
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isSymmetric(self, root: TreeNode) -> bool: if not root: return True return self.dfs(root.left,root.right)...
[ "993010776@qq.com" ]
993010776@qq.com
885e4c2b7023b8adb10a4fba405a6c95df0d9b57
6463afadc13456a81760f8269ba63bb4892eb928
/源码/Pythonpa/ch19/Thread.py
8e09787c4529f2bc7e97715c4d6054a5bc8d304c
[]
no_license
brucehzhai/Python-JiangHong
ebc43f34df0f6f3e63b948c68bb8d1ce01b77a5d
4543e18c489d6a655a0742cd3ba622a2aca0c882
refs/heads/master
2023-04-10T20:26:37.656432
2019-03-12T07:46:50
2019-03-12T07:46:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
import threading, time, random def timer(interval): for i in range(5): time.sleep(random.choice(range(interval))) #随机睡眠0-interval秒 thread_id = threading.get_ident() #获取当前线程标识符 print('Thread:{0} Time:{1}\n'.format(thread_id, time.ctime())) def test(): #Use thread.start_new_thread...
[ "a18749290902@163.com" ]
a18749290902@163.com
efa9c7a2d9f7fdaea44368b2929cfd7519e20b2f
63ace0431171016aa5af1517fc332c6faca3e219
/PythonCalculator/PythonCalculator.py
266fe78c119be99fd2ac3cad5e5b759de583c3b5
[]
no_license
pacolamuerte/PythonCalculator
861a33788b8ba01d9ec9c10085ab18f5878c28a2
a8656e7579a79ead6f9791a6b22904dc5f181b3c
refs/heads/master
2022-11-12T19:17:55.155011
2020-07-02T12:52:57
2020-07-02T12:52:57
276,645,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
#define the start and print what the program is def start(): print("Area Calculator in Python") print("="*25) #start of the while loop. Makes it so we don't get kicked out if wrong input while True: _input_ = input("Enter 'C' for circle or 'T' for triangle or 'R' for Rectangle: ") #formulas for the different area ca...
[ "46374397+pacolamuerte@users.noreply.github.com" ]
46374397+pacolamuerte@users.noreply.github.com
565ffcd5174d163fc98b4e93aece9ed4cecbd461
c2c3f5a399970003e715b592f6087eb21693bca7
/sdi_pipeline/extract.py
333107e0dcfc20ba5d66fc15b7d9e367c7645b8f
[ "MIT" ]
permissive
andrewhstewart/SDI
a9cbe74b2614dc8c5789bb1b125ce0dba79b145e
19d52bd5e13c2128c083776712672becf8b6ab45
refs/heads/master
2018-11-12T12:43:16.928870
2018-10-10T21:53:07
2018-10-10T21:53:07
108,577,467
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
import sex import psf import glob def EXTRACT(): path = input("-> Enter path to target's exposure time directory: ") images = glob.glob(path + '/data/*.fits') psf_data = glob.glob(path + '/psf/*') if len(psf_data) == 3*len(images): sex.sextractor(path) sex.src_filter(path) else: ...
[ "andrew.henry.stewart@emory.edu" ]
andrew.henry.stewart@emory.edu
f2003fc1ef757a8559afeb935f094fafed2db13c
78316fa921873e5b04c0269f3a4167441efd5313
/about_page_test.py
babdada7778147612a73f6c4c60126e2aed7380b
[]
no_license
Oceanblue713/kitchen-calc-test
2105d5fa38467eacf5eeea2df84d4384e9a991d5
7dddcf117b5b674656e632b6ba7d800ee78d3091
refs/heads/master
2022-11-25T17:02:41.324815
2020-07-27T22:54:37
2020-07-27T22:54:37
276,963,053
0
0
null
2020-07-27T22:54:39
2020-07-03T18:22:52
Python
UTF-8
Python
false
false
1,121
py
from selenium import webdriver from home_locators import * import time import unittest class AboutPageTestCase(unittest.TestCase): def setUp(self): self.browser = webdriver.Chrome('./chromedriver') self.browser.set_window_size(414, 736) self.addCleanup(self.browser.quit) def test_abou...
[ "amedamachip713@gmail.com" ]
amedamachip713@gmail.com
607b060e4efaed1ce4b9888f5b223a931f628f48
ed4f294b5d7df3237fb45d8eb4f3972e5e577316
/venv/Scripts/HC_KBR-gspread.py
74fec7ad1425f121ead26ca91076c1d7cb6c230a
[]
no_license
superfonz/BQ_Projects
fdc027b6d83d12553447cd5690bb6d666ad81440
7a20c011e3fe4610e94693723fb394836fd7b898
refs/heads/master
2022-12-25T00:04:11.390667
2020-09-28T13:31:44
2020-09-28T13:31:44
246,917,122
0
0
null
null
null
null
UTF-8
Python
false
false
7,101
py
import pgpy import os import gcsfs from google.cloud import storage import paramiko import json import io import pandas as pd import pandas_gbq from datetime import datetime import gspread from oauth2client.service_account import ServiceAccountCredentials import openpyxl as opxl import re import numpy as np os.environ...
[ "noreply@github.com" ]
superfonz.noreply@github.com
1b7e1365e13bbcbf9319626cc91f59b53063bfcc
9dc16419cc28d7f83495cf26bdd0c1c81e6802b2
/CLI/To Speech/Text to Speech/text_to_speech.py
8533b95cc016ec26c0a3d64eff6f7b4776ae79cc
[ "Apache-2.0" ]
permissive
ypratham/python-aio
937f92800d7267816365107388d590e29244d0ea
39805da35481dac58a8bfd0e51398936b3fba249
refs/heads/main
2023-08-01T06:16:07.839554
2021-09-08T06:48:00
2021-09-08T06:48:00
404,224,241
0
0
Apache-2.0
2021-09-08T05:38:54
2021-09-08T05:38:54
null
UTF-8
Python
false
false
174
py
from gtts import gTTS import os text = 'Demo Speech' language = 'en' speech = gTTS(text=text, lang=language, slow=False) speech.save('text.mp3') os.system('start text.mp3')
[ "codewithchin@gmail.com" ]
codewithchin@gmail.com
d996340d1540e127150ad2f2d15bab2211e0bb6b
85b6e009c45f2dd530d8ae186feb7e6e67d076a8
/cohesity_management_sdk/models/application_server_object_to_restore.py
b3355a72c5c37251635935b3bf33acfb546d1799
[ "MIT" ]
permissive
priyambiswas0/management-sdk-python
4a60153b038d0a04de02f2308362a2531b0ff9cb
5807c85e003f271ce069b52529b31abfd08ec153
refs/heads/master
2021-10-20T05:43:34.626369
2018-05-22T06:04:20
2019-02-25T23:56:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,346
py
# Copyright 2019 Cohesity Inc. # -*- coding: utf-8 -*- import cohesity_management_sdk.models.sql_application_server_restore_parameters class ApplicationServerObjectToRestore(object): """Implementation of the 'Application Server object to restore.' model. Specifies the Application Server to restore...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
c2a9f3ada9b299af99e9f67c572b1b8c3cb2dd4c
c1e58d39329b54b0bfa270474720519894930328
/project/main.py
ba240a750c9b4382d0d2fbc2c714d514caa59311
[]
no_license
simms21/argo-test-app
c4bdd85aaac730d3c27d0510861cf8f03fe05fbe
4baa7248850ed25a15c937e035c6b3d5eff74762
refs/heads/main
2023-01-31T16:22:25.806468
2020-12-19T00:31:12
2020-12-19T00:31:12
322,727,370
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
import socket import sys from thread import * host = '0.0.0.0' port = 80 methods = ['GET', 'HEAD', 'POST', 'PUT','DELETE','CONNECT','OPTIONS','TRACE','PATCH'] versions = ['HTTP/1.1','HTTP/1.0','HTTP/2.0'] allow = ['html','json','jpg','png','js','css'] s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockop...
[ "simms21@mgial.com" ]
simms21@mgial.com
7da03415017c14f0b26291a07ccc29a101517dc9
37069009dd428ce59819ffea2fcffc07dda6e712
/django_analyze/migrations/0056_auto__add_field_genotype_production_evaluating__add_field_genotype_pro.py
9b787065f00ad6ec661fc5dd81eefd6d9211d6c0
[]
no_license
chrisspen/django-analyze
829f560d7c5f2fb1c19fc07bc77cb1a83238e696
421ee35235f76ff8657f7befe5212acd7ccf3989
refs/heads/master
2020-04-28T15:42:51.773823
2015-04-18T14:50:02
2015-04-18T14:50:02
14,995,029
2
2
null
2014-07-07T12:39:22
2013-12-06T22:26:29
Python
UTF-8
Python
false
false
20,278
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Genotype.production_evaluating' db.add_column(u'django_an...
[ "chris@coronis" ]
chris@coronis
952b2d58816e31fc9339095aeddb0c46d20e0471
f027240cfabeafc9b0bd6c76b911d2ab6212a64e
/scripts/fund_and_withdraw.py
1f581f9339f38cd2ba1574ca92048b79950b0352
[]
no_license
EFJB/brownie_fund_me
ff7a04f91c13d27ac598f9fc24c319e19f08bd5e
d413a8549c14149827a8b21b8724660ac2b7506e
refs/heads/master
2023-08-15T19:00:31.688244
2021-10-02T03:33:37
2021-10-02T03:33:37
412,679,258
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from brownie import FundMe from scripts.helpful_scripts import get_account def fund(): fund_me = FundMe[-1] account = get_account() entrance_fee = fund_me.getEntranceFee() print(entrance_fee) print(f"La actual fee de entrada es {entrance_fee}") print("Funding") fund_me.fund({"from": accoun...
[ "engel24jb@yahoo.com" ]
engel24jb@yahoo.com
403bf8bc999633b433fcc935fb23ff8f06f2e1a2
2529e1d1c923b664be93f241fc73c11f10d99639
/PyQuante/OEP.py
1e6b701beb419cb57914927bf4178d84b7396958
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
punitjha/pyquante
bc20dd1de1da0c041df19c74275ac0d36792677d
f5cae27f519b1c1b70afbebfe8b5c83cb4b3c2a6
refs/heads/master
2022-01-23T04:15:32.516250
2009-11-16T00:06:50
2009-11-16T00:06:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,673
py
"Yang/Wu's OEP implementation, in PyQuante." from math import sqrt from PyQuante.NumWrap import zeros,matrixmultiply,transpose,dot,identity,\ array,solve from PyQuante.Ints import getbasis, getints, getJ,get2JmK,getK from PyQuante.LA2 import geigh,mkdens,trace2,simx from PyQuante.hartree_fock import get_fock from...
[ "rpmuller@64417113-1622-0410-aef8-ef15d1a3721e" ]
rpmuller@64417113-1622-0410-aef8-ef15d1a3721e
560e64ea487be5a6a70bc4ef2e1a1d01a553ad9e
e9b7f94749026c0fbbdced8dc7b2a1b844062d90
/p.7.1.py
85466f348d87e686b502f6d1a70fb2f37d734bfb
[]
no_license
thijsishiernietgoedinaarts/prog
54aa9cf61349946e03eb3f490e8004a3a4624d3d
e42f81eb9aaa39face5513e1bb6c6035c711ecce
refs/heads/master
2020-04-01T20:47:19.847590
2018-10-23T11:16:41
2018-10-23T11:16:41
153,620,630
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
def convert(x): y = x * 1.8 + 32 print(y) convert(5) def table(x): print(' F', ' C', sep=' ') for c in range(-30, 41, 10): f = float(c * 1.8 + 32) answer= [f,c] print('{:^6}{:^9}'.format(f, float(c))) table(5)
[ "thijs.aarts.student@outlook.com" ]
thijs.aarts.student@outlook.com
8b210db939d8b646a52e33fe434716acbc44ad4f
b7a78daeaf3ec5658b4d6e84033c80b1765a7a71
/Chapter2/algorithm/sparta_algorithm/week2/04_delete_node_linked_list.py
c636473e8fb25d002857a3a6b497d6d3d471ec1e
[]
no_license
conagreen/TIL-hanghae99
bc3350712ed99846d85fec25d5f3b36dce8b7eae
9d6e71fd2f5c6e6bbb3ad13f77613b7d1860c2de
refs/heads/main
2023-04-10T21:09:24.731110
2021-04-11T05:09:26
2021-04-11T05:09:26
343,802,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
# 링크드 리스트 원소 삭제 class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self, value): self.head = Node(value) def append(self, value): cur = self.head while cur.next is not None: cur = cur.next cur...
[ "icoqwee@gmail.com" ]
icoqwee@gmail.com
19defa82572fde3df12eaee0fd0887b789f1ae4d
b0551e7ad759e0d4c20a69035c81ee26147f1f37
/tests/adl_func_backend/xAODlib/test_xaod_aggragate.py
f375bc8ad6e86d9dbd13e27731c5a3f120111d49
[]
no_license
gordonwatts/functional_adl
59192391492b1bee4d6d7eb4b071ddecad037119
a691229c102658c98e71c8374cd80174a86834a1
refs/heads/master
2020-05-20T19:47:50.213706
2019-09-22T20:49:53
2019-09-22T20:49:53
185,730,019
1
0
null
null
null
null
UTF-8
Python
false
false
8,548
py
# Test out various things connected to the Aggregate call. # That code is more complex than I'd like it! from tests.adl_func_backend.xAODlib.utils_for_testing import * from adl_func_client.event_dataset import EventDataset def test_Aggregate_not_initial_const_SUM(): r = EventDataset("file://root.root") \ ....
[ "gwatts@uw.edu" ]
gwatts@uw.edu
584f901a80a2f22282440a28dce2d9699015344e
007cd60ca84623c5ace8b50e846be659ae2e8c85
/collectors/pfizer/spider.py
971186105d5e69303b527e53cbb81e1dfb35b8f6
[ "MIT" ]
permissive
kenferrara/collectors
412a97f0475747a206cbe68890774c0c37e9fc1a
e6c1f45df3a1ffd5d60dada1816484812eb51417
refs/heads/master
2023-04-16T22:01:19.899692
2020-04-23T02:31:24
2020-04-23T02:31:24
258,073,992
0
0
MIT
2023-04-04T00:19:23
2020-04-23T02:30:59
Python
UTF-8
Python
false
false
1,025
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from scrapy.spiders import Rule from scrapy.spiders import CrawlSpider from scrapy.linkextractors import LinkExtractor from .parser import parse_r...
[ "roll@post.agency" ]
roll@post.agency
1a8110513faf6e110a32cea2a34ee3110be3b94c
542b16adf10198571fd4881fcb7d7ff196434c10
/pyscene.py
46bd21ce93f651d910212df009282084681317eb
[]
no_license
lingyue328/SceneClassification
655fd8c2165fee8a2621c8c7e24578d7091dd448
269d9d7134bc26412794cf1713666fe741d60ffa
refs/heads/main
2023-03-21T08:35:35.584816
2021-03-16T04:47:19
2021-03-16T04:47:19
347,949,704
3
0
null
null
null
null
UTF-8
Python
false
false
197
py
import scenedetect import subprocess videopath='test.mp4' scenepath='./scene' subprocess.call('scenedetect -i %s -o %s detect-content list-scenes save-images -n 1' % (videopath,scenepath))
[ "noreply@github.com" ]
lingyue328.noreply@github.com
5e949e06e6c5c4f3f95d57ba4cacb3b4a27db36c
c3752620acf43b822061f0c84ab2e1728fdf1c06
/pureWords/idSimi2NodeSimi.py
5878b095fa319621bacfbd88b62a4ac2eae56ab0
[]
no_license
zhipeng93/wordEmbeddingBenchmark
2704aedd3478e712a44996539b30da03531aa11b
6a2cb68262ee4c4cb59457f2a15667e8d76350e5
refs/heads/master
2021-10-27T15:58:09.741495
2019-04-18T08:30:34
2019-04-18T08:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
import sys def convert(embedding_f, node2id_f, out_embedding_f): id2word = dict() for line in open(node2id_f): if line.startswith('#') or line.strip() == "": continue line = line.strip().split() _word = line[0] _id = line[1] id2word[_id] = _word out_embe...
[ "zhangzhipeng@pku.edu.cn" ]
zhangzhipeng@pku.edu.cn
3756722bfc33e2a508d337325f73dd8d823b0c0a
dbb935a67217902fe823fff5885d8a08b0dce133
/python/pqauth/pqauth_django_server/tests/__init__.py
7e91e08ff73a4c3cba9db3359803f4c046424b00
[ "MIT" ]
permissive
ddtrung-fs/pqauth
292c72fc8aeac995ce0a0765f9abef9e2c02c422
b6322c704306342b0cdeed07d6a6dfe7faf7ca4c
refs/heads/master
2021-05-26T22:45:44.167235
2013-05-03T23:10:27
2013-05-03T23:10:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from .protocol import ProtocolTest
[ "tjdziuba@gmail.com" ]
tjdziuba@gmail.com
39e1db7518d3d854a2368377dfb59e1886ade294
815339fed0c82e96769e0a49f916df2b0a4c0c9d
/setup.py
079050c8c83d60e434dbde482381149e794d6cf2
[ "MIT" ]
permissive
ps/Flask-HTTPAuth
9ac541ca7d40ac926917d0d5d3e0a3fa20c945d8
fc34cc5020168ca3824cc4a740b2010bb3132abf
refs/heads/master
2021-01-22T12:37:19.531289
2015-01-16T20:18:21
2015-01-16T20:18:21
29,791,846
0
0
null
2015-01-24T21:12:24
2015-01-24T21:12:24
null
UTF-8
Python
false
false
1,006
py
""" Flask-HTTPAuth -------------- Basic and Digest HTTP authentication for Flask routes. """ from setuptools import setup setup( name='Flask-HTTPAuth', version='2.3.0', url='http://github.com/miguelgrinberg/flask-httpauth/', license='MIT', author='Miguel Grinberg', author_email='miguelgrinber...
[ "miguelgrinberg50@gmail.com" ]
miguelgrinberg50@gmail.com
d50bca0fe3b87aae44167fe82ad1b04c2743031d
e8199f1d424592affe19b50fd96a02815067d1b1
/Dynamic Programming/1641. Count Sorted Vowel Strings.py
cee2d0c34ad32c209ff626cc43f9db293a8c090d
[]
no_license
srajsonu/LeetCode-Solutions-Python
39a809e4c6d555a3a3055ce03d59cfa40b93a287
8ec31c8df2885f3da533424ba13060b7d3e3af78
refs/heads/master
2023-03-19T10:05:42.578615
2021-03-13T17:21:36
2021-03-13T17:21:36
280,716,200
0
1
null
2020-10-06T09:54:02
2020-07-18T18:32:04
Python
UTF-8
Python
false
false
504
py
class Solution: def countVowelStrings(self, n): m = 5 dp = [[0]*m for _ in range(n)] for i in range(n): dp[i][-1] = 1 tmp = 1 for i in reversed(range(m)): dp[0][i] = tmp tmp += 1 for i in range(1, n): for j in reverse...
[ "srajsonu02@gmail.com" ]
srajsonu02@gmail.com
d6b0ce2557419bb5ee7d83893bd14dca5b797630
bf5c6eed07213bf7e544a0856ed46031b0078011
/scripts/gensimLoadModelAndSimilarWords.py
ed4a8cd483a03e2b4f60bfea15229a034fd92c5d
[]
no_license
flovera1/NlpHackaton
4009df66dadbe2ad027c3dbbc4f5c95dd17c9494
2be089dadca7914f3faddbb63ed6a8aac34d7341
refs/heads/master
2021-03-04T04:02:12.673586
2020-03-12T13:20:46
2020-03-12T13:20:46
246,007,392
1
1
null
2020-03-09T14:01:11
2020-03-09T10:35:32
Python
UTF-8
Python
false
false
5,935
py
import pandas as pd import re import string import numpy as np import os import nltk #nltk.download('stopwords') #from nltk.corpus import gutenberg from string import punctuation import gensim from matplotlib import pyplot as plt #from scipy.cluster.hierarchy import dendrogram, linkage from sklearn.cluster impor...
[ "18098441+curiousTauseef@users.noreply.github.com" ]
18098441+curiousTauseef@users.noreply.github.com
2dad1f74e7d7f7ecc839ac8ab348b5d490a763a6
cd41e9a384dd3c0b2be22b9243ac9735f8de86bc
/beaglebone.py
598aaa7c201e10342a2413e0e4c48947a9adc4de
[]
no_license
rsps1008/Voice-Controlled-Christmas-Tree
d551bf3268dc90d3f5a46239ce54570e4143aed4
23e57105a9bed403c5c4c3cda4de4da36fc4c83c
refs/heads/master
2022-04-15T21:29:53.445647
2020-03-15T15:53:14
2020-03-15T15:53:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,403
py
# -*- coding: utf-8 -*- import argparse import base64 import httplib2 import json import math import os import select import serial import subprocess import time import Adafruit_BBIO.UART as UART import Adafruit_BBIO.ADC as ADC import Adafruit_BBIO.GPIO as GPIO from googleapiclient import discovery from oauth2clien...
[ "rsps1008@gmail.com" ]
rsps1008@gmail.com
64027fc85a180c295e6a6166caae085887c3a574
7f8d0da9996fae10ac1c435aa4f07662dc3dfcf3
/day-9-silent_auctioni/day-9-3-silent auction/main.py
208bbd5c900ccea681e6af00b8c695589fd09b99
[]
no_license
tylersojka/100-Days_of_code
1fc34f48c5bc16ae63bd33227e9481ab04a87c5f
9ad0fbff8a55237bce019a44b7e649240388fab6
refs/heads/main
2023-03-19T04:06:55.329612
2021-03-15T19:17:30
2021-03-15T19:17:30
312,051,676
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
import art from replit import clear clear() print(art.logo) # empty dict for holding all input auction_dict = {} # flag to start the while loop add_more = True # build the name:bid dictionary to hold all the entries while add_more == True: dict_name = input("What is your name?\n") dict_bid = int(input("What ...
[ "sojkasojkasojka@gmail.com" ]
sojkasojkasojka@gmail.com
f3870b74ea6e640f17dc518240e3fed2c77136bf
32d032b6726fd450cba0b3c534709196f3934eee
/groups/migrations/0006_auto_20200401_1200.py
6cc8a2c0c35409d08e2bbeb9bffe9482bf43acc2
[]
no_license
Machele-codez/WeSocial-Blog
d63361db5d58418d7113d5d8f02d435e274cad4b
744f419516c807cb07f4b182e64b8bb57114c891
refs/heads/master
2021-05-23T12:02:07.192446
2020-04-05T16:33:06
2020-04-05T16:33:06
253,277,112
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# Generated by Django 2.2.7 on 2020-04-01 12:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('groups', '0005_auto_20200401_1109'), ] operations = [ migrations.AlterFiel...
[ "smithbeblack@gmail.com" ]
smithbeblack@gmail.com
d6a261836e76a042cb2a7152a6424eceb1337321
a73fd25dd9a8e6df0b1bf3eee0bccf5297722bc7
/]tasks/2018.06.01.domain_selection/exam_patch_method.py
bdc750084e88d217e7830d6c239a9cb3e7c11bc7
[]
no_license
bohaohuang/sis
23d0260d85903b62518fb8fb588661597248ad0d
28a59f3182f0ba58ba582449377c6588af1d4cde
refs/heads/master
2021-05-05T17:00:33.808099
2019-09-06T17:46:02
2019-09-06T17:46:02
117,362,230
2
0
null
null
null
null
UTF-8
Python
false
false
3,843
py
import os import imageio import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import uabCrossValMaker import uab_collectionFunctions import uab_DataHandlerFunctions from bohaoCustom import uabDataReader def get_patch_by_name(patch_dir, p_name, patch_size): img = np.zeros((patch_size, patch_siz...
[ "bohao.huang@duke.edu" ]
bohao.huang@duke.edu
62fcf7524c6e232539f497e3c91f76801a2ce522
f23b7ba02960fde346609e8cf35fee317825d825
/vcnn_train.py
8eb2ae08f7abaaf243e7231342fa4b8f63842b2d
[]
no_license
danielsonjh/ESC499
010dbf0c3b9fd1ffa7ac2d39091a4c3b512207f9
afd0fc17ae7239b551bf8ed9fcb6a4ff84935d4c
refs/heads/master
2021-01-13T12:27:51.405486
2017-04-13T22:55:23
2017-04-13T22:55:23
78,540,386
0
1
null
null
null
null
UTF-8
Python
false
false
11,680
py
import sys import tensorflow as tf import numpy as np import datetime as dt from data_loader import dl learning_rate = 0.001 training_epochs = 50 batch_size = 64 display_step = 50 input_dim = 30 def basic_vcnn(n_labels): x = tf.placeholder(tf.float32, [None, input_dim, input_dim, input_dim]) y = tf.placehol...
[ "danielsonjh@hotmail.com" ]
danielsonjh@hotmail.com
653cfd2b1be8fc902956eb5f6815f3536a3a0514
f2abb49ad725c9719ea48a543e23d625d536c4c2
/plant_vs_zoomie_game_normal06.py
6fb6add9c4b75e1fb9300ee61413f8e4e350c024
[ "MIT" ]
permissive
ChengzhuLi/plantwarzombie
0d5720ddca730694a187391fe8509ad4ea8503c8
d9cb018d04df241846c49dbeabd52df688de5e5f
refs/heads/master
2022-11-28T13:39:04.113319
2020-08-02T15:42:05
2020-08-02T15:44:04
284,490,770
5
2
null
null
null
null
UTF-8
Python
false
false
7,905
py
import time import pygame import os from Bullet import Bullet from FlagZombie import FlagZombie from Peashooter import Peashooter from SunFlower import SunFlower from WallNut import WallNut from Sun import Sun from Zombie import Zombie pygame.init() backgd_size = (1200, 600) screen = pygame.display.set_mode(backgd_...
[ "3024836722@qq.com" ]
3024836722@qq.com
f098af0f8e7d94d9ea457ab1f56803ee2dca1723
29ac141e824d6f695ee52e8c4f4a006e581747f9
/UI_Files/ComparisonUI.py
92ebe8181f033de170e0cc5eeb97eaaff34bfb27
[]
no_license
mhmohebbi/NMR-Pulse-Simulator
344fa4b70c188610a1884858e25004d7a5bfe59e
76a7a7c406fedf12602e83c7a425891b71fe467f
refs/heads/master
2022-12-11T05:08:10.758049
2019-09-25T14:07:56
2019-09-25T14:07:56
210,232,116
8
0
null
2022-12-07T23:36:08
2019-09-23T00:17:21
Python
UTF-8
Python
false
false
3,923
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ComparisonUI.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(...
[ "mhmohebbi@gmail.com" ]
mhmohebbi@gmail.com
ee3b7e0043e5612c5d440d96e52d24761706606e
f83ac0c7abea19da35332d6d3cb31ecbc8a84a44
/chap4/digraph.py
67ae442ce18cab7e72f54c8bc2c9916f89187e53
[]
no_license
fndjjx/algorithm
63e532fd8eead8c2de382cf8fafee4b2a862ec8e
be9603a426294bd746948a8d115199e22482e099
refs/heads/master
2021-09-01T05:42:36.206868
2017-12-25T05:56:11
2017-12-25T05:56:11
103,631,383
0
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
import better_exceptions from collections import deque class Digraph(): def __init__(self): self.adj = {} self.e = 0 def add_edge(self, v1, v2): if v2 not in self.adj[v1]: self.adj[v1].append(v2) self.e += 1 def build_digraph(self, l): for i in l: ...
[ "ly" ]
ly
e458a885b05dd69438155b6c77e5ae707286f017
8e81c34c58e1ae10d905fc67308e1ccef1bf83de
/src/SJ_tags_generator_for_micro_exons.py
3cdbe77a11aec305920c1f94366d8ed0d49fe6d3
[]
no_license
geparada/Micro-exonator
6ae2643c877f9c3031bcdf878372258a4be2dd86
61ba9db05df547d363f591b61139a99a64393ff6
refs/heads/master
2023-03-21T09:19:53.839777
2021-03-19T17:01:03
2021-03-19T17:01:03
115,053,356
0
0
null
null
null
null
UTF-8
Python
false
false
3,587
py
import sys import csv from Bio import SeqIO from Bio.Seq import Seq from Bio.Alphabet import generic_dna from random import randint, sample from operator import itemgetter from collections import defaultdict from operator import itemgetter Transcriptome = {} Genome = {} def Genomictabulator(fasta): print >> sys.s...
[ "noreply@github.com" ]
geparada.noreply@github.com
2dbad905fc1dfaab15d2977401a6a3158e1b4fb2
eff5e35c81567d11431a8757c4cef9f8aafa7883
/mcuuid.py
669cc595a3254a75411906000fb8b8b1ca564255
[ "MIT" ]
permissive
Mathtin/mc-discord-bot-old
775e0a1098df657685a7f5ce4f67b048af5440f1
51713c257722bbe5a825a8351793d7b49644b1f4
refs/heads/master
2023-01-14T07:46:52.618500
2020-11-24T16:46:00
2020-11-24T16:46:00
295,772,006
1
0
null
null
null
null
UTF-8
Python
false
false
4,563
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ################################################### #........../\./\...___......|\.|..../...\.........# #........./..|..\/\.|.|_|._.|.\|....|.c.|.........# #......../....../--\|.|.|.|i|..|....\.../.........# # Mathtin (c) # #############...
[ "wdaniil@mail.ru" ]
wdaniil@mail.ru
f84104be2dd9a64cbb29620a7afa13eed126eb9b
f35d3f13510b399034a8ead7126bd7e42b1dd125
/x_fizzbuzz_test.py
43aac2d9a80a7f46ea48de990312b5a54f12f2db
[]
no_license
pwon7862/assign
9bfafd52a5277e6b634eedd89acc3dc4160f3df1
ec97aa430f2cfd0cd3e85dd16a89339114b7368d
refs/heads/master
2021-04-26T22:18:05.773529
2018-03-06T11:03:23
2018-03-06T11:03:23
124,065,797
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
# -*- coding: utf-8 -*- import x_fizzbuzz import unittest class ImsiTestCase(unittest.TestCase): def test_fizzbizz(self) : self.assertEqual(x_fizzbuzz.fizzbuzz(10), [1, 2, 'fizz', 4, 'buzz', 'fizz', 7, 8, 'fizz', 'buzz']) if __name__ == "__main__": unittest.main(verbosity=2)
[ "pwon7862@gmail.com" ]
pwon7862@gmail.com
cd723aa81613a45f7719f5fced953ff4d86444e3
8a59923be6a3647028a3c63cb4a0f47b264d7968
/fidal/iex/stock/dividends.py
f96a5b2abebf36bdc43fbec76522c1ab29c44808
[]
no_license
jbussdieker/fidal
31cf9fbd59176bdee3f31a895ec91f147de4a446
252e5d83e1a18d410d37e056beef748a29d54ade
refs/heads/master
2023-02-19T07:43:21.707286
2021-01-22T11:38:03
2021-01-22T11:38:03
327,143,904
1
0
null
null
null
null
UTF-8
Python
false
false
134
py
from fidal.iex.client import client def fetch(symbols): return client.request("stock/market/dividends/5y", {"symbols": symbols})
[ "jbussdieker@gmail.com" ]
jbussdieker@gmail.com
729d563fe3a5ca235cc2965875ff1be41b1a267d
546df14bcaed7fec38b577743a27a56dcc6befe3
/HighlyDivisibleTriangleNumber.py
a77a591ae8d4e4b878a0fc9f76d6a93e01cc6c23
[]
no_license
KevinMOGrady/project-euler
03ba13a820ac6ec034ad73ad651bd3be8a4d0ff9
499a16abcccdc41f47fb91c74b9e50a2572f4683
refs/heads/master
2021-07-20T11:10:32.824692
2017-10-27T00:06:01
2017-10-27T00:06:01
106,835,307
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
def least_factor(Number, MaxFactor, Start=2): # MaxFactor = int(n**0.5) # if Start == 2: # if Number % 2 > 0: # Start = 3 for i in range(Start, MaxFactor + 1): if Number % i == 0: return i return Number def factors_greater_than(Number, AmountGreaterThan): # C...
[ "kevin.ogradyk@gmail.com" ]
kevin.ogradyk@gmail.com
f23efdd9461f23170937db5508b773037f226837
61d4cd614048d38243b8c8537b3a2d2ba4dbb3ba
/visualHelper.py
ee5af449deff105fe01e2bfb164e5073d298e74d
[ "MIT" ]
permissive
YupingLin171/PostAvgDefense
08188d91145f15ec403811b1c7ad1da3db7391d6
23832afb7bb6127a9571738f20f0e3dfd3935697
refs/heads/master
2020-07-26T10:53:33.724202
2019-09-27T13:54:25
2019-09-27T13:54:25
208,621,734
1
0
null
null
null
null
UTF-8
Python
false
false
4,471
py
# -*- coding: utf-8 -*- import torch import torch.nn as nn import numpy as np import matplotlib; matplotlib.use('agg') import matplotlib.pyplot as plt def plotPredStats(feats, lb, K=10, image=None, noiseImage=None, savePath=None): # score by averaging scores = torch.mean(feats, dim=0) # sort an...
[ "55327259+YupingLin171@users.noreply.github.com" ]
55327259+YupingLin171@users.noreply.github.com
98d5754c4c88776844fa76b73fa795285ed48126
2c7f99ff86d1786d133df13a630d62e7dcc63fab
/google/cloud/dialogflow_v2/services/contexts/transports/__init__.py
7437034e4e22ca443771790d90c3e018528c41d0
[ "Apache-2.0" ]
permissive
rlindao/python-dialogflow
2141b7181506210c6cfffb27bb9599ad21261c28
8958e562bb159b00bb1fc0fa97e5ffd35dea058d
refs/heads/master
2023-04-06T15:09:14.888871
2021-04-16T21:34:24
2021-04-16T21:34:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
rlindao.noreply@github.com
88bac48340ea40b37dfeee5289425f10b7f14705
288a00d2ab34cba6c389b8c2444455aee55a8a95
/tests/data23/recipe-302746.py
89c4cb749221fd1a5df78063c067ae6d238e7418
[ "BSD-2-Clause" ]
permissive
JohannesBuchner/pystrict3
ffd77b7bbc378bd4d8f21b5c6bd69a0d64a52ddb
18b0dd369082422f9bf0f89c72e7acb53a49849c
refs/heads/master
2023-08-14T06:37:37.954880
2023-07-13T11:16:38
2023-07-13T11:16:38
268,571,175
1
1
null
null
null
null
UTF-8
Python
false
false
2,280
py
import threading,queue,time,sys,traceback #Globals (start with a captial letter) Qin = queue.Queue() Qout = queue.Queue() Qerr = queue.Queue() Pool = [] def err_msg(): trace= sys.exc_info()[2] try: exc_value=str(sys.exc_info()[1]) except: exc_value='' return str(traceback.format_t...
[ "johannes.buchner.acad@gmx.com" ]
johannes.buchner.acad@gmx.com
90d991c2151643d0cfc01edd4add8fce17ee035f
42bcfefe2344f99758bede6df580f954eac02f87
/src/scribimus/wsgi.py
4a0b22c2f38f8c8e6cbeadb45c0ba682f18cb6e1
[]
no_license
andarms/scribimus
847e88caeaea6870a677af47dc58c191ddaed0e7
3fce3180cca008faa67c541305d79dfb695bf04a
refs/heads/master
2021-01-10T13:48:52.805850
2015-10-16T21:03:46
2015-10-16T21:03:46
44,364,365
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for scribimus 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/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "andarms@outlook.com" ]
andarms@outlook.com
0b43f74a50035848a159103ea7ad7c78398ae86a
4c07bf87f2a5b7d1574e16b0c521d37bc2875d65
/backend/api/api_base.py
483855fe06334ae49e4b383c6a5822c3a018a426
[]
no_license
analysiscenter/ecg_demo
82b15cb2714394a74873912fc2cf7c340273ab29
dd07c21581004bea1fc239ea83f9be62d7cc5ff6
refs/heads/master
2021-09-14T15:09:20.912498
2018-05-15T11:51:44
2018-05-15T11:51:44
132,882,455
1
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
import logging from flask import request from flask_socketio import Namespace class BaseNamespace(Namespace): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.logger = logging.getLogger("server." + __name__) def on_connect(self): self.logger.info("User conn...
[ "a.kuvaev@analysiscenter.ru" ]
a.kuvaev@analysiscenter.ru
fc94b528bc0821b1e139a849d280ad3baa3fdc1f
27f28d43f7ae6a2d6ef91309229b73a2b7fae8f4
/src/pytkdocs/serializer.py
6502a340c31d9e9e867cc65dc9d22cf21c28c918
[ "ISC" ]
permissive
art049/pytkdocs
5d7ca6e239344424a323223c9a0abed54aae0022
229d7d20fa7c8908f26035313049534339ae61af
refs/heads/master
2022-12-12T11:41:38.783618
2020-09-08T15:43:03
2020-09-08T15:43:03
295,542,549
0
0
ISC
2020-09-14T21:26:22
2020-09-14T21:26:21
null
UTF-8
Python
false
false
7,753
py
""" This module defines function to serialize objects. These functions simply take objects as parameters and return dictionaries that can be dumped by `json.dumps`. """ import inspect import re from typing import Any, Optional, Pattern from pytkdocs.objects import Object, Source from pytkdocs.parsers.docstrings.base...
[ "pawamoy@pm.me" ]
pawamoy@pm.me
2dfade098a68cbf3949fa94771706c9d6b8b7245
b6abccfa53efaf86bb06e1d4c8d2321bbda60145
/dqn_agent.py
dab00455d2f3bda4523a0e87fc8436b435796d74
[]
no_license
gthm1/Project-1_Navigation-DQN
7d367c5f6d5134aeba4dd039a3bf13a069c4ca1c
a87a3e098f98b92bcfebfbe6af6da2c0997bf3dc
refs/heads/master
2022-12-17T11:33:36.164803
2020-09-10T15:05:44
2020-09-10T15:05:44
292,557,933
0
0
null
null
null
null
UTF-8
Python
false
false
5,358
py
import numpy as np import random from collections import namedtuple, deque from model import QNetwork import torch import torch.nn.functional as F import torch.optim as optim BUFFER_SIZE = int(1e5) BATCH_SIZE = 64 GAMMA = 0.99 TAU = 1e-3 LR = 5e-4 UPDATE_EVERY = 4 ...
[ "noreply@github.com" ]
gthm1.noreply@github.com
1e8a4634e4de9c5b1b83e5c2eb817f7103413800
694e560b8436edf4168a9fcfcc57c92e45f00a29
/FBExtracter.py
61e3535c253680af327ade55a2f5a6d8839470dd
[]
no_license
Gobiviswa/FB-Extracter
bdbf57a78f4663d183acbe34d184870f3663b088
5962540e2230ce631424e720637bf496d4da9eaa
refs/heads/master
2022-02-21T16:41:12.866528
2019-08-07T10:46:15
2019-08-07T10:46:15
103,291,705
0
0
null
null
null
null
UTF-8
Python
false
false
4,895
py
#!/usr/bin/env python import sys #to getversion of Python import json #for handling JSON files import requests #for requesting URL content import getpass #for getting password import time import datetime import csv #getting the version of the python def getVersion(): ...
[ "noreply@github.com" ]
Gobiviswa.noreply@github.com
dc09f5313a9b5329c70f8c40cf11a8e182d79d09
9efe76d9147f46a113e2ba7c5ae61e8d0221a14c
/code/1184. Distance Between Bus Stops_20190911.py
e977912ad930f82cc9915836881087480cd0277b
[]
no_license
cathyxingchang/leetcode
d570860686589f992d1eefad9d807f1bca76bcf2
163b376acab84e28c74cb784d10fe39f11510921
refs/heads/master
2021-01-19T09:03:14.309153
2020-02-26T02:53:16
2020-02-26T02:53:16
87,716,087
2
0
null
null
null
null
UTF-8
Python
false
false
878
py
class Solution(object): def distanceBetweenBusStops(self, distance, start, destination): """ :type distance: List[int] :type start: int :type destination: int :rtype: int """ # 计算正向的front front = 0 back = 0 if destination < start: ...
[ "xingchang@xiaomi.com" ]
xingchang@xiaomi.com
ad6083e20bbce189bfe802914d0868484b69add9
2526d61a2b3ff8ecba71ffd51b6e6b8a473fbaa4
/cli/maticetl/cli/export_receipts_and_logs.py
e3265ef85b0ee2da3c8efae81a5caab69484bc01
[ "MIT" ]
permissive
mathewdgardner/matic-etl
9bda99c91c8dd515b6f0d7f97f8aa9ec8560179b
36630507808be23f3570a7a2f333dc21ca09b2f9
refs/heads/main
2023-03-31T11:31:53.244262
2021-04-02T17:43:57
2021-04-02T17:43:57
354,088,802
0
0
MIT
2021-04-02T17:32:51
2021-04-02T17:32:51
null
UTF-8
Python
false
false
3,641
py
# MIT License # # Copyright (c) 2018 Evgeny Medvedev, evge.medvedev@gmail.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # ...
[ "araa@connect.ust.hk" ]
araa@connect.ust.hk
7902cfab8e06b52068fb3de8efa2c2ca595cc290
80bac94ba693adc5fb7e488e93aaadf85280be4c
/IBM_projs_coursse/Week2/lab2/ormtemplate/standalone/models.py
a358014f1e40f8d49e51fbce10d9127b3c27e828
[]
no_license
yapalfredo/IBM_projs_coursse
cef482d027bfa0e5b99b2793667d88194085f08f
2ac3a15c966768fc0da02e52f070b7a3985514c4
refs/heads/main
2023-06-08T13:01:45.594903
2021-07-02T01:21:12
2021-07-02T01:21:12
380,130,440
0
1
null
null
null
null
UTF-8
Python
false
false
111
py
from django.db import models # Test model class Test(models.Model): name = models.CharField(max_length=30)
[ "alfredo.yap@stu.bmcc.cuny.edu" ]
alfredo.yap@stu.bmcc.cuny.edu
e93111e1175141ba7cb9cd4cf06309c045f70c40
b0a45268376be5632cfe113c2e540e61fa4a3c51
/ckan_api_client.py
37ff4a455188975296e52f0ab5414c0dd02fb543
[]
no_license
opendatatrentino/ckan-api-v2-tests
c4bdadbed0fe87cd9cc2caa9baa2bee106c777ca
6cef44184fea19c122214af7f6e1be15c457676a
refs/heads/master
2020-04-14T11:42:50.850813
2014-02-27T17:04:12
2014-02-27T17:04:12
16,990,323
1
0
null
null
null
null
UTF-8
Python
false
false
41,693
py
""" Ckan API client """ from collections import namedtuple import copy import functools import json import urlparse import warnings import requests DATASET_FIELDS = { 'core': [ 'author', 'author_email', 'license_id', 'maintainer', 'maintainer_email', 'name', 'notes', 'owner_org', 'private', 'sta...
[ "redshadow@hackzine.org" ]
redshadow@hackzine.org
1b95e6b2d0973c6330be837f6719e80f660b6827
5064d9c3c7f2ce03f0bf1098cebd1a71498260df
/clients/admin_image_widget.py
4c48aa003c69f0d2a58c7b4b0a3206828f0180bc
[]
no_license
RetinaInc/mediguest
db85e1bb72392ea2834a94c444856366e4cd0426
52d8a383ef3d1ef04841285e0e7eb6dc3654fdfd
refs/heads/master
2021-01-17T12:16:33.908649
2014-03-16T15:58:32
2014-03-16T15:58:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
from django.contrib.admin.widgets import AdminFileWidget from django.utils.translation import ugettext as _ from django.utils.safestring import mark_safe import os from PIL import Image class AdminImageWidget(AdminFileWidget): def render(self, name, value, attrs=None): output = [] if value and get...
[ "leebraid@gmail.com" ]
leebraid@gmail.com
aa3a29d2c6739fa6f0c3c1fd181e9e62d542fadd
c4b21ca242ce5813437b563e21ce5bf084c2fe15
/app/migrations/0030_auto_20210329_1808.py
2ccea7fa665daba98a0e32b6105cc25dc24ed455
[]
no_license
Igor-987/Sneg_Recs
276cd4eea1655ab1589d4d41bf7c72c284e902b4
3a1006151fd9994957e5a7e311c96591597bfe00
refs/heads/master
2023-03-30T15:46:40.697007
2021-04-07T11:24:09
2021-04-07T11:24:09
349,412,410
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
# Generated by Django 3.1.7 on 2021-03-29 10:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0029_store_retail'), ] operations = [ migrations.AlterModelOptions( name='rec', options={'ordering': ['-rec_time'], '...
[ "igor.kov@list.ru" ]
igor.kov@list.ru
a8d6c8d28a4bab862a94b9a96f1fce68c8fff635
1690a17b015d906d8ccc758d8e6edea8980b7d8b
/Simulator/Simulator.py
915c7374c8da086bce4747ad55f09e7980d95d40
[ "MIT" ]
permissive
aayushkapadia/chemical_reaction_simulator
0624e488f2a655a6734688702ad4b7e3f4bb0f9c
00a2497b8d6619486c69167ca62538221bce1373
refs/heads/master
2021-01-18T20:53:09.367013
2017-05-05T16:49:43
2017-05-05T16:49:43
86,996,682
1
1
null
null
null
null
UTF-8
Python
false
false
1,339
py
from Reaction import * import matplotlib.pyplot as plt class Simulator: def __init__(self,crn): self.crn = crn self.simulationData = dict() self.crn.prepare() for chemical_name in self.crn.concentrations: self.simulationData[chemical_name] = [] def addInSimulationData(self,concentrations): for chemic...
[ "kapadiaaayush@gmail.com" ]
kapadiaaayush@gmail.com
0659ba2b964c99d71870485b9c9e0d8687be2bc7
130b708183683934e14da0540defd2714a5683e9
/src/config.py
6db6ac49ec8c286c947813d5483339fd44dffbb0
[]
no_license
burrussmp/Dermatoscopic-Image-Classifier
062d6ad00037833ba4ddcf946fe088e012d6fbf6
341f8a5ca07f99b1480b6268105fce04e3cc89fe
refs/heads/master
2021-01-01T23:01:40.931062
2020-02-09T22:15:26
2020-02-09T22:15:26
239,382,086
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
BASEDIR = './' DATA = './data'
[ "burrussmatthew@gmail.com" ]
burrussmatthew@gmail.com
0e5d489a49a94330d5600743529ef7495b17d98f
c0df4b81f88b0e16a70fe8bd16e512c7d5add9de
/klearn/model_selection/metrics_depr.py
25011f8965c028ab518c068411ced150bbce5a3f
[ "MIT" ]
permissive
KevinLiao159/klearn
b53139e8659c8f2b3ada53b87cf29952204c9aca
ffc0cb6b69cd21f2aac8934af55ac6e32c4db689
refs/heads/master
2021-05-03T05:20:10.003850
2018-09-19T18:25:43
2018-09-19T18:25:43
120,633,954
2
0
null
null
null
null
UTF-8
Python
false
false
46,409
py
""" Metrics to assess performance on classification task given class prediction Functions named as *_score return a scalar value to maximize: the higher the better Function named as *_error or *_loss return a scalar value to minimize: the lower the better """ # Authors: Kevin Liao import numpy as np import math fro...
[ "lwk723@berkeley.edu" ]
lwk723@berkeley.edu
19b974e1d0cd8c7142d40aa60413da30905446d6
a5cce6d6cda00a90676a8cc56b1ffbf17c8066b0
/python/ccxt/mexc3.py
a05285a07b4ce29ae2381bf220a7471813a0f65b
[ "MIT" ]
permissive
woolf-wen/ccxt
2ce7d699344935bd5b291ce049ec026fd7eaef76
ecf77d57d1055cf90d38837cf5a02d1ad82b950b
refs/heads/master
2023-02-13T05:43:46.376882
2023-01-30T16:02:48
2023-01-30T16:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
198,812
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors import PermissionDe...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
b30b1b3d06da25e2496aaace8ae11976309d769b
077d6a98c19951ccec87ca03ddd0bb468aa98c14
/premium/amazon/trees_and_graphs/symmetric_tree.py
c17c98610dd42b5b67797436a273a33d7bdcdb77
[]
no_license
rayt579/leetcode
c099a5147f161d44179a5a2bf9bd33ab3a661f79
9d0ff0f8705451947a6605ab5ef92bb3e27a7147
refs/heads/master
2020-03-19T04:45:07.829074
2019-04-07T22:26:02
2019-04-07T22:26:02
135,862,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
''' https://leetcode.com/explore/interview/card/amazon/78/trees-and-graphs/507/ ''' # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def isSymmetric(self, root): """ ...
[ "rayt579@yahoo.com" ]
rayt579@yahoo.com
9706fb2addd72cc76cdd034a6caee3fa0f1c7921
c8a296a51f0f3fd3be1a16ff5a5f501463957594
/services/ingestion/poller/ubwFagtimePoller/ubw_fag.py
722503fafff154775d91f45564c3a8fbfd3476b3
[]
no_license
rtc11/Dataplattform-version2
87ab936f2464ef0a6717b164a160efa620ec7770
5569ec0e300d0932dae225cc9939165fb56b5a91
refs/heads/master
2021-05-18T14:58:27.863250
2020-03-30T10:49:37
2020-03-30T10:49:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,537
py
import boto3 import json from datetime import datetime from os import environ from zeep import Client from xmltodict import parse from os import path def handler(event, context): poll() return {'statusCode': 200, 'body': 'Success'} def ssm_parameters(): path = f'{environ.get("STAGE")}/{environ.get("SERV...
[ "jens.markussen@knowit.no" ]
jens.markussen@knowit.no
c4ab840d46ed70498c05ff4866a7ced75ae8b528
ec99d10fa821651db7616d68c8ca54f69007c1f4
/sciencebeam_gym/convert/conversion_pipeline.py
fc5ea0a75386dd57660d7d5ccf65ec5e3afd200e
[ "MIT" ]
permissive
pvk444/sciencebeam-gym
65d3047554839abb345794100ab21900e574ec7a
523738b0d242c8dc99fb96ce9eb1d65500e29c1f
refs/heads/master
2020-04-20T08:37:17.915949
2019-02-01T09:19:13
2019-02-01T09:19:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,033
py
from __future__ import absolute_import import argparse import os import logging import pickle from io import BytesIO import apache_beam as beam from apache_beam.io.filesystems import FileSystems from apache_beam.options.pipeline_options import PipelineOptions, SetupOptions from lxml import etree from sciencebeam_ut...
[ "noreply@github.com" ]
pvk444.noreply@github.com
ad1eeda9ffaa3cadb44e6a3ead7b2b13ddcc9ce1
6534d5a2337685df05c07c5a70cbca2ddef313d2
/MicroDB.py
96dfa7636e0a9c35299c0274406c879b89bd717d
[]
no_license
abirlal/NaboDB
dccbfd5842391b1964ac87c1b64c1d1df079c754
aef7936669211998998194684b1396d6d048aeea
refs/heads/master
2020-03-18T17:27:58.890940
2018-05-27T13:08:21
2018-05-27T13:08:21
135,030,908
1
0
null
null
null
null
UTF-8
Python
false
false
12,221
py
import os import sys import re import time, datetime import datetime class MicroDB: """A customer of ABC Bank with a checking account. Customers have the following properties: Attributes: DB_NAME: A string representing the customer's name. FILE_PATH: . """ def __init__(s...
[ "noreply@github.com" ]
abirlal.noreply@github.com
ef7d446f6ff097c39a063014124dc20ebc83e3fa
82df9118cb22b335e6456ba6df7f22a1179a1de4
/Laba2/Vector.py
490aedc3e23d5fe5de19980a2f99ee0dcac6bf35
[]
no_license
Alessandroo/Myts
1dd3032db5bca6087c7e447bc06dc7cb9e03321f
96b9b7d675d38095231086544898bddcde00be80
refs/heads/master
2021-01-17T07:15:12.464628
2016-06-17T20:15:27
2016-06-17T20:15:27
52,388,234
0
0
null
null
null
null
UTF-8
Python
false
false
3,347
py
from itertools import starmap, zip_longest from operator import add, mul, sub class Vector: def __init__(self, arg, dimension_error=True): self.dimension_error = dimension_error if isinstance(arg, int): if arg < 1: raise ValueError('Count of Vector arguments should be m...
[ "noreply@github.com" ]
Alessandroo.noreply@github.com
c7659badb78a370e23b3aad6289e858062144c36
0226cd6ebb802b35b8884b05cc5f039d3f336614
/PJ/改数据库.py
a5feeb802c49775d6ff6348af71a942a8680131f
[]
no_license
dxcv/GDP_Alpha
95dff41644d454076e225e813ab7b9794b960fa6
84c4a96d713d33af87113ea6b4c9017688852e2b
refs/heads/master
2020-06-30T23:58:01.205292
2017-09-01T11:32:13
2017-09-01T11:32:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
import sqlite3 import pandas as pd from datetime import datetime as dt conn = sqlite3.connect('F:\project_gdp\GD.db') indexweight = pd.read_sql_query('''select * from indexweight''', conn) cur = conn.cursor() cur.execute('''truncate table indexweight''') conn.commit() indexweight.index = [dt.strptime(i, "%Y-%m-%d") for...
[ "gaoflaine@126.com" ]
gaoflaine@126.com
b2ffb0440e962e6c3a74dfd70512b6bb1f5c6c01
cd80d0937fc5dd427d9707ad7a5f4540f0f7e106
/DataCleaning_Enrichment_UFO-master/02_filter_urls.py
e57f36b618ef5b19522a96933123b21e82f8abcf
[]
no_license
akarshgoyal/CSCI-599-Content_Detection_and_Analysis_for_Big_Data
0230b6462a5247dec1b13fbc4017ad6b660f2088
2959c8a009a5352e3965c3439e94c90fb28e339c
refs/heads/master
2020-03-21T06:30:21.940633
2018-06-22T17:21:51
2018-06-22T17:21:51
138,224,874
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
# discard unsupported extensions urls = [] exts = ['jpg','jpeg', 'png', 'mp4', 'gif'] with open('https_urls.txt') as f: for url in f.readlines(): url = url.rstrip('\n') if url[-3:] in exts or url[-4:] in exts: urls.append(url+'\n') with open('filtered.txt', 'w') as f: f.writelines(u...
[ "akarsh.goyal15@gmail.com" ]
akarsh.goyal15@gmail.com
169c98b0651f851a52a867cef33257ff4c8c3043
60e1017f6dabdd6b8ca1de4168488031b384cc8f
/pyxel/editor/piano_roll.py
cd26fe833b099ed1a7087d6f797c8bb1dadffa4b
[ "MIT" ]
permissive
20-1-SKKU-OSS/2020-1-OSS-1
096dc50ab0118286d51d137382ac5252aea8da73
576b90c1e99dfde7b430546e3fd37336bc9f5d6c
refs/heads/master
2022-10-10T01:00:55.735944
2020-06-10T01:52:34
2020-06-10T01:52:34
264,388,446
1
1
MIT
2020-06-06T14:51:22
2020-05-16T08:02:43
C++
UTF-8
Python
false
false
4,861
py
import pyxel from pyxel.ui import Widget from pyxel.ui.constants import WIDGET_HOLD_TIME, WIDGET_REPEAT_TIME from .constants import ( EDITOR_IMAGE_X, EDITOR_IMAGE_Y, MAX_SOUND_LENGTH, PIANO_ROLL_BACKGROUND_COLOR, PIANO_ROLL_CURSOR_EDIT_COLOR, PIANO_ROLL_CURSOR_PLAY_COLOR, PIANO_ROLL_NOTE_CO...
[ "noreply@github.com" ]
20-1-SKKU-OSS.noreply@github.com
ce4853a2598aa548e3d6467111bf4e7918031c68
d960bbd9b47ea06f36e7b147855e635d6783d499
/contacts/models.py
339ef02e59ad8b938c75288678035da35cd177d0
[]
no_license
SaiAshish9/djangoJWT
24bbd0e1e46a3ed5936ec9add28a2eacf744b117
89a81ba18aa8ed86ee85a73bc5eed66f4bf29108
refs/heads/master
2022-12-25T05:31:59.567848
2020-10-06T12:56:00
2020-10-06T12:56:00
301,374,502
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Contact(models.Model): owner=models.ForeignKey(to=User,on_delete=models.CASCADE) country_code=models.CharField(max_length=30) first_name=models.CharField(max_length=30) last_name=models.CharField(m...
[ "saiashish3760@gmail.com" ]
saiashish3760@gmail.com
b47afc10de0259c6eb188170b7e7ba72ae0b409f
bf813d47fc6d9433cfdd181b49f2a526f48bdd1e
/wiseowl/countries/List countries.py
939598b76d3b887f7a0cc611c7205eed480f9a81
[ "MIT" ]
permissive
Chameleover/Study-repo
7493cded566b089f748330ded7624c4f11526848
ef2d0e7f5a75ff593819a0c90b3fa02720cb472b
refs/heads/master
2023-02-17T10:48:17.028460
2023-02-15T17:53:21
2023-02-15T17:53:21
89,254,993
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
import csv def get_contents_of_file(continent_name): country_list = [] try: with open(continent_name + '.csv', 'r') as file: print(continent_name) print('-' * len(continent_name)) for line in csv.reader(file): country, capital = line[0], li...
[ "wargan506@gmail.com" ]
wargan506@gmail.com
e0950e4b9bb231e66cce44df5d1f4fce0e4e826c
2ff11b4a789fbdfc716e44a6186ed96a82163440
/app.py
50d08d5ca6b59682ba983942ac8a7aff94603639
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
cdubiel08/Earnings-Calls-NLP
7493e4cae7cbf822aa0540968cd3581ddc4eedf7
8630b4246c60a574c22d440bcb1a8ee1fb985027
refs/heads/main
2023-05-31T13:06:18.450868
2023-05-09T15:48:37
2023-05-09T15:48:37
330,034,914
19
11
null
null
null
null
UTF-8
Python
false
false
11,502
py
# import necessary libraries import os import numpy as np import datetime import psycopg2 from sqlalchemy import cast, Date import csv from flask import ( Flask, render_template, jsonify, request, redirect) from flask_sqlalchemy import SQLAlchemy from sqlalchemy import func from sqlalchemy.orm im...
[ "bradhika80@gmail.com" ]
bradhika80@gmail.com
95873ca08c4d30bbbc670f9e9f7e1b71d5522737
6ef25eb3aea75a54a4b0766c87e5041dd722fa1a
/Ex11.py
4354db635e4060be57cd29b0ee6d149269d7a526
[]
no_license
Chiperi2000/Laborator-4
9f59781c66b22d754433b27e5dea303e8b55a59b
ed77c26ad5f9ed08302196fecf2889756744d180
refs/heads/master
2023-08-26T03:20:13.008014
2021-11-03T14:23:26
2021-11-03T14:23:26
422,481,654
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
#Scrieți un program care va afișa doar consoanele dintr-un text citit din consolă. text = input("Scrieti textul: ") for i in text: if i in 'aeiouAEIOU': print(' ', end='') else: print(i,end='')
[ "iulianchiperi2000@gmail.com" ]
iulianchiperi2000@gmail.com
f79ca246e8562faf491be9c5b88ba50464753ac3
c440fffb3910ddc20c65af12d1991a589e8be2f7
/2b-heredity/heredity.py
dc8df347467bbd99f728945d00ab7df6f12503d7
[]
no_license
danielzhou92/cs50ai
fb2f427e2886c57b443b98f427cc671b3a2b0d6e
eac75fccc99df22c072cfe48be4faf1b46c6023f
refs/heads/main
2023-02-24T22:20:29.912228
2021-01-28T01:13:57
2021-01-28T01:13:57
331,793,480
0
0
null
null
null
null
UTF-8
Python
false
false
8,024
py
import csv import itertools import sys PROBS = { # Unconditional probabilities for having gene "gene": { 2: 0.01, 1: 0.03, 0: 0.96 }, "trait": { # Probability of trait given two copies of gene 2: { True: 0.65, False: 0.35 }, ...
[ "64497626+danielzhou92@users.noreply.github.com" ]
64497626+danielzhou92@users.noreply.github.com
ce82682378cab4d7bab478157bc79bb70d8c3296
0495373a700a1a7de0476e12932ec695bafba921
/import_modules/__init__.py
9bff3e063aaab282ce926a4d221f06ec8320b7e2
[]
no_license
nuxeo-cps/legacy--CPSIO
6e279d68794c8e5e2b8901e10b0ff19ec6406826
b0f7bdd93ff9d9a4eb3227d4654e64fea13ccdc7
refs/heads/main
2023-01-22T22:28:20.651992
2010-12-19T19:01:41
2010-12-19T19:01:41
317,992,199
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
import CPS3Importer import CPSSkinsImporter
[ "devnull@localhost" ]
devnull@localhost
02eb1bda52ca35144612a82ee46b3b8d53d7735a
3061eb25fc2a019b7d28a689402e8a9691b812e6
/05_if.py
bce76a533f21d6c66d91e3e25ae8a37ddfdb5a4c
[ "MIT" ]
permissive
Datenschule/EinsteigerWorkshop
10ea296f0953ac8298c741a4120165deb31ac61b
2a470adab39da68ab418af475213e4a21b90f7f8
refs/heads/master
2021-01-22T09:27:24.315014
2016-07-07T23:27:19
2016-07-07T23:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Ein Rätsel wort = raw_input("Wie lautet das geheime Wort? ") # Mit == können wir zwei Werte / Variablen vergleichen if wort == "Alpaka": print("Richtig! Die geheime Wort ist {}!".format(wort)) else: print("{} ist leider falsch!".format(wort))
[ "hanno@almostintelligent.de" ]
hanno@almostintelligent.de
11b3652318123366a532aa8d94ef5e7ed5a5a75a
3309c419189ae3c98cd967e502866226731fd390
/bce/parser/molecule/ast_printer_mathml.py
f0c4b0b59579aee426b616a311f87260544139e0
[]
permissive
xiguashuiguo/bce
71ac48e552ab062593b76b5bada54e80afad5cfc
b165a11b19e5b03a6de4392ff86032847842013b
refs/heads/master
2020-03-14T06:29:52.444580
2018-02-02T23:25:40
2018-02-02T23:25:40
131,485,410
1
0
BSD-3-Clause
2018-04-29T10:32:26
2018-04-29T10:32:25
null
UTF-8
Python
false
false
14,048
py
#!/usr/bin/env python # # Copyright 2014 - 2018 The BCE Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the license.txt file. # import bce.math.constant as _math_constant import bce.parser.interface.printer as _interface_printer import bce.parser.ast...
[ "xiaojsoft@gmail.com" ]
xiaojsoft@gmail.com
563527056ef7f875e07be1964c095221e9bbf545
a7004a735b6f61cec6993147af1766bc9bbb54ef
/resources.py
d9b248088eabb7578efdcfcefdfdc5c00452fea6
[]
no_license
ValPinnaSardinia/OA_Webmap_updater
b54ac39c706faf240c351050c47dcb82992cae27
831e4bf7342a0119df140599698869490eb5f66b
refs/heads/main
2023-03-19T23:17:00.474765
2021-03-20T14:46:48
2021-03-20T14:46:48
349,748,379
0
0
null
null
null
null
UTF-8
Python
false
false
9,699
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.11.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x07\x53\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ ...
[ "noreply@github.com" ]
ValPinnaSardinia.noreply@github.com
765896b42b4ef205e8d89d9ee674c03d3cccb302
89a558631c1a5045d6bf10f2e286a7d6d4656a18
/rps_guess_games_loop.py
6008443ccaad201428082daacb824f9920937cce
[]
no_license
hackrmann/learn_python
743764efe0fdcd71d04ad4b4a60077ecd0aece90
d37c811b2359430a6448aa3bbeded756d265ef36
refs/heads/master
2020-03-26T00:36:39.569470
2019-01-19T20:49:27
2019-01-19T20:49:27
144,327,693
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
import random #guessing game # a = random.randint(0,100) # print("Let's play a guessing game! Enter a number from 1-100") # b = int(input()) # while(a!=b): # if (a>b): # print("Too low!") # else: # print("Too high!") # b = int(input()) # print("Congratulations! You guessed right!") #rock_p...
[ "thejus44@gmail.com" ]
thejus44@gmail.com
2a41304e453dedd199f13c1494a4b7b084da4cee
5a4f82c4e10e09f1b6698371d1a23de36f351260
/math/0x01-plotting/6-bars.py
15faaea9518e2516ab67b677afee498112879a6e
[]
no_license
icculp/holbertonschool-machine_learning
20a0bb730134e24504d406cf7a88b1f688e1905d
5114f884241b3406940b00450d8c71f55d5d6a70
refs/heads/main
2023-07-16T11:58:15.976074
2021-08-12T16:22:13
2021-08-12T16:22:13
317,306,604
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
#!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt np.random.seed(5) fruit = np.random.randint(0, 20, (4, 3)) t = np.arange(3) p1 = plt.bar(t, fruit[0], 0.5, color='red') p2 = plt.bar(t, fruit[1], 0.5, color='yellow', bottom=fruit[0]) p3 = plt.bar(t, fruit[2], 0.5, color='#ff8000', bottom=fruit...
[ "icculp@gmail.com" ]
icculp@gmail.com
db7491cfb2ce5b08e971b2bfe3d863c1553d758a
fb33b689b8ebd54695828dab3f9d1db074203d34
/practice/test/projectA/run_all.py
5a578320d4873ec8c3d7ab52c7bf608d168982ce
[]
no_license
takumikaka/workspace
471ab6e60d47f61ae36e4b95e8d58b0840188f65
f72946ff5f46b549dfab51a0038f05478b301490
refs/heads/master
2021-05-06T11:58:24.334256
2019-03-22T08:32:18
2019-03-22T08:32:18
113,008,406
1
0
null
2018-02-23T12:28:54
2017-12-04T07:14:00
Python
UTF-8
Python
false
false
550
py
# coding:UTF-8 -*- import unittest from config.config import * from lib.send_email import * from lib.HTMLTestReportCN import HTMLTestRunner logging.info("================================== 测试开始 ==================================") suite = unittest.defaultTestLoader.discover(test_path) with open(report_file, "wb") a...
[ "qk2006qk@163.com" ]
qk2006qk@163.com
5444ea18db1e45f5cccce52d5d1d6ab3fc4ed9c0
00d50173c5ec9ea2db108b372cae2bd6b265520a
/3_Longest_Substring_without_repeating_Chars.py
18becfb0a6ff7814831821c7d9315bee38bc1762
[]
no_license
dipmukherg/My-LeetCode-Solutions
b33bb8470de2994a22f2e925a318ecdcaeab7e21
584515c5596286f4a793082b8c57068ffc2f8be0
refs/heads/master
2021-03-31T18:20:13.116409
2020-03-18T03:03:20
2020-03-18T03:03:20
248,124,653
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
class Solution: def lengthOfLongestSubstring(self, s: str) -> int: counter = 0 start = 0 max_len = 0 lookup = set() idx=0 while idx!=len(s): #for idx,i in enumerate(s): if idx==0: counter = 1 max_len=1 ...
[ "noreply@github.com" ]
dipmukherg.noreply@github.com
90d700d4d210dd0d70bcbbb9d34d43205593f234
a628672f941279bf19ac0be838e9fe5d75e38f5c
/src/macuitest/lib/elements/ui/monitor.py
bbdccb44924b3d84058d8d8ddeafbf25423b1dae
[ "MIT" ]
permissive
andriykislitsyn/macuitest
2cfeb8ee5bb2ddad67caa36c71d58f4a48e28395
547041fcd778355dc2e9aff3bb0a80fe7ea5e26f
refs/heads/master
2023-08-26T18:55:18.497702
2021-10-15T08:25:23
2021-10-15T08:25:23
277,842,900
4
1
Apache-2.0
2020-08-25T12:41:42
2020-07-07T14:43:16
Python
UTF-8
Python
false
false
3,237
py
from pathlib import Path from typing import Optional from typing import Tuple from typing import Union import AppKit import numpy import Quartz from Foundation import NSURL from Quartz import CGDisplayBounds from Quartz import CGMainDisplayID from Quartz import CoreGraphics from macuitest.config.constants import Regi...
[ "andriykislitsyn@gmail.com" ]
andriykislitsyn@gmail.com
010eef8bba00a52ad44b28b1f4186a1236169a07
c049636b9fa7435b8023752fe1dfd88dc676ab8f
/src/assets/locales/jsonGenerator.py
f968c99022a20e02aa0f9810fc26c6f8c329618d
[]
no_license
YashIsDeep/react-i18support
bedd61a787ad7b4f7640dd444a2d6937d2de9125
6053a97b8c946bd563d6af58eeb13dc77c786eae
refs/heads/master
2022-10-23T21:41:22.155056
2020-06-16T11:53:57
2020-06-16T11:53:57
267,530,236
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
import sys import random def gen(len): alphabets="abcdefghijklmnopqrstuvwxyz" str="" for i in range(len): str=str+alphabets[random.randrange(0,26)] return str N=10000 len=5 print("{"); for i in range(N-1): randString=gen(len); print("\t\""+randString+"\":\"lg."+randString+"\",") randString=gen(len); print("...
[ "yashparth.gupta@gmail.com" ]
yashparth.gupta@gmail.com