blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b25454882a873e407e6d6bad440f586462000189
c00dd2f4873f445dbc4dd0f01447207ce39a2878
/build/catkin_generated/order_packages.py
78bec3edd0aecd6043957b58f719c003cc969bd9
[]
no_license
eataiwo/tommy_bot
a2c555e23e256f58e4d585f17641a5f1d671738f
f429656ed37415ac308e2ac15305bd8c72038cf0
refs/heads/master
2023-03-20T07:42:26.395342
2020-06-17T18:47:43
2020-06-17T18:47:43
273,044,446
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = '/home/pi/Github/Dexter_ROS/src' whitelisted_packages = ''.split(';') if '' != '' else [] blacklisted_packages = ''.split(';') if '' != '' else [] underlay_workspaces = '/home/pi/Github/Dexter_ROS/devel;/opt/ros/noetic'.split(';') if ...
[ "t_taiwo@live.co.uk" ]
t_taiwo@live.co.uk
134036bdd8ddfbd74afe5b7e1a657dfad7a57485
6df0d7a677129e9b325d4fdb4bbf72d512dd08b2
/PycharmProjects/my_python_v04/day12/m1.py
5a12ef3a487f579861fb99c81884f9b8d41bc8b2
[]
no_license
yingxingtianxia/python
01265a37136f2ad73fdd142f72d70f7c962e0241
3e1a7617a4b6552bce4a7e15a182f30e1bae221e
refs/heads/master
2021-06-14T15:48:00.939472
2019-12-13T05:57:36
2019-12-13T05:57:36
152,200,507
0
0
null
2021-06-10T20:54:26
2018-10-09T06:40:10
Python
UTF-8
Python
false
false
468
py
#!/usr/bin/env python3 from email.mime.text import MIMEText from email.header import Header from smtplib import SMTP message = MIMEText('Python test mail\r\n', 'plain', 'utf8') message['From'] = Header('ljy', 'utf8') message['To'] = Header('root', 'utf8') message['Subject'] = Header('Test mail', 'utf8') sender = 'ljy...
[ "903511044@qq.com" ]
903511044@qq.com
a516870e93d89ca334c3ee99f38c49e041fa3a73
f210ccc90f9e091f10639f071c4e460fa4dafec1
/src/helper/get_delta_t_in_image_space.py
15883b83bbdb82e4ae0f65bc8dd2c79f96d54f3a
[ "MIT" ]
permissive
qingchenkanlu/FlowPose6D
e21974bbbc73db8934e387943a002d009ac0b16f
2297ab5fa0afd0c247d59c2f1c7f899f078e2893
refs/heads/master
2023-01-20T13:43:59.737784
2020-11-22T10:52:23
2020-11-22T10:52:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,879
py
import torch def get_delta_t_in_image_space(t_tar, t_src, fx, fy): """ only works for positive z values ! DeepIM equation 3 Inputs: target translation bs * [x,y,z] source translation bs * [x,y,z] fx bs * fx fx bs * fy Outputs: v_x...
[ "frey.breitenbrunn@gmx.de" ]
frey.breitenbrunn@gmx.de
baf23cf4353edab2fb5d498006315175e6785f2c
777cf9cb9a79a2510e4379ba08260714da00657f
/segmfriends/utils/various.py
63d84254dca0f2fc6c765379e2d3f09e4ef01900
[]
no_license
abailoni/segmfriends
dbea3fd96d62a0f27687b9d87a93c07d656b58e4
d3919b48e45363735c696266f8890a9f5537ef1a
refs/heads/master
2022-04-30T19:43:45.771209
2022-03-25T10:13:06
2022-03-25T10:13:06
159,837,614
1
3
null
2021-04-29T14:56:17
2018-11-30T14:50:29
Python
UTF-8
Python
false
false
9,655
py
import numpy as np import yaml from itertools import repeat import os import h5py import vigra from scipy.ndimage import zoom try: import cremi from cremi.evaluation import NeuronIds from cremi import Volume except ImportError: cremi = None def starmap_with_kwargs(pool, fn, args_iter, kwargs_iter):...
[ "bailoni.alberto@gmail.com" ]
bailoni.alberto@gmail.com
c64012c61e5913f1f1d055db79ab4dbdcc8dfa3d
1b073f0e1e9ae3dfd218ad8d6b47a1dbe09362f3
/067.py
7c427ba3b4c428ea97c1b9e5f512f92bc6922467
[]
no_license
dniku/project-euler
88e5fee191c35a1ac4ebc144c534c4aa59d24cb5
3156bd5c97c68249fb7235f8a0de326f6dd77365
refs/heads/master
2021-05-27T10:03:28.990822
2012-07-09T09:18:47
2012-07-09T09:18:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
s = open("067_triangle.txt", 'r').read()[:-1] rows = s.split('\n') arr = [map(int, row.split(' ')) for row in rows] for i, row in enumerate(arr[1:]): row[0] += arr[i][0] row[-1] += arr[i][-1] for j, val in enumerate(row[1:-1]): row[j + 1] += max(arr[i][j], arr[i][j + 1]) print max(arr[-1])
[ "mr.pastafarianist@gmail.com" ]
mr.pastafarianist@gmail.com
cea2e37800493b6df5d0fb7e0a0bf1c897580191
91085e175a60bc738bd9b614c99f0d8d15fb07cc
/class2.py
980eea494d8e91bb49d72d11a21540f7a3c44555
[]
no_license
kumargaurav12/Python
1f5f8f748dbadf227025b8cbd7e30fd73660d99e
3f1304fd14e77536ec2ac6fa684d996d1e3362bf
refs/heads/master
2020-01-22T16:22:09.716431
2015-09-05T08:30:06
2015-09-05T08:30:06
37,358,913
1
0
null
null
null
null
UTF-8
Python
false
false
632
py
#class Github(Object): # def __init__(self,members): # self.members =members # self.code=code #class Dinesh-sunny(Github): # def __init__(): # super(Github.__init__()) #tuple is use for referece and update the value in a list. print("-----------enemy class example-----------") class Enemy: life=3 def attack(sel...
[ "kumargaurav2525@gmail.com" ]
kumargaurav2525@gmail.com
7cd56a7929e474f131d4e29aa253a2090362b050
ffd583a7ae88ba510e02f8f5141506ec6d2071fd
/test/functional/test_framework/bignum.py
da965b9cf299b81cc6d36db343c960514f966147
[ "MIT" ]
permissive
Coleganet/Clearcore-Project
37f90a797c8098c76f538f30125ce797fba9ebba
e1878cdff32ad14509c0950edf4cd428883e966b
refs/heads/master
2023-03-31T15:11:33.061970
2021-04-06T00:16:21
2021-04-06T00:16:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
#!/usr/bin/env python3 # # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Big number routines. This file is copied from python-bitcoinlib. """ import struct # generic big endian MPI format def bn_bytes(v, have_ext=False): ...
[ "52296308+ClearNode@users.noreply.github.com" ]
52296308+ClearNode@users.noreply.github.com
0ee116e9921ce9f47856f7cbe417f22360077a16
39abd3432a179a91473575d439e8cbe88db688a6
/test1/booktext/migrations/0001_initial.py
d4fd9519ca23b3e5fa382fcd1a4ce4ed360881c2
[]
no_license
susky-zx/my-first-blog
3fd31e3d4e8693c968e8fa9ef891ab67abe6960e
c4e3d38654cba997ba42620ca15085b280662935
refs/heads/master
2023-03-18T12:52:52.156382
2021-03-04T10:22:53
2021-03-04T10:22:53
344,435,144
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# Generated by Django 3.1.4 on 2021-01-26 06:42 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BookInfo', fields=[ ('id', models.AutoField...
[ "1348739561@qq.com" ]
1348739561@qq.com
fa01aa6a1f850b5aa944195cf0c01c5eebb6bdd1
f85db9f20bbf99947681ec97083071dac79bddd8
/accounts/signals.py
a3d441e13ce2551b002721055883ca3898d15f0f
[]
no_license
alxayeed/customer-management
c34247691d21d1ba18e9a2d54c2f810afc1546d5
23a18bcaa7ce1d5899bbb6a66b761c2c0abdd26e
refs/heads/master
2023-01-07T05:28:40.087220
2020-11-12T06:55:45
2020-11-12T06:55:45
280,801,654
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from django.db.models.signals import post_save from django.contrib.auth.models import User, Group from .models import Customer def customer_profile(sender, instance, created, **kwargs): if created: group = Group.objects.get(name='customer') instance.groups.add(group) # group.user_set(user) ...
[ "alxayeed@gmail.com" ]
alxayeed@gmail.com
fc46bf869b737429bb4275d39d72bd91ae474645
9970c423a0a63eb3657a5b3321057f1567c46102
/API/common/services/file_search/localfiles.py
55b79961c3694fcc63d4daf9a1e67de01545f0ef
[]
no_license
HeainLee/Analytics-Module-DL
688107a1c985c66c5275962ba95b7db2d916cad1
9ba3447727883e8cd23049494b9a3f3b384b5c9a
refs/heads/master
2022-09-04T06:52:30.237167
2020-06-01T08:26:53
2020-06-01T08:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,037
py
# API/common/services/file_search.py import os import csv import json from shutil import rmtree from datetime import datetime from collections import OrderedDict class InvalidPathContainedError(Exception): def __str__(self): return "Path couldn't contain " + "../ character" class NotSupportedFileTypeErro...
[ "hilee@daumsoft.com" ]
hilee@daumsoft.com
1a51015987bc9abfc6de029b2d85adab52f247f4
c23238c0ad3ed362094505fdf35b57f26b256dfd
/operations/remove_virtual_router.py
b9521a4c02f65db8c7638c93601a5e6a76c42c21
[]
no_license
JonathanArrance/OpenHCI
e6f80c3cfe140995b13bab797339212715f88159
94718f797f5a48ab2427dc230ff8a141cd8798b7
refs/heads/master
2021-01-23T15:57:24.697550
2018-07-15T20:01:45
2018-07-15T20:01:45
93,273,256
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
#!/usr/local/bin/python2.7 from fnmatch import fnmatch from vpn_manager import delete_vpn_tunnel import transcirrus.common.config as config import transcirrus.common.util as util import transcirrus.common.logger as logger from transcirrus.component.neutron.layer_three import layer_three_ops from transcirrus.component...
[ "jonathan@transcirrus.com" ]
jonathan@transcirrus.com
ea03199790d8cd02e3936392cbda8aeef3183cef
6e2041ba71caca8a823f3218d90cf21931d06865
/tests/test_graphvalues.py
3d93a5382f1974b90bf530c922430aff65803f40
[]
no_license
Adeakim/web-scrapping
45ac6168df92822b7de27553ad62491de73d16d6
fa7f07b9ac32bb332df82c2ed07c9a27742cc980
refs/heads/main
2023-06-28T00:05:46.344913
2021-07-25T19:38:34
2021-07-25T19:38:34
389,426,583
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
import unittest from graphvalues import GetGraphValues class TestGetGraphValues(unittest.TestCase): def test_
[ "decagon@Decagons-MacBook-Air.local" ]
decagon@Decagons-MacBook-Air.local
53bf641f8a1a818bc927588c5e872a076f7e5c2e
394fad0dbb422a2996a3fe50b204338b665d8efd
/SGD_classifier.py
e635cd21b524be02e08e07b5f081ada2c128b064
[]
no_license
strategist922/semEval_Task6_Text_Classification
32b0405a6b5cf9aa9fc0919592034f1228ed96ff
190d5340284b56e3dcae0bd0665538fe54c28dfb
refs/heads/master
2020-12-05T23:42:00.384463
2019-01-17T20:35:28
2019-01-17T20:35:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
from sklearn.linear_model import SGDClassifier import numpy as np def run(train,test,train_labels,test_labels): sgd_clf = SGDClassifier(random_state=42,max_iter=1000) sgd_clf.fit(train, train_labels) p = sgd_clf.predict(test) print("Stochastic gradient Descent Score : " ,np.mean(p == test_labels))
[ "ahmed.morsy1995@gmail.com" ]
ahmed.morsy1995@gmail.com
8dda90afd4adbb6f1326ca5640bb4ccd347c9d8a
7ce56dc3a1110b61d0087565f02b4fe576cad58c
/lintcode/flattern_list/test.py
7817e8f9e3b9fceba772382267b95e57ae19297e
[]
no_license
lssxfy123/PythonStudy
7c251961ce72217e83184853cb0c11dc773e4075
d5beba373b78c6c0276c413a44819d3084899d01
refs/heads/master
2022-11-28T17:25:36.957483
2021-11-26T09:55:32
2021-11-26T09:55:32
55,392,700
1
1
null
2022-11-22T01:39:12
2016-04-04T07:28:25
Jupyter Notebook
UTF-8
Python
false
false
1,096
py
# Copyright(C) 2018 刘珅珅 # Environment: python 3.6.4 # Date: 2018.9.2 # lintcode:平面列表 import copy def flatten(nestedList): result = [] flag = False while True: for item in nestedList: if isinstance(item, list): flag = True for child in item: ...
[ "liushenshenxfy@126.com" ]
liushenshenxfy@126.com
451da8a8c6f8fb3a4cecebd145d5d6924c521ae7
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/lib/license/wrapper.py
2d1701540820f68a0a9c09f087c53100816a01c2
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
462
py
""" Code to wrap web fragments with a license. """ def wrap_with_license(block, view, frag, context): # pylint: disable=unused-argument """ In the LMS, display the custom license underneath the XBlock. """ license = getattr(block, "license", None) # pylint: disable=redefined-builtin if license: ...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
df5a52c759c640fb283245fe58584533b0c81423
1953d9b702c61e28cdadcd69133242dfb4811ed2
/ants/run_tests.py
8aebf6b926225b999294bb6236876b2dbbd447a6
[]
no_license
aleksandar-buha/lastmile
66c41926e1091ff1415684f5f6542b0e973ff15b
881d7b5c7285fcb109de6e3d51da751e7ba8d444
refs/heads/master
2023-08-03T17:12:05.546299
2010-01-07T23:49:55
2010-01-07T23:49:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
import unittest from ants.tests.timing import * from ants.tests.time_window import * from ants.tests.gmaps import * from ants.tests.engine import * from ants.tests.engine_timing import * from ants.tests.operations import * from ants.tests.parameters import * from ants.tests.routemap import * from ants.tests.rootfinder...
[ "ekfriis@gmail.com" ]
ekfriis@gmail.com
8d0401c94b30e4da791d9a20e92a17d3078ce03d
ed7a9902168b0a5340e1bd293d3fa93cedd73149
/libdemo/broken_links.py
ee0cc40084eb78d78d513899404abc28addbea36
[]
no_license
srikanthpragada/PYTHON_07_SEP_2018_DEMO
ec15129de5118d0765dfe920942f78f5b903ab79
fe3782186d71a425df5f99f93e398bdc30716808
refs/heads/master
2020-03-28T10:10:26.637869
2018-10-16T03:31:51
2018-10-16T03:31:51
148,088,136
0
3
null
null
null
null
UTF-8
Python
false
false
209
py
import requests from bs4 import BeautifulSoup html = "<html><a href='google.com'>google</a><a href='yahoo.com'>Yhaoo</a><a href='abcbbcxyz.com'>AbcBbcXyz</a>" bs = BeautifulSoup(html,"html.parser")
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
7a1f248d4325259473ec6e09daadaa9fb2496f56
7e2fdaec0741a79a78df9faec3b36c1a29693d56
/tests/test_day_one.py
5e3ead31eb745a1dba2653a14aaed7c8fccb0f6b
[]
no_license
josefeg/adventofcode2017
983e727e34a2cb9aefb8017bb302cee0fce55ff2
9cb3a808550e945db13dfdab04f1fadb73dfdd7a
refs/heads/master
2021-10-01T01:03:11.450596
2018-01-14T09:55:28
2018-01-14T09:55:28
112,820,598
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
import src.day_one as day_one def test_captcha(): assert day_one.captcha("1122") == 3 assert day_one.captcha("1111") == 4 assert day_one.captcha("1234") == 0 assert day_one.captcha("91212129") == 9 def test_captcha2(): assert day_one.captcha2("1212") == 6 assert day_one.captcha2("1221") == 0...
[ "josefeg@gmail.com" ]
josefeg@gmail.com
4316a1a4b9807418a4f092d51450337a8dd64ff0
52957a949e511a6f445256112a4e0706edb64755
/psychsim/test/test_belief_update.py
62000134bfa2b71fc83d383a3957cf62b3f9def4
[ "MIT" ]
permissive
ualiangzhang/psychsim
4bc98a612a01c911d8a2c163a9bf6811a31c985a
e615672e4785a54b2d5bc9dae74b743a6f10bd80
refs/heads/master
2023-01-19T14:15:10.643817
2020-11-26T01:20:35
2020-11-26T01:20:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,707
py
from psychsim.action import * from psychsim.world import * from psychsim.agent import Agent from psychsim.pwl import * from psychsim.reward import * def setup_world(): # Create world world = World() # Create agents tom = world.addAgent('Tom') jerry = world.addAgent('Jerry') return world def a...
[ "david@pynadath.net" ]
david@pynadath.net
c681972158638d22b8c388f1e98373a5d3201772
c11e28a535e50143dc4a3c4d82c3a8a2fc6d7ff5
/redirect/migrations/0004_auto_20201006_2247.py
30c7ff5b1e822013d520752a6a5c401914667923
[ "MIT" ]
permissive
UWCS/uwcs-go
a493db01ff765185f4af379aef8191c742e2242c
3b74ee0457ba3b7c16f543f643599da17e52d995
refs/heads/main
2023-08-25T16:41:29.909202
2021-10-31T20:58:18
2021-10-31T20:58:18
301,833,077
0
1
MIT
2021-10-31T20:58:19
2020-10-06T19:26:19
Python
UTF-8
Python
false
false
548
py
# Generated by Django 2.2.16 on 2020-10-06 22:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('redirect', '0003_auto_20201006_1914'), ] operations = [ migrations.AddField( model_name='redirect', name='usages', ...
[ "44057980+the-Bruce@users.noreply.github.com" ]
44057980+the-Bruce@users.noreply.github.com
12a39c80682008c88fe009157dcfff3354498887
309a85ce4d7bf6dd560334ec4774ecd88911f428
/src/SEIRcity/simulate/legacy.py
62d35a2e2d880022b1d07c0fbd385eb2d95f827e
[ "BSD-3-Clause-Clear" ]
permissive
UT-Covid/compartmental_model_case_studies
c276e6b8b9bd552634409e70c70c55abf43f3184
324e2c92453c928e64c637d6e6fbe570fb714cdb
refs/heads/master
2023-01-08T16:59:14.655952
2020-11-08T19:12:24
2020-11-08T19:12:24
310,721,801
2
0
null
null
null
null
UTF-8
Python
false
false
11,251
py
#!/usr/bin/env python import os import sys import numpy as np import pickle import datetime as dt from SEIRcity.scenario import BaseScenario as Scenario from SEIRcity.get_scenarios import get_scenarios from .simulate_one import simulate_one from SEIRcity import param_parser from SEIRcity import param as param_module f...
[ "kellyannepierce@gmail.com" ]
kellyannepierce@gmail.com
0e7d5a6eae05a22ad8fd1a204d91fcd011fcb1dd
3b0ccdc4a50a3d54ede0cf497a73cb342ae4952b
/src/global_path_follower.py
29c3918bba4a1bb5d2dfdae5369f33be34f61424
[]
no_license
Aharobot/oculusprime_ros
4059d6224616248915293dfabf1fb835dea8faf5
d7ec0a66421614e74792ef43c21f5f6674adfe33
refs/heads/master
2020-04-05T23:42:52.712313
2015-02-24T21:37:27
2015-02-24T21:37:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,510
py
#!/usr/bin/env python """ on any new /initialpose, do full rotation, then delay (to hone in amcl) follow something ~15th pose in global path for all moves (about 0.3m away?) -maximum path length seems to be about 35*5 (45*5 max) for 2-3 meter path -(longer if more turns -- go for 15th or 20th pose, or max if ...
[ "colin@xaxxon.com" ]
colin@xaxxon.com
d2c466843f5ca21ade743eddc9de1a04c01b44e8
32660e78b5180924b11bdf6755025cd62a92b600
/airtest脚本/快手极速版.air/快手极速版.py
d59ca10b47e12e9757e08f503ea6d7ceef277d60
[]
no_license
HenryHuH/messageboard
205f6afe5ef5b331c3c8f9784767f5293127cbc0
f949bc3fe78d05f58be77e4d3df8e004ebb716fa
refs/heads/master
2020-08-13T09:50:09.564854
2019-10-10T16:37:31
2019-10-10T16:37:31
214,949,551
1
1
null
2019-10-14T04:42:41
2019-10-14T04:42:40
null
UTF-8
Python
false
false
2,474
py
# -*- encoding=utf8 -*- __author__ = "Administrator" from airtest.core.api import * from poco.drivers.android.uiautomation import AndroidUiautomationPoco import random import time import datetime poco = AndroidUiautomationPoco(use_airtest_input=True, screenshot_each_action=False) auto_setup(__file__) devs = device...
[ "826537273@qq.com" ]
826537273@qq.com
7ad21d4c5b7176cc4b382b7aa2c195e2702f3abb
8fd6cb50ef3acd6cf9366b7fec7870d998d4d6f5
/test/test.py
fe2f3183a0f198103060e8c0358e52f29dc4c3cc
[]
no_license
wuhuabushijie/regtest
d6c6c4fb5a2741d08a13f620e3d0d5681e171da2
f60bd4e123d23d667eb41cc272101be6116f2247
refs/heads/master
2020-04-01T07:09:31.875292
2018-10-14T14:15:26
2018-10-14T14:15:26
152,978,605
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
import re # line = "aaaabooobabbby123" # regex_str = ".*(babbb|babbby)" # # match = re.findall(regex_str,line) # print(match) # match_obj = re.match(regex_str,line) # if match_obj: # print(match_obj.group(3)) line = """ 出生日期: 2016年10月6日 2016-10-6 2016/10/6 2016/10/06 2016年10月 2016/06 ...
[ "214148402@qq.com" ]
214148402@qq.com
5d3eba151a3de50aeadad21654eea9a63c346636
d3dbb8a0485e0bf7b096e38f0320b35d75b5105b
/mini-programs/tweet-using-python.py
b750f2ece436c4486f4fde954e8bbcb5f4461cb6
[ "MIT" ]
permissive
fhansmann/coding-basics
e60a6694d807337f62a5881263868527ab791ffc
6cb8e8fb8ad7ac619dfdd068cfd70559b04e4b6a
refs/heads/master
2020-09-28T01:18:47.230776
2020-03-14T21:27:39
2020-03-14T21:27:39
226,654,015
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
from constants import CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET from twitter import OAuth, Twitter consumer_key = CONSUMER_KEY consumer_secret = CONSUMER_SECRET access_token = ACCESS_TOKEN access_token_secret = ACCESS_TOKEN_SECRET # Authentication imformation auth = OAuth(access_token,access_t...
[ "noreply@github.com" ]
fhansmann.noreply@github.com
5f352ba8d18d349b4b7b066a3829ba080b8c9195
9923e30eb99716bfc179ba2bb789dcddc28f45e6
/autorest/python/swagger/models/list_ok_response.py
474dacd75f58b920fa6a1f2154bd6c837af7f02d
[]
no_license
silverspace/samsara-sdks
cefcd61458ed3c3753ac5e6bf767229dd8df9485
c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa
refs/heads/master
2020-04-25T13:16:59.137551
2019-03-01T05:49:05
2019-03-01T05:49:05
172,804,041
2
0
null
null
null
null
UTF-8
Python
false
false
722
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "greg@samsara.com" ]
greg@samsara.com
98587add4acf6c959b65087c526976590381c6ee
566c1f097310fe8d38a64e911e0325071e3dce28
/read_statistics/models.py
215f729cf5680337f7d189f49d21ce29f20967a6
[]
no_license
H-inXT/blogsite
96d67515c94deb279003293d716f4e503da5ae2b
c063125ac79eb78970f3bbfafe2da21911c92be9
refs/heads/master
2022-08-21T19:34:56.678394
2020-05-25T15:12:14
2020-05-25T15:12:14
266,797,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
from django.db import models from django.db.models.fields import exceptions from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType # .工具 from django.utils import timezone # Create your models here. class ReadNum(models.Model): # 计数方法三 ...
[ "3057314116@qq.com" ]
3057314116@qq.com
a8e617cdd16508249e60ba84fe50b5924610960c
f859f2d94ee6dbd728870cf2d86a340f0ffd0e66
/tdf/core/xmlmenu.py
b539d29ac0c414f1f44c402d8782602adccf58ab
[]
no_license
cms-l1-globaltrigger/tdf
744362d52b97c922263de521c16e6a124ce58b1f
a2564781ea6bb9af7450730ec7c0875933989ecc
refs/heads/master
2022-06-12T08:54:09.438619
2019-02-08T12:02:13
2019-02-08T12:02:13
168,487,371
0
0
null
2022-03-29T09:09:03
2019-01-31T08:08:23
Python
UTF-8
Python
false
false
11,045
py
# -*- coding: utf-8 -*- # # Copyright 2013-2017 Bernhard Arnold <bernahrd.arnold@cern.ch> # Johannes Wittmann <johannes.wittmann@cern.ch> # """This module provides a very basic XML menu reader making use of lmxl etree. This class can be used for diagnostic output of algorithm params in TDF routine...
[ "Bernhard.Arnold@cern.ch" ]
Bernhard.Arnold@cern.ch
b3698d8f8556fdfef9636a3e6e038e36765962b9
1f4b84ebc42c04e192ecdeebf44848dcfb16aa22
/Card_value_items.py
c12d50bff18b53b8e8872b96fffb8e8871a3b3a1
[]
no_license
MakubexZ/Legends-of-Code-Magic
05a9a18f8cb5a467111f280ef3632bf0c158dabd
c7938ef9b1d92624d22bbb735ff1e35c75dc33c9
refs/heads/master
2021-05-18T11:12:09.802855
2020-03-31T05:18:00
2020-03-31T05:18:00
251,222,357
0
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
# -*- coding: utf-8 -*- import sys import numpy as np from collections import Counter d = open("D:\Python\CCG\GameCoding\Card_items.txt", "r") line = d.readline() value_list = {} # Analyze each line of one item # Calculate value of each item based on empirical formula while line: item = line.split(";"...
[ "shakamakubex@gmail.com" ]
shakamakubex@gmail.com
86062cd52085d2ec4039080aa3ef86ea5a569b5d
5a8f080b8d277b5b657d0afef7c4206056f1202e
/py2copyp/settings.py
8ea89859be14a80c38c84e9a0a9a22595cec12d8
[]
no_license
AccountOfLom/py2copyp
d5cb299e416a7046463a5925003def9df0ce24a1
afcae2054501e3d7bf323a50bdb298c8030bc506
refs/heads/master
2023-04-07T08:20:12.309331
2021-04-12T08:03:31
2021-04-12T08:03:31
354,258,789
0
0
null
null
null
null
UTF-8
Python
false
false
3,106
py
""" Django settings for py2copyp project. Generated by 'django-admin startproject' using Django 1.11.29. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "ez@happys.online" ]
ez@happys.online
2b5f5537744462032e8fc7b724f169d52fdc7e8f
abf16e8c114a2eaf91ac7021acd336a4a0aacb4e
/DataVisualization/MatplotlibTutorial.py
7afc41bd5f237e0cde0f4ab093e5efa82c15287c
[]
no_license
giangnn-bkace/ml
f24293d63bcee2907412378527eb382fa1710d8f
605e444a58e830ae3f4d1ea1b3a0dd733dd70efb
refs/heads/master
2021-05-03T23:05:10.787691
2018-02-06T03:27:31
2018-02-06T03:27:31
120,396,510
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
# Imports import numpy as np import matplotlib.pyplot as plt # Create a new figure of size 8x6 points, using 100 dots per inch plt.figure(figsize=(10,6), dpi=100) # Create a new subplot from a grid of 1x1 plt.subplot(111) X = np.linspace(-np.pi, np.pi, 256,endpoint=True) C,S = np.cos(X), np.sin(X) # Plot cosine usi...
[ "giangnn.bkace@gmail.com" ]
giangnn.bkace@gmail.com
f05c731e5c5fbdbdd0c7a1ba5cde32ea92da2bd0
5df9472558247d43edd993409d78f6ada6a27cec
/plingback/plingback/input/tests.py
fd9580a83cb43fbf312e9a42748bd8a1b02318a8
[]
no_license
neontribe/PlingBack
f7cd77cc3e7086293014e4a0eac05e7b2afa7c56
fb79de819003789c3106eb1cca7a06c24336d30c
refs/heads/master
2021-01-13T02:05:52.454900
2011-03-17T12:54:44
2011-03-17T12:54:44
1,267,528
0
0
null
null
null
null
UTF-8
Python
false
false
6,197
py
import unittest from webob.multidict import MultiDict from pyramid.config import Configurator from pyramid import testing from pyramid.registry import Registry from pyramid.mako_templating import MakoLookupTemplateRenderer, renderer_factory as mako_renderer_factory from pyramid.exceptions import NotFound, Forbidden fr...
[ "rupert@neontribe.co.uk" ]
rupert@neontribe.co.uk
3ab77a485659577c19b71433cec2d2d97b292a8d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03473/s350397845.py
d3b8ca0a69b57b9e581c2cd75495443833037f5a
[]
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
28
py
x = int(input()) print(48-x)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5948aa5ed3e4653b4271bd30ae04f23dcb7cc92a
dc382bba161dd09594b0c2601dbe822e487c0690
/utils/scraper.py
d63e9ebd113ed5651afdcd2bef0f1ce2932c2bfc
[ "MIT" ]
permissive
IIIT-Programming-Club/Lockout-Bot
68e7607da0d540399878328b496a5f62846c34e2
2d1edaad3fe9f3432005bb4da80aec2209902826
refs/heads/master
2023-07-16T03:18:26.617515
2021-08-25T18:55:03
2021-08-25T18:55:03
399,890,530
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
import json from bs4 import BeautifulSoup as soup from urllib.request import urlopen as uReq def run(): dict = {} for pp in range(1, 16): url = f"https://codeforces.com/contests/page/{pp}" uClient = uReq(url) page_html = uClient.read() uClient.close() page_soup = soup(...
[ "groverkss@gmail.com" ]
groverkss@gmail.com
f92202f5030cf1aa6ae1426c42d010f3d46de545
1a246b687b2b42bb8c38932bf538572041e88f27
/file/migrations/0001_initial.py
c5eb5edb11e1b1bf3d6b3e24ce081d586f4ff469
[]
no_license
kamiwana/apolo
02aa89045eff93a3a3aee4c9ad5e9f4b1d8b31ed
47a6830dd8a77d16fa4b11162c9c872361c5a943
refs/heads/master
2020-03-30T03:32:01.561826
2019-07-02T12:06:26
2019-07-02T12:06:26
150,692,365
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
# Generated by Django 2.0.6 on 2018-06-12 02:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import file.models class Migration(migrations.Migration): initial = True dependencies = [ ('project', '0001_initial'), migrations.swappa...
[ "kamiwana@gmail.com" ]
kamiwana@gmail.com
d6b95e67106d3596c8a253af1bf9df93a2f8736d
65ac0e5714a96a8b0267152b0401371f635db453
/create-drop_user_oracledb.py
90ff99030d3c1da51d14b0998a24d57d979b442c
[]
no_license
vhernandomartin/Python-scripts
09a305bbefd740dc779b0e39d5b6da3ec3e22f98
46ac1bd647b105c737fdbc39aeb8b4a379c82f92
refs/heads/master
2021-04-27T16:32:31.268047
2018-03-09T10:38:28
2018-03-09T10:38:28
122,304,402
0
0
null
null
null
null
UTF-8
Python
false
false
3,921
py
#!/usr/bin/python import getopt import sys import cx_Oracle def printf (format,*args): sys.stdout.write (format % args) def printException (exception): error, = exception.args printf ("Error code = %s\n",error.code); printf ("Error message = %s\n",error.message); class DBConnection: global myPri...
[ "vhernandomartin@gmail.com" ]
vhernandomartin@gmail.com
1fb0b9a4310638e5a03d75d2861117263c815b12
bf0f1207d7a3c76b4f51f1392d2eb607eb12f948
/account_report/models/models.py
0b168905254de668aedba1525236b05080758c03
[]
no_license
DevMohamedFci/Account-Report
65456c7690064c398060b4099344dc7b5e296b97
587dbc37c3f2cb2eae51b9109e39fd17d9e0e8c0
refs/heads/master
2020-03-29T02:17:36.423790
2018-09-19T10:27:17
2018-09-19T10:27:17
149,428,755
0
0
null
null
null
null
UTF-8
Python
false
false
23,540
py
# -*- coding: utf-8 -*- from odoo import models, fields, api # class account_report(models.Model): # _name = 'account_report.account_report' # name = fields.Char() # value = fields.Integer() # value2 = fields.Float(compute="_value_pc", store=True) # description = fields.Text() # # @api.depend...
[ "41862946+DevMohamedFci@users.noreply.github.com" ]
41862946+DevMohamedFci@users.noreply.github.com
9e9069ab87e69b895301d4832b3bae10dcd8850e
27046afbe5337e6a246249c54fe96ccc0a4cac1f
/bin/bin_onePT/mvir-0-gather-measurements.py
f75eff93f54b5d68816941bda0e5bfe951ee62f4
[ "CC0-1.0" ]
permissive
Jravis/nbody-npt-functions
d08863dbe2ad8a0c4fbb0785ebbb17256f39a9e7
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
refs/heads/master
2021-09-28T21:06:10.099374
2018-11-20T16:37:36
2018-11-20T16:37:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,768
py
import glob from os.path import join import numpy as n import astropy.io.fits as fits import lib_functions_1pt as lib import os import sys #Quantity studied version = 'v4' qty = "mvir" # one point function lists fileC = n.array(glob.glob( join(os.environ['MD_DIR'], "MD_*Gpc*", version, qty,"out_*_Central_JKresampli...
[ "johan.comparat@gmail.com" ]
johan.comparat@gmail.com
24fa475f4d63a9f4044e917f0bda01aeeb74b12e
aa1c9b140230edc1d52bff4045c64258b04e8daf
/boxUpdate/boxUpdate.py
1c2df23cd27c41834a1e60dfbcd69a296561cd37
[ "Apache-2.0" ]
permissive
Vast-Stars/Mohou_Box-master
4846071126f7d84947b382fe714d7cc2023db360
3d1c320a6258422406e2ba2f96ec7986beba1330
refs/heads/master
2021-01-13T03:46:35.015561
2016-08-22T02:11:19
2016-08-22T02:11:19
77,207,490
3
0
null
2016-12-23T07:35:51
2016-12-23T07:35:51
null
UTF-8
Python
false
false
19,795
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf8') #sys.path.append("/home/pi/oprint/lib/python2.7/site-packages/tornado-4.0.1-py2.7-linux-armv7l.egg/") #sys.path.append("/home/pi/oprint/lib/python2.7/site-packages/backports.ssl_match_hostname-3.4.0.2-py2.7.egg/") imp...
[ "xk@edeng.com" ]
xk@edeng.com
c7d4f559b071a6305943bfc4d91e7588b85d7e56
0064d4b6f3908b2989a7965e49afa3f4bf65d095
/leetcode+牛客/数对.py
5b72a3cc93b41043b93a7ddfa04f1c54b3e5d8e2
[]
no_license
MyHiHi/myLeetcode
d7a5c1c3a3a30ba517183f97369ed6c95e90cae3
ca36041af7f73d91c95cdbe9599ac5ec15a1243c
refs/heads/master
2021-05-20T08:29:37.017725
2020-05-03T05:17:05
2020-05-03T05:17:05
252,196,933
2
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
# -*- encoding: utf-8 -*- ''' @File : 数对.py @Time : 2020/02/06 16:41:42 @Author : Zhang tao @Version : 1.0 @Desc : None ''' ''' 题目描述 牛牛以前在老师那里得到了一个正整数数对(x, y), 牛牛忘记他们具体是多少了。 但是牛牛记得老师告诉过他x和y均不大于n, 并且x除以y的余数大于等于k。 牛牛希望你能帮他计算一共有多少个可能的数对。 输入描述: 输入包括两个正整数n,k(1 <= n <= 10^5, 0 <= k <=...
[ "909535692@qq.com" ]
909535692@qq.com
f278355a25a49f4b0c27147692f22f1be13b9bbb
a4e1392bbd5ce36b0525adb9fd2ce799f9bd9a9c
/elmutube/asgi.py
077f86a1fe3ae002277f3b33298c6f776a217cc5
[]
no_license
jenadiusnicholaus/ET
61855e02ba7322088457467101be169c69017582
649b6b77ca40647cc566f31ac07186d11fde459f
refs/heads/master
2023-08-06T05:59:47.040317
2020-08-14T14:07:49
2020-08-14T14:07:49
282,652,578
0
0
null
2021-09-22T19:30:43
2020-07-26T13:11:02
Python
UTF-8
Python
false
false
393
py
""" ASGI config for elmutube 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "ucode888@gmail.com" ]
ucode888@gmail.com
626430580438a2b07deb1e0d86c6fb5a51533788
f58a9043915a6c4933b9d8a4d6bf9e43d1ee03b2
/day05/solution.py
10ee9413c537e1cee2c7fccb7b01ecaf65210cfc
[]
no_license
tormobr/advent_of_code_2018
f8098cf05aa04ec12661f96b07b64bfdc194a10b
62f82642364e23e96abbfe52291fa8daa29af6cb
refs/heads/master
2021-07-13T20:29:49.440455
2020-12-09T02:15:12
2020-12-09T02:15:12
226,742,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
def part1(data): result = data current_length = len(data) i = 0 while True: if abs(ord(result[i]) - ord(result[i+1])) == 32: result = result[:i] + result[i+2:] current_length -= 2 i -= 2 i += 1 if i == len(result)-1: break ret...
[ "tormod.brandshoi@gmail.com" ]
tormod.brandshoi@gmail.com
34a78ba79013ca413e0317e60bb94d1a72ce8dac
27c75711bbe10b3120c158971bb4e830af0c33e8
/AsZ/2015.10.05/G.py
fd3f46f380ce9ea4e3d0ba80ef0f8c5e3d305f5b
[]
no_license
yl3i/ACM
9d2f7a6f3faff905eb2ed6854c2dbf040a002372
29bb023cb13489bda7626f8105756ef64f89674f
refs/heads/master
2021-05-22T02:00:56.486698
2020-04-04T05:45:10
2020-04-04T05:45:10
252,918,033
0
0
null
2020-04-04T05:36:11
2020-04-04T05:36:11
null
UTF-8
Python
false
false
1,466
py
from decimal import * import sys #sys.stdin = open("G.in", "r") sys.stdin = open("game.in", "r") sys.stdout = open("game.out", "w") getcontext().prec = 100 dp, A, B, p, q = [[Decimal(0) for i in xrange(55)] for j in xrange(5)] n, k = map(int, raw_input().split()) tmp = map(Decimal, raw_input().split()) for i in xran...
[ "yuzhou627@gmail.com" ]
yuzhou627@gmail.com
98f252e0b525235c53fd61d51c11cae7b33421bf
7323b8039f47c0457ae90173c963549b7d1e6823
/resolve/misc/combine.py
a70488376b9059fb42e2b8d13a7ffcaa9d2c88bc
[ "BSD-2-Clause" ]
permissive
sniemi/SamPy
abce0fb941f011a3264a8d74c25b522d6732173d
e048756feca67197cf5f995afd7d75d8286e017b
refs/heads/master
2020-05-27T18:04:27.156194
2018-12-13T21:19:55
2018-12-13T21:19:55
31,713,784
5
2
null
null
null
null
UTF-8
Python
false
false
873
py
''' Simple script to median combine FITS files. ''' import pyfits as PF import numpy as np import glob as g def combineFITS(files, exstension=0): ''' A simple function that median combines FITS files ''' #get data, ignore missing END fhs = [PF.open(x, ignore_missing_end=True) for x...
[ "sniemi@tuonela.physics.unc.edu" ]
sniemi@tuonela.physics.unc.edu
2cd959d3662b2ceba07b0ed259e5f3adf0a6b108
7a445fd4e0fa4f4d07964b7c7797ab6ebd15b3cf
/vidly/urls.py
1bfb6d379873a8c9ae63f01e4e0cc62b94b8e981
[]
no_license
GrisoFandango/Django-Vidly-Tutorial
cd76e67536d4d6312f8501f8f42b154d0230d45f
6e8dbfa662930b1f5e24ff2145be28e280a93098
refs/heads/master
2021-06-23T22:40:11.563448
2019-11-26T23:29:25
2019-11-26T23:29:25
224,303,351
0
0
null
2021-06-10T22:23:36
2019-11-26T23:17:09
Python
UTF-8
Python
false
false
993
py
"""vidly URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "noreply@github.com" ]
GrisoFandango.noreply@github.com
c3956894de35f8abca722c5e8bfc3bcd1b39489a
e4d89b96605c9f5aa081296e524868bc49a23034
/lyricsmaster/providers.py
812bdeb0631d7cb786abdded8aafd9dc9b7e1ba3
[ "MIT" ]
permissive
soualid/lyricsmaster
2d8e35fc6f0c304aa50569149b10bea0757e6395
30bab8432d2801d7061a98076a8f0a9874d3c890
refs/heads/master
2020-03-26T10:55:01.493308
2018-08-01T04:02:08
2018-08-01T04:02:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,702
py
# -*- coding: utf-8 -*- """Main module. This module defines the Api interface for the various Lyrics providers. All lyrics providers inherit from the base class LyricsProvider. """ # We use abstract methods to ensure that all future classes inheriting from LyricsProvider will # implement the required methods in ord...
[ "sekou.diao@gmail.com" ]
sekou.diao@gmail.com
62d60cdddcf39f00ac2ccab8f6af6efc0d40a9e5
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_204/87.py
7018c11415bc4175318f2b8b39eb1e9f6df5c51a
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,950
py
# python 3.6 import numpy as np import math import networkx as nx import fractions from functools import reduce import time import fileinput import multiprocessing def read(): n, p = next_int() r = [int(s) for s in next_line().split()] q = [] for i in range(n): q.append([int(s) for s in next_l...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5d6e84335ad50ff1132b4f8f2258e5acb91cd14c
9827269c84a2afc599a8ac8ac88027b25ef74d78
/02_40333_wsd_test.py
5be79c7280ecff968ea4e0631acd5e4185d1312a
[]
no_license
caonlp/wsd_bert_tensorflow_version
2dbb7883d8a1bc5cedbe0d69a04a8cdda3ce757f
7cf786d1803ac6e49292469b1afdf71838295b25
refs/heads/main
2023-03-13T22:45:26.361832
2021-03-04T06:35:06
2021-03-04T06:35:06
344,372,725
0
0
null
null
null
null
UTF-8
Python
false
false
3,309
py
import tensorflow as tf import numpy as np import codecs from keras.utils import to_categorical import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' def load_wsd_train_x(): wsd_train_x = codecs.open('40333_train_data', mode = 'r', encoding= 'utf-8') line = wsd_train_x.readline() list1 = [] whi...
[ "noreply@github.com" ]
caonlp.noreply@github.com
2eaec93aa62c8791797660c5d6df1b3f7f536b76
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_267/ch132_2020_04_01_10_51_00_770814.py
3618f607a3f1c5924205b5948b23e593ff000985
[]
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
90
py
import math def calcula_trabalho(F,theta,s): trabalho=F*math.cos(math.radians(theta)*s
[ "you@example.com" ]
you@example.com
6fd8711ad825f854f934a8cf6f2d64d1901e4138
bf4f7f73a642cb018c8ab507d40360454a9e58a1
/approaches/networkx-graph/source_words_only.py
0f85c0cd2f3eddb123a1f5ea6aac56243f903f3e
[ "MIT" ]
permissive
athityakumar/btp
b17ee3c53488b990a274c94d01ef467b7b6f6943
a1bdad0ed6162faa482673347707c09228d6cd9c
refs/heads/master
2021-01-20T02:48:13.919021
2018-04-06T08:01:50
2018-04-06T08:01:50
101,335,911
1
0
null
null
null
null
UTF-8
Python
false
false
10,288
py
from helper_methods import * def recursive_fetch_next_character(G, node, word_id, lpos): neighbors = G[node] required_uid = str(word_id)+"_"+str(lpos) for neighbor in neighbors: if required_uid in G[node][neighbor]['uid']: return(neighbor + recursive_fetch_next_character(G, neighbor, word_id, lpos...
[ "athityakumar@gmail.com" ]
athityakumar@gmail.com
5715da2b5a81be41b88e605097abb5ebabc3a9a0
737e1496e76cc351e93cabb2112f34e00016e6f0
/HuffmanEncoding/Huffman.py
e4cca03dd73d8cb1d66ecfbfe5d0b6069f99d360
[]
no_license
ZLeopard/Python_Works
19e2fe9c6e794a96a136d70766bbca81f38c815a
75d5eaf2573ecd54778716f759c8dddbfa66d911
refs/heads/master
2021-01-21T21:05:45.193174
2017-05-24T15:34:03
2017-05-24T15:34:03
92,305,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
# Huffman Encoding import math class Node: def __init__(self, freq): self.left = None self.right = None self.father = None self.freq = freq def Is_Left(self): return self.father.left == self def CreateNodes(freqs): return [Node(freq) for freq in freqs] def Create...
[ "599707567@qq.com" ]
599707567@qq.com
e5a640db26fe1149142d488afce147437d682f0b
07c46730e218c2f42a8516defbdbfc2fc484c006
/account.py
15f4a9881c6c71a415e92f33bbb022781bfefe45
[]
no_license
adrianmatkowski01/Account
d21297d0f71d09042838d9bf185eb1961c84da0e
558e9d41d338667f16c23681b2d534454ebba805
refs/heads/master
2020-07-15T01:02:15.153835
2019-09-08T17:00:26
2019-09-08T17:00:26
205,443,521
0
0
null
null
null
null
UTF-8
Python
false
false
2,079
py
import utils import gui utils.generate_key() data_file = "data.json" utils.check_file(data_file) def login_variable(var): global login_entry_variable login_entry_variable = var def password_variable(var): global password_entry_variable password_entry_variable = var def register_login_variable(var): ...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
5ecb0a9aedfee8b912fee96c26bc3d92853035c6
f9dbabe8a68da8b5c296096896f1f6b76608ba9d
/bill/migrations/0002_remove_category_name.py
1ddf14b66e43ece72cbbaa824ba226980fc87341
[]
no_license
shawnloong/zst_online_server
c47d3a5756fdce21ccdd93ccc12f279ab7661484
f7acf082b8e05787ea98c56656f1ae9a871bfb2c
refs/heads/master
2023-06-14T04:57:17.046294
2021-05-09T08:10:50
2021-05-09T08:10:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
# Generated by Django 2.2.5 on 2020-10-07 14:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bill', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='category', name='name', ), ]
[ "text.zwb@gmail.com" ]
text.zwb@gmail.com
7b3209cc9ac515e70c9d42ef7ed82ccab0aebf29
253decb99c6d058537118b36da2b63ab0ee9225a
/9_1.py
15b04abe326a1f1078fbb17812e902bcedd482e5
[]
no_license
Adityashah2003/PY4E
730ca263579a65f3c852c12c13cbe2134580d3fb
4523f60ed5098419303e1e64380a9e0c7ac681aa
refs/heads/main
2023-07-18T12:20:11.601524
2021-09-07T08:34:10
2021-09-07T08:34:10
368,843,889
1
0
null
null
null
null
UTF-8
Python
false
false
224
py
count = 0 dictionary_words = dict() # Initializes the dictionary fhand = open('9.txt') user_word = input("Enter the word") if user_word in dictionary_words: print('True') else: print('False')
[ "noreply@github.com" ]
Adityashah2003.noreply@github.com
e9895ee2613f447320c901c82b8253a7824b37fb
f0fa2d6ae033cecf655e5b4163c3d10008eb66de
/model.py
be387574b51ba16055f6202bd2b49beb82027b60
[]
no_license
MChoi-git/Mel-Spectro-Phonemes
7c480afcac84f0b1944237375226f077d0ca2acf
b0d6d16dc3072c017971729425fc11f9ca8c38b6
refs/heads/main
2023-07-07T07:35:24.070785
2021-08-12T20:50:12
2021-08-12T20:50:12
394,769,748
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
import torch import torch.nn as nn import torch.nn.functional as F MODELS = {} # Register model decorator def register(func=None, *, name=None): def wrapper(func): MODELS[func.__name__ if name is None else name] = func return func if func is None: return wrapper return wrapper(fu...
[ "mattchoi427@gmail.com" ]
mattchoi427@gmail.com
b9abbb0cc253ae0226bcb8e42d4ee3681efaf908
f8906e9963593db723111a473d221a383074319c
/1.py
187f98a32bd318398d94f36c9906a1a73c485af3
[]
no_license
OpportunV/test_tasks
10e8667454b29f02ac618fc0b6267a881adbb937
85d33120eba2c862349eb49e74f344a0879e1ad8
refs/heads/master
2022-11-14T14:41:50.523580
2020-06-25T12:23:15
2020-06-25T12:23:15
274,835,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
import sqlite3 def create_tables(cur): cur.execute('''CREATE TABLE orders ( id INTEGER PRIMARY KEY, promocode_id INTEGER);''') cur.execute('''CREATE TABLE promocodes ( id INTEGER PRIMARY KEY, ...
[ "RsTGear@gmail.com" ]
RsTGear@gmail.com
7d72f10b1c541b7796e81e007603ba329d97791e
70c661b810d6b6b791ce6a9a1648e33bfc7da669
/securityheaders.py
05762073f9cbdacbe786587674bf2c3c93a7b837
[]
no_license
Cr1nc/Header-Scripts
9928b01b8175f1824728a08fe87d08252f0ab9c8
26da8c0944181093b9b596ddc88be9d104199cc5
refs/heads/master
2020-05-20T17:23:29.416498
2020-02-16T23:25:40
2020-02-16T23:25:40
185,687,063
1
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
import requests import sys import colored hostname = sys.argv[1] response = requests.get(hostname) response.headers if "X-XSS-Protection" in response.headers: print("\033[1;32;49m") print "[+] XSS header is present" else: print("\033[1;31;49m") print "[-] XSS header is not present" if...
[ "noreply@github.com" ]
Cr1nc.noreply@github.com
6cb6bc2c8cca71612ccd4aff20a540639c588bda
99b2cee110db28b1d3dde95b2f8745efbe3844bb
/orders/urls.py
01066e4f0da5aac31c4fec116ff3d6d41d15ba32
[]
no_license
Peniella/kart-django
a39c5eb48a28e9a03d9ee3ca8e2482c6090197fd
e96831181a83f8b3e4b86e95467211554e446a3b
refs/heads/main
2023-07-26T20:34:33.058616
2021-09-08T08:01:22
2021-09-08T08:01:22
396,990,989
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from django.urls import path from . import views urlpatterns=[ path('place_order/', views.place_order,name='place_order'), path('payments/', views.payments,name='payments'), path('order_complete/', views.order_complete,name='order_complete'), ]
[ "babatundeblessing7@gmail.com" ]
babatundeblessing7@gmail.com
adfd908fd1fc88eb5097627cadcf5b1a5bd25fe6
4a6b30c04e37bb0ad2c2593544916b85642f48e3
/research/meo/mlp_baseline/losses.py
306f31b2ad8ad9870652b6aca10bcf26ecad6d33
[ "Apache-2.0" ]
permissive
jango-blockchained/neural-structured-learning
519e8b757eede408d12b15282e5cfcf78e8875cc
aaa9d3e4733f3b551823b86f67cf8a572acfeb7d
refs/heads/master
2023-08-15T06:00:53.439094
2023-07-31T19:30:57
2023-07-31T19:32:05
224,641,017
0
0
Apache-2.0
2023-07-13T14:54:23
2019-11-28T11:43:56
Python
UTF-8
Python
false
false
4,115
py
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
17e3f6d893e21fd37b22c2db73250c3ce6181866
1a72fecd2a4461f0c81587429203519d8e4f175b
/main.py
138d1add000e0ec0f5e640419b9e202e906b7bd8
[ "MIT" ]
permissive
ForXample/02-Text-adventure
75e4772eb8128b35fb094fd25aae4000432d441f
c8581a49a4baae5456a8fa39d45744f7cb56840b
refs/heads/master
2020-12-29T09:02:11.454059
2020-02-13T05:24:45
2020-02-13T05:24:45
238,547,835
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
#!/usr/bin/env python3 import sys, os, json # Check to make sure we are running the correct version of Python assert sys.version_info >= (3,7), "This script requires at least Python 3.7" # The game and item description files (in the same folder as this script) game_file = 'game.json' # Load the contents of the files...
[ "59849551+ForXample@users.noreply.github.com" ]
59849551+ForXample@users.noreply.github.com
3b7411fbe3d5f7145dff21fa430bb8761233d726
5683a76d2a7134539e847fbe23a0040828a079e4
/magic8Ball.py
3d9a0360f1dde6cb57b2d66466733a56c1b9a743
[]
no_license
tambulkerasha/codetolearn
41b5a345f922a6cda753f821e6fdc827d431bc79
9b74df487ed4e94e885004ed6548d34c8884c540
refs/heads/master
2020-08-16T12:30:37.652373
2019-12-20T08:54:00
2019-12-20T08:54:00
215,502,019
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
import random def getAnswer(answerNumber): if answerNumber == 1: return 'It is certain' elif answerNumber == 2: return 'It is decidedly so' elif answerNumber == 3: return 'Yes' elif answerNumber == 4: return 'Reply hazy try again' elif answerNumber == 5: ...
[ "noreply@github.com" ]
tambulkerasha.noreply@github.com
80500b0aafc98304b8d4abcf0c5bfc9578091c0e
579f3bf8e30af4d4f7576a9b9090e29f94a5c731
/CookiesPool/login/login_weibo_selenium.py
f60fa9aac62e4f38243e928a30f9ea1f970db780
[]
no_license
JaveyYu/Myspider
021b1eaca5340cac4b724758a3080b8b2dfae084
0dfde94028affa193c277c45c54850d6c2b26671
refs/heads/master
2021-06-12T10:39:19.750020
2021-04-06T07:54:55
2021-04-06T07:54:55
147,939,923
0
0
null
null
null
null
UTF-8
Python
false
false
12,736
py
import os import time import random import pymongo import pytesseract import numpy as np from io import BytesIO from PIL import Image, ImageEnhance from cookiespool import util from cookiespool.config import * from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.common.by i...
[ "yujiawei96@yeah.net" ]
yujiawei96@yeah.net
87d154de566f59b78edb6f26d569ed2a9fa19af5
b4780737a985edde2f517591a4eacfd215ef2791
/json-transfer-poc/main.py
beb321e501506dde3db47a588076c1efeed1ddb5
[]
no_license
gabrielSpassos/python-sandbox
f4c38046ba14e3ae53e75c7b1b33c3b1da2bb4dc
faa3bc2909aa3733c9bf55b858f9948c0942687c
refs/heads/master
2023-09-01T18:16:15.812991
2023-08-30T18:14:34
2023-08-30T18:14:34
196,250,657
1
0
null
2021-09-22T19:36:48
2019-07-10T17:46:21
Python
UTF-8
Python
false
false
251
py
import json; f=open('input.json'); config=json.load(f); f.close(); config['data']['aws']['aws_access_key_id_2'] = 'new key'; config['data']['aws']['aws_secret_access_key_2'] = 'new secret'; f=open('output.json','w'); json.dump(config,f); f.close()
[ "gabriel.passos@agibank.com.br" ]
gabriel.passos@agibank.com.br
1c1b81d0a54b7f2bd8ccb3e549c7af36380ec4a9
0101b46765c76991e8108cb1d417f739162184c3
/App/views.py
d610a25c5505c3f189abdbf3f4249b5fc8585663
[]
no_license
vijithDevops/voip-gulf
5d890e56c8b7bdadb9a53ecc201fb406bd954c7b
317506fc1289bd4ed79354d4381675671208c653
refs/heads/master
2020-05-19T22:42:00.621945
2019-05-07T05:03:51
2019-05-07T05:03:51
185,248,252
0
0
null
null
null
null
UTF-8
Python
false
false
736,497
py
from django.shortcuts import render,render_to_response,redirect,get_object_or_404 from django.http import HttpResponse, HttpResponseNotFound, Http404, HttpResponseRedirect, JsonResponse from App.forms import * from django.contrib import messages from App.models import * from App.serializers import * from django.core i...
[ "jishnuchandralayam@gmail.com" ]
jishnuchandralayam@gmail.com
a31b32768b8e24ce287fb8161192f16f6ddc2a5b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_088/ch12_2020_09_03_17_14_08_176382.py
0fcbc84b977d85e7534cfd47f90398c5fe211e9c
[]
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
112
py
a=10 b=5 def resolve_equacao_1o_grau(x): resolve_equacao_1o_grau = a*x +b return resolve_equacao_1o_grau
[ "you@example.com" ]
you@example.com
5d24ee6b54d47695bc100f83f84d1f87af4bb5bd
e037114adce145d846c6ce64aab1798dfd689ffc
/testcode/test_vpn.py
b21c23246f15edc7418e7934418382b1251fda8f
[]
no_license
Jingfei-Han/citation_prediction
11562ef51db24861001aae8aaf2f1b31cec3f304
cfd1c255a894e61b179d5004febbd67b32894ad7
refs/heads/master
2021-01-19T09:58:16.406627
2017-07-17T02:22:49
2017-07-17T02:22:49
87,803,920
0
2
null
2017-05-04T06:11:11
2017-04-10T11:39:08
Python
UTF-8
Python
false
false
985
py
#encoding:utf-8 import requests #scholar.google.com.hk headers = { 'Accept':'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01', 'Accept-Encoding':'gzip, deflate, sdch', 'Accept-Language':'zh-CN,zh;q=0.8,en-US;q=0.6,en;q=0.4', 'Connection':'keep-alive', 'Host'...
[ "jfhan007@gmail.com" ]
jfhan007@gmail.com
466900412ac96d39fae512e6fb256007a4496259
074e444f175d6b944abaac3648ec34a8acab24e0
/KDPutils/kdputils/replies.py
8fea2f34ad4f0466f8aa9be910b1a72143d5ffde
[ "Apache-2.0" ]
permissive
killvxk/LLDBagility
8f4e1091a00d95c486f5a618672416ca6fc31f35
6cc0df91bd49e43997b77048611d1b73f43f7b29
refs/heads/master
2020-06-06T23:29:14.052238
2019-06-28T07:38:40
2019-06-28T07:38:40
192,875,551
0
0
Apache-2.0
2019-06-28T07:38:41
2019-06-20T07:55:14
Python
UTF-8
Python
false
false
2,734
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- from . import protocol # https://github.com/apple/darwin-xnu/blob/xnu-4903.221.2/osfmk/kdp/kdp.c def kdp_connect(error): return dict( is_reply=0x1, request=protocol.KDPRequest.KDP_CONNECT, seq=-1, len=-1, key=-1, error...
[ "fcagnin@quarkslab.com" ]
fcagnin@quarkslab.com
52d27b0ab61e4b43276b9753f55a4cf60273abe6
e5caf8b108da88553f6db9b11f2a4911c578cb6a
/快速排序及其优化/QuickSort_NotRecursion.py
f75c05c8aa07f03b923c1e3569ec460ff0fa1f15
[]
no_license
zg-diligence/blog_contents
663e33cbeddb3457a8badac870a03f8250c711ee
8252a2ff800271566aec56aeef4334efe75864b3
refs/heads/master
2021-01-23T17:39:35.036750
2017-05-14T03:23:36
2017-05-14T03:23:36
82,987,688
0
0
null
null
null
null
UTF-8
Python
false
false
8,567
py
""" Copyright(c) 2017 Gang Zhang All rights reserved. Author:Gang Zhang Date:2017.5.11 Abstract: This program mainly implements quick_sort and its improvement. There are 5 methods for choose of the pivot element in total, and in QuickSort_6 we implements the three-way quick_sorting. All th...
[ "zg_diligence@126.com" ]
zg_diligence@126.com
a4a49c81eeac6f694c2f8096b47fd36dc5b78d06
402d54f2da4f572e617c18de3c64a8df24a9228f
/myvoice.py
d154e5aa13aabdeb7912bd51aa2be5b2a43b04c7
[]
no_license
johnbangla/voice
773242cc8f29eb1b61b2108377cdca75f14bda2f
fcb9d4e6daaa74d8f15e187e2ec37181d088a1a1
refs/heads/master
2023-06-22T11:46:10.865314
2021-07-22T18:42:43
2021-07-22T18:42:43
388,563,388
0
0
null
null
null
null
UTF-8
Python
false
false
5,237
py
import speech_recognition as sr import datetime import wikipedia import webbrowser import time import requests import subprocess #process various system commands like to log off or to restart your system # from ecapture import ecapture as ec #for capturing photos import playsound # to play saved mp3 file from gtts im...
[ "johnbangla@gmail.com" ]
johnbangla@gmail.com
76d919db27aec2ea25b8174be788faff4a56d33b
cf45f3d1f10bf85337602cbd2feb8558a12a5144
/ch10/factorialLog.py
6552b792b006c37b7802110995971516aba2be75
[]
no_license
takumi3682/automatestuff-ja
58cc1209ff11d5cd6c94bcf8aada457c2be7fda0
b72c3421976ddb404f4bc93bd379474e78112b4b
refs/heads/master
2023-08-28T04:40:32.669185
2023-08-05T00:06:12
2023-08-05T00:06:12
260,598,802
0
0
null
2020-05-02T02:26:24
2020-05-02T02:26:23
null
UTF-8
Python
false
false
467
py
import logging logging.basicConfig(level=logging.DEBUG, format=' %(asctime)s - %(levelname)s - %(message)s') logging.debug('プログラム開始') def factorial(n): logging.debug('factorial({})開始'.format(n)) total = 1 for i in range(n + 1): total *= i logging.debug('i = {}, total = {}'.format(i, total))...
[ "aizoaikawa@gmail.com" ]
aizoaikawa@gmail.com
27a8e3f0c62cdbdd303f4f78d4ba566e4c9f0a4a
ab2d968bf2bb7f04f5ebb83c71b8bef37c28d7e4
/insert_data_mysql.py
2f462bf04404c8690ee83f0d8259a3e3f6757a57
[]
no_license
lushilong/python-do-somework
d6e35cfb8967b1335783f5f7d3c2a2e2ccadb156
eb1ea0b1191270fedaca3aa20b3ca370c3447028
refs/heads/master
2020-06-01T18:59:31.475074
2014-07-02T07:55:03
2014-07-02T07:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,735
py
#!/usr/bin/python #-*-coding=utf-8 # import sys import MySQLdb import time import random import string def CreateTableSql(table_name): create_table_sql = "create table " + table_name + \ "(time_" + RandomChar(20) + " varchar(25), "\ "a_" + RandomChar(20) + " char(120), "\ "b_" + RandomCha...
[ "lushilonger@foxmail.com" ]
lushilonger@foxmail.com
84def82cf32dd4ac95c3ac7ee84e10f20137b73a
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/igungor/2011/devel/kernel/default/drivers/module-compat-wireless/actions.py
5e096ade79e4f81b2a2c1fe9d1d52e72b8d1ac92
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2010-2011 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import kerneltools from pisi.actionsapi import shelltools from pisi.actionsapi import auto...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
1cf2a2249ceed83cd8519c2383fa0d484f10644e
bdf86d69efc1c5b21950c316ddd078ad8a2f2ec0
/venv/Lib/site-packages/twisted/words/tap.py
8ce22c892173a3627b4cef4830ba485de67dd8c1
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
DuaNoDo/PythonProject
543e153553c58e7174031b910fd6451399afcc81
2c5c8aa89dda4dec2ff4ca7171189788bf8b5f2c
refs/heads/master
2020-05-07T22:22:29.878944
2019-06-14T07:44:35
2019-06-14T07:44:35
180,941,166
1
1
null
2019-06-04T06:27:29
2019-04-12T06:05:42
Python
UTF-8
Python
false
false
2,428
py
# -*- test-case-name: twisted.words.test.test_tap -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Shiny new words service maker """ import socket import sys from twisted import plugin from twisted.application import strports from twisted.application.service import MultiService from twi...
[ "teadone@naver.com" ]
teadone@naver.com
58e738192e740fb80d200280f2d75140c2d06c0d
d7d97550d7d1bd68203b395b5ab867981e905942
/flaskface/migrations/versions/3e8ba40e9535_add_salman.py
2c3142d0c61d49200f8b03a2614517219e7aa6ba
[]
no_license
salman036/NewFlaskBlog
e7f2162d86a91ad3497b3b801c516b89819bc241
5d26995bf2b028575e2ddb5e91e73a3db2f21dd3
refs/heads/master
2020-09-25T00:38:55.163104
2019-12-04T14:04:26
2019-12-04T14:04:26
225,881,007
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
"""Add salman Revision ID: 3e8ba40e9535 Revises: 2d1175e7060a Create Date: 2019-05-21 12:41:50.546530 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3e8ba40e9535' down_revision = '2d1175e7060a' branch_labels = None depends_on = None def upgrade(): # ###...
[ "salman.saleem@southvillesol.com" ]
salman.saleem@southvillesol.com
a716d66822de62f506ba8f9c4053623b117cc539
d0c42d27f986b2636bfcadedea221a055e549234
/LogApp/apps.py
d7cd0d34b77c7fd5c2f036161906f2d41a645e78
[]
no_license
CristianAThompson/DjangoTimeLog
62a8362995d49157017da94331fa7cec3778c2b5
c4ff9f39654c5cc3a049fd4a6a4d73d7e5d6cfe2
refs/heads/master
2021-01-22T22:03:52.526159
2017-07-09T16:23:10
2017-07-09T16:23:10
92,755,756
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class LogappConfig(AppConfig): name = 'LogApp'
[ "Thompsonacristian@gmail.com" ]
Thompsonacristian@gmail.com
39bbd25fb8ff6bca91c0a134551e64b75016cc66
91a879fc92dc2117bdeab2d606a85988827d2895
/rango/urls.py
9845ccaa080f76e8138a2c4f573282947de8317d
[]
no_license
irfan5d7/tango_django
1958e4c8dcdc71654ff42bc089fd034d33b29a02
ee43b6bb8915ed828c1339506b48bac83a283c1a
refs/heads/master
2020-03-22T07:38:00.772357
2018-07-04T11:35:53
2018-07-04T11:35:53
139,713,618
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
from django .urls import path from django.conf import settings from rango import views from rango.Views import * from rango.views import * from django.conf.urls import include, url app_name = 'rango' from rango.Views import * urlpatterns = [ url('index/',index,name= 'index'), url(r'rango/',index,name='index'),...
[ "irfanahmed.511.ia@gmail.com" ]
irfanahmed.511.ia@gmail.com
79234b8ad6914fbf14491bfbc20543ada6bdf54f
9091fa04f4e57460b34b852d968da43b0a3de59c
/CSCI 1100/LAB/LAB1/lab1_part2.py
4df29b7554eae894d830d3dc57eab1c0ef610fe9
[]
no_license
YunheWang0813/RPI-Repository
b09af436e295c41b423106447ce268b0fb79721b
c0f279474ea5db91eab0c438c57ae0dc198c5609
refs/heads/master
2020-03-31T23:03:14.761451
2019-02-08T00:15:47
2019-02-08T00:15:47
152,641,110
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
base10=128 A=base10*10**9 base2=A/2**30 difference=base10-base2 print base2, difference print base10 , "In base10 is actually", base2 , "in base2", difference, "less than advertised."
[ "41502154+YunheWang0813@users.noreply.github.com" ]
41502154+YunheWang0813@users.noreply.github.com
0e07d1d7b746b504b65fee1d7e6d8c5723e0ee18
4d203bb9e01c27c5202cda384c5c68c10c55acaf
/auth/routes.py
4ef091685c2478bf4b42e30659728d6ea460cfd2
[]
no_license
otolifi/projeto_brasileirao
6157ed419c7780f042c7e12f4a0fc86ae5136fd0
3ad8511899f4dbcb715fa07514fa1d0305fbcb42
refs/heads/main
2023-03-23T05:57:28.902860
2021-03-19T07:00:16
2021-03-19T07:00:16
349,330,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
from flask import render_template, flash, redirect, url_for, request from flask_login import current_user, login_user, logout_user from werkzeug.urls import url_parse from brasileirao import db from auth import bp from auth.forms import LoginForm, RegistrationForm from models import User @bp.route('/login', methods=[...
[ "otolifi@gmail.com" ]
otolifi@gmail.com
fcfb8ef20727545c9b23c07d5af434c785d5b1c7
76bf6bdc6c3b3c0a758529fecb9931f83cb5eff9
/data/raw/LREC/converter.py
4abbb16931f6293095ef14cc1635cb07af5e44b1
[ "MIT" ]
permissive
heathher/neural_sequence_labeling
6376089cde24dbae093494ecc0f9951ddc7582a3
81c83443982f5b1723fde3d446eb94e8cb7a4c44
refs/heads/master
2020-03-30T17:55:22.783711
2018-10-05T20:05:18
2018-10-05T20:05:18
151,475,385
0
0
MIT
2018-10-03T20:21:45
2018-10-03T20:21:45
null
UTF-8
Python
false
false
746
py
import sys import codecs mapping = {"COMMA": ",COMMA", "PERIOD": ".PERIOD", "QUESTION": "?QUESTIONMARK", "O": ""} counts = dict((p, 0) for p in mapping) with codecs.open(sys.argv[1], 'r', 'utf-8', 'ignore') as f_in, \ codecs.open(sys.argv[2], 'w', 'utf-8') as f_out: for i, line in enumerate(f_in):...
[ "isaac.changhau@gmail.com" ]
isaac.changhau@gmail.com
a63804b47305dbd9f10f230e3541635bf03deec9
d8e5d0edf38dc91974d84bc3c2b13a354ddfe8e9
/tables.py
6023c741661fa25f45edb5740904160ca6b5ea4f
[]
no_license
ByronPiedrahita/cursoSelenium
f2cef8b7d65f0b3afa784e9c9c38871a296bfd77
d9929faf92729b030e9e3cebdcdc2b5d2f4317a0
refs/heads/master
2023-01-27T21:16:28.602670
2020-11-26T16:31:38
2020-11-26T16:31:38
315,665,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
""" Este scrip obtiene el header de una tabla y su contenido """ import unittest from selenium import webdriver class Tables(unittest.TestCase): def setUp(self): self.driver= webdriver.Chrome(executable_path = r'./chromedriver.exe') driver = self.driver driver.get("http://...
[ "byronpiedrahita.programmer@gmail.com" ]
byronpiedrahita.programmer@gmail.com
921820e9f1397a494d67886c8060fe4e1a81a750
3844ce3c9fcf735f0c46f0f66ec14a734ca7205c
/without_dbsnp_c/access_single.py
aa7fd7cd62bb7dbac456dbcececa09b54b1b3d52
[]
no_license
MingruBai/PrincetonCOS598F-DNADeduplication
9165cf872254663e2feb355fd9018da55b7cc349
f46c688c93d6c007a0dff8bfe22d671baff6b05c
refs/heads/master
2020-12-24T21:22:06.189886
2016-05-16T20:24:18
2016-05-16T20:24:18
56,558,472
1
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
import sys import os def access_single(chr, target): if target <= 0: print "Invalid target coordinate."; sys.exit(); #Decompress: os.system("bzip2 -d -k ./var/chr"+chr+"_formatted.txt.bz2"); #Read variations: cfile = open("./var/chr"+chr+"_formatted.txt",'r'); tList = cfile.readline().strip(); pList = cf...
[ "mingru.bai@princeton.edu" ]
mingru.bai@princeton.edu
699bf5b0c29e30e6ff4bcd121ae06c61f101c9b8
675818b17d8d54c5ffac3b7d01af280031758364
/controller/sens_reader.py
e55ea60cc88505e504898d130352fe581bcc2b91
[ "MIT" ]
permissive
manuelzanaboni/RPi-oven-controller
f6713e0be3005f46b36fa5fb7f937aad06c5c9f4
1d1eaf5f895ac26685e551554f51a12955c484da
refs/heads/master
2021-07-07T20:49:03.195813
2021-05-28T10:45:51
2021-05-28T10:45:51
243,621,388
1
0
null
null
null
null
UTF-8
Python
false
false
4,640
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sqlite3 import time from threading import Thread from math import isnan import MAX6675.MAX6675 as MAX6675 import Adafruit_BMP.BMP085 as BMP085 import utils.default_gpio as PIN from utils.messages import SENS_READER_MSGS as MSG SLEEP_TIME = 3 class SensReader(Thread)...
[ "mzana97@gmail.com" ]
mzana97@gmail.com
742fd5ae5f818bd6835d081b2691c4c91f7d18de
28ef4d7c6a431a1c80a76a1dab5b00e06087c390
/a6-13d100026/assign6.py
8439102d4d307dce8225077d440704fcb710fcf5
[]
no_license
adititan/Particle-Fluid-flow-SImulation
a2a395c3164dd8b1d03d17553b5e214e66f708a4
ae8c42ec141b098c708e5c29ac0154388d03c25a
refs/heads/master
2020-06-15T14:24:23.278606
2016-12-01T13:58:10
2016-12-01T13:58:10
75,285,859
2
0
null
null
null
null
UTF-8
Python
false
false
4,257
py
import random import matplotlib.pyplot as plt import numpy as np from copy import deepcopy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter num_of_vort =10000 def axis_function(): ax = plt.gca() ax.spines['right'].set_color('none') ...
[ "tanejaaditi1@gmail.com" ]
tanejaaditi1@gmail.com
0979443d74af43683177b884ac41e14055e18679
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/KT8ApJ2EJcLz4K3t2_4.py
d326e5b8c8f8e2569101be27e750656ece4cf909
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
""" For this challenge, you are supposed to find the sum of the digits of a two- digit number. Sounds easy, right? But for this challenge, I expect you to find the sum of the digits mathematically. Sure, you can convert the number into a string and then manipulate it so it returns the sum of the digits, but the poi...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
42722c5f846ebc3fc0d99f76f160c15656ea0aa0
fac77900129f3e11b2b72cd65a4f9e088aaa8bbc
/PythonExercicios/ex078.py
49c2e68f9a9520a2d0f8678d6851b6e2c4f07480
[ "MIT" ]
permissive
Lucas-ns/Python-3-Curso-Em-Video
ff01cc35b383b7c548e4aa1e92e6ed60bad25079
f6d338fffd7a4606d34fab09634eea0fe4b3dfb3
refs/heads/main
2023-03-18T09:02:49.685841
2021-03-16T20:45:14
2021-03-16T20:45:14
348,480,428
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
value = [] for cont in range(0, 5): value.append(int(input(f'Digite um valor para a posição {cont}: '))) print(f'Você digitou os valores {value}') print(f'O maior valor digitado foi {max(value)} nas posições ', end='') for i, v in enumerate(value): if v == max(value): print(f'{i}...', end=' ') print() p...
[ "nascimentolucas786@gmail.com" ]
nascimentolucas786@gmail.com
2d0c3272106195dfcc1a50e0cb7603119a4b1663
949d782a80d82af30d87c93c1b605b265736f4ec
/demos/httpauth/httpauthdemo.py
149af223d630c6da3895947046a62dd5ad0dbc34
[ "Apache-2.0" ]
permissive
nkvoll/cyclone
96f524f311b6c11ce839e35664c0bf8334ef9cd4
35023be3dc3b433f978baf78e2394012528e12d2
refs/heads/master
2021-01-18T07:38:59.877590
2012-02-22T13:05:54
2012-02-22T13:05:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,133
py
#!/usr/bin/env python # coding: utf-8 # # Copyright 2010 Alexandre Fiori # based on the original Tornado by Facebook # # 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....
[ "fiorix@gmail.com" ]
fiorix@gmail.com
e8fee1b202a3827a703ffc1adbf51291c7ee2d7d
e516656a3ae3bc09c72334056be1f42c88282d32
/core/views.py
f2711471d73baece13342491e7ca7f4591758efc
[]
no_license
matheus-henrique/placar
752de95ae3f3f26352700b51c5c4c44a5d1517a1
b2c602870d307569988cd5524f422ba2f30062f0
refs/heads/master
2021-01-12T10:44:51.776428
2016-11-02T17:03:49
2016-11-02T17:03:49
72,662,091
0
1
null
null
null
null
UTF-8
Python
false
false
695
py
from django.shortcuts import render import json from django.http import HttpResponse # Create your views here. def home(request): return render(request,"index.html",{}) def receberDados(request): dados = request.body dados = dados.decode("utf-8") dados = json.loads(dados) print(dados) arq = open('core/static/...
[ "Matheus Henrique" ]
Matheus Henrique
613adb12b44a0e73bb2d5accbeca87fab0746afb
2b15b7f7a6872391ed67489bb5ea06f3672e2672
/run.py
5dd6beb69d72ad8bead18efdbc70b1efa69a42f9
[]
no_license
rbowlus/fakebook_project
001f48ad864a6d3b967f24f048cb7a7a0cfec881
447f23c59f81848ef4b8d445aa94dca78e2c143b
refs/heads/main
2023-06-24T10:03:23.322630
2021-07-27T14:34:38
2021-07-27T14:34:38
383,186,075
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
from app import create_app, db from app.blueprints.authentication.models import User from app.blueprints.blog.models import Post from app.blueprints.shop.models import Cart, Order, Product, StripeProduct app = create_app() @app.shell_context_processor def make_context(): return { 'db': db, 'User':...
[ "rachel.bowlus@gmail.com" ]
rachel.bowlus@gmail.com
c35613b4b84a754b9853b3e38c44fd9387a11436
0426bf7ca6e161cca6a293436d2995f0c818652f
/apps/lead/tortoise_models/lead.py
8d5c6f0773b8b76750df283eff997e978b6def41
[]
no_license
olegshek/anor_home_bot
414a67c4f1eceb6cf9546df410aa8207de63b9ef
0f0fd220604cd3a4ae8dd8588ec9194cd7492b26
refs/heads/master
2023-06-23T02:30:35.741276
2021-07-20T10:56:35
2021-07-20T10:56:35
359,393,299
0
0
null
null
null
null
UTF-8
Python
false
false
2,468
py
from django.utils import timezone from tortoise import models, fields from apps.lead import app_name from core.utils import generate_number class Lead(models.Model): number = fields.IntField(default=generate_number) customer = fields.ForeignKeyField(f'{app_name}.Customer', on_delete=fields.CASCADE, related_n...
[ "olegshek2398@gmail.com" ]
olegshek2398@gmail.com
ba321ad0c6f4371f9a6a723d17d510f324b9e827
f60617e714fc01a5960fb69163c4df3200704426
/mini_gplus/resources/link_preview.py
0f71ec11248ba7a2582f9d1d4807856e4118b54a
[ "MIT" ]
permissive
baronrustamov/pill-city
97d1063f60766623ddfe95c8486bdd3de0ccdb1e
196635e7d0019def1d5ee3b38f82e270085201a0
refs/heads/master
2023-08-18T21:11:11.978403
2021-10-13T17:55:50
2021-10-13T17:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
from flask_restful import Resource, fields, marshal_with, reqparse from flask_jwt_extended import jwt_required from mini_gplus.daos.link_preview import get_link_preview link_preview_parser = reqparse.RequestParser() link_preview_parser.add_argument('url', type=str, required=True) class LinkPreviewState(fields.Raw):...
[ "whj19931115@gmail.com" ]
whj19931115@gmail.com
fc590619e970d6a75ddefa62a3d11211e4d65c82
d0253c2b9fe72f00e1763c34527f52cdd8da3213
/data_precessing.py
897ea58cfad5c1350006052025cc8a1cb80b7aab
[]
no_license
humapleleaf/EVRP-based-on-RL
561980cfcb9886e6e0825ec0594c0f7ff1f34c05
354e6e022a2316da78f708efa8a51bc5d3fa1ae0
refs/heads/master
2022-02-17T15:56:40.949152
2019-07-23T03:27:06
2019-07-23T03:27:06
198,333,176
3
0
null
null
null
null
UTF-8
Python
false
false
2,401
py
import matplotlib.pyplot as plt import os from math import radians, cos, sin, asin, sqrt path = 'GVRP_Instances/Table 2' x = [] y = [] depot = set() afs = set() for filename in os.listdir(path): with open(os.path.join(path, filename), 'r') as f: lines = f.readlines()[2:26] depot.add((float(lines[0]...
[ "humaple@sjtu.edu.cn" ]
humaple@sjtu.edu.cn
91639fc4fdeab850e09373a69e084fbbe1365a05
481a3c657e2886970cb3c62133ea2c780c85799e
/2nd/src/models/product.py
4665335d0303c333259d0a9c673851ac5587322e
[]
no_license
KunjManiar/DBMS
6ebb881b811c574c5bb6f689ef2e0b98b1750c1c
1c7668cba02f8c2dcc3222d7259e726ba2a6423c
refs/heads/master
2020-04-02T14:48:56.460826
2018-10-25T12:27:24
2018-10-25T12:27:24
154,540,101
2
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
from src.common.database import Database import uuid class Product(): def __init__(self,name,category,supplier,quantity,unit_price,unit_selling_price,unit_in_order,reorder_level,available_stock=None,_id=None): self._id = uuid.uuid4().hex if _id is None else _id self.name = name sel...
[ "noreply@github.com" ]
KunjManiar.noreply@github.com
d8615202d1cfda0fd3377384e36df70087fdde9f
feb08c753869b7715f88f5d051184e3c677c2d78
/tests/flat_test.py
6982663709120873aa79619931939c9ce6eed7b2
[]
no_license
hbcbh1999/pydp
8cb5386ae6ceb7f87b50dd06b726e8464f5381d5
0119bc961db5052d67588a4dd40cbe659cfa3445
refs/heads/master
2021-01-01T09:19:56.140177
2016-09-30T06:22:29
2016-09-30T06:22:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
import src.flat_concave import src.examples import numpy as np import src.bounds import src.qualities range_end = 2**40 alpha = 0.1 eps = 0.1 delta = 1e-6 beta = 0.01 samples_size = 1000 # int(bounds.step6_n2_bound(range_end, eps, alpha, beta)) print "range size: %d" % range_end print "sample size: %d" % samples_s...
[ "menitm@gmail.com" ]
menitm@gmail.com
7bd0f8da2049db75527f1ecc0fd9c1c7ad284967
7f5da04042cfdf99c51b5995ca6b92dfe13d9544
/Preprocessing/00_dicom_to_nrrd.py
d9e7c46fe75ecfa8781914cc7da39744b37551f2
[]
no_license
sdmishra123/Capstone---Determining-the-aggressiveness-of-Prostate-Cancer
8ae4f4d673e9d64bac738d62852c2d385f93e8f3
d7253bda3c3465bb727163a2a8731bab07ab262e
refs/heads/main
2023-02-28T20:05:21.436722
2021-02-12T02:42:39
2021-02-12T02:42:39
305,130,423
0
0
null
null
null
null
UTF-8
Python
false
false
4,057
py
import os ''' NOTE: This file will run in Slicer python interactor. NOTE: Make sure that the following directories are consistent with settings file. ''' dicom_root = "/project2/rcc/tszasz/MRIRC/Prostate_DeepLearning_Projects/ProstateX/Data_Prep/raw/DOI" #dicom_root = "/project2/rcc/tszasz/MRIRC/Prostate_DeepLearning...
[ "noreply@github.com" ]
sdmishra123.noreply@github.com
5e877588098192b60485f9d7dd9186bdad24c160
fb3ac3f35977aa8943610323ca9954c33ca73a29
/notasi.py
c2e875bc5702945b571086d7b56ae91344525efa
[]
no_license
khonsanur/matkom
372b2350cd089ff712f076eecafeb48b80c966ea
401fab413431e3fce196e7281df2c46b185f1e84
refs/heads/main
2023-01-07T03:41:46.424378
2020-11-10T16:59:21
2020-11-10T16:59:21
311,726,332
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
print("No.1") #Notasi Sigma kuadrat dari 13 s.d. 17 hasil = 0 n = 17 for i in range (13, n+1): hasil= hasil + i*5 + 2 print("hasilnya adalah:", hasil) end=() print("\n") print("No.2") # Notasi Sigma kuadrat dari 5 s.d. 10 hasil = 0 n = 10 for i in range (5, n+1): hasil= hasil + i*i + 2*i - 1 print("h...
[ "noreply@github.com" ]
khonsanur.noreply@github.com
8f3a746658bbd823e376e62689603d6d2df063a9
04c2de497ed169b31b09c99f0473bf5ce9146e8f
/vvv.py
149f72b29dd297bc4aa37dca3ad1afbe04c41691
[]
no_license
kruthikaneelam/programs
2e3377df7a7e259d4add642b5b38d5c991433b09
b3cd944e143dfbb1a35ef087b10cf3752e0314d4
refs/heads/master
2020-04-25T02:19:57.960460
2019-03-29T05:27:00
2019-03-29T05:27:00
172,435,542
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
import smtplib s=smtplib.SMTP("smtp.gmail.com","587") s.starttls() sender="kruthikan6666@gmail.com" receiver="cocoousha@gmail.com" msg="heyy baby" s.login(sender,"9449831120") s.sendmail(sender,receiver,msg) print("erroe occured") print("msg sent successfully") s.quit()
[ "noreply@github.com" ]
kruthikaneelam.noreply@github.com
1b5956358f78d6d291448ab208fb8f49a4f914e6
6395929fd1aede043f9c060a8f2fb992a5052da2
/TD_light/td_light.py
7cbaa9ffe675fdfb0310821e341b8c7e6142eca0
[]
no_license
openalea-training/agreenium_training_2018
3acfb220dd7def1cd08e0ac0461ba6644e9191a1
ff84736d07ac8e0ceb740dca6c0f88984951c3cf
refs/heads/master
2021-09-09T12:59:21.168326
2018-03-16T11:01:18
2018-03-16T11:01:18
124,087,745
2
1
null
null
null
null
UTF-8
Python
false
false
5,275
py
import pandas import numpy import matplotlib.pyplot as plt import openalea.plantgl.all as pgl from alinea.astk.sun_and_sky import sun_sky_sources, sky_sources, \ cie_relative_luminance from alinea.caribu.CaribuScene import CaribuScene from alinea.caribu.light import light_sources from objects import mtg_tree, mtg_n...
[ "Christian.Fournier@supagro.inra.fr" ]
Christian.Fournier@supagro.inra.fr
bba8c5c1db4074c72979c7188ab3d0415844151e
b9e45c40fb07aafe7dd987b9cbd81da0634d9f4b
/Transcrypt/modules/org/transcrypt/compiler.py
658f0933657083f91cb55d4844a8d1411fdad017
[ "Apache-2.0" ]
permissive
techdragon/Transcrypt
11cee1c1f7f8abd3e7d4fa24c0712e9359b6f7e6
0752ada0b2bc4c38dfa29f911139921e52b03e62
refs/heads/master
2020-04-07T13:15:57.339431
2016-02-17T14:38:55
2016-02-17T14:38:55
51,932,000
0
0
null
2016-02-17T15:20:37
2016-02-17T15:20:37
null
UTF-8
Python
false
false
50,054
py
# ====== Legal notices # # Copyright (C) 2015 GEATEC engineering # # This program is free software. # You can use, redistribute and/or modify it, but only under the terms stated in the QQuickLicence. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, without even the...
[ "info@qquick.org" ]
info@qquick.org
2251d36de384f06402ed70c0aaa4d5c9af52190e
7916316f52c3fcad0f32856d24398cf7bdaab691
/mdensenet/densenet_denoise.py
6bab22510bd9a734d0865e19b93988eb0f457b2f
[]
no_license
citymap/Denoise_ML
ccd6e118d2c374af4b9d2984cfeeafc41584e7c7
d8edb283b99c41cbdd7909a52ea2ca06eae81269
refs/heads/master
2020-08-11T18:53:17.967862
2019-03-26T09:50:21
2019-03-26T09:50:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,231
py
from keras.layers import Input, Conv2D, BatchNormalization, UpSampling2D, Concatenate, MaxPooling2D from keras.models import Model import numpy as np import os import console import conversion from data import Data import argparse import random import string # Network parameters class Densenet_denoise: def __init...
[ "chenxiaoyan@188w.com" ]
chenxiaoyan@188w.com
5f60e7a213b77548b6a3686ce9e9fb1dedd4b481
a1e71d563dfeec4c8460386e8cb1badf00208bf1
/mysite/blog/migrations/0006_contact.py
556677975e1f45e902ddd90c8f49b1c22f82c2f1
[]
no_license
alazarale/site
dcd65ae30d5a5bf4d6a45651f590c46ca467d387
fce619507bacdaee11480c346cee1e18b851036f
refs/heads/master
2020-04-02T07:53:48.989113
2016-06-30T12:12:55
2016-06-30T12:12:55
62,307,694
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0005_comment'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
[ "noreply@github.com" ]
alazarale.noreply@github.com