blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
b8adf81e55c4fcbbbd59f7a323578440b017b938
37889259aa40a8cdeb415eab3074929ab85f0ba6
/enr/matrix/preprocess_links.py
526ad71147b1dde3872c08d7a3f979e9ea5da964
[]
no_license
aksarkar/frea-work
8e1c15502fd1b40708f6d6de11afed4b3eba9de7
05337a375e03e233590ad1a306850c1dfea493e5
refs/heads/master
2021-05-23T12:38:27.539191
2020-04-05T17:16:47
2020-04-05T17:18:01
253,289,467
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
import signal import sys def parse(row): for link in row[11].split(';'): if link: eid, _ = link.split('_') yield row[1:4] + [row[5], eid] signal.signal(signal.SIGPIPE, signal.SIG_DFL) data = (line.split() for line in sys.stdin) for row in data: for link in parse(row): p...
[ "aksarkar@mit.edu" ]
aksarkar@mit.edu
d2003805eae1e13197bb7aafd7ef266fb6986d01
eaaaf281f73fca63b4eb649fc6133c89416d13bf
/week-04/day-4/01a.py
29b019626ed8ad3d8476ba51c5b8af27db630475
[]
no_license
tpracser/PracserTamas-GF-cuccok
87801dbe45acccffa9853269777d6a334bdbff4d
6a152d76980881ef01abd1a648f3ea13eebd259d
refs/heads/master
2021-09-01T15:48:03.556460
2017-12-27T20:00:12
2017-12-27T20:00:12
115,549,503
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
# 1. write a recursive function # that takes one parameter: n # and counts down from n def count_down(n): if n >= 0: print(n) count_down(n-1) count_down(5) # def count_down(n): # if n >= 0: # print(n) # count_down(n-1) # # count_down(20)
[ "t.pracser@gmail.com" ]
t.pracser@gmail.com
e7a089316a9e2bca8c1ecae0240ee870bf7faefc
8d9318a33afc2c3b5ca8ac99fce0d8544478c94a
/Books/Casandra DB/opscenter-5.1.0/lib/py-win32/2.6/twisted/python/__init__.py
bf58cfdac4cbd13c739e11d403a5d575c7b8e40f
[]
no_license
tushar239/git-large-repo
e30aa7b1894454bf00546312a3fb595f6dad0ed6
9ee51112596e5fc3a7ab2ea97a86ec6adc677162
refs/heads/master
2021-01-12T13:48:43.280111
2016-11-01T22:14:51
2016-11-01T22:14:51
69,609,373
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:3c03bce7f60458c4a43b3833e635860afc65008976d48d5cc1c9ae6f61414690 size 157
[ "tushar239@gmail.com" ]
tushar239@gmail.com
f686025abfd7761506d507320e9fa8b9e4448456
e8fcba16a457cd2972c2e9ce9b648e18be9322c9
/presupuesto/migrations/0002_auto_20210527_1917.py
8924ef826c22f0c3693e3629e2423837fee46e78
[]
no_license
maxisandoval37/PrismaTPLaboFinal
44af6314b421b68b75edb14b8465d673287e84bc
7167ec7b7296897c6849c22e205c54a216c60a4e
refs/heads/main
2023-06-12T23:44:25.516555
2021-07-05T21:46:46
2021-07-05T21:46:46
364,297,960
0
3
null
2021-05-10T01:15:11
2021-05-04T15:14:59
null
UTF-8
Python
false
false
1,298
py
# Generated by Django 3.1.7 on 2021-05-27 22:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('sucursal', '0001_initial'), ('presupuesto', '0001_initial'), ('usuario', '0001_initial')...
[ "tmevolution1@gmail.com" ]
tmevolution1@gmail.com
5e6aa9adf764b185928b87516e424025cb037f81
d6a8d7a63fc21d3b0a9c89966618ff30c6f32581
/Security/zipunlock/zipFile.py
b3faf5ad6008e4562dc918869d47f71ba0ed6008
[]
no_license
WangSura/PythonLearn
173bc43d6c2462c52292238dac1c5250ebeeb978
011bbd6b322b51dd811864165512d14ae77f43e5
refs/heads/master
2023-08-29T15:45:48.286284
2021-11-17T12:00:53
2021-11-17T12:00:53
357,208,223
1
0
null
null
null
null
UTF-8
Python
false
false
909
py
import zipfile def extractFile(zFile, password): try: zFile.extractall(pwd=str.encode(password)) # 如果成功返回密码 return password except: return def main(): zFile = zipfile.ZipFile( "D:\program\pythonPractice\Security\zipunlock\q.zip", "r") # 打开我们的字典表 f = open('D:...
[ "2739551399@qq.com" ]
2739551399@qq.com
a130251397007fd3ee7543a9d76efa1de23c5ed4
b59e093876a78054bf58ae16fa245bace5d924a2
/openLock.py
c11b77d3da09e7a399bd1672f7bf4b1c06a68e85
[]
no_license
NeilWangziyu/Leetcode_py
539551585413e1eebd6e6175ba3105c6bc17e943
4105e18050b15fc0409c75353ad31be17187dd34
refs/heads/master
2020-04-08T03:50:05.904466
2019-10-15T07:13:49
2019-10-15T07:13:49
158,991,828
2
0
null
null
null
null
UTF-8
Python
false
false
4,745
py
from typing import List from queue import Queue class Solution: def openLock(self, deadends: List[str], target: str) -> int: # 我觉得自己的主要问题在于,转换的过程有点慢 if target == "0000": return 0 deadends = set(deadends) # print(deadends) check_list = ["0000"] c = 0 ...
[ "17210720158@fudan.edu.cn" ]
17210720158@fudan.edu.cn
48de3e36b2cfcb091894dc12930486034e0182ef
c9293ab68d0235a1830a3634a41a5b65b4eb5d6a
/Lessons/Section-09/lesson_0180/agenda/contatos/migrations/0004_contato_foto.py
b0311bf2ac5e47897e01617411ca8b7d5b9ed4e2
[]
no_license
lipegomes/python-django-udemy-studies
4f836497ee10ece7ee5b40af1b636bb1c03deb75
938fa6a05f9505b8eaf6e7e6bc1c5e199b670432
refs/heads/master
2023-01-07T01:22:16.855346
2020-11-03T13:49:54
2020-11-03T13:49:54
283,852,942
1
1
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 3.1 on 2020-08-28 22:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contatos', '0003_contato_mostrar'), ] operations = [ migrations.AddField( model_name='contato', name='foto', ...
[ "fgdl.py91@gmail.com" ]
fgdl.py91@gmail.com
c62f53df595616e53575e468200e4bdaffb2d787
7a11b6d4063685cb08b074ac8d08ab6e1d045ff5
/tasks/beginer/9_table.py
199e5f9a0665c62ee65b3cb0992f5a65e8b7e13a
[]
no_license
slavaider/python
8a9f5769bd519e0e270c5814ef46ec5c653ab7c1
f98896b8e9dd93fe7d2b4a495b67704ef5f08373
refs/heads/master
2023-03-02T15:12:56.218871
2021-02-07T16:20:08
2021-02-07T16:20:32
301,493,207
2
0
null
null
null
null
UTF-8
Python
false
false
263
py
if __name__ == '__main__': # y = -0.23x2 + x min = float(input('min=')) max = float(input('max=')) step = float(input('step=')) while min < max + 1: print(f'x = {min}', 'y = ', f'{(-0.23 * (min ** 2) + min):5.2f}') min += step
[ "slavaider1@gmail.com" ]
slavaider1@gmail.com
48c974d0b4639e41e90bf3ede9836a58fea3dad3
61dd6c9607261f4f13e914792b34e5ade482dbae
/tests/__init__.py
9604ceea2d22e1634e5ab1e03056424c37442f91
[ "Apache-2.0" ]
permissive
dekoza/i-hate-time-tracking
9261789e22562f33281b04e1267e1450041fcde2
adb6018b56c836317535f2e2346dfb8d9cce3aac
refs/heads/main
2023-08-16T12:02:44.786224
2021-10-03T22:40:17
2021-10-03T22:40:17
412,932,487
1
0
null
null
null
null
UTF-8
Python
false
false
157
py
"""Tests suite for `ihtt`.""" from pathlib import Path TESTS_DIR = Path(__file__).parent TMP_DIR = TESTS_DIR / "tmp" FIXTURES_DIR = TESTS_DIR / "fixtures"
[ "dominik@kozaczko.info" ]
dominik@kozaczko.info
0837804c4e30bdcdeb0eb96d9f7ed371a776560c
612325535126eaddebc230d8c27af095c8e5cc2f
/src/buildtools/checkdeps/testdata/checkdeps_test/disallowed/allowed/DEPS
a462733e70c9c92dbde1a80d2ea81d7c34afc8c4
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
42
skip_child_includes = [ "skipped", ]
[ "2100639007@qq.com" ]
2100639007@qq.com
5b186db82cfa94e4f111476815eea0dcd47e63e6
9abcaed20b3b42f88eb86a5fbe4700fecb2f7e36
/ebdjango/boletos/models.py
513e0fc81f3aedf6f5d4fd19575dddf0555acd42
[]
no_license
osvaldohg/boletos
6b45bbf8df5255cc05c8c7e1140b44991fa0e360
c7be78f4e3aacce73ae6d8e9b142d779b10f1923
refs/heads/master
2020-03-30T07:03:32.349526
2018-09-29T23:44:08
2018-09-29T23:44:08
150,911,979
1
0
null
null
null
null
UTF-8
Python
false
false
641
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. from django.http import HttpResponse from django.core.urlresolvers import reverse import pandas as pd import numpy as np def index(request): return HttpResponse("<h>this is the books homepage<...
[ "osvaldohg@gmail.com" ]
osvaldohg@gmail.com
7b9db845cbad50dc4c00a9274e5a02c78def9a34
c229ba99d7e0c5d4c92986f0328aa416e2640dc1
/docs/examples/fmsin_spectrogram.py
92a474f833ab235ac698351535c7f194c0cee166
[ "BSD-3-Clause" ]
permissive
chrinide/pyhht
81a32c08ebb0b49c95c4a7275a2959e7d6f25555
a964786f93ead298fdf3e3a91e2637da359a4cd1
refs/heads/dev
2022-02-26T09:09:57.617639
2021-06-28T07:06:39
2021-06-28T07:06:39
83,745,036
1
0
null
2017-03-03T01:53:38
2017-03-03T01:53:38
null
UTF-8
Python
false
false
1,751
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2015 jaidev <jaidev@newton> # # Distributed under terms of the MIT license. """ """ import numpy as np from tftb.generators import fmsin, fmconst, amgauss from scipy.signal import kaiser from tftb.processing.reassigned import spectrogram...
[ "deshpande.jaidev@gmail.com" ]
deshpande.jaidev@gmail.com
bb9234ec32f0a6b63c502ecaf674043eebb5fa54
865ee6eb8ee52c8056fbf406059c5481f365de6e
/openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/venv/Lib/site-packages/fixtures/_fixtures/popen.py
198b561d397a414bfed99117e5f776effefc8fb2
[ "LicenseRef-scancode-ssleay", "MIT", "BSD-3-Clause", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "LicenseRef-scancode-pcre", "LicenseRef-scancode-public-domain", "Zlib", "BSD-2-Clause" ]
permissive
nneesshh/openresty-oss
76e119081ea06bc82b184f96d531cc756b716c9d
bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3
refs/heads/master
2022-12-12T21:39:48.917622
2019-05-31T03:14:18
2019-05-31T03:14:18
184,213,410
1
0
MIT
2022-12-06T17:28:59
2019-04-30T07:28:45
C
UTF-8
Python
false
false
4,218
py
# fixtures: Fixtures with cleanups for testing and convenience. # # Copyright (c) 2010, 2011, Robert Collins <robertc@robertcollins.net> # # Licensed under either the Apache License, Version 2.0 or the BSD 3-clause # license at the users choice. A copy of both licenses are available in the # project source as Apache-...
[ "nneesshh@163.com" ]
nneesshh@163.com
40b6619768f5bc08e7e9fa18a71a559cdef97908
09301c71638abf45230192e62503f79a52e0bd80
/besco_erp/besco_account/general_account_uynhiemchi/account_payment.py
1fa305359060f0c112d7b24b03dad43e7f9654e7
[]
no_license
westlyou/NEDCOFFEE
24ef8c46f74a129059622f126401366497ba72a6
4079ab7312428c0eb12015e543605eac0bd3976f
refs/heads/master
2020-05-27T06:01:15.188827
2017-11-14T15:35:22
2017-11-14T15:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
# -*- coding: utf-8 -*- from openerp.osv import expression from openerp.tools.float_utils import float_round as round from openerp.exceptions import UserError, ValidationError from openerp import api, fields, models, _ from datetime import datetime DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S" DATE_FORMAT = "%Y-%m-%d" class ...
[ "son.huynh@nedcoffee.vn" ]
son.huynh@nedcoffee.vn
0e485496de393fefcd2a15074c32a3a4191bb8e9
509823ea14f04d5791486b56a592d7e7499d7d51
/parte06/6.04_operadores_nivel_bits.py
f860779f0c4689af9aba9915592ecc36c665ad4b
[]
no_license
Fhernd/Python-CursoV2
7613144cbed0410501b68bedd289a4d7fbefe291
1ce30162d4335945227f7cbb875f99bc5f682b98
refs/heads/master
2023-08-08T05:09:44.167755
2023-08-05T19:59:38
2023-08-05T19:59:38
239,033,656
64
38
null
null
null
null
UTF-8
Python
false
false
1,483
py
# Operadores a nivel de bits (bitwise): print('Operadores a nivel de bits:') # Operador and: & print('Operador and: &') numero_1 = 5 # 101 numero_2 = 2 # 10 # 101 # 010 & # ==== # 000 resultado = numero_1 & numero_2 print('numero_1 & numero_2 =', resultado) print() # Operador a nivel de bits (bitwise) or: | prin...
[ "johnortizo@outlook.com" ]
johnortizo@outlook.com
1d4a1c3e4bd7545924f897b1b461cb018ff07bd7
7a7ed5656b3a162523ba0fd351dd551db99d5da8
/desktop/mate/extras/mate-media/actions.py
a3fcded2a7daf974fa8b94d610e0fec9ea7e89cd
[]
no_license
klaipedetis/PisiLinux
acd4953340ebf14533ea6798275b8780ad96303b
3384e5dfa1acd68fa19a26a6fa1cf717136bc878
refs/heads/master
2021-01-24T22:59:30.055059
2013-11-08T21:43:39
2013-11-08T21:43:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): ...
[ "namso-01@hotmail.it" ]
namso-01@hotmail.it
8258141dcc9b0dbe34a22f4347415e693534c761
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.VEP/Mono_12/pdf_to_json_test_Latn.VEP_Mono_12.py
5047d5af248a709c90f954f4d2e7aa83d7dc8059
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
303
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.VEP/Mono_12/udhr_Latn.VEP_Mono_12.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
62184a2c06959ad8c37acee520cf72eafaaafb85
7913211de57c51292a6e016c45d8a3cab858f659
/main/urls.py
6eaa463aadd33b25f65141b06805657916769643
[]
no_license
zhoomartq/Cooking
e7c8099f73bda43b64b0c9989277298fcc1d4fa3
cdc4d378599e76929767c1d48af6f167d389beba
refs/heads/main
2023-05-10T08:12:40.404846
2021-06-04T14:57:01
2021-06-04T14:57:01
373,878,444
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from django.urls import path, include from main.views import * urlpatterns = [ path('', index, name='home'), path('category/<str:slug>/', category_detail, name='category'), path('recipe-detail/<int:pk>/', recipe_detail, name='detail'), path('add-recipe/', add_recipe, name='add-recipe'), path('upd...
[ "zhomart.osmonaliev@gmail.com" ]
zhomart.osmonaliev@gmail.com
33e4b62fb3211069592a55d4711fac92d1d46bdd
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2401/60712/305442.py
f58312ceb53fac664e7050b45e9d9e9e5db1b06c
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
207
py
label = int(input()) if label==3: print([1,3]) elif label==14: print([1, 3, 4, 14]) elif label==26: print([1, 2, 6, 10, 26]) elif label==15: print([1, 3, 4, 15]) else: print([1, 2, 7, 9])
[ "1069583789@qq.com" ]
1069583789@qq.com
2b1fdcae2ae50d78642842a697bdac30ec7e4c59
fa38f67a6f5296ba64de8d771492f9db230cf5ed
/jabuke.py
e36883ac21afc684c31a67e4ed6e4158c7c4dbcf
[]
no_license
traffaillac/traf-kattis
5ebc2b0411c9f27da5d9080c269ad0add227a79c
1b6bfdad48f3fab31902d85ed48b1bd0a8f44d0f
refs/heads/master
2023-08-16T21:44:56.885553
2023-08-12T15:04:43
2023-08-12T15:04:43
236,475,020
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
def cross(x0, y0, x1, y1, x, y): return abs((x1-x0)*(y-y0)-(x-x0)*(y1-y0)) xa, ya = map(int, input().split()) xb, yb = map(int, input().split()) xc, yc = map(int, input().split()) a = abs(xa*(yb-yc)+xb*(yc-ya)+xc*(ya-yb)) print(f"{a/2:.1f}") c = 0 for _ in range(int(input())): x, y = map(int, input().split()) if cro...
[ "traf@kth.se" ]
traf@kth.se
453105928e713d11a9496420af8f1d732b5694fa
bcf85b8dc5aa1c98af4a61c0404b0be7563ebfee
/ecommerc2-API/src/products/forms.py
ff2b57eeeda6617b31045b0453da7c5116849715
[]
no_license
karolius/ecommerc2-api
39bdf662d54cb4be8db27d346efd27a7fbc8be84
efaf0cc5b7251e1b55fc08f68d7fab00974d25e7
refs/heads/master
2021-01-11T09:10:17.455407
2017-02-16T23:45:16
2017-02-16T23:45:16
81,380,329
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
from django import forms from django.forms.models import modelformset_factory from .models import Category, Variation class ProductFilterForm(forms.Form): q = forms.CharField(label="Search", required=False) category_id = forms.ModelMultipleChoiceField( label="Category", queryset=Category.objec...
[ "karolius127@gmail.com" ]
karolius127@gmail.com
d19cc4cbade3a9b27d152d0de4ed75836e76b4d5
9317d2c5eb4b9534f573336d523dbadbbe0ce43e
/ibis/expr/visualize.py
803d729d266d17877fabba7e411574f1a30e6427
[ "Apache-2.0" ]
permissive
napjon/ibis
1cf91e5495f840098f13fe358c85c9957a82a63e
a82d7cdc530a8b3c71d79612d19426416a36f2d4
refs/heads/master
2021-01-17T15:35:05.164169
2017-10-28T22:32:48
2017-10-28T22:32:48
66,074,017
0
0
null
2016-08-19T10:18:33
2016-08-19T10:18:33
null
UTF-8
Python
false
false
5,818
py
import itertools import tempfile import graphviz as g from ibis.compat import zip_longest import ibis import ibis.common as com import ibis.expr.types as ir import ibis.expr.operations as ops def get_args(node): if isinstance(node, (ops.Aggregation, ops.Selection)): return get_args_selection_aggregati...
[ "cpcloud@gmail.com" ]
cpcloud@gmail.com
8a9ff14d0c75e0b3f5fb3794c9e31b81670115d4
02f42acb280288acba54fc045c4163df2f069d55
/user/migrations/0003_auto_20210309_1950.py
796e3fd277d0ff580b105ee506dfd72b89abf0df
[]
no_license
banana1019/tumbluv-backend
a05b0faebc63e83248b2e81d026fe26d5a5c085b
8592112284672fefdf9e4e76aeee1d1cedaaee82
refs/heads/main
2023-04-12T20:16:09.992472
2021-04-26T10:59:47
2021-04-26T10:59:47
361,158,437
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
# Generated by Django 3.1.6 on 2021-03-09 10:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0002_auto_20210304_2146'), ] operations = [ migrations.AlterField( model_name='verification', name='created_...
[ "68374847+Kang-kyunghun@users.noreply.github.com" ]
68374847+Kang-kyunghun@users.noreply.github.com
4105622aba5ca9318b96fa8546fcfe52af9f3107
95b57cb90ea0625ede16679b0a6a324342c1ec28
/stars/apps/basket/tests.py
ab7431602c1ee853bc2af8048ccac6f743f1c8c7
[]
no_license
lisongwei15931/stars
2814f5cc9d08dd26a25048f91b27ff1607a659cb
3d6198c2a1abc97fa9286408f52c1f5153883b7a
refs/heads/master
2022-11-27T07:08:52.048491
2016-03-18T09:33:55
2016-03-18T09:33:55
54,242,594
0
0
null
2022-11-22T00:36:28
2016-03-19T02:10:35
Python
UTF-8
Python
false
false
937
py
# -*- coding: utf-8 -*-s import datetime import md5 import random import string import os,sys import django from django.template.defaultfilters import pprint path = os.path.split(os.path.realpath(__file__))[0] sys.path.append(path[0:path.rfind('stars')]) os.environ['DJANGO_SETTINGS_MODULE'] = 'stars.settings' from dja...
[ "lisongwei1593@gmail.com" ]
lisongwei1593@gmail.com
d3c37a02596e87cba9f021992c5f84ebe3bec7f0
cd1b776b40f40127b38f50403e041d29cdad7142
/blog/views.py
b944522b8541f2f0de7df1e472c58f145fa4213d
[]
no_license
livelikeabel/my-first-blog
916a86d80773f37f0a1371b099321b98d6fa050d
8373a1fdb431aacc42c07c4860a1d5cbd647662c
refs/heads/master
2021-07-17T12:09:25.361478
2017-10-22T01:04:09
2017-10-22T01:04:09
107,612,987
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
from django.shortcuts import render, get_object_or_404 from django.utils import timezone from .models import Post #조율 def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(request, 'blog/post_list.html', {'posts': posts}) def post_detail(req...
[ "esung1129@gmail.com" ]
esung1129@gmail.com
3f5a52f210712803c5271c9a909f29586587eeda
0c7ff0ec35ba2bb38f99ef6ecb261ec33466dd52
/Day4/RockPaperScissors.py
2e709bb6bad2502963eff33e9cfbf0eeb94cdcc9
[]
no_license
TheKinshu/100-Days-Python
15cbacc608ee349cc9733a7032e10a359bebb731
293ad6b3e5f5208da84efbc5b2d2d395a5a53421
refs/heads/master
2023-04-18T08:21:30.361800
2021-05-02T18:48:39
2021-05-02T18:48:39
351,582,416
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
import random rock = ''' _______ ---' ____) (_____) (_____) (____) ---.__(___) ''' paper = ''' _______ ---' ____)____ ______) _______) _______) ---.__________) ''' scissors = ''' _______ ---' ____)____ ______) __________) (____) ...
[ "kc007919@gmail.com" ]
kc007919@gmail.com
2af23a950c01b42b3bec00ba120aadfa82aa392e
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/laurent.py
4e56254db847390a5b7f4fbe467148e4bf5a8679
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
43
py
ii = [('PettTHE.py', 4), ('KeigTSS.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
3f5e1d639ef1781a5a0849aef02e514a21e52a75
4435b6e8d5d4b1ccd26131de22511c832cad059b
/image_processing_test/copy_kaggle_train_to_all.py
f3cf27de899dfd4058bfe708f9aa8b2b46e5cdc3
[]
no_license
linhduongtuan/DiabeticRetinopathy_solution
70a17956c659ef85bfa2be66f23461e9ce3ff110
be1cc4d326784289b472be11f69f29378c99c644
refs/heads/master
2021-03-18T21:08:15.795921
2018-02-22T02:24:31
2018-02-22T02:24:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
import argparse import os from glob import glob import shutil parser = argparse.ArgumentParser(description='generate train & validation set') parser.add_argument('--root', required=True) parser.add_argument('--src', required=True) parser.add_argument('--dst', required=True) args = parser.parse_args() root = args.ro...
[ "searobbersandduck@gmail.com" ]
searobbersandduck@gmail.com
ce4280d7ffed8988d1e58e100c16fdda1d59c8e7
2bf6d65fe8205b22e730daab4b99a2c2d56bedf3
/agent/QuantileRegressionDQN_agent.py
e5b83b27a824e0f546732e301ef7d58d4caf5059
[ "Apache-2.0" ]
permissive
suhangpro/deeprl
eb98dfa903da807e8c5e58df04676cadcdb91bcd
9dcd1905b016a823fe92bf92dc00d3e56d732925
refs/heads/master
2020-03-12T02:27:16.324266
2018-05-07T20:16:03
2018-05-07T20:16:03
130,403,009
2
0
null
null
null
null
UTF-8
Python
false
false
5,046
py
####################################################################### # Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # # Permission given to modify the code as long as you keep this # # declaration at the top # ################################...
[ "zhangshangtong.cpp@icloud.com" ]
zhangshangtong.cpp@icloud.com
a2a087da772f78d32567aaeb0255a819bf219c5a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_040/ch83_2020_04_13_00_30_25_959493.py
c7738a3ddd1d4162c8cc495db169d08717c6abf3
[]
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
131
py
def medias_por_inicial(x): dicionario = {} for nome in x.keys(): dicionario[x[0]] = x.values return dicionario
[ "you@example.com" ]
you@example.com
95a2b4828cb68231cfdc33463b23d88b7bec984f
a79581635470b96a1d56161a7b75477209793f5c
/erp_dp_phase2/addons/dp_website_myaccount_extend/modules/wish_list.py
46f03c30a284d0debf1dc907d9abb3f1691b8ffe
[]
no_license
ct-17/pptech
2fe1c0fe492c60fc633cbd44ffe51109de025902
1ba0a243a2c4e6ccda52dc1b0a163b1c8299ae26
refs/heads/master
2023-03-22T03:34:44.587196
2021-02-26T11:09:10
2021-02-26T11:09:10
342,157,778
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
from openerp import models, fields, api class WishList(models.Model): _name = 'wish.list' # UI display column name name = fields.Char(string='Name') contact = fields.Char(string='Contact') crNum = fields.Char(string='C R - Number') active = fields.Boolean(string='Active')
[ "nmcuong@cmc.com.vn" ]
nmcuong@cmc.com.vn
66ca605462cd502b34c3c681955d95962ef41f5c
5905ed0409c332492409d7707528452b19692415
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/monitoring/v1/monitoring_v1_messages.py
57cc2543bbfbd726cd5eaca38934c98e44f3aff9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
millerthomasj/google-cloud-sdk
c37b7ddec08afadec6ee4c165153cd404f7dec5e
3deda6696c3be6a679689b728da3a458c836a24e
refs/heads/master
2023-08-10T16:03:41.819756
2021-09-08T00:00:00
2021-09-08T15:08:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
75,929
py
"""Generated message classes for monitoring version v1. Manages your Cloud Monitoring data and configurations. Most projects must be associated with a Workspace, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For e...
[ "gcloud@google.com" ]
gcloud@google.com
a84005d5f01c92b26c5d6476c6aaa9813abd5b00
e17dc397bd7eecd32e426aee4a1fa84bc3de442f
/tests/conftest.py
5569f2bbb8a9b5a551360aeb1439418b11cfbd30
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
pcdshub/motor_watch
c9aba4bbec099f66e86072639912373d759ecf08
2bcfb271ec7f05dbd2c79af5426be8edfe1f591b
refs/heads/master
2021-11-24T07:37:18.298684
2021-10-29T16:58:28
2021-10-29T16:58:28
190,091,874
0
2
NOASSERTION
2019-06-25T23:31:49
2019-06-03T22:38:18
Python
UTF-8
Python
false
false
126
py
from ophyd.sim import SynAxis import pytest @pytest.fixture(scope='function') def motor(): return SynAxis(name='motor')
[ "trendahl@slac.stanford.edu" ]
trendahl@slac.stanford.edu
d5e819f27e4a2a56b458e36bd6420fdd71710cea
5e29829ad1cdf80bc5282b56544b879ac516a2c5
/compiler.py
a84aa0a0ac14a3fa49645edeb47d30c51621f43c
[ "ISC" ]
permissive
thecjharries/posts-typescript-decorators
4a22cb3daafeba665f51f5475a7a14ef507c9a60
4662870ed61199b53f1b447fc497690de47e2121
refs/heads/dev
2021-09-08T20:21:12.630404
2021-09-07T01:45:09
2021-09-07T01:45:09
123,808,872
5
6
ISC
2021-09-07T01:45:10
2018-03-04T16:51:27
TypeScript
UTF-8
Python
false
false
377
py
"""This file provides a basic post compiler""" from os.path import dirname, join from wotw_blogger import Compiler CURRENT_DIR = dirname(__file__) POSTS_DIR = join(CURRENT_DIR, 'posts') TEMPLATES_DIR = join(CURRENT_DIR, 'templates') BUILD_DIR = join(CURRENT_DIR, 'build') COMPILER = Compiler( POSTS_DIR, TEMP...
[ "cj@wizardsoftheweb.pro" ]
cj@wizardsoftheweb.pro
374c68e57e9d7a18357d935ec1387314d65e0738
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/dns/aprov.py
9729b8e2c25086972b59f652b2aa1f4d38e9b468
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,135
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
8be7d3eb58d9e423be24adf63eb92e2a562c9489
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/_codeforces/1498_b.py
cd2c438086f55cffac70956b79221cd7a4daade0
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): from pprint import pprint import sys input = sys.stdin.readline def do(): import itertools def countstrs(s): return [(k, len(list(g))) for...
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
51086aa69b646d2d93fcbb28b22e09679697930b
a6fd21bce2d79a159f3a572ea41ad60a2c6eae41
/flask_admin_bundle/security.py
1cc2841a46bf19865b38395c53b8627168e8709d
[ "MIT" ]
permissive
briancappello/flask-admin-bundle
e5fbf59b71b8409f1a53db783139ee78279b459c
e5a38e884cbafc8b6f829c5500dadd7c5d551e6a
refs/heads/master
2020-03-09T08:33:49.373602
2018-07-21T02:03:22
2018-07-21T02:03:22
128,692,222
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from flask import abort, current_app, request from http import HTTPStatus try: from flask_security import current_user as user except ImportError: user = None from flask_unchained import redirect, url_for class AdminSecurityMixin: def is_accessible(self): if (user.is_active and u...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
2f9e3dd6efb850dca0a5e1f745dce4d85f537138
52b5773617a1b972a905de4d692540d26ff74926
/.history/gcd_20200622235210.py
cf2daa30d2728a9f986494fae2baa20e6256e6ab
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
def gcd(a,b): # a = 20 #b = 8 # a % b = 4 , new a = previous b which is 8 and b = r while r != 0: r = a % b a = # while b !=0: # # t = a # b = a % b # 4 # a = b # print('b',b) # print('a',a) # return b print(gcd(20,8)) #...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
ea05b189bf9c54be6ebd69c5c0e58fd70caacf77
fffafa3a677dbf321d6993014bee67a91910eab1
/.venv_django/lib/python3.6/re.py
eeea0de9b8b92a37bffbd73f876c087b5da0c5fc
[ "MIT" ]
permissive
Deirdre18/yoda-design-ecommerce-app-Milestone4-project
06793e4d977dc1f759a129c686ad34f800bbcd5a
0e3d5d4795b854d030af61fb4331738bb827def4
refs/heads/master
2022-12-16T18:05:26.328170
2020-01-13T04:51:45
2020-01-13T04:51:45
230,626,138
0
1
MIT
2022-11-22T04:55:59
2019-12-28T15:14:09
Python
UTF-8
Python
false
false
53
py
/home/owner/.pyenv/versions/3.6.9/lib/python3.6/re.py
[ "deirdreweldon18@gmail.com" ]
deirdreweldon18@gmail.com
adea6ddecc25f62bc0539064c199c9c329a1397b
1617a9a9c92146bcdac89b5efb1ef0d18408160b
/contlab5/17/solution.py
5aad7a37586655770b38937c0f61e527cb8b4953
[]
no_license
LitRidl/checker-content
1b1329b4462b87731e0755ab33480ff063a94a00
b5d0456c8d4d28db6e6022e272a95a385f253797
refs/heads/master
2023-08-17T18:08:07.377680
2018-02-04T11:16:34
2018-02-04T11:16:34
120,077,784
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
#!/usr/bin/python # -*- coding: utf-8 -*- u''' Вычисление двоичного арифметического сдвига первого числа вправо на число разрядов, равное второму. через пробел записано два беззнаковых числа произвольной длины в двоичной системе счисления двоичное число, полученное из первого путем арифметического сдвига, с сохранение...
[ "tutkarma@gmail.com" ]
tutkarma@gmail.com
ce9197016f6a3058b96b1e473f4fdd0841eb10af
53eee7eb899cb518983008532257037fb89def13
/593.valid-square.py
daa1f77b96b99830d902abefd9972890107dd507
[]
no_license
chenxu0602/LeetCode
0deb3041a66cb15e12ed4585bbe0fefce5dc6b26
3dc5af2bc870fcc8f2142130fcd2b7cab8733151
refs/heads/master
2023-07-05T19:26:21.608123
2023-07-02T08:35:35
2023-07-02T08:35:35
233,351,978
2
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
# # @lc app=leetcode id=593 lang=python3 # # [593] Valid Square # # https://leetcode.com/problems/valid-square/description/ # # algorithms # Medium (40.76%) # Likes: 139 # Dislikes: 278 # Total Accepted: 20.9K # Total Submissions: 51.1K # Testcase Example: '[0,0]\n[1,1]\n[1,0]\n[0,1]' # # Given the coordinates o...
[ "chenxu@Chens-iMac.local" ]
chenxu@Chens-iMac.local
15065dd41a8f5f0477c043eef0bf90e601ea9dae
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/raw/GLES2/ARM/rgba8.py
bb2caf0043d48f81b19585d80aa6b10734460a1a
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p # Code generation uses this # End users want this... from OpenGL.raw.GLES2 import _errors _EXTENSION_NAME = 'GLES2_ARM_rgba8' def _f( function ): return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_ARM_rgba8',error_c...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
e423f807f540955103abe302b98f06a54427649b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03075/s528670063.py
bfc14500fe8ab846b6ce16bfd67d1998652fa239
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
lis = [] for _ in range(5): lis.append(int(input())) k = int(input()) for i in range(5): for j in range(i+1, 5): if (lis[j] - lis[i]) > k: print(":(") exit() print("Yay!")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
08e0289915e2ae2d95ec6781b5ae5487f589c9f9
181f8e49a25aefe42bbcb2e0d89198fc92fa9f35
/neodroidagent/utilities/signal/experimental/generalised_advantage.py
99abd3e128d9a1c2a7714b248ef7cec8b74c3427
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
sintefneodroid/agent
e2a4fe92f8dfac150e21e6dfcb9f5d211ea17588
21e3564696062b67151b013fd5e47df46cf44aa5
refs/heads/master
2023-02-26T02:58:02.527078
2022-06-30T16:02:43
2022-06-30T16:02:43
98,278,680
9
5
Apache-2.0
2023-02-17T08:26:26
2017-07-25T07:39:43
Python
UTF-8
Python
false
false
1,511
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy from neodroidagent.utilities.signal.experimental.discounting import valued_discount __author__ = "Christian Heider Nielsen" __doc__ = "" __all__ = ["discounted_ge", "discounted_gae"] def discounted_ge( signals: numpy.ndarray, values: numpy.ndarray...
[ "mrnaah@gmail.com" ]
mrnaah@gmail.com
0317d96c3faf9a9f596834f9edd51ddc22d9b731
dacf092e82b5cc841554178e5117c38fd0b28827
/netdisk/Client/interface_client/admin_interface.py
fe8da4c85b6023d59efa16ff0ecab676d90c7b13
[]
no_license
RainMoun/python_programming_camp
f9bbee707e7468a7b5d6633c2364f5dd75abc8a4
f8e06cdd2e6174bd6986d1097cb580a6a3b7201f
refs/heads/master
2020-04-15T11:27:09.680587
2019-04-06T02:21:14
2019-04-06T02:21:14
164,630,838
4
1
null
null
null
null
UTF-8
Python
false
false
917
py
import os import socket import time from interface_client import common_interface from conf_client import setting def upload_file_interface(admin_name, file_path): # 将本地文件上传至服务器 if not os.path.isfile(file_path): return False, '文件不存在' file_path_lst = file_path.split('/') file_name = file_path_lst[...
[ "775653143@qq.com" ]
775653143@qq.com
14d4949663e8451c348e968d955baff91f916105
0e3683cc3005300520ee63e60cba31e53a337a8c
/spytest/spytest/tgen/scapy/driver.py
b645cc94585c1a94762922e926b3850ae5ea996b
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
baiwei0427/sonic-mgmt
3974452e97aebfc530ca98b24d6442b334339ffb
6495cab992b6efaec3d794ea5806fc9cac249e82
refs/heads/master
2022-12-09T08:08:28.869527
2021-09-16T07:03:12
2021-09-16T07:03:12
213,514,338
1
1
NOASSERTION
2019-10-08T00:40:25
2019-10-08T00:40:24
null
UTF-8
Python
false
false
15,605
py
import os import time import traceback import threading from packet import ScapyPacket from or_event import OrEvent from utils import Utils from logger import Logger def isLinkUp(intf, dbg = False): flags_path = "/sys/class/net/{}/operstate".format(intf) if os.path.isfile(flags_path): if dbg: os...
[ "noreply@github.com" ]
baiwei0427.noreply@github.com
7aad7c0b931204a13a1cbbdf482e4491ca9dd02d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_170/ch82_2020_04_13_03_35_19_306194.py
c1d16b0e49c5b13176fef417880b7fc547fe3b1f
[]
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
151
py
def primeiras_ocorrencias(string): dic = {} i = 0 for l in string: if not l in dic: dic[l] = i i +=1 return dic
[ "you@example.com" ]
you@example.com
1038f26c5ee62bc45834ef7f924c02452c244682
5a80f56056ac804ac93df97ca1c49d30aed8b2f3
/contrib/seeds/makeseeds.py
3412516e2fa9b81980f3c894329d80fc95075fdc
[ "MIT" ]
permissive
faetos/binkdogcoin
299599c416aa05eeef059f37c94c951613903d01
45debe400509ef0b0cddb4bf0d931949f3c721de
refs/heads/master
2020-03-18T22:35:22.104852
2019-01-02T17:19:36
2019-01-02T17:19:36
135,353,320
0
1
null
null
null
null
UTF-8
Python
false
false
5,521
py
#!/usr/bin/env python3 # Copyright (c) 2013-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Generate seeds.txt from Pieter's DNS seeder # NSEEDS=512 MAX_SEEDS_PER_ASN=2 MIN_BLOCKS = 615801 #...
[ "faetos@yahoo.com" ]
faetos@yahoo.com
46d19194ecb66d1a80cf0e897defcb28a8536157
c0d4f9f732561070e6941476392d257c8ce2d28b
/python-lab/lab02/conditionLab6.py
6a173023b5c2207072ebed26f6d96025733499af
[]
no_license
yeonjooyou/learn-python
acc256d96601dde649ee0d1e19109945424021a8
158a5b501091c39eabde1a94777467fb6a9a8c56
refs/heads/master
2023-06-18T09:53:45.425414
2021-07-21T23:53:32
2021-07-21T23:53:32
386,617,712
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
import random score = random.randint(0, 100) if score >= 90: grade = 'A' elif score >= 80: grade = 'B' elif score >= 70: grade = 'C' elif score >= 60: grade = 'D' else: grade = 'F' # 한 개의 print() 함수로 해결한다. print(score, "점은", grade, "등급입니다.")
[ "yeonjooyou@naver.com" ]
yeonjooyou@naver.com
b63ea3fa4895eca78252b88d17ea183b1a072a15
5f7bf32b515c98902dd4a72fc1ee446e6b743395
/Traffic/Cameras.py
aa3ffcf6fd45f7289d22391295b52ee45598009a
[]
no_license
bejar/TrafficGAN
be2bc4ff5677df962bfdf9b0785761b4ccf7b247
966ed70f1b07f8bdc1b5856c964c491b7b551e25
refs/heads/master
2021-09-09T11:44:02.763813
2021-09-03T07:34:19
2021-09-03T07:34:19
195,994,508
1
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
""" .. module:: Cameras Cameras ************* :Description: Cameras List of camera names from Barcelona :Authors: bejar :Version: :Created on: 27/10/2016 8:34 """ __author__ = 'bejar' # All the public traffic cameras of Barcelona city Cameras = [ 'AragoPgGracia', 'BalmesGranVia', 'BalmesMitr...
[ "bejar@cs.upc.edu" ]
bejar@cs.upc.edu
c93f71b927c43f445eabe54e9c17b19dd68743c3
48fc657a00a34d40c829a94c1a65cbe0fe65d07f
/Algorithm-Easy/389_Find_the_Difference.py
12de27c56313686c42369b3d116a26d70380eb38
[]
no_license
yz5308/Python_Leetcode
02c07011250e3f4476818cb5febccd6e75fa74d8
db2cd34ee759721858a96d123e3cab4084e69129
refs/heads/master
2022-06-21T01:34:45.502368
2020-05-07T16:55:46
2020-05-07T16:55:46
262,106,973
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
class Solution(object): def findTheDifference(self, s, t): """ :type s: str :type t: str :rtype: str """ s_dict = dict() for x in s: if x in s_dict: s_dict[x] += 1 else: s_dict[x] = 1 for y in t: ...
[ "noreply@github.com" ]
yz5308.noreply@github.com
d5f2de6a35e4db09969d9667b86276765f374fe5
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/GluGluToHToTauTau_M-160_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467463/source_cfg.py
20d8eec44b0b77431cd2f26bd645dc4e11be67f8
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,606
py
###SourceCFG: 102 GoodFiles; 0 BadFiles found in mask; Input prescale factor 1 files = ['/store/cmst3/group/cmgtools/CMG/GluGluToHToTauTau_M-160_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0/cmgTuple_100_1_gbg.root', '/store/cmst3/group/cmgtools/CMG/GluGluToHToTauTau_M-160_8TeV-powheg-...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
bab3a83fc01db6d426d3969c87683b346b9adf43
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_BoxCox/trend_PolyTrend/cycle_0/ar_/test_artificial_128_BoxCox_PolyTrend_0__100.py
78cd9c7cb8904f2e8338327d110a2ff7d3577aaf
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
267
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 0, transform = "BoxCox", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
80e918b591090b1edf2e8485a9907dbc272334df
ded7eb123c494ddf42637b3e07f9f1fe8f798b30
/bigtempo/auditor.py
f0b575353b4d37335b6197cc7a2d9a00a48f8517
[ "MIT" ]
permissive
rhlobo/bigtempo
9afcaa2992893aad389c6a6bd4c016dce1258164
29845e704e143982ff61f962df289757f6db4692
refs/heads/master
2021-01-01T17:55:55.993973
2015-01-20T23:10:06
2015-01-20T23:10:06
12,031,144
4
3
MIT
2018-03-05T17:28:29
2013-08-11T04:20:03
Python
UTF-8
Python
false
false
4,358
py
# -*- coding: utf-8 -*- import os import copy import pandas import unittest from mockito import mock, unstub import bigtempo.utils as utils def generate_multiple(engine, references, symbol, start, end, test_data_filepath_fn, module=None): results = [] for reference in references: result = generate...
[ "rhlobo+github@gmail.com" ]
rhlobo+github@gmail.com
90a76eeb38de64b24258e82100492494ccde8f64
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/src/sentry/integrations/jira/actions/form.py
30f6755595d14565282b1911ad9aecdf560cd520
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
677
py
from __future__ import annotations from typing import Any from django import forms from django.utils.translation import ugettext_lazy as _ from sentry.models import Integration from sentry.rules.actions import IntegrationNotifyServiceForm class JiraNotifyServiceForm(IntegrationNotifyServiceForm): def clean(sel...
[ "noreply@github.com" ]
nagyist.noreply@github.com
b7d73bd192036a3cdd08bfda9463f457468dfe46
5fcc099bd6e12f0f341bbb590d0d4ebd844933cd
/pynumdiff/__init__.py
6190d3d537a081192133fcf708f8b521cb47a5ac
[ "MIT" ]
permissive
geofiber/PyNumDiff
0bdc0014c5ed7932d01ded019db2d392b092b7aa
29bca06953b0c0731ebdf39eea99e3e6abf27930
refs/heads/master
2023-01-04T05:24:16.954711
2020-10-29T15:45:10
2020-10-29T15:45:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from pynumdiff.__version__ import __version__ as __version__ import pynumdiff.finite_difference as finite_difference import pynumdiff.smooth_finite_difference as smooth_finite_difference import pynumdiff.total_variation_regularization as total_variation_regularization import pynumdiff.linear_model as linear_model imp...
[ "florisvb@gmail.com" ]
florisvb@gmail.com
7ea2cc436a071d69930b031067573cfd98fb07cf
774b9d38d4d90fbac1efbab7850f94d47a3aa7a9
/dwalk/test_merge.py
962004da743da892629db9d3428352ffe047ae8a
[ "MIT" ]
permissive
cariad/dwalk
0b82ffdd8e9ac634671d120ad64506e8ae5adcf1
5b88fe0993c0bfc7036058963e7510ce8535a4b3
refs/heads/main
2023-01-29T18:03:46.499461
2020-12-06T18:00:01
2020-12-06T18:00:01
317,933,816
0
0
MIT
2020-12-06T18:00:02
2020-12-02T17:08:26
Python
UTF-8
Python
false
false
1,450
py
from typing import Any, Dict, Optional from pytest import mark from dwalk.merge import merge @mark.parametrize( "a, b, src, expect", [ ({}, {}, None, {}), ({"a": "alpha"}, {}, None, {"a": "alpha"}), ( {"a": "alpha"}, {}, "foo.yml", {"__...
[ "noreply@github.com" ]
cariad.noreply@github.com
855daa3931a74c6e450392c2b84d7548b98e9068
2d0d7afd6c7bacf695643b954895d3757a90e286
/tests/gallery/test_gallery.py
64d0eef8a3132b8a09527433536ca249b92e21e8
[ "MIT" ]
permissive
AsafFisher/construct
ec741f5784fa9e1eabf0e6445ac214eb12c42550
b27e7a5826579a1538ee269f748be55e1bb49f13
refs/heads/master
2022-07-09T15:22:13.208324
2020-05-12T21:03:29
2020-05-12T21:03:29
263,451,029
0
0
NOASSERTION
2020-05-12T20:59:35
2020-05-12T20:59:34
null
UTF-8
Python
false
false
326
py
from declarativeunittest import * from construct import * from construct.lib import * from gallery import pe32file def test_pe32(): commondump(pe32file, "python37-win32.exe") commondump(pe32file, "python37-win64.exe") commondump(pe32file, "SharpZipLib0860-dotnet20.dll") commondump(pe32file, "sqlite3....
[ "arek.bulski@gmail.com" ]
arek.bulski@gmail.com
3352eb924bb616736a6fddbc5b1d474baf5dd384
1626e16760c9c5b5dc9bd7c345871c716d5ffd99
/Problems/2400_2499/2446_Determine_if_Two_Events_Have_Conflict/Project_Python3/Determine_if_Two_Events_Have_Conflict.py
b4eb422fa613badf33633c366d2a169fdccd6ff8
[]
no_license
NobuyukiInoue/LeetCode
94ddb19e63cb8d0775cdc13f311fe90c87a1d718
3f0ffd519404165fd1a735441b212c801fd1ad1e
refs/heads/master
2023-09-01T07:38:50.939942
2023-08-23T09:51:17
2023-08-23T09:51:17
158,100,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
# coding: utf-8 import os import sys import time from typing import List, Dict, Tuple class Solution: def haveConflict_1liner(self, event1: List[str], event2: List[str]) -> bool: # 33ms - 63ms return event1[0] <= event2[1] and event2[0] <= event1[1] def haveConflict(self, event1: List[str], e...
[ "spring555@gmail.com" ]
spring555@gmail.com
4051d77af9496021b0366732bdc47a74d933ad61
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/anhchinhvn.py
3969c5064064058e493f8bf8edcb582ad97599b6
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='prod_content']/h1[@id='prod_title']", 'price' : "//div[@class='final_price']/span[@id='special_price_box']", 'catego...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
11d36cf249b36ab9a51afdc1be74268e922caf3d
1d96db84225301d972f07cad95c2a13f4fbafa84
/PyROOT/RooFit_intro/intro7.py
084eaa5a639d690e550733238b8da31430f4707e
[]
no_license
mattbellis/matts-work-environment
9eb9b25040dd8fb4a444819b01a80c2d5342b150
41988f3c310f497223445f16e2537e8d1a3f71bc
refs/heads/master
2023-08-23T09:02:37.193619
2023-08-09T05:36:32
2023-08-09T05:36:32
32,194,439
0
0
null
null
null
null
UTF-8
Python
false
false
4,391
py
#!/usr/bin/env python ############################################################### # intro7.py # Matt Bellis # bellis@slac.stanford.edu # Dec. 6, 2008 # Rewritten from intro7.C from RooFit tutorials found at # http://roofit.sourceforge.net/docs/tutorial/intro/index.html #############################################...
[ "matthew.bellis@gmail.com" ]
matthew.bellis@gmail.com
83aa6c0aee8828d529ba5aea40b8fe6daa17b300
4331b28f22a2efb12d462ae2a8270a9f666b0df1
/.history/dvdstore/webapp/urls_20190914174535.py
0ab6bea926cd8e160146105a3962752277f1079f
[]
no_license
ZiyaadLakay/csc312.group.project
ba772a905e0841b17478eae7e14e43d8b078a95d
9cdd9068b5e24980c59a53595a5d513c2e738a5e
refs/heads/master
2020-07-26T23:30:22.542450
2019-09-16T11:46:41
2019-09-16T11:46:41
200,703,160
0
0
null
2019-08-05T17:52:37
2019-08-05T17:52:37
null
UTF-8
Python
false
false
1,727
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name='home'), path('clerk/', views.clerk, name='clerk'), path('clerk/register2',views.register2, name='register2'), path('clerk/register3',views.register3, name='register3'), path('clerk/model_form_uploa...
[ "uzairjoneswolf@gmail.com" ]
uzairjoneswolf@gmail.com
b7096f568d3bedbf0d12a73608b8f33dc7d3251c
06f019789b43178621f7a91f71529a64c9499732
/server/src/uds/reports/stats/__init__.py
53b43d194dceb0c3d690e7d209f0318f94bce6b5
[]
no_license
mvignone/openuds
2b4316ddbb8ab14b97294c88c68a5f99a70f07df
7ec21976346dc47b7a083c0263279cb82d4a0188
refs/heads/master
2022-08-28T05:34:44.378007
2020-05-28T02:29:13
2020-05-28T02:29:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, #...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
07639f6b45e6b0cdfc3859fe3712352f7a099a6a
75d8667735782cd1d0eb4877e52c89da5cd92dde
/nova/tests/unit/matchers.py
b32165aa6586368f9c2841a07f05f7d301104d4b
[ "Apache-2.0" ]
permissive
bopopescu/nova-token
ffecfd3ec561936b7d9d7e691bc57383cde05436
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
refs/heads/master
2022-11-22T09:53:31.073483
2016-05-14T02:47:01
2016-05-15T22:02:55
282,105,621
0
0
Apache-2.0
2020-07-24T02:42:19
2020-07-24T02:42:18
null
UTF-8
Python
false
false
43,555
py
begin_unit comment|'# Copyright 2010 United States Government as represented by the' nl|'\n' comment|'# Administrator of the National Aeronautics and Space Administration.' nl|'\n' comment|'# Copyright 2012 Hewlett-Packard Development Company, L.P.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache Licen...
[ "dmg@uvic.ca" ]
dmg@uvic.ca
e92ae9a2b059965db279de5bcb0a9759677f09aa
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/GhostNet/train_ghostnet_8p.py
329ffe385a5ca0a01fa7e065c70c4b8b5c0ebc3d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
38,921
py
#!/usr/bin/env python # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicabl...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0b99861a53f39ccd1cc1f0bade20ef310b2ab440
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1PwRzbTxHSr4KrNXE7oEzSRTtpQdBS2LMh.py
49260b25dff1df07f7bd131c6c1383226a6c68af
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,134
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1PwRzbTxHSr4KrNXE7oEzSRTtpQdBS2LMh(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None cls....
[ "mz@baking-bad.org" ]
mz@baking-bad.org
77d5a303a7b7fdbd35e8521c489ba933bd5f67d7
aa3f670fcc2b43d8a5eb8a131082510bed2eb4d8
/scripts/yieldfx/dump_hybridmaize.py
5395816c5b16d046c879827346731e04ab45df24
[ "MIT" ]
permissive
jamayfieldjr/iem
e0d496311d82790ad518c600c2fcffe44e834da1
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
refs/heads/master
2020-08-07T11:55:56.256857
2019-10-04T04:22:36
2019-10-04T04:22:36
213,439,554
1
0
MIT
2019-10-07T17:01:20
2019-10-07T17:01:20
null
UTF-8
Python
false
false
3,601
py
"""Create a hybrid maize dump file""" from __future__ import print_function import datetime import subprocess import dropbox from pyiem.network import Table as NetworkTable from pyiem.datatypes import speed from pyiem.util import get_properties, get_dbconn SITES = ['ames', 'nashua', 'sutherland', 'crawfordsville', 'l...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
9c9da319ddfe01c1568ea6c624c2613d376d8316
69f4d47bef0e3b4150891127717d6f4d52193b47
/test_urllib/baidutiebai_api/config.py
8abdda7509d772763506420987e06f5a524ce902
[]
no_license
hyhlinux/stu_scrapy
27e45ad10eb9b85aada5ced34d29f00923555bf2
36afdb88f84a82453bf03070ed049599386a83c0
refs/heads/master
2020-06-12T11:55:19.986569
2016-12-10T03:18:37
2016-12-10T03:18:37
75,581,107
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#coding:utf-8 url = 'http://tieba.baidu.com/f?' userAgent = { "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36" }
[ "2285020853@qq.com" ]
2285020853@qq.com
55184c639628f784e831158e8bf94a18080713b8
b6fc54cff7037f5e4ef26cb4a645d5ea5a6fecdf
/001146StepikPyBegin/Stepik001146PyBeginсh04p01st12C09_v05_Renat_Habibulin_20200413.py
88b7593b5f4d5f768ac6de5633d3fa13364e425a
[ "Apache-2.0" ]
permissive
SafonovMikhail/python_000577
5483eaf2f7c73bc619ce1f5de67d8d689d2e7dd4
f2dccac82a37df430c4eb7425b5d084d83520409
refs/heads/master
2022-12-08T10:53:57.202746
2022-12-07T09:09:51
2022-12-07T09:09:51
204,713,341
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
# https://stepik.org/lesson/265081/step/12?discussion=1534789&thread=solutions&unit=246029 s = 0 for i in range(3): a = int(input()) if a > 0: s += a print(s)
[ "ms33@inbox.ru" ]
ms33@inbox.ru
a7313eeec975263cf118eca2a34e4f5c1a656ca5
9c49f4383bf8faf1b0d9d984165ba5151db418b6
/test/functional/rpc_bind.py
bb58e53ce5178dea00af4d7245602b632649e4da
[ "MIT" ]
permissive
coinmenace/perfectcoin
b94d3b8ae556b2efa3625961e926fe5da7db10fc
ea2c9de3bd0700a9985cb6438939f3fbd5c4dd66
refs/heads/master
2020-03-19T12:07:00.407975
2018-06-11T07:03:26
2018-06-11T07:03:26
136,488,852
0
0
null
null
null
null
UTF-8
Python
false
false
6,037
py
#!/usr/bin/env python3 # Copyright (c) 2014-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running perfectcoind with the -rpcbind and -rpcallowip options.""" import sys from test_framewor...
[ "webframes@gmail.com" ]
webframes@gmail.com
07019b467c2155133acd8aa438bb925b78b21186
c5b21cec89c743475b918bcbb0f36c492417f295
/djangoajaxfilesupload/ajaxfilesupload/urls.py
c78ae3587bbe48e815204095e15eeca0149a8bc1
[]
no_license
roytuts/django
f41acc8ca9d06177e76fc4b4824a5d6cbbf83328
7f32edcfb6b197680c189e3fe6e0d9971ea87e91
refs/heads/master
2023-06-10T11:54:12.184492
2021-06-28T04:53:40
2021-06-28T04:53:40
282,702,115
17
46
null
2020-12-06T22:32:24
2020-07-26T17:43:52
Python
UTF-8
Python
false
false
211
py
from django.urls import path from django.conf import settings from . import views urlpatterns = [ path('', views.upload_files, name='upload_files'), path('upload', views.upload_files, name='upload_files'), ]
[ "email@email.com" ]
email@email.com
c1671de18ef6f92d49dccdc5d764ec074867755c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02705/s767398916.py
5f18219b387c3c7172f634bcb85c4540fc81aece
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
R = int(input()) ans = 2 * R * 3.14159 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
834f4362393b9fdab613bf391201c36c01213c1a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_092/ch168_2020_06_21_20_59_43_851216.py
23ce049b0d7bc10206a42b2591d4551cd5144cf3
[]
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
277
py
def login_disponivel(x,y): c = 1 i = 0 for e in y: if x == e: while i <= len(y): s = str(c) S = x+s if S == y[c]: c +=1 i += 1 return v return x
[ "you@example.com" ]
you@example.com
5374095379cc8a1bc05178670294c651d3dbbdef
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/ir/inference/test_trt_convert_anchor_generator.py
fd91a9945b69430c3beca55a7fbf3d331533263d
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
5,630
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
8ae8bf38cb1821367389722184f08ee2e8f95a48
925fa0208e07ac2aeb64f9201249a91f48b900fa
/PracticeComp/2DMeeting.py
61811fac381e1f114d28d6ff9f20997ebcaa3f57
[]
no_license
Sanchi02/Dojo
984eb3cba26e43a8f6f0ef9c93f7aed24527b3ae
b25288c42a67d8639195f3fddef698f5cd179aac
refs/heads/master
2022-03-18T02:58:27.506082
2022-03-13T12:11:18
2022-03-13T12:11:18
197,040,319
0
0
null
2019-07-15T17:14:20
2019-07-15T17:06:36
null
UTF-8
Python
false
false
646
py
import copy row = int(input()) col = int(input()) pos = [] for i in range(row): tmp = [j for j in input().split(' ')] pos.append(copy.deepcopy(tmp)) print(pos) # for tmp in pos: # print(tmp) hor = [] ver = [] for r in range(row): for c in range(col): if(pos[r][c]=='1'): hor.append(r) ...
[ "sanchibadkas@gmail.com" ]
sanchibadkas@gmail.com
2878a99ec39e31f0a28a2ddad33be372e4e5dce5
4b0a9d06c5fa11708a74564d5f11e677366330ec
/tests/test_commands/test_generate_travis.py
d52a4b8f3c043096c411de1cd5bd36ba3d23a837
[ "MIT" ]
permissive
crflynn/dephell
86a7372e9a189efc0e1dd28e612c980ccf55de4b
2b6b1cba3146976a766266de5434e466dd10ec7a
refs/heads/master
2022-11-18T00:00:41.756262
2020-06-02T13:52:58
2020-06-02T13:52:58
277,380,078
1
0
MIT
2020-07-05T20:41:45
2020-07-05T20:41:45
null
UTF-8
Python
false
false
714
py
# built-in from textwrap import dedent # project from dephell.commands import GenerateTravisCommand from dephell.config import Config def test_make_travis_pytest(temp_path): (temp_path / 'pyproject.toml').write_text(dedent( """ [tool.dephell.some_env] from = {format = "setuppy", path = "s...
[ "master_fess@mail.ru" ]
master_fess@mail.ru
d349c87a622a1209a3ff5362fc3fa6afbee4e859
1a2ca64839723ede3134a0781128b0dc0b5f6ab8
/ExtractFeatures/Data/sohamchakravarty/049.py
62a1fc3c1c22c28f4bebdefb78ee69a41e409935
[]
no_license
vivekaxl/LexisNexis
bc8ee0b92ae95a200c41bd077082212243ee248c
5fa3a818c3d41bd9c3eb25122e1d376c8910269c
refs/heads/master
2021-01-13T01:44:41.814348
2015-07-08T15:42:35
2015-07-08T15:42:35
29,705,371
9
3
null
null
null
null
UTF-8
Python
false
false
2,922
py
from math import sqrt from itertools import permutations def SOE(startValue,endValue): primes = list(range(startValue,endValue+1)) for i in xrange(2, int(sqrt(endValue))+1): #n^0.5 => O(log logN) primes = filter(lambda x: x==i or x%i,primes) #O(N) return primes def main(): primes = set(SOE...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
561cdab09f3c6d387809d8079ed7ec5ea5eec530
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/common/lib/ctypes/test/test_init.py
1b2888b44b2adff8d516b83a996039b5e0baa7d1
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,167
py
# 2015.11.10 21:34:53 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/ctypes/test/test_init.py from ctypes import * import unittest class X(Structure): _fields_ = [('a', c_int), ('b', c_int)] new_was_called = False def __new__(cls): result = super(X, cls).__new__(cls) r...
[ "info@webium.sk" ]
info@webium.sk
029619b62abea69f7d71623a9d51016fe24b11cd
a689a72d3699883d7b58bd4ee3103373270bd0d5
/programmers/category/sorting/1_1.py
c998a1dcbd2fcc54a2b86df9d310f8e6cec20dab
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
1,544
py
# K 번째 수 """ 배열 array의 i번째 숫자부터 j번째 숫자까지 자르고 정렬했을 때, k번째에 있는 수를 구하려 합니다. 예를 들어 array가 [1, 5, 2, 6, 3, 7, 4], i = 2, j = 5, k = 3이라면 array의 2번째부터 5번째까지 자르면 [5, 2, 6, 3]입니다. 1에서 나온 배열을 정렬하면 [2, 3, 5, 6]입니다. 2에서 나온 배열의 3번째 숫자는 5입니다. 배열 array, [i, j, k]를 원소로 가진 2차원 배열 commands가 매개변수로 주어질 때, commands의 모든 원소에 대해 앞서 설명한 연산을...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
556abf14d26f0e7802bc9ec349647ed866879fa1
b6e441b731c8fc313b2ea72fb01a13adf58a4fcb
/main/management/commands/update_line_load.py
0255aa567815d2ca23e10f837de902ba4c58ac7c
[]
no_license
dtekluva/wyre_project
a1c9f95acba3eebfc0568bf62b47dc1e571ea39b
c0628a9ffd9aa0b59563c2f82b5538c17f53d4da
refs/heads/master
2022-12-13T06:00:32.921104
2021-01-04T22:20:50
2021-01-04T22:20:50
193,971,876
0
0
null
2022-12-08T03:13:18
2019-06-26T20:17:48
Jupyter Notebook
UTF-8
Python
false
false
711
py
from django.core.management.base import BaseCommand from main.models import * from main.helpers.fetch_readings import run_migrations # def update_historic_scores(request): # devices = Device.objects.all() # for device in devices: # class Command(BaseCommand): help = '...
[ "31896598+dtekluva@users.noreply.github.com" ]
31896598+dtekluva@users.noreply.github.com
99f83c5479b626bdad31582a7c1c9adfab0cb7cb
3005ac0fbafc802212f788185138206f13b1103d
/tensorflow/test1DspeckleNN.py
dbce4dd151a7792bf9e028fd128988f933163a80
[]
no_license
Tony1886/python_workplace
a8903127d33d95c8e02e09dc2b4c4528a26561ad
6d1b325ee060dda46e81e359b7ed1402d3f02bdf
refs/heads/master
2020-05-24T15:09:50.366564
2019-05-18T06:51:03
2019-05-18T06:51:03
187,324,243
1
0
null
null
null
null
UTF-8
Python
false
false
2,646
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 18 12:45:12 2018 @author: Tony """ import numpy as np import matplotlib.pyplot as plt import sys sys.path.append(r'F:\python\python_workplace\myFunc') import myFunction as mf import tensorflow as tf lamb = 532e-9 d1 = 10e-2 d2 = 30e-2 Ls = 1e-3 Ns ...
[ "=" ]
=
8c90d1729f887f1714b4c870fcadbfa6b79885a0
f7147dcfcc1504dea9b4143094ea7cd3b6c2e417
/dashboard_api/admin_bp.py
1ed6e0272c0c4283aa52db4fcd44fdb199ddb808
[ "MIT" ]
permissive
hjlarry/flask-vue-cms
b6e534bd7eb50a0b781a636f03118377c4df0c4b
3c7bc5d2c0fe743fe6df9d7c35328925e28374fa
refs/heads/master
2023-03-22T19:58:01.055255
2023-03-13T06:41:14
2023-03-13T06:41:14
124,205,311
63
20
MIT
2022-12-17T07:49:52
2018-03-07T08:38:08
Vue
UTF-8
Python
false
false
9,117
py
from apiflask import HTTPTokenAuth, APIBlueprint, pagination_builder from flask import request from utils import verify_token, PermissionControl from schemas import ( UserInfoSchema, UserDetailSchema, ListQuery, UsersOut, ImportUser, RoleSchema, PermissionSchema, SetPermissionIn, Ar...
[ "hjlarry@163.com" ]
hjlarry@163.com
13533cbf7a3c67330d7e2fb547f00e5277a1a1e4
174b5f12bf649390395ed61b59da5bcc96497b3f
/example/qq.py
41b8005e418d4da0b85f60883d0bd04d1f442c78
[ "BSD-3-Clause" ]
permissive
brunsgaard/flask-oauthlib
ada33b0b1ab00210ad554f0f16a6826726889069
fda86961df42ba61b65591c16aea22b184dad950
refs/heads/master
2021-01-22T01:29:07.765307
2015-01-24T11:20:22
2015-01-24T11:20:22
29,773,916
0
0
null
2015-01-24T11:05:04
2015-01-24T11:05:04
null
UTF-8
Python
false
false
3,072
py
# -*- coding: utf-8 -*- import os import json from flask import Flask, redirect, url_for, session, request, jsonify, Markup from flask_oauthlib.client import OAuth QQ_APP_ID = os.getenv('QQ_APP_ID', '101187283') QQ_APP_KEY = os.getenv('QQ_APP_KEY', '993983549da49e384d03adfead8b2489') app = Flask(__name__) app.debug =...
[ "me@lepture.com" ]
me@lepture.com
6d62b61fe842a83bcaa837a83d06fe2576d53552
131caeecc070839555b95382fe9c6ea77a618dce
/.history/Classiles/ice_cream_20210614180932.py
16573984076e7356c023dd80f7e73cea40863737
[ "Unlicense" ]
permissive
minefarmer/Coding101-OOP
f128e34c95f5362b3d9a53bbac3d862c3f256263
d5655977559e3bd1acf6a4f185a6121cc3b05ce4
refs/heads/main
2023-05-22T18:42:37.769345
2021-06-18T00:28:06
2021-06-18T00:28:06
376,620,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
"""[Practice: Ice Cream] Class keyword class name class Ice: Instantiation variable class name name ("instance") ice = Ice() Method an action or behavior ==== to add a method, I simply define a function inside the class | method name is (eat) def eat(...
[ "pgoldfarm@yahoo.com" ]
pgoldfarm@yahoo.com
e409effc39373ad7460a68285ff5d427a4c3e62d
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/autosar/models/diagnostic_request_download_class_subtypes_enum.py
60cf64ba09bef11a26945853e663a95225b5cba6
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
206
py
from enum import Enum __NAMESPACE__ = "http://autosar.org/schema/r4.0" class DiagnosticRequestDownloadClassSubtypesEnum(Enum): DIAGNOSTIC_REQUEST_DOWNLOAD_CLASS = "DIAGNOSTIC-REQUEST-DOWNLOAD-CLASS"
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
e75b7cd36f146d383b1f5f511f84ca569786a8b4
db4f7cc841d801f29a53187fafbb46df9a6542a4
/zvt/domain/fundamental/valuation.py
8320255e8612e4c59ea81806fd5698e4994cb562
[ "MIT" ]
permissive
everhopingandwaiting/zvt
ebf67df363f319309a48c9c391ea9b718ee3beca
c6bcc2b340406da55d920a411f59ab8d4cc7e76d
refs/heads/master
2023-03-02T23:49:23.465091
2020-11-26T03:48:53
2020-11-26T09:49:04
316,705,536
0
0
MIT
2021-02-13T04:41:23
2020-11-28T10:10:13
null
UTF-8
Python
false
false
1,639
py
# -*- coding: utf-8 -*- from sqlalchemy import Column, String, Float from sqlalchemy.ext.declarative import declarative_base from zvt.contract import Mixin from zvt.contract.register import register_schema ValuationBase = declarative_base() class StockValuation(ValuationBase, Mixin): __tablename__ = 'stock_valu...
[ "5533061@qq.com" ]
5533061@qq.com
0a8abb3e72d7b0cedbfac5aef0fc23dfc27e4719
52b5773617a1b972a905de4d692540d26ff74926
/.history/waveSort_20200624173659.py
e1b0924519f97681a60ce028a4bdd2605ebeebf5
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
def waveSort(arr): # we get the length of the array n = len(arr) arr.sort() print(arr) left = 0 right = n // 2 print(right) while left < (n // 2) and right < N: print('left',left) waveSort([0, 2, 4, 4, 4, 14, 22])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
e10a8666d80479fd871ac79efc025b3a3902b811
9c153c1a3a329b8198462c85ae5dd825ce7a09a1
/model3/mnist_identify.py
05acd280f90fbc84d44bfeb72e9bdd9d8fbe05c0
[]
no_license
RunningPhoton/Graduation-Design
a8cfbf177ae851579e938ada77a4ba35c43042f4
fe8ca092b776fe137b5b3fd641b53ab6ccfa4a4c
refs/heads/master
2020-03-09T16:27:12.776663
2018-05-31T13:55:14
2018-05-31T13:55:14
128,885,203
0
0
null
null
null
null
UTF-8
Python
false
false
5,220
py
import tensorflow as tf import numpy as np from tensorflow.contrib import rnn from tensorflow.examples.tutorials.mnist import input_data # 设置 GPU 按需增长 config = tf.ConfigProto() config.gpu_options.allow_growth = True sess = tf.Session(config=config) # 首先导入数据,看一下数据的形式 mnist = input_data.read_data_sets('MNIST_data', one...
[ "you@example.com" ]
you@example.com
640dd834376100d64f842c6c5f0a74f408ea8dbf
0b70b9f582d2b010305ad1e5e4885f30435a5a74
/GuestReviews/asgi.py
e1ebe7c4ba41455e47a58a94b9b84d6792daed8d
[]
no_license
SruthiSasidharan/DjangoProjects
51fa60282b398f4ebf03383220ce046ae1e1beed
6fccc3e1d571638949953ed9fc390068417ce713
refs/heads/master
2023-06-28T02:24:32.355568
2021-07-29T07:45:26
2021-07-29T07:45:26
370,647,670
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for GuestReviews project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "you@example.com" ]
you@example.com
facee13859bc3f429da0d510677e2390aa1283db
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/M/MakeArrayEmpty.py
60818b0ef39c699bb9dfbdaf2e497a6c2ca1aaa2
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
3,526
py
''' -Hard- *Sorting* *Binary Search* You are given an integer array nums containing distinct numbers, and you can perform the following operations until the array is empty: If the first element has the smallest value, remove it Otherwise, put the first element at the end of the array. Return an integer denoting the ...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
c08ea20be62f979aaae5bcc5fe4616fc44149ead
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/415/usersdata/284/85736/submittedfiles/exe11.py
0d5055d8dbb0d8f3fabc7fafa6e42ac1a66c1fac
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# -*- coding: utf-8 -*- a=int(input('digite um número de 8 algarismos: ')) while ( a>99999999 or a<10000000): print('nao sei') break i=0 soma=0 while a>0: n=a%10 a=a//10 i=i+1 soma=soma+n if i==8: print(soma) break
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
90d1945634ec381d1cc35b6bd0a48d691c99ad99
88065300972d8cf5d09745bfce9f710faf135bdf
/pysus/tests/test_decoders.py
1e49bc1372e3310c0a64e5cb2e5093977571d3a8
[]
no_license
FlaviaLopes/PySUS
96f43a4b0192422ab9dcd016c2d358b04b05b854
40f8b5dc728a429f79c688e334a19807c41f0396
refs/heads/master
2022-07-09T05:21:46.649234
2020-05-12T18:37:31
2020-05-12T18:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
# -*- coding:utf-8 -*- u""" Created on 19/07/16 by fccoelho license: GPL V3 or Later """ import unittest import numpy as np from numpy.testing import * from pysus.preprocessing import decoders class TestDecoder(unittest.TestCase): def test_decodifica_idade_retorna_em_anos(self): res = decoders.decodifi...
[ "fccoelho@gmail.com" ]
fccoelho@gmail.com
ddef9c9ce4c9b7bda5c6590383836684c7ec441e
65e0c11d690b32c832b943fb43a4206739ddf733
/bsdradius/tags/release20060728_v_0_6_1/bsdradius/DatabaseConnection.py
626bb9a8b3b02d1fcabd2e29890e36e3b4030604
[ "BSD-3-Clause" ]
permissive
Cloudxtreme/bsdradius
b5100062ed75c3201d179e190fd89770d8934aee
69dba67e27215dce49875e94a7eedbbdf77bc784
refs/heads/master
2021-05-28T16:50:14.711056
2015-04-30T11:54:17
2015-04-30T11:54:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,243
py
## BSDRadius is released under BSD license. ## Copyright (c) 2006, DATA TECH LABS ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are met: ## * Redistributions of source code must retain the above c...
[ "valdiic@72071c86-a5be-11dd-a5cd-697bfd0a0cef" ]
valdiic@72071c86-a5be-11dd-a5cd-697bfd0a0cef
00996ba11b167689b02b9bfd51407b5cf8a100c8
eb08776d76187cfed11801d015af00c334ecdbcd
/sumojam/tools/fitutil.py
99b052d8c9801e19c338e38107d3e83a11877ce3
[]
no_license
Eden-Kramer-Lab/sumojam
04eb1eaa7ba5c0036e640dbcaa23e9c40e906b03
b23c282a681fa96204b22b77e0d9e1d5fb843768
refs/heads/master
2021-05-21T09:42:13.291306
2020-04-18T16:21:23
2020-04-18T16:21:23
252,642,179
0
0
null
null
null
null
UTF-8
Python
false
false
8,657
py
import numpy as _N import scipy.cluster.vq as scv import matplotlib.pyplot as _plt import sumojam.tools.clrs as _clrs from filter import gauKer from sklearn import cluster from sklearn import mixture from scipy.spatial import distance import sklearn.datasets from sklearn.preprocessing import StandardScaler import sumoj...
[ "kensuke.y.arai@gmail.com" ]
kensuke.y.arai@gmail.com
43ff77505cd2340bd2a94f1948339fb8c56a68cf
31e9ae0b5431fdb643f228713001d052e93b303d
/flask_unchained/bundles/babel/config.py
2584f8ba9672e88faa3c23f94e6b7b625dd4ac30
[ "MIT" ]
permissive
briancappello/flask-unchained
b35215b6e150febf8d00fd0164b49d355eae66e6
a1f1323f63f59760e430001efef43af9b829ebed
refs/heads/master
2023-05-13T09:11:14.745523
2022-04-03T00:27:09
2022-04-03T00:27:09
115,440,840
77
9
MIT
2023-05-01T23:40:25
2017-12-26T17:13:24
Python
UTF-8
Python
false
false
1,718
py
from flask_babelex import Domain from flask_unchained import BundleConfig from werkzeug.datastructures import ImmutableDict class Config(BundleConfig): """ Default configuration options for the Babel Bundle. """ LANGUAGES = ['en'] """ The language codes supported by the app. """ BABE...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
568ffa45be61529f326dab6964d15312889aad41
e84060e66cee08521004ad5a2fa2fbd959bbb465
/ex3_rnn_mnist.py
37631c4c1397c82c03192ff96c3705c7922c6d18
[]
no_license
15101538237ren/Tensorflow_ex
6fa7f2e56cf2198e41e6cc19d649346f2a58d0cc
90777efa2decc8a84c029a6f4f069a186b218d01
refs/heads/master
2021-01-19T21:44:15.745527
2017-04-29T01:31:28
2017-04-29T01:31:28
88,695,265
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
# -*- coding: utf-8 -*- import tensorflow as tf import numpy as np # 下载mnist数据集 from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets('/tmp/', one_hot=True) #一张图片是28*28,FNN是一次性把数据输入到网络,RNN把它分成块 chunk_size =28 chunk_n = 28 rnn_size = 256 n_output_layer = 10 #输出层 X = tf.place...
[ "renhongleiz@126.com" ]
renhongleiz@126.com
92cb74a0fb1adbcc57400ab226dbad2f1a3ff969
daee54824cb107f9b5749e3c12e7f09f544bac0e
/modules/vtk_basic/vtkBandedPolyDataContourFilter.py
31c1002b7c48337975a9cffbcdcc0acdc79c8c61
[]
no_license
JoonVan/devide
8fa556d2b42c5ad70c3595303253f2a171de0312
586225d68b079e2a96007bd33784113b3a19a538
refs/heads/master
2020-12-26T06:25:01.744966
2017-01-22T19:47:50
2017-01-22T19:47:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkBandedPolyDataContourFilter(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, ...
[ "cpbotha@users.noreply.github.com" ]
cpbotha@users.noreply.github.com
5e6d8206ca48535ea5b18287db69ea205ff04a03
6f20635bcca1fc60775afeba696ad37315915b13
/run.py
36e400837b1dd3c8d914bee6cbabf3917251a3de
[ "MIT" ]
permissive
DT021/wau
5a58dca1d4b4e1cf02ccd69ce5141bb2ae984da4
9c822ae8455e12bf5adf94ee60a8b5ddfaf38965
refs/heads/master
2021-05-31T06:02:26.480451
2016-03-14T15:25:12
2016-03-14T15:25:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
# -*- coding: utf-8 -*- from app import app if __name__ == "__main__": app.run(debug=True, host="0.0.0.0")
[ "bdh931101@gmail.com" ]
bdh931101@gmail.com
aeb4739d4f020a6ffe59798b4b15a1f242acd2ae
eb42558f56fdb41526cc31ac4ef3a6937bf39e96
/ConfigDefinitions/UserConfigs/SMHTT_2018_MCOnly_Configs_Deep/WZConfig.py
43abc4fc2ddbe06f2d184faf1e6b06c7557fa967
[]
no_license
samhiggie/Jesterworks
6906b042d3e200efb9bd10b70284ccd30661aa53
562e8cbb20d7e4b1d5b9bdba3715578cc66f097d
refs/heads/master
2020-09-11T19:35:59.770456
2019-11-16T12:37:35
2019-11-16T12:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
from ConfigDefinitions.JesterworksConfigurations import JesterworksConfiguration as Config from ConfigDefinitions.BranchAdditions.UserDefinedCollections.SMHTT_2018_MC_Collection import MCCollection as BranchCollection from ConfigDefinitions.CuttingDefinitions.UserCutConfigs.SMHTT2018Cuts_MC_wDeep import SMHTT2018Cuts ...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
25b2d275fc32875d86450f1f98320cb304a03f6c
5ee5e19a42417fdfb5248c070d41b61b86465eaf
/abc_168/c.py
f0019b740ea36dd92db29cb761c6a70a33eeda88
[]
no_license
w40141/atcoder
2e98cfe9fcb33aca8ac4567afecf603084964897
3ad74ca71ab77b929a097730047f4cf59ac38604
refs/heads/master
2023-08-08T21:37:42.744860
2023-08-07T00:50:34
2023-08-07T00:50:34
179,308,336
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import math raw_input = list(map(int, input().strip().split())) h_len = raw_input[0] m_len = raw_input[1] h = raw_input[2] / 12 m = raw_input[3] / 60 m_degree = 360 * m h_degree = 360 * h + 30 * m abs_degree = abs(m_degree - h_degree) a_len = h_len ** 2 + m_len ** 2 - 2 * h_len * m_len * math.cos(math.radians(abs_deg...
[ "w.40141@gmail.com" ]
w.40141@gmail.com