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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
2e562c5bc2e2ac231d89eefd48aacd0e007fc83e
b2caf572fc8765e7b1a7a381e0a2a9e3bcc27788
/3.朴素贝叶斯/6_朴素贝叶斯之新浪新闻分类器_文本切割.py
2263ad772502b28d007b698a7a6fb21911080b53
[]
no_license
NaLaEur/ML_by_Python
5fe42e4d54ef7f1a9ddc92dfceb6cd3f8d716fef
5b57e52620e13f370d1d0a8e8a92b926f8e924b4
refs/heads/master
2020-04-20T05:55:58.351456
2019-02-02T14:16:17
2019-02-02T14:16:17
168,669,522
1
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
import os import jieba def TextProcessing(folder_path): # 1 查看 folder_path下的文件 folder_list = os.listdir (folder_path) # 2 训练集数据 data_list = [] class_list = [] # 3 遍历每个文件夹中的内容 for folder in folder_list: # 3.1 获取路径的新地址,以前的加现在的 new_folder_path = os.path.join (folder_path...
[ "289282571@qq.com" ]
289282571@qq.com
61121edcd06686489edcfafd1d34247f516e7ee2
0ff05247425b7d9693c74ef0a86a45abcfff4331
/com/dudu/image/matrix.py
5fd1d06d34361ce4f83d68a3ca4404a1cd18c5df
[]
no_license
duyangfan/base_numpy
e0aa6693e3fba222e1d4513e81190be99fdcaf56
53ae28bcfb0cb8ba00c7ce9c6333a56b8def211b
refs/heads/master
2023-04-14T00:10:50.227415
2021-04-25T01:25:33
2021-04-25T01:25:33
316,435,555
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #@Time : 2020/10/16 9:57 #@Author: dudu #@File : matrix.py from PIL import Image from scipy import signal import numpy as np ''' 转置 ''' def matrix_t(types): arr = np.random.randint(0,255,(429,500)) i=0 j=0 for i in range(0,429,1): for j in range(0,...
[ "599588568@qq.com" ]
599588568@qq.com
07cee0c3dcf983d18fb59617d5c31dbcd8af863c
6fb10cf0015d9f8e39bac14d9898dcbce934068c
/carts/serializers.py
be1738ed7f939e73812ee8e93d370e0e68e2a594
[]
no_license
dmarquina/Nudocord
7ae481f2dac576105e8cc1b9dee502cd9d263856
bf94f298724cde9d945cbedb523e33eda87d93dc
refs/heads/master
2021-01-17T12:49:45.267097
2016-06-14T07:19:47
2016-06-14T07:19:47
56,170,458
1
0
null
2016-06-14T07:19:47
2016-04-13T17:01:28
HTML
UTF-8
Python
false
false
358
py
from deliverplaces.models import Deliverplace from rest_framework import serializers class PlacesnameSerializer(serializers.ModelSerializer): class Meta: model = Deliverplace fields = ('id', 'name') class PlacesdateSerializer(serializers.ModelSerializer): class Meta: model = Deliver...
[ "mrdiego0892@gmail.com" ]
mrdiego0892@gmail.com
22a5082162b8e3e3900e02a08ce7e3931b946ac7
f6faeb43b394bebb2c66b270ece4a5422cece0f6
/Input.py
0a45338c9ddf096ffbf6f1a13214ef459aedce03
[]
no_license
Khun-Cho-Lwin/Programming-Basic-with-Python
a57b6445d0fdfca23017aa691208899935fcf5e7
1e8cc924143771b7737bb54ad8f04ae5b88c1e81
refs/heads/master
2022-11-13T05:56:11.881552
2020-06-29T21:58:29
2020-06-29T21:58:29
267,246,983
0
4
null
2020-06-29T08:00:57
2020-05-27T07:10:11
Python
UTF-8
Python
false
false
166
py
input1 = int(input("Please enter first number:")) input2 = int(input("Please enter second number:")) result = input1 + input2 print(input1,"+",input2,"=",result)
[ "khuncholwin.2019@gmail.com" ]
khuncholwin.2019@gmail.com
dcea085cb7842830d5dfcc959fbeb3c62d396f90
eb20c4726f3241e4cd86e9603a2b6af0f7df1154
/pocket2notion.py
1e8c02710c024a9d3b94c7b5e6e50bd1ff14c9b9
[ "MIT" ]
permissive
PrabhaSahiti/PickPocket
066065bacb0379e07cc1175a844f1861432b308d
5c10becdf57efd28063a7b70166be96c7c5fb088
refs/heads/master
2022-12-01T15:30:29.871082
2020-08-18T06:09:06
2020-08-18T06:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,084
py
from bs4 import BeautifulSoup from random import choice from uuid import uuid1 from datetime import datetime from notion.client import NotionClient from notion.collection import NotionDate PATH_POCKET_FILE = "" NOTION_TOKEN = "" NOTION_TABLE_ID = "" class PocketListItem: title = "" url = "" tags = [] ...
[ "jeffreysamjacob@gmail.com" ]
jeffreysamjacob@gmail.com
9959508f69633b29c762f2285fb116a501e0c961
1baeb727b5c8572a6e923e88deb4a59ee8d6ebca
/.metadata/.plugins/org.eclipse.core.resources/.history/37/704b143a99ba00161259f1a1b49e744f
f8c0f3a56b13a0ba016333293c1468803944edcc
[ "MIT" ]
permissive
gemoore-uw/pycog
a02e1ca2f745573e165f005b49db7f80748aeff1
f6e4015116d6ff83771518c05ade00a43f865ca5
refs/heads/master
2020-06-12T10:10:38.420800
2016-12-05T05:07:46
2016-12-05T05:07:46
75,589,943
0
0
null
null
null
null
UTF-8
Python
false
false
5,397
#! /usr/bin/env python """ Reproduce every figure in the paper from scratch. Notes ----- * Running this script in its entirety will take some time. * We run a fair number of trials to get pretty psychometric curves, and this is done in one big chunk of memory. You may need to change this to run more trials, depend...
[ "gemoore@uw.edu" ]
gemoore@uw.edu
5a4ce6f1374cd32b69c79e797f88f6f63773ad45
44d9c8e31546e781b2654056d8ad597a70e1fb1d
/problem49.py
c5a76eefee62575ecb698d2ef21535f4a287da05
[]
no_license
msg430/Project-Euler
2fbca0472127e62f9cdf931d6a029a6da51089b1
8c9bc55b639952a6681a35ac6bdc0a4f6c3dbe2b
refs/heads/master
2020-05-30T10:25:50.475807
2019-11-06T19:31:22
2019-11-06T19:31:22
189,672,251
0
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
def getPrimes(): primes = [2,3,5] for d in range(6,10000): isPrime = True for p in primes: if d % p == 0: isPrime = False break if isPrime: primes.append(d) for p in range(len(primes)): if primes[p] > 999: ...
[ "msg430@mac.com" ]
msg430@mac.com
01a356f1fac842936aef6aadf37335b90cd1c87b
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/enas_lm/src/controller.py
a737235c5997a2e2944bca765b591e48869fbeda
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
9,675
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
355eedb74edbb8dc1eb5c11bf7aef7b1b6fbb9e9
3d5a669f0878a4594893e5136849faa0915aea71
/src/ghost_eval/expe_tools.py
79c4814123de987a4cc2b387b145a45835bd3353
[]
no_license
mmoussallam/audio-sketch
6829449a8c6fd0d303a9f813664c32b8d286801f
486bc79ca3b4039f3b00665a67cf451f3d6ca367
refs/heads/master
2018-10-31T17:55:18.091308
2014-05-01T22:56:10
2014-05-01T22:56:10
7,933,802
0
1
null
null
null
null
UTF-8
Python
false
false
2,988
py
''' ghost_eval.expe_tools - Created on Dec 5, 2013 @author: M. Moussallam ''' import sys, os sys.path.append(os.environ['SKETCH_ROOT']) from src.settingup import * def learn(fgptsystem, filenames, sparsity, debug=0): """ Given a fingerprinting system (sparsifier + landmark builder) analyse all files in the ...
[ "manuel.moussallam@gmail.com" ]
manuel.moussallam@gmail.com
604335eaf619ffd9afb91d9ace631e45d4947b06
94155211e34fbd3cea8b5c0e72b1201708d53d7c
/sharematcher.py
041fe51ade1b0a8ae1cf2e453302641793008813
[]
no_license
michmay/share-database
b317f06f6eb3f9fd0dd1620f4024be337477eab3
75465c8af49ec11eb3893d6bd0448e3021e6f3dc
refs/heads/master
2021-01-20T22:10:08.091586
2016-06-30T08:58:59
2016-06-30T08:58:59
62,284,444
0
0
null
2016-07-02T00:17:52
2016-06-30T06:14:15
Python
UTF-8
Python
false
false
4,211
py
import shelve import os os.chdir('C:\\python') def inshares(self): #searches each key checking if it contains the stock sharelist = shelve.open('clientshares') count = 0 for i in list(sharelist.keys()): if str(self.upper()) in sharelist[i]: ...
[ "noreply@github.com" ]
michmay.noreply@github.com
f4c540cb5a00c49f76b3c5fbaad4e403a6469b06
cb9bf719224692e9f9533b1e04f8cde526a42acc
/tutorial-7:loop_and_range.py
65e9061ed31a15aa0542e9735553c367e326d9e0
[]
no_license
CoderTag/Python
c58d619bf0d267916b0a6328403ba2641bda0283
7c0797c17d1dd4e371d2196d005152addfde122d
refs/heads/master
2022-12-28T01:17:17.624585
2020-10-05T01:17:01
2020-10-05T01:17:01
301,259,865
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
for i in range(5): print(i) #start from 1 for i in range(1,5): print(i)
[ "sarkar.kaushik.2000@gmail.com" ]
sarkar.kaushik.2000@gmail.com
f55b9299cbeb66e8bcb5b38ff0bd71c23a83a6ba
c546d31ff026a4b4b31cbd8cac15e148a58a21ef
/genomic_neuralnet/common/in_temp_dir.py
e1e0a5022b3c5604a55afa6b265af185c4c44bc5
[ "MIT" ]
permissive
yzare/genomic-neuralnet
fbc48e2e08711f6503a8e39f393aa876fef584cf
67ed4f55dc8d5fefb1d9e3a9fc920a0b643fe9c9
refs/heads/master
2020-04-01T02:31:58.463382
2016-10-30T19:43:56
2016-10-30T19:43:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from __future__ import print_function from functools import wraps import os import shutil from tempfile import mkdtemp def in_temp_dir(func): """ Run a function inside of a temp directory w/ automatic cleanup """ @wraps(func) def wrapped_func(*args, **kwargs): try: temp_dir = mkdtemp('....
[ "mcdori02@luther.edu" ]
mcdori02@luther.edu
e122bb3d3368c573a15280ed853fb491d887ace3
9202070d54abdaf08ae168fd24746a67cca7e143
/Domain/reservations.py
88f776274c924db6c120a864fd110ca5004b952d
[]
no_license
NataliaPAS/Hotel_Management_Project
942ca89cd26e5b5f227b7879348fbcbf1da958b4
7877d7abed3f5704597de31bdea356ffb2d6034b
refs/heads/main
2023-04-11T18:13:43.592571
2021-04-15T16:23:51
2021-04-15T16:23:51
356,899,939
0
0
null
2021-04-11T15:26:29
2021-04-11T15:07:45
null
UTF-8
Python
false
false
818
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, ForeignKey, Date from Domain.clients import Client from Domain.rooms import Rooms Base = declarative_base() class Reservations(Base): __tablename__ = "reservations" reservation_id = Column(Integer, primary_key=Tru...
[ "natalia.pasare@gmail.com" ]
natalia.pasare@gmail.com
0a0cd400dfd3fd9f0fb209fc40db6e334d6e89f5
9e4c1ab15df780194de08edeb68faa2054754a6d
/project/axf/app/apps.py
dd0d07dca0351f3cd6ef70c3b7f4922c8189a19d
[]
no_license
lywade123456/axf
5a8a4d449b82f4a8c01cc04cbd31080f61bde343
3c5dfdc5dcb4c3b6d3d02f45be9663078741ea84
refs/heads/master
2020-05-20T12:48:54.309577
2018-05-16T08:50:48
2018-05-16T08:50:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class UauthConfig(AppConfig): name = 'app'
[ "1192567449@qq.com" ]
1192567449@qq.com
b4a8e037ef1b4853caa44d3efe1a1766cf25fc40
30764d288385e3f232e0f0d6fcaf1f43dde35d91
/lesson3/4.py
dc7ed131ac79986f4235078f2df1736d259f1ea0
[]
no_license
MaksimVlasenko2006/git_python
e9f21eab8a22ac55e728070954cad4d18babc426
7bad099f545f8e69d87c7a6cef061650eb5bfe50
refs/heads/main
2023-08-20T15:10:54.450056
2021-10-12T14:18:14
2021-10-12T14:18:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
p=1 for y in range(1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000): y+=1 p*=y print("y=",y,"p=",p)
[ "maksim.vlasenok@gmail.com" ]
maksim.vlasenok@gmail.com
aee4ca93a1ac8b33461aab3ff14b4125e1e07852
6a8cd2128dee0cb348cf09054557df052b5d30a1
/examples/ggplot/line.py
70af3d6d95ae6283771749cddbdf20e427b92e20
[]
no_license
amreenshaikh/bokeh
0304700d93909f75330ea322b8a1d604dd00edaa
81fbb8d4b9e85cfad02eb0c58f0b682a802d5dae
refs/heads/master
2021-01-15T13:23:31.171831
2014-05-07T11:31:26
2014-05-07T11:31:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from ggplot import * from bokeh import pyplot import matplotlib.pyplot as plt g = ggplot(aes(x='date', y='beef'), data=meat) + \ geom_line() g.draw() plt.title("Line ggplot-based plot in Bokeh.") pyplot.show_bokeh(plt.gcf(), filename="line.html")
[ "damianavila@gmail.com" ]
damianavila@gmail.com
bcd2c7e9609e8220daa20bb688620b26c45ef2b3
e0cbea0cb68f0ba5dba837dbe60067eb88e3d151
/BeautifulSoup/soup_env/lib/python3.6/site-packages/urllib3/util/timeout.py
601f7fc9dafaae86b17dc8da5fc0b56b5511cab2
[]
no_license
arossbrian/my_short_scripts
74fb689ac25feaffb14437496902ee1a0dcc5b60
a34923f7ecbf027d8a0704400fcfb3e71ed662fd
refs/heads/master
2023-05-24T16:45:51.050321
2023-05-11T16:20:30
2023-05-11T16:20:30
195,057,250
0
0
null
null
null
null
UTF-8
Python
false
false
10,132
py
from __future__ import absolute_import # The default socket timeout, used by httplib to indicate that no timeout was # specified by the user from socket import _GLOBAL_DEFAULT_TIMEOUT import time from ..exceptions import TimeoutStateError # A sentinel value to indicate that no timeout was specified by the u...
[ "arossbrian@gmail.com" ]
arossbrian@gmail.com
7e0f7f6ab87df090558f38fbee426d78cfdc7802
3b88944b10566a490d6e4dadf8f59b0495bcbb7f
/user.py
a095665d199f5cfe0a13f252b95896d3512048bb
[]
no_license
polisettikrishnaveni/Backend_for_Freshworks
aa9988d96b0275a0f5b728e88ffcfe06840c2ebf
baee0d42fb1b8cc5482e9f4c71a1423f8dfe0add
refs/heads/main
2023-01-22T17:07:20.683354
2020-12-01T05:50:08
2020-12-01T05:50:08
317,436,873
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
import main as x #importing the main file("main" is the name of the file I have used) as a library x.Create("krishnaveni",50) #to Create a key with key_name,value given and with no time-to-live property x.Create("polisetti",80,3000) #to create a key with key_name,value given and with time-to-live property valu...
[ "noreply@github.com" ]
polisettikrishnaveni.noreply@github.com
19f70b0e9c40ef334a81a982960c149ec1c19e55
f7dba3ef3410f62bf387dc827adb728be424b033
/es18.py
af3baeb90e6924f17eefefb80d6e863d3d1ca96d
[]
no_license
Noobly321/javascript-
60d892b64a2fda6c9b1cce04541282ff13b687bc
1f1e4399f55a83724d9d5e6cba19f3460cef68bb
refs/heads/master
2020-03-18T15:01:04.188070
2018-05-29T16:32:32
2018-05-29T16:32:32
134,881,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
# Look at A22 to read from an array import collections def dice_poker(): rolls = int(input()) answer = [] for roll in range(rolls): roll = input().split() #splits the input by spaces # sort the values alphanummerically and counts them values = sorted([x for x in collections.Counter(roll).values()]) ...
[ "noreply@github.com" ]
Noobly321.noreply@github.com
edec8b7d3661ff60282310b7940a414e207bd4f5
bba0bc795e176c33b3985e5145ecbc354f20a4ac
/app/tests/testsv2/__init__.py
ef2d79651aad785de8062c84bff480c71c167ee1
[]
no_license
Kibetchirchir/send-itv2
d134a55d8a4b5634e72137006ba43898ea1ab02b
8209729391a07d9fd573b03d94728a612e23e2e8
refs/heads/develop
2022-06-07T18:12:25.847843
2020-02-17T08:39:01
2020-02-17T08:39:01
158,283,089
0
0
null
2022-05-25T02:11:23
2018-11-19T20:04:47
Python
UTF-8
Python
false
false
1,082
py
import unittest from app import create_app from ...db_config import destroy_tables class BaseClass(unittest.TestCase): """This base class for our testcases""" def setUp(self): """Define test variables and initialize app.""" self.app = create_app("testing") self.client = self.app.test...
[ "langatchirchir@gmail.com" ]
langatchirchir@gmail.com
da1194f756c753a394e07dceba88b8c5de66dc67
ccc75588ae015a5e77759427c9b7b778678c991f
/.venv/bin/django-admin.py
b9270c0a6716b908fd65e34b4332cfbc6714a4fd
[]
no_license
will3685/NAPPY-APP
1a68b82942b9248be537cd84ee4270317232e9d5
7b7ea7b9e59b1d885217147ea250f78951ad3b87
refs/heads/master
2023-08-16T22:24:29.186147
2021-10-11T22:54:58
2021-10-11T22:54:58
415,320,044
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
#!/home/willtheard/code/will3685/UBUNTU/.venv/bin/python3 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was d...
[ "lavardwilltheard@yahoo.com" ]
lavardwilltheard@yahoo.com
9c665f2636f0506c2191a10ad99da160b277c34e
eda12fedf7db9ba55c0f5819eb0df90e9889060b
/33_Type_C_TF_acrobot_discrete/03_TF_type_bc1_acrobot_a2c_GREEN.py
340490526f43de0b81072517749f3a05058bff52
[]
no_license
RichardMinsooGo-RL-Gym/TF1_4_Reinforcement_Learning_A3C_TF_Gym
1e816ffc747367d8e40100a64f332d6406738a4a
75c88b86a2d001b67971bafb37dbfd097a59932a
refs/heads/master
2022-12-12T14:19:54.537542
2020-09-13T07:29:14
2020-09-13T07:29:14
277,669,264
3
0
null
null
null
null
UTF-8
Python
false
false
8,441
py
import os import sys import gym import pylab import numpy as np import time import tensorflow as tf env_name = "Acrobot-v1" env = gym.make(env_name) # env.seed(1) # reproducible, general Policy gradient has high variance # np.random.seed(123) # tf.set_random_seed(456) # reproducible env = env.unwrapped # get si...
[ "noreply@github.com" ]
RichardMinsooGo-RL-Gym.noreply@github.com
3a37408e6701ce8a433e048bb81c974008209282
f8caeb5b7f3e6f1d8c50dcc204dd170044b55671
/Summarize/violin_gen.py
8296781d01bba74429baba0920efd5e2b2444033
[ "MIT" ]
permissive
jgh9094/CohortLexicase
23c51d9f46fc22b81b4aea19007071ee0697194a
5179a3c0db6dcf0c2cae79fcfd08b4b919c9269d
refs/heads/master
2020-04-16T17:01:23.092772
2019-02-06T01:50:30
2019-02-06T01:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,584
py
#Will list all of the incomplete id's that need to finish running #SEED_ORIGINAL & TREATMENTS will need to be adjusted based on the problems, treatments, and seeds that the project requires. #Will also need to handle RANGE if different from the expected results! # #Input 1: file directory along with name, expecti...
[ "josexavi06@gmail.com" ]
josexavi06@gmail.com
181c1720d8cf8d3b896e53e57481503f6ebdea00
8ec1c9d30c14ec2acabb0554848b102f03d132f5
/tests/unit/common/query/test_cell_query_results_reader.py
901fd5008a67045d474fbc2a5bdcc769897ae952
[ "MIT" ]
permissive
Deepbody-me/matrix-service
abafe115c5a9d7a8fcccc3373d1b08c343138af1
ed9a23d407cce89127b8f0b662c3d2ef2e8fec77
refs/heads/master
2022-11-30T04:38:05.466495
2020-01-10T18:59:51
2020-01-10T18:59:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,975
py
import mock import unittest import pandas from matrix.common.query.cell_query_results_reader import CellQueryResultsReader class TestCellQueryResultsReader(unittest.TestCase): @mock.patch("matrix.common.query.cell_query_results_reader.CellQueryResultsReader.load_slice") @mock.patch("matrix.common.query.quer...
[ "noreply@github.com" ]
Deepbody-me.noreply@github.com
a3653df962d4ea083d29737aa7d5f6bbe3271377
408b00c1c2390ddec6fca41bfb5636130817c42b
/process_corpus.py
439a42924dbaadfa783d1569a12d62efb90fed8a
[ "MIT" ]
permissive
wang1128/email-formality-detection
eb9a375049419695eed9ec6d99f683f151cd6e6e
fec44bdf370de2ac3fe54e85c6efe0549863c2f7
refs/heads/mysql
2021-01-22T21:27:45.475266
2015-12-07T15:42:40
2015-12-07T15:42:40
85,432,555
1
0
null
2017-03-18T21:17:04
2017-03-18T21:17:04
null
UTF-8
Python
false
false
7,557
py
#!/usr/bin/env python # -*- coding: utf_8 -*- """ Dan O'Day Robert Hinh Upasita Jain Sangmi Shin Penghao Wang Purdue University CNIT499 Natural Language Technologies Main corpus processor. """ __author__ = "Dan O'Day" __copyright__ = "Copyright 2014, Dan O'Day, Purdue University" __credits__ = ["Dan O'Day", "Robert...
[ "digitaloday@gmail.com" ]
digitaloday@gmail.com
fbcf4dff0606fafa97cc778c0778a49cc9e1a8e6
8830831a87f35ff2628f379d8230928ec6b5641a
/Homedepot/code/stem2.py
3a3c13edf6434f0161556c5b49e294bd64829972
[]
no_license
nickmcadden/Kaggle
e5882c9d68a81700d8d969328d91c059a0643868
cbc5347dec90e4bf64d4dbaf28b8ffb362efc64f
refs/heads/master
2019-07-18T08:09:40.683168
2018-01-26T14:35:38
2018-01-26T14:35:38
40,735,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
import pandas as pd import numpy as np from nltk.stem.snowball import EnglishStemmer from nltk.tokenize import wordpunct_tokenize import sys import csv reload(sys) sys.setdefaultencoding('ISO-8859-1') stemmer = EnglishStemmer() print("Reading data\n") train = pd.read_csv('./input/train.csv', encoding="ISO-8859-1") ...
[ "nmcadden@globalpersonals.co.uk" ]
nmcadden@globalpersonals.co.uk
24d300f8fd9d5585af8f9d63a6ebd616f06615cd
6d4c25b19babd1de9d8fbc08d87bbf7eab47d47a
/155.min-stack.py
7844fd2c1f961fcad97622795cc0a52e7dc8667f
[]
no_license
Olament/Leetcode
ccb7474bc0ca96e813b25d84eba40ce3aba0a4a4
383fb3d59a11a6d1ad047b67292a7fafc23248b2
refs/heads/master
2020-09-03T03:16:31.765745
2019-11-26T05:10:20
2019-11-26T05:10:20
219,372,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
# # @lc app=leetcode id=155 lang=python3 # # [155] Min Stack # # @lc code=start class MinStack: def __init__(self): """ initialize your data structure here. """ self.stack = [] self.minIndex = 0 def push(self, x: int) -> None: if len(self.stack) != 0 an...
[ "i@zxguo.me" ]
i@zxguo.me
5a603e34acfb4d65cae42bbdd0c5911361c6cae4
30fae401c969adf3ddd3cd1adef972728cfafd75
/docs/source/conf.py
ba6b942ea83d631d17f2ff4e44d2011303a8e23c
[ "Apache-2.0" ]
permissive
ktbyers/nornir_utils
699c7d0236baffc593994363bedbbb16be1a8c03
6dd653e4359b03f0abcac7231134412b0fc147db
refs/heads/master
2022-11-06T05:07:36.076999
2020-05-03T12:05:56
2020-05-03T12:05:56
267,370,721
2
0
Apache-2.0
2020-05-27T16:28:10
2020-05-27T16:28:09
null
UTF-8
Python
false
false
1,983
py
import sys from typing import List sys.path.insert(0, "../") # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup --------...
[ "noreply@github.com" ]
ktbyers.noreply@github.com
b217ba63eaddc9616214a06e614c6246f5c30edf
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py
e662315f9bdfdbec34fe2249cdb69996c797c338
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,055
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "dheeru.rathor14@gmail.com" ]
dheeru.rathor14@gmail.com
a515d9e2eea2d03c7095f1a8cf8ea63c09fd61dc
396c7fdf44b663b5f7f53c82ede1128a8adb71f7
/photo-organizer.py
7c3de9eda62864b21874f8081871db0bb6c7b169
[]
no_license
RAJ66/OrganizePhoto
09058e0f4b57eb583b95b7b20331416360bbce8c
6b815d66eb91db396da17d16de22d011a7c16299
refs/heads/master
2020-07-07T18:57:37.802858
2019-08-27T13:42:34
2019-08-27T13:42:34
203,445,975
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
import os from PIL import Image from datetime import datetime import shutil # 5 class PhotoOrganizer: extensions = ['jpg', 'jpeg', 'JPG', 'JPEG'] def folderPathFromPhotoDate(self,file): date = self.photoShotingData(file) return date.strftime('%Y')+'/'+date.strftime('%Y-%m-%d') def photo...
[ "vitorbarbosa1998@hotmail.com" ]
vitorbarbosa1998@hotmail.com
4b7ad1257588f9d861614a07ee2bc059ad96ebde
b34f07d217cdda9f59e7f58f89dad17fae1ee132
/malaya_speech/model/frame.py
95fde8af773361726a61fb74e10e57b9e3e60f0e
[ "MIT" ]
permissive
Ariffleng/malaya-speech
965cea504e364c77ca513d43bf340fc122b97672
4343c409340c608a426cc6f0926fbe2c1661783e
refs/heads/master
2023-08-12T23:23:39.983006
2021-10-02T09:14:52
2021-10-02T09:14:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,386
py
import numpy as np from dataclasses import dataclass SEGMENT_PRECISION = 1e-6 class Frame: def __init__(self, array, timestamp, duration): if not isinstance(array, np.ndarray): array = np.array(array) self.array = array self.timestamp = timestamp self.duration = durati...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
56d61b52a986db759e27b224e6f9af02a912baf9
b2605c93db0c5b3dd0ac7f7cfa80674e82ff9439
/sandbox/filter-max255.py
ee9f129f2aff3855cfde263f3b5c214ef661e5e1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
adnbsr/khmer
76728708b60a5662e93b83c6559502d31b92445d
64612c1140d17c0988fa01f3c6c627913b509700
refs/heads/master
2021-01-18T13:20:23.385284
2013-08-01T21:13:42
2013-08-01T21:13:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import sys, screed.fasta, os import khmer from khmer.thread_utils import ThreadedSequenceProcessor, verbose_fastq_iter K = 32 HT_SIZE=4e9 N_HT=4 WORKER_THREADS=8 GROUPSIZE=100 ### def main(): repfile = sys.argv[1] infile = sys.argv[2] outfile = os.path.basename(infile) + '.fno255' if len(sy...
[ "titus@idyll.org" ]
titus@idyll.org
096b9871f6727145b9f830ca94e89cd862e87ea7
df49441ead1e7224742f440c9bd09fd4e043a637
/Lambda Deployment/GetReviews/get_reviews.py
c69f3551475e7de94e6fb533d4721df2e60a0517
[]
no_license
AmolMavuduru/SuperRestaurantBot
76b567704830fb06c67f9317d8883d3e42b24730
71357af33ef47016ff198afbbbf9f293067ba69f
refs/heads/master
2021-01-01T06:55:50.339603
2019-01-06T23:11:48
2019-01-06T23:11:48
97,547,970
3
3
null
null
null
null
UTF-8
Python
false
false
7,177
py
from googleplaces import GooglePlaces, types, lang import boto3 import json YOUR_API_KEY = '<insert key here>' # My private API Key is not provided here for security reasons google_places = GooglePlaces(YOUR_API_KEY) def lambda_handler(event, context): slots = event['currentIntent']['slots'] location = slot...
[ "rovingrook09@yahoo.com" ]
rovingrook09@yahoo.com
8edbb85fa816b4531504f71141e248419a278ba9
7e401f3da2f8e7c65cfd374d9f434687cd5eb950
/src/dispatch/logging.py
350b0b383cbd05534482d9ce856bb70cded629e4
[ "Apache-2.0" ]
permissive
stefanm8/dispatch
75b6b099b495440af9c720e83d58018591a40a24
a7fe52f870a5deec8a161ca7395ca869aaf8f2c9
refs/heads/master
2021-08-05T03:54:02.473395
2021-08-02T15:54:28
2021-08-02T15:54:28
248,351,389
2
0
Apache-2.0
2020-03-18T21:54:25
2020-03-18T21:54:24
null
UTF-8
Python
false
false
409
py
import logging from dispatch.config import LOG_LEVEL def configure_logging(): if LOG_LEVEL == "DEBUG": # log level:logged message:full module path:function invoked:line number of logging call LOGFORMAT = "%(levelname)s:%(message)s:%(pathname)s:%(funcName)s:%(lineno)d" logging.basicConfig(l...
[ "kglisson@netflix.com" ]
kglisson@netflix.com
8d3090c08f5639721c316747bfd207a1fdaa128e
7019b48eee182b5a592a0f13d2e9b764613c0ded
/deblurring/MPRNet.py
eb24ab75979fbd5f15a5602b678e7a3d0d4f6e44
[]
no_license
claragarciamoll/Super-Resolution
0a14e6cfdce547e6d706f7dd05dc4fa33943bc1c
bcf0407b3e7199080893ec5660bd3de554faaaab
refs/heads/main
2023-08-25T03:26:49.350297
2021-10-25T11:51:00
2021-10-25T11:51:00
419,435,264
1
0
null
null
null
null
UTF-8
Python
false
false
15,910
py
""" ## Multi-Stage Progressive Image Restoration ## Syed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, Ming-Hsuan Yang, and Ling Shao ## https://arxiv.org/abs/2102.02808 """ import torch import torch.nn as nn import torch.nn.functional as F from pdb import set_trace as stx ##############...
[ "claragarcia@MacBook-Pro-de-Clara.local" ]
claragarcia@MacBook-Pro-de-Clara.local
e4ff6115024035a576ffcb2759f1ae5b8b9b6f6c
cb945ba66906b930f773835ff77530208f5205a6
/Codewars/6 kyu/Sum of Digits_Digital Root.py
cd4f542bde2ef40462172ea8194848de16064976
[]
no_license
Tchomasek/Codewars
a2f63ca088f53a5747763840abd66dcfb5917641
015f4797fd550327a8aec11abfbc88b51bd0aaac
refs/heads/master
2021-06-13T04:35:03.957272
2020-08-31T18:09:01
2020-08-31T18:09:01
254,423,329
1
0
null
null
null
null
UTF-8
Python
false
false
215
py
def digital_root(n): while True: if n > 9: n_str=str(n) n=0 for num in n_str: n+=int(num) else: return n print(digital_root(456))
[ "46090576+Tchomasek@users.noreply.github.com" ]
46090576+Tchomasek@users.noreply.github.com
97d23fdb9293035257f2b63f7223884d29f25b32
3034e86347c71bf7e7af9e5f7aa44ab5ad61e14b
/mongodb/day04/grid.py
6a756f9c08f808f46ec135295e3d86b64827d34a
[]
no_license
jason12360/AID1803
bda039b82f43d6609aa8028b0d9598f2037c23d5
f0c54a3a2f06881b3523fba7501ab085cceae75d
refs/heads/master
2020-03-17T00:43:42.541761
2018-06-29T10:07:44
2018-06-29T10:07:44
133,127,628
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
#用来获取数据库中gridfs存储文件 from pymongo import MongoClient #和pymongo绑定的 import gridfs conn = MongoClient('localhost',27017) db = conn.get_database('grid') #获取gridfs对象 fs = gridfs.GridFS(db) files = fs.find() for file in files: if file.filename =='./生日快乐歌.mp3': with open(file.filename,'wb') as f: while True: #file....
[ "370828117@qq.com" ]
370828117@qq.com
55ac847e9dceee23fc10cf00d7684b8f264007bd
6d16118f6a0aa2113a570261f2912c18117472ad
/app.py
31a7154a2633c812f65e4b70f7bc61d79d126f84
[]
no_license
elCaxper2/repo1
50738f1b2c8f374255c3cbd598095bbd37e5ee7f
830a662a2ed4b04669f10e52acdcdd838ca0cbdb
refs/heads/master
2020-09-24T06:30:25.957337
2019-12-04T01:03:39
2019-12-04T01:03:39
225,688,425
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from flask import Flask from flask import render_template app = Flask(__name__) @app.route('/') def hello(): return "Hello World!" @app.route("/template") def index(): return render_template("index.html") @app.route("/about") def about(): return "<h1 style='color: red;'>GGPR WEB IN DOCKER!</h1>" @a...
[ "gplaza@gmv.com" ]
gplaza@gmv.com
68190c6ba1e1051a720ec7e4063c40f1e6245e1e
5bba6d90b3c393c43d26d66a84cb446ecdb9f58a
/tools/__init__.py
36dee53ee5a63665e4bf0fb3ab7d8d61238fb03b
[]
no_license
xxftop1/interfaceDemo
794cd5ada71838c874d1ee53a37df0da563e26ef
972d7fef826453a6d2fb735be0842bb3d037bdc9
refs/heads/master
2023-01-03T18:13:19.532756
2020-10-28T14:30:19
2020-10-28T14:30:19
308,042,534
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @FileName :__init__.py.py # @Time :2020/10/26 21:36 # @Author :xxf
[ "13842855651@163.com" ]
13842855651@163.com
5da559408f83dcb63e49ca6efcd79cb43fd97b44
649150d2a78841991d6c6b5bb38201dc9f168775
/machine_learning_with_python/regression4.py
cf3c2e5b8797a1c6d2e2431051a37b7af19eb5fd
[ "Apache-2.0" ]
permissive
universityofprofessorex/machine-learning-with-python
86e05fe209402af14cf54b00bfa98970e8c0732b
88cf5951ccb6ef4ee7a6e0f818b67bb82984aff8
refs/heads/main
2023-07-14T06:56:09.885003
2021-08-29T00:49:19
2021-08-29T00:49:19
400,615,507
0
0
Apache-2.0
2021-08-29T02:03:22
2021-08-27T19:26:48
Python
UTF-8
Python
false
false
4,550
py
import math import os import time # import Quandl import pathlib import pandas as pd import pyarrow.parquet as pq from machine_learning_with_python.utils.file_functions import get_dataframe_from_csv # deprecated: cross validation is used for splitting up data sets # svm = support vector machine. svm is able to perfor...
[ "bossjones@theblacktonystark.com" ]
bossjones@theblacktonystark.com
f88ae87863b688f952fb45af536df47b94e1c31b
4cc416ae03f85752fce81ac9a29ffdc112ff7e75
/Experiment/timeDuration.py
cf13daf9ee0d28823021f9882a62ce8dbb676000
[]
no_license
GuiMarion/BenchmarkSourceSeparation
3c492603cb248282c2d62cb0df39bd9c0255eb61
284905eff8e23568482c6aca66acee93725e5841
refs/heads/master
2020-04-21T01:34:54.275688
2019-02-12T16:55:25
2019-02-12T16:55:25
169,228,284
0
1
null
2019-02-12T12:14:59
2019-02-05T11:11:43
Python
UTF-8
Python
false
false
1,731
py
import datetime from optparse import OptionParser def getTime(n, K, k2, k3, k4, k5=0): return n*(4*k2 + 8*k4 + 4*k3 + 16 * K) + (n-1)*k5 if __name__ == "__main__": usage = "usage: %prog [options] <path to database>" parser = OptionParser(usage) parser.add_option("-n", "--mixtures", type="int", help="Num...
[ "33119610+GuiMarion@users.noreply.github.com" ]
33119610+GuiMarion@users.noreply.github.com
47ea5536fef76e148509268ae8ba25d0729005a2
641de482cd30b7de00a711fcc078a72862117b90
/apps/task/models.py
69c6674ea24c5c578bf64a71a4ac52e2755d8029
[]
no_license
SamBarFu/To-doList
9c27a9947e2e0dd8d4c80990e24e72c876a7a3ea
a0e60609e154ba51e4e68decb452dddc2a460254
refs/heads/master
2021-02-17T02:42:49.730187
2020-03-31T23:53:26
2020-03-31T23:53:26
245,064,433
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
from django.db import models from django.contrib.auth.models import User from datetime import date # Create your models here. class Task(models.Model): STATE = ( ('C','Completed'), ('NC', 'Not Completed') ) user = models.ForeignKey(User, on_delete=models.CASCADE) name_task = models.C...
[ "samuelbarberena12@gmail.com" ]
samuelbarberena12@gmail.com
82ed4678d079a7b15ccaa434b5e7277f38ab356a
4d77f3da849bed4846b2517b387aad94bb09992b
/myThesis/evFleet/fleetEnv.py
7ec548e9f76da4324fe1e4fd12492b1dee91d64e
[]
no_license
Gwiradus/myRepository
dc7d5caac5fac4ce00a0c6e7f756d3f70e9aee97
3303ecc45bcbbaeb69832a19266e5c0c9e514ff3
refs/heads/master
2020-09-21T17:23:31.795583
2020-04-19T15:58:36
2020-04-19T15:58:36
224,864,445
1
0
null
null
null
null
UTF-8
Python
false
false
6,377
py
"""Environment - EV Fleet Model""" import numpy as np from scipy.stats import truncnorm np.random.seed(0) class FleetEnvironment: """Implements the environment for the EV Fleet problem.""" def __init__(self, ev_number, t_opening_hours=(7.0, 18.0), ad_means_sd=(8, 17, 1.5), charging_power=3.3): """In...
[ "51299865+Gwiradus@users.noreply.github.com" ]
51299865+Gwiradus@users.noreply.github.com
701069f9258cad782bf153ae6b3f47942bb0fb9c
3dbdc06187995ecb99ca48e8707d7942b7fc21d4
/examples/ttgo/axp202_adc_brightness.py
bfab1298869ed1be3868627a5d9dca72a1a625b9
[ "MIT" ]
permissive
y0no/lilygo-ttgo-twatch-2020-micropython
1ab0725c15088e9a798402c80f3cd428724f8d57
de1fff5d8c1335f7d42c16bafb0d5e083c17c222
refs/heads/master
2022-12-04T12:00:28.549254
2020-08-30T19:54:47
2020-08-30T19:54:47
289,098,460
2
0
MIT
2020-08-20T19:59:02
2020-08-20T19:59:01
null
UTF-8
Python
false
false
2,364
py
import lvgl as lv import ttgo from axp_constants import * watch = ttgo.Watch() tft = watch.tft power = watch.pmu def init(): power.adc1Enable(AXP202_VBUS_VOL_ADC1 | AXP202_VBUS_CUR_ADC1 | AXP202_BATT_CUR_ADC1 | AXP202_BATT_VOL_ADC1, True) watch.lvgl_begin() def in...
[ "29470622+ophoperhpo@users.noreply.github.com" ]
29470622+ophoperhpo@users.noreply.github.com
2b2ea73e64b32ed92d82f2014115fdb21cf15ae7
a437e573fc086b4181b682f3666acb9da5daa59a
/longest_substring/144ms.py
ebe15691f7068908dd58e2a1095d7303f476c00d
[]
no_license
rghv404/leet_code
aa0d2ad1158f13de3dbcde2e6a0d52cbfa17581c
1a961afb22f482e6b920256fa5d14154e5e1a940
refs/heads/master
2021-06-29T05:27:16.932772
2020-10-12T15:42:04
2020-10-12T15:42:04
167,116,493
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
class Solution: def lengthOfLongestSubstring(self, s): """ :type s: str :rtype: int """ sub_count = 0 n = len(s) a = set() i = 0; j = 0 if len(s) == 1: return len(s) while i < n and j < n: if s[j] not in a: ...
[ "rghu_93@hotmail.com" ]
rghu_93@hotmail.com
a783bdb2cbac71f57900c83b05288050df71ca1a
a161999b8a9009b6bf961288b68d651541882f2d
/process_news.py
e653f8d7622888988beeeccb4c26faee2e2b6d09
[]
no_license
kkb-Projects/P1-news-summarization
788896460aa11712812a86eaf7c7c066c5028d0b
85122968d92b84741fd2fa8dbb81410e807c7eac
refs/heads/master
2021-01-09T14:39:09.941508
2020-03-19T02:44:17
2020-03-19T02:44:17
242,340,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
# -*- coding:utf8 -*- # author:yaolinxia # datetime:2020/3/11 # software: PyCharm import random import re import pandas as pd from collections import Counter import jieba from functools import reduce """ 汉语新闻语料库处理 """ def token(string): # we will learn the regular expression next course. return re.findall('\w+...
[ "18860976931@163.com" ]
18860976931@163.com
27bd8867afe8e9922cc0d962845a763b2d8d2c36
5a4daf245b2d2a124023c2a9ea1d37ad73a44fb3
/RefStep.py
d99fe9362f9fbeadab9ba3aa4cf3a6de805c2167
[]
no_license
AtillaTheFun/RefStep
9d2bbdc4ce13bdc2ddf43d01fff3f2b979a24cd6
ec9c493326b6e77606e0fc961ce4ab42db58b5db
refs/heads/master
2021-09-12T09:56:54.621271
2018-04-16T04:28:24
2018-04-16T04:28:24
114,570,629
0
0
null
null
null
null
UTF-8
Python
false
false
38,536
py
""" Main thread for controlling the buttons of the ref-step algorithm. Information is collected here and sent to other objects for handling. """ import wx, wx.html from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg from ...
[ "HamishGibb@ihug.co.nz" ]
HamishGibb@ihug.co.nz
0941d9add42c709ce40745c1df7036b78044b5fb
08bac92b1741c0b2e106935bab47ff65b309123c
/0x0B-python-input_output/8-load_from_json_file.py
aee2a9dbcc538407ae1ce39d4af4c0c30fd1af7a
[]
no_license
RoMalms10/holbertonschool-higher_level_programming
5702dbcc17156b66b472df79eddb55baac2613aa
aebff20e55c7fe07e9e3fb1ff33dd65d17d8ee1f
refs/heads/master
2021-09-14T10:10:56.680309
2018-05-11T17:59:40
2018-05-11T17:59:40
113,100,806
0
1
null
null
null
null
UTF-8
Python
false
false
317
py
#!/usr/bin/python3 """ My Module for converting from JSON to Python """ import json def load_from_json_file(filename): """ Load JSON into Python Object from a file Args: filename (str): filename to read from """ with open(filename, "r", encoding="UTF-8") as f: return(json.load(f))
[ "156@holbertonschool.com" ]
156@holbertonschool.com
54a555871897be0c8edfc959c7d6677b4d5b256e
8245a3702d11d0c4fdf1073a873803b8b8463306
/pymclevel/items.py
0683f5dfed314e85a6d71a3d944e2dbe72e09d14
[ "ISC", "LicenseRef-scancode-unknown-license-reference" ]
permissive
conicalflask/minecraft.print
5cb7fa6c9c7498a3939d9789af2c317d4718a657
ec2e8d1c376da131e71b1514c622d21731754800
refs/heads/master
2021-01-18T07:25:04.596718
2012-02-17T10:48:01
2012-02-17T10:48:01
3,468,987
0
0
null
null
null
null
UTF-8
Python
false
false
15,154
py
items_txt = """ :version 18 # Blocks # ID NAME FILE CORDS DAMAGE 1 Stone terrain.png 1,0 2 Grass terrain.png 3,0 3 Dirt terrain.png 2,0 4 Cobblestone terrain.png 0,1 5 Wooden_Planks ...
[ "codysumter@gmail.com" ]
codysumter@gmail.com
e6c5af9fa763a645f25924e9752c8bc791ce93e8
f7a45dae004686c3a5f40c838986b10b869b5ed4
/vnpy/trader/constant.py
4d81760fdc4f5e2259460a8b77ab4a4e2d55bfe3
[ "MIT" ]
permissive
ralex1975/vnpy2.1.3
31da87527136be3a7dc8b4ce03bc52d00b9f811d
728f9bf5baa304e13fd8c344c106b5eea82f9b49
refs/heads/master
2022-11-12T03:16:54.600977
2020-07-02T08:49:12
2020-07-02T08:49:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,773
py
""" General constant string used in VN Trader. """ from enum import Enum class Direction(Enum): """ Direction of order/trade/position. """ LONG = "多" SHORT = "空" NET = "净" class Offset(Enum): """ Offset of order/trade. """ NONE = "" OPEN = "开" CLOSE = "平" CLOSETO...
[ "53517184+AITrading2020@users.noreply.github.com" ]
53517184+AITrading2020@users.noreply.github.com
d909b0ffaf5b5eea94ac25fcc48980690ad3d34b
255e3561a1b06e870ad99f17cd77af0e793db003
/get_img.py
a904e9818e77a765fb825384de2cb4cf85bad60c
[]
no_license
dtowstar/flask-vue-crub
2bb423ee92efe1a3e7774ce54ca85f49fe6ed29b
662699e3f8f942fce3b798ebd0c11a1456df1686
refs/heads/master
2022-12-26T13:55:45.740048
2019-06-17T14:34:02
2019-06-17T14:34:02
183,728,645
4
9
null
2022-12-09T21:39:21
2019-04-27T04:37:55
Python
UTF-8
Python
false
false
723
py
from bs4 import BeautifulSoup import requests import shutil def save_img(url): # url: https://tixcraft.com/activity/detail/19_ERIC' img_src = get_img_src(url) if(img_src == ""): return img_src else: res = requests.get(img_src, stream=True) if res.status_code == 200: ...
[ "kenca16358@gmail.com" ]
kenca16358@gmail.com
a4d7ea1a9844d84ee9f32f7a4f49aa8dd0e16d96
f1c7e33a41d3ac5876bf02bd192f05d47e6385b9
/static/libs/PigeonDataCrawler/bin/flask
a57f7f2df89556abc790c36346a4c62435a403e6
[]
no_license
ro1963855/pigeon_racing
424e0343fbc948398935f2d1fbab6e4676b50931
f9fd0483faeefaebbdd709dd1b6cd904e5c4b6a1
refs/heads/master
2021-01-02T08:44:40.074193
2017-09-07T01:38:05
2017-09-07T01:38:05
99,059,499
0
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/dandy/pigeon_racing/static/libs/PigeonDataCrawler/bin/python2 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ro1963855@gmail.com" ]
ro1963855@gmail.com
93c7727d6a7ad4e295b49329ba5f87a0195089d5
f3a22cc6b2db1af61f478721b1faf933ce2bf9cd
/migrations/versions/89d7c991271c_.py
d85a675e1ba4ac0f58bdc440e1f289241985685e
[]
no_license
soumya707/wishnet-in
712897b08bf9616c9fd6efa660e0ea47053d8c2e
87802ca93e003ee376e50461fe4fb8af197a69a7
refs/heads/master
2020-12-30T06:09:18.957667
2020-01-28T20:36:55
2020-01-28T20:36:55
238,886,212
0
1
null
null
null
null
UTF-8
Python
false
false
2,122
py
"""empty message Revision ID: 89d7c991271c Revises: 801012041cf3 Create Date: 2019-09-08 13:17:46.299705 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '89d7c991271c' down_revision = '801012041cf3' branch_labels = None depe...
[ "synchonmandal@gmail.com" ]
synchonmandal@gmail.com
46abac533c1ec9a572a565d59cc930bd692ad94d
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L66/66-77_MD_NVT_rerun/set_7.py
9c5ad84b39e109861815092ca2f3a6a6735a91e4
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L66/MD_NVT_rerun/ti_one-step/66_77/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_7.in' temp_pbs = filesdir + 'temp_7.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
a9cad12e0ab2aaafb4dab18f953262b068081272
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_taps_operations.py
aa759ad03ff8ad071e1733e6df02900161dfbadb
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
29,365
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
6be5f68a574383e5d0e1d0d97d99a5a031b8915e
360fd4e74f752dca1e915cde7d7638e51d8e27ee
/problem51.py
2b700a0a061b24a4847d6f396cfbdca546b1f4be
[]
no_license
dsimpson1980/project_euler
69718e516038093a34f7f0d0e9d9dc213d658bdc
d71c4739af41846a2821b568730c99271cb26eee
refs/heads/master
2021-01-10T12:22:19.511550
2015-09-16T18:08:22
2015-09-16T18:08:22
36,770,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
"""Prime digit replacements Problem 51 By replacing the 1st digit of the 2-digit number *3, it turns out that six of the nine possible values: 13, 23, 43, 53, 73, and 83, are all prime. By replacing the 3rd and 4th digits of 56**3 with the same digit, this 5-digit number is the first example having seven primes among ...
[ "mapdes@gmail.com" ]
mapdes@gmail.com
96fd673efea8bb48c5c92814a44410aaf13922cf
f1684396de5fc1a69259231a7103b42518db59fe
/allennlp/tango/step.py
b2f41ff3fb90fb09056898c92e24470bc2510715
[ "Apache-2.0" ]
permissive
vikigenius/allennlp
8eb3dad8aad4e8b0d40235cf8092bec2c25e92d9
3552842f4a804529ec221201bf8dd9163434bc13
refs/heads/main
2021-12-19T11:39:58.639380
2021-12-17T23:24:43
2021-12-17T23:24:43
193,206,207
0
0
Apache-2.0
2021-12-16T13:04:31
2019-06-22T07:39:12
Python
UTF-8
Python
false
false
28,977
py
""" *AllenNLP Tango is an experimental API and parts of it might change or disappear every time we release a new version.* """ import collections import copy import itertools import json import logging import random import re import weakref from abc import abstractmethod from os import PathLike from pathlib import Path...
[ "noreply@github.com" ]
vikigenius.noreply@github.com
dab70b08223dede2f62d09b88702580110fcf525
67704c864ca56d836dd4090e42b97abe515972d7
/test_shelf.py
85787a86405dc6673a4186fc311cb3e0899180d6
[]
no_license
KirillGu/Test_YaD_shelf
7aef1b91ce1a836daef631b77f87620e72ccbb0c
50b55c81f242504ee364090c51f45cba3fe2d980
refs/heads/master
2023-03-19T19:26:58.993684
2021-03-21T16:42:11
2021-03-21T16:42:11
350,057,715
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
import unittest from shelf import add_new_doc, delete_doc class DocuTests(unittest.TestCase): def test_ap(self): self.assertEqual(add_new_doc('11', 'doc', 'kirill', '3'), '3') def test_del(self): self.assertEqual(delete_doc('11-2'), ('11-2', True)) if __name__ == "__main__": unittest.main()
[ "kirillgusev@MacBook-Air-Kirill.local" ]
kirillgusev@MacBook-Air-Kirill.local
4604889cb01d7545f85b808794374af3ef1f3966
14a913fce4b538b22f28409645cd6abe3455808f
/iam/api-client/grantable_roles_test.py
87af3564b9305be6d29d1725a407034abf8131c5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
iamLoi/Python-Random-Number-Generator
8da7dbd37cb13a01232c8ed49b9df35a99c63d73
7579e8b15130802aaf519979e475c6c75c403eda
refs/heads/master
2022-08-29T19:05:32.649931
2019-09-14T14:48:58
2019-09-14T14:48:58
208,454,877
2
1
Apache-2.0
2022-08-05T21:57:49
2019-09-14T14:51:05
Python
UTF-8
Python
false
false
897
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "andrew.gorcester@gmail.com" ]
andrew.gorcester@gmail.com
6a1d676cb150a7d20d5e2d342ee5fe1d9c7d53cc
b944843f0bf3105fa8ee62186b25bc2ff2102a5b
/base64_encrypter_main.py
4654fa9cc8bb7cc94ff1859a9ad96c1b9e8060af
[]
no_license
tame12/Base64-encoding
46b2e22993142f9608977d4c3acbde191f434661
1b68b60c9d390967b1f2f6a8e1ef2968612df4a0
refs/heads/master
2021-01-24T20:14:12.099794
2018-02-28T08:06:45
2018-02-28T08:06:45
123,246,495
0
0
null
null
null
null
UTF-8
Python
false
false
2,953
py
list_64 = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z', 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', '0','1','2','3','4','5','6','7','8','9', '+','/'] list_ASCII = [N...
[ "noreply@github.com" ]
tame12.noreply@github.com
b4f598bb7e606e584899aaf66f8c72decb8fa123
c60c071bc5cf72917883cddbcb5b6a42b6e71f2b
/ja_craiglist_djo/manage.py
36d599e26d9d291d582787680bf01232cfa9b030
[]
no_license
CyborgVillager/ja-django-git
bbf17927c8b2d3e774dc4d3bc363f96f3ec49216
7755d5996f91ecb5014ae720a4212b44a2e863ef
refs/heads/master
2020-09-25T19:41:34.297549
2019-12-05T16:18:09
2019-12-05T16:18:09
226,074,493
0
0
null
2019-12-05T16:07:51
2019-12-05T10:20:53
Python
UTF-8
Python
false
false
548
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ja_craiglist_djo.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Dja...
[ "almawijonathan@gmail.com" ]
almawijonathan@gmail.com
c0e3f33560d87b12dfd4c8a1b7dbed40257625b5
01c33443db4c4ac74087d220a2a3a6967ee3930f
/ccxt/async_support/bitflyer.py
3aec9da4036433720f813bbe283bea39e187d4cb
[]
no_license
arques-changhwan/ccxt
74de1790ab2e2cc07fa55f418817c988b3af6a28
ac26599695af742aaffc16a8fd4dda4f8cb63588
refs/heads/master
2022-09-05T11:31:35.903127
2020-05-26T06:36:33
2020-05-26T06:36:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,801
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.async_support.base.exchange import Exchange from ccxt.base.errors import ExchangeError from ccxt.base.errors import ArgumentsRequ...
[ "insukim@arques.com" ]
insukim@arques.com
ac242bd9428a8e8c909b8ceebdba6c1129a468c2
f2673cd07770dca1bc5017341e8293aebbfd66c7
/models/attention/encoders/pyramidal_blstm_encoder.py
fc78e88348e5a7cb29ead0d799c4e24a19c25a9f
[ "MIT" ]
permissive
xiao2mo/tensorflow_end2end_speech_recognition
52d2c8d32b2f6e9f9f11dfaf8ddf434da16ff2ea
9b4bdcacd9d73c3db19205b74f4d48419584834d
refs/heads/master
2020-06-03T04:54:34.127500
2017-06-12T02:47:51
2017-06-12T02:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Pyramidal Bidirectional LSTM Encoder class.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from .encoder_base import EncoderOutput, EncoderBase class PyramidalBLSTMEncoder(Enco...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
152553eda650901c21d5c57c5c78ebcc75106dfa
0b16b44e4fc8c98c9ea3f9d4b8b470f4f62f918d
/Core/migrations/0002_auto_20201101_2120.py
26e849d4a31082849e63d44fac1fcb8360cb5f66
[]
no_license
AthifSaheer/DipakNiroula-Django-Ecom
342eece90211fe80c41ba72bf69a50e63c5ea901
94ead608919c5bb076387e26f396e6c38319433e
refs/heads/main
2023-02-05T06:52:24.204206
2020-12-24T13:19:13
2020-12-24T13:19:13
324,160,212
3
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# Generated by Django 2.2.14 on 2020-11-01 15:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('Core', '0001_initial'),...
[ "liteboook@gmail.com" ]
liteboook@gmail.com
c36fdb2b62304120a4bc8ff3d374431f09ba3ad6
fa35e8857e1fb8782d044bc3bca9de5df2eccb34
/src/pyconversations/reader/chan.py
7d02dae1585920faea89135df2f842aa2e3ed70b
[ "MIT" ]
permissive
hunter-heidenreich/pyconversations
6c602414bce7a1e68dbed19197161fe431aa9593
62d69bf8b2609926566cb87ba8de17f38a19269a
refs/heads/master
2023-07-13T13:19:07.972226
2021-08-23T21:13:53
2021-08-23T21:13:53
342,770,039
0
1
MIT
2021-08-23T21:13:54
2021-02-27T04:27:49
Python
UTF-8
Python
false
false
1,882
py
import json from glob import glob from tqdm import tqdm from ..convo import Conversation from ..message import ChanPost from .base import BaseReader class ChanReader(BaseReader): """ Reader class for reading and converting raw 4chan data """ @staticmethod def read(path_pattern, ld=True): ...
[ "hunter.scott.heidenreich@gmailcom" ]
hunter.scott.heidenreich@gmailcom
2104a8dfb0c25a65f48367f59a2c39e31fa10ca8
9e779ba1d3c8db305a3bda2adf03aec6eea80810
/adsilib/__init__.py
cc2526c6aee1c7983d65662aaeab911becfe19ff
[ "MIT" ]
permissive
atsiaras/adsilib
e70d213802f81cec74cc3c77f8d3dd8551db41f3
0408baab937812bb0862f6186ad936806fe670a4
refs/heads/master
2021-04-07T00:39:38.267838
2019-01-24T16:56:49
2019-01-24T16:56:49
125,230,883
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function __version__ = '2.0.0' from .__run__ import run_app from .build_my_library import * def __get_abspath__(): import os return os.path.abspath(os.path.dirname(__file__))
[ "aggelostsiaras@gmail.com" ]
aggelostsiaras@gmail.com
1fd66354281cf71c1dfef3890a6dce31375494ca
670a3b0a986a954f9ad0686073e548dc64c57207
/day1/asgi.py
ff5540b08dda38a9f9b2828df6f502d496ab73f7
[]
no_license
udaykiran96186/first-git
d7d4967cc984b153003ef8a59fd3f73483523b98
eeaf9c548f05785d6b513ce96883a5029c66095a
refs/heads/master
2023-08-30T10:57:14.741397
2021-11-16T16:00:03
2021-11-16T16:00:03
428,311,600
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" ASGI config for day1 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "udaykiran96186@gmail.com" ]
udaykiran96186@gmail.com
009e53c59746e5e95ef1681b709b7a2b28c2339c
267aafa3826d216f70a0197369c334bc542aee40
/setup.py
a4b523deefdb6153c1331d6b30709c5c10b95b35
[]
no_license
research-core/core-orders
7ccc199e6b89e6cd86affd4d8e5bab4fe845589b
37566b742b1423d30f9dc8e67641d828dc22e4a6
refs/heads/master
2020-06-29T02:37:00.250110
2019-08-26T17:10:48
2019-08-26T17:10:48
200,413,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
#!/usr/bin/python # -*- coding: utf-8 -*- import re from setuptools import setup, find_packages version, license = None, None with open('orders/__init__.py', 'r') as fd: content = fd.read() version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', content, re.MULTILINE).group(1) license = re.search(r...
[ "ricardojvr@gmail.com" ]
ricardojvr@gmail.com
a9682c31beb5aa6a6e2cacc7e42da087c161cd63
7ec04fc867d0a48fffc05c65bff9217cfe211fe7
/HW/统计字符串/teachers.py
f3e81a089bc6a999b09cf50c7dafa2466777ca3b
[]
no_license
Cherry93/pythonPractic
3b9d1f99803503073bbb2f3a58009665338bd278
2889183af6c9a01ab47895b23e2d6ce8c288fd4d
refs/heads/master
2021-08-31T16:41:56.655989
2017-12-22T03:53:18
2017-12-22T03:53:18
115,008,198
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
''' 定义教师类,属性包括姓名、职称、工资,创建1000个实例,使用pickle写入teachers.dat并再次读出; ''' import pickle from tkinter import filedialog class Teachers: def __init__(self,name,call,rmb): self.name =name self.call = call self.rmb = rmb def __str__(self): return "name:"+str(self.name)+"call:"+str(self.cal...
[ "358544104@qq.com" ]
358544104@qq.com
eb3d54dc1db886b98008f3a576109aa33e101d6d
5e734cd4e071272688ab635243290936c5c2db40
/lib/paths.py
26971a871946a307647c399e9c700320a62ab114
[ "MIT" ]
permissive
jwilk/i18nspector
a2a4aecee00de9cfb8d9a0354614f7413e19f1b9
d9762416937399b81abaedc9ddcdc36dbda1c318
refs/heads/master
2023-09-04T12:32:35.255101
2023-08-22T08:41:50
2023-08-22T08:41:50
29,258,684
2
3
MIT
2022-06-27T19:04:57
2015-01-14T18:22:23
Python
UTF-8
Python
false
false
1,388
py
# Copyright © 2013 Jakub Wilk <jwilk@jwilk.net> # # 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 # to use, copy, modify, merge, p...
[ "jwilk@jwilk.net" ]
jwilk@jwilk.net
8a1feda92bbe3aa7c8ea93a88590748b2de2c784
08871111acfec5049c3d4b48b400f84146a29b06
/littlelambocoin/types/weight_proof.py
8313a845fd96b19c16af331d5932b4a571194cb3
[ "Apache-2.0" ]
permissive
AndreAndris/littlelambocoin
8d7705b64c018b503bea2c64cec4e15fc4a438ef
ffbf98d5d43ae248586aadbb68316c6ed43da7cb
refs/heads/main
2023-06-29T15:33:33.167616
2021-08-05T06:46:16
2021-08-05T06:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,269
py
from dataclasses import dataclass from typing import List, Optional from littlelambocoin.types.blockchain_format.proof_of_space import ProofOfSpace from littlelambocoin.types.blockchain_format.reward_chain_block import RewardChainBlock from littlelambocoin.types.blockchain_format.sized_bytes import bytes32 from little...
[ "kevin.vercauteren@gmail.com" ]
kevin.vercauteren@gmail.com
de35b092deb9a81164caa6ea340b019c2e8b3aa1
59961cd3842f2a46803c96f1d4448e8fea49c6db
/device/actuator/ACDCI_UC8/act_server/actuator.py
e94c7e5c359c17c14caa028e9b91c817b0edcbec
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
seanbrhn3/openc2-oif-device
69a8c59e8075b842a1fdda3d6c115c0540f9aea2
805c55e44f59f7c86c5bf347a6fc3787e6903df4
refs/heads/master
2021-03-05T12:58:55.917321
2020-04-22T08:35:17
2020-04-22T08:35:17
246,123,536
0
0
Apache-2.0
2020-03-09T19:26:13
2020-03-09T19:26:12
null
UTF-8
Python
false
false
306
py
from .utils import ActuatorBase from .actions import ( Delete, Query ) class Actuator(ActuatorBase): def __init__(self, *args, **kwargs): super(Actuator, self).__init__(*args, **kwargs) self._dispatch.register_dispatch(Delete) self._dispatch.register_dispatch(Query)
[ "jerome.czachor@g2-inc.com" ]
jerome.czachor@g2-inc.com
9b3d001951b24200fcdb3bd49fa67280cf2503c4
6659f860ddbb7550f66ea712753d3d2aab1cc6ff
/Note_3/Example_36.py
2671dcc8e106d4ba64273a5f63c1cda83dfc50f5
[]
no_license
ianhom/Python-Noob
adf077bee78727eac43da2804a90528ace6c38a6
e12f0159d68d7c4962cafa3cb8b68a8761037f21
refs/heads/master
2020-12-08T12:06:01.909463
2018-07-03T00:42:41
2018-07-03T00:42:41
67,806,200
1
0
null
null
null
null
UTF-8
Python
false
false
501
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ''' 题目:求100之内的素数。 ''' lower = int(input("输入区间最小值: ")) upper = int(input("输入区间最大值: ")) for num in range(lower,upper + 1): # 素数大于 1 if num > 1: for i in range(2,num): if (num % i) == 0: break else: print(num) # ...
[ "noreply@github.com" ]
ianhom.noreply@github.com
4581172461ca6e272ba66f94b453f7e3627ebeb2
e617affbb9292944465969a7f7a6a02b1c88f10a
/offer_algri/数组中出现次数超过一半的数字/p.py
2be851787656e28518166bb8ce3645d671b6563e
[]
no_license
darr/offer_algri
92904d02c7bbd721aa47b4836f2190c3e9407f24
724fd689cfe7bd2f8aaed19ef912eecbf00a2df3
refs/heads/master
2020-03-25T04:18:40.491916
2018-09-07T08:52:39
2018-09-07T08:52:39
143,388,188
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
#!/usr/bin/python # -*- coding: utf-8 -*- ##################################### # File name : p.py # Create date : 2018-07-23 08:49 # Modified date : 2018-07-23 13:04 # Author : DARREN # Describe : not set # Email : lzygzh@126.com ##################################### class Solution: #run:32ms memorr...
[ "lzygzh@126.com" ]
lzygzh@126.com
e6319b6d8def275c9cca76ac7f504569eba57cd8
3193ad5646eed71ac636f4f2617e303fa6dc9884
/main.py
4a8cbfe45d8ca92d0a2647b8ce7339698aa61e4e
[]
no_license
RAJ-SUDHARSHAN/Turtle-Crossing-game
a31128fdf6251097c9d46915b69023d2e445bb7a
65b52fb4ca66e3e88a3d68b9ac11011786952243
refs/heads/master
2023-05-31T01:29:44.942839
2021-07-01T10:29:33
2021-07-01T10:29:33
377,066,553
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
import time from turtle import Screen, Turtle from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) player = Player() car_manager = CarManager() scoreboard = Scoreboard() screen.listen() screen.onkey(playe...
[ "sudharshann05@gmail.com" ]
sudharshann05@gmail.com
217939a4ec285f58d2024b374a9fa8ccd9a8ac80
6369730d24b0e38238e157750994607f7735290d
/InternTracker/InternTracker/spiders/goldmansachs.py
d192518b10b5c3799ba63b38b2f5500e726d4098
[]
no_license
kailash360/InternTracker
72a616663380b7465f4f79279f5a85fc04c76b7d
5016e35c94b31cf33ae75d5b382ee61570e5853f
refs/heads/master
2023-06-26T21:51:27.663325
2021-07-24T19:43:55
2021-07-24T19:43:55
354,225,662
0
0
null
null
null
null
UTF-8
Python
false
false
1,918
py
import scrapy from scrapy import Spider from scrapy.selector import Selector from scrapy.exceptions import CloseSpider from scrapy.http import TextResponse as response from InternTracker.items import InternshipPosting from Logger.logger import career_site_logger import json import requests import csv class GoldmanSach...
[ "anantvijay3@gmail.com" ]
anantvijay3@gmail.com
52a6548dfa37833edb95c3a18de38be1ae4aac3c
7fb7d050ce1b8d8b680c1a19ab49df63c6918a68
/monai/transforms/utility/array.py
24d2feb781c8090125e356388c646daaf945bc03
[ "Apache-2.0" ]
permissive
zuoguoqing/MONAI
52a2de4e4305e1ae5154824e54f301dca34ad429
f5ccdc6bcd9696da9c4763910143f12835dca954
refs/heads/master
2023-03-11T21:38:01.162356
2021-03-01T18:40:59
2021-03-01T18:40:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,476
py
# Copyright 2020 - 2021 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wri...
[ "noreply@github.com" ]
zuoguoqing.noreply@github.com
aaafab9349a37a8754b7eebd163d25ce94c5af20
e501ce040d909a6c9a6fba8fdb918f5403f22aeb
/piece.py
abba8a44a7be1804218dcf8e5f5385190e727e13
[]
no_license
evandevizio/my-chess
173ae87f7ec9692f8fc99717e8bf47942f3a5cd2
03296473f547590497692249d1ff225881149651
refs/heads/master
2021-06-28T07:51:22.143886
2020-12-26T13:25:40
2020-12-26T13:25:40
201,874,738
0
0
null
null
null
null
UTF-8
Python
false
false
30,728
py
board_map_alpha_to_index = {"a": 0, "b": 1, "c": 2, "d": 3, "e": 4, "f": 5, "g": 6, "h": 7} board_map_index_to_alpha = {0: "a", 1: "b", 2: "c", 3: "d", 4: "e", 5: "f", 6: "g", 7: "h"} piece_key_to_name = {"x": "King", "X": "King", "q": "Queen", "Q": "Queen", ...
[ "31998161+evanthecannibal@users.noreply.github.com" ]
31998161+evanthecannibal@users.noreply.github.com
e6f6729fd58389dd869ab4888b0916e5456bb7a1
f9d549547f316ca38332eb822d6829f285a6dda6
/Tasks/Community/ts_scriptExamples/vbot.example.py
a79ebc92dbc5110ad9c888e54826124998b03df5
[ "MIT" ]
permissive
clarkwhitty/Velocity-assets
ce12f590230527d0cf62a77a1608db228b39464d
67a886c5d3d46d3c7e74405b7fc28b4c9de9f7eb
refs/heads/master
2021-06-05T14:47:13.327371
2019-12-16T16:04:49
2019-12-16T16:04:49
148,567,363
0
0
MIT
2018-09-13T02:01:45
2018-09-13T02:01:44
null
UTF-8
Python
false
false
1,447
py
import os import argparse parser = argparse.ArgumentParser() parser.add_argument('--resourceId', action='store', dest='resourceId', help='resource ID') parser.add_argument('--ipAddress', action='store', dest='ipAddress', help='IP address') results, unknown = parser.parse_known_args() print('The inventory ID of the se...
[ "clark.whitty@spirent.com" ]
clark.whitty@spirent.com
c6830214cc1648ab00b58ba514d0713d9bcdfd55
e3877c43b26b4c6791172a9187380bc414f4319f
/Practice/largest_xor.py
c636e3173b499442fa87f5b64a1edacc04c59944
[]
no_license
saqibns/CodeVita
e9fbd9a8e0f4d9730a820b3ddeaac244762ad48c
d2c0fc41a11a1af40867ce8e1bc7c94cf2db9ff2
refs/heads/master
2021-01-01T19:20:05.152621
2017-09-08T05:53:55
2017-09-08T05:53:55
30,918,098
4
1
null
null
null
null
UTF-8
Python
false
false
184
py
l = int(input()) r = int(input()) xor = 0 for i in range(l, r + 1): for j in range(l, r + 1): new_xor = i ^ j if new_xor > xor: xor = new_xor print(xor)
[ "shamsi.saqib@gmail.com" ]
shamsi.saqib@gmail.com
40996d998fba3f367e6a414a12ce392bce6a18ba
86d67bcc5b81d2f429e0670b5938f4d40e20449e
/ex28/ex28_chapter9_ex3.py
d700e4ee45c3ef0db55216b71b96ae793c1f6e3e
[ "MIT" ]
permissive
BjornChrisnach/Scripting_with_python_SNHU
7e37c5aeddf87e64ae4b4ab799d043ba5abeb421
791d4726ab59ee7414ed8a7059edfb62a88d91dd
refs/heads/main
2023-05-06T21:11:52.338871
2021-05-30T18:33:42
2021-05-30T18:33:42
369,430,018
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
inp = input('Enter a file name: ') fhandle = open(inp) email_lst = list() i = 0 j = 0 dict_email_from_date = dict() for line in fhandle: words = line.split() # print('Debug:', words) if len(words) == 0 or words[0] != 'From': continue # if words[0] != 'From' : # fill up the email lst email_lst....
[ "41198499+BjornChrisnach@users.noreply.github.com" ]
41198499+BjornChrisnach@users.noreply.github.com
d355ec057204546f35eee6349d7c84c3ee495a04
d0b406d99837e189fca621979d7f09f176d20b5f
/apps/organization/admin.py
876f8868addb77f2c9f5ad4ba32bfedced1a6433
[]
no_license
Timm-Lee/MxStable
5afe81ee6fdd309ccbc26678c569881abd5b114c
23da9a3f2e5a73452d1d29f22766e78dbb826269
refs/heads/master
2020-12-30T14:57:09.297787
2017-05-14T01:08:40
2017-05-14T01:08:40
91,095,327
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
from django.contrib import admin # Register your models here. from .models import CityDict, CourseOrg, Teacher class CityDictAdmin(admin.ModelAdmin): list_display = ['name', 'desc', 'add_time'] search_fields = ['name', 'desc'] list_filter = ['name', 'desc', 'add_time'] class CourseOrgAdmin(admin.Model...
[ "Timm_Lee@qq.com" ]
Timm_Lee@qq.com
6ee3ad7ed2666cd3c2c2e7bb9947e9d2975cadf8
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/PyQt5/QtSensors/QAltimeterFilter.py
7f6d16487b33ff0384829272d015bff8aad4003c
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# encoding: utf-8 # module PyQt5.QtSensors # from F:\Python\Python36\lib\site-packages\PyQt5\QtSensors.pyd # by generator 1.147 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip from .QSensorFilter import QSensorFilter class QAltimeterFilter(QSensorFilter): """ QAltimeterFilter() ...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
fed9f1c3fb053b3e634b0860e07876d76f1a063c
f94d04062c69731463755d8bde076057c4ee169f
/Talleres/taller_cicloswhile.py
4b35e3e151bf89ece2d7fc77f761a49d06a0c36b
[]
no_license
ValeriaAraque/Pogramacion
5596856459f9a14ea4cb72c0f9e76d1612a274b9
a88fb4446e80bcdc2ce0e24bef55d9243a72638c
refs/heads/master
2023-01-21T04:34:37.120205
2020-11-25T17:50:45
2020-11-25T17:50:45
283,563,770
0
1
null
null
null
null
UTF-8
Python
false
false
1,239
py
#------Ciclo while------ # Leer números enteros de teclado, hasta que el usuario ingrese el 0. Finalmente, mostrar la sumatoria de todos los números ingresados preguntaNumero = "Ingrese un numero entero o 0 para terminar: " numeroUsuario = int(input(preguntaNumero)) suma = 0 while (numeroUsuario != 0): suma += nu...
[ "valeriaraquec@gmail.com" ]
valeriaraquec@gmail.com
c8771294e96bf4e6068819db598f3f1ee27023a0
b5a2b6418088a4f6acf7d7595ae8f7d0c974e6eb
/lpr/label_image.py
2450796cfb3052038a9d04e91e5bd898a4353b55
[]
no_license
TruckIdentification/lpr
e5dad4bcc1a8d9ce122457dcd2232ae9b2aea3c6
81cc30fe40e4b3b35e25acf442aa78c2631f1e36
refs/heads/master
2021-04-12T07:50:42.783242
2018-03-20T07:36:43
2018-03-20T07:36:43
125,849,354
1
0
null
null
null
null
UTF-8
Python
false
false
2,434
py
import tensorflow as tf import sys import os import cv2 import chepai as cp dict = {'jing': '京', 'hu': '沪', 'yue': '粤', 'n': 'N','b': 'B','v': 'V', 'c': 'C', 'x': 'X' , 'z': 'Z', 'l': 'L', 'k': 'K', 'j': 'J', 'h': 'H', 'g': 'G','m': 'M' , 'f': 'F', 'd': 'D', 's': 'S', 'a': 'A', 'p': 'P', 'u': 'U','min': '闽' ...
[ "1549134149@qq.com" ]
1549134149@qq.com
4069518080c129a85d574bf923676519845cf3f1
b7b9d710033ddaa744619fcf2798ee62046bd6c8
/Many_Results.py
ce3e46e4922b28b819b78403ca3b1b237e0ddcda
[]
no_license
ArthurWalker/Matching_Address
feb6f345a49aac40fc3ceb4568ced87420703fdb
42329d37da05730d99f9b528418313ad42b69c93
refs/heads/master
2020-04-03T15:50:50.810162
2018-11-27T10:29:49
2018-11-27T10:29:49
155,380,122
0
0
null
null
null
null
UTF-8
Python
false
false
2,761
py
def match(row,df): row['New_Geo_Address'] = df.iloc[0]['Full_Address'] row['New_ADDRESS_REFENENCE'] = df.iloc[0]['ADDRESS_REFERENCE'] row['New_EIRCODE'] = df.iloc[0]['EIRCODE'] row['New_SMALL_AREA_REF'] = df.iloc[0]['SMALL_AREA_REF'] return row def fix(row,dict,geo_df): if (row['DwellingData_id...
[ "phuc.phamhuu2@dcu.ie" ]
phuc.phamhuu2@dcu.ie
749e588eae6941ca5de72d0d9293bd321e5594bd
105025a1cc839ea27a08d05c9bd873a4e7319b91
/DCGAN_WGAN/utils.py
7bddad7d3c839dbf03af9ec0178f438bb69948ca
[]
no_license
AlexaYuqinD/Automatic-Image-Enhancement
bbe0c634184a4cbeadfc7ff1fdfcf74d96bc1340
6c3304d43aa2f75e17b4b8d65d0919d55f82f93a
refs/heads/master
2020-05-21T02:17:28.824316
2019-08-14T23:16:49
2019-08-14T23:16:49
185,874,000
0
1
null
null
null
null
UTF-8
Python
false
false
8,292
py
from config import config import math import numpy as np import scipy.stats as st import torch import torch.nn as nn from scipy import signal from scipy.ndimage.filters import convolve def filter_forward(image, filters): """ :image: input image :filters: output filter """ return filters(image)...
[ "dyq4430@126.com" ]
dyq4430@126.com
0f57e7973dc5f0875edca862cb0d535aa7d86cbd
725caa41dd51620e8deeae5ff322e965b9cc9bd1
/pythonStudy/com/pallasli/study/MyClass.py
45d4b8a40d12d35bb05000e40c7a41539adb7e6f
[]
no_license
PallasLi/python
474d28864b608643cde2a27712deac591dff151e
791ac097b708152333da6930c56c42684b3b91ce
refs/heads/master
2019-07-14T23:00:54.981551
2016-06-24T13:52:07
2016-06-24T13:52:07
54,302,543
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
''' Created on 2016年3月17日 @author: lyt ''' # '''和"""可处理带格式的字符串 # '和"不带格式 class MyClass(object): "描述" ''' classdocs ''' def __init__(self, params): ''' Constructor ''' def minus(self): print(self) @staticmethod def add( ): ...
[ "ytli1987@163.com" ]
ytli1987@163.com
604d4f45540e9f060e211611c875869690951851
cf540df0f31fdfa06eed34572d65261641988d63
/general_plot.py
2f2bc544a09cdc1d00b12593c73fa7dbee7f9051
[]
no_license
cmilke/HH4b_vbf_analysis
bcc0e45e511b538ce5a6c262b1cd88b1d52ff97e
660219fa95f88351b14eb4c1624ca5f2c9036b42
refs/heads/master
2022-11-19T01:57:05.561780
2020-07-22T17:34:03
2020-07-22T17:34:03
279,408,209
0
0
null
null
null
null
UTF-8
Python
false
false
13,116
py
#!/usr/bin/python3 import sys import argparse import pickle import numpy import itertools import matplotlib matplotlib.use('Agg') from matplotlib import pyplot as plt from uproot_methods import TLorentzVector as LV from uproot_wrapper import event_iterator from plotting_utils import plot_wrapper import analysis_utils ...
[ "chrisdmilke@gmail.com" ]
chrisdmilke@gmail.com
5f18c8ae40409e78a1614a7c2b854124d6ce62d5
43366a771f049270a59377c695674e58500ce8f9
/main_from_user.py
9b1ef9fa625bb9b1251fa2276ca5c9b1ae18d0bb
[]
no_license
harrisonluft/Point-in-Polygon
02b47405e6483967356cb78ad93f4b1b51907abb
2114f2c2a87d4f422cb8da78eff5ed5c74404607
refs/heads/master
2023-05-30T09:22:00.813389
2021-06-19T20:01:20
2021-06-19T20:01:20
309,147,711
0
0
null
null
null
null
UTF-8
Python
false
false
11,420
py
from plotter import Plotter def user_input(): data_list = [] while True: try: user_point = input('Please input coordinate as x, y: ') user_point_float = [float(user_point.split(',')[0]), float(user_point.split(',')[1])] break except: print('Inval...
[ "harrisonluft@gmail.com" ]
harrisonluft@gmail.com
cf4eed4c6955b31983a5e1ef9550ccef9c7abb99
0af30c2e3ddcc80a19ea9cfaad9d7e1fedf8b876
/210127/다이나믹 프로그래밍/효율적인 화폐 구성/김채린.py
314b431313f5a678f4a8022697364c2068be95a8
[]
no_license
winterash2/algorithm_study_2021_1
d1cd6077f71f68e7fc3eb6dfae7b2cc220885e4c
c1fee62c7e5e560c3bf7ae5e6166866d0147f23f
refs/heads/master
2023-04-02T20:11:04.169856
2021-04-05T11:18:22
2021-04-05T11:18:22
327,563,535
1
2
null
2021-01-24T14:17:40
2021-01-07T09:28:08
Python
UTF-8
Python
false
false
121
py
import sys input = sys.stdin.readline n, m=map(int,input().split()) d=[] for i in range(n): d.append(int(input()))
[ "61822411+zzerii@users.noreply.github.com" ]
61822411+zzerii@users.noreply.github.com
f165385bdee69eba491eb899ed659d42f21e8653
58d690aa25417bd71ea3c9deab273bffc72be6ba
/src/m3u8_parser.py
931adacda1ee23fefc2fe3e691fffa7836bc4f3f
[ "MIT" ]
permissive
cu1455/uddd_hls_download
7db994005ca692cd1a326bea0c0a6eb29e91fe38
8e5a4290ed9e30ec8d4bbc4fca0cd5bd4eb5513b
refs/heads/main
2023-06-16T05:04:21.889763
2021-07-12T20:58:03
2021-07-12T20:58:03
382,706,315
1
1
null
null
null
null
UTF-8
Python
false
false
9,012
py
# -*- coding: utf-8 -*- import sys import requests from urllib.parse import urlparse DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36' class M3U8(): # Constructor def __init__(self, inputURL, header, cookies, prox...
[ "86881109+cu1455@users.noreply.github.com" ]
86881109+cu1455@users.noreply.github.com
42c8fd5d1f01c04351c2a1798dd8cce0574b378a
677ddde8c47e8f4f8d3e9957d0ff669e68f9f6f2
/EDD_Proy2/EDD_Proy2/settings.py
2aa9cd4b484f4258141c133fbe04ccd14cbcda86
[]
no_license
JorgeEspina/Proyecto2s12017_201403632_201503393
205d35dd0ed54b3b9dbe19ee3b5b53be27cc151b
5fed57e839173a9ae93f8e9e0c55157fc6b68815
refs/heads/master
2021-01-19T10:36:33.408262
2017-05-08T05:52:11
2017-05-08T05:52:11
87,880,569
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
""" Django settings for EDD_Proy2 project. Generated by 'django-admin startproject' using Django 1.11. 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/ """ ...
[ "noreply@github.com" ]
JorgeEspina.noreply@github.com
e76670bfa19fa21996106d93183214b2fb2f3640
e79db276d389b09e5685c3dafbced4be07c181d3
/src/PersonalExtractors/BankOfMaharashtraExtractor/bank_of_maharashtra_extractor.py
27ed8e37e43b23e024f6143a7849221eee433356
[]
no_license
roshan6111/ofiiceproject
9c44e815fb609f01d4804462db00997a73d70d7f
7078b5facbafe92c5a2875fedb992cf9a744c5d0
refs/heads/master
2022-12-11T17:48:07.438237
2019-06-30T07:18:24
2019-06-30T07:18:24
194,487,027
0
0
null
2022-12-08T01:47:28
2019-06-30T07:16:22
Python
UTF-8
Python
false
false
4,010
py
import re from src.Utils import bsr_utils from src.Utils import constants def process_desc_custum(json_formatted_data, desc_pattern, line, existing_desc): m = desc_pattern.match(line) description_extended = existing_desc + m.group(constants.DESCRIPTION_STR) if len(json_formatted_data[constants.TRANSACTIO...
[ "roshan@zup.today" ]
roshan@zup.today
76a9acaf06ed647f5329818ed4650ab73952cbb8
7246faf9a222269ce2612613f58dc5ff19091f10
/leetcode/1662.py
d793883d41ed3cb54e390d971c41a4c5ca4f7ffd
[]
no_license
gusdn3477/Algorithm_Study
87a2eb72a8488d9263a86db70dadc7944434d41d
3fefe1dcb40122157845ffc542f41cb097711cc8
refs/heads/main
2023-08-30T12:18:21.412945
2021-09-28T13:00:11
2021-09-28T13:00:11
308,364,230
0
1
null
null
null
null
UTF-8
Python
false
false
236
py
class Solution: def arrayStringsAreEqual(self, word1: List[str], word2: List[str]) -> bool: a = '' b = '' for i in word1: a += i for i in word2: b += i return a == b
[ "gusdn3477@naver.com" ]
gusdn3477@naver.com
2b8e0f7cc47c50698ff14eb2bb688b25f20ccf77
76d4430567b68151df1855f45ea4408f9bebe025
/test/functional/wallet_importmulti.py
9b417874ed72b862538be622fc4351394626492d
[ "MIT" ]
permissive
MicroBitcoinOrg/MicroBitcoin
f761b2ff04bdcb650d7c0ddbef431ef95cd69541
db7911968445606bf8899903322d5d818d393d88
refs/heads/master
2022-12-27T10:04:21.040945
2022-12-18T05:05:17
2022-12-18T05:05:17
132,959,214
21
33
MIT
2020-06-12T04:38:45
2018-05-10T22:07:51
C++
UTF-8
Python
false
false
44,483
py
#!/usr/bin/env python3 # Copyright (c) 2014-2020 The MicroBitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the importmulti RPC. Test importmulti by generating keys on node0, importing the scriptPubKe...
[ "iamstenman@protonmail.com" ]
iamstenman@protonmail.com
b242db63f303ccd809a3b05d0134b6e4d1e318f3
99cf0bf1d00328297c6b8c4df0de32f4e3a6c23f
/store/admin.py
ff370586f4cddc5067b44763c43f5f12228b2cb9
[]
no_license
akashmrc98/Gstore
063048d4fbf26c0fc8233d524f035fd5548d51dd
04b454a5b6426d6bfb6bd69028ae325a9dbd3f31
refs/heads/master
2020-04-27T12:56:38.626832
2019-03-07T13:42:50
2019-03-07T13:42:50
174,350,183
0
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
from django.contrib import admin from .models import GUser, Items, Temp, Cart, Order, Order_Final, SUser class Guser_Admin(admin.ModelAdmin): list_display = ( "user_id", "name", "dob", "sex", "phone", "address", "email", ) class Suser_Admin(admin.ModelAd...
[ "akashmadduru@gmail.com" ]
akashmadduru@gmail.com
27cef3273fbea6594127d3f349650e9e27d66252
68a38a56e36c67cdcdfaddc3a7e24dec46dc838b
/app/src/application/handler/user.py
bd296cea869957a190e7a578c5c4c8a314292f6f
[ "MIT" ]
permissive
hagifoo/gae-pomodoro
56adbf505bf8a8052bc2818bbbbce567eb74b1ee
6babdfc8d4ac8483b59b4da1d2c9b13fddcc4383
refs/heads/master
2021-01-12T02:10:53.517008
2017-02-20T01:59:15
2017-02-20T01:59:15
78,483,783
0
0
null
null
null
null
UTF-8
Python
false
false
2,203
py
""" This module provides user and user timer handling """ from application.handler import JsonHandler, TaskHandler, signin_user_only from domain.repository import UserRepository import error class Handler(JsonHandler): @signin_user_only def get(self): return self.user.to_json() class SlackChannelsH...
[ "hagiharatoshishige@gmail.com" ]
hagiharatoshishige@gmail.com
3843f381b3d6a2e009ea019d635947124fc99156
fc05249c73f910a4d36f471eb91e05256a64cdfe
/roms/make_bry_phd16.py
991513bd9be6ce35aac02cc3ffdedfe61ec96daf
[]
no_license
rsoutelino/sandbox
f51b37619cd7a61a0446d83e2e1c2af58f14802a
814d215582d8e14514ba93daf1b41f6d118b906c
refs/heads/master
2023-03-02T12:05:18.703732
2023-03-02T01:58:15
2023-03-02T01:58:15
28,204,889
3
1
null
null
null
null
UTF-8
Python
false
false
29,082
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Creates initial conditions netCDF file for ROMS # # Rafael Soutelino - rsoutelino@gmail.com # # Using some material from Matlab scripts by # "Copyright (c) 2003 UCLA - Patrick Marchesiello" # # Last modification: Aug, 2010 ##############################################...
[ "rsoutelino@gmail.com" ]
rsoutelino@gmail.com
de3892b248bf72a4a58df72192eb0d7948c9185f
8f13a1afb871d8cc2db0549c21e6fc10b6ad3f54
/29_1.py
6c51ddae9ed20cf7819b6c6052b8dfb0167ee2a8
[]
no_license
SebNik/Project-Euler
159ddaec942081e85934c802e64efb29609fd613
53288a08c5ac302df550faaa90c8f6e62452d3ec
refs/heads/master
2022-11-05T18:17:34.901908
2022-10-27T15:03:45
2022-10-27T15:03:45
239,459,783
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
import timeit def v29(max=101): list_products=[] for a in range(2,max): for b in range(2,max): c=a**b if c not in list_products: list_products.append(c) return len(list_products) #print(v29()) print(timeit.timeit(v...
[ "noreply@github.com" ]
SebNik.noreply@github.com