blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
a51a9f3d61ffa012750a11b9bcaf25427fc2e27d
dd4fce1ca179d8839fa1488db446fbf01c0cb4db
/encoder.py
0191e0a57d378386df6dfa4dc94a3820748cd9c0
[]
no_license
anuragkumar95/VQ-VAE-ASR
0edbe33f46615b3d11187d6214b82fc0c34f113d
27aa31877da4add1f1b152bff7256b98ed1612d5
refs/heads/main
2023-03-19T12:26:49.165784
2021-03-12T19:53:16
2021-03-12T19:53:16
334,696,528
1
1
null
null
null
null
UTF-8
Python
false
false
1,014
py
import torch.nn as nn import numpy as np import os import sys from modules import Conv, Dense class Encoder(nn.Module): def __init__(self, in_dim, hid_dim, enc_dim): super().__init__() self.conv_pre = Conv(layers=2, stride=1, kernel=3, hid_dim = hid_dim, in_dim=in_dim) self.conv_strided = ...
[ "anurag.kumar@conversight.ai" ]
anurag.kumar@conversight.ai
ab7252cf2f4ea92b9651cd15783d6bb92f9d9695
53d11911c02f844900fdc4fd1d32ccb169a3210a
/Code52.py
cd5f56b17b626496924efc6d6c2c592e998d960b
[]
no_license
ANkurNagila/My-Code
a3dfe4fd675664b6a77ec0575c9594662b78fe83
d1ef620dac44b6ce4d7647e0eb3b258c330ae895
refs/heads/main
2023-03-22T01:31:01.045452
2021-03-19T04:56:22
2021-03-19T04:56:22
305,607,026
3
0
null
null
null
null
UTF-8
Python
false
false
154
py
f=input() count=dict() for j in ["L","R","D","U"]: count[j]=0 for i in f: count[i]+=1 x=count["R"]-count["L"] y=count["U"]-count["D"] print(x,y)
[ "noreply@github.com" ]
noreply@github.com
5f52032fad1c31a3e8ba3416eb706c807adfc9cc
9e6e522bf9dad3d51e086e627de53d019db39f1b
/info.cgi
da8f8561ff775895f4228e430e5aa43ceb6909f7
[]
no_license
poi890poi/dlearn
d4a14a6da474cd3f434df42b20901cd22ce152b7
325f6f83451bedc6f037fa84b32eb711acff93df
refs/heads/master
2021-05-14T03:17:08.744591
2018-01-18T06:36:24
2018-01-18T06:36:42
116,615,781
0
0
null
null
null
null
UTF-8
Python
false
false
128
cgi
#!/usr/bin/env python3 import sys print( "Content-type: text/html\n\n" ) print( "<h1>Hello World</h1>" ) print( sys.version )
[ "poi890poi@gmail.com" ]
poi890poi@gmail.com
c40971bed2f3a2cb9ad95eb910ccb95ea7bf4ebb
57552406ff80396c20745ba82a6d59868df3b0e0
/2014/demo.py
c186f6bbd32a7e8ba5c8668bd907ed042edc3bdc
[]
no_license
BARKTEGH/Tri-Training
bc304709610de03c47300cb4237d1882ef6bc60e
13785bf1af6c3a44d6e766eb623be1c6f24b9004
refs/heads/master
2020-03-12T01:02:49.754909
2017-12-29T13:15:46
2017-12-29T13:15:46
130,365,606
1
0
null
2018-04-20T13:25:53
2018-04-20T13:25:53
null
UTF-8
Python
false
false
601
py
import pandas as pd feature = ['id','education','grade','department','gender','marriage','fathersta','mothersta','parentsMarriage','isRecommended','isArtStudent','isRecommendedByContest','fatherEducation','motherEducation','religion','brotherSisterCount','residence','politicalStatus'] data = pd.read_csv('./student.csv...
[ "615878913@qq.com" ]
615878913@qq.com
d27f6c5925b68fdcc358e62de8da47ee7821cf8f
b908a26d0518ff3f0880a4a569d98f1880f2b78b
/azury/asynczury/services/__init__.py
808b65d2eca10203cfa110d493db169f5ccfa19f
[ "Apache-2.0" ]
permissive
citharus/azury.py
0610bc2f34f0758678998308b7cde5a07f70cc14
7079f8f98c68028d17114c830e749254cd483ef2
refs/heads/main
2023-06-09T22:35:11.056625
2021-06-30T17:01:03
2021-06-30T17:01:03
378,630,606
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# Copyright 2021-present citharus # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use __init__.py 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 ...
[ "citharus@protonmail.com" ]
citharus@protonmail.com
aeb93d5ecbcb6bf68d21b52f4b76481c5aac2dd9
fec25d75e87afc7e55346467e5e9399ee5e7cfa7
/API_MARVEL.py
9748a9ead89c7fb5babb7f0e5eea6b7614a4528c
[]
no_license
wottan32/integracion-plataformas
7b20d8bb33a950e2899ce4ce8c7d9f0d90ef76e2
1b584da1f832b190207e2fdbfc173c854ba65c1c
refs/heads/main
2023-04-21T20:10:14.805929
2021-04-24T23:56:53
2021-04-24T23:56:53
361,290,539
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
from flask import Flask, request from flask_restful import Resource, Api from sqlalchemy import create_engine from json import dumps from flask_jsonpify import jsonify db_connect = create_engine('sqlite:///C:/Users/c.valverde.olivares/Desktop/db') app = Flask(__name__) api = Api(app) class GetNombre(Resource): ...
[ "noreply@github.com" ]
noreply@github.com
a8a4f021a966d1ddb8df4117e68221c866d0b863
672ae778eedf78f256cea8b6534bfe719690ccf7
/Main.py
ee9c750bb88129ad1bdf69fcfc74e60ab285e8cc
[]
no_license
iTrauco/ResumeBuilder_GoogleAPI
b152098049a45db94759b08257768cf67bfdb2f7
9686042cd94ead0babebfed80a8fdc0a46be24cc
refs/heads/main
2023-02-26T21:11:43.415429
2021-02-06T02:25:59
2021-02-06T02:25:59
409,476,775
1
0
null
2021-09-23T06:36:45
2021-09-23T06:36:44
null
UTF-8
Python
false
false
1,438
py
from Config import input_data from Applicant_Builder import ApplicantBuilder from time import sleep def main(): process_1 = ApplicantBuilder(input_data["sheet_scopes"], input_data["service_file"], input_data["drive_scopes"], input_data["doc_sco...
[ "noreply@github.com" ]
noreply@github.com
4886128779480e9bd970b67106abee8174e3da54
b0ef0b7b7752564b703b4438e2624a4645299006
/usedcar/userinfo/models.py
3e3221136a2010eb538098c2a6e27d5b90d3e2aa
[]
no_license
beantomemory/django
66f1ff3f7fbc72df18ee01e394e733b1135fb01c
1b588cf3888724a5f4d86df04d7ebc91d7f20000
refs/heads/master
2020-04-19T09:17:32.771039
2019-01-29T07:21:01
2019-01-29T07:21:01
168,105,733
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. sex_choice = ( (0, "男"), (1, "女"), ) role_choice = ( (0, "买家"), (1, "卖家"), (2, "平台"), ) bank_choice = ( (0, "中国工商银行"), (1, "中国建设银行"), (2, "中国农业银行"), (3, "招商银行"), (4, "北京银...
[ "tarena@tedu.cn" ]
tarena@tedu.cn
c67a480ce8b4db81e99ea04883830d6cfd879f26
5a59aa70195180b91aad80c6704f345267ec7a3c
/esbo_etc/classes/sensor/Imager.py
5efa6597937b1ba6b04b77968fd48a4febf948cc
[ "Apache-2.0" ]
permissive
LukasK13/ESBO-ETC
5f3e364d0e7cc4cc349ad1408cdd510f21f3e0da
d1db999f1670f2777c5227d79629d421f03e5393
refs/heads/master
2023-01-10T13:17:46.687687
2020-11-05T12:49:54
2020-11-05T12:49:54
288,223,476
0
0
null
null
null
null
UTF-8
Python
false
false
31,829
py
from astropy import units as u from .ASensor import ASensor from ..IRadiant import IRadiant from ..Entry import Entry import numpy as np from typing import Union, Tuple from ..psf.Airy import Airy from ..psf.Zemax import Zemax from ..psf.FITS import FITS from ..SpectralQty import SpectralQty from .PixelMask import Pixe...
[ "spam.lukas.klass@gmail.com" ]
spam.lukas.klass@gmail.com
551ba9fb58625a0ad4ad48918a5d7f0eb14d6bd6
10dd4758f28a2e32d0bbe9c056de3e523ae727dc
/week-1/count_inversions.py
1e897401dc2998287aae35348556c23cd70e2b7c
[]
no_license
helin24/Aardvark-Parts-1
595cae2f66966de62129ef591bae35c87671ee47
4a0879b7f7555978d4048c59620f166461c179d3
refs/heads/master
2020-12-25T23:46:58.365971
2015-10-29T13:55:23
2015-10-29T13:55:23
25,180,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
def count_inversions(alist): if len(alist) == 1: return alist, 0 split_index = len(alist) // 2 left_list, left_inversions = count_inversions(alist[:split_index]) right_list, right_inversions = count_inversions(alist[split_index:]) return merge_list(left_list, right_list, left_inversions...
[ "helin.shiah@gmail.com" ]
helin.shiah@gmail.com
b3d4be71b8d49a855082601819613cbdaee45761
ac20a5114ea0ebd8cdb524961195845e98e9b566
/main/migrations/0001_initial.py
de18f93e3d51dccbaaae03350379c810b48133fc
[]
no_license
shhamil/chat
f738d3e05bf86d0ff0884fb3b4bfd77b0a8bb526
4be511924d518f5e447ab1b835bd3356c0c64513
refs/heads/master
2023-07-18T06:15:52.241420
2021-06-23T13:43:58
2021-06-23T13:43:58
340,650,568
0
1
null
2021-06-23T13:43:58
2021-02-20T12:34:32
Python
UTF-8
Python
false
false
6,117
py
# Generated by Django 3.1.7 on 2021-03-30 08:52 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import main.utilities class Migration(migrations.Migration): ...
[ "kurban0595@inbox.ru" ]
kurban0595@inbox.ru
ebdd2cb38c907b65d160465bbe909eff6c94c310
9207badcb45788294b9acbacd8db8489090064d3
/loan/forms.py
7c33bb3044fe2e4fe572645ce735d539df9954bb
[]
no_license
dzombiefox/ticketing
daa2341a5af245cf17180865872b182d642ea1df
30c0484bdffc2631e480a3fc0d7c541c69f85847
refs/heads/master
2021-07-07T07:13:49.103689
2017-10-06T01:37:41
2017-10-06T01:37:41
105,955,688
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from django import forms from .models import AsetBarang,PinjamBarang,PengembalianBarang class AsetBarangForm(forms.ModelForm): class Meta: model=AsetBarang fields=['namaBarang','satuan','deskripsi','posted_by','status'] class PinjamBarangForm(forms.ModelForm): class Meta: model=PinjamB...
[ "dzombiefox@gmail.com" ]
dzombiefox@gmail.com
e45b6e0ecb324fa480231ecbe75d586cfa6159f0
ad5b10be3bd01c3b333afce2b21eacbc7616e2d5
/omega_centauri.py
9bd342b61a5c7c8d54b9648070df34552e2be0ef
[]
no_license
InnovativeRobot/Alpha_Bot
c805cc921365e197996bbc1f9889f9a4df9df3b9
d40af06851ddaeafd0df07c95e8894600f423f95
refs/heads/master
2020-03-26T16:35:01.137144
2018-08-18T00:08:38
2018-08-18T00:08:38
145,111,013
0
0
null
null
null
null
UTF-8
Python
false
false
2,248
py
# import some librairies import socket import pygame from math import fabs # to fine the absolute value # define some constants HOST = "127.0.0.1" PORT = 5400 UP_DOWN_AXIS = 1 LEFT_RIGHT_AXIS = 4 def make_move_command(val): if val > 0: return "T:F;V:%.2f" % fabs(val) if val < 0: return "T:B;...
[ "InnovativeRoboticSystem@gmail.com" ]
InnovativeRoboticSystem@gmail.com
822a59ba86da1f5e35b3e9dd4960a97bf08115fc
eac5513c15e001de9e608d624c1fc8365c0b06e6
/src/train.py
a6e602bf5babb7d1832ab4933bbef0a41b9d3bba
[]
no_license
allaccountstaken/azure-using-sdk
9be5f3c92c51a545d90d13c79739f78cc61b2bbf
19e5a422db59d85e7046e56b1963ad3d877b8a91
refs/heads/master
2023-02-15T15:22:30.058176
2021-01-05T12:02:25
2021-01-05T12:02:25
326,981,022
0
0
null
null
null
null
UTF-8
Python
false
false
2,027
py
import torch import torch.optim as optim import torchvision import torchvision.transforms as transforms from model import Net from azureml.core import Run # ADDITIONAL CODE: get AML run from the current context run = Run.get_context() # download CIFAR 10 data trainset = torchvision.datasets.CIFAR10( ...
[ "dmik@vt.edu" ]
dmik@vt.edu
055ea0834d81dbfe54e82a436a121d8244946329
18a3d4daab33f917c18f647ea1925e79284e4378
/cart/migrations/0002_auto_20210906_0612.py
9540b4860c516573f258da16f372dfa87d2c32bd
[]
no_license
sreerajpy/foodvlog
0e6520b314eea9ea5e586d0ce140f9681c8ca04d
60152136bb8d1955de29a4d0c41271f5879f451c
refs/heads/master
2023-08-28T22:04:30.371977
2021-11-05T16:08:35
2021-11-05T16:08:35
407,594,177
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
# Generated by Django 2.2 on 2021-09-06 13:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('shop', '0003_auto_20210906_0600'), ('cart', '0001_initial'), ] operations = [ migrations.RenameField(...
[ "sreerajsree512@gmail.com" ]
sreerajsree512@gmail.com
4a5def76751c91fa2e439e9f8810060547998278
a3b2fda6f6c199c06b319bf6f35f2787cc9071af
/_Flask Basics/82. Flask and Databases Part One/flask_examples_01/basic.py
c25434c36aaf28d9c1fbb028ae1095cb4b518169
[]
no_license
SaintClever/Python-and-Flask-Bootcamp-Create-Websites-using-Flask-
a32a16f0492fdca67a647f71ee74d2a9adb36deb
d1731efe95de8fea9faf3ee91b968e2faf3eef50
refs/heads/master
2023-02-16T18:34:15.080877
2022-09-21T02:31:21
2022-09-21T02:31:21
190,437,021
9
4
null
2023-02-15T20:56:43
2019-06-05T17:15:34
Python
UTF-8
Python
false
false
993
py
import os from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate base_directory = os.path.abspath(os.path.dirname(__file__)) app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(base_directory, 'data.sqlite') app.config['SQLALCHEMY_TRACK...
[ "parchment@gmx.com" ]
parchment@gmx.com
72a1e8fbf7d997f06f2b6a1c01637a81067d34d5
e09b905a092bd324050e405e1caf1e8a5630cc1f
/pyscf/x2c/sfx2c1e_hess.py
3f553e32752db64b4fc050c0732c6e6e071cc884
[ "Apache-2.0" ]
permissive
yangcal/pyscf
09a2776e8d88b2118f1d00a810a9c90e7e214281
e833b9a4fd5fb24a061721e5807e92c44bb66d06
refs/heads/master
2021-06-18T11:45:57.808856
2021-03-18T04:58:53
2021-03-18T04:58:53
246,690,849
1
0
Apache-2.0
2020-03-11T22:17:28
2020-03-11T22:17:28
null
UTF-8
Python
false
false
16,868
py
#!/usr/bin/env python # Copyright 2014-2020 The PySCF Developers. 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 # # U...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
166414d20535805c5a06cb46928c84c383cb7790
27edd318a1dc40263525a2fc0b2ff39d96ced867
/examples/layers/preprocessing/classification/random_hue_demo.py
926147def7d6802614f8c1c32ff93049c0af25ba
[ "Apache-2.0" ]
permissive
tanzhenyu/keras-cv
745bed345711827ccc36ac9a35976808d214c23f
5d9139bb192043953fead61a43152d32a419b882
refs/heads/master
2022-11-15T19:26:07.240346
2022-09-20T23:40:46
2022-09-20T23:45:48
534,271,951
1
0
Apache-2.0
2022-09-08T15:19:18
2022-09-08T15:19:18
null
UTF-8
Python
false
false
1,202
py
# Copyright 2022 The KerasCV 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "noreply@github.com" ]
noreply@github.com
b1e1b0de0f7e398a9bdf6950592c21dea1b2c0b5
320f541194d58cd2b18f2bef34af883a84fd3a8b
/yphapp/views/sample.py
6036e4f8d4a30dec0c657ca1fd978e915a7a83f4
[]
no_license
mgx307113628/yunpeihuo
e0c0272a4699336b4d5340f6f577d78146973c34
f93298cc0906e2765dc93c34a2dceafbb6eee130
refs/heads/master
2021-08-14T12:01:06.176003
2017-11-15T16:36:14
2017-11-15T16:36:14
107,109,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
################################ MethodView sample ################################# #from flask.views import MethodView # #class UserAPI(MethodView): # # def get(self, user_id): # if user_id is None: # # 返回一个包含所有用户的列表 # pass # else: # # 显示一个用户 # pass # # ...
[ "revolution@aliyun.com" ]
revolution@aliyun.com
b127d0ffb66245a1d2803629ba19044c4bcbd5d0
2e8adceb6277da713f0c8cf0a91cc82ee9b9e856
/manage.py
eab343659825574f8cae0eae9a3c3e81ae868a52
[ "MIT" ]
permissive
jchernandez88/OVC_API_calc
a669aac42b14c250698de99df02e403347738e55
22ad9c3e49497b4d999c225b75a06f5862d720bf
refs/heads/master
2021-01-20T10:36:03.600444
2013-10-29T22:26:48
2013-10-29T22:26:48
13,878,365
0
0
MIT
2023-09-10T17:42:25
2013-10-26T05:27:46
Python
UTF-8
Python
false
false
258
py
# -*- coding: utf-8 -*- import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OVC_API_calc.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "me@jchernandez88.com" ]
me@jchernandez88.com
56702c50ea0061115156969d39cfedd65bcc9d30
63c0a3e5599be2a038bb713abc69584db42a3aae
/system_status.py
baf403826f3a9dc1bef32657a89548c790de8370
[]
no_license
dmitryduev/sserv-njs
6ccc98512547ba399e62dd83a99eef6ffe92c075
17e53069a2804506aca2a2b984ab465c5b5ff718
refs/heads/master
2020-05-22T04:39:53.115636
2018-04-11T06:44:43
2018-04-11T06:44:43
49,021,310
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
from __future__ import print_function import time import psutil import datetime import json import traceback import argparse if __name__ == '__main__': ''' Create command line argument parser ''' parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, ...
[ "dmitry.duev@gmail.com" ]
dmitry.duev@gmail.com
c40d5ccce7cd61585e6066dfe1983762839a6f9a
e1f8bab8f4a896fdfc780a90ffea953579ca0f43
/app/auth/forms.py
947468ef7727399a1a1e83adf69cf35b2ad40c15
[]
no_license
Riku0525/Chatbot
a05a60707858cc5e79e3a0eba392348240d6ca61
d1ad3ffaf070172a103887072b2920ad371b1c08
refs/heads/master
2022-12-24T15:29:15.573390
2018-10-18T19:42:37
2018-10-18T19:42:37
153,677,631
0
0
null
2022-12-08T02:58:16
2018-10-18T19:35:45
Python
UTF-8
Python
false
false
1,426
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, TextAreaField, IntegerField from wtforms.validators import DataRequired, ValidationError, Email, EqualTo from app.models import User class LoginForm(FlaskForm): username = StringField('Usuario', validat...
[ "noreply@github.com" ]
noreply@github.com
204a24befecf49b2b184800e57db49668e6e7dbc
9f9e5b1440880e4b874cc7a372892055e60c01e3
/mini-taobao/miniTaoBao/taobao/migrations/0001_initial.py
9b752459297a886dd895ab09a86d53e45f61cc5a
[]
no_license
xkw168/blog-code
61f4f89808e7d99508a5b6de0ef9b66b47157a05
ef86590207828969b69c46b7e2bcf75f1e3ab492
refs/heads/master
2021-09-28T07:49:06.680120
2021-02-14T00:14:00
2021-02-14T00:14:00
248,879,761
2
0
null
2021-09-22T18:56:40
2020-03-21T00:40:29
JavaScript
UTF-8
Python
false
false
973
py
# Generated by Django 3.0.5 on 2020-04-30 23:39 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "kewei.xia@duke.edu" ]
kewei.xia@duke.edu
7554d991424a83b97388e0f2edccaa713a4db8e9
7f114a1fb511b816c116d5b9e67cb998e3e23956
/PyplayS31.py
c0da34dbd4a6b96011dfd4aadb0932634bbc90f4
[]
no_license
Bharanij27/bharanirep
90ac34eb28deaa7ec96d042de456de71b96866d7
982133a7939c889d433c178a601441fa087293d9
refs/heads/master
2021-08-07T20:22:36.244395
2020-06-05T04:58:10
2020-06-05T04:58:10
186,580,768
0
6
null
null
null
null
UTF-8
Python
false
false
136
py
n=list(input()) s=0 for i in range(0,len(n)): if n[i]=='(': s=s+1 elif n[i]==')': s=s-1 if s==0: print("yes") else: print("no")
[ "noreply@github.com" ]
noreply@github.com
c6de41952c29d959461ae7ba8c7269444ef04189
2c20cd2b84b44f6711d53e02f681b455100d5bdc
/setup.py
e3f064e118ecf33fe25b41078bef36e51b3bfdde
[ "MIT" ]
permissive
YAtOff/s3rsync
a28c69c21a1091ee3d53362af8a9d40357d0469a
ebb36e47602491ef7dcb073bed9527f6243e317b
refs/heads/master
2023-05-12T04:05:19.950099
2020-01-10T10:57:28
2020-01-10T10:57:28
224,131,742
0
1
MIT
2023-05-01T21:17:12
2019-11-26T07:43:08
Python
UTF-8
Python
false
false
184
py
from setuptools import setup, find_packages setup( name="s3rsync", version="1.0.0", description="", packages=find_packages(exclude=("tests",)), zip_safe=False, )
[ "yavor.atov@gmail.com" ]
yavor.atov@gmail.com
f806b1b35c8948befaa5033fd798e7aab9a4752b
9bf13fad0119c106aef2cd2434c0cb18af33e42b
/mysite/mysite/settings.py
5a9c1214455df7f29dbc8ea9d767d3e0335e7d1b
[]
no_license
Saurabh910/my-first-blog
06400a69f7881f0886862a37259906133dd5b235
8c809420a1b5e3b24b1f74f6f00e510083e07b7e
refs/heads/master
2023-08-18T21:35:18.952586
2021-10-15T17:56:36
2021-10-15T17:56:36
417,574,077
0
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.24. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
[ "saurabhsengar910@gmail.com" ]
saurabhsengar910@gmail.com
5f466b852ad90e03b4ce5d76d659127ccae68641
58579a68a94967abb1b8d74cab06f687f4a79a7b
/DataStructure/custome_list.py
fbc48cdd666d9e4aa309c98832af709773ecd91e
[]
no_license
imdsoho/python
3c65cb9b19c2b2299d5bca67ebcde7d7f2f8bec2
eed1ef3e835f2ab77e4e197a689a9595bd93243e
refs/heads/master
2020-04-16T06:38:49.089727
2020-02-05T09:11:44
2020-02-05T09:11:44
165,355,451
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
class FrequencyList(list): def __init__(self, members): super().__init__(members) def frequency(self): counts = {} #print("0 : ", dir(super)) #print("1 : ", type(self)) #print("2 : ", self) print("3 : ", dir(self)) for item in self: counts.s...
[ "jsc@intellicon.co.kr" ]
jsc@intellicon.co.kr
8a0fb00d4bee3167e77390b2683d774a91e64767
65012871478dfaf07e541c2d2b8a69df766de17e
/charity_bank/cases/apps.py
05bd2b3e567e13a1ba4d743437fc5ffe1eda1a50
[]
no_license
Kuandykzx/charity_bank
4a812f709bc0ff5ca48f3659a598755ae83244fa
30843443932682fc7cdbe4e47c7116ff53720cb7
refs/heads/master
2021-05-07T23:52:20.237398
2017-10-19T08:29:53
2017-10-19T08:29:53
107,518,219
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class CasesConfig(AppConfig): name = 'charity_bank.cases'
[ "kuandykzx@gmail.com" ]
kuandykzx@gmail.com
704a4aee8b6f27bb5942d6c99ff9aad57ada94b8
d2f50124ff3bec70b9b3139ecb063b06e526781d
/biable/migrations/0030_auto_20170104_1540.py
e5309f4b5538cf1b5c001ee7667bcac85e3fe29f
[]
no_license
odecsarrollo/odecopack-componentes
e8d993f089bf53bbf3c53d1265e70ac5c06b59b8
b583a115fb30205d358d97644c38d66636b573ff
refs/heads/master
2022-12-12T00:33:02.874268
2020-08-13T18:45:01
2020-08-13T18:45:01
189,262,705
0
0
null
2022-12-08T11:23:46
2019-05-29T16:37:21
Python
UTF-8
Python
false
false
872
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-04 20:40 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('biable', '0029_auto_20170104_1528'), ] operations ...
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
ef1d6fd47f5542551fbfe13739016b1565abc26b
1bddfbc901946b6cdef47e5325626d26a9865a51
/setup.py
c7120cb1461fa0651511e8b384ddc401e186d6a8
[]
no_license
kagesenshi/dkiscm.importer
ce56eccf70ac776692a0e1015d3e5bc311680979
c255bca2a755cd3681106c5d3ee2f917de359e2b
refs/heads/master
2016-09-11T00:58:54.109283
2013-10-01T20:05:23
2013-10-01T20:05:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
from setuptools import setup, find_packages import os version = '1.4.dev0' setup(name='dkiscm.importer', version=version, description="", long_description=open("README.rst").read() + "\n" + open(os.path.join("docs", "HISTORY.rst")).read(), # Get more strings from #...
[ "izhar@inigo-tech.com" ]
izhar@inigo-tech.com
f043d987eaeccb71a7c258a934647733d2cbf131
517cecca757376dbfb3572a7e3b7fba9d3c235a0
/apps/invite_friends/migrations/0001_initial.py
26ab77b19660f3c36d3ea1521c789222bf649b48
[]
no_license
cheetos007/owantsbeta_git
292417eaf2663801c8bbad864ef98d87ba7299b3
27ab37b5e488335db128d8774752b6f9a404fac4
refs/heads/master
2021-07-06T15:20:44.457361
2012-10-11T00:00:46
2012-10-11T00:00:46
6,135,035
0
1
null
2020-09-30T15:57:15
2012-10-09T03:48:37
Python
UTF-8
Python
false
false
6,869
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'EmailInvite' db.create_table('invite_friends_emailinvite', ( ('id', self.gf('d...
[ "sandeep.bhattaram@gmail.com" ]
sandeep.bhattaram@gmail.com
85608a38a388e4b9f1ec1f752fcb74b54f4f5690
981d658b837666093b531d37bfd6481797b49dd7
/Schoolbus/models.py
78c2a0febd26dbb35649ee60ee9cd4a6f3b88fe6
[]
no_license
raghutit123/SpotBus_Api_Project
1a04f8b7dd2fb6a33098d4a1f75103b568f83747
af2d4004c49250e65afcfc92498f0ea2cbf5de17
refs/heads/master
2023-07-21T05:49:02.434407
2021-08-23T07:22:03
2021-08-23T07:22:03
399,009,946
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
from django.db import models # Create your models here. class School(models.Model): School_id = models.IntegerField() School_name = models.CharField(max_length=100) School_address = models.CharField(max_length=200) School_location = models.CharField(max_length=100) def __str__(self): retu...
[ "61077506+rahulkr17@users.noreply.github.com" ]
61077506+rahulkr17@users.noreply.github.com
a33bcadc0456df128916a7e33e0a254fc3108b4a
668427d3a20272330e2250f7f4789561523f4b90
/PyGameEngine/init_dir.py
6a38dcf2a0aa96c043e1f3301d0406d48e51172f
[]
no_license
mando222/PyGameEngine
04b913e3eeab255714304a2d352674bb7dc5e71f
7b4ce863e695027f97e46956e093d360427ceb28
refs/heads/master
2022-12-15T09:27:16.576763
2020-06-02T19:46:33
2020-06-02T19:46:33
196,908,624
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
#!/usr/bin/env python3 import os from logger import logging def init_dirs(): make_dir('config') make_dir('factions') make_dir('logs') def make_dir(dir_name): try: os.makedirs(dir_name) except FileExistsError: logging.info("Directory %s already exists", dir_name) pass
[ "eric.zietlow@datastax.com" ]
eric.zietlow@datastax.com
35c2d0ab34307b215c50250f7de343a66666276a
9b5c995b247803b64895223fc51f407e9da2df45
/IQ/Files/create_file_and_write_data.py
2cc9b05c3f86d4e7f3dbc1997bc0e34c16dac890
[]
no_license
Shyam-Personal/python_repo
3453156ed73efaa91fa5e01dd15a1a0e664d3d22
1809de5afbecc1fd17cd70ae80a1eb4b9282d554
refs/heads/master
2021-01-25T14:10:30.394842
2019-09-23T13:26:47
2019-09-23T13:26:47
123,660,813
1
0
null
null
null
null
UTF-8
Python
false
false
418
py
""" Create 10 files of 1MB size each. """ def main(): try: #Solution 1 data = "A"*1024*1024 for i in range(10): filename = "Test_{:03d}".format(i) with open(filename, "w") as fh: fh.write(data) except Exception as e: print("Exception wh...
[ "shyamdeshmukh1@gmail.com" ]
shyamdeshmukh1@gmail.com
bcb5d7be770e97de422a8f9f541ac990acc6ed89
663dc6816354c8abf2c3255c1aa2f865a8944dcb
/sdypy_template_project/__main__.py
0c8d38b67c4497bec6cf846d7fc4f973502279eb
[ "MIT" ]
permissive
sdypy/sdypy_template_project
0da1bc4b700549cab8acf76cda7170c15f703eaa
1c8966752ba9a44bd3a4f5c53100af8510dfad82
refs/heads/master
2023-07-05T13:09:12.607334
2023-06-27T07:33:35
2023-06-27T07:33:35
347,854,672
0
1
MIT
2023-06-27T07:33:37
2021-03-15T06:01:17
Python
UTF-8
Python
false
false
822
py
''' The code inside `__main__.py` runs when this module is run from the command line with: python -m sdypy_template_project ''' from tkinter import Tk from tkinter.filedialog import askopenfilename from matplotlib import pyplot as plt from matplotlib import animation from pyMRAW import load_video from .visua...
[ "domen_gorjup@hotmail.com" ]
domen_gorjup@hotmail.com
94f6afe275ec926f595475c26b103b51020a5817
536d05d9c1fadf598343d2631459b9504ff0897b
/TF_pj/302_RNN_classification.py
4eb59bb36c3ee4163b254593a26942ab6f62a267
[ "MIT" ]
permissive
flavorfan/tutorials
49140c8d6558dfe4fc8a79643e35065d6838ae96
27ffd22dd5f534775c2c516006fdffc64bb28a3d
refs/heads/master
2021-09-13T22:57:35.745832
2018-05-05T15:16:45
2018-05-05T15:16:45
106,357,649
0
0
null
2017-10-10T02:14:37
2017-10-10T02:14:37
null
UTF-8
Python
false
false
2,910
py
""" Know more, visit my Python tutorial page: https://morvanzhou.github.io/tutorials/ My Youtube Channel: https://www.youtube.com/user/MorvanZhou Dependencies: tensorflow: 1.1.0 matplotlib numpy """ import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import numpy as np import matplotlib.p...
[ "flavorfan@tencent.com" ]
flavorfan@tencent.com
42b48f450bdabd69649845c04386a9b077a1f928
3a34e475acb354c84b2997cc889b7c1fe203194f
/handle_data/clean.py
730a59331c7ef4b2edd7ef8369fb0473eafd53dd
[]
no_license
ukanf/TCC
5e888f955dd7438144ed631988bc83cf3fa61f2c
e3e56c8c16d7445aafcf6702ea38ae606e54de47
refs/heads/master
2021-03-24T10:37:24.824225
2018-09-13T12:32:28
2018-09-13T12:32:28
102,651,812
0
0
null
null
null
null
UTF-8
Python
false
false
16,450
py
# --- general imports import datetime as DT import matplotlib as plt import numpy as np import os import pandas as pd import utils.utils as utils # TODO: functions with calc_daily mean and stuff.. are all almost the same.. generalize. # TODO: need to remove outliers before calculating mean. pd.set_option('display.max...
[ "felipe.kpereira@live.com" ]
felipe.kpereira@live.com
1fd18852d0cbcda793b74043c834504fd069e531
e296f0f3d7db598aba5658de3ff8c767634e533e
/zoo/migrations/069_add_columns_is_visible_and_moderated_by_and_moderated_at_to_photos_photo.py
c04134e45dbcd4f0f9271346ff9617625c56833f
[]
no_license
devfort/wildlifenearyou
b2ac05070aa6face60156d6e7c85f98f00013c25
8e618aea90bbcedc45a4e30199e31880ea9e6dca
refs/heads/master
2021-01-13T01:25:29.467549
2010-06-10T06:37:43
2010-06-10T06:37:43
7,874,317
1
0
null
null
null
null
UTF-8
Python
false
false
481
py
from django.conf import settings if settings.DATABASE_ENGINE == 'mysql': from dmigrations.mysql import migrations as m elif settings.DATABASE_ENGINE == 'sqlite3': from dmigrations.sqlite3 import migrations as m import datetime migration = m.Compound([ m.AddColumn('photos', 'photo', 'is_visible', 'bool NOT N...
[ "simon@simonwillison.net" ]
simon@simonwillison.net
30f556fcbf72be5c782015939ae8f567e9c56cc2
042707d1dfaa8231a61d0a3723aea8674b0abb70
/src/rev_ai/generic_api_client.py
e4db59967f83bb45074f0c7b725d90d5e8c7c09e
[ "MIT" ]
permissive
revdotcom/revai-python-sdk
9c78cd749fcd2ed5ed8d2f35f45bab0d0dbe0a22
80466d21bc743cd1e5ed1aea9fcfa592393f916d
refs/heads/develop
2023-01-12T10:53:26.522207
2023-01-01T04:02:53
2023-01-01T04:02:53
150,805,421
45
10
MIT
2023-08-22T00:10:37
2018-09-28T23:51:09
Python
UTF-8
Python
false
false
6,908
py
# -*- coding: utf-8 -*- """Generic client used to interact with our newer style apis""" from .baseclient import BaseClient try: from urllib.parse import urljoin except ImportError: from urlparse import urljoin class GenericApiClient(BaseClient): """Generic client which handles logic for making requests ...
[ "noreply@github.com" ]
noreply@github.com
6a20c642de663500a0feef669b21c6e3d2e0be4b
a1a8d52e4a19e5664619da8e69a868810ef40795
/InfoTrainer.py
11e0514d93b3bed5e457fd5f63f7fdb40f20f1e8
[]
no_license
countkisg/DecomposedNets
d5220827ce920b2c701a2b5fbfa3c7810e9383a9
a99fbfc7faf0da1ebdb130ee9c45ae12b7d3ca23
refs/heads/master
2021-01-11T01:31:47.833961
2016-11-19T03:12:24
2016-11-19T03:12:24
70,694,505
0
0
null
null
null
null
UTF-8
Python
false
false
21,090
py
from model import InfoGAN import tensorflow as tf import numpy as np from progressbar import ETA, Bar, Percentage, ProgressBar from distribution import Bernoulli, Gaussian, Categorical from ops import binary_crossentropy import scipy.io import sys import scipy.misc from math import ceil from utils import mkdir_p import...
[ "countkisg@126.com" ]
countkisg@126.com
182247988bf376661723c18e69b7095523833c84
04eb5ed2afbd0b2a190e38a48f1c8b86f63b5497
/client/tests/mocks.py
c7f5fe1971df6068e73fca1512cc9aca0a5d54af
[ "MIT" ]
permissive
Playfloor/pyre-check
04d671c63ce882891f978c8d1f6540d236dd22ab
2e8b86fe7ed9fd84a026c188d08877a77b142309
refs/heads/main
2023-08-21T11:08:30.229589
2021-10-06T03:20:01
2021-10-06T03:21:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,028
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # pyre-unsafe from pathlib import Path from typing import Optional from unittest.mock import MagicMock from .. import command_arguments, con...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
642ed55a1d30f3fff9d909b961f4753f7aaa69ad
93f41be6de894de17102afe7e4447888d5f4f0d2
/tests/test_cve_helper.py
239c83a4e8a86de635744ec93cc5de76f4bd170b
[ "Apache-2.0" ]
permissive
prashbnair/f8a-stacks-report
16bb106172ac4f4e827b80920a014e0e50b67e1d
d39f3ce6c979896eb6c8c034684366cc0aaf9bb3
refs/heads/master
2023-03-26T12:33:11.697118
2020-07-08T05:41:42
2020-07-08T05:41:42
281,391,380
0
0
Apache-2.0
2020-07-21T12:26:18
2020-07-21T12:26:17
null
UTF-8
Python
false
false
5,214
py
"""Tests for classes from cve_report_helper module.""" import pytest import json from unittest import mock from f8a_report.cve_helper import CVE from datetime import datetime as dt from requests.exceptions import Timeout cve = CVE() cve_stats = {"github_stats": {"open_count": {}}} with open('tests/data/github_data.j...
[ "mitpatel@redhat.com" ]
mitpatel@redhat.com
5ec397de4ac21f84123071ac1d331c5864ce3678
df3e9bbefd14ce3963bd98ddd70dfb3564a8c32b
/module_0/numberPredict.py
fa4269336aeb0b53af6e978933947d467567294b
[]
no_license
alex-tarkhov/DataScience
5e25e26fad3cc0b2e2f977f4ef4f9bb742cf198e
73fa5c9339c2a79160f041f0736e52af01782044
refs/heads/main
2023-04-07T01:04:42.355662
2021-04-14T20:11:41
2021-04-14T20:11:41
340,580,916
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
import numpy as np def numberPredict(minimum=1, maximum=1000): '''Использую алгоритм бинарного поиска для минимализации количества попыток (count) поиска рандомного числа в диапазоне от 'minimum' до 'maximum' ''' count = 1 predict = np.random.randint( minimum, maximum+1 ) start = minimum e...
[ "12arhatov@gmail.com" ]
12arhatov@gmail.com
f9dca00b9a5f1ccc8de0b3829f5001b4505bf8f2
e3cfc2c2d8eb4da7343edaf4d46da5298711b204
/core/tasks.py
1adb66f99105706dc01b929faec8c5a814c926be
[]
no_license
Pauldic/donation
9d46f240ebb2d08e730cba46a3a830240cdf963b
30be4763c160889fc5c8fbd449ffab78d62de852
refs/heads/master
2021-05-14T21:50:43.904747
2017-11-02T11:10:23
2017-11-02T11:10:23
109,251,803
0
0
null
null
null
null
UTF-8
Python
false
false
30,230
py
from __future__ import absolute_import, unicode_literals from django.core import mail from celery import shared_task from django.db import transaction from datetime import timedelta from django.db.models import Q, Sum, F from django.template import loader from django.utils import timezone from subprocess import Pope...
[ "pauldiconline@yahoo.com" ]
pauldiconline@yahoo.com
623ec6c30226e09a14218deaae59e54d53a5fcfd
dd37fb3c4c0da10208f11f575d9adf529c510315
/filtr_of_all_polim_gnom.py
e812fe1590daf2ca807c918496e588e388ec8cba
[]
no_license
gatupovmikhail/diplom_molbiol_actual
0d6563102e711f2d26de5b75df9472e844e521af
66cadaa5aa3c707d0372607149a1e7770bdeca35
refs/heads/master
2023-06-14T21:44:04.608343
2021-07-05T13:40:39
2021-07-05T13:40:39
347,378,470
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
# Отфильтровывает полиморфизмы. В новом файле окажутся только полиморфизмы, которые располагаются в генах from sys import exit gens = open('gens_spliceAI_sorted_concantenated.txt','r') #polim = open('num_pol_new.txt','r') #polim = open('gnomad_polim_form.vcf','r') #file_out = open('polim_in_gens.txt','w') polim = open(...
[ "Pogor.97@mail.ru" ]
Pogor.97@mail.ru
4b01909b97925d31a403365ffdc744069e65cecd
c176003bdc7b75e5c0d5021e5154d3d3dd1455c1
/me/flyness/python/study/regular_expression/expression.py
236ba2dcf9c9717317eb2bb74769640657cb30de
[]
no_license
tiantangyu69/study-python
d716aadf7e18e584fec7d6856db4ec9ec4fe3173
62cc9994ed202faa4c13f3a1becff578b59903d7
refs/heads/master
2021-01-13T13:14:50.837224
2017-04-21T10:46:01
2017-04-21T10:46:01
72,707,367
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
#!/usr/bin/env python3 # -*- coding utf-8 -*- import re print(re.match(r'^\d{3}\-\d{3,8}$', '010-12345')) print(re.match(r'^\d{3}\-\d{3,8}$', '010 12345')) test = '用户输入的字符串' if re.match(r'正则表达式', test): print('ok') else: print('failed') print(re.split(r'\s+', 'a b c')) print(re.split(r'[\s,;]+', 'a,b;; c ...
[ "bjlizhitao@corp.netease.com" ]
bjlizhitao@corp.netease.com
b8fe2cd2a95645ac2a069d5bbd561595a74f7e8f
3d888747a7c8d25ed150b84ba9f6286fbe0e17dd
/mysite/portfolio/views.py
01ebcd923413f41a76929f9e6efb7c8937689760
[]
no_license
jgsvillanueva/CS179.2Proj
b4e21a67759331777dfb1c8058fb4acbbabc5ec5
671be36d01474dbcd4c9ad23b83a83570c2060b0
refs/heads/master
2020-03-13T01:15:45.821025
2018-05-01T04:27:56
2018-05-01T04:27:56
130,900,969
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.shortcuts import render from django.http import HttpResponse def index(request): return render(request, 'portfolio/home.html') def contact(request): return render(request, 'portfolio/home.html')
[ "jgsvillanueva@gmail.com" ]
jgsvillanueva@gmail.com
7f07b135d2d63fb29641d1cdb43e1d596b1aaa38
7b7aa2300cc208490612e755b79256050112d026
/Repositorio/plugin.video.balandro/servers/mailru.py
ab7619692e79a7858e95d32b999bc6625cf6e8d7
[]
no_license
Jaloga/xiaomi
ccb6d08fc697a02728a84f73cf6d153c9a5bcdfe
7ed05d3863c7454cf09bfe6eacce14f7ded25591
refs/heads/master
2022-06-20T15:25:28.290784
2020-05-10T21:50:28
2020-05-10T21:50:28
262,881,107
0
0
null
null
null
null
UTF-8
Python
false
false
2,997
py
# -*- coding: utf-8 -*- from core import httptools, scrapertools, jsontools from platformcode import logger import re, time def get_video_url(page_url, url_referer=''): logger.info("(page_url='%s')" % (page_url)) if re.match('https://my.mail.ru/video/embed/([A-z0-9]+)', page_url): return get_video_url...
[ "forcompisam@yahoo.es" ]
forcompisam@yahoo.es
7281a1d2b651d0b7b363e815d9c84fe19146565a
116aadef9866be33782c6cbd06901703728295cc
/tests/conftest.py
3b640c81e07bc3e0f36f219c27129fc10614ecc5
[ "Apache-2.0" ]
permissive
dracos/datasette-tiles
9c4cf6ca683a703f08e1f69cbc4def3694d7bcc3
f7aa1a49df23584445cf154ad0e3e6d750965b15
refs/heads/main
2023-02-28T22:33:08.331682
2021-02-03T22:21:57
2021-02-03T22:21:57
335,932,265
0
0
null
2021-02-04T11:24:40
2021-02-04T11:24:39
null
UTF-8
Python
false
false
2,211
py
import asyncio from datasette.app import Datasette from datasette.database import Database import pytest CREATE_TILES_TABLE = "CREATE TABLE tiles (zoom_level integer, tile_column integer, tile_row integer, tile_data blob)" CREATE_METADATA_TABLE = "CREATE TABLE metadata (name text, value text)" @pytest.fixture(scope...
[ "swillison@gmail.com" ]
swillison@gmail.com
38e9a78feb6af2c369bdf0e305bfc24aac6fe9c0
f3719ffd86d508660d62ebc855a395d65b9aba5f
/src/DrinkStorage.py
4410da1d51175032fb64feda278dc1f8bca659ea
[]
no_license
OhZedTee/PyDrink
b6ee41b074f15709fb97400a00e42894aeb266af
88bab217d8f720320e9815edb315a04681183ea1
refs/heads/master
2022-03-04T00:39:44.352123
2019-10-22T16:19:40
2019-10-22T16:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,466
py
#!/usr/bin/python from abc import ABC, abstractmethod from .Drink import Drink class DrinkStorage(ABC): """Abstract management class for all Drinks and method prototypes for maintaining drinks and drink information""" def __init__(self): self._drinks = {} @property def drinks(self): ...
[ "otalmor@uoguelph.ca" ]
otalmor@uoguelph.ca
efffc20f7c2004f21da70fb9ca6e54c1cced2f37
fce23fa0204cbea8e8aa059d376d7376a7493dad
/compiler/our_tests/ex1.1_tc6.py
1fae1ad85063be55cfd3c0c92463e41038bcecc4
[]
no_license
smitten0000/ecen5523
0eae0a4c51f7f1fd94ba1d669f3d8ea82498dcfc
6b91f4ccace886353aa9c2c98f7e06ab0ad40c11
refs/heads/master
2021-03-12T20:21:15.413537
2011-12-15T03:53:28
2011-12-15T03:53:28
6,892,093
1
0
null
null
null
null
UTF-8
Python
false
false
8
py
(3 + 1)
[ "relsner@minty.(none)" ]
relsner@minty.(none)
99613f69b3d7edc99a5dc7a75e483837ae852e7c
0fa00ecf2dd671515dc001d4b14049ec6a0c1f1c
/custom_components/spook/ectoplasms/repairs/services/create.py
6d46089ce9dab0e2aa31caa286d4f9116eebb2cd
[ "Unlicense" ]
permissive
bacco007/HomeAssistantConfig
d91a5368344f50abbea881bd1e6dfc57a0e456ca
8548d9999ddd54f13d6a307e013abcb8c897a74e
refs/heads/master
2023-08-30T07:07:33.571959
2023-08-29T20:00:00
2023-08-29T20:00:00
230,585,631
98
16
Unlicense
2023-09-09T08:28:39
2019-12-28T09:05:02
Python
UTF-8
Python
false
false
1,658
py
"""Spook - Not your homie.""" from __future__ import annotations from typing import TYPE_CHECKING import voluptuous as vol from homeassistant.components.repairs import DOMAIN as REPAIRS_DOMAIN from homeassistant.helpers import config_validation as cv, issue_registry as ir from homeassistant.util.ulid import ulid fr...
[ "thomas@thomasbaxter.info" ]
thomas@thomasbaxter.info
e4d75e5a32813aeb5539109dd5dd1c76a21a171a
62e2783f51bae9ef5ae5981a4516a2c7eae15a05
/c2.py
1a2ab0984793a9bb209b8c174ee90edca135ef01
[]
no_license
Ruthwik321/Python-for-everybody
85103917ec13a1e9765c8ba12d856b1e4bad1236
3271e00826beadd3ab665eba899717e5a481a937
refs/heads/master
2022-09-25T11:14:00.367389
2020-06-06T22:38:02
2020-06-06T22:38:02
270,120,259
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
#name=input('Enter file name') h=open("mbox-short.txt") d={} for i in h: if i.startswith('From '): x=i.split() t=x[-2][:2] d[t]=d.get(t,0)+1 l=list(d.items()) l.sort() for i,j in l: print(i,j)
[ "noreply@github.com" ]
noreply@github.com
ea9a4adbb8ea9a17d25f31a7584d905fe846170e
52dcb6813a9da250202f3aa80171ec4e4da8be1b
/mkk/settings.py
71fc028580de9caf71a08df137d5c2855e018b67
[]
no_license
NotaKronGit/mkk
5ff22c61adaa6694e8e8d2ccdeef83696b102d30
293e64d5f9554e6e01a87119e35ff1784b3ef60c
refs/heads/master
2022-12-24T01:49:19.327856
2020-09-29T11:29:49
2020-09-29T11:29:49
299,589,577
0
0
null
null
null
null
UTF-8
Python
false
false
3,924
py
""" Django settings for mkk project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib imp...
[ "sergsamof@gmail.com" ]
sergsamof@gmail.com
418ab74777c51e9c75e706afd4e9ced9af142f16
f669b07bf4e1047c7fa4f36983f5d8d9f607a42c
/.metadata/.plugins/org.eclipse.core.resources/.history/c0/20134fb0049000161aace3ce0a3d140b
4ecac11caf1f115505b487e0511d733ae686192b
[]
no_license
tca85/python
d07b4453b38b5c5a024e2a6f8b8795dac6d928b1
436a23250539ef8055f817ada20cb21eab65cc42
refs/heads/master
2021-01-10T22:53:01.118480
2016-10-24T21:46:59
2016-10-24T21:46:59
70,340,585
1
0
null
null
null
null
ISO-8859-1
Python
false
false
1,233
#!/usr/bin/python # -*- coding: latin1 -*- ''' Created on Oct 5, 2016 @author: tca85 ''' # Para importar a classe é melhor utilizar os atalhos do Eclipse, # mas também segue o seguinte padrão: # from pacote + nome do arquivo import NomeClasse from pacote.Teste import Teste from pacote.Arquivo import Arquivo from pa...
[ "thiago.alves.85@gmail.com" ]
thiago.alves.85@gmail.com
d155f542c3763f4047353fbddeefa4abe38118ba
f0ff506a48fa7a82fe46c03544d8a1662ce77528
/ptc/forms.py
45f871a8a765b02337ad243ea92974c12126a3cb
[]
no_license
mekaoyou/ptc
bb8a2ede39d1d5a7e04e8f14c05dd1a2d0a27fcc
65432c274f31de2c43b744c348f94609f5f65366
refs/heads/master
2021-01-19T18:24:36.108719
2017-04-27T10:09:54
2017-04-27T10:09:54
88,357,543
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
#!/usr/bin/python # -*- coding: utf-8 -*- from django import forms class RegForm(forms.Form): roleId = forms.IntegerField() classId = forms.IntegerField(required=False) userName = forms.CharField(max_length=16) pwd = forms.CharField(max_length=16) phone = forms.CharField(max_length=16,...
[ "peng.liu.y@gmail.com" ]
peng.liu.y@gmail.com
cd8f4cd99721da1d6f5fef038c49ebdd3bbe34f1
1010e13cab98cb45a39f3db51d9ccb177fa8b87f
/tools/build_pytorch_libs.py
1c4f16670c04d5f79b9dd767f2d7be42b567ac63
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
junjun315/pytorch
2e7dbf60ae63da5e09bf5c8c9fea75f5fed4e940
35f1e28ba9b2f7b10198c2365c6437544de5acb8
refs/heads/master
2020-04-13T03:53:42.317924
2019-01-29T03:02:27
2019-01-29T03:02:27
162,945,027
0
0
NOASSERTION
2019-01-29T03:02:12
2018-12-24T03:18:09
C++
UTF-8
Python
false
false
11,686
py
from .setup_helpers.env import (IS_ARM, IS_DARWIN, IS_LINUX, IS_PPC, IS_WINDOWS, DEBUG, REL_WITH_DEB_INFO, USE_MKLDNN, check_env_flag, check_negative_env_flag, hotpatch_build_env_vars) import os import sys import distutils import distutils.sysconfig from ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
3a37243891ce44af6ad8a847d5f954be11cd79bf
205ca8845c9e818b515342b09a8a72c0a26204b6
/Metamusic/fingerprint.py
dd602afa63d7263e67adf3e73df45a079dd85a95
[ "MIT" ]
permissive
unique1o1/Meta-Music
a4577149eab3a2552dad9efa9aed916304e65516
208c203c810ed01c71c424fca9fbd2c1daba11c4
refs/heads/master
2021-11-29T01:09:02.098330
2019-05-21T12:27:13
2019-05-21T12:27:13
113,171,918
8
2
MIT
2021-11-05T14:21:17
2017-12-05T11:11:18
Python
UTF-8
Python
false
false
5,970
py
import numpy as np import matplotlib.mlab as mlab import matplotlib.pyplot as plt from scipy.ndimage.filters import maximum_filter from scipy.ndimage.morphology import (generate_binary_structure, iterate_structure) import hashlib from typing import Union, Iterator, Tuple IDX_FREQ_I...
[ "yunik.maharjan@icloud.com" ]
yunik.maharjan@icloud.com
f6fa7004aa22b1a235b330f80ef111d06b979599
015d5c043961fcbe22fa812fbbf2cd54b98912af
/Planes/src/UI.py
7af4542e14caa1375dc9a0a453a23d9619e6b92b
[]
no_license
FarcasiuRazvan/Python-Projects
4d3317e1bf364be782a3c1105d58b830eab65425
e956d7399f0b2b47f6ce539ac1672492250ee013
refs/heads/master
2022-06-07T20:41:04.787723
2020-04-26T21:48:04
2020-04-26T21:48:04
259,139,747
0
0
null
null
null
null
UTF-8
Python
false
false
6,378
py
''' Created on Dec 30, 2017 @author: Wolf ''' from src.validator import * from random import randint from src.Computer import * class UI(object): ''' classdocs ''' def __init__(self, boardplayer, boardcomputer, boardplayerTarget, boardcomputerTarget): ''' Constructor ''' ...
[ "farcasiurazvan@yahoo.com" ]
farcasiurazvan@yahoo.com
292b77898a0865b25cff82a3cada848553b42769
1e37cc605d52a8264329ba23e2bc7a74408b0f22
/chrome_from_url.py
11afc3ec2f015d2f264d0fd1b2ff6d06e5837a79
[]
no_license
maasano/download_file_from_web
7df45639a26f9911bb0ae42727d7a5acfb396659
fa6ce6d57f30c71e9ccd982a3e6f6e314187c8c6
refs/heads/master
2022-03-06T06:19:47.662728
2019-12-06T04:07:42
2019-12-06T04:07:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
# URL でダウンロード from selenium import webdriver import os import time import csv from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By import urllib.request driver = webdriver.Chrome() url = "https://pythonchan...
[ "YOUR@EMAIL.com" ]
YOUR@EMAIL.com
2f87685f8791dfb02330a5506249928090bee8b9
ec2095a21f9e2cffa6f6abe7b2b6aa0e4b751d0c
/Chance.py
78c0c7d517c0a1fec17fe057da05411428f84836
[]
no_license
pitzelrivera/swamp-hacks-project
bf4414433abc394b54e9fd0d144d5dc007cf20c0
68812320f9c6e248c60f9f813044cef5ff50af3d
refs/heads/main
2023-02-25T23:55:46.749621
2021-01-31T00:47:21
2021-01-31T00:47:21
334,297,981
0
0
null
2021-01-31T00:47:22
2021-01-30T00:51:53
Python
UTF-8
Python
false
false
478
py
class chancedeck: def __init__(self, chance_name, chance_definition, is_in_jail, money_change) : self.name = chance_name self.definition = chance_definition self.jail = is_in_jail self.money = money_change def getName(self): return self.name def getDefin...
[ "noreply@github.com" ]
noreply@github.com
a47d301dcee292fa81960e9f927a4a32c1ec43ab
051aeacc07445307e29f05ce96f08355b7629d28
/conformation/graph_utils.py
a501e9ff2d23b99b35a0826cd188e395fb002fa8
[ "MIT" ]
permissive
ks8/conformation
ee52735c7de48f4f5fa2b719a9b181f12c21802e
f470849d5b7b90dc5a65bab8a536de1d57c1021a
refs/heads/master
2023-03-13T19:03:20.167565
2021-03-06T15:58:58
2021-03-06T15:58:58
273,099,680
1
0
null
null
null
null
UTF-8
Python
false
false
1,455
py
""" Neural network graph auxiliary functions. """ import torch # loop_PyTorch def contains_self_loops(edge_index): """Returns a boolean for existence of self-loops in the graph""" row, col = edge_index mask = row == col return mask.sum().item() > 0 def remove_self_loops(edge_index, edge_...
[ "swansonk1@cs.uchicago.edu" ]
swansonk1@cs.uchicago.edu
30f9b23d261d536ea04bb46352a57de101437555
248793d43cd41e588fe343fe6f7dd82f667d2eb8
/num4ch.py
5a15eaf1bf1360318191d485c7cfb5cbe665d42b
[]
no_license
dongzeyuan/Algorithms
85dfe22abc0ef539f7d9ff4efa205810e80d70cc
a57bfe5a2887947419f5d6deb6988ce94917c286
refs/heads/master
2020-03-09T01:03:15.737335
2018-04-07T06:53:47
2018-04-07T06:53:47
128,503,857
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
# coding=UTF-8 import wx class MyFrame(wx.Frame): '''这是个测试各种函数用法的框架''' def __init__(self): wx.Frame.__init__(self, None, -1, 'TestFrame', size=(400, 300)) panel = wx.Panel(self, -1) # 创建个文本框组件 # 4-04,这个组件定义,必须定义为self.的形式,下面回调函数才能使用该变量 self.num_txt = wx.TextCtrl(panel...
[ "dongfujing88@gmail.com" ]
dongfujing88@gmail.com
ca3abd1705a383abeb650f2e9b16b282744ff809
f638aa8ac734bab56c5c5bd23d1aee03ec087b1b
/main.py
dfa223c4a6ef634522f7ada1dc94684837daa25a
[]
no_license
djalmajr/emotion-recognition
d8d3c69fc254a9df67abc0dcf339bc94862d890f
4a411615fa867623caa398e8ee8577ee2907a4f2
refs/heads/master
2021-09-26T09:59:37.884142
2018-10-28T20:42:02
2018-10-28T20:42:02
114,916,678
0
1
null
2018-01-30T22:51:48
2017-12-20T18:06:07
Python
UTF-8
Python
false
false
2,021
py
import cv2 import imutils import helpers import numpy as np from imutils.video import VideoStream from imutils import face_utils from sklearn.svm import SVC fishface = cv2.face.createFisherFaceRecognizer() # fishface = cv2.face.FisherFaceRecognizer_create() classifier = SVC(kernel='linear', probability=True, tol=1e-3...
[ "djalmajr@gmail.com" ]
djalmajr@gmail.com
dca05080880a830f7413d466084d21fe74e885ad
3f8059f6fc359c00a73bbe5ac50369c63c9d6e8e
/python/projects/learnpythonthehardway.org/ex35.py
d9c8b64c981e2882697df1d7f40c6a6666a83853
[ "Unlicense" ]
permissive
zhaoace/codecraft
888d086f3d053c19ab259d580379566f4f845eb3
bf06267e86bd7386714911b0df4aa0ca0a91d882
refs/heads/master
2020-06-04T22:05:16.588179
2019-01-14T08:17:11
2019-01-14T08:17:11
11,470,564
0
0
null
2014-06-26T10:19:44
2013-07-17T08:00:37
Python
UTF-8
Python
false
false
1,823
py
from sys import exit prompt = "> " def gold_room(): print "This room is full of gold. How much do you take?" next = raw_input(prompt) if "0" in next or "1" in next: how_much = int(next) else : dead("Man m learn to type a number.") if how_much< 50: print "Nic...
[ "li.zhao02@sap.com" ]
li.zhao02@sap.com
03c533d5fd37857b82e9463ca917102394566521
452a414081a2e28d543018a7e6030b061aa9c237
/posts/admin.py
8498ba5cf569b0b79dbf6bfcb5fe85bcc6041b28
[]
no_license
nitinparasa/django-starter-project
365589ce0c67528ca7b899afabb8e0a737498715
5bb541c91d61eec1ef527c6c5f8d79b92155e06d
refs/heads/master
2020-03-30T04:14:02.688162
2018-09-28T11:34:14
2018-09-28T11:34:14
150,731,374
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from django.contrib import admin # Register your models here. from .models import Posts admin.site.register(Posts)
[ "nitinparasa@Nitins-MacBook-Pro.local" ]
nitinparasa@Nitins-MacBook-Pro.local
f4fd1f46e54a7963bc3bcc1134fc86621b32d595
5cd9979aa365209616fa1315fdba6b606f13798f
/pythonUnitTest.py
6e65d1e03a01f76c6899b51fd1dc15f5c019836c
[]
no_license
rosegpeterson/python-unittest
991cf45a418d3e433d4415d5b9cacff53dfcf654
cd1b9f6386429f47b6080ad7049d949e9a4e7e79
refs/heads/master
2020-08-22T19:16:52.332636
2019-10-24T20:49:21
2019-10-24T20:49:21
216,463,517
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
#!/usr/bin/python3 #unit test import unittest def is_fiveMulp(number): """Return True if *number* is fiveMulp.""" for element in range(number): if number % 5 == 0: return True return False def is_fiveCount(number): """Return True if *number* is 5""" if number == 5: retu...
[ "rosegpeterson@gmail.com" ]
rosegpeterson@gmail.com
8fb02d468b676982c1d840f8dcc37aeaa5e496d5
d26531505f3f74976f07739747755aafb15e17c0
/L4/l4_act1.py
36efcfad18175b1c2b1260734b3a9f145b2d61c6
[]
no_license
Yishen27/DataEngin_SVW
6e09d7f11f99f592ef98686ed70ff4b26321bc06
2ad1f5ce9d98f05a3d345f9d1db7b2b902681e00
refs/heads/main
2023-03-25T01:56:25.498618
2021-03-27T10:34:02
2021-03-27T10:34:02
334,913,459
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
import pandas as pd from efficient_apriori import apriori pd.set_option('max_columns', None) dataset = pd.read_csv('Market_Basket_Optimisation.csv', header = None) #遍历所有数据 transactions = [] for i in range(0, dataset.shape[0]): temp = [] for j in range(0, dataset.shape[1]): if str(dataset....
[ "noreply@github.com" ]
noreply@github.com
4057875c237527412532aabab219ffd580c79c80
25dda94672497e3287a7403e283fb279ad171b79
/boj/11286 절대값 힙.py
339ce72781b6d758e8e55eb60f6416475b82351b
[]
no_license
woorud/Algorithm
c94b844e8c96a446c5fdee5c0abb159bfee384d7
f5b8e3cf0aea7fc4400e6f5bb0c1531fad93e541
refs/heads/master
2023-02-23T13:53:28.645036
2021-01-29T12:24:23
2021-01-29T12:24:23
230,908,288
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import heapq, sys n = int(sys.stdin.readline()) absheap = [] heapq.heapify(absheap) for i in range(n): num = int(sys.stdin.readline()) if num != 0: heapq.heappush(absheap, (abs(num), num)) else: try: print(heapq.heappop(absheap)[1]) except: print(0)
[ "woorud96@gmail.com" ]
woorud96@gmail.com
350c477dbb7d44eb84637c09fec649dedf34b656
1982422e30a7f94d70393bcaaebdc778e017a031
/05 블로그 유저 만들기/main.py
0007c2fbbc4230640b34130e638a2b58efe7cac4
[]
no_license
seturi/CI_OOP
9e9dbe1759728e8be609b6a4ae81533f90781fcf
004c5f002c1d3b31416d01f9d60c98c2f34bf3b6
refs/heads/master
2021-01-04T07:59:26.200727
2020-02-18T02:52:05
2020-02-18T02:52:05
240,456,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,702
py
class Post: # 게시글 클래스 def __init__(self, date, content): # 게시글은 속성으로 작성 날짜와 내용을 갖는다 self.date = date self.content = content def __str__(self): # 게시글의 정보를 문자열로 리턴하는 메소드 return "작성 날짜: {}\n내용: {}".format(self.date, self.content) class BlogUser: # 블로그 유저 클...
[ "48719589+seturi@users.noreply.github.com" ]
48719589+seturi@users.noreply.github.com
ab46842a35a15d636458f9c5e99772b6cd3ee956
7855b5df5402d7059fdf455b7218768cfaf8f689
/scripts/create_conway_polys_database.py
f4181f1ea7bebf70a8e059d968474af97bcade31
[ "MIT" ]
permissive
TrendingTechnology/galois
9d610d2202cb34545ae338aa280b593b22d26762
b6d8927ca027e20214abe87f66ce2f2e84e68bc8
refs/heads/master
2023-07-04T02:33:06.493219
2021-08-05T00:07:41
2021-08-05T00:21:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
""" Script to create a database of Conway polynomials using Frank Luebeck's compilation of polynomials. """ import os import sqlite3 import requests POLY_TEXT_FILE_URL = "http://www.math.rwth-aachen.de/~Frank.Luebeck/data/ConwayPol/CPimport.txt" DATABASE_FILE = os.path.join(os.path.dirname(__file__), "..", "galois", ...
[ "mhostetter@users.noreply.github.com" ]
mhostetter@users.noreply.github.com
21a7c489f1887141c079595bbbc931683ca93c18
2aad62f10e0ef44de64be455b642570c1315e839
/Assignment_3/2-1.py
9bada8fbb28e03421b736e81f1cd7dd9fce7b058
[]
no_license
deshiyan1010/iNeuron-Submission
9c821dfd84421469861088f6dffb1c807db70dbf
a05d3952079c0d97a6833d0b245674c6082649dd
refs/heads/master
2022-12-12T16:56:43.738184
2020-09-09T15:25:52
2020-09-09T15:25:52
264,190,096
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
def alex(vector, degree,increasing = True): overall = [] n = len(vector) for i in range (n): row = [] if increasing == True: for j in range(degree+1): row.append(vector[i]**j) overall.append(row) if increasing == False: for j in ran...
[ "noreply@github.com" ]
noreply@github.com
bd0a4edb0505e032600598e3d09c283a811f850c
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/51000001.py
7e66d0a6b9ad05613ad85688a4de506f6035643c
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/51000001.py generated: Wed, 25 Jan 2017 15:25:34 # # Event Type: 51000000 # # ASCII decay Descriptor: e- => ? # from Configurables import ParticleGun from Configurables import MomentumRange ParticleGun().addTool( MomentumRange ) from GaudiKernel import...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
0bcb757c6bbf3812e37b9efbf15ba7caa80ff7fa
5b20da6ae9991a501cb18914617b9d04f5a1c2dc
/backend/product/migrations/0001_initial.py
15c9aed6994a4d390cb79a4c4e9b5701f8dc2fe8
[]
no_license
OSamuelAlmeida/Interhack2019
fb1005fe44cf8f00019633c4b8b1afd7b26da848
2d5638b0ec9a6ea13f8d930c3f78d7a34520a37c
refs/heads/master
2022-03-09T09:45:08.672301
2019-08-25T14:26:05
2019-08-25T14:26:05
204,168,430
0
1
null
2022-02-18T08:18:41
2019-08-24T14:29:09
JavaScript
UTF-8
Python
false
false
1,209
py
# Generated by Django 2.2.4 on 2019-08-24 19:09 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Meta', ...
[ "samuelalmeida13@gmail.com" ]
samuelalmeida13@gmail.com
6c884332d73be14f2e193a74937f4e238d9f2a66
b34a6c70a3141629ec6340f5f3d0ab0728f2b8ff
/user_info/urls.py
2c2e4e4417382ed0919bd67e10caa7236f873a87
[]
no_license
chemmhi/mallBackend
5b22e86a70d409dd8cda6c94894caf37a71302d9
e67f3403bbed01def8e02b1a7c99d70c8c36cea0
refs/heads/main
2023-08-17T05:46:13.121610
2021-09-21T13:05:47
2021-09-21T13:05:47
400,694,239
1
0
null
null
null
null
UTF-8
Python
false
false
618
py
# Author: Chenchen from django.urls import path,re_path from user_info import views urlpatterns = [ path('verifycode/img/',views.VerifyCode.as_view()), path('login/',views.Login.as_view()), path('register/',views.Register.as_view()), path('updatecart/',views.UpdateCart.as_view()), path('username/v...
[ "1051585831@qq.com" ]
1051585831@qq.com
3813b0738d948c57a5e19526e42acc545349f725
d9dc712c73b54c5ca3fd2ab2af67036980f32fb3
/nurs_data_reference/tests/test_frame_reference.py
8b977cdcb7fc64177b47b5f9b4e85a90df9f7748
[]
no_license
Stat-Cook/NuRS_Data_Dictionary
472273d8d9ddb6ecaaf088709117b1d24e972eec
f90e5b331e88bf92d14423b6f9a40838a1cdf7fe
refs/heads/master
2023-04-04T17:48:29.579700
2021-04-15T12:51:05
2021-04-15T12:51:05
353,643,925
0
0
null
null
null
null
UTF-8
Python
false
false
2,603
py
import pytest import pandas as pd from ..frame_to_reference import FrameReference from ..description_frame import DescriptionFrame @pytest.fixture def example_data(): return pd.read_csv("nurs_data_reference/tests/test_files/example_data.csv") @pytest.fixture def example_frame(example_data): return FrameRef...
[ "robert.cook@bcu.ac.uk" ]
robert.cook@bcu.ac.uk
fb48b050ccc7ded04a0445619e48f52bcadfd357
114d397d67647c20efc609d70bcd77c413f8a729
/examples/gmail.py
215deb434371696bef819b3eba924a62e93a39fc
[ "Apache-2.0" ]
permissive
davidmiller/letter
7058bc7ad5a269457d7ff0130195a3ad14411075
c0c66ae2c6a792106e9a8374a01421817c8a8ae0
refs/heads/master
2021-07-03T11:42:21.724651
2017-06-25T14:07:59
2017-06-25T14:07:59
6,143,636
1
0
Apache-2.0
2021-06-10T20:37:36
2012-10-09T16:11:32
Python
UTF-8
Python
false
false
320
py
import getpass import letter user = raw_input('Username > ') pw = getpass.getpass() class Message(letter.Letter): Postie = letter.GmailPostman(user=user, pw=pw) From = user To = 'david@deadpansincerity.com' Subject = 'My Cool mail via Gmail' Body = 'Hai larry' Message.send()
[ "David" ]
David
dd50a181a07455845083ceeb07402df8d2f2f9c2
55d27040ae05189bca1dad77dce760ca80954a99
/sort_alphabets.py
d0e9639d3da27420a8b0987bc4f8146653ca016b
[]
no_license
prakrutivaghasiya/Python-programs
e9a20c5198f763f3373c9396d8ec700ea8a04919
6ecc9d970749424c8e0cca951a9044504c8bb570
refs/heads/master
2020-07-22T05:25:27.739694
2019-09-08T09:00:17
2019-09-08T09:00:17
207,086,477
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
my_str = input("Enter a string with spaces between letters : ") words = my_str.split() words.sort() for word in words: print(word)
[ "prakrutivaghasiya@gecg28.ac.in" ]
prakrutivaghasiya@gecg28.ac.in
db3a5e796dccbcd86c59c07f265a266fba9cb209
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_267/ch66_2020_06_21_19_51_02_942607.py
0e1afeb82048df4970ad1ba78a24fc6673a561ca
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
def lista_sufixos(string): lista_sufixos = [] while i < len(string): lista_sufixos.append(string(i+1:)) i+=1 return lista_sufixos
[ "you@example.com" ]
you@example.com
3ffb35819f000187569af8d5e91edb8854505cc6
05f4ab115eb505829aa11d6a264d48beff8575da
/venv/Scripts/pip3.6-script.py
b4d604e5585a9e5f38c467edcecc725e0e42b4c1
[]
no_license
nmelox/BookPage
256dbefb6a60c9854c80e292dd91c704c1cfac1b
e484c696599c9bfaf194618113b360979c6d25d2
refs/heads/master
2020-03-19T19:29:38.857438
2018-06-12T21:09:40
2018-06-12T21:09:40
136,857,353
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!C:\Users\Adriana\PycharmProjects\BookPage\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys....
[ "melonahuel@hotmail.com" ]
melonahuel@hotmail.com
cfd267f99d4cae78a9cee06dbbac8655354642c4
9ba9456e55d5006288a4d90dc2be769df1036651
/demo/cli.py
f8f1ca56b10ddac97790d0220cf10578b7f7c26b
[ "MIT" ]
permissive
mislavcimpersak/packaged-cli-demo
df010e364e20e0fef7d42ee371f8927219ca8b53
5027569ddfa3c61c1a909c4bca4387240a4b6f9f
refs/heads/master
2021-05-17T11:59:37.819111
2020-03-30T07:55:48
2020-03-30T07:55:48
250,765,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
import os import click from demo import version from demo.command.download.main import download_file from demo.command.size.main import get_size @click.group() @click.version_option(version=version.version()) def cli(): """demo's command line interface.""" @cli.command() @click.option("--url", help="URL of th...
[ "mislav.cimpersak@gmail.com" ]
mislav.cimpersak@gmail.com
17e70d2e41bdd516debf650b514fe200ab485a25
bcc199a7e71b97af6fbfd916d5a0e537369c04d9
/leetcode/solved/43_Multiply_Strings/solution.py
90b9fe407e659af20688b1f0a37aefc2a67638f3
[]
no_license
sungminoh/algorithms
9c647e82472905a2c4e505c810b622b734d9d20d
1389a009a02e90e8700a7a00e0b7f797c129cdf4
refs/heads/master
2023-05-01T23:12:53.372060
2023-04-24T06:34:12
2023-04-24T06:34:12
87,406,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 sungminoh <smoh2044@gmail.com> # # Distributed under terms of the MIT license. """ Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Note: You mus...
[ "smoh2044@gmail.com" ]
smoh2044@gmail.com
04fe48c86770c1775a8f336b73a22b73e71e8ae1
a9adab93602c472d90a327a466d2cb250bd47788
/angstromCTF2019/Paint/solve.py
ad3234a32bae12301d55be4a7c6ebefee124f02c
[]
no_license
minmin53/writeups
afc4586e6a9390d7185f2baf99e0aead47bc3ba4
4e05be5f0e5eb26a5ee398eb24245e1109ddc056
refs/heads/master
2022-05-20T06:58:36.780383
2020-04-27T05:06:36
2020-04-27T05:06:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,636
py
from Crypto.Util.number import * secret = 6299216070032440343347392965979007836838729038094716217833184417242961552606478615660021454017748417869655164248211331480611405072831167473391489751775134851039670112072175689249934635695595514291417569520187110712049499304168593830373061979536845913910662875274691147534950900...
[ "theoldmoon0602@gmail.com" ]
theoldmoon0602@gmail.com
bc30eb5d16dda20ade1e17eb9b1f37b33182fcaf
8a7db7fe597d1d5d9658744980ac4534cef37281
/siscobros/siscobros/wsgi.py
4358f0e2670760bd658d43f0b82686067de82c7c
[]
no_license
Wilo/SisCob
4192a38fff350fee69a61816ef6d3a545046cfc7
8e2e2c6fc82aad9c6933792f3203bc66842a0fb4
refs/heads/master
2016-09-05T18:02:25.215649
2014-02-11T23:32:15
2014-02-11T23:32:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for siscobros project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "siscobros.settings") from django.co...
[ "wmendezc19@gmail.com" ]
wmendezc19@gmail.com
eba817e141409787395ef9e98a35ff9d8e6f88e6
4dec0f8b6089d88bd318a98b02cce1368ecb3bb6
/settings.py
d61eb6535c38c5d7738541573d5d0a0953a98e75
[]
no_license
wk-code/-ai-Gomoku
b86e97080dcad06e600d911e3b403a6aaa799f11
6e8f576989a98109203111472cbfc34f0d853c30
refs/heads/main
2023-04-26T05:23:33.799528
2021-05-26T08:45:22
2021-05-26T08:45:22
370,242,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
import pygame class Settings: def __init__(self): self.screen_width = 800 self.screen_height = 520 self.bg_color = (230, 230, 230) self.img = pygame.image.load("图标.jpg") self.board_left = 10 self.board_top = 10 self.board_width = 500 self.board_heigh...
[ "mrwanke@outlook.com" ]
mrwanke@outlook.com
4778979bef2c28e0ea4ff9383f9b1bdd7891942b
964e7c159a00a16787e6a63816c2ecfde12798c3
/top/wintp/jsonschema/test/JsonSchemaDemo1.py
9338b4cf2232896d350b7a6abc049eb8cd3d5c83
[]
no_license
shaofeer/MyJsonSchemaDmeo
140a73413b6d5b0d5b7bbb48fd315214c3f0e493
2a6af29d6ff6b135f849a840684b647c8d1c0d75
refs/heads/master
2022-03-28T01:06:14.800163
2019-12-23T07:06:39
2019-12-23T07:06:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
# 导入验证器 import json from jsonschema import validate, draft7_format_checker, SchemaError, ValidationError if __name__ == '__main__': with open('../schema/MySchema.json', encoding='utf8') as f: my_schema = json.load(f) # json数据: with open('../data/cece.json', encoding='utf8') as f: json_dat...
[ "pyfysf@163.com" ]
pyfysf@163.com
1635952f995a5a13f8e6afbb7f808a70a5b1d791
62fc25baa271eec064f3e8d26e578f44af259289
/sim_patch_num_4p.py
7ca2c2815cd2bdac5266c9d46c41c9de186443c6
[]
no_license
lituan/Topface
8b56f5063d2f3d9613721e106a548a8eb8c3142d
be7cb55fe7eac8ffd2ea01e7041195521805a9b9
refs/heads/master
2021-01-12T12:27:43.652857
2017-05-04T13:22:02
2017-05-04T13:22:02
72,499,417
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
# -*- coding:utf-8 -*- import itertools import operator import os import sys import lt from wdsp import Wdsp from patch_search_base import PatchSearch class PatchSearchSpecific(PatchSearch): def __init__(self, pros, seqs, wdsps, hotspots, cutoff=1): PatchSearch.__init__(self, pros, seqs, wdsps, hotspots...
[ "imlituan@gmail.com" ]
imlituan@gmail.com
701e4bb83d258e906c7e991987b4c91f52ad0687
00bf19067f2cd8d3bde315d0e6e54bd7ba25e365
/code/DNN.py
f106f6cc1e80fb7c270cdc218a37f410cdaa5a6b
[]
no_license
amoonfana/TS_Classifier
7db013bd8abe4474e889bf25205a31051ee19117
1b5ec5b7920055331fcd995ea5c80d883fdfcd4d
refs/heads/main
2023-08-03T17:17:33.065272
2021-09-17T01:21:35
2021-09-17T01:21:35
407,067,380
2
0
null
null
null
null
UTF-8
Python
false
false
3,979
py
# -*- coding: utf-8 -*- import numpy as np import pandas as pd import torch from torch.optim import lr_scheduler from DL.DataReader import TimeSeries from Net.ROCKET import ROCKET from Net.ConvNet1d import ConvNet1d from Net.ResNet1d import resnet1d18, resnet1d34, resnet1d50, resnet1d101, resnet1d152 from Net.Inceptio...
[ "amoonfana@qq.com" ]
amoonfana@qq.com
e7b70b9f8478cbe00449d124f054ef12ee82c03b
e27333261b8e579564016c71d2061cc33972a8b8
/.history/api/IR_engine_20210728234203.py
14e0af8534a9c7489e013618793835e8ca8fd7ab
[]
no_license
Dustyik/NewsTweet_InformationRetrieval
882e63dd20bc9101cbf48afa6c3302febf1989b1
d9a6d92b51c288f5bcd21ea1cc54772910fa58f7
refs/heads/master
2023-07-01T09:12:53.215563
2021-08-12T08:28:33
2021-08-12T08:28:33
382,780,359
0
0
null
null
null
null
UTF-8
Python
false
false
5,671
py
import pandas as pd import numpy as np from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics.pairwise import cosine_similarity from sklearn.metrics.pairwise import euclidean_distances from nltk.stem import PorterStemmer from nltk.tok...
[ "chiayik_tan@mymail.sutd.edu.sg" ]
chiayik_tan@mymail.sutd.edu.sg
f892a121b9a5693c2592a92e24d151f248268590
1f60407f0825a4e5328a88bbe442d5172c7c8e6f
/DBMS/DB.py
b334957fc3bf9f0bd9595c70f68a28d7e35b5601
[]
no_license
Hau5ratz/Scanners
42abc1e0f0f1c8a8746926dceed8bbcb3872829b
98b1a5258c0c3fcbb1737f026165c420a4a0103d
refs/heads/master
2020-03-21T16:42:17.067294
2018-06-26T20:31:23
2018-06-26T20:31:23
138,788,013
1
0
null
null
null
null
UTF-8
Python
false
false
8,782
py
import sqlite3 import os import time from geopy.geocoders import Nominatim import sys class DB(): def __init__(self, owner, db): self.db = "../data/bookofjob.db" self.owner = owner def __enter__(self): if os.path.exists(self.db): self.owner.conn = sqlite3.connect(self.db) ...
[ "noreply@github.com" ]
noreply@github.com
23a37d05fc8744b9a79ada8ce25cc461ffc07b08
f5fae97a6b76ff660495ad6107e2563d1b6273d4
/mastic/interaction_space.py
c8ab5fd5807a8c8a6f0dab96a06063fba5b3aaa4
[ "MIT" ]
permissive
Computational-Chemistry-Research/mastic
e9ec66ff1d4577ac0686ed9eaefe96f48e2270a6
58749c40fe364110e3e7be8aa79a89f32d956d09
refs/heads/master
2021-12-29T19:16:06.075303
2018-01-24T16:08:59
2018-01-24T16:08:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,721
py
import collections as col class InteractionSpace(col.UserList): """An indexed list of InteractionType objects (interaction classes), which are accessible by their InteractionType.""" def __init__(self, system_type): super().__init__() self._system_type = system_type # the order o...
[ "salotz@salotz.info" ]
salotz@salotz.info
1402215de795362c3bf280285a432acd439ed1a3
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/byte/Schema+Instance/NISTXML-SV-IV-atomic-byte-minExclusive-4-3.py
546cd4d622222e004eb7c096b36aa268f39fa7a8
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
259
py
from output.models.nist_data.atomic.byte.schema_instance.nistschema_sv_iv_atomic_byte_min_exclusive_4_xsd.nistschema_sv_iv_atomic_byte_min_exclusive_4 import NistschemaSvIvAtomicByteMinExclusive4 obj = NistschemaSvIvAtomicByteMinExclusive4( value=109 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
e0a024431ad980f1924a8f5527c9a6124af8d894
a9c3e212f86acdbc84ba57357194e8f11c844535
/catalogue_management/migrations/0005_auto_20170805_1824.py
7f5911b81aa8bf4c4485c57fcc7aa45c5711b848
[]
no_license
bitapardaz/carwash
bde4635bda1f1fa51409c2454e27aca84c2bffa0
0a10954eae44df7341372b5f3def652e512538b0
refs/heads/master
2021-01-15T13:34:31.198300
2017-08-23T11:35:33
2017-08-23T11:35:33
99,678,532
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('catalogue_management', '0004_auto_20170727_0856'), ] operations = [ migrations.AlterField( model_name='service',...
[ "pourranjbar.ar@gmail.com" ]
pourranjbar.ar@gmail.com
223f3e310341be9af91c746abf27b02fae0fc56c
6bb3cc085524ab1af2538a0a402994790af34cd2
/venv4windows/Scripts/runxlrd.py
a9d83c6a7869b0a6d5fbe4b2d6bd58a8a8e9cc6d
[]
no_license
dhhoang89/send_payroll_over_email
7fa2c25fc2af0b5971ae9e2632e5db4f5a4ef5ba
fb359f480f59d0d6a6b323607fccc9955a6d2a8e
refs/heads/master
2023-02-10T08:01:16.745309
2020-12-28T03:28:19
2020-12-28T03:28:19
324,125,965
0
0
null
null
null
null
UTF-8
Python
false
false
16,361
py
#!d:\onedrive\documents\python_projects\send_payroll_over_email\venv4windows\scripts\python.exe # Copyright (c) 2005-2012 Stephen John Machin, Lingfo Pty Ltd # This script is part of the xlrd package, which is released under a # BSD-style licence. from __future__ import print_function cmd_doc = """ Commands: 2rows ...
[ "danghuyhoang18@gmail.com" ]
danghuyhoang18@gmail.com
be54f6e5681f2eb17e502fb6f64a2b06c1775e86
9b54e3d58447e917a238b85891020c392c4ac601
/codeup/1013.py
645162bf88e339a04cea6f30dd165cdc5e16443a
[ "MIT" ]
permissive
love-adela/algorithm-ps
ea0ebcd641a4c309348b389b8618daa83973f4b2
c92d105d8ad344def001160367115ecf99d81c0d
refs/heads/master
2023-05-11T03:37:11.750692
2023-04-30T17:31:30
2023-04-30T17:31:30
174,651,672
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
a, b = map(int, input().split()) print(a, b)
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
f2b585b4b107517cce9bb588fd66cca47882a97c
1c938202ba0dafcc3a38c3442b92f638698c1736
/web/ip_ipam.py
8819366014b62f1c5913d91e0f77152c5acdb192
[]
no_license
nlyubchak/network
472b630cb3425b4e6850890e2d5949fb1a6ec138
8ab919c7e40f4e2d64d6954a506ee498c0201ed4
refs/heads/master
2021-06-24T13:45:46.583275
2021-01-07T17:07:08
2021-01-07T17:07:08
163,876,936
0
0
null
null
null
null
UTF-8
Python
false
false
3,730
py
#!/usr/bin/python3 # -*- coding: utf-8 -* import orionsdk import requests import json import logging import boto3 import os import dns.resolver from sys import exit def lambda_handler(event, context): """ Script assumes Solarwinds IPAM has required groups (subnets) configured in a special way: 1) custom p...
[ "nlyubchak@gmail.com" ]
nlyubchak@gmail.com
8143ad2895c961ddd4a0d4b7b09c61ab15f705df
799a8605e28118da863079f0924cd93974221c3c
/src/ralph/account/admin.py
341a44f6d5b3666c748d8458f48daf0ba7e4f22c
[ "Apache-2.0" ]
permissive
damjanek/ralph
31a2fae13e2608bcf9f13853199cfc00ba6db317
728e1c17ea8a70600928a59d5ec17a964063485d
refs/heads/master
2021-01-24T05:06:34.308524
2013-02-20T10:26:47
2013-02-20T10:26:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,980
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from django.contrib import admin from django.contrib.auth.admin import UserAdmin, GroupAdmin from django.contrib.auth.models import User, Group f...
[ "lukasz@langa.pl" ]
lukasz@langa.pl
f7d764ba88db6e3901e87715853fe26847484a39
6d71de4e88dcb7d04f6d3a18736d393e12f8d087
/scripts/packages/database.py
f5c11749b5a1d8cec4d2441e01d576df5e077dc6
[ "MIT" ]
permissive
wyolum/Alex
71075c30691229e8eb28afa06a6ab44c450b14d4
03f1d8ae0107454d18964e33777ffc4c0c1a1951
refs/heads/main
2023-07-02T16:11:57.088323
2021-08-05T17:59:04
2021-08-05T17:59:04
338,686,528
10
0
null
null
null
null
UTF-8
Python
false
false
3,870
py
import sqlite3 class Struct: def __init__(self, **kwargs): self.attrs = kwargs self.__dict__.update(kwargs) def keys(self): return self.attrs.keys() def __getitem__(self, key): return self.attrs[key] def __repr__(self): return f'Struct(**{self.attrs})' class Tabl...
[ "wyojustin@gmail.com" ]
wyojustin@gmail.com
9d4801119d8d9cd8f042026683e38b8c49463b6c
8be8e30ded913d6c47c778848d0097a591e43968
/LearnPythonTheHardWay/ex35_branch.py
8e3ee07e46095347003d546aa16168deaf2e78cc
[]
no_license
whhub/python
eebbf6bf809b33bc4c98e85da7ed5e30ce0af9ea
8b71f79e6e0274e43ed9d473ea9fa2a277cc4bea
refs/heads/master
2021-01-11T09:46:58.055925
2018-05-09T09:49:11
2018-05-09T09:49:11
69,222,994
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
from sys import exit def gold_room(): print("This room is full of gold. How much do you take?") next = input("> ") if "0" in next or "1" in next: how_much = int(next) else: dead("man, learn to type a number.") if how_much < 50: print("Nice, you're not greedy, you win!") ...
[ "wanghui122004@me.com" ]
wanghui122004@me.com
d41b21b8a13cdfa23ad2aa470bc3feaa74fa86f1
34863931bf1cfbb66132446f5753d2538c5a4f72
/CIFAR10/nin_model.py
b90166a50393c1b1d5fe04cf6b7d168d42ef8dd6
[]
no_license
leobxpan/New-Sparse-ConvNet
f48971f32b761d9aef28164a6948f4f5474c4304
44c9d0973e3e54ab6929837e6a1c670ef4683442
refs/heads/master
2021-09-10T17:30:30.405945
2018-03-30T03:07:46
2018-03-30T03:07:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,160
py
import tensorflow as tf def model(cifar): _IMAGE_SIZE = 32 _IMAGE_CHANNELS = 3 if cifar == 10: _NUM_CLASSES = 10 else: _NUM_CLASSES = 100 # define functions def weight_variable(shape, stddev=0.05): initial = tf.random_normal(shape, stddev=stddev, dtype=tf....
[ "pankobe24@gmail.com" ]
pankobe24@gmail.com