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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c900941111ee8983119ec1d8889a2c249f96f10e
012451630e60bf17f7e9f2dfe317d88678eb2f48
/simonsays.py
5926769a4f3a8bc4f7e1476dd6b4b3e4ebb02542
[]
no_license
arm15aig/Kattis_Python_Solutions
452ed66a2720c969038dc1a212157b545054ee22
12c3e849f113cf8b23bda63b47b3300f604dc243
refs/heads/master
2022-12-07T06:08:16.432878
2020-08-25T21:51:15
2020-08-25T21:51:15
290,331,156
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
x = input() for i in range(int(x)): myInput = input() command = myInput[11:] if "Simon says" in myInput: print(command)
[ "arm15aig@gmail.com" ]
arm15aig@gmail.com
8125f2b59f3c1c6cac4642a27e9d7f074dc09df9
0e31fd5b7fb3eb03bd8976f3f1741e0a8025c918
/company_index/middlewares.py
49ed499ae617bdb2a6770b41512c5a742f808d23
[]
no_license
shivvu/End-to-End-Deployment
9bfa107b2ac21dedc1fe73ba8af6e69cf89748fc
6f931a74ece8f3be5cf1229f1f7f4310653c6683
refs/heads/main
2023-02-07T08:03:14.313160
2020-12-19T16:57:55
2020-12-19T16:57:55
322,823,051
0
1
null
null
null
null
UTF-8
Python
false
false
3,658
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class IdxcrawlingSpiderMiddleware...
[ "noreply@github.com" ]
shivvu.noreply@github.com
4302c2a92d3fd0e16720b5d0bb2c81e469aa422d
71e8bdddd84338bbb2d77934351d76251c2fd77d
/unique-paths.py
39eeaaf353b483ccb782eeba05930f71fcbd9851
[]
no_license
onestarshang/leetcode
3da20fbec1b42d3565eb95a64ea3f30c29f1e1eb
0a7aa09a2b95e4caca5b5123fb735ceb5c01e992
refs/heads/master
2021-01-09T06:00:06.018037
2016-12-17T16:17:49
2016-12-17T16:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
#coding: utf-8 ''' http://oj.leetcode.com/problems/unique-paths/ A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the ...
[ "irachex@gmail.com" ]
irachex@gmail.com
1b5cfbe1f3042ab381911ffa943576eb5a6a5208
32904d4841d104143ba0f41cc3aeb749e470f546
/backend/django/apps/memos/migrations/0008_auto_20191025_2003.py
3fdde9fa6cac56f3d36a37dc33c06ac8382c74cb
[]
no_license
aurthurm/dispatrace-api-vuejs
20ec5deee015e69bce7a64dc2d89ccae8941b800
56d122318af27ff64755fc515345974631d3026f
refs/heads/master
2023-01-23T23:03:15.438339
2020-10-20T22:09:29
2020-10-20T22:09:29
219,028,985
0
1
null
2022-12-22T18:31:38
2019-11-01T17:08:35
Vue
UTF-8
Python
false
false
540
py
# Generated by Django 2.2.6 on 2019-10-25 18:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('memos', '0007_memoattachment_memocomment'), ] operations = [ migrations.AlterField( ...
[ "aurthurmusendame@gmail.com" ]
aurthurmusendame@gmail.com
1ea16f21550a63e6a23e2ef4a9f3e2cf5ea58db1
215dbe00272fbc53cc6239e972abce6f2b163003
/Day5_Exercises/exercise1-2.py
07a82c9a3d73661020c591f4f453df32fc92ff73
[]
no_license
kkt8282/IOT_Raspberry
29579f0793bbe56d9e85c9a6625e6caaba419d19
9a56a8974c0a6640d7616614e8a76417ced8931a
refs/heads/master
2022-12-14T01:41:40.677777
2020-08-31T01:44:53
2020-08-31T01:44:53
291,587,488
1
0
null
null
null
null
UTF-8
Python
false
false
679
py
import RPi.GPIO as GPIO from time import sleep LED_1 = 4 LED_2 = 5 LED_3 = 14 LED_4 = 15 LED = [LED_1, LED_2, LED_4, LED_3] def main(): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(LED, GPIO.OUT, initial=False) print("main() program running...") try: while True: ...
[ "63182249+kkt8282@users.noreply.github.com" ]
63182249+kkt8282@users.noreply.github.com
21384b6912ea4b4605f00abd84ad1759212b43ff
c8f6ddd6e4ced85db81d1f95a07c9057bd494eae
/ch04_thermalHydraulics/python/geom_build.py
f244841c53395bba5cb5005f621bd8bfe0489d96
[ "LPPL-1.3c" ]
permissive
wcdawn/WilliamDawn-thesis
21c63a16c677107699fd024aeb0022d2e930d6a8
2f002a5df1773ff477f0f7423a22f517957d9844
refs/heads/master
2022-05-02T20:14:20.080382
2022-04-13T00:07:42
2022-04-13T00:07:42
169,178,811
0
0
null
null
null
null
UTF-8
Python
false
false
6,216
py
import numpy as np import matplotlib.pyplot as plt import matplotlib LW = 2 FN = "Times New Roman" FS = 16 plt.rc("lines", lw=LW) plt.rc("mathtext", fontset="stix") plt.rc("font", family=FN, size=FS) # plot wedge --> chunk --> hex f2f = 1 width = 0.25 height = 1.0 nHex = 3 plt.figure() ax = plt.gca() for i in ran...
[ "wcdawn@ncsu.edu" ]
wcdawn@ncsu.edu
33e6fb56b398cd6635d41be61972d9290f4fa7f1
cdd79cef15bdf6a0b9098e27028bbe38607bc288
/数論/Combination/mcomb.py
0f7e575c0fe0a8647ae6beff5f8fa66747094a11
[]
no_license
nord2sudjp/atcoder
ee35a3eb35717485dc62627172de24c9dac102fb
6b1cc5102a615492cc7ff8a33813bbb954641782
refs/heads/master
2023-08-25T11:27:14.205593
2021-09-27T05:43:04
2021-09-27T05:43:04
302,855,505
0
0
null
null
null
null
SHIFT_JIS
Python
false
false
654
py
# https://atcoder.jp/contests/abc145/submissions/10775904 def comb(n,r,mod): # nからr通りを選択する # modは素数であること if n<r:return 0 k=min(r,n-r) C=1 for i in range(1,k+1): C=(C*(n+1-i)*pow(i,mod-2,mod))%mod return C print(com(n+m,n,mod)) # def comb_cal(n): s=1 m=0 for i in rang...
[ "nord2sudjp@gmail.com" ]
nord2sudjp@gmail.com
1f125389bc31c3efbfd5132b1e77e427614268ff
0b5b70b5353e887fb168350bb32ceb6cc23249fa
/homework/week04/sparta/__init__.py
e2dbdc125587bf3013e9e42fa83e6b40d59f28e3
[]
no_license
diligejy/sparta_d
2d8604a59899bb21cd97e44e13e3dd91bc9e5e77
55a01b61ad420302e53bab327daee2e919b02e73
refs/heads/main
2023-05-14T21:01:13.677335
2021-05-22T06:05:13
2021-05-22T06:05:13
358,761,190
0
0
null
2021-05-22T06:07:04
2021-04-17T01:49:23
HTML
UTF-8
Python
false
false
601
py
from flask import Flask from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy import config db = SQLAlchemy() migrate = Migrate() def create_app(): app = Flask(__name__) app.config.from_object(config) # ORM db.init_app(app) migrate.init_app(app, db) from . import models ...
[ "sjy049@gmail.com" ]
sjy049@gmail.com
f92210930c31e1edaf7d1513a0637aec82175039
4f3e02123d20044405638b1baa059c13fca9b1d7
/python iris.py
12410ba99fd00f3071596d49227b774c361835f0
[]
no_license
drb1001/data-fiddles
e5eea14149bf30dcdd8f4296fe0b08feb1c729bc
6d8b48e5b87bd5ff357bb555dd43c59fb3d4921f
refs/heads/master
2016-08-11T09:53:07.405255
2016-03-21T15:34:25
2016-03-21T15:34:25
54,401,207
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
import pandas as pd import numpy as np #import matplotlib.pyplot as plt #import pylab as pyl from sklearn import cross_validation, datasets from sklearn import linear_model, svm, neighbors iris_dataset = datasets.load_iris() # print iris_dataset.data.shape # print iris_dataset.keys() iris_data = iris_dataset.data i...
[ "dbrown@podio.com" ]
dbrown@podio.com
4625b7562e6935395144e1da64a15c0b078f999e
52b5773617a1b972a905de4d692540d26ff74926
/triangle.py
aabaa8b43b28d0f6063839f8844acbb0a8568919
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# this function is meant to print a triangle def triangle(): # outer loop is for the rows --> 4 for i in range(0,4): # inner loop is for colums --> 4 for j in range(0, i+1): print("*",end= " ") print("\r") triangle()
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
1e23cc6f5ebb7e8346c498f65e57c1cb9222b3d2
f7aa42f7f1677a5db519449c6ffc03f46398f485
/homepage/migrations/0006_faculty_user.py
0ac1c599acd7ccb77dbd7fd36a654a614cd5037b
[ "MIT" ]
permissive
abmishra1/IntelligentFacultyPortal
7ee0c7397221f49f6007998d8c2fd24347b83fe1
4aae3a3024c10233acfa19f024fd723fb6ef1336
refs/heads/master
2020-07-15T13:29:54.978990
2018-05-18T18:51:43
2018-05-18T18:51:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-15 17:02 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "nitinkedia7@gmail.com" ]
nitinkedia7@gmail.com
234fe0703bcd32e0a8e3cea1e43969c845b3ac6e
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/Toontown2016/toontown/toonbase/ToontownStartDist.py
6718c47b2d8ad07f5cb8e4b83442d6bf516c3334
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
6,538
py
# This is the "main" module that will start a distribution copy of # Toontown 2016 # Replace some modules that do exec: import collections collections.namedtuple = lambda *x: tuple # This is included in the package by the prepare_client script. It contains the # PRC file data, (stripped) DC file, and time zo...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
ece98bcf48efd5bae4412e46e743d79b5fdd7e83
33f56fd967f012edd86e5fed2d6992e2cc5c2a1f
/keras_97/keras-simple-model-0-97103-best-public-score.py
a5e71f2060cacfc2e34c67b15ae2263c6c05e228
[]
no_license
CornellDataScience/IntSys-Seedling
74571a69ef15dd79f0dd917161de027a11df14ef
b8296a8fca37167d333c263ea732ff9f850035bf
refs/heads/master
2022-01-10T15:39:58.253066
2019-05-15T02:14:11
2019-05-15T02:14:11
169,326,358
2
0
null
null
null
null
UTF-8
Python
false
false
7,756
py
import pandas as pd import numpy as np import os import imageio import csv from keras.utils import plot_model from keras.models import Model from keras.layers import Input from keras.layers import Dense from keras.layers import Flatten from keras.layers import Activation from keras.layers import Dropout from keras.lay...
[ "bjk224@cornell.edu" ]
bjk224@cornell.edu
a822fbeeb592b742c4ddbe11b82b3ead6703f4e6
26e2c68f929ecc8bb5c20c6b8cd200b66d99def5
/DjangoDopLEsson/products/migrations/0001_initial.py
0ce5c7a66193f21ead1baaf75f96d6d86c10e249
[]
no_license
kirigaikabuto/DjangoLessonsPart
ad19c1da0d1da27830c6fdf1b07353632bbc097d
4442518ae1f0a8641e066c9a63ff4e55e04d5fe5
refs/heads/master
2022-11-28T10:29:54.428001
2020-08-03T09:26:42
2020-08-03T09:26:42
273,497,052
0
0
null
2020-08-03T09:26:43
2020-06-19T13:11:15
Python
UTF-8
Python
false
false
590
py
# Generated by Django 3.0.7 on 2020-06-24 05:41 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(...
[ "ytleugazy@dar.kz" ]
ytleugazy@dar.kz
42c8a383b2d310a0e02a6e8acb97b3e392f78b79
2e72c5ab40eed0dd41ffb2c6cc902c019434cd55
/MainPage/findClosestBranch.py
8f31ae807402216c2ba1e687f7644f72902e2c54
[]
no_license
MateuszsuetaM/ussr
445c777df0656178d153ab0f5b43d4b052cb48ce
9e62714ef8f3d79f97bc07bc376d97cb6372de52
refs/heads/master
2021-09-03T11:27:23.959714
2018-01-08T18:11:22
2018-01-08T18:11:22
111,199,941
0
0
null
2017-11-25T13:22:07
2017-11-18T11:25:52
Python
UTF-8
Python
false
false
622
py
from math import cos, asin, sqrt from company import models def distance(lat1, lon1, lat2, lon2): p = 0.017453292519943295 a = 0.5 - cos((lat2-lat1)*p)/2 + cos(lat1*p)*cos(lat2*p) * (1-cos((lon2-lon1)*p)) / 2 return 12742 * asin(sqrt(a)) def getClosest(u_lat, u_lon): closestBranch = '' closestDist...
[ "ksazon@sigma.ug.edu.pl" ]
ksazon@sigma.ug.edu.pl
190ccccc1d21c2fef03056f73525f3e2d5d08a51
1d123feb5bee8cfcad2267bd2683cd5328a764d8
/src/LivestockCV/core/transform/rescale.py
10730d13260807f02474c184a4fea5f112a72265
[ "MIT" ]
permissive
peschelgroup/LivestockCV
cd7803f74b5c37c04ede6cf1fc6f6da043821174
e5746af75935d5000ba3ad26d09b6868fae76b76
refs/heads/main
2023-06-27T04:52:26.533031
2021-08-01T20:01:22
2021-08-01T20:01:22
379,750,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Rescale grayscale images to user defined range import os import numpy as np from LivestockCV.core import fatal_error from LivestockCV.core import print_image from LivestockCV.core import plot_image from LivestockCV.core import params def rescale(gray_img, min_value=0, max_value=255): """Rescale image. ...
[ "noreply@github.com" ]
peschelgroup.noreply@github.com
9f944dbc67a1bb892749180712c64565d636b184
25bd603e5775558754bf32adbfbbc6c1d8d86db8
/comments/migrations/0001_initial.py
9f3652db9d54a856faabfcdf57101f469120b345
[]
no_license
yeimermolina/django-blog-project
ee75fa05412c8d1194c57cac2b8e8909d4493892
3ca64d3f4b8f80f91a4a2527ed781e9cdceebb2d
refs/heads/master
2021-01-19T09:20:31.212788
2017-04-10T00:44:11
2017-04-10T00:44:11
87,750,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2017-02-28 17:13 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('content...
[ "yeimer.molina@gmail.com" ]
yeimer.molina@gmail.com
910aba7d092e6fe88237d6d7c73f25a5638d20a8
c70dfc0d74b34e41f7d2dbdbd6bfaca2f79af55b
/cyp/models/convnet.py
7e74e171c0c26477317c14467986b5411a787c77
[ "MIT" ]
permissive
jeangolay/pycrop-yield-prediction
a2c65fa3bd704d1d3251318a9afe39bfcd05cf10
1b36b673cc58b506ad4d3c8bd6b6917ac5a72d28
refs/heads/master
2021-02-18T06:58:31.844163
2019-11-25T13:45:55
2019-11-25T13:45:55
245,172,915
0
1
MIT
2020-03-05T13:39:21
2020-03-05T13:39:20
null
UTF-8
Python
false
false
7,994
py
import torch from torch import nn import torch.nn.functional as F from pathlib import Path from .base import ModelBase class ConvModel(ModelBase): """ A PyTorch replica of the CNN structured model from the original paper. Note that this class assumes feature_engineering was run with channels_first=True ...
[ "gabriel.tseng@mail.mcgill.ca" ]
gabriel.tseng@mail.mcgill.ca
e8828d6e1b94af027e4b77ca8d909c5b44902ee8
50a087382c8da4db28461644f8e4c61db7a3c230
/titanicapidata.py
adf49a50749f307cfcc432ed5266563698934369
[]
no_license
deep2555/Titanic-dataset-project
91b478df513447d2416dca7f2f947fe02cc9c890
25ba4824d6c246c79526ed456447df81168d6707
refs/heads/main
2023-05-31T05:11:02.503655
2021-06-16T15:53:34
2021-06-16T15:53:34
377,543,910
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
#import flask from flask import Flask , request, json,jsonify import requests import pickle import numpy as np app = Flask(__name__) loaded_model = pickle.load(open("titanic.sav", "rb")) @app.route("/", methods = ["POST"]) def titanic_predict(): user_input = request.json print(user_input) inp...
[ "noreply@github.com" ]
deep2555.noreply@github.com
85fe15a332034b335a9570daf22b21f4db86e628
6c7208a85a33accbae4408946a458558766787fd
/writeAbsence.py
26afee715eb56695b0e69e45fc9603bd29ac7090
[]
no_license
17Pixelz/Face_Reco
f3f409537bb8c196d299cb2104e0ac8d27799feb
40d477a847226619fa8f09ecf5dd4bd2c808d13c
refs/heads/main
2023-05-31T11:54:47.436625
2021-06-24T16:35:16
2021-06-24T16:35:16
376,830,855
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import csv def giveAbsenceFile(names): with open('absence.csv', mode='w') as absence: writer = csv.writer(absence, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL) for name in set(names): writer.writerow([name, 'P'])
[ "touamayoussef@gmail.com" ]
touamayoussef@gmail.com
2e230cb8aa62731299b1f164e9a99323b26e1092
727d8e53595146fcb20a1fc9ede035027caa78e0
/fixAddPlants.py
811caca48f68155a4a71f49c7484616654f2a039
[]
no_license
yzyly1992/PWP-Lib-Crawler
b5de68c26e72ccf46bb89bfc5c68d0158d0e044e
7c14d1444a230c2cd4b33160afa2a57299735b7b
refs/heads/master
2021-05-23T15:16:16.497585
2020-10-09T00:50:55
2020-10-09T00:50:55
253,356,336
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
import os, re import json with open("plants.json", "r") as jsonFile: data = json.load(jsonFile) i = len(data) n = 0 while n < i: path = data[n]["path"] data[n]["mac"] = path.replace("\\", "/").replace("Y:", "/Volumes/Library") n += 1 with open("plants.json", "w") as f: json.dump(data, f)
[ "zyang03@risd.edu" ]
zyang03@risd.edu
132e4ee4c793bdc4161705a02085ff9af6bd4275
cdf4c78d609fc6cf39deaa74dae56d2ba33f027f
/basic_syntax/1_6input.py
5d81bcc6d037727e7b73cf9ba605a95a81b678af
[]
no_license
choyeaeun/Python_study
0b201b91e28b63a382bee1fc3c74ee3c2056844a
d0dab7aabb4579fa24dd64b42ca94d2be854264a
refs/heads/master
2020-08-07T16:37:14.534707
2019-10-11T15:51:03
2019-10-11T15:51:03
213,526,906
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
#사용자의 입력을 받는 함수 input print('what is your name?') a = input() print('my name is ', a) #input함수에서는 간단한 print기능이 포함되어 있음 mine = input('가위 바위 보 중에 하나를 내 보세요') print('mine:', mine)
[ "silbia629@gmail.com" ]
silbia629@gmail.com
a7da83c154c9480e68fc45b27de2fc75c7bd51ce
5bfd97b3ed5b173af6d97cbed91fe4cbeb9d5690
/901_recommendation/plots.py
6b573a9702b23a39ebbe973c8ec8bab6096177b4
[]
no_license
AndersonJo/python-lab
dce6c1e96313ce339153c3aaf13b052581113726
eafbeddc7a7706377478282252806de3a56cc5bb
refs/heads/master
2020-03-22T20:54:26.708450
2018-10-30T05:56:50
2018-10-30T05:56:50
140,641,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
from random import uniform import pylab as p from data import critics def display_critics(name1, name2): """ plot the two critics' movie scores. @param name1 (str): the name of a critic @param name2 (str): the name of a critic """ movies1 = critics.get(name1, None) movies2 = critic...
[ "a141890@gmail.com" ]
a141890@gmail.com
89315f19c44ce6a4e4989a4db8b8892a9ebb7e53
d154b2c87c1ac29b008acbcfe7dbf1f904f72840
/FirstLab/venv/Scripts/pip3-script.py
8a1386c20815cc18abfa22301321e849233b9caf
[]
no_license
sophiacrumb/BDAS
4cb1ede2022f7ef49e182be2ecb7a21faedff1f5
02576e057c7835ff506eb68eb9fccdc952e078f1
refs/heads/main
2022-12-31T08:07:55.880154
2020-10-20T16:13:45
2020-10-20T16:13:45
303,101,692
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
#!D:\PycharmProjects\FirstLab\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __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)?$', '', sys.argv[0]) sys...
[ "sophiacrumb@yandex.ru" ]
sophiacrumb@yandex.ru
976ee0ae69a2b1866f4ac2bf56a9bc4c1732988a
d8e4c9182c83ef781e2b574cd639917ecd38a53a
/ralgraph/chart.py
07c1f0a5891c0850ea04238b64b8002c3a7563bf
[]
no_license
mirmik/ralgraph
b98fa39904b1e5cea4cfde9f4e6a81a3b7728999
a66da89ab85b86b7d68787b8b199267f12c40da7
refs/heads/master
2020-07-03T12:20:35.018998
2020-04-06T10:00:35
2020-04-06T10:00:35
201,902,647
0
0
null
null
null
null
UTF-8
Python
false
false
4,309
py
#!/usr/bin/python3 from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * import numpy import time import threading class ArrayChart: def __init__(self, plot=None): self.plot = plot self.x_chart_coords = [] self.y_chart_coords = [] self.autoscale = True self.xmin = float("inf...
[ "netricks@protonmail.com" ]
netricks@protonmail.com
e782fadcca8915536908baee95741f6ecdf8ee5d
63d1f90e4f32cc179635b50597fb264d77a8149d
/ceaos/__init__.py
ee66221e89d5f6cc061a3f4472e5abad0e404b7b
[]
no_license
kxu11235/cea-os
6474fbfd0cd632d40693f472abf5c7f700ab9772
851639a609a4a238bbefedf191a8d0eaf567ed20
refs/heads/main
2023-06-01T07:39:30.098497
2021-06-09T16:43:47
2021-06-09T16:43:47
375,759,475
0
0
null
2021-06-10T16:15:44
2021-06-10T16:15:43
null
UTF-8
Python
false
false
71
py
# CEA-OS is an operating system for controlled environment agriculture
[ "nandan.t@live.com" ]
nandan.t@live.com
25f34ab887b47fdda71884e0831b7bf6e036da15
5c2ead245750a317ef4bdbfa6d0e17fd21f7aa91
/rango/tests.py
a6b3519ed7821ba749642478a189f769435dbe62
[]
no_license
PiotrusWatson/rango
90386bcbe2b51264dc4884a2a106c0e451717db5
d8d7bb937e84f7fc225a8a0b1dceee78f2908dd9
refs/heads/master
2021-01-12T00:38:16.318824
2017-02-10T12:52:35
2017-02-10T12:52:35
78,750,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
from django.test import TestCase from rango.models import Category from django.core.urlresolvers import reverse def add_cat(name, views, likes): c = Category.objects.get_or_create(name=name)[0] c.views = views c.likes = likes c.save() return c class IndexViewTests(TestCase): def test_index_vie...
[ "piotruswatson@gmail.com" ]
piotruswatson@gmail.com
ccecdaff747cdec374326dda1a311cbd51a5223a
9e4e40eafb302a560ce33f2c8418769fa14185d1
/section3/sentiment_analysis.py
0ebb649d7cd782b635beafc7bfaa8e394e758d86
[]
no_license
anantsrivastava30/TextMining
371bd46663e39702a0e38f8a6598e3e3030aca35
f13f001295ee2567a6b2e4c277774fdac6426a44
refs/heads/master
2021-05-06T03:10:50.061765
2018-02-09T07:40:02
2018-02-09T07:40:02
114,817,657
0
0
null
null
null
null
UTF-8
Python
false
false
7,214
py
# coding: utf-8 import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.feature_extraction.text import CountVectorizer from sklearn.linear_model import LogisticRegression from sklearn.metrics import roc_auc_score from sklearn.svm import SVC from sklearn.feature_extracti...
[ "anantsrivastava30@gmail.com" ]
anantsrivastava30@gmail.com
d857d210c85ab7e5b44aa427f2403019ebe176a1
f08d137b7821d79672c91e5f06967ffa1f90e278
/.history/Python/Main_py_20211021101357.py
24180ebf2cf62ee0838fe71a2cd46e81d5e858e6
[]
no_license
anhviet-key/hello-cac-ban
a39ffb1731a77dd171523ea145f5d8b62fccde7c
18411b51add7e3277d42869f8a50c67111337983
refs/heads/main
2023-08-23T09:02:01.074958
2021-10-27T07:48:47
2021-10-27T07:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from Sub_py import emailProcess, print_Mess def main(): emails = ["hello.vi@gmail.com", "Package@yahoo.com", "Test@gmail.dev"] for email in emails: usemailProcess(email) if __name__ == "__main__": main()
[ "92666546+anhviet-key@users.noreply.github.com" ]
92666546+anhviet-key@users.noreply.github.com
3df046ae73258735aa27ee3942b82aec114a9ca8
e72b8ac4d15e37fca4a34c775de490371bf3a2e1
/plasmapy/utils/calculator/widget_helpers.py
1a10b2c87b53d06d6d14eea15d3f0d9c28b93ecb
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RAJAGOPALAN-GANGADHARAN/PlasmaPy
a4cd91cfcc31cfe6b69b6174d37bb094ddbf0052
3c1d6a72af2531a4603f227eabe74971a98da662
refs/heads/main
2023-01-08T05:12:02.952882
2022-03-19T18:00:35
2022-03-19T18:00:35
159,909,658
1
0
NOASSERTION
2018-12-01T04:42:14
2018-12-01T04:42:12
null
UTF-8
Python
false
false
18,149
py
""" Contains functions that create widgets and process properties for the calculator. """ __all__ = [] import abc import importlib import ipywidgets as widgets from inspect import signature from plasmapy.particles import Particle BLACK = (0, 0, 0) """RGB constant for black.""" DARK_RED = (255, 0, 0) """RGB Consta...
[ "noreply@github.com" ]
RAJAGOPALAN-GANGADHARAN.noreply@github.com
a23916c417b2fe893c1d68ba20334ad5fc4aee29
15b4acc80b261325fdfc95f55852e8bf2bdbbb58
/Keras_tf.py
1ca06439b516cfcbd3c51dcb558640c67c4a0982
[]
no_license
ChristianMDahl/ClassificationGradesheetsMiniPics
8b551904fdac734a144ac3339ea7b410266ace6b
1fd03c1b80ccb996723382ae657081e368cd8b34
refs/heads/master
2021-07-09T16:58:55.267843
2017-10-07T15:34:35
2017-10-07T15:34:35
106,108,152
0
0
null
null
null
null
UTF-8
Python
false
false
4,303
py
#--------------------------------------------------------- # Classification of mini_pics from sweedish grading sheets #--------------------------------------------------------- import tensorflow as tf #Re_estimate = 1: New model is trained #Re_estimate = 0: Most recently trianed model is loaded ################## Re_e...
[ "christianmdahl@gmail.com" ]
christianmdahl@gmail.com
9dcddbcc8d5d3f81e9b43c1b674bb99bf74081e6
495943f075f6a641d456d66deebb208847cb6c50
/bases/bases.py
4b971bac31d64037ece100affafdb194b8cec092
[]
no_license
LukazDane/CS-1.3
377a6ef77c3db4a497f492ed73a3ba2487531b93
9cee1f71b9374a54a1fe336cd1f8db1a51275ef8
refs/heads/master
2022-07-04T00:26:48.498036
2020-05-11T02:37:00
2020-05-11T02:37:00
255,189,216
0
0
null
null
null
null
UTF-8
Python
false
false
4,209
py
import string import math # ##### https://en.wikipedia.org/wiki/List_of_Unicode_characters # Hint: Use these string constants to encode/decode hexadecimal digits and more # string.digits is '0123456789' # string.hexdigits is '0123456789abcdefABCDEF' # string.ascii_lowercase is 'abcdefghijklmnopqrstuvwxyz' # string.asc...
[ "deandrevidal@aol.com" ]
deandrevidal@aol.com
4faf1c90487d459da70158af665f0ebc2c9cf364
d75fc0ae459066bfb15187d1c902e22000153dc4
/TestScript/tenderverificationONSupplierStatus.py
44e27edee4b8c97a036372329b6aa5c7f6dc4e37
[]
no_license
sureshkumarkadi/Project
875a05a752164ff9620286ab8261c7774acc4f27
4652edfa6ac47d6f44bd41e03314d96753e09d92
refs/heads/master
2020-03-25T19:52:23.124215
2018-08-09T05:28:08
2018-08-09T05:28:08
144,104,609
0
0
null
null
null
null
UTF-8
Python
false
false
3,308
py
#------------------------------------------------------------------------------- # Name: module2 # Purpose: # # Author: mathew.jacob # # Created: 25/08/2016 # Copyright: (c) mathew.jacob 2016 # Licence: <your licence> #-------------------------------------------------------------------------------...
[ "Suresh.Kumar@causeway.com" ]
Suresh.Kumar@causeway.com
596b45507c8239328799775cbfed3e1258342f5c
11f5ff0c46b1ed0d89a2b582bea6d91432563ff2
/conftest.py
f560e935abaee6394bf5fff41d6d6f7d26baa25d
[]
no_license
hfridland/test_items
829e76ba7cf66cd2d417a1033e7d47425f029e2a
f335c97dc1e26a706f05c6cd26e58804dce61da9
refs/heads/main
2023-05-22T10:49:16.537579
2021-06-05T18:45:17
2021-06-05T18:45:17
374,188,484
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import pytest from selenium import webdriver def pytest_addoption(parser): parser.addoption('--language', action='store', default=None, help="Choose user language") @pytest.fixture(scope="function") def browser(request): browser = webdriver.Chrome() yield browser browser.quit() ...
[ "hfridland@shaw.ca" ]
hfridland@shaw.ca
96659a31eb97f9771b0d4e5698d71ee2d18d1006
b715012e5ba8c54ff6676aa4c7c7f3c7ed7ee32a
/gridworld.py
bf3fb97f8fcfb3f37474453ca2321ab8d1b56b8a
[]
no_license
chengshaozhe/sheep_policy
569adf80e129ed070e0866e6f53d1b61ddfcd76d
fcbfaaa2506e228036fe8606ca271555fc3f291a
refs/heads/master
2021-08-08T07:23:59.063663
2020-04-19T12:35:37
2020-04-19T12:35:37
158,331,454
1
1
null
null
null
null
UTF-8
Python
false
false
6,104
py
import numpy as np from viz import * from reward import * import random from collections import deque import os from PIL import Image class GridWorld(): def __init__(self, name='', nx=None, ny=None): self.name = name self.nx = nx self.ny = ny self.coordinates = tuple(it.product(ra...
[ "chengshaozhe@gmail.com" ]
chengshaozhe@gmail.com
175006eb5905eb05d3eff2e0c2859795a73c2c91
7e2d10ed5b62aa908f1facec1400c6b59314878e
/.venv/lib/python3.7/site-packages/mypy/checkexpr.py
45e302f6595b20685e9aa4c77e360424d06d5cde
[]
no_license
iphysresearch/watchlist
dfe0370ae80d1ab0d4333af445bec9eb80a2ddde
214a18d406e3b173cffa6eb2f5250d4553eda9f7
refs/heads/master
2020-04-11T20:19:16.424183
2019-01-14T17:36:09
2019-01-14T17:36:09
162,066,460
0
0
null
null
null
null
UTF-8
Python
false
false
175,805
py
"""Expression type checker. This file is conceptually part of TypeChecker.""" from collections import OrderedDict from contextlib import contextmanager from typing import ( cast, Dict, Set, List, Tuple, Callable, Union, Optional, Iterable, Sequence, Iterator ) MYPY = False if MYPY: from typing import Class...
[ "hewang@mail.bnu.edu.cn" ]
hewang@mail.bnu.edu.cn
d00a26baca490f31f439effc72c908cdb5f1a988
f8bdc46409c9f5eaf3d85ef157260589462d941a
/demos/instance_occlsegm/instance_occlsegm_lib/contrib/instance_occlsegm/models/mask_rcnn/mask_rcnn_train_chain.py
dcac6d9a34651571c6619b60979f08467e428520
[ "MIT", "BSD-3-Clause" ]
permissive
start-jsk/jsk_apc
2e268f8b65e9d7f4f9cc4416dc8383fd0a7b9750
c4e349f45ef38457dc774e33f6902acf1a1540a6
refs/heads/master
2023-09-05T09:06:24.855510
2023-09-01T17:10:12
2023-09-01T17:10:12
25,620,908
36
25
NOASSERTION
2023-09-01T17:10:14
2014-10-23T05:28:31
Common Lisp
UTF-8
Python
false
false
9,218
py
# Modified works: # -------------------------------------------------------- # Copyright (c) 2017 - 2018 Kentaro Wada. # Licensed under The MIT License [see LICENSE for details] # -------------------------------------------------------- # This is modified work of FasterRCNNTrainChain: # -------------------------------...
[ "www.kentaro.wada@gmail.com" ]
www.kentaro.wada@gmail.com
e3d532d22641804ec9d82074ad11b3215ec161a3
4deaf8f4f1a91fc12c3a3d10bc8794fa62f54657
/switch.py
f6bd0e72d22502c54be4568db69b160e68abb5b5
[]
no_license
AdopaX/Manimouse
03554d81ef5a1a8576ec7041d361541dff0c5096
3b02fca16b93be98af093274e6249465b9ee2295
refs/heads/master
2021-06-14T21:35:03.308346
2017-01-29T17:27:14
2017-01-29T17:27:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,308
py
# All packages needed for the program are imported ahead import cv2 import numpy as np import pyautogui import time # Some global variables or others that need prior intialization are initalized here # colour ranges for feeding to the inRange funtions blue_range = np.array([[88,78,20],[128,255,255]]) yellow_range = ...
[ "noreply@github.com" ]
AdopaX.noreply@github.com
f934db4460afcfe6a86fce63da946622c0bed8ad
981ac0fc0958ed4258e8adb4408980857d8d0cc1
/monitor/web_session.py
a4258028fbf0b035aafff6aada8783b9b6f5cd4e
[]
no_license
D3ee/YjMonitor
1dc8e19d464784610cc9db9450d069b3bad5fe65
8179f9d39aa5b60274da4b7e38e173e380265c42
refs/heads/master
2020-05-27T23:52:57.340370
2019-05-27T10:28:57
2019-05-27T10:28:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,156
py
import sys import asyncio import aiohttp import printer from exceptions import LogoutError, RspError from json_rsp_ctrl import Ctrl, JsonRspType, DEFAULT_CTRL, TMP_DEFAULT_CTRL sem = asyncio.Semaphore(2) class WebSession: def __init__(self): self.var_session = aiohttp.ClientSession(timeout=ai...
[ "yjqiang1@gmail.com" ]
yjqiang1@gmail.com
9afaba937a03de22be796a6bd07f246a6dced59f
42b4211e959b797ba23089b70242ce7ba591c65b
/572_Subtree_of_Another_Tree.py
21c7cb567a7173cbf2f7797c287c716fa73fd23e
[]
no_license
shauryasrivatava/devsnest_dsa
7699de2f0707f27785137a72280b20ad5ddcd789
01274b1d2d623677a7512276599647ee5222bb6b
refs/heads/main
2023-05-04T05:05:32.237159
2021-05-18T18:46:36
2021-05-18T18:46:36
348,429,262
1
0
null
null
null
null
UTF-8
Python
false
false
772
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right def same(s,t): if s is None and t is None : return True if s is None or t is None: return False if s...
[ "noreply@github.com" ]
shauryasrivatava.noreply@github.com
3e74debc23e55b4b8d6a39cd6b30e66149ba4444
986ce59a572a9e3d9f606c4fcbec256776cce47a
/src/utils/cognitoUtils.py
dee82673ac05f95a362c2f596929cfee88be472d
[]
no_license
fbambusi/ido-measures-api
ce92f8f6e058e455a17d9cc55ac7f958440a2bdb
73ba90a2800a7c086a694f170e24a35e4e41f938
refs/heads/master
2023-02-06T11:33:24.319122
2020-12-24T14:28:42
2020-12-24T14:28:42
324,167,416
0
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
import os import json import boto3 from botocore.config import Config def get_client(): my_config = Config( region_name='eu-central-1', ) uip = ("a/a/"+os.environ.get("COGNITO_POOL", 'eu-central-1_sPMQnKBGz')).split("/")[-1] client = boto3.client('cognito-idp', config=my_config) return cl...
[ "fbambusi@github.com" ]
fbambusi@github.com
b6c14ecc4de8df6c97043617c7c8596c81f72f7a
36f0cb1f6d660ab3f6de972c2c43b79276399581
/prgrm1.py
9c26052c51df30bd4ab8ae5b41b9d00e0eece9b9
[]
no_license
alugurikeerthana/task1
ea16a813f7015d55b17f154f049b129c72afe87d
fe3c4a112c6832c2ffc1ac4c1b7e5566d97bceec
refs/heads/master
2020-03-19T13:13:39.361996
2018-06-08T05:05:39
2018-06-08T05:05:39
136,568,797
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
import numpy as np x = np.random.randint(low=10, high=30, size=6) print(x)
[ "noreply@github.com" ]
alugurikeerthana.noreply@github.com
0e4529c3d3b3619b12b70827cb8b534191dd1ce1
9804004f7518c825579a2a8b0cde8dd5a3ba82b2
/project_alva/project_alva/machine_learning/model/stats.py
625fa81bfdae90ed4616558eb7d9c409bb73ff9d
[]
no_license
encoder-90/ds_projects
df69b18f659c886e37fec8bff083da11d2d6dc3d
97d3a5c6c2441aea10a2487656fd2c972c4ccfa0
refs/heads/main
2023-08-13T00:49:33.424616
2021-09-27T06:07:46
2021-09-27T06:07:46
320,169,391
0
0
null
null
null
null
UTF-8
Python
false
false
6,593
py
import numpy as np import uuid import pygal from machine_learning.data import helper def transform_target_y(data): """ Transform the target column y to natural log. This scales the target and helps to stabilize the outcome by normally distributing the values. NOTE: It needs to transform back with exp...
[ "a.jirov@student.fontys.nl" ]
a.jirov@student.fontys.nl
bc5eee51bb8fa035ca88cc586c8b806b2004d5e4
1cefaa5074569d972479fdc23b09d2cb70bc2332
/apps/product/models.py
7be7c81872b2e29b3673c58870fcbc1b78844f95
[]
no_license
SazidAhmed/Django-Rest-Store-Server
8cf5cfe8099686b6ef0952f72e29f69e9e995f9f
99f98b4522913296867fdab38f4e53ce3596f200
refs/heads/master
2023-04-11T16:24:55.974446
2021-04-29T15:09:41
2021-04-29T15:09:41
357,680,599
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
from io import BytesIO from PIL import Image from django.core.files import File from django.db import models class Category(models.Model): name = models.CharField(max_length=255) slug = models.SlugField() class Meta: ordering = ('name',) class Meta: verbose_name_plural = 'Categories'...
[ "sazidahmed.official@gmail.com" ]
sazidahmed.official@gmail.com
92f23dfc35fd5f746d7c4a087a4c054ae511a765
637d06abc4c533cabfed9518857c702b6d0558a6
/users/migrations/0001_initial.py
fbaefc5cbc447a45eaa28c11f2b2df3d9d6bbbaf
[]
no_license
nakusha/airbnb_django_backend
5756b2e02abb3304ca67ee387041a83813890119
2a60c9279d5a661be264e5568451d544a29962ca
refs/heads/master
2023-06-20T02:08:16.540289
2021-07-18T15:26:37
2021-07-18T15:26:37
367,626,436
0
0
null
null
null
null
UTF-8
Python
false
false
3,519
py
# Generated by Django 3.2.3 on 2021-06-16 07:25 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_m...
[ "“runnaway@naver.com”" ]
“runnaway@naver.com”
ebc1183cbaf4a2933e809513c7b5f6acf4717951
f9efe2ce2325ad3d5d3c5762f3c85e51a2612ea8
/expert_finding/data/io_aminer.py
26118e99e5876e001ee1f12a857a1ff36bc01e49
[]
no_license
elvesmrodrigues/Kcore_Expert_Finding
3e3347fa77b51d81999fcac12ac9a7324568763e
c03174640f62771492805fb6cbb08f3d2ba6f88f
refs/heads/main
2023-06-25T03:42:15.155785
2021-07-26T12:57:22
2021-07-26T12:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,136
py
import itertools import os import pkg_resources import json def load_papers(infname): papers = list() with open(infname, 'r', encoding='UTF-8') as f: for key, group in itertools.groupby(f, key=lambda l: l.strip(' \n\r') == ''): if not key: refs = [] authors =...
[ "653574281@qq.com" ]
653574281@qq.com
865653721e38190f7bb6c4e6c6f1a383d99f2912
af24f5e44068ddc91e05ecdbafac2d01755fd2e9
/blog/migrations/0020_auto_20200628_1343.py
2777a5cec6aa72149d91a967dc170165469e8635
[]
no_license
IsraJC/my-first-blog
a34b666fe09ae091c54c00e6121a6bd528fd22e1
84bc92a6cde1aec527600040cd382cd1853c1574
refs/heads/master
2023-08-12T18:42:21.745988
2021-10-04T19:50:09
2021-10-04T19:50:09
269,368,823
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 2.2.13 on 2020-06-28 12:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0019_auto_20200628_1343'), ] operations = [ migrations.AlterField( model_name='cv', name='number', ...
[ "israchanna@gmail.com" ]
israchanna@gmail.com
440ce5170b6b74c30529ffd3efbb1496ea483d6e
527344b91c7d06214888aa69605a05a3762caf47
/pipeline.py
a58865fb11a81ce6ffdcd44f8624f9adc804114d
[]
no_license
ljing2007/gbm-pipeline
bdecf57643eefb74bb6ec36ef58b388ef54450f5
9a8b390012b07300f8635a10ea806b070f1c3d40
refs/heads/master
2022-04-30T12:30:14.039639
2020-04-05T12:17:04
2020-04-05T12:17:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,400
py
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from catboost import CatBoostClassifier, Pool, cv from catboost.datasets import titanic def build_titanic_dataset(): df_train, df_test = titanic() df_train.fillna(-999, inplac...
[ "goldandrabbit@foxmail.com" ]
goldandrabbit@foxmail.com
2c1de13fdef7761a42417213fdc33376772cf25d
f06e3ade8249ccbee25ebad78dea2948c2286cdb
/marketplace/products/migrations/0002_auto_20190120_2126.py
2cf39d0da9236d189f3da9d07b2e8cdda8523a9f
[]
no_license
billangli/shopify-backend-challenge-2019
e5c22816f4c460ae13113fc1d0d4a8a50093c157
e33a7c3870adee61edcf9880128a96d934529e7b
refs/heads/master
2020-04-17T12:08:15.272777
2019-01-22T03:01:37
2019-01-22T03:01:37
166,569,083
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# Generated by Django 2.1.5 on 2019-01-20 21:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id',...
[ "bill.ang.li@hotmail.com" ]
bill.ang.li@hotmail.com
8f621fcf4d57992e0318f3582902bd71e2732e6d
fcbacd428f9cbf0e384534fea1ebc068efa7285a
/data.py
6700e4831b1b5bdc34e692d0fc5da333e279a696
[]
no_license
punkungkub/RoobotEvolution
f064b5fa58e0a2920ccc9b349521ed0a1a29a86c
8f4d1a40a3921b493cf963653eba07a5ed537b70
refs/heads/master
2022-11-27T01:44:50.513264
2020-08-04T06:48:11
2020-08-04T06:48:11
284,873,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
import matplotlib.pyplot as plt import numpy as np import pickle, json import os,shutil from threading import Thread class data: def __init__(self): self.generation=[] self.fitness={} self.data={} def storage(self, gen, data): self.generation.append(gen) self.da...
[ "43475513+punkungkub@users.noreply.github.com" ]
43475513+punkungkub@users.noreply.github.com
fe1157f372e8999831140b5c8835adac1ce983b2
bc572eca7a03aec83ee55300887a21cad3dbd160
/tools/Polygraphy/tests/comparator/test_postprocess.py
0cbba453125e5baa918d358612e41d35c9cb243d
[ "Apache-2.0", "BSD-3-Clause", "ISC", "BSD-2-Clause", "MIT" ]
permissive
wuqiangch/TensorRT
fba0029dc5c0b3b9ffa091e45f26d8d10d702393
d04182cd0086c70db4a8ad30e0d7675c4eb33782
refs/heads/master
2023-05-31T21:04:01.079351
2021-06-23T20:37:20
2021-06-25T19:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
# # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com
1a8fdc4014ea36359c165795b904676bd01011cd
2636b249a82b8bdeb02166aea94f3941dece962c
/manage.py
768c4e6fb3926f7578c87b80e90dcac45f7d286b
[]
no_license
van0509/muxueonline
87a2f542f5b9bf15d43cf49710bb92e9f0e65266
1dd02a0ecff114575b27463ad1aa5b555089430c
refs/heads/master
2020-03-27T07:52:39.566043
2018-09-06T12:55:59
2018-09-06T12:56:00
146,198,946
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'muxueonline.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "free001@vip.qq.com" ]
free001@vip.qq.com
6e38310be82e01e137cece99982ef936860d1f0b
9ee644fdb3b0a5ae7887ecb1f4a9013b3abbcb8b
/Python/Django/dojo_ninjas/dojo_ninjas/settings.py
f3e07d741cff65ec58b50ed4eae76aa6c0bf3c86
[]
no_license
avvarga/Lab206
0aa0bf7f1e0340466c5e120e7c1a8726f9385567
c55fae4044625355ec392f3de58442b2767f7916
refs/heads/master
2021-04-15T15:42:11.700351
2018-04-13T23:07:25
2018-04-13T23:07:25
126,499,170
0
0
null
null
null
null
UTF-8
Python
false
false
3,182
py
""" Django settings for dojo_ninjas project. Generated by 'django-admin startproject' using Django 1.10. 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 ...
[ "avvarga@amazon.com" ]
avvarga@amazon.com
b53ae71c9ed4ce817b4e285d4827aaf89a7c7035
448c17f5a937f6f3d45a3b8da747348ec0b06e76
/tests/test_pinpoint.py
681518f7d8c06ea39ef8f2901d4525542ccda18b
[ "MIT" ]
permissive
surajitdb/pyscissor
a85f5d6c44c2e3b28d48ec61ed89b2dd98fc7c02
247e819d2d87c982df20ee42bce2b881e89d5f25
refs/heads/master
2023-01-12T02:25:53.564677
2020-11-18T12:15:50
2020-11-18T12:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
import unittest import numpy as np from pyscissor import pinpoint import pytest class test_scissor(unittest.TestCase): # generel + lat not reversed def test_generel_lnr(self): lats = np.array([24,23]) lons = np.array([88,89]) vals = np.array([[1,2],[3,4]]) t = pinpoin...
[ "nzahasan@gmail.com" ]
nzahasan@gmail.com
d017df644bde5225b2ea4930d586dc593bd9fa99
d24f39c95eb2fc89851d90464eb0cdf3b2c6c60f
/Ondas Planas/movimento_sem_ateunacao.py
bccad25aaecfea2adbf04f2fe0a877cc2cb7416d
[]
no_license
marcos-moura97/eletromagnetism_python
d74c62a85df0e2b81e18555583ce4146fd106e0f
f44f7afc5fad8ffc58dd8be5ec7e074a37b69e41
refs/heads/master
2023-08-28T08:10:02.568516
2021-11-04T10:48:05
2021-11-04T10:48:05
299,422,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,681
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation import math pi = math.pi #Famoso pi Emaxmais = 10 #Amplitude do campo incidente FimaisGraus = 0 #Fase Finais (graus) da amplitude do campo incidente Emaxmenos = 10 #Amplitude do campo refletido FimenosGraus =...
[ "noreply@github.com" ]
marcos-moura97.noreply@github.com
51d9224e7d85e7e8c277046b5010c9ddf16e3dd0
57068b73b78602a4a8ea1c2c677b2c9867d7f208
/examples-code/zmq/Request-Reply-Broker/rrworker.py
0ef890c37bb4e131882a7fa89f9bf8c7118ec597
[]
no_license
firewood1996/MELINDA
2f158d1942224b1cb7ef72d46a5f510229f54e87
a090cea086e6b2502ea4f910008f9daf50e464d6
refs/heads/master
2023-02-22T11:40:44.350351
2021-01-21T22:35:22
2021-01-21T22:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# # Request-reply service in Python # Connects REP socket to tcp://localhost:5560 # import zmq import threading import time import random def worker_routine(url, id, context=None): """Worker routine""" context = context or zmq.Context.instance() # Socket to talk to dispatcher socket = context.sock...
[ "aluiziorocha@gmail.com" ]
aluiziorocha@gmail.com
778001ad149d4c82f36a8f1efe334bf413d659b5
a739b289cbda3acc9ef69a379cb0d7068c18cf66
/Transformer_with_vision/model/transformer.py
9b58365a4b29c5209bc5e7bc12ed2050994278ea
[]
no_license
fhzh123/transformer_research
ac96d837cf287ab9b42dc044344cb70d9bb63724
a39ca029e3557b8c6eb90eb8ca5eb5964c49b965
refs/heads/main
2023-04-18T16:01:57.878040
2021-05-09T14:42:05
2021-05-09T14:42:05
352,910,961
0
0
null
null
null
null
UTF-8
Python
false
false
3,405
py
import torch from torch import nn from torch import Tensor from torch.nn import functional as F from einops import rearrange, reduce, repeat from einops.layers.torch import Rearrange, Reduce class MultiHeadAttention(nn.Module): def __init__(self, emb_size: int = 512, num_heads: int = 8, dropout: float = 0): ...
[ "fhzh@naver.com" ]
fhzh@naver.com
c9ccb921814b23fe474ca6b3e2c1613e8783603f
c2d1b262e0ffc2f61cb3fb36b2d0ae63f5e6d151
/src/hw/pwm/pwm_provider_pca9685.py
d91bf5a9176b983448f418528d29de0bccecf305
[ "BSD-3-Clause" ]
permissive
geoff-coppertop/train-turnout-control-python
d78bdb3ef7fc4d903197959ff7b1d846ed5e8ef5
dec330e0e9931ee43b59c97d300b82c37d35253b
refs/heads/master
2022-07-30T12:19:59.351399
2018-03-27T02:18:46
2018-03-27T02:25:40
121,705,692
0
0
null
null
null
null
UTF-8
Python
false
false
2,564
py
#!/usr/bin/env python # # -*- coding: utf-8 -*- #------------------------------------------------------------------------------- # pwm_provider_pca9685.py # # G. Thomas # 2018 #------------------------------------------------------------------------------- import logging from src.hw.pwm.pwm_provider import PWMProvid...
[ "geoffrey.thomas@garmin.com" ]
geoffrey.thomas@garmin.com
27fe093654f6b8ee9c997e2087efe318a09c1895
affaef08f7746dbe673dd6c2ebabb31b7c41d299
/python/cs381_GameDevPipeline/StumpysGrove/gfxMgr.py
d632a6da182cb2552b413f29281cdee98270c9d3
[]
no_license
jflorespadilla/SchoolProjects
066abe331ca75be8fff75abf7ca5a0a7811d369f
da1f7e1e7ad90902000c4d6920e8cb61a8d2bb19
refs/heads/master
2020-09-20T03:01:57.900266
2016-09-08T18:16:53
2016-09-08T18:16:53
67,721,967
0
0
null
null
null
null
UTF-8
Python
false
false
8,882
py
# Graphics manager import ogre.renderer.OGRE as ogre import math import utils # Manages graphics. Creates graphics, scene, scene nodes, renders scene class GfxMgr: def __init__(self, engine): self.engine = engine pass def init(self): self.createRoot() self.defineResources() ...
[ "jesus.florespadilla@yahoo.com" ]
jesus.florespadilla@yahoo.com
92c6ec1b0ac953e0a1245895ca861e3111037464
cfa1ef35dccc82950f4dde53a0e576fa56be05c5
/scripts/pysolc.py
070c3db1f95a65cf4da0d4fc9e636c4b88d99a9e
[ "Apache-2.0" ]
permissive
YakShavingCatHerder/securify
08bb0b12b30a8b46f5a6bc388d343169c955330e
51ba1240e60332b4a1e6ad02090da6fe57676354
refs/heads/master
2022-04-03T06:05:00.418130
2020-01-23T17:02:22
2020-01-23T17:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,052
py
""" Author: Tobias Kaiser Copyright 2018 ChainSecurity AG Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
[ "noreply@github.com" ]
YakShavingCatHerder.noreply@github.com
5ffd36d869008d618bce87a0a1a4aa4f68b48187
d7c906197941a8c0f74674843da8b00fd3fdb06b
/api/application.py
4531500e225944ee507ecccc252e1ed518ddfbd8
[]
no_license
assarar/middleware
c5aebc49bf2f0060c89ab23edb7af2bd4571f9a8
281e18524fa2b0db57a2d7473e07dd37b8e85c9b
refs/heads/master
2023-02-16T04:28:01.508871
2019-02-08T07:09:44
2019-02-08T07:09:44
156,621,137
0
0
null
2023-02-02T04:29:48
2018-11-07T23:17:33
Python
UTF-8
Python
false
false
910
py
from flask import Flask from db import MysqlDatabase app = Flask(__name__) connector = MysqlDatabase(host='localhost', user='root', password='', database='sih') @app.route('/') def main(): return "Microservice (patient) en marche !" @app.route('/patients', methods=['GET']) def getPati...
[ "ouafae.assrar@gmail.com" ]
ouafae.assrar@gmail.com
b720b9c5a348255e3b970540d2f67bbf1a434b9c
0061ce5fa45763d99ca230c5a8989ab775ff62b0
/src/machine_learning_main.py
0ceaada39f19980993eadc0ae49dec9cbd8db8b0
[]
no_license
marianolongo/va-tp-deteccion
f1f9590d2a35586cbea18dc5b0d7587c15969b8c
840547e6ee223db9c49afa0e7ac026795d734e13
refs/heads/master
2022-12-21T13:33:25.407990
2020-09-25T04:38:28
2020-09-25T04:38:28
298,467,462
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from src.machine.utils.hu_moments_generation import generate_hu_moments_file from src.machine.utils.testing_model import load_and_test from src.machine.utils.training_model import train_model generate_hu_moments_file() model = train_model() load_and_test(model)
[ "mariano.longo@ing.austral.edu.ar" ]
mariano.longo@ing.austral.edu.ar
5a9dff2f0a91e131b60e46a368beace41b98b3dd
f0c9df58c012c7fcd64346cc5a3ac0275656156f
/BM3D_py/cpp2py_test/close_power_of_2_test.py
c16be25364ba84dcdf092a1eaef023b746667cfd
[ "MIT" ]
permissive
oleges1/denoising_project
48c32e419bd9172354b6bf30eae7fe47db37817d
c2b5048db3dd2bf3261d0cd2e8fec0588d765387
refs/heads/master
2023-01-02T08:23:54.705304
2020-10-22T14:35:19
2020-10-22T14:35:19
306,343,881
2
1
null
null
null
null
UTF-8
Python
false
false
508
py
import numpy as np def my_closest_power_of_2(M, max): M = np.where(max < M, max, M) while max > 1: M = np.where((max // 2 < M) * (M < max), max // 2, M) max //= 2 return M def closest_power_of_2(n): r = 1 while r * 2 <= n: r *= 2 return r if __name__ == '__main__': ...
[ "ya.hef@yandex.ru" ]
ya.hef@yandex.ru
4db7df871d0e756cc3c77119d78e5b1511d56535
bea2621cfdd7e7bb9390339bb87e5692806a645f
/verticalShift.py
7ae1dd1b30c68ede9ee320b49068a5eefdfca7f5
[]
no_license
Artmann/data_augmentation
1afd0b2a93a268770ef31de3b98efff7d7bf5a65
f4c908613a2988f04ef1a45a7d21baa6e47305b7
refs/heads/main
2023-02-22T23:37:37.709027
2021-01-24T07:50:39
2021-01-24T07:50:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
# python program to demonstrate the vertical shift of the image with the height_shift_range argument # we import all our required libraries from numpy import expand_dims from keras.preprocessing.image import load_img from keras.preprocessing.image import img_to_array from keras.preprocessing.image import ImageDataGene...
[ "noreply@github.com" ]
Artmann.noreply@github.com
9ef454972e6ab905dfec2327debb7474b0fc91fc
eeebae33ee2da583b464bb675cb6c81119524635
/fsdet/modeling/postprocessing.py
8acf145378d611b6b3d701c952733f6f7e27efed
[ "Apache-2.0" ]
permissive
rakshitsakhuja/fsodet-run
1fe37c752ddc41b3b08cc6e706876edd0606372f
f663f701fb44915eb6de6e3bf8a9b5860db1f4c0
refs/heads/master
2023-04-10T23:08:58.718076
2021-04-25T09:33:58
2021-04-25T09:33:58
341,829,584
1
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from torch.nn import functional as F from fsdet.structures import Instances def detector_postprocess(results, output_height, output_width): """ Resize the output instances. The input images are often resized when entering an object de...
[ "masterkidster@gmail.com" ]
masterkidster@gmail.com
a6d0047071d0b232286f98b5287c49a605e6a21e
320a98d428bf06eff6f3f209b1eadeb366a65482
/common/version.py
c4dd9de7ffd4c1b577a51386ff7b1cc74c444cd3
[]
no_license
Ryan--Yang/share
6fe8b21918206fed903bd7a315216b47e58f697e
4acc658f7c0a8f1b50f7b5c0b8884b96fe1e137d
refs/heads/master
2020-12-31T02:42:22.125477
2013-12-04T07:27:53
2013-12-24T01:54:38
14,791,494
0
2
null
null
null
null
UTF-8
Python
false
false
4,644
py
from util import * default_java_file = '/usr/lib/jvm/default-java' gcc_file = '/usr/bin/gcc' def handle_option(): global args parser = argparse.ArgumentParser(description = 'Set up the version of Java', formatter_class = argparse.RawTextHelpFormatter, ...
[ "yang.gu@intel.com" ]
yang.gu@intel.com
c93b3085e92eda3e230de1b7f13d0c1ee4cdba54
e187a8b23f47d7124b53682452658d9bfc2066d0
/CloudTest/CloudTest/node_ta/agent_quick_flaw_scan.py
b5b17408fff8833bfb8bd104320d745d1319442a
[]
no_license
PhelanWang/CloudProject
6f4f1e16f6f6c71b8071f8361ae2ecf5bdf82c2d
d103dbe2e0a81c6f957331f51a1c13b133aae94f
refs/heads/master
2022-07-06T21:22:35.299093
2019-04-18T13:25:59
2019-04-18T13:25:59
166,331,942
0
0
null
null
null
null
UTF-8
Python
false
false
5,677
py
# -*- coding: utf-8 -*- __author__ = 'root' def is_load_external(): return globals().has_key('AGENT_LOADER') # Execute this while run this agent file directly if not is_load_external(): # Import ctest package from lib.agent.ctest import SwitchAgent # Create SwitchAgent instance agent = SwitchAge...
[ "1825633959@qq.com" ]
1825633959@qq.com
4de8e6f3f997c044235468a34eb39dc9ca07df91
df458ae26f8e1b59e4fc4273701f77cc2e340a3c
/tests/test_viewgroups.py
a7c869008bd24a94bbc80a387a23758393244f2e
[ "BSD-3-Clause" ]
permissive
radiac/django-fastview
64bcf3f07ed62a1863b5a402d1fedc998ed433f3
daf898f416c3f89efc3ef290f8158232d055af36
refs/heads/develop
2023-03-20T22:49:14.789026
2022-10-02T19:43:22
2022-10-02T19:43:22
230,815,383
13
1
NOASSERTION
2023-03-04T05:44:10
2019-12-29T23:26:56
Python
UTF-8
Python
false
false
1,637
py
""" Test viewgroup """ from fastview import permissions from fastview.viewgroups import ModelViewGroup from .app.models import Entry def test_modelviewgroup_permissions__permissions_set_on_subclass(): class TestPermission(permissions.Permission): pass test_permission = TestPermission() class En...
[ "git@radiac.net" ]
git@radiac.net
10e8fdc24e2631260da50fd20f4deaaab12510ab
c1e0874f55d05ee990ed2d637c2910701b32d246
/soft_uni_fundamentals/Data Types and Variables/exercises/03_elevator.py
6b18bc3621dfad99d97435503cea446731f70608
[]
no_license
borislavstoychev/Soft_Uni
5d047bef402c50215e0abc825476326889ffd0be
ccc0b2fb18f8ad6809b475eb20e82a9e4eb4b0b0
refs/heads/master
2023-05-11T12:27:08.672058
2021-05-28T18:00:10
2021-05-28T18:00:10
277,556,731
3
2
null
2021-02-11T19:57:37
2020-07-06T13:58:23
Python
UTF-8
Python
false
false
119
py
n = int(input()) p = int(input()) if n % p == 0: courses = n//p else: courses = n // p + 1 print(courses)
[ "noreply@github.com" ]
borislavstoychev.noreply@github.com
a51b08bd33feac6916911115650f7cd6e8d8124f
194d3a2a704497ab4462cf29528df030cc8ddc54
/binarysearch.py
04cbc935c02205db3c05a96f4aa1ca346e00c2d6
[]
no_license
nitinps/PESU-IO-SUMMER
f3525d76f55cddb92111641fd1ca3dcad338fb1e
e197c6f95ebd3f3c68bde0715656c713903f7cdc
refs/heads/master
2020-05-31T15:17:13.064978
2019-07-07T17:34:49
2019-07-07T17:34:49
190,353,399
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
numbers=[] pos=-1 found=0 low=0 high=int(input("Enter length of list: ")) print("Enter numbers: ") for i in range(0,high): k=int(input()) numbers.append(k) x=int(input("Enter number you want to search: ")) while low<=high and found==0: mid=int((low+high)/2) if(numbers[mid]==x): pos=mid found...
[ "51399837+nitinps@users.noreply.github.com" ]
51399837+nitinps@users.noreply.github.com
5415aabb59728ebc4a5c6162aa5db91bddd6490d
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/envs/devstack_docker.py
2eece814deae2c31cf5456b34af9e0f386c38c4e
[ "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
129
py
""" Overrides for Docker-based devstack. """ from .devstack import * # pylint: disable=wildcard-import, unused-wildcard-import
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
6aa5681f125b8a73167c2dfdba8b7fdb9c678e06
2901489f227a97e25c0c65240628af40bc1c167d
/django_razorpay/src/migrations/0004_auto_20210803_0954.py
c11b15126b7c7287e82765af0b514b37634dbfcf
[]
no_license
P-1702/Payment-Gateway
5452c0ea4acd8fd4a0fcdf5a0ce557ca06eaa099
f9c1fa326a7851d231cdf8de3b73357abfd20b8e
refs/heads/master
2023-07-01T19:08:47.048874
2021-08-04T12:38:57
2021-08-04T12:38:57
392,681,334
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
# Generated by Django 3.1.7 on 2021-08-03 04:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('src', '0003_auto_20210803_0949'), ] operations = [ migrations.RenameModel( old_name='Payments', new_name='Payment', ...
[ "muprat172@gmail.com" ]
muprat172@gmail.com
5175327d4e1008c88bb99408d5bb2c97b9319872
9a116b59c4f05e18a4899dd4aa544e9f73e4a680
/main.py
4c353f3f34d07ead92107133e104399fa1c1cef4
[ "MIT" ]
permissive
grostein/security_cam_storage_App_Engine
3734e11996a682ad07b0993dc479cd97ee665b8f
b4cceeeff1468068cb03b68efa6300d620c026a6
refs/heads/master
2021-01-10T10:58:37.406210
2015-12-30T10:57:28
2015-12-30T10:57:28
48,793,695
0
0
null
null
null
null
UTF-8
Python
false
false
2,963
py
import webapp2 from google.appengine.api import users from google.appengine.ext import ndb from modelli import * from datetime import datetime, timedelta from email import email import logging def sicurezza(self): user = users.get_current_user() if user: if user.email() == email: pass else: self.redirec...
[ "massimiliano@iviaggidellemeraviglie.com" ]
massimiliano@iviaggidellemeraviglie.com
e8ad07e31379beae3dffbece9f29e72942cd9ab7
9f2a944624d3499555e31b384fc0611a4a834b41
/cookies-ver.py
906cb912efe7683f08d77f771b218d77cd7ee3c3
[]
no_license
silver926z/cprog_parser
8c3079c85fd92864745baf169d064b50ddf685c4
b6f4616a26483275fb3860ca2be7a35fd854a850
refs/heads/master
2021-01-25T09:37:27.526275
2017-06-09T12:53:37
2017-06-09T12:53:37
93,858,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
import requests from bs4 import BeautifulSoup import lxml url = "http://www.niotv.com/i_index.php?cont=day" headers = { "Host": "www.niotv.com", "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:43.0) Gecko/20100101 Firefox/43.0", "Accept": "image/png,image/*;q=0.8,*/*;q=0.5", "Accept-Language": "zh-TW...
[ "silver926z@gmail.com" ]
silver926z@gmail.com
7e8163e5286903c46159443b731345784fe85218
de69dd4c86f7c7b0a5a1fa0c27fb45c8241b36ea
/reserveTime/asgi.py
ea213ba502d8da84f87ec7ab762a76eb8928f976
[]
no_license
Sim30n/DIY-online-booking
bec065abc546b9915c3bbab9af3f7e6d7a797be9
68ab52506d0294260f7746762908265738854007
refs/heads/main
2023-03-10T03:05:59.492591
2021-02-21T14:35:57
2021-02-21T14:35:57
336,381,521
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for reserveTime 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "petteri.sarkka@fmail.com" ]
petteri.sarkka@fmail.com
a6c3b2d3c30d77febcd634cf65a7f06d7baf74a8
bd408f54b0bcd9c37c2fe38195a1caa3480c1d68
/library/rekognition.py
96c999a38a26a64154d6dafd33615b95b7d5ac07
[]
no_license
clara081094/refactoredRekognition
601c33396dbeb9cf2d799537e85beb6d7bc712c8
4f61d2727a22c6de021a6d28077fa5cc3aabb02e
refs/heads/master
2023-09-04T03:15:08.615401
2019-02-01T19:11:35
2019-02-01T19:11:35
168,747,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import boto3 import json #from botocore.exceptions import ClientError class Rekognition(object): def __init__(self): self.client = boto3.client( 'rekognition', region_name="us-east-1", aws_access_key_id="AKIAIMM524QL43QPT43A", aws_secret_access_key="Un70EtWSf6CzK...
[ "clara.081094@gmail.com" ]
clara.081094@gmail.com
390b2f724eeeaf6d0e23372bb737c97147f3ea23
415e11fbf113512c3b2081a55796bcddc652b34e
/main_app/urls.py
c1775d5a977858c3a241602eb866ef810f1db2f1
[]
no_license
cooperama/candy-collector-v2.0
e51cdbcd67071e0423c22038843f96939fb04cc8
26cb58d875313693a5ec477a5bbe4efb204d9017
refs/heads/master
2023-02-03T13:46:39.190537
2020-10-31T21:33:13
2020-10-31T21:33:13
322,905,474
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from django.urls import path from . import views urlpatterns = [ # Static path('', views.home, name='home'), path('about/', views.about, name='about'), # Candy path('candy/', views.candy_index, name='candy_index'), path('candy/<int:candy_id>/', views.candy_detail, name='candy_detail'), pat...
[ "coope133@gmail.com" ]
coope133@gmail.com
ff91889dcdaa347c138e4b81f3c25c581ec6ac76
f3c380495cda1fe7d791c421216bc3d373b44b5a
/lambda.py
ef1b5c3f683d7538fc93d2b877bc9f34727b55ee
[]
no_license
siwangqishiq/PythonLearn
01c63703b1dafbf4eec27a7b6e6846413045efb3
275b1becb1be9cca566956e6f58088e983e68208
refs/heads/master
2021-08-23T10:19:52.189996
2017-11-12T06:33:20
2017-11-12T06:33:20
105,995,836
1
1
null
null
null
null
UTF-8
Python
false
false
262
py
def main(): data = [{"name":"毛利兰","age":17},{"name":"工藤新","age":18},{"name":"鲁鲁修","age":16},{"name":"夜神月","age":20}] for d in data: print(d) print("="*50) data.sort(key = lambda x:x["age"]) for d in data: print(d) main()
[ "525647740@qq.com" ]
525647740@qq.com
eed858b8e82142df84227a811836ca3ac041cc93
f74602a8f37fc9357ba7d638ada8f0df8e2d85c1
/CFG.py
da09e3c8ab87ee2df8b5323b4fb99de443f08c81
[]
no_license
VictorTonyXie/PDA2Chomsky
128d34f580bbdf38aec4688e5f9f284330184d98
5014f463f8780fb54f25f3d6cd2d0c7bf3cc5a4f
refs/heads/main
2023-02-10T16:24:56.513324
2021-01-03T11:23:39
2021-01-03T11:23:39
326,349,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
class CFG: variables: list[str] = [] terminals: list[str] = [] start_variable: str production_rules: dict[str, list[list[str]]] = {} def __init__(self, variables: list[str], terminals: list[str], start_variable): self.variables = variables.copy() self.terminals = terminals.copy() ...
[ "taoxie2006@126.com" ]
taoxie2006@126.com
6653c822271f595c1ee6011406a88613852cd291
3325f16c04ca8e641cbd58e396f983542b793091
/Seção 13 - Leitura e Escrita em Arquivos/Exercícios da Seção/Exercício_04.py
3140f4c4229bb75d6849a37c399fbae14f608b1f
[]
no_license
romulovieira777/Programacao_em_Python_Essencial
ac929fbbd6a002bcc689b8d6e54d46177632c169
e81d219db773d562841203ea370bf4f098c4bd21
refs/heads/master
2023-06-11T16:06:36.971113
2021-07-06T20:57:25
2021-07-06T20:57:25
269,442,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
""" 4) Faça um programa que receba do usuário um arquivo texto e mostre na tela quantas letras são vogais e quantas são consoantes """ from Exercício_03 import conta_vogais def conta_consoantes(txt): """Retorna a quantidade de consoantes que existe no texto recebido por parâmetro. Caso o que for recebido por...
[ "romulo.vieira777@gmail.com" ]
romulo.vieira777@gmail.com
85459e0cbd82140fa14886b0e5285bd8b8a76a28
b1303152c3977a22ff9a0192c0c32310e65a6d77
/python/567.permutation-in-string.py
c5487e09f925108dce4b4931b43c66fadd915fda
[ "Apache-2.0" ]
permissive
stavanmehta/leetcode
1b8da1c2bfacaa76ddfb96b8dbce03bf08c54c27
1224e43ce29430c840e65daae3b343182e24709c
refs/heads/master
2021-07-15T16:02:16.107962
2021-06-24T05:39:14
2021-06-24T05:39:14
201,658,706
0
0
Apache-2.0
2021-06-24T05:39:15
2019-08-10T16:59:32
Java
UTF-8
Python
false
false
81
py
class Solution: def checkInclusion(self, s1: str, s2: str) -> bool:
[ "noreply@github.com" ]
stavanmehta.noreply@github.com
744efb60853dbb0d6435abca149d3b53b7da4457
641ff329536c95de473e9dfdeeb844f0eb6948b6
/backend/tests/search/query_builder/test_create_query_filter.py
01dc341f947b762f606816180ad34570ab6be609
[ "MIT" ]
permissive
dnum-mi/cartographie-donnees
573a852f685180c7a6657f11a977ecedf7f0541d
26850923764ab4173b6824dff5c6bb3dbb753915
refs/heads/main
2023-08-16T04:26:41.158107
2023-01-20T13:01:14
2023-01-20T13:01:14
416,670,629
11
7
MIT
2023-03-30T14:29:31
2021-10-13T09:24:45
JavaScript
UTF-8
Python
false
false
3,778
py
from typing import List from pytest_unordered import unordered from app.models import Organization from app.search.enums import Strictness from app.search.query_builder import create_query_filter def test_query_with_filters_and_text(sample_organizations: List[Organization]): query = create_query_filter( ...
[ "yann.carfantan@artelys.com" ]
yann.carfantan@artelys.com
fdfd405481a69ee32d75908d3217785d365d90a4
f6fafb196e9e68e3f849ec4dfa4046632380c822
/100 days of code/day 17/quiz_brain.py
450561a3478070d271164a21cc5acb2a8888923b
[]
no_license
Juozapaitis/100daysOfCodeUdemy
77f0f2c658952e6bed5d776ff135233d96328471
4de48a778ea438f5c36f6d9638c3c01a7d7437ff
refs/heads/master
2023-09-02T04:53:47.604007
2021-10-20T08:42:04
2021-10-20T09:30:00
419,249,733
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
class QuizBrain(): def __init__(self, questions_list): self.question_number = 0 self.score = 0 self.questions_list = questions_list def next_question(self): current_question = self.questions_list[self.question_number] self.question_number += 1 user_answer = inpu...
[ "justasjuozapaitis65@gmail.com" ]
justasjuozapaitis65@gmail.com
4ef4c33489c9c34b2e73cd65241fe22cde9f4cb9
6a5732f38be806ffa0a8f44a687e74035fab24b8
/factory-ai-vision/EdgeSolution/modules/PredictModule/utility.py
d810717a8e61be9ed01af770a35147dd2f4db344
[ "MIT" ]
permissive
dlepow/azure-intelligent-edge-patterns
ccf92a29c95a419cae29142fb620a2bc14745f44
60ca7203115bdf26932e7bc037c37b2a7dac5756
refs/heads/master
2023-03-09T17:22:03.827655
2021-02-05T14:19:00
2021-02-05T14:19:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,243
py
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for # full license information. import glob import json import logging import os import shutil import socket import subprocess import subprocess as sp import sys import time import urllib.request as u...
[ "ronpai0919@gmail.com" ]
ronpai0919@gmail.com
6d7552c80362211c8655afa1523750f82b5f34b9
cbdbb05b91a4463639deefd44169d564773cd1fb
/djangoproj/forms_lab/lab/models.py
a49bb957d8bc48b023dce230a3be6f848e11e28a
[]
no_license
blazprog/py3
e26ef36a485809334b1d5a1688777b12730ebf39
e15659e5d5a8ced617283f096e82135dc32a8df1
refs/heads/master
2020-03-19T20:55:22.304074
2018-06-11T12:25:18
2018-06-11T12:25:18
136,922,662
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
from django.db import models class Nakup(models.Model): datum_nakupa = models.DateField() trgovina = models.CharField(max_length=30) class NakupIzdelki(models.Model): nakup = models.ForeignKey(Nakup) izdelek = models.CharField(max_length=30) kolicina = models.IntegerField(default=1) cena = mo...
[ "blaz.korosec@mentis.si" ]
blaz.korosec@mentis.si
34a8a5d6bf82521b2d655e068ef808d27f366861
13fa7bc8ac70b217382459a136b0125813328410
/Util/SocketServer.py
bb3a83b9d06070420d323a74df2e648676fb1875
[]
no_license
Leia1002/Rizhao-master0803
ca8ba452aa52d99301aec0a120690729d49ce90d
b5d2427eb96068fdcaa57402ad3b11f36aca3736
refs/heads/master
2020-03-25T04:44:10.661627
2018-08-28T12:45:33
2018-08-28T12:45:33
143,410,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
# -*- coding: utf-8 -*- import threading import time from Util.Dispatch import Dispatch ''' 此处以后再加入java互动 开始线程,本类其实是一个定时器作用 ''' class SocketServer(object): def everyMonth(self): while True: lock = True # todo:bug 此处循环无数次,如何设置为一次 if time.strftime("%d") == '1' and lock...
[ "mafei@Hisense.ad" ]
mafei@Hisense.ad
4fcb401701f06fd6fd59e2e4e19e1e9a75953692
0f4c9d1a717b362291ce6eedca3160ce23532e0d
/day-35-rain-alert/main1.py
8ee7f6f3d2cf2789304b054cada1e1d35724b7f7
[]
no_license
leba0495/100-Days-Of-Python-Journey
2de22e784b3b18e00edf60ad788158a3c169d14e
9df993b10c29f610b5d7504b0c3a29e08677ce77
refs/heads/main
2023-02-22T08:47:34.588505
2021-01-24T23:37:57
2021-01-24T23:37:57
324,022,719
1
1
null
null
null
null
UTF-8
Python
false
false
1,340
py
import requests import os from twilio.rest import Client from twilio.http.http_client import TwilioHttpClient # Info for request from OpenWeather OWM_Endpoint = "https://api.openweathermap.org/data/2.5/onecall?" API_KEY = os.environ.get("OMW_API_KEY") MY_LAT = 40.678177 MY_LONG = -73.944160 # Info for twilio function...
[ "noreply@github.com" ]
leba0495.noreply@github.com
5211a4898c1a211510a8046ed40929d34e12d441
867437c13bad3c10c2c2e78eeab0827b6a46c754
/app/main.py
3d62cd7d3f6cc56e31c2739ea35420cc57ee08f3
[]
no_license
BoredTweak/heroku-api-redis-demo
40e6fe34a2c884297ccc7fc4fb211eb62781e780
fc024821467a5ba4b59821b8020437845108f3f0
refs/heads/main
2023-07-25T02:53:09.298035
2021-08-25T16:18:26
2021-08-25T16:18:26
399,864,452
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import threading import redis import sys import time from fastapi import FastAPI import os from dotenv import load_dotenv load_dotenv() hostAddress = os.environ.get('REDIS_URL') port = os.environ.get('REDIS_PORT') app = FastAPI(root_path='/api') @app.get('/heartbeat') def get_heartbeat(): r = redis.Redis(host=ho...
[ "alex.elia37@gmail.com" ]
alex.elia37@gmail.com
252f6b30ab9c777e478f9d48787a4711d088af58
9729365a58351c9cf42edb932b8272db8ca98b6f
/CRIMSONModuleTemplate/Template/SolverStudies/template.py
45d2b6ae369ddfa9a4917b294becfc854d13af01
[]
no_license
rkhlebnikov/CRIMSONPythonModules
fbde5666aceae947a575f661518306694f052559
b72865579e3b503940986e9217d3541a66ee92d5
refs/heads/master
2023-03-04T03:06:37.004018
2021-09-21T20:42:30
2021-09-21T20:42:30
48,180,113
3
3
null
2023-03-01T15:25:27
2015-12-17T14:50:33
Python
UTF-8
Python
false
false
1,700
py
from PythonQt import QtGui from PythonQt.CRIMSON import FaceType from PythonQt.CRIMSON import Utils from CRIMSONCore.SolutionStorage import SolutionStorage from {{ModuleName}}.BoundaryConditions import ({{#BoundaryConditionNames}}{{name}}, {{/BoundaryConditionNames}}) class {{ClassName}}(object): def __init__(sel...
[ "r.khlebnikov@gmail.com" ]
r.khlebnikov@gmail.com
a341ca2afe835fa5c459a897d33b89eeafb9f226
8e7421d340586a8d1d93304add04daf51506ada5
/image_beautify/image_histogram_equalization.py
26e976a007184c7c29e401198ffed20170f226d0
[]
no_license
wddzz/opencv_and_tensorflow_study
a419d5d951be1ba52cbdbc3aafafb93092e643f1
f89639af5268df00899601fa0e525afa0b63a713
refs/heads/master
2020-03-22T16:01:34.602285
2018-08-01T15:57:18
2018-08-01T15:57:18
140,297,326
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
import cv2 import numpy as np img0 = cv2.imread("H:\\Files\\image_process\\damimi.jpg",1) # 灰度 直方图均衡化 # gray = cv2.cvtColor(img0,cv2.COLOR_BGR2GRAY) # dst = cv2.equalizeHist(gray) # 彩色 直方图均衡化 # (b,g,r) = cv2.split(img0) # bdst = cv2.equalizeHist(b) # gdst = cv2.equalizeHist(g) # rdst = cv2.equalizeHist(r) # dst = cv2...
[ "406452653@qq.com" ]
406452653@qq.com
2eef82d1bf14b03fe93199ebb554bad4dae8ae0a
ec3f9f1b1327ec8a69bd2fc056cdb2dbf7c243d3
/week_1/Solution_4.py
7651516d57b86a5b26049840c54e0379842a2db2
[]
no_license
WhiteFeniks/Python_Cursera
e5d7e04c40eb586a9763f38de55c88cfb77318a4
0dbb85f0a225e7152599bbea75e1637d8f4dd04c
refs/heads/master
2022-11-15T22:39:35.663524
2020-07-11T16:55:39
2020-07-11T16:55:39
278,734,455
1
0
null
null
null
null
UTF-8
Python
false
false
32
py
n = int(input()) print (2**n)
[ "macbookair@White-Fang-Mac.local" ]
macbookair@White-Fang-Mac.local
d8d5fb0ee104918f31eeef19697fffe2a9eb2015
9e5c864130ba4f9ae257ba0709cda1263f7b402a
/teststr.py
0a54138cc9d82da409060d28364758c3a99d0adb
[]
no_license
LBJ-Max/basepython
ee7ce77247f92de009b0724d2656d3ddbd085130
b7c2ee2af628125584372371389598fe81708468
refs/heads/master
2020-06-25T11:27:40.459374
2019-07-28T14:21:56
2019-07-28T14:21:56
199,296,609
2
0
null
null
null
null
UTF-8
Python
false
false
214
py
hello_str = "hello world" # 1.统计字符串长度 print(len(hello_str)) # 2.统计字符串出现次数 times = hello_str.count("l") print(times) # 3.某个字符串出现的位置 print(hello_str.index("llo"))
[ "fenggaopan@dangdang.com" ]
fenggaopan@dangdang.com
7cc0f99a45c4afebcd51d2a614f223eba92ad6fd
e2561aaf3fec80646c0c44fa369d062865bd8f39
/backend/tests/views.py
eced51ac47ebd25216bd2576375aff6912fed3bf
[]
no_license
prakritimaddheshiya/tests
b4fb2ba91f7d51d6f4c5dd2da0a8a38c3ff8fd29
91cffb07fa0ab674b0e49e11b6f8d5c39159357e
refs/heads/main
2023-04-20T15:59:08.619385
2021-05-17T11:26:57
2021-05-17T11:26:57
368,150,110
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView from .models import Tests from .serializers import TestsSerializer class TestsCreateView(APIView): def post(self, request): serializer = TestsSerializer(data=request.data) if se...
[ "ayushgupta0010@gmail.com" ]
ayushgupta0010@gmail.com
a3e8f85b15362854f00e8158fedd47775ff9a1fb
9b5597492e57313712c0a842ef887940f92636cd
/judge/sessions/2018Individual/sgessow@gmail.com/PB_02.py
f67c2bfbbc1ddd96d57cfd996db5fcf43c0930bf
[]
no_license
onionhoney/codesprint
ae02be9e3c2354bb921dc0721ad3819539a580fa
fcece4daf908aec41de7bba94c07b44c2aa98c67
refs/heads/master
2020-03-11T11:29:57.052236
2019-05-02T22:04:53
2019-05-02T22:04:53
129,971,104
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
Cases=input() Cases=int(Cases) for i in range(Cases): Num1= [int(x) for x in input().split()] Num2= [int(x) for x in input().split()] Num3= [int(x) for x in input().split()] count=0 ans=[] for i in Num1: if i==1: ans.append(count) count=count+1 count=0 for i i...
[ "root@codesprintla.com" ]
root@codesprintla.com
565f68b1cd1ccd748262cc61ea4bcdfe3a049ade
42362ce3f8da59b0ba70a844243d1323221c084c
/umari.py
4229ba2d347f356b60df256af1f114bf5cd8e5a6
[]
no_license
Umaritfs/fb
3c741099ca013b28775f0078459ed45454c353da
c69dbbc930106cbfe1d5625b247831a77a14dc9c
refs/heads/master
2022-04-24T12:14:33.531320
2020-04-30T09:08:06
2020-04-30T09:08:06
260,159,938
0
0
null
null
null
null
UTF-8
Python
false
false
17,013
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
Umaritfs.noreply@github.com
c361dedd1d0804ff593bc36fb18646206b67bd9a
289697340c92e61dacbb921b7fd63201e7056eea
/agv2/Paint.py
761918a9305fd2b0c163a661786923f90080b35c
[]
no_license
zhenhuic/projects-summary
51a5c6e1411c69d96491a7775d7ce1ae8a1714bd
bb7dce6b5e2b18d783bec6dddca203721462e709
refs/heads/master
2022-12-30T22:24:14.788445
2020-10-23T13:13:34
2020-10-23T13:13:34
252,084,716
0
1
null
null
null
null
UTF-8
Python
false
false
17,313
py
import sys, math from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import Qt, QRect import time #from carshow import Ui_mainwindow # 读取所有点的数据 并用字典 id:[x,y]存储 def readpoints(): points = {} with open('newpoint1.txt') as f: for line in f: point = line.split(',', -1)[0...
[ "zhenhuiccc@gmail.com" ]
zhenhuiccc@gmail.com
618d26a1de085c3b232b50f8a719c096a1a4c389
b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23
/Python/Regex and Parsing/Validating phone numbers/attempt2.py
2b2d832379b0eb3a6171a2ff4bfd378358e9b641
[]
no_license
rsoemardja/HackerRank
ac257a66c3649534197b223b8ab55011d84fb9e1
97d28d648a85a16fbe6a5d6ae72ff6503a063ffc
refs/heads/master
2022-04-14T22:46:03.412359
2020-04-03T07:44:04
2020-04-03T07:44:04
217,687,370
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
import re n = int(input()) for _ in range(n): if re.fullmatch('[789]\d{9}', input()) != None: print('YES') else: print('NO')
[ "rsoemardja@gmail.com" ]
rsoemardja@gmail.com
b5bfb5e75a09d0dabb71a971677befdb2e4ce011
b0c40ad8f68f099a49449efcc037ee6bfdafa5e2
/python/20190508 challenges/fizzbuzz_game_answer.py
4dd00810b33d34b2ec089b8d909508c36943b60a
[]
no_license
behappyny/python_study
f8f2dc1ed7070290af82274da5c411e68e19e2a8
556c715047d09d60213f9d098ebd29124a9fdc0a
refs/heads/master
2020-03-08T13:31:34.955775
2019-05-14T03:13:25
2019-05-14T03:13:25
128,160,093
2
0
null
null
null
null
UTF-8
Python
false
false
147
py
a = 30 if a % 15 == 0: print('FizzBuzz') elif a % 3 == 0: print('Fizz') elif a % 5 == 0: print('Buzz') else: print('a')
[ "noreply@github.com" ]
behappyny.noreply@github.com
6698de943e743d11300f391dd839dad9369a9914
c2f4afee3ec4faef7231da2e48c8fef3d309b3e3
/AppendFile.py
7fcd0d08932bb7aacd4bdcc2a8461d8776ca7cac
[]
no_license
tanu312000/pyChapter
a723f99754ff2b21e694a9da3cb2c6ca0cd10fce
2fd28aefcbfaf0f6c34db90fdf0d77f9aea142ce
refs/heads/master
2020-05-03T15:51:34.334806
2019-03-31T16:17:45
2019-03-31T16:17:45
178,712,059
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
'''#WAP to read line by line from keyboard & append to a list until n times. Break the loop under break condition. #Step:1 # 1)ReadLine from keyboard Line=input("Enter a Line"+"\n") # 2)Append in the list li=[] li.append(Line) # 3)Until n times while True: Status=input("Do you want to continue") # 4)Break th...
[ "tanurocks90@gmail.com" ]
tanurocks90@gmail.com
011d3b37d7cb2a349a9f335003c370504e1fc868
26fb93b2df4b6226e708027beccb2f0d442a4522
/MWTracker/GUI_Qt4/SWTrackerViewer/SWTrackerViewer_GUI.py
fbf28e5f0a9297acd767443f273c16285271614c
[]
no_license
KezhiLi/Multiworm_Tracking
bb4fd1d1beeab26f4402f5aa5a3f159700fa0009
cd91e968a557957e920d61db8bc10957666b6bc2
refs/heads/master
2021-01-22T16:10:23.591064
2016-04-13T15:51:18
2016-04-13T15:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,201
py
import sys from PyQt4.QtGui import QApplication, QMainWindow, QFileDialog, QMessageBox, QFrame from PyQt4.QtCore import QDir, QTimer, Qt, QPointF from PyQt4.QtGui import QPixmap, QImage, QPainter, QColor, QFont, QPolygonF, QPen from MWTracker.GUI_Qt4.SWTrackerViewer.SWTrackerViewer_ui import Ui_ImageViewer from MWTrac...
[ "ver228@gmail.com" ]
ver228@gmail.com