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
d8a6f08dd04ec9ae7d39e4517dc83f205c562ba9
e0212c9361a553c37df7f109e60c323c6bf32246
/minesweeper.py
a2bcbefceced04154cfc8b391b4ed0265f252653
[]
no_license
nickpwhite/minesweeper
27be10bdfe91089b995858c93fcc683e3c6094a2
a690a5d6bf47ab203df06d655a161e686ffd57e5
refs/heads/master
2020-03-11T21:47:01.071961
2018-04-19T21:32:01
2018-04-19T21:32:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,387
py
import random class Cell: def __init__(self): self.isVisible = False self.value = 0 self.isFlagged = False def __str__(self): if self.isFlagged: return '🚩' elif self.isVisible: if self.value == -1: return '💣' if se...
[ "nick41496@gmail.com" ]
nick41496@gmail.com
9a4f444ef136bc8766e3fde43a36cab0eb31ed99
0b347d1f766cba6c00a20ab02fe50f7ebb2e8754
/projet HTML fini/Exercices/Fonctions/exercice10.py
ee3e26933ea2057a3e14e8df398fccdba39db9aa
[]
no_license
AdriBird/SiteWeb
d2f20161c23c207c0544490c1842f39be523a326
37c59aa2c8f1f5bb41784da7cdb85c02e1b0633b
refs/heads/main
2023-04-27T04:39:14.736647
2021-05-17T09:29:15
2021-05-17T09:29:15
355,120,714
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
ma_chaine_1 = 2020 ma_chaine_2 = "le" res = ma_chaine_1 + ma_chaine_2 + "monde" print(res)
[ "jmear92@gmail.com" ]
jmear92@gmail.com
51b70b9324f5e51e8212940b9ce83e5d29286acd
9729b72f99ce764fcb2741af5914051f9dd2b87e
/app/models.py
150a6c279b5869fd6850f870261ca0aadc2b2aff
[]
no_license
sleong1/msa-webapps
eda01f5715aa87fed9debb48fec8c1036b9b6c88
2cfb9afe4d5ed861ec9fc05b244920ccac799c94
refs/heads/master
2022-12-07T10:05:04.010844
2020-09-04T04:30:09
2020-09-04T04:30:09
291,599,121
1
0
null
null
null
null
UTF-8
Python
false
false
620
py
from app import db from sqlalchemy_imageattach.entity import Image, image_attachment # Models class AllRecipes(db.Model): __tablename__ = 'allrecipes' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(64)) description = db.Column(db.String(512)) ingredients = db.Column(db.Stri...
[ "leongsuwen@yahoo.com" ]
leongsuwen@yahoo.com
f9a9a10310655241434c78951afb857b9bac83f5
0b0ca501c78908cbd84d79aea0c18dbe10ec2393
/venv/lib/python2.7/site-packages/novaclient/tests/unit/test_shell.py
86047923e37b149b127ab109abb24f1730372fc6
[]
no_license
Supriya30201/gskube
71c83528d0f425380f47e2c3148200e1b72c8a01
7a5c75ee7eabd39a3f286b22af8d7ce2d74225d0
refs/heads/master
2020-04-21T11:22:54.848625
2018-06-25T08:39:00
2018-06-25T08:39:00
169,523,236
0
0
null
null
null
null
UTF-8
Python
false
false
39,353
py
# # 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 agreed to in writing, software # ...
[ "rahul.mishra@gslab.com" ]
rahul.mishra@gslab.com
3327bd789cd44d894356311aa715e14c3e2975bf
d398bff6ef75eda209f815c93ef45e3c11b508a8
/CIS3210/Lab 10/lab10/tests/functional/test_users.py
9db55c302199eb9027d335f894eb6e6115ee0cda
[]
no_license
mtran155/uoguelph
1d8eb2f4d8e7f38647949de63d48d227a4037f47
ab35d69acb874ff76220397a2637023850e04a00
refs/heads/master
2021-01-10T06:50:17.999278
2015-12-04T21:02:29
2015-12-04T21:02:29
47,378,239
0
1
null
null
null
null
UTF-8
Python
false
false
718
py
from lab2.tests import * class TestUsersController(TestController): # def test_index(self): # response = self.app.get(url(controller='users', action='index')) # assert 'Home' in response def test_get(self): response = self.app.get(url(controller='users', action='userid')) assert "Getti...
[ "miketran155@gmail.com" ]
miketran155@gmail.com
455b313e95a0e259cb911bec579e4255b2a88b6b
f692aeee810dfaa5e78efbc2137535f3694f4bf4
/vertex_face_feature/vertex_functions.py
5a71154ce99c1163ca477c78cd6eee8dd2de1d31
[]
no_license
alikhanlab/Lesion-Clustering
e1ce3d13912e4df5a7fd001619e6e216d599ad5a
e0249c1f06300f49ec50e431baae98b5f7b6465a
refs/heads/master
2020-08-01T07:35:02.818796
2019-11-14T01:59:03
2019-11-14T01:59:03
210,915,896
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
import pandas as pd def create_vertex(df): ''' Takes df Returns df vertex coordinates # v1 = (+1/2 , +1/2, +1/2) # v2 = (+1/2, +1/2, -1/2) # v3 = (+1/2, -1/2, +1/2) # v4 = (+1/2, -1/2, -1/2) # v5 = (-1/2, +1/2, +1/2) # v6 = (-1/2, -1/2, +1/2) # v7 = (-1/2, +1/2, -1/2) #...
[ "nalikhan@bu.edu" ]
nalikhan@bu.edu
4ba5d130f9a73bb9196a02b349f5f8c4281bf1c9
a011b2c93c829781dd381d405d880445a9c5188b
/main.py
5921bd76daa813c7c754abd791a690224cd52013
[]
no_license
DavidRSeWell/ImageMLScaffold
704a015d575ecfc4590a7475eebe0c1f2e83c55d
5b62f75d94a29f974eae0d67e177ea72c51fb45b
refs/heads/master
2023-03-22T13:05:43.088243
2021-03-23T23:55:01
2021-03-23T23:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
import json import numpy as np from ml import data,utils from ml.designer import Designer def main(config_path): config = utils.load_config(config_path) print("CONFIG") print("----------------------------------------------------------") print(json.dumps(config, indent=4, sort_keys=True)) desig...
[ "dsewell@pdx.edu" ]
dsewell@pdx.edu
27f65268dc55bcd17b19df08d6232dc00b7385b2
9e5ac63135b43127d14e74b707d5c0dc846e07d2
/wikinterests/users/models.py
0b5f66774cfd451d55e94942b07527c57c9a8bd3
[]
no_license
Aayog/WikiNterest
4ce82d40cf886c095391921041431d556ee14b5b
ac5d2f29335a42e66f34b41ff18e481ce62f4e42
refs/heads/master
2022-11-10T01:41:50.298381
2020-07-05T14:36:30
2020-07-05T14:36:30
276,683,594
0
0
null
2020-07-03T16:41:53
2020-07-02T15:34:50
Python
UTF-8
Python
false
false
575
py
from django.db import models from django.contrib.auth.models import User class Category(models.Model): title = models.CharField(max_length=100) url = models.CharField(max_length=100) class Article(models.Model): title = models.CharField(max_length=100) url = models.CharField(max_length=100) class P...
[ "1aayogkoirala@gmail.com" ]
1aayogkoirala@gmail.com
d6787e11fbca103b10a569b2c9d9eacdc24cd19d
90094b0065058917b840226558b1712c9e69138e
/Exercise/Day1.3/ex2.py
43aa77b530e28d7c46a86b663c25a8cd8f99605e
[]
no_license
MinhTamPhan/LearnPythonTheHardWay
8008a33784e3c1b7f74bac6541cddb02e2eab0f2
099beaaba1edc426d1f144b1c0a0c901db40479e
refs/heads/master
2021-06-21T22:30:12.810483
2017-07-18T15:32:17
2017-07-18T15:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
# A comment, this is so you can read your program later # Anything after the # is ingored by python print "I could have code like this."# and the comment after ingored # You can also use a comment to "disable" or comment out a piece of code #ptint "this won't run." print "This will run."
[ "phanminhtam247@gmail.com" ]
phanminhtam247@gmail.com
99677e21c63be316461e81c583cece59ba4c30ec
0a227eb4db935d8c0d04a8075e067401d373e733
/backend/manage.py
d8971114ef826868e2d9db2398ba8841021a79e9
[]
no_license
crowdbotics-apps/tst-daniel-figma-de-22592
3639f7a97ebb0186f1f0181d889fa38e9f789241
52d451240ed42de2d8e6e8eb054e0bddecc024aa
refs/heads/master
2023-05-05T03:26:49.228604
2021-05-24T17:18:56
2021-05-24T17:18:56
370,423,052
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tst_daniel_figma_de_22592.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
487f1b80806f1d4101d12458b639f7942ce6b667
b4d04e3beaee3272835fe4fc85e8e0cbc798870c
/uebung/sets.py
87968839e12a19b523a136d065b9ec4ecb967bf5
[ "MIT" ]
permissive
wieerwill/Python-Intro
5e2c95946b64a169014b0587bd69ffafe2b1d4d5
6b6f1d8b1b5c95590ffe15b0b4ddf188b680b491
refs/heads/master
2022-01-19T01:53:22.489401
2022-01-11T15:11:41
2022-01-11T15:11:41
173,446,988
3
0
null
null
null
null
UTF-8
Python
false
false
438
py
# Öffne die ../data/names.csv - Datei als .csv-Datei und berechne die Anzahl der verschiedenen Vornamen, die in dieser Datei aufgelistet sind import csv names = set() with open('../data/names.csv', newline='') as csvfile: namereader = csv.reader(csvfile, delimiter=',', quotechar='"') counter = 0 for row ...
[ "robert.jeutter@gmx.de" ]
robert.jeutter@gmx.de
46142fed8a42b76bbcd40ef9e7a53b005fe228fc
07e803289e82ec0eb25d6b2aabc7093c42fdddb7
/primenums_occurance_plotter.py
a2cf899a60a63ace7ca5e4e8610657ec605c37fc
[]
no_license
joncokisler/Prime_Number_Occurance_Frequency_Plotter
173ca99e8b40b2c2c228d9fcba096dc3f7a04e25
306da5a8a7e660121c290b752d58a9efc572912e
refs/heads/master
2020-03-27T09:54:27.029397
2018-08-28T02:45:58
2018-08-28T02:45:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
import pandas as pd import matplotlib.pyplot as plt import math file = open('prime_numbers.csv', 'w') primes_list = [2] limit = 1000 a = 0 for i in range(3, limit): gate = True if i % 2 == 0: gate = False continue ## for j in range(2, int(math.sqrt(i))+1): ##math.sqrt(i) + 1...
[ "can.cokisler@gmail.com" ]
can.cokisler@gmail.com
0f44faa55dd74a6ff2459dd236af6e9efd69c83a
d9cc66f37c08ba7f3f1309c0932df137fef93fd0
/Appium+Mitmdump爬取b站番剧信息/run.py
4bf1f3057e790ebf45b453aeb5dd39decdc39783
[]
no_license
TechnologyDepartment/Python_Spider_AppSpider
4538b5925707a692c98cdf0fc648b8652d93ef05
eeee0fa14c091f699d2368e71ca3e327441fd20d
refs/heads/master
2020-08-30T02:41:36.389271
2018-08-03T14:15:42
2018-08-03T14:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from bilibili.Appium import Bilibili def main(): main = Bilibili() main.main() if __name__ == '__main__': main()
[ "guanwei006@gmail.com" ]
guanwei006@gmail.com
1942b79c10625cb0fcda6b40d916f376a98b7ad7
549c944ee0c743e5bf79c510fe03505d78ad356c
/food_order/urls.py
90152d26ca6d3039101d06efaa90ce62187ceef3
[]
no_license
mPooja-15/practise
a6792c431a76a68412aa488fd858116c5608e250
d81889a14706ed5c5c44d014b6aea716e0feacb8
refs/heads/master
2021-05-25T14:19:13.312333
2020-04-07T12:46:11
2020-04-07T12:46:11
253,786,330
3
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
from django.urls import path from . import views from django.contrib.auth import views as v urlpatterns = [ path('index_page/',views.index_page,name='index_page'), path('register/',views.register_user,name='register_user'), path('login/',views.login_user,name='login_user'), path('logout_user/',views.lo...
[ "mishrapooja8128@gmail.com" ]
mishrapooja8128@gmail.com
5cdd000db5a17f5c6b8d974f1ea18fe71bc2fd53
3b22eb1b5edd936ce1582295422d5101d85cf4b4
/day5/simple_math/setup.py
3d221c2688e14b3b29e611d3c8e709fd2e81cb83
[]
no_license
zhou436/advanced_python_assignments
1822240eb341ec300c5f54392e7dcf833214da2e
f086fff82e84067a3614a489d8c80773dee8426f
refs/heads/master
2023-03-07T17:18:24.192101
2021-02-19T16:19:36
2021-02-19T16:19:36
339,788,768
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from setuptools import setup setup(name='uu-bms-simple_math', version='0.0', description='Nothing', author='Yijun Zhou', author_email='yijun.zhou@angstrom.uu.se', license='BSD', py_modules=['simple_math'], packages=[])
[ "zyj19931230@gmail.com" ]
zyj19931230@gmail.com
865dc8309fd2470836c0870494552d1cf3796028
b7f40a654701e87b8bc3ec24a0c018982f85cd8f
/distruct/tests/test_Distructure.py
988f931e36ed51ef5241d50ca86574206eb243b0
[ "MIT" ]
permissive
AsclepiusInformatica/distruct
c07f9b233903a096864a6fca915c6576b0a8052e
c8633f4c90bbac8669efae43bda765dfa8b7348a
refs/heads/master
2023-03-30T14:03:26.259069
2020-06-17T16:08:22
2020-06-17T16:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
#!/usr/bin/env python3 ##################################### # # Filename : test_Distructure.py # # Projectname : diSTruct # # Author : Oskar Taubert # # Creation Date : Mon 11 Jun 2018 04:04:59 PM CEST # # Last Modified : Thu 28 Mar 2019 11:14:02 AM CET # ##################################### from Bio import SeqIO fr...
[ "oskar.taubert@kit.edu" ]
oskar.taubert@kit.edu
8f0d7371318bd0aff7f8a010412f044bdd8dd4a9
f0a20597594121d228798af6160a97c943e5ef93
/chap15/calcProd.py
0fdad3408d88fcc664842decba1364af39033a79
[]
no_license
febin89/automate_theboringstuff
c1cc15875f763d5bf3a841fbc873ac084a2f875f
3a28d95a69257b6c689c3ceed54243a2c74a83bd
refs/heads/master
2021-01-09T20:23:23.330662
2016-07-17T11:20:01
2016-07-17T11:20:01
63,527,035
0
1
null
null
null
null
UTF-8
Python
false
false
277
py
import time def calcProd(): product=1 for i in range(1,100000): product=product*i return product startTime=time.time() prod=calcProd() endTime=time.time() print('The result is %s digits long.' %(len(str(prod)))) print('Took %s seconds to calculate.'%(endTime-startTime))
[ "a@jfh.com" ]
a@jfh.com
ea59816d8bbd0ddcee9cb8a67eb5006a8d7b55fa
081f423c0e18eda780e517d760bb413a067da58b
/demo/settings/development.py
299c53343536616f69a56e085db1523d479e48de
[]
no_license
Frozen-Burrito/DjangoBoilerplate
65f09dbc0734072f66da6710a9f44c883699fc8b
b17a8b56836b06d6e96402e4d538722d9d1cd06e
refs/heads/master
2021-10-09T12:37:39.554314
2020-01-21T17:04:45
2020-01-21T17:04:45
235,257,760
2
0
null
2021-09-22T18:27:34
2020-01-21T04:43:50
JavaScript
UTF-8
Python
false
false
1,373
py
from .base import * # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', cast=bool) ALLOWED_HOSTS = ['127.0.0.1'] INSTALLED_APPS += [ 'debug_toolbar', ] MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware',] # Database # https://docs.djangoproject.com/en/3.0/ref/...
[ "f3rm3ndouza@outlook.com" ]
f3rm3ndouza@outlook.com
d986a4cb8eab53a3affc3d659f59d7d5e496ed95
70c78732a42f95cc4ad8e9698050477282feca87
/Painting System/Ground Station/Python_XBee_Communication.py
f1446eff7754afda2c040a1a039961bfec1f6052
[ "MIT" ]
permissive
BAILOOL/Automatized-Wall-Painting-Drone
15b29508d637c6cb6849744b78eaa064fd4c156c
fc2da8692d4f7d0651634af7e49a1f29f79e3c6d
refs/heads/master
2021-01-16T00:57:28.130000
2018-05-11T00:33:00
2018-05-11T00:33:00
38,023,142
6
3
null
null
null
null
UTF-8
Python
false
false
801
py
import sys, os import serial ser = serial.Serial('COM15', 9600) received = [] print "Reseting arduino" #reset arduino first!!! ser.write(bytes("&")) print "Waiting for response from arduino" if ser.read() == '&': while True: received.append(ser.read()) length = len(received) #print received if received[lengt...
[ "alexandr.baylo@gmail.com" ]
alexandr.baylo@gmail.com
01c5be4bb24dd571f976567d024215e2cd20ace1
6138af219efc3a8f31060e30ebc532ffcbad1768
/astrogrid/desktop/impl/python-test/Plastic.py
cd0af30734dce3c6daf74a4595cc36afd036e15f
[]
no_license
Javastro/astrogrid-legacy
dd794b7867a4ac650d1a84bdef05dfcd135b8bb6
51bdbec04bacfc3bcc3af6a896e8c7f603059cd5
refs/heads/main
2023-06-26T10:23:01.083788
2021-07-30T11:17:12
2021-07-30T11:17:12
391,028,616
0
0
null
null
null
null
UTF-8
Python
false
false
5,783
py
#!/usr/bin/env python #exercise the plastic hub. import unittest class Plastic(unittest.TestCase): def setUp(self): self.hub = ar.plastic.hub self.id = self.hub.getHubId() l = self.hub.getRegisteredIds() l.remove(self.id) self.vdId = None for id in l: n ...
[ "Noel.Winstanley@astrogrid.org" ]
Noel.Winstanley@astrogrid.org
197585ed48041451db0d028d44ce2fb4cd7fb1fb
2d2c422fe86b253c628129bb1713f3c14af1704d
/examples/neural_doodle.py
a63b33ab76369f5ac21eee7df607dde6c9e60ee8
[ "MIT" ]
permissive
alvarouc/keras
43f3b04332e40c3cf1cfbe364b0cd84fc3b69a3e
4301f009ffe57a1713b36bb863df73b30c466446
refs/heads/master
2020-05-19T23:17:49.304548
2019-05-06T20:15:50
2019-05-06T20:15:50
43,589,364
0
0
MIT
2019-05-06T20:02:38
2015-10-03T05:47:36
Python
UTF-8
Python
false
false
14,089
py
'''Neural doodle with Keras # Script Usage ## Arguments ``` --nlabels: # of regions (colors) in mask images --style-image: image to learn style from --style-mask: semantic labels for style image --target-mask: semantic labels for target image (your doodle) --content-...
[ "francois.chollet@gmail.com" ]
francois.chollet@gmail.com
1607c5383de4197cee20b31ca046cbce530dd23b
cb58e2890778b3489c28c952bd74ad9bbb0a09c2
/old_code/convert_to_csv.py
f7f32f83460ff81ae38e0d76e1a71a05b17d1a9c
[]
no_license
codyfcook/political_polarization
044e56f2f0aa5fc097d25eab525a638d1f0f6d75
34b188ccc0ce5b7931904d01060ea8e1c4e1c3f4
refs/heads/master
2021-06-12T18:24:52.118319
2017-04-27T04:18:26
2017-04-27T04:18:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
import cPickle as pickle import csv ## DEBATES ## d = pickle.load(open("debates.p", "rb")) f = csv.writer(open("debates.csv", "wb+")) f.writerow(["date", "debate", "speaker", "text"]) for date in d.keys(): for speaker in d[date]['speakers']: f.writerow([unicode(date.replace(",", "")).encode("utf-8"), ...
[ "Cody@Codys-MacBook-Pro.local" ]
Cody@Codys-MacBook-Pro.local
3b3eaf64d2ec26a49fe7af5ed9a93cf844e28921
4088951e5ff3830a502f8098d0633f643e862579
/app.py
2f4f3043f2c16288b2efae868ee6388ee921e81a
[]
no_license
brvijaya/qaservice
669ea9312c7aaff6590a8d98c7cb1783e119aae6
867ce833de1af7f5c1588ca73fe65e2d35b8f434
refs/heads/master
2022-11-09T22:50:06.285038
2020-06-09T06:20:56
2020-06-09T06:20:56
270,339,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
import os import logging import socket from flask import Flask, jsonify, request import json from distilbert import run_prediction HOST_NAME = os.environ.get('OPENSHIFT_APP_DNS', 'localhost') APP_NAME = os.environ.get('OPENSHIFT_APP_NAME', 'flask') IP = os.environ.get('OPENSHIFT_PYTHON_IP', '127.0.0.1') PORT = int(os...
[ "noreply@github.com" ]
brvijaya.noreply@github.com
b9d412eec1487bfed44c40513d70646016ca33c6
42ac672183d9c61794c6c07440ee0fa791296189
/tests/test_properties.py
562778baaca88d935a135669ec14ee0e201a0ee5
[ "BSD-2-Clause" ]
permissive
pydanny/pygments-custom
c5f900dcb7e5cb73b01c8cbe787306c3310781aa
b2862e3e58c7e42028ec8363ae668f2f7efd6ccb
refs/heads/master
2023-08-28T19:43:40.507971
2017-06-14T21:24:13
2017-06-14T21:24:13
93,273,976
2
3
BSD-2-Clause
2021-08-10T17:10:57
2017-06-03T21:06:41
Python
UTF-8
Python
false
false
2,745
py
# -*- coding: utf-8 -*- """ Properties Tests ~~~~~~~~~~~~~~~~ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import unittest from pygments.lexers.configs import PropertiesLexer from pygments.token import Token class PropertiesTest(unit...
[ "pydanny@gmail.com" ]
pydanny@gmail.com
0640bc720256153a8ef2810f14e34e37c4dc5c56
723fb811f684994827f7ba51f9d736b965111227
/code/utils.py
bf1e394fc552e43819cf703b778f520770b518c4
[]
no_license
mjason98/evalita20_hate
439c75e0cbacb9ed7afaeb5dfcdd1081bd5efa16
71180255d66be5f2dfdfc1adb91608cc17023c64
refs/heads/main
2023-01-07T14:56:05.560146
2020-11-02T22:03:49
2020-11-02T22:03:49
301,477,785
5
0
null
null
null
null
UTF-8
Python
false
false
5,896
py
import math import time import numpy as np import matplotlib.pyplot as plt import random import collections # reducer import os # reducer import re # reducer import pickle def colorizar(text): return '\033[91m' + text + '\033[0m' def headerizar(text): return '\033[1m' + text + '\033[0m' def getMyDict(): ...
[ "mjasoncuba@gmail.com" ]
mjasoncuba@gmail.com
02d9364f10e7a583cdb28b925cf60d416c15c9c9
2778a9542d551283eeb6b6d06ba4bbd5db877676
/draw_pictures_for_gradu/make_centerList.py
86147ad0b4755e0e3f816554e2c7d51a440f3210
[]
no_license
EmmaMannfors/gradu
077046e2a39f7b674a7e1467a634d2fe2fcb7bf6
3533d09363b75f54dd4cf77ae008eb5104c3b3eb
refs/heads/master
2021-08-27T18:31:43.034113
2021-08-02T08:56:48
2021-08-02T08:56:48
148,455,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
##################################################################################### # Writes file which has scuba centers corresponding with Herschel files ##################################################################################### # Jul 20, 2018 #########################################################...
[ "noreply@github.com" ]
EmmaMannfors.noreply@github.com
c32bc595bcac3b99c0cd50c0cfde594f121dc9ee
730f441d2828f0fefcb2c7d7ef252a0cb98217a3
/convertirABlanco.py
ea2ca75bcd703649d9a44961fb89e4fc2bf2e90c
[]
no_license
camilo912/lettuceClassificator
21686790dd5e39fe98a770b26321f6b4d6717218
fb904a70f54376a78bbed76877dd6002349247b1
refs/heads/master
2020-03-10T22:29:28.399853
2018-04-15T20:48:49
2018-04-15T20:48:49
129,620,245
0
1
null
null
null
null
UTF-8
Python
false
false
414
py
###script que convierte las imagenes en blanco import numpy as np import cv2 import matplotlib.pyplot as plt from skimage.segmentation import slic from skimage.segmentation import mark_boundaries for i in range(11,18): image_name = str(i) + ".jpg" image = cv2.imread("datasetTrainPlants/" + image_name, cv2.IMR...
[ "cam.912@hotmail.com" ]
cam.912@hotmail.com
cab67cc7f4473bc83520c5aac57676fda1591172
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/cvk.py
d49bc0cf25f76bcc1026a9e082cfe955b27b36b4
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
ff45f6e59dc0d234c40145ed2efc22aa14096a08
e1883fb6506f989b1ee805388aa5a1ebd1d511b7
/models/keras/inception_v3.py
10c9edbeae691ff71ba7b82d65bffe587cca8f23
[]
no_license
bellamkondaprakash/praveen-eyeem
47d8a9cc5b5df6447bf09a3efd962aacaa09c030
6409f0fc442ec60ba50d4b6147b3b7154694dd20
refs/heads/master
2020-03-23T19:34:20.533413
2017-02-10T10:10:39
2017-02-10T10:10:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,265
py
# https://groups.google.com/forum/#!topic/keras-users/rRdL01zGKi4 # https://github.com/Lasagne/Recipes/blob/master/modelzoo/inception_v3.py # https://github.com/fchollet/keras/issues/1321#issuecomment-166576492 import numpy as np import sys, os import yaml import json import h5py from keras.optimizers import SGD, R...
[ "praveen@eyeem.com" ]
praveen@eyeem.com
24a33ed287568028e5739b87f65ed322ba179399
501238f0462ec2bb65534b6258b0559c710c08ed
/sftp_to_db.py
bbcc53bf820383d0193b035276d993186bc7eb93
[]
no_license
nfisher20/sftp-to-db
1eae08e924164e9ff7b072ff69749d37ae199017
bfb9143e00fdef7fd63c0477fd293d4dc504b9f5
refs/heads/main
2023-02-21T20:41:07.437427
2021-01-18T16:44:37
2021-01-18T16:44:37
329,975,542
0
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
import paramiko import datetime import pandas as pd import numpy as np import sqlalchemy import settings hostkey=None t = paramiko.Transport((settings.myHostname, settings.myPort)) t.connect(username=settings.myUsername, password=settings.myPassword, hostkey=hostkey) sftp = paramiko.SFTPClient.from_t...
[ "noreply@github.com" ]
nfisher20.noreply@github.com
f2df6fd91c81c440ba467cea676610defdc3838f
0a3efe67ef4c69317154276c0094cc237da7f8ca
/InsertionSort.py
0012b34ee62eb8f28872b3ff897dc40607c48563
[]
no_license
GlamorousCar/Algorithm
c707676cb75378da8f0fb349da4016d946df43cd
04ed7c47ac3d60a057ee2d7ed9473f283a405857
refs/heads/master
2023-01-24T00:33:42.038830
2020-12-04T13:28:17
2020-12-04T13:28:17
258,520,403
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
import random a, b, s = 0, 100, 10 array = [random. randint (a, b) for _ in range (s)] def InsertionSort(array): for i in range(2,len(array)): key = array[i] k = i - 1 while k > 0 and array[k] > key: array[k+1] = array[k] k = k - 1 array[k+1] = key...
[ "noreply@github.com" ]
GlamorousCar.noreply@github.com
a766a6bd0b97decd8a899aa1e066a7c8774ecdbe
5f8398e336790fa833a97139d9e4afcb0eea4701
/Dinner_Party/submit.py
2c305511537a013bef3d756faddefd6be4dae108
[]
no_license
Achva-Kl/CSA-2020
61c960d4eafc7b15143789c9c1c7abf5e60f489d
97c6aae671716f29d3e38eeae7cf2f75810273a6
refs/heads/main
2023-03-28T12:32:46.557656
2021-03-25T13:53:38
2021-03-25T13:53:38
350,474,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
#! /usr/bin/python3 ### run the file with the solution ### import sys import itertools from hashlib import sha256 from Crypto.Cipher import ARC4 PROOF_OF_WORK_DIFFICULTY = 25 #bit def proof_of_work(buf,n): i = 0 while True: for prefix in itertools.product(range(0x30,0x7E), repeat = i): h ...
[ "achvakk1@gmail.com" ]
achvakk1@gmail.com
9d6730d9edce0a074813fd0fe10fd9e3cb40551e
4c8ccd889db16011835e970b8c4d6b93036595a0
/realestate/decorators.py
685cf4705c486e6ddcf9139f0437c15be0996682
[]
no_license
arjun312-coder/Real-Estate-Django-Project
a35a09fb6eb366da12b1cfd3ad51fa51630d9003
c149d3c756200883d27f048e53a01738fb1169a0
refs/heads/master
2022-04-24T15:08:12.107957
2020-04-24T12:24:43
2020-04-24T12:24:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
from django.contrib.auth import REDIRECT_FIELD_NAME from django.contrib.auth.decorators import user_passes_test def agent_required(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url='login'): actual_decorator = user_passes_test( lambda u: u.is_active and u.is_agent, login_url=login_u...
[ "ravi16iiitg@gmail.com" ]
ravi16iiitg@gmail.com
ed71559e27b6930a355acfdb912e7b85eec752c8
5be9cf2da0de61fdd4510c5a28333298a8fe1843
/questionnaire/migrations/0008_auto_20190303_1715.py
46a9ddd01f2994b4bc152f99f373e1944575e11c
[]
no_license
jordanSev/CS3398-Ferengi-Finaglers-S2019
e85bd6f9f6a9756a8545a95faece240746d926db
2a1c64a2a1680913a68e97bbba980a4fde9a603e
refs/heads/master
2020-07-09T17:27:44.921035
2019-05-02T03:10:20
2019-05-02T03:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
# Generated by Django 2.1.7 on 2019-03-03 23:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('questionnaire', '0007_auto_20190302_0112'), ] operations = [ migrations.CreateModel( name='Resp...
[ "kcp36@txstate.edu" ]
kcp36@txstate.edu
cd53046a6b6ee2f9f16ab5e7e54cb942ada274d2
19ee33b2aee85046a46319b1e3c434b913228e98
/text_process.py
b461f6c613a40636353cc0369cf2403a89936fe2
[]
no_license
wataru-masuda/text-base-demogra
bba9241607fd356b09deb602d41ef51b3597d717
206c5603aa8a150726b0537bd477b8cf5a8e80bd
refs/heads/master
2021-06-26T08:05:58.387106
2020-02-12T07:36:52
2020-02-12T07:36:52
232,492,427
0
0
null
2021-06-18T22:12:29
2020-01-08T06:16:28
Python
UTF-8
Python
false
false
1,305
py
# -*- coding: utf-8 -*- import requests import sys from gensim.corpora.dictionary import Dictionary from bs4 import BeautifulSoup import MeCab def fetch_contents_from_url(url, encoding="UTF-8", use_domain=False, timeout=3.0): try: res = requests.get("http://"+url, timeout=timeout) if use_domain else requ...
[ "wataru-masuda@GD0033.local" ]
wataru-masuda@GD0033.local
949cb8f555f0b92cd8efa118c8b092fa031c75dc
915413d79c69f5a22d7dc1fc88dadd70eedf1e10
/instance/config.py
8f76fd76f1427cf4e5bfacbdbbd54694206c588a
[ "MIT" ]
permissive
Dave-mash/StackOverflow-lite-API
258db5a1800f94b6f996a49a999727fcbbfe1601
10f86ffe732d3cffe2b16323184780f4c9f4fdc4
refs/heads/develop
2020-04-11T23:45:21.877576
2019-01-02T10:09:54
2019-01-02T10:09:54
162,178,069
0
0
MIT
2019-01-02T10:09:55
2018-12-17T19:13:02
Python
UTF-8
Python
false
false
588
py
import os class Config(object): """Parent configuration class.""" DEBUG = False TESTING = False SECRET = os.getenv('SECRET') class Development(Config): """Configurations for Development.""" DEBUG = True TESTING = True class Testing(Config): """Configurations for Testing, with a sepa...
[ "macharia3041@gmail.com" ]
macharia3041@gmail.com
90f1442e8dd5d3a5cce13e0c94173151d58984a3
559b9cd3a7ed865cd1955c62b4835207e30e3ff1
/tests/test_run_process.py
51bbd827cc962d872a08974fa55f913a7e211844
[ "MIT" ]
permissive
affankingkhan/watchgod
423f7dc782342d6e4e6bf8001378c9c980913ffe
3d5558bb04b77488abe43cb0a18e46212cded72b
refs/heads/master
2020-09-09T11:29:39.896724
2019-11-13T12:02:39
2019-11-13T12:02:39
221,435,053
0
0
MIT
2019-11-13T10:39:28
2019-11-13T10:39:27
null
UTF-8
Python
false
false
2,960
py
from asyncio import Future from watchgod import arun_process, run_process from watchgod.main import _start_process class FakeWatcher: def __init__(self, path): self._async = 'async' in path self._check = 0 self.files = [1, 2, 3] def check(self): self._check += 1 if se...
[ "s@muelcolvin.com" ]
s@muelcolvin.com
211f94f6fe84de597390b4eea76d59f256bbd5b7
b31bbc632c6895170e5ac4bb17ec0a25cb024466
/Neural_Network/schedule_LR.py
62b1656548205a479eac802b9281071cc46b6a83
[]
no_license
lamnguyen-mltd/shuffling
1b8bd88f47ffbd436d22a07a5718e7b1b4119da3
e81eb35650dbf394d6892a282ba5c964c4316cbf
refs/heads/master
2023-06-02T12:57:35.782370
2021-06-18T01:35:18
2021-06-18T01:35:18
377,664,543
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
""" Different learning rates """ import math def constant(eta): x = lambda t : eta return x def diminishing(gamma, alpha): return lambda t : gamma / (1 + t)**(alpha)
[ "lmn214@lehigh.edu" ]
lmn214@lehigh.edu
39530fcac484022b59d18d7d4d6e79231b44069d
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-DiscRecording/PyObjCTest/test_drburn.py
b073fb67b06ed44f8785845ab704f1fd5d39d6ed
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
2,115
py
import DiscRecording from PyObjCTools.TestSupport import TestCase class TestDRBurn(TestCase): def testMethods(self): self.assertResultIsBOOL(DiscRecording.DRBurn.appendable) self.assertArgIsBOOL(DiscRecording.DRBurn.setAppendable_, 0) self.assertResultIsBOOL(DiscRecording.DRBurn.verifyDis...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
77eb14d50bb083ecbe2ae6ce90c59fb3c5bfbb00
2253dad674431167638a94a028bf2fc16cf6c27a
/core/migrations/0001_initial.py
ac502e50b632e94dc0fa51291a5933898dd88ef0
[]
no_license
tristanmatthew/django-music-collab-tristanmatthew
38b32620d77c5551d2a7b24e8b71598312f2fb53
473151ccf9301786f2d749075db7d64498cf1271
refs/heads/main
2023-03-13T00:54:32.948223
2021-03-04T00:10:06
2021-03-04T00:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,870
py
# Generated by Django 3.1.7 on 2021-03-01 16:05 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...
[ "tristanmatthew@gmail.com" ]
tristanmatthew@gmail.com
151158dc001dab396c79cb4025e6326f17ad263b
2d3babcba078a44b7f2c70718e095cd766d9e55e
/script/my_codes/digital_classroom.py
c795be3d6c4732429f577d40acd4a9bf318e59d4
[ "MIT" ]
permissive
ThivakaranThana/AlignedReid-Reproduction-Pytorch
6cfdb8be7902b2e6ecc9e518b561916b683e6a29
a310de27c74a7fc29963386aa631d09e7cc3eb2f
refs/heads/master
2020-04-04T13:35:43.923708
2019-01-07T16:51:37
2019-01-07T16:51:37
155,967,554
0
1
null
null
null
null
UTF-8
Python
false
false
1,844
py
import cv2 from aligned_reid.model.Model import Model from torch.nn.parallel import DataParallel import torch.optim as optim import torch from aligned_reid.utils.utils import load_state_dict from aligned_reid.utils.utils import set_devices from torch.autograd import Variable import numpy as np input_image = cv2.imrea...
[ "thivakaranthana@gmail.com" ]
thivakaranthana@gmail.com
9ab33f4881e26c8bfa04c708f83dce9807708c20
d775692233aaf07d59a814953c4f6166e551822b
/myapi/updates/migrations/0001_initial.py
1b5e0ebc0326c39915fa38c98b5dfea14dcc4205
[]
no_license
tweeks024/django_rest_example
ccc10df86477086027decf94fec49f889460c677
eb6d217e125b502d43c52a18ca372b68b7cab6f8
refs/heads/master
2021-04-28T03:06:20.940298
2018-03-15T11:24:54
2018-03-15T11:24:54
122,132,140
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-02-19 22:27 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import updates.models class Migration(migrations.Migration): initial = True dependencie...
[ "tweeks@timetrade.com" ]
tweeks@timetrade.com
dcd3054a1f19fbffeaa4bdb6d4a5120debffe7b3
2fad3cec294796205ad4ff5806601165a9ef7ae1
/match/migrations/0001_initial.py
4ee29f481a2c48eadd4b9ef96c27385ac303c4c2
[]
no_license
taro1025/sb.com
325c5c4b522926758c2982e4bf30face7943008f
d6a6980002c8abb1edf0b10bfa67de8c5f89df4e
refs/heads/master
2023-04-04T03:03:55.413060
2021-04-21T10:15:58
2021-04-21T10:15:58
323,674,761
0
0
null
null
null
null
UTF-8
Python
false
false
8,950
py
# Generated by Django 3.1.4 on 2020-12-21 17:39 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import match.models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_use...
[ "game4967@gmail.com" ]
game4967@gmail.com
797f4c73b0278599dcfedb7af58d95b38a5afc87
b0cdbad299f6174bfdb0fba173dbcf3889b82209
/Modules/os/dirwalk4.py
eaaefb1ed5ab44c8053319d9393155e7f7a65218
[]
no_license
deesaw/PythonD-06
a33e676f1e0cfc13b4ea645c8b60547b198239ac
3c6f065d7be2e3e10cafb6cef79d6cae9d55a7fa
refs/heads/master
2023-03-18T08:24:42.030935
2021-03-02T14:15:09
2021-03-02T14:15:09
343,797,605
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
import os extns=["mp3","jpg","jpeg","mpg","mpeg"] size=1 * 1024 * 1024 for (dirname, subdir, files) in os.walk('c:\\'): for myfile in files: filename=os.path.join(dirname,myfile) extn = os.path.splitext(filename)[-1] if extn in extns: if os.path.getfilesize(filename) > size: print(filename)
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
3dd874f730373ef6ad93cf7b4ac82b15d6f296e6
68ebbec2ceb269add3f71fa0189c6547765dae8b
/orders/models.py
597159ce256c919c2d930027717cf0500096b406
[ "MIT" ]
permissive
OjureFred/BlazeMarketplace
17ca512dbd80319db6342fa2d9e90dc41f3f67f3
e207d538e25dfa8866b01e74886d8e91a54c53fe
refs/heads/main
2023-04-24T18:57:05.834297
2021-05-04T06:52:36
2021-05-04T06:52:36
319,242,596
0
0
null
null
null
null
UTF-8
Python
false
false
3,559
py
from django.db import models from django.db.models.signals import pre_save, post_save import math from addresses.models import Address from carts.models import Cart from billing.models import BillingProfile from blazemarketplace.utils import unique_order_id_generator # Create your models here. ORDER_STATUS_CHOICES...
[ "fredojure@hotmail.com" ]
fredojure@hotmail.com
fb1d6c7c79955d6e7e9956c82783c28acb3d3057
f513c794fd95cb72ee776029ece38a08c4b4da0b
/custom/_legacy/pathfinder/urls.py
d2352d244f646d232b5dae3a977e19a0c1485820
[]
no_license
bglar/commcare-hq
a92f034a0c2faf787da8321b4d79e55f098bd89f
972129fc26864c08c7bef07874bd2a7218550bff
refs/heads/master
2021-05-28T20:44:12.876151
2015-01-16T16:23:52
2015-01-16T16:23:52
29,391,363
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
from django.conf.urls.defaults import * urlpatterns = patterns('pathfinder.views', url(r'select/$', 'selector'), url('select/ward', 'ward_selector'), url('select/provider', 'provider_selector'), url('select/hbc', 'hbc_selector'), url('hbc/', 'home_based_care'), url('ward/', 'ward_summary'), ...
[ "cternus@dimagi.com" ]
cternus@dimagi.com
a9b90beacd2dc62d8a0ddd34deb42dedee180677
9591cbab774598c0d3b5a382f03202d7d86f9bb9
/xmlfilter.py
a5f2e8cb2f75adb04f34024961e788824a8b3c1f
[]
no_license
zgjoget9/Scripts_for_spotbugs
e3094fce87e9bcc87f59ef96d400d6ad987e59b3
fb4f2721806723037a96e6dd2330c929aa8e841c
refs/heads/main
2023-03-25T23:23:11.324142
2021-03-21T06:57:40
2021-03-21T06:57:40
349,895,698
2
0
null
null
null
null
UTF-8
Python
false
false
4,165
py
from xml.dom.minidom import parse import xml.dom.minidom import os import sys # using minidom typelist = ['BC_UNCONFIRMED_CAST', 'DLS_DEAD_LOCAL_STORE', 'RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE', 'UCF_USELESS_CONTROL_FLOW', 'UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR'] BC_UNCONFIRMED_CAST = [] DLS_DEAD_LOCAL_STORE =...
[ "noreply@github.com" ]
zgjoget9.noreply@github.com
0a40a1d559c028627fb025ed6057c40c0d9f9f1d
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/recoveryservices/v20200202/private_endpoint_connection.py
f1f8b04627df798b43442d52d427fd896c41693a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,487
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
92211e6930886bccd94286601778955ce5b0fc35
83fd94bddf0039a692518284249b4a0411738086
/prob_ioi.py
0c497411a3c5ee3732b62c36a9dd2397d43ea0b1
[]
no_license
Firasnafti67/problemSolving
3ad53e6c8875f1b054fce0e5647d2e6cca0d3cb8
2ca6e2ba72598d68c31f63115b61ee1509e43b3b
refs/heads/main
2023-02-12T17:43:47.938889
2021-01-12T21:11:29
2021-01-12T21:11:29
329,112,837
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
nbLivres, nbJours = map(int,input().split()) d=dict() for i in range(nbLivres): d[i]=0 i=1 l = [] while i<=nbJours: nbClients = int(input()) while nbClients: ind,dur = map(int,input().split()) if i>= d[ind]: d[ind]=i+dur l.append(1) else: l.append(0) nbClients = nbClients-1 i = i+1...
[ "noreply@github.com" ]
Firasnafti67.noreply@github.com
bbcf290fc9f7863e878a76ee3541e662eba89da2
f7a9c41ebdbab550ad07e9382a6df3d88d9f317e
/StudyExample/1.DataType/int_convert.py
f4cfeda4188c8b976eb9f29c8a8caddf2619c001
[]
no_license
shinsangeun/PythonStudy
9f32abf08bf5a936db147722ea85fcb97cfe26f0
2bf2dfaf5b838b5456b450acbaf31fd9b256ee12
refs/heads/master
2023-02-08T12:34:57.556148
2020-12-23T16:39:36
2020-12-23T16:39:36
141,964,854
0
1
null
null
null
null
UTF-8
Python
false
false
185
py
string_a = input("입력A>") string_b = input("입력B>") int_a = int(string_a) int_b = int(string_b) print("문자열 자료:", string_a+string_b) print("숫자 자료", int_a+int_b)
[ "s0813se@naver.com" ]
s0813se@naver.com
81b6d1556691d9c085b59e7856c9a9bc25214281
5c5f0b22f48d00d06ac1a2455341de513d35bd5c
/TL through optimal extension/Test.py
d93a934dd1fed2914a9c170cc897c8064456d5e6
[]
no_license
dvaccam/RL-TL-Code
93f83961e2404b8e17ec44252955980c5f4ca8ab
95243b6394f0c8416bddbbc4dabc4a393a826611
refs/heads/master
2021-01-23T09:40:01.093061
2017-11-22T18:34:01
2017-11-22T18:34:01
102,589,651
4
0
null
null
null
null
UTF-8
Python
false
false
11,935
py
import gym import numpy as np import utils import scipy.optimize as opt import itertools as itt import time def policy(state): if state[0] < -0.9 or state[1] > 0 or (abs(state[1]) < 0.001 and state[0] < -0.4): action = 2 else: action = 0 return action gamma = 0.9 goal_pos = -0.35 # Creat...
[ "daniel.vacca@hotmail.com" ]
daniel.vacca@hotmail.com
c54f7cc8f4d5a5509d29f0f3b3b2b5d1611e711d
a72f33626c6a773d3a2e2a434f0b3f56e84359bd
/preprocessing/tape_detection.py
97d615d8b3b9c95cf361df910f2aa4da7c4ae7c7
[ "MIT" ]
permissive
isse-augsburg/adaptive-spreading
fceb3d5a19d5eb473a10ea890db31c32fbf9a1f8
3e423f888ff07257111fc95c3276024c4c44036d
refs/heads/master
2023-07-20T04:41:27.458970
2020-05-04T11:08:23
2020-05-04T11:08:23
260,015,568
0
0
MIT
2023-07-06T21:48:52
2020-04-29T18:54:03
Python
UTF-8
Python
false
false
663
py
import torch def get_tape_edges(profiles, axis=1): nonzeros = (profiles > torch.unsqueeze(torch.mean(profiles, dim=1), -1)) tape_counter = nonzeros.cumsum(axis) tape_counter[~nonzeros] = 0 temp_tape_profile, temp_tape_start_idx = (tape_counter == 1).max(axis) temp_tape_start_idx[temp_tape_profile ...
[ "kruetzmann@isse.de" ]
kruetzmann@isse.de
003d77730c8e89b19c510db41dd9d0781b0d847e
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/abc179/abc179_a/18172147.py
fb5d8b2b9d6a805bfe0b9e458bc5ec4ae341844c
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
x=input() if x[-1]=="s": print(x+"es") else: print(x+"s")
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
67fd75d7c3672c13f3dd4033cb6fb5e6b8d53d71
2b120cadf79de28652eaab9ba468b78e2eeddeaf
/main.py
9680d298af699b2319ad134529d562b32527ac76
[]
no_license
0xfirefist/face-liveness-detection
8ff19d1fd09257598ff1e5be364fa4fcc45e9851
6d4ec5e9ba6106e5f238c04fec0cedb0ed43b6c0
refs/heads/master
2023-01-22T15:39:47.444135
2020-12-03T10:47:17
2020-12-03T10:47:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,757
py
import cv2 from liveness_model.model import LivenessNet from keras.models import load_model import face_recognition from keras.preprocessing.image import img_to_array import numpy as np def extract_faces(image): face_locations = face_recognition.face_locations(image) face_images = [] locs = [] for face...
[ "kalradev@outlook.com" ]
kalradev@outlook.com
4845e4d8830fd0273b3515d8fcb0b0f8a2892e8a
6ea96e96810f1db6f0b41511681d8481726c8d21
/setup.py
cbe1a3d21a445d557c6933e9836b3a1a9ce71f4a
[]
no_license
mmreis/pdTransformers
34bc846e73bb9d148f543c5d3e977f8848036639
ce0336f273d9a1c4e7dc07edc49df054a057fb69
refs/heads/master
2021-04-29T21:41:05.135098
2018-05-28T12:11:32
2018-05-28T12:11:32
121,621,122
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
from setuptools import setup setup(name='pdTransformers', version='0.1.0', description='TransformerMixin for Pipeline building', url='https://github.com/mmreis/pdTransformers', author='Marisa Reis', license='MIT', packages=['pdTransformers'], install_requires=[ 'pand...
[ "marisa.m.reis@inesctec.pt" ]
marisa.m.reis@inesctec.pt
4493d5fe0c58bab3c391c494e22e17440866d8fa
1fc4efd558eef3caa760d1d4df7142b60bff10b9
/baoming/webapp/models_report.py
f0b3f6070b35f0d7fa9ccae3257790dba5a4ac26
[ "Apache-2.0" ]
permissive
hanxiaoshun/RegistrationSystem
e041f94a2661913db61b3911292a5d53b29f4e47
2f7310508fc1725e96fe941b1062ce7f26f265a4
refs/heads/master
2022-12-15T12:10:42.631271
2020-07-06T00:46:57
2020-07-06T00:46:57
244,163,310
0
0
Apache-2.0
2022-11-22T04:00:40
2020-03-01T14:25:11
JavaScript
UTF-8
Python
false
false
1,061
py
import django.utils.timezone as timezone from django.db import models import uuid class ReportBase(models.Model): """ 基础信息类 """ explain = models.TextField('说明', default='', max_length=200, blank=True, ...
[ "18301513217@sina.cn" ]
18301513217@sina.cn
580c34eb0100a79df9dbbdd88edfc188993e36ab
5462142b5e72cb39bea5b802dd46f55357c4ea84
/homework_zero_class/lesson9/函数的作用域-times_3.py
6ddd3b709e42f3734bdc4783ba910b1682547cca
[]
no_license
qqmadeinchina/myhomeocde
a0996ba195020da9af32613d6d2822b049e515a0
291a30fac236feb75b47610c4d554392d7b30139
refs/heads/master
2023-03-23T05:28:53.076041
2020-08-24T08:39:00
2020-08-24T08:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,604
py
#!D:\Program Files\Anaconda3 # -*- coding: utf-8 -*- # @Time : 2020/7/23 00:35 # @Author : 老萝卜 # @File : 函数的作用域-times_3.py # @Software: PyCharm Community Edition # 作用域(scope) # 作用域指的是变量生效的区域 # 在Python当中一共有两种作用域:全局作用域 和 函数作用域 def fn(): # a定义在了函数内部,所有它的作用域就是函数内部,函数外部访问不到 a=10 print("函数内部a=",a) fn() # ...
[ "newwxm@126.com" ]
newwxm@126.com
791973912cf18523ae8538782e145e325e26c72c
39f475f5f5c9cacbcffb1d742742d004394d6098
/amo_s.py
c9aa9a685661a26a045d9e9f69b6bac12cc21b14
[]
no_license
SamuelDBZMAAM/Budokai-Modding-Tool
bb990106defb79b7932739134a9e861c99ddfc10
32f35d23b91c3c9197d3fd549e34561582dda9e4
refs/heads/master
2020-04-11T23:46:08.669371
2019-07-01T16:54:15
2019-07-01T16:54:15
162,178,720
4
1
null
null
null
null
UTF-8
Python
false
false
5,445
py
# AMO Model Separator - amo_s # Purpose: To make every model part in the character a separate AMG for use in Budokai series import struct import math import os def main(): print("") print("Drag and drop AMO here") x = input("") x = x.replace("\"", "") f = open(x, "r+b") # Copy...
[ "noreply@github.com" ]
SamuelDBZMAAM.noreply@github.com
3b07fbf27860b7e43680ac8f5e92ef3e7704557d
c807f50194c1ad6912bab6d4cf848d51e6f4c120
/exercise_4/linked_list_step_4.py
e59af4bff7e3f4e4048c9869a18d7c0efdae8089
[ "MIT" ]
permissive
LDSSA/batch3-wave1-test-solutions
3cae5b6ab1b1e200d3209506436b6c3c6be727ad
3f5d72ec41888c8eb14937a437e1a13ef3d6d633
refs/heads/master
2020-05-21T16:51:49.317733
2019-05-20T09:07:39
2019-05-20T09:07:39
186,111,737
1
1
null
2019-05-16T14:27:26
2019-05-11T09:14:17
Python
UTF-8
Python
false
false
76
py
def update_list(l): l.remove_node(7) l.remove_node(10) return l
[ "mariacristinavfdominguez@gmail.com" ]
mariacristinavfdominguez@gmail.com
971f126af73af3400b894e7d1eac4731e8aa4ea0
a319119367429716fc57916ae479a66b8158cd16
/mantle/xilinx/spartan6/DCM.py
f0e14f4e4cc791ba3fe91184a20b4edc1c044319
[ "MIT" ]
permissive
phanrahan/mantle
788ab7689107ea139f87cb169d53ad6cd9a91e38
8193cf6df60f5be7f198e55d74d9a196abec8342
refs/heads/master
2023-01-05T17:21:29.458634
2022-12-20T20:14:12
2022-12-20T20:14:12
84,332,208
38
14
NOASSERTION
2021-09-17T04:07:31
2017-03-08T14:56:32
Verilog
UTF-8
Python
false
false
2,138
py
from magma import * __all__ = ['_DCM', 'DCM'] _DCM = DeclareCircuit('DCM', "CLKIN", In(Bit), "CLKFB", In(Bit), "PSCLK", In(Bit), "PSEN", In(Bit), "PSINCDEC", In(Bit), "RST", In(Bit), "CLKFX", In(Bit)) def DCM( freq, basefreq=32): ...
[ "hanrahan@cs.stanford.edu" ]
hanrahan@cs.stanford.edu
1833e6bd9c1ffad2af48048acbdc3876e2309735
ce2bd9e3080726df8d6bbc98eb218bed8afbb04d
/app.py
626972e050675db212f356010e7f5bc651e410d3
[]
no_license
Abhishek-Dobliyal/MonoShot
325de6fdab483e3b9f4bcd558d92b798b02646cd
3bc1eb4d9a9e3aad5d833320782042c83d1fb7bd
refs/heads/main
2023-03-05T11:41:41.673738
2021-02-26T07:57:42
2021-02-26T07:57:42
341,968,995
0
0
null
null
null
null
UTF-8
Python
false
false
14,520
py
# Required Imports import streamlit as st # pip install streamlit from file_processing import FileProcessor import tempfile import os import shutil import time # Helper Functions def get_file_data(file): ''' Writes the uploaded file data to a temporary file for processing''' if not os.path.isdir("./temp_fi...
[ "noreply@github.com" ]
Abhishek-Dobliyal.noreply@github.com
32ab833d177d77afda396b1be367557bb9ddf33f
d315461033c69c8055aba6ac90b4053886a16afa
/local/common/internet_active.py
7d949f6f320828be6e81e054578af3cde4b6eefc
[]
no_license
dhhjjdfg/GotoX
5855653d4b100bef2269b5fba8cdf422e3583fc6
6fee4d20e109fbbe0c9d9bd2d29a6cb2d3873948
refs/heads/master
2023-03-10T10:20:09.687538
2021-02-26T05:14:54
2021-02-26T05:14:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,814
py
# coding:utf-8 #此脚本通过域名解析测试网络状态,不支持 UDP 的前端代理无法使用 #即使前置代理支持 UDP,还需要修改套接字使用代理 import os import queue import socket import random import dnslib import logging import collections from time import time, sleep from select import select from threading import _start_new_thread as start_new_thread from .net import isipv4, is...
[ "Seahoh@Gmail.com" ]
Seahoh@Gmail.com
3237faa7ea52ea2f166108e843853e2fa401b89f
57d7c6ef3e16999661ef959336158a833fc83c8c
/competitive level/TuxTiepattern1.py
85fd88c6742865912da6a030176bf79447cd43f9
[]
no_license
Sevansu/PythonBasicPrograms
c60402bd7d2d469337ff58241532450d0ba38da2
3367140193844091eb9d4e43ea014c2176721543
refs/heads/master
2021-06-26T14:01:43.105778
2020-12-15T10:15:40
2020-12-15T10:15:40
183,554,250
1
0
null
null
null
null
UTF-8
Python
false
false
363
py
try: n=abs(int(input("Enter number of lines:"))) if n&1: for i in range(1,n+1): for j in range(1,n+1): print([' ','*'][(j<=i or j>n-i if i<=(n+1)/2 else j<=n-i+1 or j>=i) and (i&1)==(j&1)],end=' ') print('') else:print("Invalid input. Input must be an odd number") except:print("Inv...
[ "noreply@github.com" ]
Sevansu.noreply@github.com
481377a716123168e4dd9980470b57b9c3cd8ce8
d25d42d61c450a0a9c337861069df97660df8f39
/datacleaning.py
35a0ad14d55917f3e29948e78c3b8a64524e425a
[]
no_license
zehaowork/Open-Data-Innovation-CW1
e90d3577e9223319c15014c81d9b71ddb2dbc8f4
2f3611fc58125ca63977fcbe05fa2ced1b914dba
refs/heads/main
2023-03-28T15:08:19.126606
2021-03-31T18:29:10
2021-03-31T18:29:10
344,849,819
1
0
null
null
null
null
UTF-8
Python
false
false
124
py
import pandas as pd sample_size = pd.ExcelFile('CW1-BusinessImpactsOfCovid19Data.xlsx') print(sample_size['Sample Size'])
[ "zehaowork@outlook.com" ]
zehaowork@outlook.com
bb10f37c105b960f6047c77acfdca615d5446032
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/nTW4KgmJxpLDXcWPt_6.py
a0d819f3ad17c6e5031c3261795b415657d3c1e2
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
""" Write a function that moves all elements of one type to the **end** of the list. ### Examples move_to_end([1, 3, 2, 4, 4, 1], 1) ➞ [3, 2, 4, 4, 1, 1] # Move all the 1s to the end of the array. move_to_end([7, 8, 9, 1, 2, 3, 4], 9) ➞ [7, 8, 1, 2, 3, 4, 9] move_to_end(["a", "a", "a", "b...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
67128f9bdccd6db6951e2c77216a82f0ca32a684
fbf3d58c8410cc3bd5ef28e03576550f137f2b44
/voting-client/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/config.gypi
99f3b3c25007889f1fec4c9214c0f52984300397
[ "MIT" ]
permissive
SpencerCDixon/React-Redux-Voting
7fba4b6b34c07ff96bd1eeef7bcacbc34a1f1af3
f515c5dbf6bd53753fb90791459727a9cb240e39
refs/heads/master
2016-09-06T04:29:49.661213
2015-09-22T13:24:13
2015-09-22T13:24:13
42,935,102
2
0
null
null
null
null
UTF-8
Python
false
false
3,750
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "spencercdixon@gmail.com" ]
spencercdixon@gmail.com
9393c39a5b7513fadd41c4b6eee020413957d027
1ec436504cb7dbd4796931cf64faa333c827b6e4
/flask_service/runSimulation.py
d0eb5a21be3bb17ddf780034c327c1c1c69dd9e4
[]
no_license
IDPSGitHubProjects/SIM_app
540cf479fa3b28817a624257bb0f7f8740caa2e2
58caab39f5a4ea920bf6a53b338a9674fbe8c46b
refs/heads/master
2023-04-14T14:41:52.434085
2021-05-02T04:20:05
2021-05-02T04:20:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,414
py
import pandas as pd import json,sys import numpy as np class SpaceNode: def __init__(self,data): # print(data) self.name = data['spaceName'] self.area = float(data['area']) self.level = int(data['level']) self.window = data['window'] self.occupied = data['occupied'] ...
[ "rahulagarwal@Rahuls-MacBook-Pro.local" ]
rahulagarwal@Rahuls-MacBook-Pro.local
ed2d87291941590e4acfaefb1d07eb4fb4fbdf83
b80fbb7238b91858932169e1595b7fe04015a9a5
/benchmarking_rule_check_optimized.py
8a247512d68b221d7e2f8a51f05f0c3469b15fbd
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jake-billings/research-graphs
a65e7e611b8af7eb92543acb0e1d44938039c483
fcb5007bebf027d2da2fb29b2b9d37b17ae42889
refs/heads/master
2021-01-21T08:51:49.179790
2018-01-12T05:38:52
2018-01-12T05:38:52
91,642,820
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
import networkx as nx from time import time import graph if __name__ == "__main__": G = graph.treex(3, 8) G.add_edge(2, 7) print "Testing network of size", len(nx.to_numpy_matrix(G)) start_optimized = time() follows_rules_optimized = graph.does_follow_rules_optimized(nx.to_numpy_matrix(G)) e...
[ "jake@jakebillings.com" ]
jake@jakebillings.com
ab49b4cc29be7c1856e89b14aeaf2bd67a324f7c
99d80e6403488291e2f15eb989b6815a16bf9366
/pyfolio1.py
6c24a80bc5eedff886a578c6e081854be07effd0
[]
no_license
rorro128/finanzas
72f975f0d6bdac5c109aa5d27f1c8fb708c673e3
0a1e8065988858016a4199e3120cb83ef9c86383
refs/heads/main
2023-06-30T09:09:50.187407
2021-08-02T23:39:11
2021-08-02T23:39:11
392,125,480
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
import pyfolio as pf import warnings warnings.filterwarnings('ignore') stock_rets = pf.utils.get_symbol_rets('AMZN') pf.create_returns_tear_sheet(stock_rets, live_start_date='2015-12-1')
[ "noreply@github.com" ]
rorro128.noreply@github.com
ffd55c1a5a6990efbf68b16e0f88165b675f4f9d
523522ed5b9573dd495dad23e91b630c18e5eb08
/simpleUnixServer/compile.py
4a7865b0edf5e6e8b9b7b09675f2e992e1be6d35
[]
no_license
leonlazuli/tempWorkShop
a72cb989a029f2d6d1cebfed598133014f5f9241
9476ed6c0a7801b4e7ec689ff9b95146371f4b25
refs/heads/master
2021-01-10T08:38:04.223461
2016-01-07T01:26:48
2016-01-07T01:26:48
48,371,409
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
import subprocess import sys command1 = "gcc -o main webServer.c;" command2 = " gcc -o client webClient.c rio.h;" command3 = " gcc -o cgi-bin/adder cgi-bin/adder.c rio.h;"; command = ""; argv= sys.argv; print len(argv); if(len(argv) == 1): command = command1 + command2 + command3; else: options = argv[1]; ...
[ "leonlazuli@gmail.com" ]
leonlazuli@gmail.com
1d492964a7f09669838f135f72666c0f70abb33b
5b810b5b59eb66e564b84d4627a81afb72bb769c
/app/util/myid.py
9b1d49f940b1dc3740c5f691382d3cc62374eaf6
[]
no_license
wangyitao/microfilm
402d6c61aa8e4f41749829c96a742487c88d9f75
3cbee7b599483b117283359de9e7bec9d945ff53
refs/heads/master
2020-03-23T04:19:19.797404
2018-08-02T01:38:14
2018-08-02T01:38:14
141,076,259
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
# -*- coding: utf-8 -*- # @Author : FELIX # @Date : 2018/6/30 13:48 def my_id_maker(): import uuid from hashlib import md5 import datetime import random return md5(str('{0:%Y%m%d%H%M%S%f}'.format(datetime.datetime.now()) + ''.join( [str(random.randint(1, 10)) for i in range(5)])).enc...
[ "1403179190@qq.com" ]
1403179190@qq.com
fb48644ac909941918fc799f5736d3cf518d0fb4
c7132023d6caa10c879ea9345109f95c7e1c70a8
/q1.py
998b3e0e2b6d1b38419c8c5fce4bb73a799ce828
[]
no_license
paulremerata/Excercises
ac9b74fe5474a56aab428c45b55fcfc9d397a529
e23ee8587f6b85086066e88fb7e38b340c198d0c
refs/heads/master
2016-09-13T07:08:32.119078
2016-04-22T07:38:24
2016-04-22T07:38:24
56,668,878
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
def convert(): x=raw_input("Convert to Fahrenheit or Celsius (f/c)?\n") y=raw_input("Enter Value:") if x=="f": print str(9*float(y)/5+32)+" F" elif x=="c": print str((float(y)-32)*5/9)+" C" else: print "wrong input" again(raw_input("Again?(y/n)")) def again(x): if x=="y": convert() elif x=="n": 1+1 ...
[ "paul26rem@gmail.com" ]
paul26rem@gmail.com
b581d3246abc1d89d94a521412e4a8b80d71ce70
0363ca4526c72fafd96daa2bd8cbb38db68cc3d3
/model.py
604bb0b7137c365f2f269db6d7d9cd8ec4973e99
[]
no_license
Gabrielnero000/Rotation-Detection
6ea79d491d61b825113a07b60b3c2e97974250ec
25475fce86e79f6992cdd492b381ca4eddba8bad
refs/heads/master
2020-08-09T04:01:37.270778
2019-10-09T18:35:14
2019-10-09T18:35:14
213,991,896
1
0
null
null
null
null
UTF-8
Python
false
false
983
py
from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D, Dropout, Flatten, Dense # Return the CNN model def GetModel(input_shape, num_classes): model = Sequential() model.add(Conv2D(16, (3, 3), padding='same', input_shape=input_shape, activation='relu')) mod...
[ "gabriel.leite083@gmail.com" ]
gabriel.leite083@gmail.com
50f306e030bc29b5fe1d794458ce400433b8e462
a99bf3c086622348e7363e974ac7bac6a6e00f15
/manage.py
ad9442e82125ccd22e0b395f6de4882582b1fbbc
[]
no_license
shubhamd/Dj-API
96e14a5d8f0dea600a3ded989c09c69ab1f2d57c
c739d3d85ae5b14891793be13213e24937ba2f16
refs/heads/master
2021-01-16T00:28:41.043023
2015-02-14T15:19:43
2015-02-14T15:19:43
30,799,855
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kisan_net.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "shubham.desale@gmail.com" ]
shubham.desale@gmail.com
0b9e96092d3e1008a7f05cc7c7bfc659ab670f67
65909167510b7c479cd81db74a0f2bbc9d57e9fd
/webGuard/urls.py
d649847aeb99553dced843049be5d7c4be57d6cf
[]
no_license
Njokosi/webguard-django
99c4a2ba814d44d816527706685bf34bbf593870
f1ca3ebaa093a22577303b78d59531133ed9b01a
refs/heads/master
2023-04-14T21:27:37.062158
2021-04-17T09:54:26
2021-04-17T09:54:26
358,842,766
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
"""webGuard URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "eng.njokosi@gmail.com" ]
eng.njokosi@gmail.com
03ca7feebe8e5d697766b33c66fa96f2c7d8f4c3
fc206761fdbc29be053f7721492bb715b03143bf
/Lab/DataVisualization/MedDataColumnTransforms.py
ff1ec847835d1cb8cad99a39b00226867ef9a5ae
[]
no_license
zeydabadi/PythonLab
ec0f67f7a694ea5c2e25f9b2df21c95e95ccbcf4
4ce6e8e827fbcc00f040bfc1133a3272e5147aa6
refs/heads/master
2020-03-28T17:33:24.486283
2018-09-19T22:07:19
2018-09-19T22:07:19
148,800,976
0
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 5 11:28:40 2018 @author: Nita """ import matplotlib.pyplot as plt import numpy as np import pandas as pd # Read the data in and once read in, we can: # run data transformations on columns # filter rows by conditions # sort data etc medData=pd.read_csv('./csvfiles/pro...
[ "zeydabadi@gmail.com" ]
zeydabadi@gmail.com
e09c1b5770850fd83798f6c08f48354e1b74a5ca
391ba6a63ae180a9dd837489dd195ed3fd8fb233
/OOP/Tebak Kandang.py
653f64f0699bd1c04263de097e644624d6e7a6e5
[]
no_license
hamdiranu/cobarepo
90502f5defb3b6c3a0aad6f0592ebd62b39d229d
e569df6b27f9d9f375889c3cf56b527d0affbcd3
refs/heads/master
2020-11-27T04:43:26.288102
2019-12-20T17:30:18
2019-12-20T17:30:18
229,307,844
0
0
null
null
null
null
UTF-8
Python
false
false
6,614
py
import os, sys, random if sys.platform.lower() == "win32": os.system('color') # Group of Different functions for different styles class style(): RED = lambda x: '\033[31m' + str(x) YELLOW = lambda x: '\033[33m' + str(x) BLUE = lambda x: '\033[34m' + str(x) WHITE = lambda x: '\033[37m' + str(x) ...
[ "hamdi@alterra.id" ]
hamdi@alterra.id
46255fb3ef72a146254c24529e25171cabf29bf8
59c2f193f5a05bc669dbc750642e820439581bc1
/01-Jose-Salvatierra-Learn-Python-By-Doing/01-Basic-Data-Types/05-booleans.py
d3a0934f413d98db55b69f6f61355d611d3ae0a3
[]
no_license
dhanushka-gayashan/python-mastering
046ceba57bb3e5b5494c7f50f071df15f95d8b9d
63aa64fe99ded212e6617be35e028f1936f7531b
refs/heads/master
2022-04-25T21:45:12.150691
2020-04-27T08:48:54
2020-04-27T08:48:54
255,232,840
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
# Truthy and Falsy truthy = True falsy = False # Boolena Comparison age = 20 is_over_age = age >= 18 is_under_age = age < 18 is_twenty = age == 20 # AND age = 30 can_learn_programming = age > 0 and age < 100 # OR age = 30 usually_working = age >= 18 or age <= 65 # bool() - Convert into boolean print(bool(35...
[ "dhanukdg.soft@gmail.com" ]
dhanukdg.soft@gmail.com
1aa314ea7fea174b2a659cde9f3fa638e36af50d
ec5f0341e53733d1142bb2826aeb98e8a73fb4ff
/Unit7/same_structure.py
66abf89246a146d4cd06970ea3463d8741e0ae7b
[]
no_license
sandrabee/Udacity_CS101
0ecea7dc0f97ff489437ca95a74793098313b8e3
83a16a9465d8cad8407563f3f745dde34190d05f
refs/heads/master
2020-12-24T13:53:09.026621
2012-04-12T21:27:29
2012-04-12T21:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
#Same Structure #Define a procedure, same_structure, that takes two inputs. It should output #True if the lists contain the same elements in the same structure, and False #otherwise. Two values, p and q have the same structure if: # Neither p or q is a list. # Both p and q are lists, they have the same number ...
[ "barteitsandra@gmail.com" ]
barteitsandra@gmail.com
8c6cf3faa76d0ff8db9c4587da99976def0570f9
b191c19a9fe9c5c7318b811336ef176ff551da48
/CSPP1-Practice/CSPP1-Assignments/M7/Eval Quadratic Exercise/eval_quadratic.py
85e74343fe924fecece839e42260fd2ce8fdaeee
[]
no_license
Pranav-20186017/CSPP1
0d4423d0b8a6028f07a64bc90383bb322538932f
b8e61256d9c4950fedebf57de45cdc9fec3bb302
refs/heads/master
2020-03-24T17:40:21.486906
2018-10-01T03:00:17
2018-10-01T03:00:17
142,867,060
3
0
null
null
null
null
UTF-8
Python
false
false
845
py
# Exercise: eval quadratic # Write a Python function, evalQuadratic(a, b, c, x), #that returns the value of the quadratic a . x 2 + b . x + c # This function takes in four numbers and returns a single number. ''' Author: Pranav Surampudi Date: 6 August 2018 Encoding: utf-8 ''' def eval_quadratic(a_coeff, b_coeff, c_c...
[ "sharmapranav307@msitprogram.net" ]
sharmapranav307@msitprogram.net
e8bfab5581f0fd75f7a96a09361f6b8edfcf21f3
435079f92604590710f7149fecf886563529bc96
/config/settings/local.py
af3b51d5cfd419e42c164590fb61212e17ae6a7a
[ "MIT" ]
permissive
PEKTOP/metrics-api
f93b04965af877ddb4f1de01dcecf06d50a339c2
025b955bd86ef5df0261788abde3a0358d64f8f5
refs/heads/master
2020-09-08T18:09:52.211724
2017-06-15T14:03:40
2017-06-15T14:03:40
94,438,471
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
from .base import * # noqa ALLOWED_HOSTS += ['127.0.0.1'] # noqa INTERNAL_IPS = ALLOWED_HOSTS DEBUG_TOOLBAR_CONFIG = { 'SHOW_COLLAPSED': True } INSTALLED_APPS += [ # noqa 'debug_toolbar', ] MIDDLEWARE += [ # noqa 'debug_toolbar.middleware.DebugToolbarMiddleware', ]
[ "mail2nikolas@gmail.com" ]
mail2nikolas@gmail.com
dda9dd5bcabf859f268643acce6bb426918e144c
ef97cd06e991b87bda612c5b7f19f30fa6e083e9
/scripts/servicenode_test.py
96945e99efe399e5eb5f0fa50a7cc3f25c7caa7a
[]
no_license
jdios89/Ragnar_teensy
b5ba72c3cfd68763dd113c163ed7d4ef786125d2
4eb44159ddcb154a72dd5b48e1d7d687821e2834
refs/heads/master
2023-08-18T09:10:23.379972
2023-08-07T17:37:19
2023-08-07T17:37:19
152,589,585
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
#!/usr/bin/env python import sys import rospy from std_msgs.msg import String from ragnar_teensy.srv import * from std_msgs.msg import Float64MultiArray servicetotest = 'set_stiffness_matrix' def set_matrix(): rospy.wait_for_service(servicetotest) try: servarg = Float64MultiArray() da...
[ "juan.dios.flores@gmail.com" ]
juan.dios.flores@gmail.com
d32de1d1ac15ec06e6ba5df921548fd598644253
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_278/ch25_2020_03_23_20_30_02_598987.py
a64e003c1ccb846a55e1d315202af707e65238c0
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
import math a= ângulo desejado d= distância d=(v**2)*math.sin(2*a)/9.8 if d<98: return "Muito perto" elif 98<=d<=102: return "Muito longe" else: return "Acertou!"
[ "you@example.com" ]
you@example.com
39f52eaa9c5a4cad6f26a0e003f857b598337245
d60ec19607f02d885fc9a50347fdf527e99fba50
/Face_Recog_and_Detection_files/Face_Recog/pi-facerec-box-master/facedetpicamera.py
b77c2d3365d7ef93b01abba44dcfdf85dbcb953c
[ "MIT" ]
permissive
RBurke314/test1
944359177affbf5331e80eccfc527c8f7693f022
3ef05ea9ed93aafbe5d1f39d1cea1d02aa40c5a9
refs/heads/master
2021-04-15T17:19:08.761329
2017-06-28T20:31:05
2017-06-28T20:31:05
95,709,182
0
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
# import the necessary packages import numpy as np from picamera.array import PiRGBArray from picamera import PiCamera import time import cv2 FRAME_W=400 FRAME_H=240 x1=0 y1=0 z1=0 Default_X=float(80) Default_Y=float(48) Default_Z=float(75) # initialize the camera and grab a reference to the raw camera capture camer...
[ "robertjburke3.14@gmail.com" ]
robertjburke3.14@gmail.com
c00c44c24fe7e1137c0426f1fa5eea0742de0ffe
f28bbb08c931770f2c2cf6fa4cecbf18605881de
/Criptografia Classica/ataque/escuro/vigenere_forca_bruta.py
a3dd808641228595930ad5a3f325015d7e05b5b8
[]
no_license
elitont/Seguranca-e-Auditoria-de-Sistemas
002989b3aedc590e7b21f63be3674c6db91614e2
1101eaa2d678c3d121a90f7f028eeb8217e43e51
refs/heads/master
2021-01-20T19:33:43.239743
2017-02-23T13:24:25
2017-02-23T13:24:25
65,201,977
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
#!/opt/plone/zinstance/bin/python2.7 # -*- coding: utf-8 -*- from itertools import cycle from sys import argv import itertools """ Ataque por força bruta, sem texto em claro """ chars = 'abcdefghijklmnopqrstuvwxyz0123456789' data = open(argv[1], 'rb').read() words_english = open('data/words_example.in', 'rb').r...
[ "eliton.traverssini@gmail.com" ]
eliton.traverssini@gmail.com
585c781e287285340d839ba8d718541fa9dc84fd
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/model/application_endpoint.py
562ef992a276405881049913173794a8aac0d433
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,649
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ApplicationEndpoint: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribut...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2799baf75b490c89a862ad9a728c49b9539d73cc
49ddd4e169fd9b271427f34cd216cbc9b001ded6
/dist_search/apps.py
fb06022ee796b90866c0e51a018a6c6d8846047e
[ "MIT" ]
permissive
pontusgranath/svt-apl
9dac25ed7d029b946c6b3a91fa9959822a240dd5
fea759e7629af3e92a03849ad06d82c77e57328e
refs/heads/main
2023-04-27T21:01:28.451804
2021-05-07T12:35:15
2021-05-07T12:35:15
347,094,738
2
0
null
2021-05-07T09:02:36
2021-03-12T14:32:16
Python
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class DistSearchConfig(AppConfig): name = 'dist_search'
[ "felix.larsson@elev.ga.ntig.se" ]
felix.larsson@elev.ga.ntig.se
2e7616731d2c59f2ebf041b4b3ca45a459628f98
3af9b492ec584c561cf8e6d7921e508ed1f84dec
/ubuntu/provisioners/mywiki.py
2926c352154942636c897f755b7fb2ffe8b37583
[]
no_license
AAROC/VMI-endorsement
85671ffd45cf90dd32f70c3264b0a31b258cf3b5
d6e3c1affab352d8fbebafd7760ab1b47ddeef2a
refs/heads/master
2021-06-21T11:28:59.199245
2017-08-02T10:34:14
2017-08-02T10:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
# -*- coding: iso-8859-1 -*- # IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a # western country and you don't know that you use utf-8, you probably want to # use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode # encoding) you MUST use: coding: utf-8 # That setting must ...
[ "enol.fernandez@egi.eu" ]
enol.fernandez@egi.eu
9119719ad7d1887e6ad58a29a0abf8a5d0cdcc67
902198ab44ff0c74f8176e3eb3c6850c67ece463
/fwaas-service-chain/neutron-66/neutron/plugins/mlnx/agent/utils.py
654ba8fb72fc2e695bb8d47dab42f7eb0e22c64b
[ "Apache-2.0" ]
permissive
rajeshmohan/openstack
7ca543e86ce5b18be9615590128bf2811c019ef5
19eaf41c20503a7320e9895271802d11675dae2f
refs/heads/master
2021-03-12T20:29:20.842361
2014-09-12T00:48:08
2014-09-12T00:48:08
23,939,961
1
0
null
null
null
null
UTF-8
Python
false
false
5,692
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2013 Mellanox Technologies, Ltd # # 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 # #...
[ "rajesh.mlists@gmail.com" ]
rajesh.mlists@gmail.com
362db05edead17a47a2ae5d4f707c6ca9eafd1fa
fac3dc011d1ddc577ac3922393ac750d1e943147
/src/transformers/models/bloom/modeling_bloom.py
d37972a429f12cb0d20fee47e66cdae4dadec0d6
[ "Apache-2.0" ]
permissive
wxrui/transformers
06ce57bc71466af05cbbe29b5be3ead5ce386d5b
6eedfa6dd15dc1e22a55ae036f681914e5a0d9a1
refs/heads/master
2023-07-06T02:54:36.257425
2023-07-03T10:24:46
2023-07-03T10:24:46
250,432,634
0
0
Apache-2.0
2020-03-27T03:38:17
2020-03-27T03:38:16
null
UTF-8
Python
false
false
56,944
py
# coding=utf-8 # Copyright 2022 HuggingFace Inc. team and BigScience workshop. # # 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 re...
[ "noreply@github.com" ]
wxrui.noreply@github.com
5304cbf2716d3daa6232534adbc4e9a7a839f803
5887aa33c8034d6c60a80df78030fc2d66c9a8ad
/ejemplo_cloudml/trainer/model.py
6851b2b5a3897b45852325786e5a6bba0e2f4c86
[]
no_license
mjuez/seminario-gcp
775045a5f91a9aa6d4ec5a74f34d179a79c2be63
41a9ddf003c91fb8d708c39792a3b68c81459800
refs/heads/master
2021-08-28T13:22:12.051871
2017-12-12T09:22:31
2017-12-12T09:22:31
112,468,890
1
0
null
null
null
null
UTF-8
Python
false
false
3,644
py
#!/usr/bin/env python # Copyright 2017 Mario Juez. 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 require...
[ "mjuezath@gmail.com" ]
mjuezath@gmail.com
e3cb99ef947dba4d15936b6267d2cf162301a086
f17315da2280b1885600abbfc5a4765386111264
/python_script/Image_Preprocessing.py
93bce424ae43a2246e74fca3c13f78b254a68864
[ "Apache-2.0" ]
permissive
rayheberer/burda_hackday
e42e12ab448ba139938e92b8f252385554a53c62
29837f891898bf4a7b63631f98325b0e9240266b
refs/heads/master
2021-07-12T16:35:48.744783
2017-10-16T18:30:06
2017-10-16T18:30:06
106,206,711
0
0
null
2017-10-08T20:14:35
2017-10-08T20:14:35
null
UTF-8
Python
false
false
3,634
py
import glob, os from PIL import Image, ImageOps def rename_images(directory, label): for ii, img in enumerate(glob.iglob(os.path.join(directory, '*.jpg'))): os.rename(img, os.path.join(directory, label + str(ii)+'.jpg')) def split_image(img_dir, img_name, left_dir, right_dir): im = Image.open(os.path....
[ "kapilbakshi88@gmail.com" ]
kapilbakshi88@gmail.com
4c74d8ca0b0d5b396d8797f37e0106f98f47f509
4438a397db52f1dad60edc7f583d2dad103f217a
/ex5 nota.py
c53ece70fa79fa731a766a207f2feee28bc3eb82
[]
no_license
ddank0/Python-ex
07c20ed2f609fad700f0801d7d174626285a3bb2
ab0ed0d7228d19695e7e320a973a928cddbe9055
refs/heads/master
2021-07-01T18:17:05.729400
2021-02-22T01:30:05
2021-02-22T01:30:05
224,468,844
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
cont = 0 soma = 0 nome = input('Nome:') while nome != 'fim': sexo = input('Sexo:') n1 = float(input('1ª nota:')) n2 = float(input('2ªnota:')) media = (n1+n2)/2 if sexo == 'f': print('media feminina individual:',media) else: cont = cont + 1 soma = soma + media nome = i...
[ "isporck0@gmail.com" ]
isporck0@gmail.com
d587998f796c35b943ebb944133064b336c1b387
63fcd65a543f047f4dbab65b9275a4646395a731
/ENet.py
298584992ba65269d507cf0a52779019fb45a176
[]
no_license
XXXVincent/ENet-Keras
14ed0e94f0e5bf2d03bce1df196c432a8805f843
2d13203075fc2860aba60ec4be6060dd78907d0e
refs/heads/master
2020-04-25T08:42:58.710149
2019-02-14T05:42:30
2019-02-14T05:42:30
172,656,054
2
0
null
2019-02-26T07:01:26
2019-02-26T07:01:26
null
UTF-8
Python
false
false
6,097
py
#coding=utf-8 from keras.layers.advanced_activations import PReLU from keras.layers.convolutional import Conv2D, Conv2DTranspose, UpSampling2D, ZeroPadding2D from keras.layers.core import SpatialDropout2D, Permute, Activation, Reshape from keras.layers.merge import add, concatenate from keras.layers.normalization impo...
[ "1182563586@qq.com" ]
1182563586@qq.com
97db9e62ed85695f27f233c12c47c5aadfcf9b64
3bf398d66621db1e8955f5c6cf5cc37c677f5153
/external_tools/ply_info/test/testyacc.py
1a98b4f756bab7e924b2e51565548a896762ae97
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
engineeringentropy/echronos
b60d4f00333375534b10566f470f734c4d4e02dd
b531d5d374ee9b3b66732001eaa6923b3f97ec1b
refs/heads/master
2021-08-07T11:22:30.795797
2020-08-13T03:01:45
2020-08-13T03:01:45
209,948,267
0
0
NOASSERTION
2019-09-21T08:09:32
2019-09-21T08:09:32
null
UTF-8
Python
false
false
15,937
py
# testyacc.py import unittest try: import StringIO except ImportError: import io as StringIO import sys import os import warnings sys.path.insert(0,"..") sys.tracebacklimit = 0 import ply.yacc import imp def make_pymodule_path(filename): path = os.path.dirname(filename) file = os.path.basename(file...
[ "benno@breakawayconsulting.com.au" ]
benno@breakawayconsulting.com.au
4bdd54024cb065037e02da496368a94aedc86137
2ac772bf0c2054e2f1a2e8db6d73e0b4d14dedda
/[Do_it]_Python/chap06/shell_sort2.py
9c6b3e024beb69d3a8bd9884b06668dc47f56052
[]
no_license
cherieuu/Algorithm
1cf5d7399cb89eb124c3b335eb666b77dd33d8b8
cd1e4482e2ce5ad46efac0fff22eea80a3edb036
refs/heads/master
2023-06-23T20:12:00.148985
2021-07-27T14:55:54
2021-07-27T14:55:54
377,110,737
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
# [Do it! 실습 6-9] 셸 정렬 알고리즘 구현하기(h * 3 + 1의 수열 사용) from typing import MutableSequence def shell_sort(a: MutableSequence) -> None: """셸 정렬(h * 3 + 1의 수열 사용)""" n = len(a) h = 1 while h < n // 9: h = h * 3 + 1 while h > 0: for i in range(h, n): j = i - h ...
[ "yhy970108@gmail.com" ]
yhy970108@gmail.com
7a0612bb90e38e3b609279636f755bf5f4be3f41
839c28be0b52f3831fe1b64ef2d8ba34c384dec4
/etc/hello.py
a4d609375092cda12958024c573ea83626c03e58
[]
no_license
petertrr/stepic-project-web
5d9d82522d70e65b534325815e768d1df3e43016
d235d9d1b187b98dcaca8d833bf77f4cf2b632ae
refs/heads/master
2020-07-22T17:50:16.233607
2016-11-21T18:59:31
2016-11-21T18:59:31
73,825,971
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
def app(environ, start_response): # logic status = '200 OK' headers = [ ('Content-Type', 'text/plain') ] body = environ['QUERY_STRING'].split("&") body = [i+'\r\n' for i in body] start_response(status, headers ) return body
[ "peter.trifanov@mail.ru" ]
peter.trifanov@mail.ru
7d6914b5302e5fb20406717bbbb6260a2f53a640
1e23ae696c5620043063e20c2dde14a92709c644
/appengine/lib/echonest.py
b9cc406fc367d5fb4d4e6338c206c69aee93854d
[]
no_license
ynohtna/techno-is-the-word
ff1ea4e3f553118bd43380f1db1c9ec834a28c08
ebfd4186d847ebce1a83476ca557448d26e4aad6
refs/heads/master
2021-01-19T04:43:48.549625
2016-02-28T17:30:03
2016-02-28T17:30:03
52,732,582
1
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
import logging from django.utils import simplejson from google.appengine.api.urlfetch import fetch from lib.helpers import alter_query # ============================================================ # CONSTANTS. API_KEY = 'TCLMMWCPEMTQCMBVA' CON_KEY = '93a88bc50c2a37f66339cbd35d7bfb66' SECRET = 'qlJ5i/ZeQjGv5e8cBTj...
[ "ynohtna@ynohtna.org" ]
ynohtna@ynohtna.org
45f8a9907a4bba03a02af49231f0d72b1e4bcfdc
35ef09d5ded82356cdec16c1dc710d3b1643588f
/project/project/settings.py
1fa9c005d230e9fb5ff5d7da82fd0ced1d84c1bd
[ "MIT" ]
permissive
Shravya9506/sample-django-docker
c5c23140a2b3537255ba5e8f83296459c7f11957
b80f68ad639d134b8699abd10c83de2283955e9a
refs/heads/master
2022-01-12T08:12:11.849002
2019-07-09T11:33:36
2019-07-09T11:33:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,309
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "rowdy_beaver@piedmontfalls.org" ]
rowdy_beaver@piedmontfalls.org
232cd5de467da1a24c6ec42498c4ddf0a4ba6674
b083ec94ed712c315e7f811aa6f7a3eb37eeb1cf
/exe6.py
e47b06645f8bb1107efb0e75ea41619fe7f0d95f
[]
no_license
LePetuconski/simple-python-exercises
742cbdfefb5299840fb925a6206ef8e54960507b
6851dedf5d55e4ae64008eeb37c717376ad267c0
refs/heads/master
2023-04-11T06:36:01.909128
2021-04-25T16:01:04
2021-04-25T16:01:04
361,325,880
3
0
null
null
null
null
UTF-8
Python
false
false
106
py
R = 30; volume = ((4/3) * 3.1416 * (R**3)); print(f'A esfera do raio é r = {R} e o volume é {volume}');
[ "leticiapetuconski@gmail.com" ]
leticiapetuconski@gmail.com