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
89e30a2a6763156d76c6422ce8f501062ff571fe
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/reverseLeftWords.py
1e01e7b90c6730cb62f2249769eedb64f27917b7
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
class Solution: def reverseLeftWords(self, s: str, n: int) -> str: return s[n:]+s[:n]
[ "zzz136454872@163.com" ]
zzz136454872@163.com
d81f01b5feedad425ef419d1c7785a73da9cf208
b247b10180db9926b3d910c59eb91c2b78362d8f
/TP Cyber Python/Generation.py
91ffb1fce96d7c6dffc4a78a7cbfc3eb0bea1a66
[]
no_license
Darkcat78/Python
554dccaf696976a22832fa41d2fe458584caf8ab
69e0a3c65179eddf842420a40813fd1da269c9c3
refs/heads/master
2020-08-28T04:37:49.428333
2020-01-20T14:54:42
2020-01-20T14:54:42
217,592,981
0
0
null
null
null
null
UTF-8
Python
false
false
5,637
py
import hashlib from tkinter.filedialog import askopenfilename class Generation: def __init__(self, login, mdp_md5): self.login = login self.mdp_md5 = mdp_md5 def choix1(self): #Un a mis une lettre devant son nom, avant de rajouter à la fin son année de naissance date =...
[ "yoann.duthuille@gmail.com" ]
yoann.duthuille@gmail.com
67e27a97c36aefbcbcb4971e51fc0c761039888e
2f48014e7bce498c9b05ca71389a707d70802721
/python/test/center.py
6d1d23a34951c6331bdfca3446ad84552e7632d1
[ "MIT" ]
permissive
ExCAPE-Project/smurff
3e2a834348777aaa0c1f48884d5dee44097dad55
e6066d51e1640e9aad0118628ba72c9d662919fb
refs/heads/master
2020-09-14T16:41:35.699546
2019-11-20T14:20:24
2019-11-20T14:20:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,328
py
#!/usr/bin/env python import numpy as np from scipy import sparse import scipy.io as sio import argparse import os import os.path import itertools import matrix_io as mio parser = argparse.ArgumentParser(description='Center sbm/sdm/ddm') parser.add_argument('--mode', metavar='MODE', dest='mode', action='store', hel...
[ "vanderaa@imec.be" ]
vanderaa@imec.be
b2426b7f50a539574f6d126b81234c8edd9c082b
cbb9152ea4290fb655caff877101eaeb68236dfd
/students/douglas_klos/session9/mailroom/html_render.py
9b51232fe9339ad8feb8f3eaac197afba6064c58
[]
no_license
pauleclifton/GP_Python210B_Winter_2019
7105a080d105cd9999933936346d5ae29f232d26
661903cd9dc49b294fb9a0c905133a4c3f9d8d0f
refs/heads/master
2020-04-16T04:26:31.951165
2019-03-31T15:22:51
2019-03-31T15:22:51
165,267,180
0
0
null
2019-01-11T15:39:48
2019-01-11T15:39:48
null
UTF-8
Python
false
false
9,989
py
#!/usr/bin/env python3 #pylint: disable=W0223,W0231,C0103,C0321 """ A class based system for rendering HTML """ # Douglas Klos # March 14st, 2019 # Python 210, Session 9, Mailroom OO # html_render.py class Element(): """ Framework for a basic element in HTML code. Class attributes: tag: Tag used...
[ "dougklos@gmail.com" ]
dougklos@gmail.com
0fa6a7a51704f8684e7ae09c03866b27bbafde73
34c0191c4ae3a25782c63ca3ba3a01173a8ea48a
/tele.py
1544e62741847158e39f6d2d23afccf914c85872
[]
no_license
wantedhj/Python-Class
24079a4e2f25dc8403984e0eb93ca8512f6e93f9
34302891a53325bbb592a8f6e46268a07046a29f
refs/heads/master
2020-04-25T10:32:11.901204
2019-04-10T08:55:55
2019-04-10T08:55:55
172,712,606
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
import telepot import time import os token = "" mc = "" bot = telepot.Bot(token) bot.sendMessage(mc,"안녕하세요." ) InfoMsg = "아래의 요청 중 하나를 고르고 번호를 입력하세요.\n"\ "1. 주가 확인\n"\ "2. 환율 확인\n"\ "3. 날씨 확인\n"\ "4. 종료" status = True def handle(msg): content,chat,id = telepot.glance(msg) print(conte...
[ "noreply@github.com" ]
wantedhj.noreply@github.com
2b4628329e120a2d4893071b9d8a68b5bfb674a2
9905412149feb076e66a1e72ef30a2ddc55ba2f0
/Assignment2/breadth-first-search/reducer.py
ceec6928d022fc53327ea9173ce4bd99fbeb9d48
[]
no_license
adarshmelethil/Hadoop_BigData
a238c4073b1e13036d6dd224e379c77534120f19
02faa74907dc858edd12d732c62262009b51c4f9
refs/heads/master
2021-08-26T08:08:58.526676
2017-11-22T09:49:23
2017-11-22T09:49:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
#!/usr/bin/env python #reducer.py import string import sys import random import argparse def main(): cur_node, cur_connections, cur_distance, cur_is_visted, cur_source = None, None, None, None, None for line in sys.stdin: line = line.strip() line = line.lower() node, info = line.split("\t") connections, di...
[ "adarshmelethil@gmail.com" ]
adarshmelethil@gmail.com
3a2ac2af9ba8b2e906a2bb997e0ed16d217874a6
09d20d46acb9fad6c2338b1c67173e13cf69b230
/api_server/core/settings.py
bfce3620fb4a4aa58f033cb225a66f7a6783dc60
[]
no_license
Madsn/km
927314074c4b554eaadc43f5e6566c7b40c4782d
3731517b1d93e9d7158032446b1353bc83adf3d3
refs/heads/master
2020-03-22T08:41:16.136918
2016-10-23T18:33:40
2016-10-23T18:33:40
74,403,850
0
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
""" Django settings for api project. Generated by 'django-admin startproject' using Django 1.10.2. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os # ...
[ "m@madsn.net" ]
m@madsn.net
2f84e673311d417b421b9ae8507b879d52c87744
16f11e566c5069a874a99ff33debb47913881bfa
/python/sets/symetric_difference.py
1845ad05bcf46c0bdf85ba51b2d9ade857fbb091
[]
no_license
Suraj-KD/HackerRank
7c5a1a73ea2d2c30370ff5d2dd633aaef315f00a
ef6ba86b2245172de6f62a6fb63916318adef2a6
refs/heads/master
2021-06-27T10:30:14.195489
2019-03-20T12:33:54
2019-03-20T12:33:54
129,599,426
2
0
null
null
null
null
UTF-8
Python
false
false
243
py
import sys def setsym(a, b): return len(set(a) ^ set(b)) def main(): lines = [[int(x) for x in line.strip().split()] for line in sys.stdin.readlines()[:4]] print(setsym(lines[1], lines[3])) if __name__ == '__main__': main()
[ "surajdubey302@gmail.com" ]
surajdubey302@gmail.com
d0d4daccbb923c4f2682742e5a3e450c5c0c2db3
8b57c6609e4bf3e6f5e730b7a4a996ad6b7023f0
/appserver/mrsparkle/lib/message.py
778be4f1fd722f3c66a0b96ba327ed393660c664
[]
no_license
bullll/splunk
862d9595ad28adf0e12afa92a18e2c96308b19fe
7cf8a158bc8e1cecef374dad9165d44ccb00c6e0
refs/heads/master
2022-04-20T11:48:50.573979
2020-04-23T18:12:58
2020-04-23T18:12:58
258,293,313
2
0
null
null
null
null
UTF-8
Python
false
false
13,980
py
from builtins import object import cgi import cherrypy import logging import splunk.util from decorator import decorator logger = logging.getLogger('splunk.appserver.mrsparkle.lib.message') QUEUE_SESSION_KEY = 'queue' QUEUE_INFO_LEVEL = 'info' QUEUE_ERROR_LEVEL = 'error' def get_session_queue(): """ Create...
[ "splunk@x.y" ]
splunk@x.y
caed4935d8fea104672a4da68d2dd73da309d139
3269efad35969405da5cb3199fd03981a5d0bfc5
/ask/ask/wsgi.py
2c56c7f8617b13713aeb7db68f5b021b293cdb77
[]
no_license
yellowpearl/web
da3dbadac803d92394bc9d96eaa92674e0d0387d
6c4b3060186624be080b454f67fa33c386de8311
refs/heads/master
2023-01-06T08:55:35.247362
2020-10-30T17:52:03
2020-10-30T17:52:03
285,879,921
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
""" WSGI config for ask project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os import sys from django.core.wsgi import get_wsgi_application bind="0.0.0.0:8000" PROJECT_R...
[ "yellowprearl@yandex.ru" ]
yellowprearl@yandex.ru
27d46bebe0063a317e034caf24cb7221bed3278d
447fd8ce70d9654d179a8e6d67627d3644926dac
/tests/conftest.py
150d335f6ea8e16ca0c5181c32eeba0897f2a48e
[ "BSD-3-Clause" ]
permissive
dhalil77/Permutation-Routing-IoT
966248e6a9d288d590768628e4a9692383cc7937
69ae24992a5a95b2809a3cc3f04c9fac794bbf25
refs/heads/master
2023-03-28T11:00:01.707828
2021-04-02T06:46:05
2021-04-02T06:46:05
353,950,397
0
0
null
null
null
null
UTF-8
Python
false
false
5,924
py
from __future__ import absolute_import from builtins import zip import pytest import time from SimEngine import SimConfig, \ SimSettings, \ SimLog, \ SimEngine, \ Connectivity from SimEngine.Mote.roupe import RoupeOFNone i...
[ "dhalson1lm@gmail.com" ]
dhalson1lm@gmail.com
8c4085ecc1203df15a7212dd003156e4e4ba543e
b2c670fa0157c19f26e57d87e0bcd5e94dd7c582
/Övning 4.x/4.2.py
8854ec843d780e45798bd2ab08d07df3c9804637
[]
no_license
abbindustrigymnasium/python-kompendium-khet
3dda2f82aa640da772c4685b452617156000f8b9
5127d9cb67e9326824adc9ffad0cf4f4eec58239
refs/heads/master
2020-04-27T01:38:04.912804
2019-05-29T01:24:33
2019-05-29T01:24:33
173,971,125
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
summa = 0 for x in range(1, 501, 2): #addera alla jämna tal från 0 till 500 genom att addera var andra tal summa += x print(summa) #skriv ut summan
[ "43946998+abbkhepho@users.noreply.github.com" ]
43946998+abbkhepho@users.noreply.github.com
ae0fba1ab684c492e528aaeedf60e8b2c1578578
090a436e52672e874cd699af452fb444265bb758
/run.py
c53b7972fc24cb1ed8ea081589aac3d5a701d812
[]
no_license
JosephKithome/Flask01
ed26c409cf4f56a7096783a045fb0443ac9e2a06
ea59714b9dff15e2cddfd81fdb29da3685ec2d50
refs/heads/master
2023-04-21T23:23:53.600283
2021-05-16T18:08:35
2021-05-16T18:08:35
367,450,868
1
0
null
null
null
null
UTF-8
Python
false
false
60
py
from app import app if __name__ =="__main__": app.run()
[ "jmulingwakithome.jmk@gmail.com" ]
jmulingwakithome.jmk@gmail.com
aa09f2d8129f95e2dca1a311d322ace71a2eaa32
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_143026.15+195346.7/sdB_sdssj_143026.15+195346.7_coadd.py
60fd321f363d4a9442ec3bb3c4bf7aaccdebdbb7
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[217.608958,19.896306], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj_143026.15+195346.7/sdB_sdssj_143026.15+195346.7_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
51469423fd3a93f1c1b7fee30ec663745e8eb641
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/android_sdk/public/platform-tools/systrace/catapult/common/py_utils/py_utils/cloud_storage_unittest.py
20586a4bf6631237fae3e2889ba1eca86686ee43
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
136
py
../../../../../../../../../../.cipd/pkgs/82/_current/platform-tools/systrace/catapult/common/py_utils/py_utils/cloud_storage_unittest.py
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
0efd7cacb0863228e87e15014f4a7e0c70aa00be
bc576eec149b127be3e8c915d8f7a44a9c2ae06c
/testFile.py
6a7d191ad1750d6838d48532dc3db0397d93cac8
[]
no_license
PH0805/TestRepo
d0674a335bf86702bc460e66a391fae469e3b033
4f7510fa425a3c389cdc6197bdfdce85f6ceb53d
refs/heads/main
2023-03-27T06:51:49.321270
2021-03-28T10:36:37
2021-03-28T10:36:37
352,277,654
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
print("your old is your old") print("your old is your old2")
[ "snowstorm000@gmail.com" ]
snowstorm000@gmail.com
07d23741c8dd6bcaacf92e5f1414418d20f2a164
983ad0b613ef369ea07446104dfbebccaedd0bc2
/roger/diagnostics/snapshot.py
388b2aaca52210b4fb363003574b05332b39646a
[ "MIT" ]
permissive
Hydrology-IFH/roger
14a5f63e1152e9199acb3c519c135346f0d5bad9
3ae707243951103c79569ec95c518be7b06bd354
refs/heads/main
2023-08-28T21:51:48.610576
2023-08-28T14:43:31
2023-08-28T14:43:31
536,477,819
1
1
MIT
2023-07-01T09:24:25
2022-09-14T08:13:42
Python
UTF-8
Python
false
false
1,580
py
import os import copy from roger import time, logger from roger.diagnostics.base import RogerDiagnostic DEFAULT_OUTPUT_VARS = [ "ta", ] class Snapshot(RogerDiagnostic): """Writes snapshots of the current solution. Also reads and writes the main restart data required for restarting a Roger simulation. ...
[ "robin.schwemmle@hydrology.uni-freiburg.de" ]
robin.schwemmle@hydrology.uni-freiburg.de
0f9c7b784b263277a8fd7a0be039209536d89bc9
90b5d57088c205675a6c2555490ed4fc1b7907e3
/onnx/backend/test/case/node/add.py
3f524c97e656475d0f7642842513e4eedee68ac3
[ "MIT" ]
permissive
zodsoft/onnx
403d03a7ddbbe7cc49340fbe1943203f2b0ffa76
ea1aa139b208b92f34a1501a0406705d83399897
refs/heads/master
2020-03-18T05:39:39.449298
2018-05-22T01:49:42
2018-05-22T01:49:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np # type: ignore import onnx from ..base import Base from . import expect class Add(Base): @staticmethod def export(): # type: () -> None ...
[ "noreply@github.com" ]
zodsoft.noreply@github.com
7f03c15f5c8acaa4a8dd15c67264800e2008bc81
0c1bd690cf2b6676e4043ac42d3cb73156967e9c
/robot/lidarModule/lidarModule.py
2cecb1f6ca8c3165259534f2f28b93d372edf680
[]
no_license
Project-Lidar/TINLAB_ES_Lidar_System
42ccc0dfe3e24d25d6d6ea3630dd09a1ba894fbf
dedc41c181697d745b9e9c644bd438d022fafca4
refs/heads/master
2023-01-20T21:30:28.751713
2020-07-12T16:37:03
2020-07-12T16:37:03
239,851,122
0
0
null
2023-01-11T04:20:20
2020-02-11T19:52:52
Vue
UTF-8
Python
false
false
1,397
py
import numpy as np import asyncio import time import robot.communicationModule.communicationModule as comm from rplidar import RPLidar PORT_NAME = '/dev/ttyACM0' mqtt = comm.MqttCommunicator() # Publishes lists of the RPlidar A1 measurements def scans(): '''Main function''' lidar = RPLidar(PORT_NAME) d...
[ "mo.mh43@gmail.com" ]
mo.mh43@gmail.com
55301ed69bb3b42b97256d586f1d4c2395398ca1
86b306ac1133e3207a7f4640be8a57893f20f661
/w2/d1 - postgres/exam-data-01-solutions/solution_03.py
9ba8bdae7008b7053145d13e2d1c841499157717
[]
no_license
lolwooops/lighthouse
bdfc73878921b0ad091f53ee85a8deb99af67845
413f9911063c4d3b5fa01f82a390b36cec1f0f7e
refs/heads/master
2023-03-25T13:08:29.615554
2021-03-23T00:08:20
2021-03-23T00:08:20
327,222,873
0
5
null
null
null
null
UTF-8
Python
false
false
63
py
def reverse_capitalize(string): return string[::-1].upper()
[ "noreply@github.com" ]
lolwooops.noreply@github.com
010fad174cda16499aa8d1149c8f7c0d457e771b
961996633794268f1d09d32ce53d38c617177ba6
/accounts/urls_reset.py
4f118dad7666e0f3d75e2ded0cd4ee1f9e236d59
[]
no_license
Code-Institute-Submissions/stream_3_project-1
811ff872ac27f17c5ccccfc76cc42da3f89d8d58
f1102a4e794722ed91c66c6d2ce8db6dc2190c80
refs/heads/master
2021-05-05T12:57:01.938399
2018-01-21T14:32:18
2018-01-21T14:32:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.conf.urls import url from django.core.urlresolvers import reverse_lazy from django.contrib.auth.views import password_reset, password_reset_done, password_reset_confirm, password_reset_complete urlpatterns = [ url(r'^$', password_reset, {'post_reset_redirect': reverse_lazy('password_reset_done')}...
[ "decofeco29@gmail.com" ]
decofeco29@gmail.com
9b428d66c7ddf21058b9352d54b2cff6e01535ce
ba069170ec973ae97d3b49a62aa0fe016afb462f
/app/models.py
6ba316f70937a346095305c6ecd83b4388ea56bc
[]
no_license
mikhail-akimov/LearningFlask
e4ad9b3f0a5c3ee80ed4365e7c8612f4157ad6b1
8d0287b4a06d7ccc0b440d68ab73e36cd820e4e8
refs/heads/master
2020-04-08T20:38:17.039232
2018-12-12T12:36:36
2018-12-12T12:36:36
159,707,938
0
0
null
null
null
null
UTF-8
Python
false
false
3,199
py
from werkzeug.security import generate_password_hash, check_password_hash from datetime import datetime from flask_login import UserMixin from app import db, login, app from hashlib import md5 import jwt from time import time followers = db.Table('followers', db.Column('follower_id', db.Integer, d...
[ "daggerito@gmail.com" ]
daggerito@gmail.com
558e84265774ed2da8deedd5502289cc8742eabf
9874f249a89aad406c32d64b64c96055e09bb4f7
/agent/iptc_helper.py
f31091aefa34822f360d8604c8fdb36774048f26
[ "MIT" ]
permissive
eugenosm/agent
ff04c66263bd5c8be1b154db16bf1a6b632a1ecd
5df4dc474844614808d7a78cec1c5f7cdccb1c1c
refs/heads/master
2020-05-28T11:26:52.753647
2019-06-06T08:47:31
2019-06-06T08:47:31
188,985,110
0
0
MIT
2019-05-28T08:16:29
2019-05-28T08:16:28
null
UTF-8
Python
false
false
17,241
py
# -*- coding: utf-8 -*- # TODO: # - Add documentation # - Add HowToUse examples from iptc.ip4tc import Rule, Table, Chain from iptc.ip6tc import Rule6, Table6 _BATCH_MODE = False def flush_all(ipv6=False): """ Flush all available tables """ for table in get_tables(ipv6): flush_table(table, ipv6) ...
[ "artem.martynovich@gmail.com" ]
artem.martynovich@gmail.com
812b43dd804656d0d2253cb87eaff0803772a4d2
e984c16811bc929e9d8ed54cddc77f3ccdf16777
/examples/showCellOverview.py
af4f5fb3cace59147ca63e4630d1da0a3719f4eb
[]
no_license
thoulen/afspy
c7b4e11009d175d990099e9861033152195b75c6
fe3f0fee6eb4411de42def04f0b1871a24e0fdc3
refs/heads/master
2021-01-20T23:20:49.443811
2012-03-31T22:24:42
2012-03-31T22:24:42
2,558,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
#!/usr/bin/env python import sys, string, time sys.path.append("..") from afs.util.AfsConfig import setupDefaultConfig from afs.service.CellService import CellService import afs # setup Config setupDefaultConfig() afs.defaultConfig.CELL_NAME="ipp-garching.mpg.de" # init services CS = CellService() # uncomment if...
[ "christof.hanke@rzg.mpg.de" ]
christof.hanke@rzg.mpg.de
7b2a69f3ac172111bffd9b484e13e7b56ac6be8a
2a0c2b3b682fdc7a49ff2ea107f53ac4b8fb5d20
/tool/mySpiderUtil/getFontTTF/__init__.py
09fb027b761e9a2e1580ff3f506b9974fab89d76
[]
no_license
NoobsZero/DesignMode
29f8327c09ecd8f26e9fc3c8618e5fba3de712b2
161997377020436491520a10fc3ac927469458f1
refs/heads/master
2023-07-08T04:24:59.776257
2021-08-17T05:55:46
2021-08-17T05:55:46
303,366,863
1
0
null
null
null
null
UTF-8
Python
false
false
139
py
# encoding: utf-8 """ @file: __init__.py.py @time: 2021/6/11 10:54 @author: Chen @contact: Afakerchen@em-data.com.cn @software: PyCharm """
[ "870628995@qq.com" ]
870628995@qq.com
c9e0ebb11f7cf0e05d7a70cf995a27fa0e40e8ec
082e1b8c1881c71509488a6b8a3bff4324fae606
/BOJ/1766.py
d8bf83c3d7064334e24768b046b281e1a5863921
[]
no_license
lkitty0302/Algorithm
13297db1cc99f0f1b824bb208fd41c76b9f269ec
a5e8643634c46bedc912ae50b2f3de582a4e9ea5
refs/heads/main
2023-08-26T17:14:22.600705
2021-10-11T14:37:13
2021-10-11T14:37:13
327,317,364
1
1
null
null
null
null
UTF-8
Python
false
false
744
py
import sys import heapq input = sys.stdin.readline n, m = map(int, input().split()) graph = [[] for _ in range(n+1)] check = [0 for _ in range(n+1)] for i in range(m): a, b = map(int, input().split()) graph[a].append(b) check[b] += 1 q = [] result = [] for i in range(1, n+1): if check[i] == 0: ...
[ "lkitty0302@gmail.com" ]
lkitty0302@gmail.com
e62825114be3d783c5624ea54a92c2d3c05b6bf4
0e39a9534a8725c02827f5b4ed8184892e07d1b3
/Side Scroller/main.py
33ddece0e6d87bacf747390038b1e220d3ec2dff
[]
no_license
AnantGup/Python-Project
9dd2d4009476e98a1ada9ced3d911160e200b0ca
fc492d822b2930eb9639632ca4e42e70e634d793
refs/heads/master
2023-01-14T04:46:12.363646
2020-11-23T13:51:57
2020-11-23T13:51:57
315,328,108
0
0
null
null
null
null
UTF-8
Python
false
false
8,446
py
import pygame from pygame.locals import * import os import sys import math import random pygame.init() W, H = 800, 437 win = pygame.display.set_mode((W, H)) pygame.display.set_caption('Side Scroller') bg = pygame.image.load(os.path.join('images', 'bg.png')).convert() bgX = 0 bgX2 = bg.get_width() clock = pygame.tim...
[ "allrounderanant1303@gmail.com" ]
allrounderanant1303@gmail.com
fd3ce77eb4f4d55e30537c8e0e83deb8f740ac5b
75a70ec34d524fa7ce23d73d76b31c8728160d7f
/modules/mmi.py
bd5b2dbf9e628b969dc46175ee26fdf8b7ef72fa
[ "Apache-2.0" ]
permissive
cxz/sova-tts-engine
9cb0feb496f5faa60e97ce25a26797a444e5ab84
6396733de4ac4a18cdfefbe11ed9eadd6e8d342c
refs/heads/master
2023-05-06T05:31:56.502596
2021-05-27T21:48:23
2021-05-27T21:48:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
""" Based on https://github.com/bfs18/tacotron2 """ import torch from modules.layers import LinearNorm from utils.data_utils import get_ctc_symbols_length class MIEsitmator(torch.nn.Module): def __init__(self, hparams, dropout=0.5): super().__init__() self.device = torch.device("cpu" if not torc...
[ "drobyshev.anton@ashmanov.net" ]
drobyshev.anton@ashmanov.net
bd6301e51bcc84d80811b5a9c3c8e646f908bc2a
dfdb41fdf315819008845949a25800a2a2bd7493
/jacobi_gs_pixelcnn/jacobi_gs_layers.py
54bf547f9e1ec2269564e8e8267c4f9e59465749
[]
no_license
ermongroup/fast_feedforward_computation
1c0507aebd0b10be86970aef2ab5c1a297f3d2a2
6d14294647cfd880f991eacd59c9323643e45ea0
refs/heads/main
2023-08-04T23:05:35.960466
2021-09-25T18:25:36
2021-09-25T18:25:36
376,141,511
17
0
null
null
null
null
UTF-8
Python
false
false
16,133
py
from pixelcnnpp.cached_layers import * import math def sum_rightshift_downshift(rightshifted_pixel, downshifted_row, cols, num_blocks, first_index=True): '''Sums the vertical and horizontal stack.''' if first_index: return rightshifted_pixel + downshifted_row else: # num_block x B x H x W x C downsh...
[ "yang-song@live.cn" ]
yang-song@live.cn
b8cc14aa39385115e2e90e0187e1e903cd58e1d6
9f5537d1d0d3d6a50e8cce6022ab9761f79deb78
/venv/Lib/site-packages/xlwings/utils.py
9ae86003df498aec5e4d5c70305f6767ba5de9dd
[]
no_license
huangqinpeng/pythonproject
b8d12ceddca2847f09fef2bab49be6f7830493a1
d87b98769460af69e2ca177077bafc839ca8ad4a
refs/heads/master
2022-12-20T13:26:55.734208
2020-09-24T02:19:01
2020-09-24T02:19:01
298,141,710
0
0
null
null
null
null
UTF-8
Python
false
false
6,715
py
import os import tempfile import datetime as dt from functools import total_ordering import xlwings try: import numpy as np except ImportError: np = None try: import matplotlib as mpl import matplotlib.figure except ImportError: mpl = None try: import plotly.graph_objects as plotly_go except...
[ "705791753@qq.com" ]
705791753@qq.com
098338c47d05670a63e392a6cdde1e4aeb38f9a3
dd4845230027b6e325ec938e7d8962fad5f1e03a
/HW2.py
68b18ea865ce615307353d0aaff260d2436883dd
[]
no_license
justjess19/HW2
b48a76bec35a5dba01a7dddf21c36c37f589d1e8
5bcfe085a9aafe3f5fc94c47789cd3d5a7438043
refs/heads/master
2021-07-03T20:59:13.002305
2017-09-26T02:54:11
2017-09-26T02:54:11
104,266,002
0
0
null
2017-09-20T20:46:08
2017-09-20T20:46:08
null
UTF-8
Python
false
false
4,133
py
## HW 2 ## SI 364 F17 ## Due: September 24, 2017 ## 500 points ##### ## [PROBLEM 1] ## Edit the following Flask application code so that if you run the application locally and got to the #URL http://localhost:5000/question, #you see a form that asks you to enter your favorite number. Once you enter a number and s...
[ "jmstuart@umich.edu" ]
jmstuart@umich.edu
1bd823556c81b428f5183594c1455ed92d2f00bf
a30dc44f5dac99a3dd9ac45440388e245277a52c
/cs188/project/reinforcement/qlearningAgents.py
ae0010bcfee51f36935b389a0048793197832875
[]
no_license
cjzcpsyx/UCBerkeley
286284da2fc0aedf85c27a219c8aff059131263e
06d835385ef83fbf9b471084225486512bd58e86
refs/heads/master
2021-01-24T20:26:56.168831
2014-10-25T04:56:56
2014-10-25T04:56:56
23,680,904
0
0
null
null
null
null
UTF-8
Python
false
false
7,556
py
# qlearningAgents.py # ------------------ # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to # http:/...
[ "harrychen-cjz@hotmail.com" ]
harrychen-cjz@hotmail.com
4aafcedd5f6cb60ece8156eb9bb58af8a89c9c21
59743456c879efd1e64bac9974c5ad9263fb04ab
/backend/urls.py
a023a3f99be2fae2d9d82cb5c588455dfdb890e8
[]
no_license
kmu-crc/online-judge
4cb775b6c595f157a26b4945baba8c2777f5c8c9
25cd97085ddc1b8f65c49d1dc43a8d3cd405bdb4
refs/heads/main
2023-04-05T11:21:41.767161
2021-03-25T07:47:54
2021-03-25T07:47:54
333,304,869
0
0
null
2021-04-11T07:50:06
2021-01-27T04:39:52
Python
UTF-8
Python
false
false
966
py
"""backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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-based...
[ "opensrcdesign@gmail.com" ]
opensrcdesign@gmail.com
24940e00c644513f38be88fb79e726ba911f152c
3591ab22e1cc0fc1362f909017a8aa5c2b53bd92
/FundNavSpiders/Cookie/20180504_ygh_HaiHangDYQiHuo.py
f05a27560ebeffb699133df25782c69739a91286
[]
no_license
Wnltc/ggscrapy
ef7e9559ce6140e7147f539778e25fc7f6cbee4c
bf929112e14b875a583803fe92980fe67129bdac
refs/heads/master
2023-03-15T22:00:45.377540
2018-06-06T02:19:14
2018-06-06T02:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,358
py
# coding:utf-8 # Department : 保障部 # Author : 袁龚浩 # Create_date : 2018-05-02 from datetime import datetime from FundNavSpiders import GGFundNavSpider from FundNavSpiders import GGFundNavItem import json class HangHaiDYQiHuoSpider(GGFundNavSpider): name = 'FundNav_HaiHangDYQiHuo' sitename = '海航东银期货' chann...
[ "songxh@go-goal.com" ]
songxh@go-goal.com
10a0be8ff0647bb8a664bf5229355fe8e245c642
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03291/s377331832.py
862748becfb1ad9796cc654b44a9968803c6871f
[]
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
435
py
s = input() dp = [[0] * (len(s) + 1) for _ in range(4)] dp[0][0] = 1 for i, c in enumerate(s): # use c if c == "A" or c == "?": dp[1][i+1] = dp[0][i] if c == "B" or c == "?": dp[2][i+1] = dp[1][i] if c == "C" or c == "?": dp[3][i+1] = dp[2][i] # not use c for j in range(4): if c == "?": ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a44a724543665630f89750da7828359f28583b9f
4203c65bb6960228a101f432872e0c82c6c29a32
/inctf/singcharxor.py
36ad8d98c85097a936cfc138f72e87529fc62104
[]
no_license
sayoojsamuel/Crypto
8dd0308580aeb1ac9dc07a03c26bba5c1296031e
21c3f335f44671347bbd248970f02efb4bfbb41e
refs/heads/master
2022-12-18T10:54:14.237994
2020-10-02T17:22:13
2020-10-02T17:22:13
112,770,209
1
4
null
2020-10-02T17:22:14
2017-12-01T17:54:42
Python
UTF-8
Python
false
false
792
py
import string def byte_xor(a): crypt=[] for i in range(0,len(a)): crypt.append(a[i]) for i in range(255): plain = "" #key=hex(i)[2:].zfill(2) <-- this is very important, especially zfill() #xor crypt to get plain for j in range(len(crypt)): plain += hex(ord(crypt[j]) ^ i)[2:].zfill(2) text...
[ "noreply@github.com" ]
sayoojsamuel.noreply@github.com
f75d3a82086114dbbb96846ed9c929518ca4832f
420abdfea89bde8d4da834856652811e844741b2
/Algorithmic Thinking/Resilience_Fast_Attack/project.py
9f2394ced519da1358a4e563fb22f266bb868be8
[]
no_license
vacous/Coursera-Python-Specilization
8f19509193c0cc73609c3a6fb09e3eb079d9b275
9d3a0a027f86d7f11c5dc67188cb37ae24cedd4a
refs/heads/master
2021-06-19T00:25:10.443496
2017-06-08T12:22:35
2017-06-08T12:22:35
80,328,782
0
0
null
null
null
null
UTF-8
Python
false
false
13,178
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 27 23:22:07 2016 @author: Administrator """ """ Provided code for Application portion of Module 2 """ # general imports import urllib2 import random import time import math import matplotlib.pyplot as plt # CodeSkulptor import #import simpleplot #import codeskulptor #c...
[ "vaocus@gmail.com" ]
vaocus@gmail.com
7ab4e1d3b33dc49ca838810520f5996eae708cc3
87e2df22ec624bf7070a59fbc99d4768e4b15806
/src/routes.py
0adcbd844296d195f74fe8b291d708f04544f70c
[]
no_license
Jromero97/cs50w-project1
ec58d93cca94b10e58920c6213adae27691d20a6
bb7cf77eda2b612307ec696b496ced7f47bea1a0
refs/heads/master
2023-04-09T00:57:33.169690
2021-04-08T10:17:36
2021-04-08T10:17:36
355,857,248
0
0
null
null
null
null
UTF-8
Python
false
false
6,810
py
import requests from flask import render_template, redirect, flash, jsonify, session, request from werkzeug.security import check_password_hash, generate_password_hash from src import app, db from src.decorators import sign_in_required @app.route('/') @app.route('/index') @sign_in_required def index(): return ren...
[ "j.romeroc97@gmail.com" ]
j.romeroc97@gmail.com
742ddf517406915001d9938726f3ae1c5310fbdc
59ed0ee51548001c4bae48fbb7bf57901c3aa248
/bottle/bottleAnalytics/migrations/0003_usersettings.py
c2b4053cc427667f17ae747331de52122166919f
[ "MIT" ]
permissive
duartegalvao/Smart-Bottle
db9592974f9c113c83b6cc4a6709d1465d179b00
0ff2befc7d4fc66feb085f6ccb3421675830d530
refs/heads/master
2020-05-07T08:04:44.573960
2019-05-29T20:13:01
2019-05-29T20:13:01
180,307,412
1
0
null
null
null
null
UTF-8
Python
false
false
684
py
# Generated by Django 2.2 on 2019-04-30 12:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bottleAnalytics', '0002_bottlereading_time'), ] operations = [ migrations.CreateModel( name='UserSettings', fields=[ ...
[ "duarte.galvao@rnl.tecnico.ulisboa.pt" ]
duarte.galvao@rnl.tecnico.ulisboa.pt
ccb8db4efbe158440351413db2872cdd26ac004c
331a93a837b632e864757191bcf82d68b12b30d2
/ex05.py
45a621ea31f279357731b98c0a6b36c779092b70
[]
no_license
dhdhdhdn9/py3
eb0fe34814e9e6aaeda0e907b1cfeff702b122ab
a761ef73162241d7b4b14a95aa1857c56231c9a3
refs/heads/master
2023-06-17T19:47:16.502345
2021-07-13T01:52:31
2021-07-13T01:52:31
381,970,765
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# 자동차 주행 거리 계산기 spd = int(input('주행 속도: ')) hour = int(input('주행 시간: ')) kmh = spd * hour print(f'주행 이동 거리: {kmh}')
[ "dhdlatl2@gmail.com" ]
dhdlatl2@gmail.com
81776ee2ff0791004edd95deb5db1f1a515b8627
1ecd84abd69bf1f9a334164da5c1a32026b35199
/算法/multiprocess/formating_test.py
9c250b2a93fa26d1642ab1f211b4787778e95654
[ "MIT" ]
permissive
Line0o0/E-commerce-evaluation
fd5d1d72ac7379126c1a4d843222fc685ba2d6e9
0092477118cafd55e7b6e682787b19df66f66098
refs/heads/master
2021-06-25T00:09:19.124655
2019-08-20T07:33:00
2019-08-20T07:33:00
196,004,424
2
0
MIT
2021-01-05T13:17:06
2019-07-09T12:30:04
Python
UTF-8
Python
false
false
134
py
def formating(list_load,n1,n2): list_format = [] for i in range(n1,n2): list_format.append(list_load[n1]/2)
[ "noreply@github.com" ]
Line0o0.noreply@github.com
ff48f2dfc31fb7a122d5b047b8a9da85b1fa7bb4
c7863e61be46f9f84a73c93d214df66368ad8f6c
/statutchanger.py
9a089267f10b2dd76cfe8df437d03a5f2aa235ed
[]
no_license
Kazmi-0x539/discord-statut-changer
84255188a47c9840973336a90ffb93061232cb94
be85552747ced412a9dc7b5cf58d1e500578e648
refs/heads/main
2023-04-17T13:26:22.191270
2021-04-26T15:38:08
2021-04-26T15:38:08
361,577,882
2
0
null
null
null
null
UTF-8
Python
false
false
778
py
import discord from discord.ext import commands intents = discord.Intents.default() intents.members = True import random import asyncio bot = commands.Bot(command_prefix="!",help_command=None, intents=intents) memberss = [] ## CONFIG ## token = "" delay = 5 MessageBeforeTheNameOfMember = "Hey " ## CONFIG END ...
[ "noreply@github.com" ]
Kazmi-0x539.noreply@github.com
d80d9361b9b2a5f562f54b6c6ab7714bf12b879c
bb6ebff7a7f6140903d37905c350954ff6599091
/tools/grit/grit/format/policy_templates/writers/ios_plist_writer_unittest.py
14a0cab1edc0f641f2616e5c732fce413fab1ad4
[ "BSD-3-Clause", "BSD-2-Clause", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
Python
false
false
6,156
py
#!/usr/bin/env python # Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Unit tests for grit.format.policy_templates.writers.ios_plist_writer''' import base64 import functools import os import plistl...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
68006f7bba77da592219d675d092b54ee23183f8
c54896ba0703fc4de01d19ed9e7eecfdfc4aa810
/Python_Projects/Python_Web_Scraping/historical_committee_assignments/senate/scanning_over_multiple_congress/who_is_duplicated.py
9e86aa566426bb5b428b4eb64e2c88cf53516266
[ "MIT" ]
permissive
YangLiu928/NDP_Projects
f4d1c3d45161ff353f89dff2ebc36fabde28db62
d2ebfa7b95a0003481dde1361c6ab563ac94f2e6
refs/heads/master
2021-01-10T14:39:17.141520
2016-04-28T19:57:48
2016-04-28T19:57:48
45,988,930
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import json with open('scan_on_109_to_114_congress_new.JSON','r') as input: data = json.load(input) keys = data.keys() names = set() for key in keys: name = data[key]['display_name'] if name in names: print name else: names.add(name)
[ "yangliu1989@gwu.edu" ]
yangliu1989@gwu.edu
76a3400b38d03e0db11b69203a3290828801c1bd
c4a14cfc79ba9be5c1acb664dd37db6a35fc9a72
/Ahmedrajiv p1.py
a33d1baa36ccc88ecdb59aea8381d309fc40ab90
[]
no_license
Ahmedrajiv/hello-world
fc3a794a4ee1408aa1a1166be342136fcfbab12b
6ba61517d605507cc3ddfee81a26de88106759f3
refs/heads/master
2021-05-10T11:07:22.111988
2018-03-12T05:00:17
2018-03-12T05:00:17
118,403,450
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
a= input("enter the value") b= input("enter the value") c= (int)a+int
[ "noreply@github.com" ]
Ahmedrajiv.noreply@github.com
820b524f20aad17579e559f39949c101c026d364
eaf6fcab21572f2b271a8c93b0dc3cfb2026af8f
/04-homework/cart.py
4f51c013f9d3e558635b1a6c962fca1c51cc3694
[]
no_license
calebhubbs/OOP-shopping-cart
258f5a919966d93b88559c7300a904455a51c519
d0fd67e353c74bc3a848ec5e0b9b3aec4e95ae5f
refs/heads/main
2023-07-24T13:00:07.665509
2021-08-31T16:46:11
2021-08-31T16:46:11
401,776,177
0
0
null
null
null
null
UTF-8
Python
false
false
1,961
py
class Cart: def __init__(self, items=[], total=0): self.items = items self.total = total def additem(self, item): self.items.append(item) def removeitem(self, item, price, quantity): if quantity >= self.items[item]: self.total -= (self.items[item] * price) ...
[ "calebhubbs33@gmail.com" ]
calebhubbs33@gmail.com
7d76bf001033d051ea34ded6b3e5c8d0d9d5bc2b
aa071e5782c76d8552844329073214ae73f005f0
/Study_9/Study_9.py
cfe964bcbcd8e8a9713f89965fb88d27deb883cd
[ "MIT" ]
permissive
LeeDaeil/PyQt5_study
1feff7a934aa9b46c7e70c4de00e02c49f292db8
ecdd22ce2809ce6f01c8691a7ca75ef1771b7202
refs/heads/master
2021-06-24T09:14:32.358137
2020-12-06T13:35:30
2020-12-06T13:35:30
176,840,877
1
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
import sys from PyQt5.QtWidgets import QDialog, QApplication from ui_data.gui_study_9 import * import Study_9_re_rc # resource file class MyForm(QDialog): def __init__(self): super().__init__() self.ui = Ui_Dialog() self.ui.setupUi(self) self.background_setting() self.initia...
[ "dleodlf1004@naver.com" ]
dleodlf1004@naver.com
63e31f655651a6bc2a5e6f5cc2eecde58bf58ee8
17a8ed643eb39759409187a7e6b5483a616da212
/lib/outlier_detector/svm_detector.py
b63e4b44f555dad4d9e4b2c7e5e149a815b057f0
[ "MIT" ]
permissive
Lving/outlier_detection
a59086b8528b718f12838167ba722b7a80533891
13ffe460c35af7dcc49314b36791b2c4dabc7348
refs/heads/master
2021-05-08T06:33:26.182552
2016-09-19T09:18:22
2016-09-19T09:18:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
import numpy as np from sklearn.svm import OneClassSVM class SvmDetector(object): def __init__(self, param_dict={}): self.param_dict = param_dict print self.__class__.__name__, self.param_dict self.cls = OneClassSVM(**param_dict) def fit(self, x): self.cls.fit(x) def pred...
[ "wg@gizwits.com" ]
wg@gizwits.com
b1f1a19e813d37a4e2b195059fea202fb06c0e09
ae98e4ae5018f1dcb7bead395ac5631b01c305e6
/Python/NET_AND_THREAD/NET_AND THREAD_info.py
06b3368a673e96b900e56a1f8759124c92d24b20
[]
no_license
AlbertSadykovOfficial/Python
ac27e57fbef8d32f7d85e177bcee793feaedd36b
6a76b12a4c717ca2035fec967097947dc4b5ecfc
refs/heads/main
2023-02-14T01:51:26.833568
2021-01-11T20:21:30
2021-01-11T20:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
""" Конкуренция и сети Конкуренция - возможость делать больше одного дела одновременно Сети (распред системы) - Возможность делать больше 1 дела в нескольких местах сразу """
[ "noreply@github.com" ]
AlbertSadykovOfficial.noreply@github.com
0f3ceab2ded03ac9f8f286be4adafe0df10dfe98
62cdfa992639a860ab212630b423f86233925a02
/pralon_accounting_reports/wizard/sales_journal.py
aef033b68e97e07f0f1d4b85e9c44db0c3827501
[]
no_license
eksotama/prln-prln
dfd1a411a97dbf8c5f5a22b68c031e205b510a2b
9b3ecc3e1df1e7e795d19a68ab7d915edefc16e8
refs/heads/master
2020-03-25T19:49:08.076300
2015-12-01T07:38:29
2015-12-01T07:38:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,844
py
# -*- encoding: utf-8 -*- ############################################################################### # # Vikasa Infinity Anugrah, PT # Copyright (C) 2013 Vikasa Infinity Anugrah <http://www.infi-nity.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU A...
[ "aero@aero.(none)" ]
aero@aero.(none)
8d3c34f75939b240e3c0a193423132473c2802e6
70ce13b30490819acff575585eff14238045d4d2
/core/views.py
abcfcc394ac3fe4bd969da5db9203adf45647d80
[ "MIT" ]
permissive
snetdev1/snetDjango
584aaff3f6abb73e29f92b3fe2a48b8dc179c210
461ef4e58218acd36fdcb8adbf25358d788c2542
refs/heads/master
2020-12-25T16:56:01.649948
2016-07-31T23:11:53
2016-07-31T23:11:53
51,332,181
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
from django.shortcuts import render from rest_framework import viewsets from serializers import cmsSerializer from models import * from rest_framework.permissions import IsAuthenticatedOrReadOnly, IsAdminUser from rest_framework.response import Response from rest_framework.views import APIView # Create your views here...
[ "s.net.dev1@gmail.com" ]
s.net.dev1@gmail.com
cdb68b4d4aebaaa470d36b52ab6fc33f3a787867
86d716670529d426c3fbf06d03f5cfdb3ab0232c
/task2/student/migrations/0010_auto_20181009_1612.py
b3212639d7c3b6d9dcd8644c0e93b1e63ba222ad
[]
no_license
krutiLadani/django_work
ac0bce78f4d0b7986694f9141e7082bcb224c8fb
63b1d36141bf4534d7f69dfe3bc6e96b54bb4cf5
refs/heads/master
2020-04-07T12:32:17.565007
2018-11-20T10:59:57
2018-11-20T10:59:57
158,371,320
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
# Generated by Django 2.1.1 on 2018-10-09 10:42 from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('student', '0009_auto_20181009_1543'), ] operations = [ migrations.Create...
[ "kruti29.ladani@gmail.com" ]
kruti29.ladani@gmail.com
af08ed34611ccfc24943746c224b2ebc015ba3bb
021af6afa2795ab3eff5c7380bc81065e8f64827
/first_project/first_app/models.py
de0dec4bfd5f9ba30bc820fa5ca875a2663e6171
[]
no_license
mail2mhossain/my_django_example
084e48c4a4467032eaea66ab66362901e7bfd44e
3acb6c66e1b51ea0333f3d74a289f72f2657f7ac
refs/heads/master
2021-05-17T02:33:36.985218
2020-03-27T16:48:34
2020-03-27T16:48:34
250,571,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Topic(models.Model): top_name = models.CharField(max_length=264, unique=True) def __str__(self): return self.top_name class Webpage(models.Model): topic = models.ForeignKey(Topic, on_delete=...
[ "USER@MHOSSAIN_DELL" ]
USER@MHOSSAIN_DELL
fb8592e0e861914b0b99b4c905db34c43e5a08c8
e87d0cee1ce41124a808000850d4af5c7cd04f08
/mark/装饰器/sort改进.py
dea985ce7ebbc0745adb39f2a0de44548fd40082
[]
no_license
thinkingjxj/Python
0e8e5f60874c23a30aa8f54412fcf63c453f412a
9e92717b7871083c833612d220d1991d8d906275
refs/heads/master
2021-07-05T23:09:03.610678
2018-12-07T03:39:50
2018-12-07T03:39:50
148,290,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,176
py
lst = [4, 1, 6, 8, 3, 9, 5] def sort(iterable, reverse=False): new = [] for x in iterable: for i, y in enumerate(new): flag = x > y if reverse else x < y if flag: new.insert(i, x) break else: new.append(x) return new prin...
[ "thinkingjxj@users.noreply.github.com" ]
thinkingjxj@users.noreply.github.com
85bf9fc2b05e1145b3599b7cc3210005cf94c0a7
b8976668d6c6894e9b25693969925110f3da1495
/Sitio1/wsgi.py
4400753d419bea2dbd721eeac5ff58a15ee12bd7
[]
no_license
crispedrani/MiPrimerBlog
ab8f91c5d632c49ddb4f30272d4d6ae1ef356d50
11ad1c95f4716412c0851b8fbcf3e93e4acc3e94
refs/heads/master
2021-06-14T21:17:44.291373
2017-03-26T03:58:13
2017-03-26T03:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for Sitio1 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "crispedrani@gmail.com" ]
crispedrani@gmail.com
5fa263b0a027a2ac3b17e317e206d3ef0088708d
4eff9d232c5dcae30232de53e7de2d7a7902b9fd
/geekshop/urls.py
8d06a7e028950bd858162775bad5c66c41c0be8f
[]
no_license
Volhen/geekshop
56728b195797de18c25061f0a5bb4881eff15a08
c9226486fb9c9b13faea434e3fba2b7e6a0dd4f9
refs/heads/master
2020-05-23T08:31:32.562412
2019-05-20T10:41:22
2019-05-20T10:41:22
184,905,346
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
from django.contrib import admin from django.urls import path, re_path, include urlpatterns = [ re_path(r'^', include('mainapp.urls', namespace='main')), re_path(r'^auth/', include('authapp.urls', namespace='auth')), re_path(r'^basket/', include('basketapp.urls', namespace='basket')), re_path(r'^myadmi...
[ "zver2485@mail.ru" ]
zver2485@mail.ru
85579e44e53855587ff70cd7fdd2252ef18c1566
2ddd18f4ce0c29d47fbd3c3576eec4664f0541f1
/simpmeshfree_gui/tools.py
363187962f208515b054a3b80fd96468e664c841
[]
no_license
epsilony/simpmeshfree_gui
0f3bd7ac6f8fd3a94352bc57f38d3a3b8022bc2a
8aae7d9fcbac2fa7b499257f46d711e993b38b27
refs/heads/master
2020-04-06T06:50:51.999742
2012-12-11T14:31:22
2012-12-11T14:31:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,634
py
from matplotlib.path import Path import numpy as np from jpype import JClass, JDouble from collections import deque from simpmeshfree_gui.jvm_utils import iter_Iterable def path_ccw(pth, err=1e-6): path_iter = pth.iter_segments() pt_fst = path_iter.next()[0] pt1 = pt_fst[0] pt2 = path_iter.next()[0] ...
[ "epsilonyuan@gmail.com" ]
epsilonyuan@gmail.com
bcef7cc789f9e039d85b72c271f89f1b043dff82
d42e4e16612434587ab8e5889244124acf46d7ee
/mockServe/server.py
5c6ff9b267de5640e31d8c5e3055818dff4010e8
[]
no_license
kingfeng999/apiMock
56271ea5c56b93fa908974099c314539584e919b
3f80496f0c2bf2be61a12a8004f62b8165a94ccd
refs/heads/master
2022-12-27T07:38:24.719484
2020-09-17T21:33:32
2020-09-17T21:33:32
296,447,033
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
py
#!/usr/bin/evn python # -*- coding: utf-8 -*- # @Time    : 2020-09-12 19:17 # @Author  : qinzhifeng # @FileName: server.py # @Software: PyCharm from flask import Flask, jsonify from mockServe import tool from flask import request ''' 1.实现登录和注册 接口文档 接口名字 method url 参数 登录接口 post...
[ "80831093@qq.com" ]
80831093@qq.com
f545c6c1fc37083f614aac0ff87b6d2ee0a2cf97
6539dc91c8255450b2a89b83ce555d8c62f28820
/mysite/polls/admin.py
e0c4450d0ccadf8c080fe50393aac68acb5552c6
[]
no_license
rahul-satal/polls
18470ca6eecf6b67642bb3213faa53c91b16fcd5
eb9db6737fd5ecbe5441cb120391fc5b6222ba7a
refs/heads/master
2016-09-05T16:30:13.923353
2015-03-17T11:33:27
2015-03-17T11:33:27
32,263,371
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
from django.contrib import admin from polls.models import Choice, Question class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question_text']}), ('Date information', {'fields': ['pub_date'...
[ "rahulsatal92" ]
rahulsatal92
af5386d8b29e79b56dcf99e9be2b9c056aa19606
4b61ae276d8a198017a5986e72fb2c4d991286b3
/utils/test/visibility_tests/VisibilityDataPrepToolsTestSuite.py
1c8c2cdfd11164f5afad6e168c8b666a2129fd9c
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
NatalieCampos/solutions-geoprocessing-toolbox
b8e13de5b0686d3f0d521e4e4f99520afc965b14
de6b175cd97ad4030fb72b3e66995a018448ffbf
refs/heads/master
2018-01-16T20:20:04.729686
2017-07-20T16:33:41
2017-07-20T16:33:41
24,063,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
# coding: utf-8 ''' ----------------------------------------------------------------------------- Copyright 2015 Esri 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...
[ "mfunk@esri.com" ]
mfunk@esri.com
55e5374024d92bb3cb6c267875d8082378542be1
805c6b6dc615a71d8301695d6b74efd4789bab13
/cspp1-assignments/m20/CodeCampMatrixOperations (1)/CodeCampMatrixOperations/matrix_operations.py
3c2425b99da3d4d1470bbd65527b41f623dc7857
[]
no_license
BhavaniChoudary/CSPP1
a685596e6939723a6167496d42c15811e52f0066
64632cf1946c4a4b541ee96c76ae5b9e94c3f8a5
refs/heads/master
2020-03-24T17:50:46.604458
2018-08-25T12:37:18
2018-08-25T12:37:18
142,873,588
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
''' docstring ''' def mult_matrix(matrix_one, matrix_two): ''' check if the matrix1 columns = matrix2 rows mult the matrices and return the result matrix print an error message if the matrix shapes are not valid for mult and return None error message should be "Error: Matrix ...
[ "lakshmi.papasani96@msitprogram.net" ]
lakshmi.papasani96@msitprogram.net
ac324c8b508709044f42e356aaa2800fc2fdf278
a33b2fed51d9a10c316456cdf088df7a62fa4b14
/models/glow.py
a009ba0018f9df04f0b5d5c0b9f91432eb86b990
[ "MIT" ]
permissive
jxzhangjhu/gradient-boosted-normalizing-flows
b718bbe2d55b722e833606310fa7ff391df2e11c
eca3726774f4498f1583bb79d4a9b955b4f51412
refs/heads/master
2023-03-21T00:47:58.179954
2020-10-16T23:56:04
2020-10-16T23:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,688
py
import torch import torch.nn as nn import torch.nn.functional as F import math import numpy as np from utils.utilities import safe_log, split_feature from models.layers import Conv2d, Conv2dZeros, ActNorm1d, ActNorm2d, InvertibleConv1x1, Permute1d, Permute2d, LinearZeros, SqueezeLayer, Split2d from models.layers impor...
[ "giaquinto.ra@gmail.com" ]
giaquinto.ra@gmail.com
6e88b985684f882129ced8b4a3f4b089b162634b
ca0ab60e97f946225844c6d216da43f40d93e70d
/python_usful_modules/trade_day.py
203a96880c0ff87909556b776d2bbb9f1d90fa7a
[ "Apache-2.0" ]
permissive
jiper/MyToolBox
47788217340e9c1b34bc30ae48532c82d48d1683
18a311285838a1ec6170bceec92cd0a59c067ee5
refs/heads/master
2020-03-18T11:24:42.424255
2018-06-26T07:39:38
2018-06-26T07:39:38
134,669,548
0
0
Apache-2.0
2018-06-26T07:39:39
2018-05-24T06:13:53
Python
UTF-8
Python
false
false
2,578
py
# -*- coding: utf-8 -*- """ Created on Sun May 20 16:23:28 2018 @author: YinChao @date: 20180520 """ import urllib.request as request import datetime import time ''' @query a single date: string '20170401'; @api return day_type: 0 workday 1 weekend 2 holiday -1 err @function return day_type: 1 workday 0 wee...
[ "yc86247931@126.com" ]
yc86247931@126.com
165419196495735d51fb2e3270b93287e7c575b2
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/eyach.py
075cca99426edd9c899b9e90af8fc1b82212d3fa
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
"""Dataset with 'Eyach virus' sequences. A dataset with 24 'Eyach virus' sequences. The virus is segmented and has 12 segments. Based on their strain and/or isolate, these sequences were able to be grouped into 2 genomes. Many genomes may have fewer than 12 segments. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGR...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
e1cd2aa927651c3d24dbe4a34d4052202dc323d9
fd799fc1351d040ad7d31feec99656424f1b50b7
/virtual/bin/gunicorn_paster
0e267e1a3c2a519c010a10918e31a93960e1fb78
[]
no_license
naimahassan/capstone
a0749ad34de619d3228cd02d8b576f9c6dcb699e
7b9ff77e39ac056052dd59f3dd59f050a2ebe0ee
refs/heads/master
2021-04-15T18:57:46.869238
2018-03-22T11:55:29
2018-03-22T11:55:29
126,139,526
0
0
null
null
null
null
UTF-8
Python
false
false
298
#!/home/naima/Desktop/moringa/programming/core/python/Django/IP's/capstone/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.pasterapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "hassannaima77@gmail.com" ]
hassannaima77@gmail.com
e30638730718ba9ba38caa469741158a0b49805e
57e79e7ffdb83d1b841ff253943dbe3752dc5b55
/LSTM_CNN/run_train_save_model.py
419ace1a72ce1a515ff6bb3cf7a555d063d90cb3
[]
no_license
aggression-detect/aggression_detect
ee5be9363dc3e4bb299c01cfecfe0baa550cc58b
26e40aed7085f86263816f48442e55450e792c17
refs/heads/master
2023-04-27T22:08:45.742008
2021-05-13T12:40:51
2021-05-13T12:40:51
272,133,330
0
0
null
null
null
null
UTF-8
Python
false
false
14,298
py
import os from itertools import chain from tensorflow.keras.callbacks import EarlyStopping, ReduceLROnPlateau, Callback from tensorflow.keras.optimizers import RMSprop, Adam import pandas as pd from tensorflow.keras.applications import Xception, ResNet50, InceptionV3, MobileNet, VGG19, DenseNet121, InceptionResNetV2,...
[ "noreply@github.com" ]
aggression-detect.noreply@github.com
cd3f496c90a66b66218d79e1422aaae354538abc
52e53ee23573b1a50f892089d7418a16bf496422
/ARCADE/airborne/components/interfaces/gps_monitor/gps_monitor
1d899d880a1f89d5d0309d809130b1b1c0cad8e9
[]
no_license
jalishah/airborne
584bbf4a51f6a087a4295991c79702343f364af7
c374b775c608de9bf8f7152aa2c79bc9e1ecec6e
refs/heads/master
2020-04-11T08:03:16.624788
2013-09-17T12:04:47
2013-09-17T12:04:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
#!/usr/bin/env python import sys from gps_data_pb2 import GpsData from scl import generate_map socket = generate_map('gps_test')['gps'] gps_data = GpsData() print 'waiting for gps data' try: while True: str = socket.recv() gps_data.ParseFromString(str) print gps_data except: print 'terminated...
[ "tobias.simon@tu-ilmenau.de" ]
tobias.simon@tu-ilmenau.de
e5597116e15c2e4e8477a5667a9ba83e1f3613e4
2142b927cfbab79ed0b7e86154cca9baf8c2f519
/qrcodes/settings.py
7ed6ee834f2ccdb2fed0e35907b00a94bb493c37
[]
no_license
albertturcu/QRCodes
f9896071b9441532d86424b7c0cca4bc876ae386
6d5becab7cbc9685e090ca513e65832d9fcf2f28
refs/heads/master
2023-05-28T13:56:52.100169
2019-06-15T14:47:32
2019-06-15T14:47:32
182,755,826
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
""" Django settings for qrcodes project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os #...
[ "turcu.albert98@gmail.com" ]
turcu.albert98@gmail.com
b84ffa156de99b45afc7a72fd35c7d6dfef7bc2e
dbd0bad22813f607d6bb9037da3ba5b4d6c37807
/polynomial_regression.py
7575767f4d29cdd2c7be15da1f9b4eef0fc4d352
[]
no_license
hichem/python-ml-training
f51d2b601afd5a6fe228f0ae1934b38dc5be7406
42834ddc3e3ceae97383f6c4314f4099d9ed8d20
refs/heads/master
2020-04-22T01:15:03.576159
2019-02-14T20:20:01
2019-02-14T20:20:01
170,008,536
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
# Polynomial Regression # Importing the libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt # Importing the dataset dataset = pd.read_csv('data/Position_Salaries.csv') print("Dataset: ", dataset) # Get X and y X=dataset.iloc[:,1:2].values y=dataset.iloc[:,2].values print("X=", X) print...
[ "Hichem.BOUSSETTA@ingenico.com" ]
Hichem.BOUSSETTA@ingenico.com
6012af9ce261c729bec90641081d4f6db366e8bf
c6045e213d0e8365013ffc61c5d62b27e264382c
/py_in/chapter1/abstract_factory.py
3b7e2d277fb1e817d0f9474cea671360a71c6a5d
[]
no_license
tengrommel/py_in
393646d52be19770a553c914f63901a7c50b7180
e826333cbe97d74b39bae61ca028ffb215aef809
refs/heads/master
2021-08-12T06:46:39.404561
2017-11-14T14:39:20
2017-11-14T14:39:20
110,555,962
0
0
null
null
null
null
UTF-8
Python
false
false
2,137
py
class Frog: def __init__(self, name): self.name = name def __str__(self): return self.name def interact_with(self, obstacle): print('{} the Frog encounters {} and {}!'.format(self, obstacle, obstacle.action())) class Bug: def __str__(self): return "a bug" def acti...
[ "wwwsousoucom@126.com" ]
wwwsousoucom@126.com
94e8e83adf3cdfea29d8b27017b01c46b911854f
481e4bd5a69d860e52dfe12dc1693e495b2b65bc
/python/cuml/_thirdparty/sklearn/preprocessing/__init__.py
ea17a3f197617af0244117e7b76156cdf1e7c9ef
[ "Apache-2.0" ]
permissive
mike-wendt/cuml
f3633ed1aef93250f077cec2bc85e2ac22560074
62e2152576cf088a9ed782a3f2d5f32f46459aa6
refs/heads/branch-0.18
2021-06-12T00:21:41.009357
2020-12-14T16:50:42
2020-12-14T16:50:42
321,446,920
0
0
Apache-2.0
2021-03-20T00:39:58
2020-12-14T19:08:38
null
UTF-8
Python
false
false
1,648
py
# This code originates from the Scikit-Learn library, # it was since modified to allow GPU acceleration. # This code is under BSD 3 clause license. """ The :mod:`sklearn.preprocessing` module includes scaling, centering, normalization, binarization methods. """ from ._function_transformer import FunctionTransformer ...
[ "noreply@github.com" ]
mike-wendt.noreply@github.com
5d6d354b1359f8d7e8a575a73c06cc26fcfff920
72316a1d1a2e0358486d50aeecbac8219ccdf092
/ietf/utils/aliases.py
edfce0b067795e18127bc2f6ebe1df4accdbbe5b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
algby/ietfdb
363541941bd6e806bed70891bed4c7f47c9f0539
9ff37e43abbecac873c0362b088a6d9c16f6eed2
refs/heads/master
2021-01-16T18:57:50.100055
2014-09-29T21:16:55
2014-09-29T21:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,162
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- Python -*- # # $Id: aliasutil.py $ # # Author: Markus Stenberg <mstenber@cisco.com> # """ Mailing list alias dumping utilities """ from django.conf import settings def rewrite_email_address(email): """ Prettify the email address (and if it's empty, skip it by ...
[ "henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0" ]
henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0
2a34057d92d8aac890e3de69c82e57fdc9aa7ca2
7a1b77bc408c1065bf625f23bc730a28c4e8bef2
/Programmers/Sorting/K번째 수.py
422f1ff7d82b8cc76aa6efae3b808ff1c52f6a30
[]
no_license
senipior/Algorithm_python
65f1487d54fbd0996fa2f6b31e7e63f437af2397
23e7bbd5ca9a3a0729003979e98e5e402c6631db
refs/heads/main
2023-07-10T04:48:11.387352
2021-07-12T08:50:10
2021-07-12T08:50:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
# 7월 10일 # 프로그래머스 정렬(Sorting) # A.sort()는 리스트를 그 자리에서 정렬하고 None을 반환 # 1 def solution(array, commands): answer = [] for i in range(len(commands)): start = commands[i][0] - 1 end = commands[i][1] sel = commands[i][2] - 1 lst = array[start:end] lst.sort() num = lst[...
[ "pjk146195@gmail.com" ]
pjk146195@gmail.com
f92a78a4673598ed8bc786dc6baefb80168a4b07
8e00950a7f3f90d0dbb96699cc50920219f125a3
/11_compiler_part2_code_generation/JackCompiler.py
8cb77861ad54d4f16534ea4084d2375a44331658
[]
no_license
xwzliang/nand2tetris
91db8a4e0d1b2ec5243f8948b08352655e8ee3f7
23f99fde076c849aec5c44130dc5f0873dfd431b
refs/heads/master
2020-05-01T09:50:43.941026
2019-08-24T03:24:57
2019-08-24T03:24:57
177,409,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/usr/bin/python3 import argparse from pathlib import Path from JackTokenizer import JackTokenizer from CompilationEngine import CompilationEngine def compile_jack(jackfile): out_vm_file = jackfile.with_suffix('.vm') # Tokenize jack_tokenizer = JackTokenizer(jackfile) tokens_with_tokenType = jack_t...
[ "18706703437@163.com" ]
18706703437@163.com
93721cd2e823ee88f70a194edd43ef814f82160b
ee0c8cc7b86d4dc41469aae59e3632102fedfdb1
/mysite/blog/forms.py
a59512aba992f8bfe4189065a04edc6bc5ede81e
[]
no_license
Hamza-abughazaleh/blog-django
1a177aa00d86a34cc49c6ee39f2b068d291a4f12
3a4b43b58beb25054e5798f219d7175629009138
refs/heads/master
2021-07-20T07:00:37.651344
2017-10-25T12:15:58
2017-10-25T12:15:58
108,093,782
0
0
null
2017-10-25T12:19:14
2017-10-24T07:44:17
Python
UTF-8
Python
false
false
690
py
from django import forms from blog.models import Post,Comment class PostForm(forms.ModelForm): class Meta(): model = Post fields = ('author','title','text') widgets = { 'title' : forms.TextInput(attrs={'class':'textinputclass'}), 'text' : forms.Textarea(attrs={'cla...
[ "hamzaabughazaleh23@gmail.com" ]
hamzaabughazaleh23@gmail.com
c6590e663853ff3d901ae22ac5c0c15f6f74d581
9fe9ce3f2813013063d15ed7e54ddc288165e569
/testLTI/settings.py
ca515c96b93c03f477f1ab8397da782cbd415290
[]
no_license
salenkoanton/testLTI
f787e70a972bf29915a7c9006cc03595a7801a86
bc216603071a4dabe1b0f0caa8375a4bf28c8409
refs/heads/master
2021-01-15T18:00:37.085792
2017-08-09T07:05:55
2017-08-09T07:05:55
99,776,303
0
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
""" Django settings for testLTI project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths ...
[ "salenko3110@gmail.com" ]
salenko3110@gmail.com
bde205bb2d2576a7d527aa1349151c9b1ff70e79
7d92deeec2df2092b37f30e2e5020aa61960c6c3
/superset/tests/sqllab_tests.py
5fe9ef18621891b9a4dab96eb6036a430dabfe54
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
warenlg/sourced-ui
da4b02fead69ca80ef266ebcacdcbae8fb6657dd
c8ff53b369e182ee2b9715a67b00ac1688995732
refs/heads/master
2020-07-03T12:29:41.290656
2019-08-09T14:48:17
2019-08-09T14:48:17
201,904,423
0
0
Apache-2.0
2019-08-12T10:00:08
2019-08-12T10:00:07
null
UTF-8
Python
false
false
15,074
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "max@smacker.ru" ]
max@smacker.ru
aa09283c0bde6ffe10b8692be56040e4a18d3054
a61d345d304eabfa7e9da582b36bb1993d6ea533
/CKEditor/urls.py
d95d9f87a6601dec817d95e166d2b4018e30f42b
[]
no_license
ahriroot/django-editor
60cec60c467748334c7c6b0994be2ee1c80af51a
8317cdd566c8ad757b95bac18f42329b2d12f9a2
refs/heads/master
2022-06-11T23:16:18.178465
2019-06-09T12:46:33
2019-06-09T12:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from django.urls import path from . import views app_name = 'ckeditor' urlpatterns = [ path('upload', views.upload, name='upload'), ]
[ "myfsnow@163.com" ]
myfsnow@163.com
a3d74d7ea21054ba2ba9f278db3d109b55639054
38e2f8b0fd955a21b77047147a2f649889f638c2
/tests/test_c1_DailyCheckReport.py
543b899eeaba32ac9091e9fca6f0a8b69a904974
[]
no_license
liqiuwei/Rohon_managementplatform_web
f7707cc45c0f41151fcfe0d32b98fce428f9945a
b73f33b9e654f62c0971425db18fd266938c8184
refs/heads/master
2023-04-20T03:02:38.545072
2021-05-14T15:07:14
2021-05-14T15:07:14
355,116,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
import unittest import ddt as ddt from middleware.heandler import Hadnler, OracleHandlerMid from middleware.pages.homepage import IndexPage logging = Hadnler.logger @ddt.ddt class TestAccountingStatements(unittest.TestCase): """核算报表查询""" @classmethod def setUpClass(cls) -> None: cls.db = OracleH...
[ "71200488+liqiuwei@users.noreply.github.com" ]
71200488+liqiuwei@users.noreply.github.com
c282668f7035a2d887e38f1918af291fdbb5276e
1c446064f4973832c266970aaa8acb986d3ffddd
/dataset.py
7d2ee9d693ed9f936ce8e5a1e915ccab13887eef
[ "MIT" ]
permissive
arsenyinfo/tiger_keypoint_detection
db6d2eeb6cf460cb2b26a8bb7554867580cddffd
5590ae9e68ea336b5eeb74777d6580d0b1e95af7
refs/heads/master
2020-06-26T20:07:49.116265
2020-05-08T07:53:38
2020-05-08T07:53:38
199,743,399
4
1
null
null
null
null
UTF-8
Python
false
false
5,294
py
import os from copy import deepcopy from functools import lru_cache from typing import Callable, Collection, Optional import cv2 import numpy as np import ujson as json from glog import logger from torch.utils.data import Dataset from tqdm import tqdm import aug def _read_img(x: str): img = cv2.imread(x) if...
[ "me@arseny.info" ]
me@arseny.info
effb18385de7cb5028c07a7bc626515f7186276c
1bf9f6b0ef85b6ccad8cb029703f89039f74cedc
/src/dnc/azext_dnc/manual/tests/latest/preparers.py
53aa6614e7eb6af55ac6829dfef768e3bd1fbe08
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
VSChina/azure-cli-extensions
a1f4bf2ea4dc1b507618617e299263ad45213add
10b7bfef62cb080c74b1d59aadc4286bd9406841
refs/heads/master
2022-11-14T03:40:26.009692
2022-11-09T01:09:53
2022-11-09T01:09:53
199,810,654
4
2
MIT
2020-07-13T05:51:27
2019-07-31T08:10:50
Python
UTF-8
Python
false
false
4,962
py
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
[ "noreply@github.com" ]
VSChina.noreply@github.com
7d39cbc376f1b9b047c3e4363d0abfdb42015848
34f53b792d7cad4a6120c665b6896a4aa089c088
/Template/ma20/strategy/ma20_120.py
7e2db4b24fdfb4721b1d26f60e66afc66b193cbc
[ "Apache-2.0" ]
permissive
shinezai/Rqalpha-myquant-learning
79bf47067ee58cf762a31c72a31d533596219338
5dc39c6d8f6d89bb89350ef64c860cb53c369c9f
refs/heads/master
2020-04-22T14:53:11.649618
2018-05-25T02:38:19
2018-05-25T02:38:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
from rqalpha.api import * import talib def init(context): context.szzs = "000001.XSHG" context.hs300 = "000300.XSHG" context.cybz = "399006.XSHE" context.algoInfo = context.hs300 context.SHORTPERIOD = 120 def handle_bar(context, bar_dict): prices = history_bars(context.algoInfo, context.SHO...
[ "dingz_000@Dingzh.(none)" ]
dingz_000@Dingzh.(none)
b5a631a0b71ecd8ef0847caaf8c39ca9edabea42
4b4b885bf52fdcd4b60fa049b8ab4b56942b98b9
/tutorial/tutorial/spiders/quotes3_spider.py
273f48c84733f585d5ed88a70d485903ef56f151
[]
no_license
PhyzXeno/ScrapyPlay
bdf3150b2ac394c2e200a6bd28464715a0c19aff
cd67494303839e29bdd0b61810d1e388af37bc2a
refs/heads/master
2021-01-20T07:19:01.706361
2017-08-27T05:39:49
2017-08-27T05:39:49
101,532,211
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
import scrapy class Quotes3Spider(scrapy.Spider): name = "quotes3" start_urls = [ 'http://quotes.toscrape.com/page/1/', ] def parse(self, response): for quote in response.css("div.quote"): yield { 'text' : quote.css("span.text::text").extract_first(), ...
[ "630172407@qq.com" ]
630172407@qq.com
3a1c805b74ef59dad195ac676140e0affb221e7e
a59244c0ae05ac6a1292fa69641219cd58792e0d
/app/reviewParser.py
26af10ec09a3f4e8bf6c19769d751842af4e762c
[]
no_license
gnedivad/yelp
d53b6c8d465374c3d2a2877ff00eabdd98ed7038
a4f953d0b32c5c7dc1025a06984a2ffda482ccd2
refs/heads/master
2021-01-21T11:23:16.649200
2017-03-18T05:09:10
2017-03-18T05:09:10
83,562,406
1
1
null
null
null
null
UTF-8
Python
false
false
1,388
py
#import pandas as pd #import gzip import json #review = pd.read_csv('review.tsv.gz',sep='\t') #print review[0] #for data in review[0]: # print data #subset = review.loc([1]) #print subset columnSeparator = "|" quote = "\"" def get(filename): data = {} fd = open(filename, 'r') data = json.load(fd) ...
[ "svtang@stanford.edu" ]
svtang@stanford.edu
75ecc7d1b2fa59f883577bd379697ee9b13b6bd6
ce07ccf78739a768971f393222fdca4a56315241
/employee_management/employee_management/report/wallet_transaction_vivek_report/wallet_transaction_vivek_report.py
f1b2c22ab35a29b5703d75b0d2bdc844066d6ca5
[ "MIT" ]
permissive
Gdinesh03/Frappe
563e0ddbe925be536f65f925787ed321a6098c0d
efd2d1568b6f5b8a4e0ff31e06a415c717a3d32a
refs/heads/master
2023-08-27T19:24:12.024442
2021-09-14T07:04:27
2021-09-14T07:04:27
406,260,373
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# Copyright (c) 2013, Gopi and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(filters=None): columns, data = [], [] if not filters: filters={} columns=get_columns() data=customer_report(filters) return columns, data, None, def get...
[ "vivekananthan112599@gmail.com" ]
vivekananthan112599@gmail.com
1a0938d206faf11b1f4217e68e2e04ca14eee09a
8405af8564ceab95f0e0361cff3d8fb7bb8df3c7
/pyccel/ast/mathext.py
46dfe6df6d3a331c89e148b607b0a0c68207f828
[ "MIT" ]
permissive
MetaVai/pyccel
891b78228cd3c1c87995a7ba6222c57b5d582f55
2c77f98d91cfc6b00cee881b8718ccb9c06072e1
refs/heads/master
2023-08-26T15:06:22.810219
2021-09-23T06:00:34
2021-09-23T06:00:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,689
py
#------------------------------------------------------------------------------------------# # This file is part of Pyccel which is released under MIT License. See the LICENSE file or # # go to https://github.com/pyccel/pyccel/blob/master/LICENSE for full license details. # #----------------------------------------...
[ "noreply@github.com" ]
MetaVai.noreply@github.com
d21e8fa14b9a62887e0214c8d267414541c86784
cafa52c05f020af31985cfd1b8e2c676ea6e3baa
/lib/Chipseq/croo.py
8bd340dd55c88a7b03738de398e054961eebce23
[ "Apache-2.0" ]
permissive
shengqh/ngsperl
cd83cb158392bd809de5cbbeacbcfec2c6592cf6
9e418f5c4acff6de6f1f5e0f6eac7ead71661dc1
refs/heads/master
2023-07-10T22:51:46.530101
2023-06-30T14:53:50
2023-06-30T14:53:50
13,927,559
10
9
Apache-2.0
2018-09-07T15:52:27
2013-10-28T14:07:29
Perl
UTF-8
Python
false
false
2,231
py
import argparse import glob import logging import os DEBUG=False NotDEBUG=not DEBUG parser = argparse.ArgumentParser(description="Perform croo to retrive wdl result.", formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('-i', '--input', action='st...
[ "shengqh@gmail.com" ]
shengqh@gmail.com
33fdc1a60605a67f79190f363ea143e287eb099a
29a18e048de426ed5cbea063774958680a24d3c8
/acm.py
93aeed49bd2f6a215057bc22d42ab02f60a427ba
[]
no_license
liliahache/kattis
de5d8e3482f6f8691354aa3fa2dc7fb9366b5d54
cd4fb965cbad498ac85c07987aad0db3479e31c4
refs/heads/master
2022-02-01T01:44:52.596099
2018-12-17T23:27:22
2018-12-17T23:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import sys problems = dict() for line in map(str.strip, sys.stdin): if line != '-1': time, letter, result = line.split() if letter not in problems: problems[letter] = {'solved':False, 'time':0} if result == 'wrong' and not problems[letter]['solved']: problems[lett...
[ "pedrotari7@gmail.com" ]
pedrotari7@gmail.com
7b55ba72a7e44997d250b39a613597d3b9ed2694
895933d60a91640dd4b7187b3bb4c8cce45539b9
/bokk/migrations/0003_user_password.py
5b87dfdd70252f4dbf6709210d495fdcb37087e1
[]
no_license
dinagouda/bokk
d9ca95c43039e0bcaf4edeb8b34f1951caf4ae8d
77c26146e2cd5dc4f4ff0c9f74435a7557d36a68
refs/heads/master
2020-03-26T02:43:05.980881
2018-08-12T07:32:52
2018-08-12T07:32:52
144,421,151
1
0
null
null
null
null
UTF-8
Python
false
false
390
py
# Generated by Django 2.0.7 on 2018-08-03 23:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bokk', '0002_book'), ] operations = [ migrations.AddField( model_name='user', name='password', field=mod...
[ "dinagouda1@gmail.com" ]
dinagouda1@gmail.com
b805ffe03bd11e08ed1b0d50b24aeec9ca7382b2
0b5e10c34c1f69f1d06eca2d9aad7e8e2347e3af
/fundamental/calculator.py
f3b63b8c664f7f100f11e0c2f733e486f7c45068
[]
no_license
intzzzero/python-practice
5ec3eaa7db43f2c3c7629a6f920135b7d39c5cf2
5e53dfd056f74c6aebf0fef817cc76b462740149
refs/heads/master
2022-12-24T00:49:59.065397
2020-09-28T11:43:42
2020-09-28T11:43:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
def calculator(a, operator, b): if type(a) != int or type(b) != int: return "Please input only number." if operator == "plus": return a + b if operator == "minus": return a - b if operator == "multiply": return a * b if operator == "division": return a / b...
[ "code.ameba@gmail.com" ]
code.ameba@gmail.com
82ba3fd7d3c8dcd9a1e0351bd94c388c06d779c4
876b629258e3752c7986807c48e7cf82c93832f0
/python/mltraining/linear_regression/exponential_regression.py
88c36dd208b692e775136988164f26600818f2d3
[ "MIT" ]
permissive
imjoseangel/100-days-of-code
45f736b0e529f504926faded6b3a18bc05719698
bff90569033e2b02a56e893bd45727125962aeb3
refs/heads/devel
2022-05-02T16:10:59.273585
2022-03-20T12:19:05
2022-03-20T12:19:05
174,882,423
3
4
MIT
2022-03-20T12:19:06
2019-03-10T21:20:43
HTML
UTF-8
Python
false
false
623
py
import matplotlib.pyplot as plt import seaborn as sns import numpy as np from sklearn.datasets import make_regression from sklearn.model_selection import train_test_split # Create a data set for analysis x, y = make_regression(n_samples=500, n_features=1, noise=25, random_state=0) y = np.exp((y + abs(y.min())) / 75) ...
[ "noreply@github.com" ]
imjoseangel.noreply@github.com
2df691e03048b0c0af2533b7324898f4e1754d64
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03804/s751492495.py
cb9208249e76e540c4b8a33202d935417cb92369
[]
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
309
py
n, m = map(int,input().split()) a = [input() for _ in range(n)] b = [input() for _ in range(m)] for i in range(n - m + 1): for j in range(n - m + 1): for k in range(m): #print(a[i+k][j:j+m], b[k]) if a[i+k][j:j+m] != b[k]: break else: print('Yes') exit() print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
826de3289b9ff0521e9470a1e703521fc76b2cfc
3c735595776ba46fc00ffde7c17e0687ad3b85c3
/venv/Scripts/pip3.7-script.py
182189cffbe04c274695bedd586e2f944fe1b292
[]
no_license
caveman0612/WebDevelopment
6f233473bbaf9dda5fa943445107b6d61101e29e
0560d4a4f77e812c0eb937ed79291055109fc1de
refs/heads/master
2023-03-07T17:40:42.234260
2021-02-27T23:50:06
2021-02-27T23:50:06
342,983,067
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
#!C:\Users\cavem\PycharmProjects\WebDevelopment\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "75807458+caveman0612@users.noreply.github.com" ]
75807458+caveman0612@users.noreply.github.com
5786ff5db05e1a037adcdf5dbd0691f9aa780dc8
088c00d2b0fb60b00d8428c0a1a102b97aa960f1
/src/dataset-annotation/convert_annotation.py
e56e08764b2775cd3ddd22887cbb616feaf9621a
[]
no_license
PhySketch/PhySketch
3f59de8fe5a2c24b85e4c6667145d77f009ec42c
72c29dec73419ffc6f9f1f583a18e7f58b1cb975
refs/heads/master
2018-09-22T19:52:30.988246
2018-05-14T20:27:45
2018-05-14T20:27:45
114,950,349
1
0
null
null
null
null
UTF-8
Python
false
false
2,612
py
import os from lxml import etree import xml.etree.cElementTree as ET import os from croputils import * from interpreters import * from os.path import basename,dirname import cv2 as cv import numpy as np #def write_xml(folder, img, objects, tl, br, savedir): def write_xml(sample, savedir): if not os.path.isdir(s...
[ "rafael.zulli0@gmail.com" ]
rafael.zulli0@gmail.com
3a04d1e5959b648c3532b64363a191195898ead1
700da24fa0931064f17b281a558fea1f4ebf87b6
/python3/数据库/python-mongo/demo.py
55f08064f2a9f4b159ea252ebd102bfe9664dcd4
[]
no_license
Fudeveloper/cezone
2182ea6977cdc496c3e0fa778da84189f6b0b28b
9ec5d00f7eba63625030c7e24513b59227a7f3b3
refs/heads/master
2021-08-23T07:15:43.468046
2017-12-04T03:07:55
2017-12-04T03:07:55
107,343,775
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
import pymongo client = pymongo.MongoClient('123.207.68.28',27017) db = client.test stu = db.stu print( stu.find_one())
[ "wo951127" ]
wo951127
dff30fcd28076ed38a5900ae38a8f1fee17e81e7
351b605bfc927174a76183c0dd2af0a9e7e6ba92
/YZM_SX_5170/build/lib/YZM_SX_5170/spiders/spider_5170.py
f1595f76e0f2ed67516b3ba887f95f40a2989bbc
[]
no_license
jk123415/my_work_p2p
4bb3018ae503b64f975726c6fd635f06070c9284
49ad0146733b9ff04335676ef9d89dba8a4daac0
refs/heads/master
2020-04-23T13:02:42.756300
2019-02-27T07:44:16
2019-02-27T07:44:16
171,189,350
0
0
null
null
null
null
UTF-8
Python
false
false
5,663
py
# -*- coding: utf-8 -*- import scrapy import re from scrapy_splash import SplashRequest from scrapy.linkextractors import LinkExtractor from YZM_SX_5170.items import YzmSx5170Item from scrapy.loader import ItemLoader lua_splash = ''' function main(splash, args) assert(splash:go(args.url)) assert(splash:...
[ "289891598@qq.com" ]
289891598@qq.com
0f8fc3d98748afbbf05c894f9984c0b2e276ed05
adccb7277a379c0456857791bd86d1fae3d9b0b1
/THESIS/modules/old_modules/basic.py
0af33cd0627413279a2a66d7787e57ccf8fff6c9
[]
no_license
saratanov/git_honours
7caeec490189ca81d830397cf6d45848cd32deb2
f233469ab93ce5fdec1ac1121329031226c95464
refs/heads/master
2023-08-25T14:58:15.292910
2021-11-12T03:12:16
2021-11-12T03:12:16
388,665,015
0
0
null
2021-10-19T22:01:06
2021-07-23T03:24:57
Jupyter Notebook
UTF-8
Python
false
false
12,516
py
#basic functions for ML #IMPORTS from collections import defaultdict as ddict, OrderedDict as odict from typing import Any, Dict, List import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns from rdkit.Chem import PandasTools, AllChem as Chem, Descriptors from rdkit.ML.Descriptors...
[ "u6676643@anu.edu.au" ]
u6676643@anu.edu.au
12a1b931fe87388ed2b161d28078e635e2c8c56a
ef64680986e2edc49e838e06fa554dbeb4da8898
/encoder_unet.py
d768a5baddfecaf9c056435a4402026de97f5275
[]
no_license
VijayVignesh1/Image-Tampering-Localization
f9042319e7e916ce17d50690189c4bba320136c6
dcb0518140d744c008b33d18c7e84789c70f4801
refs/heads/master
2021-07-10T00:38:31.583380
2020-11-08T15:21:25
2020-11-08T15:21:25
210,810,769
7
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
import torch from torchvision.models import vgg16 from torch import nn import torch.nn.functional as F from unet_parts import * class AverageMeter(object): """ Keeps track of most recent, average, sum, and count of a metric. """ def __init__(self): self.reset() def reset(self): se...
[ "vijaydhonindia@gmail.com" ]
vijaydhonindia@gmail.com
2a595fcc697578e3dfb0103b741a162146cdf105
77a46ef073ac6bf6d9fb2f4bead3cdb70e8d5fa2
/exercise1.py
d9b744338cd02df3eb45b43f56ba082f8c02b347
[]
no_license
Larbohell/Sanntidsheis
dc034b2e9a4d9c502503765684d54cc386ad9398
1b80795ddbf4cc4ce02b5c29de8d86f027284e4a
refs/heads/master
2016-08-12T18:45:27.195628
2016-01-19T13:00:11
2016-01-19T13:00:11
49,948,670
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# Python 3.3.3 and 2.7.6 # python helloworld_python.py from threading import Thread i = 0 def thread_1_func(): global i for j in range(0,1000000): i+=1 def thread_2_func(): global i for j in range(0,1000000): i-=1 def main(): thread_1 = Thread(target = thread_1_func, args = ()) thread_2 = ...
[ "bendikiv@gmail.com" ]
bendikiv@gmail.com
f7bf941300150ec3c5222f1fe7f6f83ebb9d4017
fa0131d192965eb55cdbe81345cfeecb5c64a0a9
/views.py
62174ace9dae04d769906783f6017d2708073fae
[]
no_license
ef-end-y/pid-server
13a536f2de9f87f8150c14f48a1a005ed5a2cdad
48605b8d83d469a794e3352d47f51fd00aac8123
refs/heads/master
2020-03-24T20:37:00.047383
2018-08-21T14:50:14
2018-08-21T14:50:14
142,987,740
1
0
null
null
null
null
UTF-8
Python
false
false
4,774
py
#! -*- coding: utf-8 -*- import os import json import string import random import asyncio from subprocess import Popen from aiohttp import web from settings import PROJECT_PATH, NOISE_BOUNDS, PAGES def _make_html(body): return PAGES['html'].format(body=body, css=PAGES['css']) def _error(error): return PAG...
[ "max.begemot@gmail.com" ]
max.begemot@gmail.com