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
32dd6e795e4e8c7656c208ec826cb9d894bcef01
ad03fdcabdd4ab333bdfd12f6c41c3d13353df63
/newsfeed/migrations/0004_configuration_total_votes.py
718f3e7e358c74413b36cbe896ab0ef1c9aee695
[]
no_license
ReEnTrust/mediationtool
109aefa8354af07568d4b5ab6251c88eab27f925
77207ed30c054456e904d1a1ecd3d81baf718b36
refs/heads/main
2023-04-19T10:08:50.629107
2021-03-14T15:10:19
2021-03-14T15:10:19
364,901,767
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Generated by Django 3.0.4 on 2021-01-08 14:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('newsfeed', '0003_auto_20210108_1426'), ] operations = [ migrations.AddField( model_name='configuration', name='total...
[ "blegaste@ed.ac.uk" ]
blegaste@ed.ac.uk
b86f82fa64afbad4e2ec93ee5e6511bee3b549c7
8819b3e55756bf6e53bab13714e1e25c887e93bb
/pysonic.py
3624f1037ac25598b61741de10d628f026b0c544
[]
no_license
saibotd/couchpytato
c8f049ed9936d3eda537c45642cb972d57176cf4
f7146d9cacdb93426e65bbe9a30cb9ec50088320
refs/heads/master
2021-01-22T04:33:42.223304
2013-07-17T16:47:26
2013-07-17T16:47:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
import pySonic, time class Music: def __init__(self): self.music = pySonic.Source() self.playing = False self.paused = False def isplaying(self): return self.music.IsPlaying() def play(self, name=None): ok = True if self.paused: self.mus...
[ "tobi@saibotd.com" ]
tobi@saibotd.com
c3a0d221d0881ea417f3e5b03fd1a8fe558c52c1
632d58b9f7ae470d9ec2b0e88af0aa8054dfa40e
/src/ryzom_django/management/commands/ryzom_bundle.py
48c255b344ea621534b03d56660dbf76563dd28f
[]
no_license
yourlabs/ryzom
8d06bf829ee9d31d33fa9353fdf187241c82b6ef
425859e2de30c3b939756a23a064fb1affe04b02
refs/heads/master
2023-05-13T10:27:09.766272
2023-05-02T14:49:25
2023-05-02T14:49:25
192,992,635
5
1
null
2022-10-11T20:19:52
2019-06-20T22:03:37
Python
UTF-8
Python
false
false
873
py
import os from django.core.management.base import BaseCommand, CommandError from ryzom_django import bundle class Command(BaseCommand): help = 'Write JS & CSS bundles to ryzom_django/static/bundle.*' def handle(self, *args, **options): static_path = os.path.abspath( os.path.join( ...
[ "jpic@yourlabs.org" ]
jpic@yourlabs.org
69479901b7cfdb541375dc320f6e72740a4e772b
e7a0ed2c4752253a87ff74bad6761165a37e834b
/BellmanFord.py
f861af60616a1e7b182af0abd57db1815c5610c6
[]
no_license
ilius/Algorithms-Python
09ac02ff6010e882775d22824940f22185a768c5
1d7d44859650ab9d36e6316c39a5d1400b3d3bc1
refs/heads/master
2021-01-17T14:27:55.846495
2013-11-19T20:18:30
2013-11-19T20:18:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
import GraphLib import DirectedEdge, ShortestPath # negative cycle with open('tinyEWDnc.txt', 'r') as f: V = int(f.readline().strip()) E = int(f.readline().strip()) text = f.read() f.close() Gnc = GraphLib.EdgeWeightedDigraph(V) lines = text.split('\n') for line in lines[:-1]: # last line is empty l = line.spli...
[ "leslieklein@comcast.net" ]
leslieklein@comcast.net
4dd83c3d16e32174d0bbaec60784760de259507b
f969727f9bfce4984fde818b69129542b03f4bb0
/intro/53_validTime.py
e04dd241853e23a35c1c594d5e226a3d5359837b
[]
no_license
big-ssk/CodeSignalPython
dc83476c2fa9c0f43a3fa22fb3507467a705cbeb
a9b3e8c66fd4dc6a595e058b1928153d466ecd66
refs/heads/master
2023-01-07T22:44:41.056283
2020-11-10T15:52:06
2020-11-10T15:52:06
297,742,549
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
def validTime(time): hours, minutes = time.split(':') return 0 <= int(hours) < 24 and 0 <= int(minutes) < 60
[ "noreply@github.com" ]
big-ssk.noreply@github.com
9af0f22d01f8392e47d62ef608e0396880a6a4dc
9d7905e71a4abda02000fc363fb82a16fb1e3bd0
/control/actuator_properties.py
2ed9690ff6428c5352b73dabe662fe570d823403
[]
no_license
gaffarelj/DSE-Mars-SRV
088a5cb111f6036be540b7e8defd8e95e9a3fd5a
6a70d239e4cba091e24d4423e2c10db1ffe033af
refs/heads/master
2023-01-30T08:45:16.244930
2020-12-16T21:33:56
2020-12-16T21:33:56
257,545,459
3
0
null
null
null
null
UTF-8
Python
false
false
4,970
py
import numpy as np from matplotlib import pyplot as plt #vehicle constants length_body = 14.01 length = 14.01 + 3.6 body_radius = 7.61 / 2 capsule_radius_bottom = 2.3 capsule_radius_top = 1.4 x_cg = 0. z_cg = 0. z_cg_full ...
[ "wiegerhelsdingen@gmail.com" ]
wiegerhelsdingen@gmail.com
1f62074c0c85f84ac88700f413546240cba19622
ec78979fd8479e884ab93d723360744db5152134
/wechat_stat.py
e05254f8304d487894b38f59d8004251e12e30bd
[]
no_license
xushubo/learn-python
49c5f4fab1ac0e06c91eaa6bd54159fd661de0b9
8cb6f0cc23d37011442a56f1c5a11f99b1179ce6
refs/heads/master
2021-01-19T17:00:05.247958
2017-09-03T03:22:28
2017-09-03T03:22:28
101,032,298
1
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
import itchat from echarts import Echart, Legend, Pie itchat.login() #登录 friends = itchat.get_friends(update=True)[0:] #获取好友列表 male = female = other = 0 #初始化计数器,男、女、不填的 for i in friends[1:]: #遍历好友列表,列表第一个是自己,所以从1开始计算 1表示男性,2女性 sex = i['Sex'] if sex == 1: male +=1 elif sex == 2: female += 1 else: other += 1 ...
[ "tmac523@163.com" ]
tmac523@163.com
4ff054f06535f914bf1194cc99ced72fe1853799
36191115c3f91a1dadb675ba4f46611423c0e9d7
/telegram_unvoicer_bot/telegram/const.py
ac79ca8b37c47a7f9b691907dc78cd0019b54933
[ "Apache-2.0" ]
permissive
nabokihms/telegram_unvoicer_bot
00805b9e89135fbbc77bbd7b5e28696bb3f34cb5
bdc75d8d4bd25d5914523e984c22f2ac05f022e1
refs/heads/master
2023-02-22T19:25:22.964360
2022-10-14T10:35:22
2022-10-14T10:35:22
133,100,125
5
0
Apache-2.0
2023-02-13T02:41:49
2018-05-12T00:16:01
Python
UTF-8
Python
false
false
474
py
from os import environ from typing import FrozenSet TELEGRAM_BOT_API_KEY: str = environ['TELEGRAM_API_KEY'] TELEGRAM_BOT_API_URL_PREFIX: str = 'https://api.telegram.org' TELEGRAM_BOT_API_URL: str = \ f'{TELEGRAM_BOT_API_URL_PREFIX}/bot{TELEGRAM_BOT_API_KEY}/' TELEGRAM_BOT_FILE_PATH_API_URL: str = \ f'{TELE...
[ "noreply@github.com" ]
nabokihms.noreply@github.com
f9f9bdbea20f756b687e0c829b73e3f40f91236b
92dbbd758ec9c8ce0bfa2275cb1e3f0db5938f7d
/scripts/delta_scan-join_five.py
675afb5bc3c0131a7ca5d58a6fa11be53da061b0
[]
no_license
RoslawSzaybo/bosons_on_lattice
cb5bdd0ded6d08f93faf1da410bc37939904ba4d
3c82c5fbd2b27d806526bd88d23b603a6b26dbc4
refs/heads/master
2020-03-25T11:39:41.477564
2018-11-29T18:26:23
2018-11-29T18:26:23
143,741,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Aug 24 12:24:12 2018 """ import numpy as np import pickle import sys def delta(pkl): return pkl[1]['delta'] zero = 1e-14 def the_same(a,b): delta_a = delta(a) delta_b = delta(b) diff = abs(delta_b-delta_a) return (diff < zero) def repetitions(...
[ "pawel.wojcik5@gmail.com" ]
pawel.wojcik5@gmail.com
f5d2f37e9340e9e1de69ab7c207e279391fe5bf5
5343fd379fc858be81c8993019201fe16e44599f
/Assignment4/data_loader.py
ad3559ba867e89fbf7ac5607be7721c36c73f772
[]
no_license
FreddieSun/CS520_IntroToAI
d39a7d842108c189655b500365f4a480632bd6ee
f53a0fbb7a4431a7667c4894d6f36d324c1b79b4
refs/heads/master
2021-10-09T02:57:17.464117
2018-12-18T07:19:23
2018-12-18T07:19:23
150,920,609
0
1
null
null
null
null
UTF-8
Python
false
false
2,705
py
import scipy.misc from glob import glob import numpy as np class DataLoader(): def __init__(self, img_res=(128, 128)): self.img_res = img_res def load_train_batch(self, batch_size=1, is_testing=False): path = glob('./datasets/train/*') self.n_batches = int(len(path) / batch_size) ...
[ "xl422@scarletmail.rutgers.edu" ]
xl422@scarletmail.rutgers.edu
db68fe190b85a166a45fd651494dca56572f4e4d
a2793557adc64285f9965d25cefc4cea3cff8333
/env.py
322886ce58433d697bb194cf6602a6d1c3384a75
[]
no_license
liuzhonghaolpp/H-DQN
bab3b6c4ea44640b473d2ddf2a7dbcc60e56b894
1e70d74424fc7679982db0372cce9bd9446970bb
refs/heads/master
2023-03-18T06:58:00.697140
2021-02-28T13:30:51
2021-02-28T13:30:51
336,790,849
1
0
null
null
null
null
UTF-8
Python
false
false
5,735
py
import numpy as np import torch from gym import spaces, core from gym.envs.classic_control import rendering import entity from utils import uav_mobility import configparser import time config = configparser.RawConfigParser() config.read('./paramaters.ini') # 参数 MAX_AoI = 100 DURATION = int(config.get('simulation para...
[ "384037404@qq.com" ]
384037404@qq.com
c16aac2e875043d857d88fc4d33e2dd6def2bc57
0a24ca351b483e769c44c1651f839fe3fbf4c3e7
/vurapy/config/production_env.py
ccb6f823e7fe5e59ffc77e485828fca246c8d7f2
[ "MIT" ]
permissive
crisboleda/vurapy
f7be49f2681f8b47f634a0bc27042ed451e6839b
12e35fb9373131181b1b8d4d5701fbbf4231dab8
refs/heads/master
2022-12-02T20:54:53.375384
2020-08-22T17:17:15
2020-08-22T17:17:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
from .base import * from decouple import config # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = config('SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', default=False, cast=bool) ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=...
[ "cristhian.2002.0@gmail.com" ]
cristhian.2002.0@gmail.com
b9dac58212d011f1c76f030f0631c55f20b3f02f
77ab593ed55a6d46b1778f6d41bc70ced3f8cd46
/face_ID_net/face_1024s/face_1024_vals.py
2b929cc2b67254c5a37f697a6093fc0d6f3d68f1
[]
no_license
wosxcc/bot
e93b92fbca79a915feb186160f3f72c99218ffcb
c097f5455bc6264c9f778fb72900475963836153
refs/heads/master
2021-06-12T12:43:47.314071
2018-12-14T08:51:43
2018-12-14T08:51:43
128,619,488
7
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
import os import cv2 as cv import numpy as np import random import tensorflow as tf from face_ID_net.face_1024s.ID_pb_net1024s import face_net os.environ["CUDA_VISIBLE_DEVICES"] = "1" IMG_H=64 IMG_W =64 N_CLASSES =1024 learning_rate =0.001 def face_val(image_arr,run_train): print('搞毛线啊') log_dir = './face72...
[ "821022156@qq.com" ]
821022156@qq.com
fd2e4f64b8d23dc7435ca8f180adc95a3899a98b
3a37b6ce2c1c481f6aded64b2d0c4421f7db1210
/hpc_bin/wrf_postproc
eb26ac737814efe9bbbab6838f79c0a64670559b
[]
no_license
dbreusch/pythonExamples
99c24dc1d28b8c3be3b4fadd30a05d8ae317b0c0
7b8c06208fefcadf918cb9517ac313535c4df010
refs/heads/master
2022-10-13T12:21:52.182752
2020-06-14T23:10:50
2020-06-14T23:10:50
265,911,840
0
0
null
null
null
null
UTF-8
Python
false
false
2,217
#!/usr/bin/env python # wrf_postproc # run wrf_postproc.ncl on a specific file # output goes to a directory matching yy/mm/dd of input file # 03/30/17, dbr, removed hardcoded dependence on home directory name import pdb, sys, os nargin = len(sys.argv) if nargin < 2: print "Syntax: wrf_postproc input_fn ensemble ex...
[ "dbreusch@me.com" ]
dbreusch@me.com
602f15f787ddf6f4abf25caf955202c918bb21a8
0bde172fb37280fa96758144dcec767990a89565
/run.py
6b7ebbdfe73be630d7affd8741dcdd2f91792392
[]
no_license
JonatanMariscal/P2_E1
a809dfaf11e2dedf008b1e0264e596d4786a4f4d
04d4de2c91ac83859e7cce3d745024350c82db58
refs/heads/master
2022-06-17T02:14:45.405225
2020-05-10T19:47:10
2020-05-10T19:47:10
262,860,199
0
0
null
null
null
null
UTF-8
Python
false
false
7,151
py
import tkinter as tk import matplotlib.pyplot as plt from matplotlib.backends.backend_tkagg import ( FigureCanvasTkAgg, NavigationToolbar2Tk) import SimpleITK as sitk def resample_image(image, reference): pixel_spacing = image.GetSpacing() new_spacing = [old_sz * old_spc / new_sz for old_sz, old_...
[ "noreply@github.com" ]
JonatanMariscal.noreply@github.com
b9504f50d0a006b0e32c812812e12c7e725481ff
50ec136d757fbd6033748ea0d0b084e1663fb4ff
/train.py
dd7a40588b03e4b8bea191ca677398465c207191
[]
no_license
Tyler-Shamsuddoha/python-image-classifier-keras
2b67cc196f8f692e22b65f6505ad779c57db53bc
2e734bbb08290ff70a35e566114014762ff4bd06
refs/heads/master
2023-06-12T19:55:50.369444
2021-07-07T20:20:21
2021-07-07T20:20:21
353,856,724
0
0
null
null
null
null
UTF-8
Python
false
false
5,729
py
from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras import backend as K from tensorflow.keras.layers import Dense, Dropout, Flatten, Activation, Conv2D, MaxPooling2D from tensorflow.keras.preprocessing.image import img_to_array, ImageDataGenerator from imutils...
[ "tylershamsuddoha@gmail.com" ]
tylershamsuddoha@gmail.com
1bc7d1b8360e79b34496216b5177441ca38e9763
22a8a20397148dd4aef2fbd529121df8b91c918f
/sklearn/iris_classification.py
c1cf8b64148764486906cd0a30d043cd5a016d06
[]
no_license
greenchapter/playground
87313d6926e21ee79c45114b0ff922948e35c601
033f300ccb8ef55dcbebb8197d5d1a8709fb258e
refs/heads/main
2022-06-01T08:57:16.896340
2022-05-13T18:09:45
2022-05-13T18:09:45
96,816,180
0
0
null
2022-05-13T18:09:46
2017-07-10T19:59:37
Python
UTF-8
Python
false
false
3,429
py
# # Beispiel der Klassifikations von Iris-Blumen # import pandas as pd from sklearn.model_selection import train_test_split from sklearn.neural_network import MLPClassifier from sklearn.metrics import classification_report, confusion_matrix import matplotlib.pyplot as plt # Lade den Iris-Datenset data_train = pd.read...
[ "noreply@github.com" ]
greenchapter.noreply@github.com
77e79f9ef67d7b2a99e8a1c2d037a274848b9c17
ea3272d707f3a6e5d097301d300a0ea97ddd82b5
/psm/oop1/oop1_2/info_hiding_property.py
b12f77b06d357a78fd4c81646ba553fa9c6dce8c
[]
no_license
gambler1541/BootCamp
d05850f256ed7a8baa02545551176959a66a9bb3
b025dd07a8fedd58366f96c9b516f134a95138f1
refs/heads/master
2020-04-07T07:21:51.363439
2019-06-08T11:10:27
2019-06-08T11:10:27
158,173,790
1
0
null
2018-11-19T06:38:36
2018-11-19T06:38:36
null
UTF-8
Python
false
false
830
py
class Account: def __init__(self, name, money): self.user = name # 인스턴스 멤버 선언이 아니라 setter 메서드를 호출 self.balance = money @property def balance(self): return self._balance @balance.setter def balance(self, money): if money < 0: return # 실제 ...
[ "sungmin3231@gmail.com" ]
sungmin3231@gmail.com
7a5460a7b68fee36094e0189412d4ec7e108cebe
c11666437e45f6b771f4004e919dccfdab6c4640
/pet_cats.py
cfadb02fc56200f91fb9545b7a676ebdd094354a
[]
no_license
mesare11/pet_market
30ba4b06161550e2abdd1e2fac073d9b1c906c91
c8e4006e578898c381be6f76cf6e05af39b94862
refs/heads/master
2021-01-02T19:02:34.933362
2020-07-23T12:16:01
2020-07-23T12:16:01
239,755,780
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
from pet_goods import pet_goods from pet_animals import pet_animals class pet_cats(pet_animals): def __init__(self, name, price, kind_pet, age, cats_breed): pet_animals.__init__(self, name, price, kind_pet, age) self.cats_breed = cats_breed def display_cats(self): print(self.name, self....
[ "mr.mesare@gmail.com" ]
mr.mesare@gmail.com
a291c7bfaadb64ce0f0f8fe7ff044a54344a7ba5
77c8d29caad199fb239133e6267d1b75bd2dfe48
/packages/pyright-internal/typeshed-fallback/stdlib/builtins.pyi
78b29c5aa7e794980ce9212e92a26b6fbb0c2072
[ "MIT", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
simpoir/pyright
9c80e596f99dfd1341a55373a96d8795cb72fb56
320a0a2fd31e4ffc69d4bd96d7202bbe8d8cb410
refs/heads/master
2023-04-18T06:42:16.194352
2021-04-29T15:20:19
2021-04-29T15:20:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,998
pyi
import sys import types from _typeshed import ( AnyPath, OpenBinaryMode, OpenBinaryModeReading, OpenBinaryModeUpdating, OpenBinaryModeWriting, OpenTextMode, ReadableBuffer, SupportsDivMod, SupportsKeysAndGetItem, SupportsLessThan, SupportsLessThanT, SupportsRDivMod, S...
[ "erictr@microsoft.com" ]
erictr@microsoft.com
f532fa34ab974fc95dff6d166910eebb381c45a5
68a155e62686542dc8e7e8069382085c88612280
/application/routes.py
eab784019f5a8d46370a9c487ff0b720756d01de
[]
no_license
MohamedEmad1998/Movie-Recommendation-AI
2f4de729452734e221625effa8809a07256cb8d8
f6384117c6be758e4043ec6cb39d679bef627b7e
refs/heads/main
2023-02-19T11:40:48.749679
2021-01-20T21:04:09
2021-01-20T21:04:09
331,429,351
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
from application import app import bot from flask import render_template ,request @app.route('/') @app.route('/home') @app.route('/index') def hello_world(): return render_template("index2.html") @app.route('/get') def form_post(): message = request.args.get('msg') response = bot.chat(me...
[ "noreply@github.com" ]
MohamedEmad1998.noreply@github.com
8aa9836ef60eecec8665ea91de8d724b9abc0328
f1c3614d6ef3874e816a2616ea0ae83704b052da
/tests/selenium_page.py
58331945adeee298ace5dec647cb39d512dfa78d
[]
no_license
margaritaumaniuc/presto
a46ed88c433a68c762a28e80e413bb1b61d46705
f95e85c7abb6da3919ed4fbfc96827f4bba473e2
refs/heads/master
2020-08-04T20:55:34.755285
2019-10-11T06:06:22
2019-10-11T06:06:22
212,275,851
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import StaleElementReferenceException, ElementNotVisibleException from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.wait import WebDriverWait from tests.settings import WDW_TIME class BasePa...
[ "margarita.u@sparkcentral.com" ]
margarita.u@sparkcentral.com
97fb86a6fc77d10f0b1704b970c7eb502694ccf4
693d005c1d1b1dc39d970bb9683282a5eede389f
/fourth_project/manage.py
9e85fa14b8338c2a7e0f3e9e88dc04cd538a69e3
[]
no_license
FranklinMonro/UDEMY---Full-Stack-Django
db3d3646e973dec7d74dbb1b50c54d68c7f1a366
21ac64652342b9d7e97c34b7d4b8d10247431317
refs/heads/master
2020-04-19T03:59:26.269493
2019-05-14T15:06:41
2019-05-14T15:06:41
167,949,913
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'fourth_project.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't im...
[ "noreply@github.com" ]
FranklinMonro.noreply@github.com
3b9fd7f7cb708040b5bbad3d59b9b3d09d01e4bd
e960a8d11fd8bf86742a82d879ec765e0c801bf6
/GeneratePredictionT.py
84b77119a8dc9062b6a76af69cea3b825ad2a7a3
[]
no_license
limcrong/trafficmanagement
91801a2bce86135325f031fff51ae575255e1118
c76303020300df265a0c0a05dd1d0c7e679d3a31
refs/heads/master
2020-06-05T01:30:53.748716
2019-06-19T02:40:57
2019-06-19T02:40:57
192,266,519
1
0
null
null
null
null
UTF-8
Python
false
false
3,638
py
#!/usr/bin/env python # coding: utf-8 # In[2]: import pandas as pd import xgboost as xgb from xgboost import XGBClassifier from xgboost import XGBRegressor import numpy as np from sklearn.preprocessing import MinMaxScaler from sklearn.externals import joblib from sklearn.metrics import mean_squared_error from math i...
[ "rongronggg@gmail.com" ]
rongronggg@gmail.com
4e7b95fde55ee2c89e339d086f06d4dbd57c294b
db68071bbdb5cb2cd7713b89c96d554e00470ab2
/MotionSensor.py
132223c16c76f3075f3216ec076cda53a07bad04
[]
no_license
majorpeter/puha-manager
a265c9d14d845d0efab27c664420fffc3147054b
fd51b560a7e1dad99204ae3c9c7369d17cbcfd32
refs/heads/master
2020-03-19T04:35:44.466718
2018-12-21T20:24:26
2018-12-21T20:24:26
135,844,927
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import logging from datetime import datetime class MotionSensor: def __init__(self, node): self.node = node self.node.PulseCount.subscribe_to_changes(self.on_pulse_count_changed) self.last_movement_time = datetime.now() # let's assume there is movement on startup to avoid checks later ...
[ "majorpeter29@gmail.com" ]
majorpeter29@gmail.com
2b3dde4546e2cdd37640fda3bce835cc0e437bce
aa39ef39ffe34dcf90c5b7246b118aa17fb382ff
/gcaptcha/rest/views.py
a6fca4bf34e9df24e25a709f5f34b54ab85d7e58
[]
no_license
toantt28/django-bypass-gcaptcha
635dcd3ddfbd5fc7b0d0b4d696e4541550970bf2
78ae7ad7af1fd866995f0c3988b70e359f0953b2
refs/heads/master
2022-12-28T11:14:45.468781
2020-10-14T07:12:38
2020-10-14T07:12:38
303,744,292
0
0
null
null
null
null
UTF-8
Python
false
false
5,373
py
from http.server import BaseHTTPRequestHandler, HTTPServer from urllib.parse import urlparse import json #system libraries import os import random import time #selenium libraries from seleniumwire import webdriver from selenium.webdriver.common.keys import Keys from webdriver_manager.chrome import ChromeDriverManager...
[ "toan.tt@neo-lab.vn" ]
toan.tt@neo-lab.vn
4619d834c5879ba0fbbdd46908424b4e26a6a8fa
4af4f4f40e95193cf2fed870724e39263d17d22c
/compined_testing.py
6f80f28f5133e88c74309642716c3e67f854cb31
[]
no_license
basharE/pythonFirstProject
1a5a138fda0230f4ef40a21c905bc23fbb9c5e7a
d9ec307725449096bf5feb1e507506003fbae5c2
refs/heads/master
2023-04-06T12:14:36.980051
2021-03-28T17:57:49
2021-03-28T17:57:49
338,761,126
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
import requests from db_connector import get_user from selenium import webdriver user_id = 1001 requests.post('http://localhost:5000/users/' + str(user_id), json={"user_name": "user name " + str(user_id)}) res = requests.get('http://localhost:5000/users/' + str(user_id)) assert res assert get_user(str(user_id))[0][0] ...
[ "bashar.egbariya@peer39.com" ]
bashar.egbariya@peer39.com
b865443f9f33aa61a37c0e20be96d1d6fc77a124
3b062b3dc545e11513da709ef3f525a6d64e37e0
/p2.py
d7b462a5f6f64fcf947598373efbda37d0f221c3
[]
no_license
saraattia412/python_projects
75932a8badb77aa06b7fb008594fcacdd6a6b276
d2b3f1ec4f7e47a6bc8dd00b5bf8c7d01f5f8ec2
refs/heads/master
2023-08-28T04:01:02.293203
2021-09-25T18:30:10
2021-09-25T18:30:10
410,351,931
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#sum and average any number print('welcome in sum_average_game ^-^') count=int(input('how many number :')) current_count=0 sum=0 while current_count<count : number=float(input('enter number:')) sum += number current_count += 1 print('sum=',sum) print('average=',sum/count)
[ "saraattia412@gmail.com" ]
saraattia412@gmail.com
9c162425d5991391ecff90fd0305e2d82e9d7f23
1e8177c6fcb5f5035de5c463f4e07ba645f5ae49
/csv2xl.py
6a3be9daaabc2bfe0cf3c0a8670ca2f29678a951
[]
no_license
sravanre/python
1a97669da262d3067fce6f7bc67141ba976f176c
248e3612be2890313be68886d02ff8a39e6c423d
refs/heads/master
2021-07-03T18:11:01.094397
2020-09-18T10:04:28
2020-09-18T10:04:28
172,246,636
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import csv from openpyxl import Workbook wb = Workbook() ws = wb.active #ws = wb['Sheet1'] f = open("marks.csv","r") for lines in csv.reader(f): ws.append(lines) f.close() wb.save('marks1.xlsx') wb.close() ##r=1 ##for lines in csv.reader(f): ## for c,val in enumerate(lines): ## ws.c...
[ "noreply@github.com" ]
sravanre.noreply@github.com
b4b2aa8f7d0110d5a1ee9b8e0de04c1e02146c12
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_zoologists.py
d5eaad0aa4529df66ccc13452502429859ae6960
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#calss header class _ZOOLOGISTS(): def __init__(self,): self.name = "ZOOLOGISTS" self.definitions = zoologist self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['zoologist']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e56b25cff63a25e70c4cdee0e6b01b2051686c7b
d6977cd01645d5259c4e33d8885ae279695d59fa
/django_tutorials/Django1.8Pro/mypro/mypro/settings.py
105f0902e48e1cf21ce668b3693c4d6029131ac0
[]
no_license
Jadatravu/Tutorials
092cbea55a4906e5968037915caa29698270397f
b07262c46dd997ee43260ea006a7010644f95650
refs/heads/master
2021-01-17T13:11:21.119328
2019-11-01T08:49:53
2019-11-01T08:49:53
14,251,990
1
4
null
null
null
null
UTF-8
Python
false
false
3,477
py
""" Django settings for mypro project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths in...
[ "ubuntu@ip-172-31-35-183.us-west-2.compute.internal" ]
ubuntu@ip-172-31-35-183.us-west-2.compute.internal
6559913c8662fc497e27f7cebfb1cbc71854dcb1
4d83dbfc94ba1b0f098f990a1790df36fda66628
/Practice/pytorch_tut/pytorch_BatchTraining.py
bef2d35ff85610df1e529dc104d6cbd9b33a09c6
[]
no_license
CTM-development/ML4B
31dfff27796ebfbeefe40f5eb687eb94d5c88acf
38a9de7a63bfd4fe77d4bb6af3e228f6dcfbe7f7
refs/heads/main
2023-05-08T09:42:17.604282
2021-06-01T18:12:01
2021-06-01T18:12:01
371,355,130
0
0
null
2021-05-31T17:45:58
2021-05-27T11:49:51
null
UTF-8
Python
false
false
1,467
py
''' epoch = 1 forward and backward pass of ALL training samples batch_size = number of training samples in one forward& backward pass number of iterations = number of passes, each pass using [batch_size] number of samples e.g. 100 [samples, batch_size=20 --> 100/20 = 5 iterations for 1 epoch ''' import torch import to...
[ "christopher@mminderlein.de" ]
christopher@mminderlein.de
41b90ed3b74875084c2c3186f9d9abf696281e63
85eb042f8370100b3bccbfc247746df3ddbbefa3
/data_control.py
6fe1a1e255788a0b67a010832e599db14f9b8962
[ "MIT" ]
permissive
mic100/seloger.com
eda05f563bd6a8576f540bf4e393cae3ccba6ad1
c713c09783e74846b1ac73ea9cc6cfcddf0cc331
refs/heads/master
2021-01-10T20:47:22.297843
2015-10-30T21:01:05
2015-10-30T21:01:05
27,082,632
0
1
null
null
null
null
UTF-8
Python
false
false
19,165
py
# -*- coding: utf-8 -*- #-----------------------------------------------------------------------------# #!!!! # # # #please note the code is not up to date. It may not wor...
[ "mic100@hotmail.fr" ]
mic100@hotmail.fr
b2ecd23d0488f2b3bea55b15c9d3b6bc34e739ab
98e7edf7a3f834580ba6a3c1058506e5a773d1bb
/fileHandling.py
b4d3e6ae4d6684d77027c28ed20cabc3eedba404
[]
no_license
gauravhansda/InterviewQuestions
ef95363440d9eb0057ab0551f155793ea3e5e3b0
5134c59d3d543982a30465d7d4eaa1c8902185e2
refs/heads/master
2021-01-01T17:07:11.537838
2017-07-22T02:31:23
2017-07-22T02:31:23
98,001,531
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
class FILEHANDLING(): def __init__(self): self.file_name = "file.txt" # Remove blank lines from the file def remBlanks(self): with open(self.file_name, 'r') as inp: lines = inp.readlines() print lines with open("out.txt", 'w') as out: for line in lin...
[ "GauravHansda@Gauravs-MacBook-Pro.local" ]
GauravHansda@Gauravs-MacBook-Pro.local
267e66a7d5ee24cddd6245f2bb5aaf4c8f0bee87
4d051a2875532ee9825559261927218bbac3dbf4
/src/arm/joint/__init__.py
c5d36d433fbcca594e664ed8910fe826eec87b91
[]
no_license
swol-kat/Arm_Code
4554b9f79460929515dc4e5c0dc7f0b7b23985da
389a8fe4875c6ab90e2ec79dedf445088b21c855
refs/heads/master
2023-04-11T11:06:38.759482
2021-04-23T00:28:15
2021-04-23T00:28:15
335,827,731
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
from .joint import Joint from .virtual_joint import VirtualJoint
[ "arjungandhi06@gmail.com" ]
arjungandhi06@gmail.com
c148d463b278c19a66dbc6bfe9f7997cdb5d3cb7
e517fcf60b982bb843ae846fa881102d504c368c
/poncho/postprocess/prepare_data.py
e6bf2e27d2a127b733c008f9ca472b820e8fb482
[ "MIT" ]
permissive
waduhek/poncho
b79aa9087faf9809872eeb6a36a21de3e34bb5d8
47a8f2600d1afcfb8f9fa76ff0c68eb9f132f56c
refs/heads/master
2020-04-17T15:14:31.865951
2019-04-19T09:24:54
2019-04-19T09:24:54
166,690,766
4
1
MIT
2019-04-19T06:35:26
2019-01-20T17:45:39
Python
UTF-8
Python
false
false
1,916
py
import os import time from datetime import datetime import pandas as pd from poncho.utils.get_base_dir import get_base_dir def main(unique_years): (BASE_DIR) = get_base_dir() # Log file log = open(os.path.join(BASE_DIR, 'data', 'logs', 'train_{}.txt'.format(str(time.time()).split('.')[0])), mode='a') ...
[ "ryannor56a@gmail.com" ]
ryannor56a@gmail.com
9ec2452996d72632a51586c21518412a127f1081
95a9ee042c6d0aa9cc5ee44c6b9317a10e7b02ee
/day07/python/day07.py
4b491ffdeb3195bf4f11b03bf979dea285e470e7
[]
no_license
ochronus/advent-of-code-2019
4e273a236a801cffc347c419d408ebd717366f7f
ba47c63913c6b85953d04eaad15f8fac56ed1c5b
refs/heads/master
2020-09-21T13:32:51.679255
2019-12-13T06:05:08
2019-12-13T06:05:08
224,802,962
3
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
from itertools import permutations from queue import SimpleQueue from computer import Computer, HaltException def part1(program): phase_settings = permutations(range(5)) highest_output_signal = 0 for phase_setting in phase_settings: amplifiers = [] for i in range(5): amplifiers...
[ "ochronus@ochronus.com" ]
ochronus@ochronus.com
382ed93decb7215d582077e08f363fa17473c08f
dbb0a4d452ac0faf00411a09b7e32f13ffdb31e8
/tests/ssh_test.py
e2dda308c8bbe2ee15c26bb156ddb008f3404399
[]
no_license
koverman47/EGEN_310
3ef66b7fb773b4e5fb833c250c87c7cf4fc84d49
f69e292baa48bca441dd0f7d9ba7789db417d42a
refs/heads/master
2020-04-18T00:39:47.999960
2019-04-24T20:14:44
2019-04-24T20:14:44
167,086,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
#!/usr/bin/env python3 import paramiko import sys import tty import termios # RPi Zero w SSH Credentials host = "zeropythirty" ip = "10.152.247.52" user = "pi" passw = "pi" # Establish SSH tunnel try: ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect(hostna...
[ "knoverman@comcast.net" ]
knoverman@comcast.net
f32e1d9a57e44c6badf99051fc94750d8a7f23e3
0c4d481936c5cde601e3b9d6c7e83b8e70ba9fae
/.history/train_search_param_20201009092152.py
12cf377b195daa81cd3800b44ababebd327c74c8
[]
no_license
CGCL-codes/PDAS
7d98afaf60abe7ce3075e80125d98e51d92f42f0
578011f738f2418fe5be2dd38eb819566e7fc3bb
refs/heads/master
2023-05-08T03:26:56.450175
2021-05-27T02:50:38
2021-05-27T02:50:38
371,215,287
1
2
null
null
null
null
UTF-8
Python
false
false
17,688
py
import os import sys import time import glob import math import random import logging import numpy as np import argparse import torch import torch.nn as nn import torch.nn.functional as F import torchvision.datasets as datasets import torch.backends.cudnn as cudnn import torchvision.transforms as transforms #from res...
[ "1300302496@qq.com" ]
1300302496@qq.com
0605bbf65a547de08887585ef7e0fee02b015ac9
0ceabf1234cc921e1cd81c4290168b2f770d1aa1
/home/migrations/0004_auto_20200521_1808.py
688eb628541e321563fd3ab8a77d25d3bc2a9478
[]
no_license
deekhari00716/Doctor-s-webstite
f4cdf915fbda676a17efd8db94712dbe0456d0b4
78f5e671277f041d21f362f267d5b9c893caf50c
refs/heads/master
2022-08-18T16:31:28.691028
2020-05-23T13:02:47
2020-05-23T13:02:47
266,334,136
1
0
null
null
null
null
UTF-8
Python
false
false
423
py
# Generated by Django 3.0.3 on 2020-05-21 18:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0003_project_date'), ] operations = [ migrations.AlterField( model_name='project', name='image', ...
[ "deekhsri00716@gmail.com" ]
deekhsri00716@gmail.com
5a8680c24a91be453228f2818013da9f4dc66067
05dc7b4b44200cc022b09f773dd868049ecfb3e1
/rss/admin.py
c0a8c6aaa5087612094e649d116e9e1783bec26f
[]
no_license
micah66/rssFeed
e7cea9a3f68713585990aaa039ff80c289d01e75
0b17f3d13333bf7e6eae182fdeb6bc565ef8977a
refs/heads/master
2020-03-21T12:44:29.659306
2018-06-28T08:52:45
2018-06-28T08:52:45
138,569,472
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
from django.contrib import admin from .models import Headlines # Register your models here. admin.site.register(Headlines)
[ "micahgordon66@gmail.com" ]
micahgordon66@gmail.com
6edc845cb4ebc87b7e5081731b569ca3d83813bd
f876ed037442b60e964bb53e4a0cc7e14818a746
/rnn.py
54a32e964cce09e970934f341f7459084c3d9bde
[]
no_license
shksa/cs231n-Assignment3
b08913353372575ff8b04552387008b91e6a0a06
528581fdd47471390fcd95a79b626a0a738c9b58
refs/heads/master
2021-01-20T12:42:09.528428
2017-05-05T16:44:33
2017-05-05T16:44:33
90,397,008
0
0
null
null
null
null
UTF-8
Python
false
false
16,020
py
import numpy as np from cs231n.layers import * from cs231n.rnn_layers import * class CaptioningRNN(object): """ A CaptioningRNN produces captions from image features using a recurrent neural network. The RNN receives input vectors of size D, has a vocab size of V, works on sequences of length ...
[ "noreply@github.com" ]
shksa.noreply@github.com
1fe280eafbf7f4ca37046d98d4cf1d1ae08472ed
18059513f87f1adc5cae34ac74bd89835c4f6816
/Deck_of_cards.py
8bdec654c96079de29cafccbb7c1c2ada8122edc
[]
no_license
PrzemyslawMisiura/Deck_of_cards
fcdc6d47ba10d352d7e29005d4b6ef23734870bf
ed0f941ec4456dc2435c87f1f8a111db43549861
refs/heads/master
2020-07-17T23:32:25.635935
2019-09-04T10:35:00
2019-09-04T10:35:00
206,124,434
0
0
null
null
null
null
UTF-8
Python
false
false
2,953
py
# Specifications # Card: # Each instance of Card should have a suit ("Hearts", "Diamonds", "Clubs", or "Spades"). # Each instance of Card should have a value ("A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"). # Card's __repr__ method should return the card's value and suit (e.g. "A # of Clubs", "J of ...
[ "przem.misiura@gmail.com" ]
przem.misiura@gmail.com
f6b693f1370e3d80c736a6b08d507d671d4a8bc5
008c065391d766fec2f2af252dd8a5e9bf5cb815
/Even Matrix.py
7e545a6a78adeb1c5ec75a406ef4644cbe57e481
[]
no_license
22Rahul22/Codechef
b261ab43ff5ff64648a75ad1195e33cac2cfec52
1f645c779a250a71d75598e1eabad7e52dd6b031
refs/heads/master
2022-11-29T21:51:09.578798
2020-08-19T06:20:23
2020-08-19T06:20:23
288,650,009
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
t = int(input()) for _ in range(t): n = int(input()) arr = [[0 for i in range(n)] for j in range(n)] sr = 0 er = n sc = 0 ec = n z = 0 num = 1 if n % 2 == 0: x = n // 2 else: x = 1 + (n // 2) while z != x: j = sc while j < ec: arr[s...
[ "rahulbhl22@gmail.com" ]
rahulbhl22@gmail.com
a26d87e83ed554ff4bfb8c5fe46b37fc647dc7a7
24cf672d6f5d8f43b42a847d0537e2feb38729c9
/SSModel/InternalSSClassifiers/BERTModel.py
cf423b5df71bfe2f145b1cfe985d4fe5c78849ff
[]
no_license
chris414862/LiSSA
0ffe7670a432d6ee657c73b13dc9c63f8a32aa02
63bb3bfeed462453cda97d88f3f8b30d113d252d
refs/heads/main
2023-09-05T03:16:22.935872
2021-11-10T17:45:27
2021-11-10T17:45:27
327,984,243
1
0
null
null
null
null
UTF-8
Python
false
false
12,413
py
import torch import torch.nn as nn from transformers import BertModel, BertTokenizer from SSModel.InternalSSVectorizers.BERTVectorizer import BERTVectorizer from SSModel.ModelInterface import Model from SSModel.VectroizerInterface import Vectorizer from transformers import AdamW import pandas as pd from utils.A...
[ "chris414862@gmail.com" ]
chris414862@gmail.com
dec87b22a15123ba554802e7dab90b8df69397a1
1a375cf927f2ffd33ef9087637d04ce6c83de566
/demo/backtest_f/main.py
bbb8fbc0b513361127ffd2d557cb3e313cb85193
[ "MIT" ]
permissive
lgh0504/snake
af2bd25642f57a35442cfd41161d489db12019b9
0fd9929995327a1c23486c0dbc5421e18791eb88
refs/heads/master
2023-03-18T18:13:53.237850
2017-12-18T01:48:43
2017-12-18T01:48:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# coding: utf-8 from datetime import datetime import pandas_datareader as pdr from f.portfolios import MarketOnClosePortfolio from f.strategy.ma_cross import MovingAverageCrossStrategy # from f.strategy.random_forecast import RandomForecastingStrategy def run_backtest(symbol, date_range=(datetime(2016, 8, 29), date...
[ "lbj.world@gmail.com" ]
lbj.world@gmail.com
4e6b2f5305a95ee8bd724518db163a25821cd145
6e637218f6bb9c9e9ede685665c47c655ee73c35
/addon/addon_dependencies/mod/46461-46487M/space_userpref.py
269ef41ed1fbed76e8c66c1294cc764d6828a137
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
littleneo/Blender-addon-dependencies
e5ffeff27e8f26b7f184c59fa70690f60f952167
cafd484ec42c3c5b603de7e04442a201f48375ea
refs/heads/master
2020-05-27T17:41:38.494409
2012-08-20T16:05:05
2012-08-20T16:05:05
2,091,693
1
1
null
null
null
null
UTF-8
Python
false
false
40,958
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "jerome.le.chat@free.fr" ]
jerome.le.chat@free.fr
29459d2f2495bd6eabb00953ccd6e2064a3749f5
d82a8844c7d46c752e567cca41a8ae1c15c975f7
/API/urls.py
aaae4d1d1c0b11959a544fed6876085e896c1700
[]
no_license
golammahmud/job_evaluations_project
f1be9f8f8b27c0f9db6539294ccff25254ff08f3
fe362f2d6bc57e1d550c39263312ef046eb7754c
refs/heads/master
2023-08-04T10:20:59.442703
2021-09-27T02:31:03
2021-09-27T02:31:03
410,347,863
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.contrib import admin from django.urls import path,include from rest_framework import routers from .views import UserInputView,UserBasedInputView from rest_framework_simplejwt.views import TokenObtainPairView,TokenRefreshView router=routers.DefaultRouter() router.register('all-userinputs',UserInputView) r...
[ "golam.mahmud99@gmail.com" ]
golam.mahmud99@gmail.com
bec4636056c0dc596b344cbdca2e4857ec559ff4
41299f375dbd79fc6e1163333de11a27623ab7fd
/server/dbpedia/__init__.py
cc74d451e46371ba2a1e49114ba091f920692a32
[]
no_license
MatrixReloaded/ArtViz
b18315562f30e2f0388d824ee9fcdf02fcca3591
b479079287a4e3f82fb1e6f9b1b223ef977af73e
refs/heads/master
2021-01-14T09:45:47.122465
2015-10-03T17:02:31
2015-10-03T17:11:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
""" DBpedia quepy. """ from basic import * from people import * from BasicQuestions import *
[ "oana.balaceanu@ymail.com" ]
oana.balaceanu@ymail.com
0873be18a9c6f1322e01559626604b34c5ef88c1
fea6ceb798d612368a27888e6490b4f91c04384f
/continue.py
bdfc1b2cc6ab4f708e4b8266f81d187ed8caf26f
[]
no_license
neogeolee/PythonWorkspace
b4a8d8cf0ef451bf3bc0e00ccaecaf48253bc0b8
f8b9aff2ce821142990acac1cd2406bbe140ab4b
refs/heads/master
2022-12-17T11:30:29.974230
2020-09-22T16:28:58
2020-09-22T16:28:58
297,708,060
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
absent = [2, 5] # 결석 no_book = [7] # 책 안들고 왔음 for student in range(1, 11): if student in absent: continue elif student in no_book: print('오늘 수업여기까지 {0} 개새끼야 따라와'.format(student)) break print('{0}, 책읽어라'.format(student))
[ "neogeolee@nate.com" ]
neogeolee@nate.com
f7863d8927d006aaf6bb1f2450af7fe6550ab070
e34d4bf879910b8f41068c1efb90915897e53d53
/system_design_ladder/GeoHashII.py
b15bec1dd5ca21a631b684b5a96092a0772cec5f
[]
no_license
ZhouningMan/LeetCodePython
6cfc30f0b76f6162502410fef5639fde4801bd74
cad9585c440efb329c9321648f94c58ded198438
refs/heads/master
2020-12-10T03:53:48.824344
2020-01-13T02:29:02
2020-01-13T02:29:02
233,494,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
class GeoHash: BASE32 = "0123456789bcdefghjkmnpqrstuvwxyz" """ @param: geohash: geohash a base32 string @return: latitude and longitude a location coordinate pair """ def decode(self, geohash): binary = self._to_bin(geohash) lon_bin = [binary[i] for i in range(0, len(binary), 2)...
[ "linfenglee321@gmail.com" ]
linfenglee321@gmail.com
5e6f288758fa99fdf7f7a34041decfca9b7f7f42
dac906538145808a71e94e030d63c6f20753977a
/webapp/models.py
1816f0d14f43481ce923fe42af4e351a6fad5b98
[]
no_license
nikofil/NMProject
3a0846b72cf66afb140feff9674d053e144f8087
150971c67e509b2bdc874b85c1f6abda4e27c793
refs/heads/master
2020-12-31T05:24:39.311930
2015-07-01T10:16:26
2015-07-01T10:16:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,832
py
from django.db import models def toint(x): try: return int(x) except ValueError: return -1 def tofloat(x): try: return float(x) except ValueError: return -1.0 class BaseStation(models.Model): # describes a base station record rid = models.IntegerField(defaul...
[ "aesmade@gmail.com" ]
aesmade@gmail.com
8dbfd84f504b14bdf50f58fb927e9dff65dae76d
4714f19916c27a49d3a29f9bd96bdf92ca5affea
/extensions/sympyex/__init__.py
223f96e875e112503e4003a6481b283447616b09
[]
no_license
Sroka/jupyter_maths
803c6834eff5186f8262cbc5246c9aca80dbec41
81c385cceae192c23f3c33ccb203708b7fe349d6
refs/heads/master
2020-03-22T08:11:20.482729
2019-03-03T10:19:31
2019-03-03T10:19:31
139,750,821
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
from sympy import Expr, Equality, latex from IPython.display import display, Latex def expressionEqualityExtension(self: Expr, function): return Equality(self, function, evaluate=False) def latexify(self: Expr, mode='plain'): return latex(self, mode=mode) def latexify_inline(self: Expr): return latex(...
[ "srokowski.maciej@gmail.com" ]
srokowski.maciej@gmail.com
1c2f7f5a73f04021dcfaf564920e8a0ffd7f0374
93c43eb538a14261f1af29e91d1770a99184eb82
/adding milk routes v2.py
8b5e441034fca3677075ea48e0b054e984fc133c
[]
no_license
VS-DavidSouth/FMD_Truck_python
e61bc0c2b278ee52a8848b5eed457ce7c1c775b0
6d241f454379936b7192d2422db19bc507d09e1c
refs/heads/master
2020-03-27T05:41:15.030656
2018-08-24T21:03:56
2018-08-24T21:03:56
146,039,869
0
0
null
null
null
null
UTF-8
Python
false
false
3,383
py
#adding milk routes v2.py #Created by David South -- Last updated: 6/1/17 #Adapted from "adding routes v3" for the Feed Truck Model #Purpose: to create a Feature Class for each region with a specific number #of blank rows with specific fields that will be used to make routes in the VRP #(Vehicle Routing Problem) in the...
[ "12001003523326@FEDIDCARD.GOV" ]
12001003523326@FEDIDCARD.GOV
30afeecf7a442f626392bcc9b54728254bb8a8be
60d5ea4f007d49768d250ef394003f554003e4d0
/python/Linked List/142.Linked List Cycle II.py
dec51f534aabccb931d8e8932d39d11aac643c6f
[]
no_license
EvanJamesMG/Leetcode
dd7771beb119ea1250dbb3b147a09053298cd63b
fa638c7fda3802e9f4e0751a2c4c084edf09a441
refs/heads/master
2021-01-10T17:11:10.896393
2017-12-01T16:04:44
2017-12-01T16:04:44
46,968,756
5
1
null
null
null
null
UTF-8
Python
false
false
1,911
py
# coding=utf-8 ''' Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. ''' # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None ''' 使用快慢指针。若链表存在环,两指...
[ "Evan123mg@gmail.com" ]
Evan123mg@gmail.com
1b464ae08fac263159c6d7d58623f8f8b5db8153
2e3f7b74e5e14eb9b12d316f609c3f057de1e845
/ka_kun_blog/forms.py
92a17c224684df6f4661e7cfab7160cff51c5071
[]
no_license
katsuhikonakano/blog
edf3de81b1cfe45d2739fa55375bafbf326a0263
2c46d7e8b7044b1ab05ba9c9e595f9d4861b2674
refs/heads/master
2021-03-08T08:46:11.347696
2020-07-27T03:36:39
2020-07-27T03:36:39
246,260,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
from django import forms from .models import Post from django.forms import TextInput, Textarea, FileInput, Select, SelectMultiple from django.contrib.auth.forms import AuthenticationForm class PostForm(forms.ModelForm): class Meta: model = Post fields = ["title", "content", "thumnail", "image", "c...
[ "katsuhiko1211@gmail.com" ]
katsuhiko1211@gmail.com
ade97c5dd853443919aed5d2d9e2775c257ab39f
b7c788979e8f0f7cb9283874e46f9ec12d13819c
/app/Member.py
f035869d4271d59c55940c97a23e3e716c457110
[ "MIT" ]
permissive
luwoldy/masonite-wcv
457ba95c7722f1434e35b31973f5b89102ce5434
c520f8b30c1775b3e337c3fa63ae8f08c1b0adf4
refs/heads/master
2023-01-09T05:34:49.048144
2019-12-20T02:55:54
2019-12-20T02:55:54
210,762,211
0
0
MIT
2023-01-04T11:19:06
2019-09-25T05:26:03
CSS
UTF-8
Python
false
false
110
py
"""Member Model.""" from config.database import Model class Member(Model): """Member Model.""" pass
[ "leul.woldeab@gmail.com" ]
leul.woldeab@gmail.com
c4cf2cde8e5feb6718ee02fd9cd86914090cb1ec
55d9fd08d587c7a724a41c447bf7f57252788f5b
/lfp_causal/meso/stat_easy_vs_hard.py
3f46205f09f1dcec82319ae802294193264b9147
[]
no_license
StanSStanman/lfp_causal
1f400b5d5da285eacc273e04ecd2fcc4ee274bc6
832c22dd16aab5650355b58b96dbd3743805f640
refs/heads/master
2022-05-10T03:03:28.256695
2022-04-21T14:38:01
2022-04-21T14:38:01
176,560,264
0
0
null
null
null
null
UTF-8
Python
false
false
11,952
py
import os import os.path as op import xarray as xr import numpy as np import pandas as pd from frites.dataset import DatasetEphy from frites.workflow import WfMi from itertools import product from research.get_dirs import get_dirs from lfp_causal.IO import read_session from lfp_causal.compute_bad_epochs import get_ch_b...
[ "ruggero.basanisi@gmail.com" ]
ruggero.basanisi@gmail.com
a8f1f9f4f7be1763c648b87bb38cc25de8b350de
d9b698e156c15bdc3da2190d20529e0acdf24190
/entregable/script2.py
096bd5a6367f2b9e6bbe68b8be07dccec8ddcfce
[]
no_license
turtlean/sistemas-tp1
dc2fda54adb331a46962a59adc5867cc071f6e70
e0769d4234fb412cd9ca8c860f5bdf969155cf28
refs/heads/master
2021-05-27T06:29:31.538873
2013-11-19T01:30:58
2013-11-19T01:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
#! usr/bin/python from matplotlib.pyplot import * import sys import time import os import math import matplotlib.pyplot as plt #./simusched <lote.tsk> <num_cores> <costo_cs> <costo_mi> <sched> [<params_sched>] os.system("rm -rf experimento") os.system("mkdir experimento") #for plotting ywt=[] #waiting times yta=[] #...
[ "martin@martin-pc.(none)" ]
martin@martin-pc.(none)
5e9e166be4bb079b5d0ce28085ede2532003ca6d
0428aa38f62004e25134596c30280fa038f65f1d
/trigger_lambda_on_s3_put.py
2ad68100488a42aaddafb2351b57700f48d7b608
[]
no_license
smusongwe/s3
fa762c1f4b62895a0c93055dbce7a2dd6ffef38c
540aa034fd0afbe30b998b60db7ab6efaf8063d4
refs/heads/main
2023-01-19T03:25:22.171853
2020-12-01T00:34:29
2020-12-01T00:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
import json import urllib.parse import boto3 print('Loading function') s3 = boto3.client('s3') def lambda_handler(event, context): #1 - Get the bucket name bucket = event['Records'][0]['s3']['bucket']['name'] #2 - Get the file/key name key = urllib.parse.unquote_plus(event['Records'][0]...
[ "noreply@github.com" ]
smusongwe.noreply@github.com
4cb017fbd99c77bd3a84cd8f89a44b62c7d24911
953eb11091193b2668cb71dd225ac80d86da0bc2
/src/meron_background.py
2d37a0076c413ed48a4322d583b0e2c2c6ad3a3f
[]
no_license
haugstve/use-watson-ml-python
e9f750a1daa85ba9f83b83d9690d95d1beeb3c9c
6fcb2a2059c050de41286bdec90619f61e0fffa6
refs/heads/master
2020-08-10T14:21:14.586297
2019-10-11T11:34:25
2019-10-11T11:34:25
214,359,235
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
import schedule import time import random import json from think_meron import aim_token, evaluate_meron_model from path import processed_data_path, root def job(): data_path = processed_data_path / 'payloads_meron.json' with open(data_path, 'r') as f: payloads = json.load(f) token = aim_token() ...
[ "daniel.haugstvedt@gmail.com" ]
daniel.haugstvedt@gmail.com
280a05ec34f5669a8ef15a8fd75fa5be7a8a3981
723c3e005d76db1cdc706b2169cc6cc441974201
/PDF_Sales/Old_files/PDF_IND_Dates_Old/PDF_IND_Dates_2.py
67caa425edbe7d0d1ed6ae4c752ca3cda8b8e0e1
[]
no_license
GolovanPriherel/Python_Projects
0b801d753efabbe0ca4a0d47bd532cc316024799
6108e10cefb05d521f8b4969fed57e92f61ab753
refs/heads/main
2023-08-28T10:59:35.320556
2021-10-13T20:44:33
2021-10-13T20:44:33
416,886,169
0
0
null
null
null
null
UTF-8
Python
false
false
5,909
py
import re, fitz, pytesseract, urllib.request # ---- Работа с PDF from PIL import Image # Шаблоны поиска patternsIND = [' IND ([0-9,]+)', ' IND Number.([0-9,]+)', ' IND No. ([0-9,]+)'] patternsINDDate = ['IND\D{4}(\d{1,2}.\d{1,2}.\d{1,4})', 'IND \d{5,6}..(\d{1,2}.\D+.\d{1,4})', 'IND\D{4}(\d{1...
[ "noreply@github.com" ]
GolovanPriherel.noreply@github.com
ef2e1856553562a52e2e69951f8546c91328ccd8
5c41073897f791bc6915c874a9304d7d7f6c13db
/gravitate/domain/bookings/view_mediator.py
853566c6ab0c9429b78407c69be23fce3ed1e7bc
[]
no_license
billyrrr/gravitate-backend
5c8ce8b95607b06bd2d850b085e9129d9dc8632b
f1e98f0002046cb4c932f9f1badbdf2eb8af92d1
refs/heads/master
2023-05-11T10:58:07.871694
2020-05-07T23:04:50
2020-05-07T23:04:50
156,035,235
0
0
null
2020-01-19T02:32:39
2018-11-04T00:19:16
Python
UTF-8
Python
false
false
4,130
py
import time from flask_boiler.utils import snapshot_to_obj from flask_boiler.view.query_delta import ViewMediatorDeltaDAV, ProtocolBase from google.cloud.firestore import DocumentSnapshot from gravitate import CTX from gravitate.domain.user import User from . import RiderBooking, BookingStoreBpss, RiderTarget, RiderB...
[ "billrao@me.com" ]
billrao@me.com
6ffd2e78972b8fd0b9f8b3259fae0c6b13ecaf63
0f3c7d268349336160d592eaa3acf56a1bb12cc2
/reports/ISOPE_outline/create_latex_report.py
42c30523f9cc8383a9d80aa0358fe68d4ba36499
[ "MIT" ]
permissive
ramisetti/Prediction-of-roll-motion-using-fully-nonlinear-potential-flow-and-Ikedas-method
ac0f7eac820e5f381d1073bd52556ac313026727
cce8abde16a15a2ae45008e48b1bba9f4aeaaad4
refs/heads/main
2023-05-19T05:54:41.448268
2021-06-11T09:48:15
2021-06-11T09:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
import os.path from src.notebook_to_latex import convert_notebook_to_latex import reports notebook_path = os.path.join(reports.path,'ISOPE_outline','01.1.outline.ipynb') build_directory = os.path.join(reports.path,'ISOPE') if not os.path.exists(build_directory): os.mkdir(build_directory) skip_figures=True conv...
[ "marale@kth.se" ]
marale@kth.se
ea147069bc358894d57aadf2f0981d4f2f8e0902
8d6418d8f813961318a962638467cdea5adec882
/test.py
4e4d2e798b46c69735d1b4597e4283d944ae03bd
[]
no_license
demakaituan/code
6d7045d7a085ff843b636ecb3e88d9959f68d32e
6578bc0dbd7018449e9f8c83f4fc5304126036a6
refs/heads/master
2021-01-21T14:04:26.549322
2016-05-30T08:54:51
2016-05-30T08:54:51
54,120,862
0
0
null
null
null
null
UTF-8
Python
false
false
2,303
py
import unittest import seuif97 class Region1_Test(unittest.TestCase): def setUp(self): self.tab5 = [[3, 300, 0.100215168e-2, 0.115331273e3, 0.112324818e3, 0.392294792, 4.17301218, 0.150773921e4], [80, 300, 0.971180894e-3, 0.184142828e3, 0.106448356e3, 0.3685...
[ "599146992@qq.com" ]
599146992@qq.com
fe329d17aaaa67a21a1b92f02c926bb41085e379
28df0dfb458a3c0f37d5a597307017717f9b1cc3
/auth_utils.py
4880fdd53294b5dadd961c64186bd5575b88e666
[]
no_license
dagou1992/flask
5533aa7c48a98c561b4235cbfcc6675ebfd81471
67afd661e0d14a62c55789b844ae11e790ca531d
refs/heads/master
2020-03-24T00:02:55.456559
2018-07-25T08:12:49
2018-07-25T08:12:49
142,269,991
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# coding: utf-8 from flask_login import LoginManager, UserMixin from flask_login import login_user from app import json_response_error login_manager = LoginManager() def init_auth(app): login_manager.init_app(app) class User(UserMixin): def __init__(self, user): self.info = user def get_id(...
[ "jbq19920903@163.com" ]
jbq19920903@163.com
3393ba44a415f8540c1fe8973955eef2de703ff1
c211c25b0dde4435f09357880ac0db97c05fd9a7
/Spider.py
9575f749de3597014c98b646d7e53ddc7af3777c
[]
no_license
Monday666/maoyanSpider
2abfd912a56afeef9563b9f6f4e18b3377fc4c7f
68036975face7256d4b6286a325a28174943465c
refs/heads/master
2020-03-31T07:10:07.798737
2018-10-08T02:58:28
2018-10-08T02:58:28
152,010,437
1
0
null
null
null
null
UTF-8
Python
false
false
5,377
py
import requests from bs4 import BeautifulSoup import re import csv def Gethtml(url): """ 使用浏览器模拟的方式获取网页源码 :param url: 网页URL地址 :return:html """ # 将cookies字符串组装为字典 cookies_str = '__mta=208903469.1537876239606.1537966087518.1537966271718.11; uuid_n_v=v1; uuid=3851AE40C0B911E895764F985E386DE20...
[ "[18361233771@163.com]" ]
[18361233771@163.com]
baba79af33bbf688b0cc90d14d78060c6b946973
3a771b72dae1aae406b94726bcbcf73915577b18
/q56.py
e7701a5af9e0d8749ed043cc4977a73042423870
[]
no_license
SHANK885/Python-Basic-Programs
4fcb29280412baa63ffd33efba56d9f59770c9dc
157f0f871b31c4523b6873ce5dfe0d6e26a6dc61
refs/heads/master
2021-07-18T18:24:10.455282
2018-11-19T07:02:27
2018-11-19T07:02:27
138,009,231
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
unicodeString =u"Heello world" print(unicodeString)
[ "shashankshekhar885@gmail.com" ]
shashankshekhar885@gmail.com
41255f5976ab13155649263d540c618488794b94
08a329d07172a384be41eb58a0586032b18787d2
/if1.py
c5867a5c4dee5850f5bb2049812193dbe20c31e6
[]
no_license
atsuhisa-i/Python_study1
9bc39d058fe8bdd00adb35324758ad8fa08f4ca1
439a654f09e81208658355d99c8ce1c3cd4bcc4e
refs/heads/main
2023-04-06T12:44:12.099067
2021-04-14T13:24:56
2021-04-14T13:24:56
348,309,405
0
0
null
2021-04-14T13:24:57
2021-03-16T10:45:48
Python
UTF-8
Python
false
false
69
py
number = '123456' if number == '123456': print('1st Prize:Money')
[ "atsuhisa.1124@gmail.com" ]
atsuhisa.1124@gmail.com
6932b26cbfad7fb87ae3a6ac07694d091c54d719
e35594083b7dfc15a8e790efa26fc36ac264ccce
/pages/base_page.py
0583a1adc7f65adf2a1972a4236615998f514a99
[]
no_license
quiprodest/testauto-study-project
4f10bc8552fe8b8ca354bc856bab2ddcf76982e5
b338ea8d83dfa046c38507e2524e47431d172b26
refs/heads/master
2021-06-19T16:46:40.660719
2019-07-30T12:43:27
2019-07-30T12:43:27
199,621,325
0
0
null
2021-04-20T18:26:23
2019-07-30T09:35:41
Python
UTF-8
Python
false
false
496
py
from selenium.common.exceptions import NoSuchElementException class BasePage(object): def __init__(self, browser, url): # , timeout=10 self.browser = browser self.url = url # self.browser.implicitly_wait(timeout) def open(self): self.browser.get(self.url) def is_elemen...
[ "qui_p@tutanota.com" ]
qui_p@tutanota.com
6f54f5939a8fda03c24dfa9d9dbe33c08f498424
096ccaca86872b03a137edf58221413073d770cb
/helpers/24_web_apis_sources.py
0a219f85661a944bd17fb1db67075e5cf05ea372
[]
no_license
DH-heima/webscrapping
f142962b50deed2628052dd7a48098a4afbcbada
1dc8f81f45db0d4366391c3052c5ab36f4d4bc5d
refs/heads/master
2022-02-02T23:26:22.520064
2019-06-13T13:38:10
2019-06-13T13:38:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,587
py
import os # from ers import shops, COLLECTION_DATE, web_apis_traffic_sources_csv, web_apis_traffic_sources_aggregates_csv import os.path as op import numpy as np import pandas as pd BASE_DIR = "/code/mhers" WAVE_NUMBER = 8 shops = pd.read_excel(op.join(BASE_DIR, "ressources/ERS-referential-shops.xlsx"), index_col=No...
[ "pierre.chevalier@epitech.eu" ]
pierre.chevalier@epitech.eu
06b52d5b79166ba67bb054b31a199bbe635cff9f
62fb574c97c16645dc029b60014d48c88c1714df
/1 - 9/Problem 8.py
49ca444c85e1107eb2aadd0a38c01cab8f952d6d
[]
no_license
kadirsefaunal/projectEuler
ee16faf3161961d4f2adec2ad5466ed7b3127713
710ad4112a4d3b7350f33c206db8baa60b5cf9a8
refs/heads/master
2021-01-01T06:34:58.613504
2017-07-21T13:56:42
2017-07-21T13:56:42
97,455,744
3
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
def main(): sayi = "73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545950173795833195285320880551112540698747158523863050715693290963295227443043557668966489504452445231617318564030987111217223831136222989342338030813533627661428280644448664523...
[ "kadirsefau@gmail.com" ]
kadirsefau@gmail.com
08ca6256aa20cb142ea6d49f2471e8c6aa0fec33
9021d47bb5a47cfd6704161c7db43585808f1d2b
/application.py
fe6c6a5c21031d4afd693e55c450d5d1180a3606
[]
no_license
Mohamed24444/HW-todo-api
456d6ad4b4e75b0dcbc9e5c990703b0c9c961d83
9db9efb587c1bb7864893e5811eeda3416d1322e
refs/heads/main
2023-07-18T06:28:06.760694
2021-08-31T20:46:49
2021-08-31T20:46:49
400,887,854
0
0
null
2021-08-28T20:50:12
2021-08-28T20:50:12
null
UTF-8
Python
false
false
2,998
py
import helper from flask import Flask, request, Response import json application = app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello World!' @app.route('/item/new', methods=['POST']) def add_item(): # Get item from the POST body req_data = request.get_json() item = req_data['item...
[ "noreply@github.com" ]
Mohamed24444.noreply@github.com
9a21127696172a92f9de67e17b6cab869625b037
f25a62033ce864f9fd22cf85c9abf92a280fca01
/CodersLab/MSP/buffor_23.10.2017/workspace/SCIAGA/D8_MySql_laczenie_relacje/__init__.py
43f784fec55793c35338081529aea1f341bac558
[]
no_license
AleksandraSandor/Learning-Python
e397a68e2a3e1103e537016c65a280c6b9a1a90d
387befaadbb84a8d76961893208b504ddeccf0ce
refs/heads/master
2020-04-11T09:46:23.425149
2018-02-04T17:03:43
2018-02-04T17:03:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,407
py
# =============================================================================== # MySql laczenie relacje # =============================================================================== from mysql.connector import connect cnx = connect(user="root", password="1", host="localhost") cur = cnx.cursor() s...
[ "wojciech.gaudnik@gmail.com" ]
wojciech.gaudnik@gmail.com
39784b00ffbcca86d07d92e619feaf2a638306a7
ff81b6f0e467db2dde8afdf8370fae4bae179460
/flaskapp-docker/flaskapp/setup.py
d9ae9d271b4cf8c9b708fd4af8d5733387fb17a4
[ "MIT" ]
permissive
hammadyasir/my_flask_docker
c1ca66bf0be482de82e8fc4c9018fbb926524bc0
ca142c0bac4ff99e6765630fb4b38e09142fd30a
refs/heads/main
2023-06-27T06:28:02.711996
2021-07-22T14:03:46
2021-07-22T14:03:46
388,434,490
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from setuptools import setup setup( name='project', packages=['project'], include_package_data=True, install_requires=[ 'flask', ], )
[ "49805944+hammadyasir@users.noreply.github.com" ]
49805944+hammadyasir@users.noreply.github.com
8a53b8e8eadc3fdb0cd8371ce351adebce79def2
0fc6370708a3407255a667f29095e287db2fb454
/MockGvh/agentThread.py
fc31b2f25b3fd0f9404ea200f569b5ab4b715599
[]
no_license
jzw2/KoordLanguage
257af6a8175319cec5369126e168708bc5934baa
d0c56c0124c70e9dc61886080f09ffae7da9583a
refs/heads/master
2020-05-30T08:28:30.936176
2019-07-26T19:13:33
2019-07-26T19:20:40
187,888,056
0
1
null
null
null
null
UTF-8
Python
false
false
1,651
py
import random from abc import ABC, abstractmethod class Pos(): pass class AgentThread(ABC): def __init__(self, config): self._pid = config.pid self._num_agents = config.num_agents self._pos = (random.randrange(1, 10), random.randrange(1, 10)) self.shared_vars = config.shared...
[ "hc825b@gmail.com" ]
hc825b@gmail.com
f7e2098e769e91b1838c62aee43d87264b9aa9cb
052d6ac57f2026aba22249368149b18027c78342
/frontstage_api/resources/register/confirm_organisation_survey.py
6331b7150306a3ab3887cebaf9c1d5eb733780ca
[ "MIT" ]
permissive
ONSdigital/ras-frontstage-api
c34b41185cc825b49262c1879ad559778a54dbfc
7bb32a85868e2a241b8a0331b884155a36450669
refs/heads/master
2018-07-15T00:35:22.130352
2018-06-01T14:09:13
2018-06-01T14:09:13
105,001,932
2
1
MIT
2018-06-01T14:09:14
2017-09-27T09:54:26
Python
UTF-8
Python
false
false
1,917
py
import logging from flask import jsonify, make_response, request from flask_restplus import Resource, fields from structlog import wrap_logger from frontstage_api import auth, register_api from frontstage_api.controllers import case_controller, collection_exercise_controller, iac_controller, party_controller, survey_...
[ "noreply@github.com" ]
ONSdigital.noreply@github.com
6c47ab3f00e510c29034f7c38073fbb1375a1270
2672228cd79938f112802a7d3c6209e907c46935
/testsuite/tests/ui/devel/test_devel_smoke.py
3a477c44d2a2e96d67c821889012d437d2b338e3
[ "Apache-2.0" ]
permissive
Hchrast/3scale-tests
82233d4015fc5ec9f1cad82ce411e6d48f3c056f
ab64592f1438a6cb878b81897164a0e495fed961
refs/heads/main
2023-08-27T21:04:35.108744
2021-11-08T10:08:59
2021-11-08T10:08:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,672
py
"""Developer portal smoke tests""" import pytest from testsuite import settings from testsuite.ui.views.admin.audience import BaseAudienceView from testsuite.ui.views.devel import BaseDevelView, AccessView, LandingView @pytest.fixture(scope="module") def provider_account(provider_account): """Fixture returns Pro...
[ "jsmolar@redhat.com" ]
jsmolar@redhat.com
2c635e67dd79f81bcb26276f01d417fc9ebf8127
8baf2a9f9b11117e979b6629b8bbb8d7f3395f9a
/iohelp.py
eb5e6a94c52c9731850f20db1987bd588fbedb9d
[ "MIT" ]
permissive
holzfigure/hiveopolis_broodframe_background
b28de8b231e0299c886d8776e4e3ba18040dcc37
dfe89300c00b0d459f71132b464092ec5d1ce656
refs/heads/master
2022-03-14T06:57:51.939327
2019-11-27T06:19:26
2019-11-27T06:19:26
219,782,785
0
0
MIT
2019-11-05T16:31:46
2019-11-05T15:47:36
null
UTF-8
Python
false
false
22,641
py
#!/usr/bin/env python3 """A library of helpful functions. Notably to set up output-folders safely, with time-stamped copies of the source code included. holzfigure 2019 """ # import os # import csv import time import math import shutil # import argparse import logging import logging.handlers from path...
[ "daniel.hofstadler@uni-graz.at" ]
daniel.hofstadler@uni-graz.at
135b320f762c1a45836db74f49c2c6bc2fe6c8fe
d5ed53c58da60caba413869572f7c4abb0e5f666
/class_factorial.py
89845687e40e9b96da1996073fc246e5a315afcc
[]
no_license
Me-Pri/Python-programs
e8269f06ef30e7360fda1fa4398577d4845b8fa6
96fa0d17e4de4a21640105b6387a483de652987f
refs/heads/main
2023-01-31T14:04:33.327260
2020-12-17T06:38:54
2020-12-17T06:38:54
322,203,884
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
class factorial: no=0; fact=1; def input(self): self.no=int(input("Enter the no of terms: ")) def factor(self): for i in range(1,self.no+1): self.fact=self.fact*i print("The factorial of {0} is {1}".format(self.no,self.fact)) fac=factorial(); fac.input(); fac.factor();
[ "noreply@github.com" ]
Me-Pri.noreply@github.com
e1bb0830c777662e0bc15e9c46b3a760597a28be
1e710f5ddc4d4b89ff601412e4a7e97d92423fe3
/lesson_1/example_4.py
609ef451896008c74c8f80517aaf02d220e649b0
[]
no_license
Evgeniy-Nagornyy/Python_1
b8b176eafa83d7c7962ee244a9cecef4bbb0b601
8ce10ea075f5336460e85a6d75e89e28f377d19f
refs/heads/master
2022-10-22T09:23:52.062377
2020-06-10T13:27:23
2020-06-10T13:27:23
264,262,317
0
0
null
2020-06-09T23:32:21
2020-05-15T17:54:35
Python
UTF-8
Python
false
false
1,521
py
line_numbers = int(input('Введите положительное число - ')) check_number = line_numbers % 10 # Проверяемое число на максимум (очень не хватает цикла do while) check_line_number = str(check_number) # проверочное число для выхода из цикла max_number = 0 # Максимальное число i = 1 # счетчик для передвижения if line_nu...
[ "Evgeniy_kott@mail.ru" ]
Evgeniy_kott@mail.ru
94ebbf777a68a1f870eb8d7132960630fcd5f534
7573bbf969a0b90ba9015a35b0ab59c29db4688f
/architectures/cnn_utils.py
49b39fa00c4c11420eafaf715574aa4f712894ee
[]
no_license
Huetous/pytoss
525adf877e5b6d1e089e718a814d0645a2890b12
329ac86bc7f6289cba6e25c0b9df6cfc0eb00eb8
refs/heads/master
2023-05-05T21:26:13.495008
2021-05-27T02:30:42
2021-05-27T02:30:42
335,869,580
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
import torch.nn as nn def init_cnn(module): if getattr(module, "bias", None) is not None: nn.init.constant_(module.bias, 0) if isinstance(module, (nn.Conv2d, nn.Linear)): nn.init.kaiming_normal_(module.weight) for m in module.children(): init_cnn(m) def conv(n_in, nf, ks=3, str...
[ "daddudota22@mail.ru" ]
daddudota22@mail.ru
732875b53794690f71a61540b24b81ee5edee29e
75e2e9a6fcb2962a9502bf5c3237db35fd62d9da
/web_indexer_starter.py
a50c9220eb694b1f06745e40104181050539bf12
[]
no_license
undefinedobjects/web_indexer.py
6a41508fe050b58858b5e9645e41c7adde1f7f96
c031a29fd8ba7930b7be36bdcf1b9a3d1dc5c1a7
refs/heads/master
2023-03-02T23:28:24.635419
2021-02-15T11:21:51
2021-02-15T11:21:51
272,031,613
1
0
null
null
null
null
UTF-8
Python
false
false
199
py
import os for number in range(90,100): start = "172." + str(number) + ".0.0" end = "172." + str((number + 1)) + ".0.0" os.system("start web_indexer.py -s " + start + " -e " + end)
[ "noreply@github.com" ]
undefinedobjects.noreply@github.com
998358bbb4e00e3a37420a1318e0751c5ae23214
edeb309cefeddfaac8dbad653a71f32d97a29d35
/FireModules/Websurfing/google_search_deleting_files.py
f6540aeef174471b43e0493f53af5b2dd6897f27
[ "MIT" ]
permissive
alex14324/DumpsterFire
746c0b42734abb3a8539bdb96477d6a6488d3079
58a6b94d4beadb43776610bbb3bcb2a2416efe8a
refs/heads/master
2020-08-07T05:33:15.058377
2019-10-07T07:23:40
2019-10-07T07:23:40
213,318,310
0
0
MIT
2019-10-11T04:39:20
2019-10-07T07:15:49
Python
UTF-8
Python
false
false
1,270
py
#!/usr/bin/python # # Filename: # # Version: 1.0.0 # # Author: Joe Gervais (TryCatchHCF) # # Summary: # # Part of the DumpsterFire Toolset. See documentation at https://github.com/TryCatchHCF/DumpsterFire # # # Description: # # # Example: # # import urllib, time, random from FireModules.fire_module_base_class impo...
[ "noreply@github.com" ]
alex14324.noreply@github.com
b0e53f0386e068a848db093380db2c99a669e4ea
5f4cf695ffa0460aa42d245b77cbe273d249bd9c
/lists/tests.py
c23480c4e2089804ef59e85ce28fc7ffb23b2c88
[]
no_license
codebleeder/superlist
d616ad77f601ac28db9f075fb8f4547534927b27
fc850ab7d4f8bea90805a79117509726ae323192
refs/heads/master
2021-01-10T13:10:02.072566
2015-12-30T09:00:13
2015-12-30T09:00:13
48,778,923
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
from django.test import TestCase from django.core.urlresolvers import resolve from lists.views import home_page # Create your tests here. class HomePageTest(TestCase): def test_root_url_resolves_to_home_page_view(self): found = resolve('/') self.assertEqual(found.func, home_page)
[ "sharad.shivmath@gmail.com" ]
sharad.shivmath@gmail.com
97d8d09c16f1edd913cb3db8bb84efd98193c1b5
fb41b080244208be9aedfeed517c93289ca0ecca
/files/shop/migrations/0030_delete_kurs_d.py
f70850f386c5e18501cb5637dd5953982618d2a6
[]
no_license
EddieMorra/mebli
8824b7943f81a7738dea3f65397e97e9e98f0f62
a3b3ba7aa0abc82ab688f53263dd7a3a6164c1f6
refs/heads/master
2022-12-12T01:37:27.306728
2020-04-06T17:36:48
2020-04-06T17:36:48
253,088,733
0
0
null
2022-12-08T04:00:04
2020-04-04T20:03:54
JavaScript
UTF-8
Python
false
false
295
py
# Generated by Django 3.0.2 on 2020-03-28 02:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0029_remove_product_kurs_d'), ] operations = [ migrations.DeleteModel( name='Kurs_d', ), ]
[ "rom4egful@gmail.com" ]
rom4egful@gmail.com
d8cb4d738e3fca2d4ddb17040fa4fe5a789e0334
63e2bed7329c79bf67279f9071194c9cba88a82c
/SevOneApi/python-client/test/test_flow_falcon_visualization.py
51a57732e471078c158cccc29b73d4aae5586ecf
[]
no_license
jsthomason/LearningPython
12422b969dbef89578ed326852dd65f65ab77496
2f71223250b6a198f2736bcb1b8681c51aa12c03
refs/heads/master
2021-01-21T01:05:46.208994
2019-06-27T13:40:37
2019-06-27T13:40:37
63,447,703
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
# coding: utf-8 """ SevOne API Documentation Supported endpoints by the new RESTful API # noqa: E501 OpenAPI spec version: 2.1.18, Hash: db562e6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client ...
[ "johnsthomason@gmail.com" ]
johnsthomason@gmail.com
6464b7dec09ac442b5f4aa129661e465bc584d1b
bbd44d1f91bf1ed83778bf5086b9fa625794849c
/test2.py
69b16dc8ba9c36cb9c54fead66cd5bbe9fc83cc5
[]
no_license
hyperloop11/flask-blog
a1c1175653a2183285d737a119021a1ab6a72519
a701f3995a96da72da6dbff2c024265cc9438f35
refs/heads/main
2023-03-03T19:02:38.717568
2021-02-15T17:59:26
2021-02-15T17:59:26
335,084,219
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from test1 import age class Person: p_age = age def __init__(self, name): self.name = name
[ "shirin.kaul11@gmail.com" ]
shirin.kaul11@gmail.com
8b69611ea55eff694e4f24935e45e153a3593a8b
fbd9cf0b31e5d433b1d2d7dfe562a660d60d27de
/taskmanager_app/migrations/0001_initial.py
23410d47e27a30020cf91198ba0ddd1c98b785c6
[]
no_license
pragatisinghdev/taskmanager
b18c8f8323031e583a990aa62b0bc282a7f592c3
64daa154be39285996aeb4c94e58c01e49b5fbc6
refs/heads/master
2020-09-12T11:54:33.437867
2019-12-28T17:29:52
2019-12-28T17:29:52
222,417,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
# Generated by Django 2.2.5 on 2019-12-27 05:25 from django.db import migrations, models import taskmanager_app.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ...
[ "psingh@endosoft.com" ]
psingh@endosoft.com
60b4a65b29fce7b704390b16827b172a69b43b49
00105bf59b9f4b250fdcc33c01aef954173fd4a3
/7. Linear_Regression/Linear Regression.py
e7232e2263e99d9bae5b2ce670d43dccf0c8bd9c
[]
no_license
up-data-science/ML_1_Exercise
7305410e25b159813c70dc05141c9dee2f75b189
417ede59dd32370b30b0fc5b8305f71da6a5774d
refs/heads/master
2020-06-28T16:15:53.243595
2019-08-02T18:18:31
2019-08-02T18:18:31
200,279,229
1
3
null
null
null
null
UTF-8
Python
false
false
4,130
py
# coding: utf-8 # # Linear Regression # # In this tutorial we will implement a linear regression model. We will also implement a function that splits the available data into a training and a testting part. # # ## Problem Setting # # We will use the Boston Housing Dataset. This dataset contains information...
[ "noreply@github.com" ]
up-data-science.noreply@github.com
a507e0c2ed7cc0b1606723d494231252e4ea77cc
ef0f296e4615d3e2109e4b906a81cc4ba24b2b29
/fusuma/Fusuma/DataMan.py
b65f16ad2cf1119ad280760c9722ffb77933ba67
[]
no_license
hylom/fusuma
48504235db0fb086ecda3d711c510c700207fe42
0d776ae29f56826c33942fae17c45468b8353a09
refs/heads/master
2021-01-23T19:45:49.387978
2009-06-23T16:52:21
2009-06-23T16:52:21
159,778
1
0
null
null
null
null
UTF-8
Python
false
false
2,424
py
#!/usr/bin/env python ####################################################################### # This file is part of Fusuma website management system. # # Copyright (c) hylom <hylomm at gmail.com>, 2008. # # This file is released under the GPL. # # $Id: DataMan.py,v 1.1.1.1 2008/11/27 17:15:36 hylom Exp $ ############...
[ "hylom@users.sourceforge.jp" ]
hylom@users.sourceforge.jp
53afd2bce9ba50e5033d6390c1079e0d1ae46806
87eae6cd14dd360d6d8b8e78e6e1e9952d6cd0c1
/p5.py
424933937bbb58f010d4b44920badcd8fe10f517
[]
no_license
karthikgvsk/project-euler
afd8a62b6067d2236a9a6b58b0ed01c23136c5e3
01e562a97b5c9cd03e19fbea29a63fc0bfcaac46
refs/heads/master
2020-04-25T21:18:19.061986
2013-06-08T17:23:24
2013-06-08T17:23:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
#smallest multiple #2520 is the smallest number that can be divided by each of the numbers from#1 to 10 without any remainder. # #What is the smallest positive number that is evenly divisible by all of the#numbers from 1 to 20? from math import log def primelist(n): l = [0] * (n + 1) p = 2 while p <= n: q = 2 w...
[ "karthikgvsk@gmail.com" ]
karthikgvsk@gmail.com
a35d8d4bfeb2701f3c8a5b9ffc1d88786aa08395
41106cdb25e50720dd7e06c2a9cfea5928a42c6c
/scripts/convert/converter/convert_caffe2.py
17275491fa576107a2b251d691d776863ed6f85b
[ "Apache-2.0" ]
permissive
judgeeeeee/klever-model-registry
58edb1da904667d429bb35b3ebeaa3361e860364
7ae97a4babf0861132976494fc8ac04ca40d4af3
refs/heads/master
2023-02-22T22:47:01.736458
2020-12-03T06:25:24
2020-12-03T06:25:24
317,134,591
0
1
Apache-2.0
2020-11-30T06:46:06
2020-11-30T06:46:05
null
UTF-8
Python
false
false
1,877
py
import os import json import argparse import numpy as np import onnx import caffe2.python.onnx.frontend from caffe2.proto import caffe2_pb2 from .base_convert import BaseConverter INIT_NET = 'init_net.pb' PREDICT_NET = 'predict_net.pb' DEL_ATTR = 'ws_nbytes_limit' MODEL_NAME = 'model.onnx' def del_attr(netdef): ...
[ "noreply@github.com" ]
judgeeeeee.noreply@github.com
3bafddf779602141a9656eb0ef245fd5e9719bcd
f5752707e33e456adecb1f6f20f8bcb53f320adf
/Utility_Scripts/USGS2018_spectrum.py
f43787449ac48dd70da6ef41c4546f2c56eb2704
[]
no_license
alborzgh/Work_Scripts
4eb22f39d3ff1377a2f2fab629f65b359fda250a
7aa3a2e5853a4b5c050be72df3056c3fdf60dd6e
refs/heads/master
2022-12-06T08:48:50.673196
2020-07-15T20:06:36
2020-07-15T20:06:36
276,767,977
0
1
null
2020-07-15T20:06:37
2020-07-03T00:02:10
Python
UTF-8
Python
false
false
3,870
py
import numpy as np import matplotlib.pylab as plt from io import BytesIO from io import StringIO from zipfile import ZipFile from scipy.interpolate import interp2d from scipy.interpolate import interp1d site_classes = { 'A/B':{'Vs30':1500, 'name':'AB'}, 'AB':{'Vs30':1500, 'name':'AB'}, 'B'...
[ "alborzgh@uw.edu" ]
alborzgh@uw.edu
5038904bb1fd03747bf1c26a2daa2a87b5a5bcd8
fee88a67d4706bddb8999ce2701315c5f62f6e78
/onmt/modules/extensions/mlp/mlp_gelu.py
a1a1d998fa59cc0685f65e54bba7b2fe97e1aee0
[ "MIT" ]
permissive
Dan-hbd/NMTGMinor
5cade7d3b6de83cc45a618ab59420274bcd86f15
84e59ac8391ee78852d7c71afc60c3c8b8e3d44d
refs/heads/master
2023-05-30T16:22:58.148920
2021-06-15T14:28:48
2021-06-15T14:28:48
372,408,488
0
0
NOASSERTION
2021-05-31T06:44:22
2021-05-31T06:44:22
null
UTF-8
Python
false
false
15,164
py
from copy import copy, deepcopy import math import torch from torch import nn import torch.nn.functional as F import unittest from time import time import numpy as np import random import silu_cuda try: import apex.amp as amp from apex.amp import half_function except (ModuleNotFoundError, ImportError) as e: ...
[ "quanpn90@gmail.com" ]
quanpn90@gmail.com
6dd47cf9abf6588f76b33b1300c80b06fe34f86b
304e75224229786ba64c6ef2124007c305019b23
/src/easy/test_build_array_from_permutation.py
8fd8efbd03f279c3c5d2f1ed987d934e5687eadc
[]
no_license
Takuma-Ikeda/other-LeetCode
9179a8100e07d56138fd3f3f626951195e285da2
499616d07011bee730b9967e9861e341e62d606d
refs/heads/master
2023-04-14T06:09:35.341039
2023-04-10T02:29:18
2023-04-10T02:29:18
226,260,312
1
0
null
null
null
null
UTF-8
Python
false
false
637
py
import unittest from answer.build_array_from_permutation import Solution class TestSolution(unittest.TestCase): def setUp(self): self.nums = [ [0, 2, 1, 5, 3, 4], [5, 0, 1, 2, 3, 4], ] self.answers = [ [0, 1, 2, 4, 5, 3], [4, 5, 0, 1, 2, 3],...
[ "el.programdear@gmail.com" ]
el.programdear@gmail.com
e65ee592dfffea41e8966e5f2acf9d9b8c7f9a31
ee3ba2af93581aaca5a1393f3eb22fa794be2a12
/app/main/form.py
fa863b1c847180707fef5db9f10b6ed3d97e222f
[]
no_license
wbchief/myflask
303ed98c969c58a07953aa37c28f90ace3b9a284
a4d82bc80df84cb7e418058de3519c29e29db7f1
refs/heads/master
2020-03-30T23:48:10.771252
2018-10-14T09:56:17
2018-10-14T09:56:17
151,713,761
0
0
null
null
null
null
UTF-8
Python
false
false
2,266
py
from flask_pagedown.fields import PageDownField from flask_wtf import FlaskForm from wtforms import StringField, TextAreaField, SubmitField, BooleanField, SelectField from wtforms.validators import Length, DataRequired, Email, ValidationError from app.models import User, Role class EditProfileForm(FlaskForm): ''...
[ "712640388@qq.com" ]
712640388@qq.com
6e55abddbe446bbbe2e2f07ae0edd692a27197ed
b3ac12dfbb8fa74500b406a0907337011d4aac72
/goldcoin/full_node/weight_proof.py
c12b097a836dbee13ac9816cccf3f9361015586b
[ "Apache-2.0" ]
permissive
chia-os/goldcoin-blockchain
ab62add5396b7734c11d3c37c41776994489d5e7
5c294688dbbe995ae1d4422803f6fcf3e1cc6077
refs/heads/main
2023-08-11T23:58:53.617051
2021-09-12T15:33:26
2021-09-12T15:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
67,454
py
import asyncio import dataclasses import logging import math import random from concurrent.futures.process import ProcessPoolExecutor from typing import Dict, List, Optional, Tuple from goldcoin.consensus.block_header_validation import validate_finished_header_block from goldcoin.consensus.block_record import BlockRec...
[ "faurepierre78@yahoo.com" ]
faurepierre78@yahoo.com
393fe84cca759b9236a600d0c71f10ffda0a904a
fc78f7cfa4e63e5d6df787d4bd5ba58d50ac2895
/manage.py
81154eb46b1ff68007a6fa716702021e1dc4c026
[]
no_license
Erecik1/boostingweb
d608c109d61d4e2f0badd9af5477e10f4b780291
e0032c039b1a527dccc76a4b1cf5e04355001aa3
refs/heads/master
2023-08-01T03:43:19.992022
2021-09-22T22:03:19
2021-09-22T22:03:19
405,763,170
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tipsy.settings') try: from django.core.management import execute_from_command_line except Import...
[ "eret112@gmail.com" ]
eret112@gmail.com
81aee84f897fcf6c6ae6f9a8c473d7c9123dda6d
e6db96ae32326be9b448f4c3bff158a295036571
/tensorFlowStudy/classification_test.py
95c54c9b0eba777168868053a5ce2ffcab877578
[]
no_license
houweitao/TensorFlow
f2e65285f01b52df282bdecc2e01e2e30e3b9b43
d8a70592dde70e37f47aae2649b3003b746188f7
refs/heads/master
2021-01-12T14:59:27.935750
2017-01-13T07:48:34
2017-01-13T07:48:34
71,659,930
0
0
null
null
null
null
UTF-8
Python
false
false
2,046
py
# -*- coding: utf-8 -*- # _author_ = 'hou' # _project_: classification_test # _date_ = 16/10/23 下午4:15 # https://www.youtube.com/watch?v=aNjdw9w_Qyc&index=17&list=PLXO45tsB95cKI5AIlf5TxxFPzb-0zeVZ8 import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import add_layer as layer # data http...
[ "hou103880@163.com" ]
hou103880@163.com