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
56229c9f8f7ddd54a7e71192b3359536b3420ebf
95ccee67bbd27ec40f1218ab9083665e0b4ea792
/files_ext1.py
b317409306bcf0d0975222a26c6240cca1a397bb
[]
no_license
naveenoblum/pynet_test
289a759d6eab81953ac546d6f59a5bfb5ef544ed
546dac6a5d8e413f147b635961d208bfda97758d
refs/heads/master
2021-05-15T14:02:45.764408
2017-10-17T13:12:50
2017-10-17T13:12:50
107,160,456
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
#!/usr/bin/env python fin=open("file1.txt") print(fin.read()) fout=open("file2.txt","w") fout.close() fout=open("file2.txt","a") fout.write("test+file") fout.close()
[ "naveeno@hotmail.com" ]
naveeno@hotmail.com
cfe6c7cf81fdc5a65a1d132a04faf47bb11eabea
667349b5f2d547c7b581c74875b29927a6669b15
/hw3.py
cebe6189bb658c2845627c3fb8f130f49bf04db3
[]
no_license
aliyah8/aliyah8.ds2000hw3
8615e955b8ec1174f8ce0248bcc9ea32b32772b5
425ec0882a90a7c74a40ed1b9f08912a2e24806f
refs/heads/master
2021-09-07T08:14:22.139546
2018-02-20T02:01:50
2018-02-20T02:01:50
80,477,059
0
0
null
null
null
null
UTF-8
Python
false
false
2,400
py
#Aliya Tyshkanbayeva #Homework3 def getYear(date): return date // 10000 #Given integer date returns #the month as an integer def getMonth(date): return ((date // 100) % 100) #Given integer date returns #the day as an integer def getDay(date): return date % 100 # function to read the given file and outpu...
[ "noreply@github.com" ]
aliyah8.noreply@github.com
5816095d02686182c4cc3f9e02f65d91965b2fe6
e6f1137903b9658e5e3c1ee51201a931894303b9
/util/melt/layers/__init__.py
4324748862ecebf1960d5f5dae2b09531e22e1a5
[]
no_license
fword/hasky
8ed69ef85bb34823d9ade27bb3b19aac02872440
d3c680ffa04f7487b931a5575977798157b42b7e
refs/heads/master
2021-01-23T01:18:49.275631
2017-03-18T13:01:27
2017-03-18T13:01:27
85,898,744
1
1
null
2017-03-23T02:39:06
2017-03-23T02:39:06
null
UTF-8
Python
false
false
667
py
#!/usr/bin/env python # ============================================================================== # \file __init__.py # \author chenghuige # \date 2016-08-16 16:36:38.289129 # \Description # ============================================================================== from...
[ "29109317@qq.com" ]
29109317@qq.com
4124230949240f0c5ecafeed29e8afc368e4d106
98ad18efdbe1f9059401077a3a01b4ff25da72a8
/core/urls.py
4eb09d3ef86055b8552963de90599c5c64d9bcd9
[]
no_license
zicodehub/ecolio-backend
0de0c8b8ab4d14c6f1afcdb91fb3335a917f1ca6
974f82413e70bd1e81570a8cc27094b410a5eb00
refs/heads/main
2023-07-28T11:02:31.384368
2021-09-13T15:16:09
2021-09-13T15:16:09
402,658,064
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from django.urls import path from . import views urlpatterns = [ path("clientdb", views.ClientDBViewSet.as_view({"get": "list", "post": "create", "put": "update", "delete": "destroy" }) ), path("clientdb/activate/<int:id>", views.ClientDBViewSet.as_view({"get": "activate"}) ) ]
[ "marcleord@gmail.com" ]
marcleord@gmail.com
bb5cd5fb06f1e6557e7da3428fd7adefe6b9a714
e9d536252095226d757d1352d8db9a30151ccede
/Indicators.py
dd7bc4a6071af45777a98e63854a553abbb0c5d5
[]
no_license
ProjectFE595/Project
94760916a540322f78a845c188704c031354d7ec
fd7013eda60edd804b3eca444da09f54e014760e
refs/heads/master
2021-01-12T14:17:13.126885
2016-12-08T03:27:04
2016-12-08T03:27:04
69,836,319
0
1
null
null
null
null
UTF-8
Python
false
false
8,268
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 25 15:22:15 2016 @author: Hugo Fallourd, Dakota Wixom, Yun Chen, Sanket Sojitra, Sanjana Cheerla, Wanting Mao, Chay Pimmanrojnagool, Teng Fei This file implements an Indicators class which calculates many different technical indicators using TA-Lib library and insert res...
[ "hugo.fallourd@gmail.com" ]
hugo.fallourd@gmail.com
75c0f023556c19ce152dd2ed15092cba945a4cb9
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_enchant.py
30a2682435ccb97a29ce664927597299802bbdb4
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
#calss header class _ENCHANT(): def __init__(self,): self.name = "ENCHANT" self.definitions = [u'to attract or please someone very much: ', u'to have a magical effect on someone or something'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def ru...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f99b7ff41f17b7c89c26a8a420ea3bc70a663edb
6a8e4a564320fd44f6f5829cc6cdbe1b08132d95
/draw.py
0dd2da6b4551a040a2475a73a9a1b11ee7c471cc
[]
no_license
ChanYvonne/transform-graphics
b5414cfb16019c69123d00c696f70a0f561d1307
159d51cd10331d02fc1482e6bf11b2ffc90a339e
refs/heads/master
2021-01-20T02:19:05.703955
2017-03-09T06:27:05
2017-03-09T06:27:05
83,815,610
0
0
null
null
null
null
UTF-8
Python
false
false
2,476
py
from display import * from matrix import * def draw_lines( matrix, screen, color ): if len(matrix) < 2: print 'Need at least 2 points to draw' return point = 0 while point < len(matrix) - 1: draw_line( int(matrix[point][0]), int(matrix[point][1]), ...
[ "ychan1352@gmail.com" ]
ychan1352@gmail.com
facce1dd0ae0e979ec432e8a3d4697e93750f24b
312ab41033c2cb043d617d3e633c166503fd280c
/Informatikk/Bachelor/H2017/ITGK/Eksamensøving/Øving 6/Mynter.py
473758343370ecab300a3a1f0300f96a8752c55d
[]
no_license
skanin/NTNU
cb9b833d9de0d504965979584370b8f353435cd1
e4023856f69060f8d3d09ff4990e29f7a75d98b1
refs/heads/master
2022-01-30T14:31:22.947512
2022-01-20T14:11:14
2022-01-20T14:11:14
113,476,017
4
1
null
null
null
null
UTF-8
Python
false
false
631
py
def count_coins(coins): summen = 0 for coin in coins: summen += coin return summen def num_coins(numbers): coins = [] temp = [] for num in numbers: if num > 10: enere = num % 10 tiere = num // 10 if tiere % 2 == 0: tjue = tie...
[ "sander.b.lindberg@gmail.com" ]
sander.b.lindberg@gmail.com
12773f151707596988078c66d295a28579590999
6515dee87efbc5edfbf4c117e262449999fcbb50
/eet/Distant_Barcodes.py
9c536919456a6b4b5ac94f5b3db75a3e8443f3df
[]
no_license
wangyunge/algorithmpractice
24edca77e180854b509954dd0c5d4074e0e9ef31
085b8dfa8e12f7c39107bab60110cd3b182f0c13
refs/heads/master
2021-12-29T12:55:38.096584
2021-12-12T02:53:43
2021-12-12T02:53:43
62,696,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
""" In a warehouse, there is a row of barcodes, where the ith barcode is barcodes[i]. Rearrange the barcodes so that no two adjacent barcodes are equal. You may return any answer, and it is guaranteed an answer exists. Example 1: Input: barcodes = [1,1,1,2,2,2] Output: [2,1,2,1,2,1] Example 2: Input: barcodes = [...
[ "wangyunge1@yahoo.com" ]
wangyunge1@yahoo.com
f4b13f4fcd3412449248a9ca6929d2741ef05eba
0662d077d50e98f87551ebf714890eeecc2a7975
/stock_analysis_tool/utility/keras_model_decorators.py
f0f98da6422c381761534819ebddc86a71ac5a8d
[]
no_license
ryans2014/nindex_stock_prediction
dc18f11aed6006fba78d9c5e828fda18787c26fd
70a612fde8c6098fd1a8a87d9daceeb07e165607
refs/heads/master
2020-07-06T14:26:37.469978
2019-10-07T04:28:37
2019-10-07T04:28:37
203,048,748
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
import functools def named_model(fun): """ :param fun: function to generate keras models. Need to return a keras model. :return: model.cname = fun.__name__ Side effect: insert model name to map """ @functools.wraps(fun) def call_and_set_cname(): model = fun() model_name = f...
[ "ryansu2011@gmail.com" ]
ryansu2011@gmail.com
a5029a40beecd0024fa75c932d27715d6608d931
3820ef118f6f31470a02bc878c90415474b46ca0
/sc/test_002.py
c344abf42b678834bf04a043d44b5dc35f94a94f
[]
no_license
lou2795849212/pythonlianxi7yml
a6e25f89d4bc854003887b75c2a5b0f9171de633
ac839a65fd6c1e280ec2f25d950c21d6e2216750
refs/heads/master
2021-04-16T17:13:02.592070
2020-03-23T08:41:01
2020-03-23T08:41:01
249,353,901
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
#使用yml写入文件,先导入yaml import yaml data = {'Search_Data': { 'search_test_002': {'expect': {'value': '你好'}, 'value': '你好'}, 'search_test_001': {'expect': [4, 5, 6], 'value': 456}}} with open("w_data0.yml", "w") as f: #第一个参数是要写入的数据,第二个是写的对象,第三个设置字符集为utf-8,第四个是开启字符码格式 yaml.dump(data,f...
[ "2795849212@qq.com" ]
2795849212@qq.com
1fca2fcbc8be7883d52e1d4c38d138fd41772ff9
3c2aef6fab741dd2b3faafeacfc8a7b1686e1670
/函数.py
29f938fe73d1a9aad11601c898571facb68a730b
[]
no_license
notveryfamous/python1
ab3e389ba359cde6210526dab96f6e43c282ff6d
50f748f1b05813cb35ee979484f9f257132a9771
refs/heads/master
2022-12-25T23:47:24.909830
2020-10-04T07:10:29
2020-10-04T07:10:29
288,355,448
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
""" 函数的基本格式 def square(x): s = x * x return s def为关键字 square()为函数名 x为参数 s = x * x为函数主体 return为关键字,意思是返回 s为返回的变量 """ def f1(a): # 定义了一个函数 print(a, '函数f1被执行了') f1('666,') def add(a, b, c, d): e = a + b + c + d return e print('结果为:', add(14, 545, 656, 44)) def zzj(fruit): if fruit == '苹...
[ "Jerry1751@163.com" ]
Jerry1751@163.com
f363b5702de6e51a5585b6f238a2603361d946ba
62f9ddc080ec33c5ca0194df00f69e663c1a7620
/AcceptanceAnswerPredictionTool/urls.py
94bf86a342e7fc38a9a21e0eb1a98d5ca89c0ee0
[]
no_license
shaionbd/accepted-answer-prediction
c2b17e45b6f123ff45a74d913cb9b2c00b4620cd
23897627415bf246727e14f81afc947457f81d5c
refs/heads/master
2021-05-16T11:01:59.971264
2018-03-28T18:38:58
2018-03-28T18:38:58
104,916,061
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
"""thesis_tool URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "shakil.shaion@gmail.com" ]
shakil.shaion@gmail.com
b196d5e4c76aff8234188e226fe680e023fc0f89
21c7e3bd66187d6ae8194d23d26823f1e55bb95f
/chefserver/top/api/TbkTpwdCreateRequest.py
da04f2f89c5cd163c72e57b93b736adbb7653d06
[]
no_license
whisnos/guanfan
1058dc81c9d0762717a531a5ad6a19decc62eff9
79bb44d1231bcc2bacdfcdaf601b2ec269599a56
refs/heads/master
2022-11-06T18:43:05.309164
2020-06-16T02:20:01
2020-06-16T02:20:01
252,395,072
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from chefserver.top.api.base import RestApi class TbkTpwdCreateRequest(RestApi): def __init__(self, domain='gw.api.taobao.com', port=80, KEY=None, SECRET=None): RestApi.__init__(self, domain, port, KEY, SECRET) self.ext = None self.logo = None self.text = None self.url = No...
[ "zhangdezhao@bangboquan.com" ]
zhangdezhao@bangboquan.com
563d3990e69840038fef91948f24751f7baf76ca
efaeda12546cd609d460d7dcb34757f0de7277b0
/python/dev/file/__init__.py
b4cf93e422cda1498692d76c4199ac804f62f068
[ "Apache-2.0" ]
permissive
kaanayvaz/yt-videos-list
cd51b9742ffb627a69bc071a1c781f75845e1c19
8869cded9cf94ab1fd4013c5b6745f08fe9f422c
refs/heads/main
2023-03-18T04:46:12.843281
2021-03-16T02:49:12
2021-03-17T22:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
from . import write from . import scroller
[ "shailshouryya@gmail.com" ]
shailshouryya@gmail.com
697c8244219b17cfa1b86dfb0845d71c6654f5b7
f821aed8441c82be4074317a1ce2539de2d4a0ba
/time.py
14f0d42a29a5e625f1896982ce7f5ddab0ed6781
[]
no_license
virgo-deity/python
28e09662eee1602ddb64d2c2c985b6c16f7d8eae
5defc22487c40240d8d99c8c6f4be70d115593e4
refs/heads/master
2022-09-21T22:48:08.851759
2020-05-29T08:30:22
2020-05-29T08:30:22
267,740,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
# import time # import datetime # print(help(time))#打印time帮助信息 # print(time.gmtime())#打印结构化时间 # print(time.localtime())#打印本地时间 # struct_time=time.localtime()#用变量接收本地时间 # print(time.strftime('%Y--%m--%d %H:%M:%S',struct_time))#根据localtime打印自定义结构时间格式 #通过给定的一个时间转换为结构化时间,然后取特定的年月日和时分秒 # print(time.strptime('2020--05--05 ...
[ "chinajiweiyao@gmail.com" ]
chinajiweiyao@gmail.com
5f6c2cc23bfa6be883b2211c1cbe82dfdc70fee1
7b437e095068fb3f615203e24b3af5c212162c0d
/enaml/qt/qt_menu.py
eed0ca7ad1bdec1ef6ddb3227edc9944a2341163
[ "BSD-3-Clause" ]
permissive
ContinuumIO/enaml
d8200f97946e5139323d22fba32c05231c2b342a
15c20b035a73187e8e66fa20a43c3a4372d008bd
refs/heads/master
2023-06-26T16:16:56.291781
2013-03-26T21:13:52
2013-03-26T21:13:52
9,047,832
2
3
null
null
null
null
UTF-8
Python
false
false
7,532
py
#------------------------------------------------------------------------------ # Copyright (c) 2013, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-------------------------------------------------...
[ "sccolbert@gmail.com" ]
sccolbert@gmail.com
ff20da3bb6653d84bb69a3bba2612d8fed925ca2
6efa42eaa9e92d1d5e68ab9a24f1fc12cfee346f
/avançado/clientes/models.py
41a20670d54399fc46b7eb15cc38a3de47143705
[]
no_license
toledoneto/Python-Django
4e2347d79724aab04407dec7e0ce0b027c5c1122
9f5dc6a6e079a0fb91b0b455a49174bd4775a82f
refs/heads/master
2022-12-11T15:38:45.540194
2019-03-15T16:37:29
2019-03-15T16:37:29
175,497,970
0
0
null
2022-12-08T04:52:13
2019-03-13T20:58:35
JavaScript
UTF-8
Python
false
false
1,722
py
from django.db import models from django.core.mail import send_mail, mail_admins from django.template.loader import render_to_string class Documento(models.Model): num_doc = models.CharField(max_length=50) def __str__(self): return self.num_doc class Person(models.Model): first_name = models.Ch...
[ "toledo.neto@outlook.com" ]
toledo.neto@outlook.com
6b8ae9f60a98fca7b86cae7b4f309b5e5823dbb3
7b263cf22e3adda95f7aa87a9bdeb35d4c72037f
/convert_np_arrays.py
882fc134de3b9bde506f20858fa0ef54eb357586
[]
no_license
RabbitMai/Image-Classification-with-Tensorflow
ace60b51afc6462d1f937d62e6568a3996361572
57fb5a0a12803dd2b9e1647eadba5dae41ddd369
refs/heads/master
2020-05-05T01:55:27.508137
2019-04-06T01:16:54
2019-04-06T01:16:54
179,617,857
1
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
#convert images to floating points def convert_img(directory,size): lst_files = os.listdir(directory) #create numpy array for 1st image first_file = directory+ '/' +lst_files[0] first_image = np.array(ndimage.imread(first_file,flatten=False)) first_resize_image = scipy.misc.imresize(first_image,siz...
[ "wmai87@gmail.com" ]
wmai87@gmail.com
7165bc2aac273c2c37828b9f5f7caf4e44727c2a
d84b1bb81446012fbfbc23a08f7844ddf05c040f
/paddle.py
23191886819492c00f093d4917267f7665f0d2a7
[]
no_license
avlee10/pong_project
280aa0855da03f78bca436022d34be4848f0b903
751ee5439d84124b75ef3d6703c7a77b2b4f6069
refs/heads/main
2023-08-27T17:21:27.184044
2021-11-09T20:24:09
2021-11-09T20:24:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
from turtle import Turtle class Paddle(Turtle): def __init__(self,position): super().__init__() self.shape("square") self.color("white") self.shapesize(stretch_wid=5, stretch_len=1) self.penup() self.goto(position) def go_up(self): """Function to go up"...
[ "iamnetsua@gmail.com" ]
iamnetsua@gmail.com
4868c91a122515b42bcef42c0c1005f784f9c5d5
083a99bdcaece28f08c9389ee0fa8f6a30d9ab5d
/basics/runietests.py
ab32ecbb8a7648179594b978b22d1adc75008320
[]
no_license
jamesnewking/selenium_wd2
a25b20fadc78615fcfa77773f78f3c56b023fbcb
66c731a6b8faa780bf8d1665ed1007c7ed94072a
refs/heads/master
2020-03-26T23:03:27.824241
2018-08-28T03:36:45
2018-08-28T03:36:45
145,506,778
0
0
null
2018-08-28T03:36:46
2018-08-21T04:33:51
Python
UTF-8
Python
false
false
448
py
from selenium import webdriver import os class RunIETests(): def test(self): driverLocation = "C:\\Users\\james\\Documents\\Personal\\selenium\\lib\\IEDriverServer_64.exe" os.environ["webdriver.ie.driver"] = driverLocation # Instantiate Chrome Browser Command driver = webdriver.Ie(d...
[ "jamesnewking@gmail.com" ]
jamesnewking@gmail.com
2ce6df0cf404994e93ae1f837cf173c771bdb69d
edeea3af5cd0bf60c834bcab81bd0484fb2d618f
/desarrollo/SIRP/codigofuente/srip_IA/env-pr/bin/flask
a4ffb8f2a7931bf4b57ed87e89c3e7f1091aa366
[]
no_license
randhu-solutions/randhu-solutions
73fc9cd797d4e1666625104fe732055716939217
6f7cd290dd7c2f0787669fe20bbf22936f5914ec
refs/heads/master
2022-12-27T20:55:56.920355
2019-12-10T22:41:11
2019-12-10T22:41:11
207,953,694
0
1
null
2022-12-11T15:01:16
2019-09-12T03:07:10
Vue
UTF-8
Python
false
false
293
#!/home/anthony/Desarrollo/cms/randhu-solutions/desarrollo/SIRP/codigofuente/srip_IA/env-pr/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "anthodev1195@gmail.com" ]
anthodev1195@gmail.com
8b4ecf37197f1bf3a416459742b7d0638c031bea
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-airec/aliyunsdkairec/request/v20181012/ListScenesRequest.py
e28838ca25f5a9c7bf5a3172116db39b3d94cbdb
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,647
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
abb2c0c6e5d8bcdcb3ecb44cf721b9ea22719323
641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2
/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/bot_test_expectations.py
2c41cd2a18d5e92fc59baa5618929090f74565d0
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
massnetwork/mass-browser
7de0dfc541cbac00ffa7308541394bac1e945b76
67526da9358734698c067b7775be491423884339
refs/heads/master
2022-12-07T09:01:31.027715
2017-01-19T14:29:18
2017-01-19T14:29:18
73,799,690
4
4
BSD-3-Clause
2022-11-26T11:53:23
2016-11-15T09:49:29
null
UTF-8
Python
false
false
14,619
py
# Copyright (C) 2013 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
dd825169a7e52a6ad884d02fdd6500cf7257a189
3ea99519e25ec1bb605947a94b7a5ceb79b2870a
/modern_python/modernpython/lib/mypy/typeshed/stdlib/3.4/tracemalloc.pyi
462b03ca1c46a82c921e5591f87aaf07cc326d2c
[]
no_license
tech-cow/spazzatura
437c7502a0654a3d3db2fd1e96ce2e3e506243c0
45fc0932186d2ef0c5044745a23507a692cfcc26
refs/heads/master
2022-09-01T12:01:11.309768
2018-11-15T04:32:03
2018-11-15T04:32:03
130,414,653
1
0
null
null
null
null
UTF-8
Python
false
false
2,328
pyi
# Stubs for tracemalloc (Python 3.4+) import sys from typing import Any, List, Optional, Sequence, Tuple, Union def clear_traces() -> None: ... def get_object_traceback(obj: object) -> Optional[Traceback]: ... def get_traceback_limit() -> int: ... def get_traced_memory() -> Tuple[int, int]: ... def get_trace...
[ "yuzhoujr@yuzhou-7480.internal.synopsys.com" ]
yuzhoujr@yuzhou-7480.internal.synopsys.com
a625854340662b78f1dd25eae635d0127e4ce021
0f5ae893b4f594f1cdc68aa79550f7897fb4592e
/2000-3000/2585. Number of Ways to Earn Points.py
d3b6094c095f3c3341e59c550312125fae060877
[]
no_license
dianachenyu/AlgorithmPractice
c4c95cb6c64c2ae5fb13ea740ef1f3d81ffa3b42
1e4b259b58b43f53a872cfff3275e92030b52a4f
refs/heads/master
2023-06-27T10:38:52.342861
2023-06-19T15:42:00
2023-06-19T15:42:00
229,684,136
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
class Solution: def waysToReachTarget(self, target: int, types: List[List[int]]) -> int: types.sort(key=lambda x:-x[1]) MOD = 10 ** 9 + 7 @functools.cache def dfs(total, idx): if total == 0: return 1 if idx >= len(types): ...
[ "noreply@github.com" ]
dianachenyu.noreply@github.com
fcd5aad7822ee93458a0b4ecab236b995e531f7d
fc31822ffe7b02baeedecd838607b28457b172de
/monitor/monitor.py
3c6eda34a09f7b70cc1fb4e163130fadbd3b9e14
[]
no_license
m-przybylski/PZ_Monitoring
556db840a6096ad4beab191b41bed9f17c4ea542
aa8edf43f733b4fada15a9010a36f1dc1b611639
refs/heads/master
2020-12-30T18:37:47.120925
2012-05-22T11:45:41
2012-05-22T11:45:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,057
py
#-*- coding: utf-8 -*- import urllib import urllib2 import time import uuid import sqlite3 import os from threading import Thread from flask import Flask, request, redirect, abort, session, escape, make_response class WrongSubscriptionID(Exception): """ Klasa wyjątku informująca o nieistniejącej subskrypcji. ...
[ "kamdad@tlen.pl" ]
kamdad@tlen.pl
5e9b55c7e11701cf118c379aee0a21777950c221
179671e6a9984624131b4e75f7a0ea273ebcef69
/alternative/gesture_model.py
d50d6e39e01e5a29e1a1a07d3104ca4d4a2e1933
[]
no_license
ITT-21SS-UR/assignment9-cm2
2e41cfdcd4088178ecb65fe397e0d662ada353bc
10a4031271150c2951fafe4c0ee9bb27dd9d23fd
refs/heads/main
2023-06-08T09:29:54.186057
2021-06-30T16:39:49
2021-06-30T16:39:49
379,228,255
0
0
null
null
null
null
UTF-8
Python
false
false
3,874
py
import sys from PyQt5.QtCore import QObject, pyqtSignal import dollar_1 """ copied from previous task with modifications GestureModel saves and processes relevant data for the GestureWidget and MainWindow. Is used to add, remove, predict, retrain, train gestures. Emits signals when a layout element should b...
[ "mai-claudia.schoenherr@stud.uni-regensburg.de" ]
mai-claudia.schoenherr@stud.uni-regensburg.de
8436d7f1670a2ef115032f4ab329e743426fbc8a
f08d137b7821d79672c91e5f06967ffa1f90e278
/.history/Python/Main_py_20211020222353.py
b9f2db00c2e594197b452733fbbbb1d47c75cb3b
[]
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
53
py
from Sub_py import num2 print("Hello, Word") num2()
[ "92666546+anhviet-key@users.noreply.github.com" ]
92666546+anhviet-key@users.noreply.github.com
7f694fdc451b69b4d243421d5899f21f20bebfb2
f9558e3001cf1fb549eec2775dfede6b90deab0d
/wifi-raspigopropano.py
c62dbe744503201836c7cf4782707518e79a86b9
[]
no_license
zmxu/raspigopropano
06724bcfbccee227c2fa29d16310eaf93de72752
a09e6ec6e45c86a27a4b43735067b144174eb0b5
refs/heads/master
2020-12-26T12:59:31.968737
2014-01-31T15:55:01
2014-01-31T15:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
# Raspberry PI GoPro Pano WiFi option Python file import time import urllib2 import {stitch.py} import RPi.GPIO def set(property, value): try: f = open("/sys/class/rpi-pwm/pwm0/" + property, 'w') f.write(value) f.close() except: print("Error writing to: " + property + " value: " + value) def setServo(angle): se...
[ "github@chernowii.com" ]
github@chernowii.com
7dfb6020c16cdc7abc3b1b8bc01fc5ee7232a21d
0d0f3d11cc0326318e193f4365eb63185d5eab2a
/Reply Code Challenge - Teen Edition 2021/Competition/Code/placing_antennas.py
ad5756d6155c9e2777c68ddeaeb942d64cc45a43
[]
no_license
dronrp/Pythenerife
8fb538af3bc8c5724e1b19bd3d1edcff4783b33b
0bc5d450fe403422c948bea5a56f02440b6b9c3d
refs/heads/main
2023-03-29T19:51:46.710589
2021-04-04T12:47:17
2021-04-04T12:47:17
345,177,166
5
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# Pytherife Teen import sys # Analizar los datos del input def parse_testcases(io): # Leer el número de casos T = int(io.readline()) tc = [] # Para cada test case for _ in range(T): # Leer los datos del input #n = int(io.readline()) n,k = map(int, io.readli...
[ "noreply@github.com" ]
dronrp.noreply@github.com
69d1f1d6c3c6c4c911b19d88c4953d469307148f
1e0ae1f039668a65e480065d671235fc0fff9b52
/s11day2/backend/b2.py
bb0b3891a46e924deb3ce5866e6a53261cb4ac70
[]
no_license
aixocm/svndata
a4da91c3c9e1d376abfd46e7cecc3c5c2e340e83
ee205301f3a1ce11acef98bba927877cb7c4fb0b
refs/heads/master
2021-01-21T04:39:41.607117
2016-07-01T01:48:36
2016-07-01T01:48:36
47,066,006
0
0
null
null
null
null
UTF-8
Python
false
false
4,613
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #date:2016-1-11 import time import hashlib import pickle import ConfigParser import day info = {} def regiest(): global info while True: username = raw_input('please input your username:') passwd = raw_input('please input your password:') if n...
[ "1755897532@qq.com" ]
1755897532@qq.com
68d3d0258f3819baf4ea7512c916f0d67cdda7e2
05f6a98aa835cb9941755d2a936c76e3d37539d9
/2019/amgm.py
135e0630ca92284442e32491e7114e5063fe64f9
[]
no_license
khynantoque/ICPC
4c57b7117a8485a086c4410c34a80522a9fd40ce
6fb4be26cac22a56eb2c373429520860aff5e4ed
refs/heads/master
2022-04-06T16:53:15.269297
2020-02-10T03:19:21
2020-02-10T03:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
length = int(input()) numbers = list(map(float, input().split())) print(sum(numbers) / length) base = 1 for i in numbers: base = base * i print('{:.2f}'.format(base ** (1/length)))
[ "kantoquetrue@gmail.com" ]
kantoquetrue@gmail.com
c2f220b3b5f0bf91bfad97fd447ebc7840a3f497
f04fb8bb48e38f14a25f1efec4d30be20d62388c
/牛客Top200/41最长无重复子数组.py
925b34c978b77ae75f52c81087d78fbe3d6366fb
[]
no_license
SimmonsChen/LeetCode
d8ef5a8e29f770da1e97d295d7123780dd37e914
690b685048c8e89d26047b6bc48b5f9af7d59cbb
refs/heads/master
2023-09-03T01:16:52.828520
2021-11-19T06:37:19
2021-11-19T06:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
class Solution: # 用队列:当前数字在队列中,则一直出队直到当前元素不在队中,然后将当前元素入队。 # 每入队一个元素都要计算当前队长度,返回值即是队列长度的最大值。 def maxLength(self, arr): n = len(arr) if n < 2: return n queue = [] ans = 0 for number in arr: while number in queue: queue.pop(0) queu...
[ "15097686925@163.com" ]
15097686925@163.com
d6b0e3a76c586bd0d5d6e07779d7492bc728b6e6
a580a0bc53d8d9494cfe1d6dc10e7e196f781360
/random_forest.py~
8a8d9d6119a5d932a3ba9d383e5d2ec3657e8868
[]
no_license
ankita1236/AI_mygov
59061054147df9006f1d14aa18b4fc988e4bdace
682664c83ec72a33891557ad8f7ed8e2861e966a
refs/heads/master
2021-01-25T06:06:43.415220
2017-06-06T13:54:50
2017-06-06T13:54:50
93,524,113
0
0
null
null
null
null
UTF-8
Python
false
false
2,103
print "Creating the bag of words...\n" from sklearn.feature_extraction.text import CountVectorizer from bs4 import BeautifulSoup import numpy as np import codecs import pandas as pd # Initialize the "CountVectorizer" object, which is scikit-learn's # bag of words tool. with open ('nounf.txt','r') as f: train= f.r...
[ "ankita1236@gmail.com" ]
ankita1236@gmail.com
f02ee849a5bd03afb22e7412495422836d4521cf
4596704015bdc8e19d07012564e2edd0bb48279f
/py/munits/__init__.py
f811689d151e6322644d455c722cd8bcdb5123c2
[]
no_license
blint587/MUSys
67e50a4a6b7b076beb922d44066ff02da0382fcf
0ab97418c1ab6cfac3fb11294a1c2afcead47eab
refs/heads/master
2021-01-17T14:29:07.808849
2016-06-22T09:24:37
2016-06-22T09:24:37
54,308,126
0
1
null
2016-06-14T10:44:13
2016-03-20T08:41:27
Python
UTF-8
Python
false
false
29
py
from munits.quantity import *
[ "85Worlan30" ]
85Worlan30
ded09e44634a6c69a66cad4017e63a15258b6b35
67d4025c8b006a4342ce78bf4831d50432a4ed7a
/flow controls/current.py
b858a670d03af0b448bdb3d27cb8ffeb47d14c81
[]
no_license
Anju-PT/pythonfilesproject
fd21484e98dc6c27fd9fd00feea0ede76ca8db17
fee8351a1610921700ee15ea88c6f765fe3d21cd
refs/heads/master
2023-04-29T18:13:46.490301
2021-05-19T08:06:51
2021-05-19T08:06:51
368,791,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
#year #month #date #birth year #month #date #print year cyear=int(input("enter current year")) cmonth=int(input("enter current month")) cdate=int(input("enter current date")) byear=int(input("enter birth year")) bmonth=int(input("enter birth month")) bdate=int(input("enter birth date")) dyear=cyear-byear dmonth=cmonth-...
[ "anjuthankachen2012@gmail.com" ]
anjuthankachen2012@gmail.com
7dbb35ef97c86bff94f16c396abd2af4cffca794
e1b88ad94f6a7203923ef4a74a05ece603a72e48
/treehacksServer/treehacksServer/quickstart/migrations/0005_auto_20210213_1157.py
c679f3829fae147318ccb0d1c2664f400d71dbf8
[]
no_license
anjanadev96/note-worthy
258025758205613bf91c7e69035210c18a7831eb
5b20fabf8087934ce0e2e5ccae168aa09dddf843
refs/heads/main
2023-03-08T16:35:06.314235
2021-02-14T18:05:20
2021-02-14T18:05:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
# Generated by Django 3.1 on 2021-02-13 11:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quickstart', '0004_question_class_session'), ] operations = [ migrations.AlterField( model_name='question', name='answ...
[ "bansal.pawan96@gmail.com" ]
bansal.pawan96@gmail.com
dc151184a7be117c9ba30d0fd60a18f811bcf66d
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/run_locally.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/candidate_sampling_ops.py
7731e73922876cf6de3e9aa25344c6f7d4f4dcf1
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/candidate_sampling_ops.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
5980856a4919bc073e4f8e609869010a726f9957
1a221b795ae5f32789a95d603d7b7af0e4e25f2a
/Trabalho de Redes/colors/Color.py
e54cc00c7cd7c1a80ddc4141f0569339a97734fa
[]
no_license
hgms00/Projeto-AB2-Redes
c38ed69dcf9b2683494d11327f2c884fed97c784
32ebeac9cd3d4477bbafffa1070b753022e66eb4
refs/heads/main
2023-02-24T16:36:47.489296
2021-01-28T01:23:09
2021-01-28T01:23:09
333,599,480
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
class Color: BLUE = '\x1b[96m' PURPLE = '\x1b[94m' PINK = '\x1b[95m' WARNING = '\x1b[93m' GREEN = '\x1b[92m' RED = '\x1b[31m' FAIL = '\x1b[91m' GREY = '\033[90m' END = '\x1b[0m'
[ "noreply@github.com" ]
hgms00.noreply@github.com
3dd6dc39bcb21f0af71641e5d5903311f2e1412f
13e33957736289d171c33ccc782e3aff213709c5
/stock-market-calculator/holdingperiodreturn.py
8b7b6428fc33f3a1735f20863027559fb470167a
[]
no_license
stockmarketcalci/stock-market-calculator
2d6cf107fc139ef51952bd4b8451e02fefc8fe4b
08ac0960fb707f7ede007c80ae5bf906ed876de3
refs/heads/master
2023-08-13T21:34:19.654155
2021-08-26T03:58:03
2021-08-26T03:58:03
380,217,474
0
0
null
null
null
null
UTF-8
Python
false
false
1,902
py
from flask import Blueprint, render_template, request from flask_wtf import FlaskForm from wtforms import FloatField, SubmitField from wtforms.validators import DataRequired, NumberRange hprmodule = Blueprint('hprmodule', __name__) @hprmodule.route('/holding-period-return', methods=['GET', 'POST']) def holdingperiod...
[ "stockmarketcalci@gmail.com" ]
stockmarketcalci@gmail.com
38393a5e17fedcdc54796b08c80b2d08c98836a2
7ff0fc359736aba6cba0247585e2dec0cc28a28c
/Transfer2Vedio/model.py
6193fa57445019663b0af360cc4b32d24c4d7336
[]
no_license
shen1994/DeepFaceSwap
5319d8b760ad3cd9e55769150929c0b11173e096
23f20652e999e591e2addc168f356ca29279bb35
refs/heads/master
2020-04-14T10:14:49.178661
2019-01-02T01:48:12
2019-01-02T01:48:12
163,781,634
2
0
null
null
null
null
UTF-8
Python
false
false
2,723
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 27 15:23:23 2018 @author: shen1994 """ from keras.models import Model from keras.initializers import RandomNormal from keras.layers import Input, Conv2D, Dense, Flatten, Reshape, concatenate from nn_blocks import conv_block from nn_blocks import self_attn_block from nn_...
[ "843224306@qq.com" ]
843224306@qq.com
28c8ad392ae8fb4734f517f1bbe7082530750ef7
ca48d0e9a823608b942e34f6dbcac2e959950170
/P17/test.py
5892694886478d43fd8a6767e4bd0fc57a18854c
[]
no_license
lulichn/python-99
ccc626dd0007407d182e270e49fc5e28b875405f
3f7da8aa491689e4adcf0386f1abbfce83067ba2
refs/heads/master
2020-03-08T04:36:03.695539
2019-08-28T17:57:23
2019-08-29T02:41:28
127,926,748
1
8
null
2019-08-26T01:11:01
2018-04-03T15:09:55
Python
UTF-8
Python
false
false
622
py
import sys sys.path.append('../') import unittest from P17.main import split class Test(unittest.TestCase): def test(self): self.assertEqual(split([1, 2, 3, 4, 5], 0), [[], [1, 2, 3, 4, 5]]) self.assertEqual(split([1, 2, 3, 4, 5], 1), [[1], [2, 3, 4, 5]]) self.assertEqual(split([1, 2, 3, ...
[ "daisuke.develop@gmail.com" ]
daisuke.develop@gmail.com
7248eda378633edef7b4bfaed6caf91e45b279c8
21d7a6d0566b07dc4103a97be1c91e05e6784128
/configs/wsgi.py
d9169dacadc338e03ae338ff6b664329db4c7347
[]
no_license
simonw/squirrelspotter
60c28dfcf3851676a37457db6e28704f2dfdcdf2
4d56e3843b6de9caf23f180b0cee19f4cd0a6b73
refs/heads/master
2021-03-19T18:09:02.960853
2012-09-25T14:56:44
2012-09-25T14:56:44
5,900,675
2
0
null
null
null
null
UTF-8
Python
false
false
167
py
import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "configs.settings") from django.core.wsgi import get_wsgi_application application = get_wsgi_application()
[ "simon@lanyrd.com" ]
simon@lanyrd.com
faa95ec98e22a82f5cfcdfed51a9b6f43b11ed2c
214276e470b08a9d72a644fc84838608a4e19d59
/arena.py
1515f33c600f3208fc6d3b565c01ca9b9b3ccc1e
[]
no_license
brianross93/pythonsuperherodueler
6f804bc747dfc19b58231afa27aee6b6b9c71de5
e7139bfe3f0717b7aba477382e018499fa2eaa81
refs/heads/main
2023-01-20T21:18:25.125905
2020-11-24T07:02:04
2020-11-24T07:02:04
314,718,333
0
0
null
null
null
null
UTF-8
Python
false
false
4,569
py
from ability import Ability from weapon import Weapon from armor import Armor from hero import Hero from team import Team class Arena: def __init__(self): self.team_one = None self.team_two = None def create_ability(self): '''Prompt for Ability information. ...
[ "brian.ross@students.makeschool.com" ]
brian.ross@students.makeschool.com
a9b5323042276894d6c0ed9d93f1a3bc79da30c9
ab5d53cc00772ff2ac4c0747cbbd4ecc0c88079e
/DeepLearning/C1_Intro/P5/linear_regression/test.py
3cb756c64b4c666296bd6217eb3173285496e947
[]
no_license
TragedyOwl/UDACITY
a341222703334f6c7d1cb15839036cc15ebb3e8c
96c87cb8a2344847a10475c0cc4261e364c70c4d
refs/heads/master
2022-12-09T22:28:31.467271
2018-01-03T08:47:55
2018-01-03T08:47:55
105,650,296
0
1
null
2022-12-08T07:15:22
2017-10-03T12:41:45
Jupyter Notebook
UTF-8
Python
false
false
640
py
import pandas as pd from sklearn import linear_model import matplotlib.pyplot as plt #read data dataframe = pd.read_fwf('./data/challenge_dataset.txt') # print(dataframe) x_values = dataframe['data'].str.split(',', expand=True)[0] y_values = dataframe['data'].str.split(',', expand=True)[1] # print(x_values) df = pd....
[ "598249974@qq.com" ]
598249974@qq.com
4b506f7672b6171bcf62eada7d62d8318cc31746
cbf1574b98767aaecd37672df188e185ee34a274
/main.py
4445e8e27bb52094fff540e70b2e1766151c5ae6
[]
no_license
Stexyyy/BellaGameMLG
45cdfb858e1bba0e6c7b3e8418821201967ba234
971d218018f64cb5fa80a21dff231bfe24a9103f
refs/heads/master
2023-05-01T18:00:59.867014
2021-05-20T15:32:10
2021-05-20T15:32:10
366,092,189
0
0
null
null
null
null
UTF-8
Python
false
false
23,148
py
import pygame import Introcutscene pygame.init() pygame.display.set_caption("Bella game!") screen = pygame.display.set_mode((500, 500)) shootl = pygame.image.load('images/BellaShoot.jpg') shoot = pygame.image.load('images/InverseShoot.jpg') image2 = pygame.image.load('images/AFKBella.jpg') imageR = pygame.image.load(...
[ "" ]
ac60c8f095376835613db058072b466b085377e0
e5ebf8d209c2720fa2cb123541a90d30a0e6c364
/Web_Program/venv/Scripts/pip3-script.py
f12831ab8c696f096993b5f0c1f66522c71baf1e
[ "Apache-2.0" ]
permissive
Incipe-win/Games
f235482d98fbfb8f98c120e11604973c6115bb79
902e6c7631fa75b57cfabf0e8be8f8d8486ec432
refs/heads/main
2022-12-25T17:31:21.968194
2020-10-09T13:42:53
2020-10-09T13:42:53
302,651,724
1
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!F:\Repositories\C_Cplusplus\Games\Web_Program\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)?$', '', sy...
[ "whc_9_13@163.com" ]
whc_9_13@163.com
18e296be11eaf84d124e43a4b589ea13cd2a83b3
6204bb1342d2eb4c924b13193ed452bfa653ad2b
/pipe_transformer/data/base_data_manager.py
306d5e2ad7213f49c80b0711b3c394d512e95729
[]
no_license
Young768/PipeTransformer
998d7fc609afeb1edd540f300262643ae7de9197
8d099008bde7dd07513041dd90747c853c2ccc1b
refs/heads/master
2023-06-29T23:51:31.783108
2021-07-24T05:12:13
2021-07-24T05:12:13
388,994,452
0
0
null
2021-07-24T04:01:08
2021-07-24T04:01:08
null
UTF-8
Python
false
false
396
py
from abc import ABC, abstractmethod class BaseDataManager(ABC): def __init__(self): pass @abstractmethod def get_data_loader_with_node_rank(self, epoch, batch_size, node_rank, num_replicas, local_rank): pass @abstractmethod def get_train_sample_index(self, epoch): pass ...
[ "me@chaoyanghe.com" ]
me@chaoyanghe.com
1d985001aa8cb066283ba9bf7d051e057fa13f97
a204895c89b15eab24d68b5340da440419966bcc
/rea/apps.py
086161dfe20fc8b3cf22684419423465d07f66bf
[ "MIT" ]
permissive
Ecotrust/regional-equity-atlas
c98855be70aa35cebff48d94d89e2cbd2077cfe2
66911330ea29ac6ed2ba5b172e9171f22d995756
refs/heads/master
2020-03-23T06:18:13.817698
2018-07-31T20:08:02
2018-07-31T20:08:02
141,202,099
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
from django.apps import AppConfig class ReaConfig(AppConfig): name = 'rea'
[ "ryan.d.hodges@gmail.com" ]
ryan.d.hodges@gmail.com
5362ea6c41429cce7def121b934368e4497ef541
4ff62294c1be2fc0b07a4470b3a1ba53678c4f0a
/devops/celery.py
c48760e8a489c36e70d4d9ca76e2a4072967fd57
[]
no_license
longwenchen/devops
d7aed58b664aba104804ec29a9e8ab6f79055022
57ddc7d38134da1fdcbfb3b21d3cabf593e3c8e6
refs/heads/master
2016-08-03T19:17:29.988653
2015-04-30T14:02:18
2015-04-30T14:02:18
29,540,264
0
1
null
null
null
null
UTF-8
Python
false
false
602
py
from __future__ import absolute_import import os from celery import Celery # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'devops.settings') from django.conf import settings app = Celery('devops', backend='amqp', broker='amqp://') # Using a strin...
[ "chenlongwen@gmail.com" ]
chenlongwen@gmail.com
b5e0fbba01c81b4c51a91e08acdded6d09a64a5c
727a12137c5e5254a75ae8d1ef7cec8afacb1db0
/polls/urls.py
8fa82b531f7344ea46da38d8cc4c4bf8ae786c07
[]
no_license
reazahmed/mysite
6bb444403a2e047539ed0e3c676e2b5c7622692d
ff3706b7d19c2b93b3d8fd202dd07e2d1eefba9c
refs/heads/master
2022-12-27T08:55:07.553290
2020-10-16T03:34:04
2020-10-16T03:34:04
299,406,258
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
from django.urls import path from . import views app_name = "polls" urlpatterns = [ # ex: /polls/ path('', views.index, name='index'), # ex: /polls/5/ path('<int:question_id>/', views.detail, name='detail'), # ex: /polls/5/results/ path('<int:question_id>/results/', views.results, name='results...
[ "reaz.ahmed93@gmail.com" ]
reaz.ahmed93@gmail.com
e7a188d04d0cb04c69b3fb5dbe1314f40cab8666
84c7261004c2683cc6ca5bf3dcc095b07f714175
/todoapp/views.py
6eca631b727091a77333ec480f9fb447f5eed92b
[]
no_license
filwillian/django_api
eab4640aa11d18e8aa16ab8b73525fbe9e2c5be3
595b2ba9a5da1cea76be6ad27cbe19d2bf1890ea
refs/heads/master
2023-05-03T14:04:11.456635
2022-03-17T13:36:33
2022-03-17T13:36:33
200,193,652
0
0
null
2023-04-21T20:36:51
2019-08-02T08:08:11
Python
UTF-8
Python
false
false
1,227
py
from django.contrib.auth import authenticate from django.views.decorators.csrf import csrf_exempt from rest_framework.authtoken.models import Token from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import AllowAny from rest_framework.status import ( HTTP_400_BAD_REQU...
[ "filwilliano@gmail.com" ]
filwilliano@gmail.com
c0dcd406a609585002fe242dd79f2e2161baa1c1
c6a7d6d51e9b6c8080fb935fe3f35bc0ffd8b29c
/basic6.py
f522e806a58ce4e775892ac77802447e9d169a2a
[]
no_license
astrrr/OpenCV-Tutorial
51f0ad679d1ec5bc2a8be89d6bfda8629ba1f093
707dee656e7875cc5be7dbf51a9f95d10fca43b7
refs/heads/main
2023-07-25T11:15:58.691137
2021-09-08T09:15:15
2021-09-08T09:15:15
394,672,809
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
#บันทึก video import cv2 cap = cv2.VideoCapture(0) fourcc = cv2.VideoWriter_fourcc(*'XVID') #ตั้งค่า four cc result = cv2.VideoWriter("output.avi", fourcc, 20.0, (640, 480)) #เตรียม file while (cap.isOpened()): check, frame = cap.read() #รับภาพจากกล้อง frame ต่อ frame if check == False : break ...
[ "invisibile.sek@gmail.com" ]
invisibile.sek@gmail.com
ad83ee7217dd5b80d563866a27a9b2c1024e21ab
ce25541aae1affd34224af0d9a0397ffca2a7d5b
/src/SSSP.py
d4ee52b7bf53f44b5cec89676a8bec0de2bb0032
[]
no_license
abasak24/ece594Neuromorphic
8a12c297c9351b3b58a6f00eae76ccb7722175df
68727086de0e16c776319f5a18b36830c4a40eb7
refs/heads/master
2020-08-29T21:34:34.132042
2019-12-05T05:12:58
2019-12-05T05:12:58
218,179,435
1
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
# GOAL: read an input file, parse vertices and edges; build the appropriate network of neurons; set correct parameters for neurons and synapses; perform SSSP # Requires 2 parameters to run this code: 1) input edge file and 2) the total number of nodes in the graph # Example: python SSSP.py ../datasets/ultraSmallKronec...
[ "18584733+abasak24@users.noreply.github.com" ]
18584733+abasak24@users.noreply.github.com
df1e1b2efa5dc475ee5b76e61cad469f2164c2bf
052a89753a7917b7fa0ccdf5718d5250a1379d2c
/bin/explode.py
792bb4609f5f71183a72a0d26597362977ad7e7b
[]
no_license
bopopescu/aws.example.com
25e2efda3bd9ae2a257c34904ccb53043fe20b55
97254868688c3c3a991843fcacc973c93b366700
refs/heads/master
2022-11-22T07:06:30.386034
2016-10-25T15:22:14
2016-10-25T15:22:14
282,553,417
0
0
null
2020-07-26T01:22:26
2020-07-26T01:22:25
null
UTF-8
Python
false
false
2,499
py
#!/Users/deanarmada/Desktop/projects/python-projects/aws.example.com/bin/python # # The Python Imaging Library # $Id$ # # split an animation into a number of frame files # from __future__ import print_function from PIL import Image import os import sys class Interval(object): def __init__(self, interval="0"): ...
[ "deanarmada@gmail.com" ]
deanarmada@gmail.com
7edc10aae0ce3274fae330d8d208338346bf9bea
56b769e40f016eddf7c20778f2ddbcca17216219
/theWall/settings.py
0f242b234a54ccbb8f08e962e9d61da347dfeae1
[]
no_license
Shawnpcw/The-Wall
93268f0fbf516bc6d2ee79f3f81bb3175d419678
adcc7b211b61eb3c50307415f2d2601307030584
refs/heads/master
2020-03-26T15:35:26.778567
2019-04-08T02:02:12
2019-04-08T02:02:12
145,052,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,107
py
""" Django settings for theWall project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # B...
[ "s.cannon.williams@gmail.com" ]
s.cannon.williams@gmail.com
19fbc98fa9d809509ce8e1bf5a669affa193f000
ef9080867c640847a7072c0a1a6c3f770a050f12
/assignment2/cs231n/classifiers/fc_net.py
e7d2080ae338362e0db5dd76382335b9e79a8bb8
[]
no_license
J-JunChen/cs231n
24759817a18900e91780a6fb090b6a0439ea3650
6597a9b954604d9490f269ef9fc33b7794ac4a01
refs/heads/master
2023-01-01T06:05:03.868169
2020-10-25T13:15:44
2020-10-25T13:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,798
py
from builtins import range from builtins import object import numpy as np from ..layers import * from ..layer_utils import * class TwoLayerNet(object): """ A two-layer fully-connected neural network with ReLU nonlinearity and softmax loss that uses a modular layer design. We assume an input dimension ...
[ "JunStitch" ]
JunStitch
264b500238e2e0aa50fbf23ec1a26dff5741e31c
9c88b0ca37b37b939117e73f8e03b0525b672b39
/tira.py
5ac0624565ff350a362a04fc54429eafed653e93
[]
no_license
antonio-fiol/tren
f603176b0c08597bdab1bb41d9aa8d96664144ea
8c62f28b9b4af3f609ae88c7ffa22fef45b99c24
refs/heads/master
2021-01-11T16:03:31.335779
2018-04-06T14:38:58
2018-04-06T14:38:58
79,994,660
0
0
null
2017-08-17T06:50:40
2017-01-25T08:05:06
Python
UTF-8
Python
false
false
12,576
py
from Antonio_I2C import Adafruit_I2C from PIL import Image from memoized import memoized from os import walk import os.path import datetime import webcolors from tornado import gen import tornado.web from eventos import Evento, GestorEventos from representacion import IdDesc from parametros import expuesto, ...
[ "antonio@fiol.es" ]
antonio@fiol.es
8580447ff21854bfe181506e9b30bc9ffb85ebe5
c243cff9218b72b4171a3fc294607fa830561d08
/4_Sorting/maybe/[maybe]baekjoon_1431.py
092d14f8719e35301a0ae46164e19c5b68894514
[]
no_license
ISANGDEV/Algorithm_Study
31e65cc6916be92d2a56aef1ad18eacb5b04f787
0eec5e3b2321f521e617d7bdc99fca8a4103f0bb
refs/heads/main
2023-07-24T08:18:20.794903
2021-09-01T14:05:54
2021-09-01T14:05:54
347,665,106
0
0
null
2021-09-01T14:03:32
2021-03-14T14:51:24
Python
UTF-8
Python
false
false
686
py
numOfGuitar = int(input()) sNums = [] sNums_sum = {} for i in range(numOfGuitar): serialNum = input() sNums.append(serialNum) total = 0 for j in serialNum: if j.isdigit(): total += int(j) sNums_sum[serialNum] = total sNums = sorted(sNums, key=lambda x: sNums_sum[x]) for i in se...
[ "cks0229@hanmail.net" ]
cks0229@hanmail.net
e9ee44e68a5887f995b45f9f2a065aefe199c6fd
2549f28dd6d0d3b809cf6c8f2af2fda9a1903a19
/Final/matrixvm-rev/prob_src/encrypt_flag.py
6421e15297d4b1e00821612d5ef5ad8a7c869687
[]
no_license
c0m0r1/Codegate-2020
ab6a378e2012f61bffba9306c5c54974f00bad82
debfc7f964dbb65028bb3319232cc248103b7835
refs/heads/master
2021-05-21T01:24:09.269635
2020-09-04T19:03:27
2020-09-04T19:03:27
252,484,969
3
1
null
null
null
null
UTF-8
Python
false
false
870
py
#!/usr/bin/python import numpy as np import random flag = "welcome_to_MatrixVM_world" assert(len(flag) == 25) key = "we_will_miss_you_procfs.." flag_li = [] key_li = [] for i in range(5): flag_li.append([]) key_li.append([]) for j in range(5): flag_li[i].append(ord(flag[i * 5 + j])) key_l...
[ "ehddhr4454@kaist.ac.kr" ]
ehddhr4454@kaist.ac.kr
f989364fcb94660e3bdd37182643dad78e55e126
73576276d29be09f0ea55b001ef5af43ce3741c1
/encounter/admin.py
56d7794d84052c2075f2b166a13759fed15b2747
[]
no_license
kejistan/DM-Nightmare
09d5e40f0b6cab660e2a962108498ab5e7ef5456
a14e5e3f4176b92c0dcde4a5f3c1e0c04753b4dc
refs/heads/master
2021-01-16T23:23:37.096567
2010-12-13T20:43:19
2010-12-13T20:43:19
1,143,937
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
from django.contrib import admin from dm_nightmare.encounter.models import * admin.site.register(CreatureClass) admin.site.register(CreatureInstance) admin.site.register(Action) admin.site.register(Encounter)
[ "nicolay2@illinois.edu" ]
nicolay2@illinois.edu
8064cfc5c46bbf7fac14576f49088c5a516c311e
bc441bb06b8948288f110af63feda4e798f30225
/patch_manager_sdk/model/collector_center/job_v2_pb2.py
3368edc9a9c54ad07768d21bca07f442ac5ce755
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
18,224
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: job_v2.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impo...
[ "service@easyops.cn" ]
service@easyops.cn
3525230e6582ac8fb4a3bf6c92b455c2a313d89d
6024f40efc417c5349446774f1bdff744c01a766
/test1.py
db299d77b6fed16e4b463b4bf69ff488899899e2
[]
no_license
Lib-P/apiAutoTest
92e9f416c0225c11ceba2e0d1c0471af5c8a8d2a
b6ddff580f66c8cff9bac974749cfe57069f7a94
refs/heads/master
2023-03-21T01:26:43.120546
2021-03-08T03:42:38
2021-03-08T03:42:38
343,345,180
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
# -*- coding: utf-8 -*- print("github")
[ "18225068337@163.com" ]
18225068337@163.com
89dfad23f21087ab1b9c820f37999309d1580b94
f46caa5ce999d600e3ed88c3c2477e2bf4036bac
/Feature_Extractor.py
b643189b9662fc2d82e78dcf26e963cfdae87fa0
[]
no_license
linsea423/Lung_Cancer_Prediction
ad6f5c8194a9d750217cfe9d34c7ad3940e1a048
d01d0f2ef616ae86e883385c09aeaa9e9ce803f5
refs/heads/master
2020-06-08T19:10:24.783444
2019-06-22T23:51:25
2019-06-22T23:51:25
193,289,158
0
1
null
null
null
null
UTF-8
Python
false
false
5,390
py
# -*- coding: utf-8 -*- """ Created on Wed Apr 5 21:45:26 2017 Extract features from the images @author: linhaili """ import pandas as pd import numpy as np import time import os ################ResNet50 Model############################ from keras import backend as K from keras.applications.resnet...
[ "linhai_li@hotmail.com" ]
linhai_li@hotmail.com
22f46e7b9fd80fbc5b20ee78035a5b03bceae19c
4fe6566f8281437c8e9098457276957db022db87
/build/TF_test/catkin_generated/pkg.installspace.context.pc.py
a0eff4f9f43b99b7d790a0165bc24a1d5ecc6446
[]
no_license
heyan0118/robot-programming-with-ROS
ad0d79af865ed1af3c7ed92cddb1e6efc1a4fc10
e9d1b8de42707ba317f50a7694bc071816f950d3
refs/heads/master
2022-11-29T22:06:45.329528
2020-08-11T16:30:13
2020-08-11T16:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "TF_test" PROJECT_SPACE_DIR = "/home/w...
[ "2466913104@qq.com" ]
2466913104@qq.com
fdec0a78839c4b2acdb336c7a23b2cc37975b2f3
21c0fc7e960cd526eea576ad81a74eb3de87139a
/tpot_marketing_example.py
51745882030f7877c6c9b1b7cfebd76d279eb9de
[]
no_license
ShubhangiGoyal/AutoML
be86df564f3ae4b295c02cc5f5d9f65a355b1724
2fe468bd1fb8213660460331f4add47f26765b28
refs/heads/master
2022-11-22T18:18:46.078842
2020-07-27T10:32:19
2020-07-27T10:32:19
265,242,115
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeClassifier # NOTE: Make sure that the outcome column is labeled 'target' in the data file tpot_data = pd.read_csv('PATH/TO/DATA/FILE', sep='COLUMN_SEPARATOR', dtype=np.float64) features = tp...
[ "noreply@github.com" ]
ShubhangiGoyal.noreply@github.com
165af226c922ba23d17d9d829f43a3aab369517d
06ee1cf699457dea38913bc89768c69b6982a56e
/10-fold/data_process/test/my_extract.py
b7c0532cd59eb702afc8957c196f03755f02d98d
[]
no_license
ImbaPlayer/anomaly_detection
14343f76fe2570ef32fc89dc02c87dfeb8efc75a
fb432da31c4d6fe44f084bab4509cba8baabc205
refs/heads/main
2023-01-29T18:34:30.268634
2020-12-13T09:40:23
2020-12-13T09:40:23
309,416,567
0
0
null
null
null
null
UTF-8
Python
false
false
7,144
py
# -*- coding: utf-8 -*- # @Author: Guanglin Duan # @Date: 2020-11-14 22:02:33 # @Last Modified by: Guanglin Duan # @Last Modified time: 2020-11-16 16:43:08 #!/usr/bin/env python3 """pcap2csv Script to extract specific pieces of information from a pcap file and render into a csv file. Usage: <program name> --pcap <...
[ "983002995@qq.com" ]
983002995@qq.com
36d1293350f5b67bf202eb4d0c02875b0fb70e92
63f6ce221f6ac10f33761b6e57cf47725fd3d1cb
/08_Inteligencia_Artificial/01_Mineracao_de_Emocoes_em_Textos/base.py
d5d26c33f96c0e78d5a32f8964b53b1eae32c865
[]
no_license
iamferreirajp/python-notebook
7dcc4305fec2a133a28b5449d77d486dcaca2f5f
c9056024bc7a7715db3607ec00f886a7b9eaf0c0
refs/heads/master
2020-05-03T09:54:43.612078
2019-03-24T07:07:21
2019-03-24T07:07:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
base = [ ('eu sou admirada por muitos','alegria'), ('me sinto completamente amado','alegria'), ('amar e maravilhoso','alegria'), ('estou me sentindo muito animado novamente','alegria'), ('eu estou muito bem hoje','alegria'), ('que belo dia para dirigir um carro novo','alegria'), ('o dia está...
[ "victorhad@gmail.com" ]
victorhad@gmail.com
2a4d84e2f774b9f96415442e2e3d014da7db7d79
5333ef6a2907a7e61a8c2d9bc0da240b29fcd536
/blog/form.py
999d71db5e9d2b4e8e1cc5bb64ce766af3a18f39
[]
no_license
MaitreWaff/waffo
ec5be0615812bd7f4a3e83cda60e9aa9260a24ed
1ae7d22e8e7a1f991da7c392bd1440a27900068f
refs/heads/master
2022-12-13T08:39:52.965532
2017-09-27T22:35:36
2017-09-27T22:35:36
100,083,251
4
0
null
2022-12-08T00:36:08
2017-08-12T02:14:48
CSS
UTF-8
Python
false
false
3,091
py
from django import forms from profiles.models import UserProfileModel from .models import Blog, BlogPost, CommentBlogPost # Formulaires du Blog # # New forms. class DesktopBlogForm(forms.ModelForm): theme = forms.CharField( widget=forms.Textarea( attrs={'rows': 5, 'cols': 20, 'placeholder': "...
[ "waffoluc@gmail.com" ]
waffoluc@gmail.com
6eb6d4de09645455d43061b7dad393189614890e
7589a3745000d3734344d3f5914a2a05cd3344f3
/s11/code-S11/image.py
441b793adb09ce8230ef235653ebd8a8f3ee207b
[]
no_license
gabrielorz/MI
96f2cd107a74dea26a655fbf18020bdbedb03ef4
da5302632bf94893c8b510c812cf706f39fe5403
refs/heads/master
2022-03-31T12:38:35.028606
2020-01-08T10:22:32
2020-01-08T10:22:32
213,033,525
0
1
null
null
null
null
UTF-8
Python
false
false
1,621
py
from scipy import misc from skimage import data from skimage import draw from skimage import exposure, color from scipy import misc import numpy as np import os import os class Image: dic_procedural = {'coffee': data.coffee, 'astronaut': data.astronaut, 'ascent':misc.ascent, 'face': misc.face, 'checkerboard':dat...
[ "gabriel.garcia.hernando@gmail.com" ]
gabriel.garcia.hernando@gmail.com
b832b3f2f0e2726e7fa8b3e141a108a87987f57a
0f4328ee378b68920783e90e83161db193955d2f
/analysis/hiddenRepAnalysis.py
b3dd0b9dbf2f17c6616829367117f76aec1de695
[]
no_license
BarryRun/gram-pytorch
87df0c20eeada94e7a39fa1fd010e85499ccefcf
5da57c3dfa663a996aa16b2a796037910826f385
refs/heads/master
2022-12-25T14:32:06.826409
2020-09-19T03:51:55
2020-09-19T03:51:55
294,862,052
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
import torch import torch.nn as nn import torch.nn.functional as F from datetime import datetime import sys import pickle import collections import numpy as np from diagnosisRepAnalysis import read_best_params, get_diagnosis_rep from collections import defaultdict sys.path.append("..") from dataLoader import load_dat...
[ "rhys@seu.edu.cn" ]
rhys@seu.edu.cn
220ce88c93ffcc2537e57efa0217492df0a9e1bb
04fcab9be0ed31868a18508db7a84d22b8eb534d
/music_player/PlayerList.py
e492e52169d54b85d27fde905ae7a5d7132af689
[]
no_license
dannieldwt/console-music-player
f9a0c773bf1fc5307c3d4f080dff0637250136fa
8db45209383490481c5afc87eca39db537e3b9e1
refs/heads/master
2020-05-09T10:23:05.574475
2019-06-12T04:15:36
2019-06-12T04:15:36
181,039,895
1
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: 10858 @license: (C) Copyright @contact: xxx@qq.com @software: PyCharm @file: PlayerList.py @time: 2019-04-19 22:08 @desc: 该文件包含了播放列表抽象基类 普通播放列表,收藏列表,拉黑列表的定义 ''' import time import abc from music_player import ListItem class Abstract_PlayList(object): ''' 播放...
[ "13411054963@163.com" ]
13411054963@163.com
27f01f5fbb99cb210d0cc41d4914c1b324bdd807
0180ae8f7515e1766abfc3adfafc2dfeb6389c80
/app/tests.py
a14a076ae6977364918478bd4333ef2bdce24c7c
[]
no_license
geckoboom/identidock
ff62cfc90d6bff3f52d9507b76639b291c9fc02f
c71676e8cd2b00fde58299acf3690fedf9cd7ccd
refs/heads/master
2022-12-07T10:29:22.977134
2020-09-10T13:42:29
2020-09-10T13:42:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
import unittest import identidock class TestCase( unittest.TestCase ): def setUp( self ): identidock.app.config["TESTING"] = True self.app = identidock.app.test_client() def test_get_mainpage( self ): page = self.app.post("/", data=dict(name="Moby Dick") ) assert page.status_co...
[ "ontroip@gmail.com" ]
ontroip@gmail.com
7a6896e042b321438461526138aeea11b4452adb
54ea9a0a6b315c2a84c28ff402e41cfc28bfbcb1
/job/admin.py
94e7338914be31e649c95887ed3a7037d3c3a481
[]
no_license
miyanda2/bauchi_jobs
7601aaadc0cc9e6e6325565220c7ad5e0d306f3e
d7e461854c4fb6dafca04f29a7503ccc974ed7f8
refs/heads/master
2020-04-08T12:07:13.805700
2018-12-11T16:49:15
2018-12-11T16:49:15
159,333,805
0
0
null
2018-12-11T16:49:16
2018-11-27T12:42:46
JavaScript
UTF-8
Python
false
false
126
py
from django.contrib import admin # Register your models here. from django.contrib import admin # Register your models here.
[ "micheal@uplift.ng" ]
micheal@uplift.ng
f30d4428bfd66b649479c6287f8e5a80d0e995b2
9c4249f8581f8b0012967e907263f5fee000b6a9
/downloadDataset.py
910aa0705181f82e61b17471739cbce66ea0fbf4
[]
no_license
mvonlanthen/AWS_IoT_predictiveMaintenance
66e87d31e4b38703e632f2bcd0b0f4cf6def488a
4b76b901fe4cf661a691bcf639a426c2d052a7d1
refs/heads/master
2020-09-13T19:33:12.268200
2020-01-23T14:52:20
2020-01-23T14:52:20
222,883,218
0
0
null
null
null
null
UTF-8
Python
false
false
10,654
py
''' downloadDataset.py ------------------ Download, unzip and prepare the "Turbofan engine degradation simulation dataset" into one csv file. The orignal dataset is splited into 4 batches which are themselves splitted into train and test sets. Each batch represent a different operating condition. Moreover, the gro...
[ "ubuntu@ip-172-31-37-198.eu-west-1.compute.internal" ]
ubuntu@ip-172-31-37-198.eu-west-1.compute.internal
3f06029ceb9f9184313732f15f1334894534e149
18375af374e91e721fb16e5415bc4fc7540e5ced
/currency_exchange/views.py
cf8a2101498baf62f88fd5a950b8ec6f7712a9a2
[]
no_license
youssefelmasry/tahweela_app_demo
64d802df33ad6361a714a3119b3380b9afe98e4e
ee55b23e601f5e6580e9f051f6da89acab37d3a1
refs/heads/master
2023-02-25T23:05:08.853738
2021-01-29T17:55:33
2021-01-29T17:55:33
334,214,124
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
from rest_framework.generics import ListAPIView from rest_framework.views import APIView from currency_exchange.serializers import RateExchangeSerializer from rest_framework.response import Response from currency_exchange.models import BaseCurrencies class BaseCurrenciesListView(APIView): def get(self, request): ...
[ "yusufelmasry9@gmail.com" ]
yusufelmasry9@gmail.com
8991c20fb3e004f3a8e3d681c17dfb74d32de62a
9f6788873e06527413b11001845672dc666c1915
/utils/loss_validate.py
32ab817f8aadf78de2ca3fa8e6e29c392720ebc0
[]
no_license
zakmatt/lung_diseases_classification
f63b54d243dcef3f3846dec52b7a9c13c5818f22
fa3c20816ae44923aed34dec6688ed4feb648d37
refs/heads/master
2022-07-14T20:11:15.960519
2019-08-01T23:12:14
2019-08-01T23:12:14
135,772,899
0
0
null
2022-06-21T21:18:24
2018-06-01T23:50:06
Jupyter Notebook
UTF-8
Python
false
false
4,953
py
import numpy as np import os import tensorflow as tf class WrongShapeException(Exception): pass def mask_to_categorical(masks, batch_size=1, img_cols=256, img_rows=256): masks = tf.keras.utils.to_categorical(masks, 2) masks = np.reshape( masks, ( batch_size, img_cols * img_ro...
[ "zak.matthew@yahoo.com" ]
zak.matthew@yahoo.com
90eb0692880ac52e45658c3c6d019557735c736b
e1258c579a3dc16d655df1034056f008807d2f35
/codesys/codesys_v3_webserver_int32_overflow_tra_2020_16.py
87891dc8e143673a5aaf04ec21927066c2b9026c
[ "BSD-3-Clause" ]
permissive
kaisaryousuf/poc
b03567b5b942f216b447dddb35e33ad43d00aaca
4421e2f188f58e39577ded684c3dad6a54dfdff8
refs/heads/master
2023-09-01T02:22:59.581458
2023-08-17T18:48:20
2023-08-17T18:48:20
209,402,486
0
3
BSD-3-Clause
2023-08-18T20:50:39
2019-09-18T20:55:41
Python
UTF-8
Python
false
false
1,792
py
import sys, struct, base64 from httplib import * def usage(): print "usage : "+sys.argv[0] + " <target_ip> <target_port>" print "example: "+sys.argv[0] + " 192.168.1.123 8080" if len(sys.argv) != 3: usage() sys.exit() host = str(sys.argv[1]) port = int(sys.argv[2]) if(port == 443): conn = HTTPSConnecti...
[ "clyne@tenable.com" ]
clyne@tenable.com
6238e82437788028beba37bd4dc6074632053960
bccfab4d853f7417401a084be95de293e66ccd2a
/mySpider/spiders/Museum72.py
7cda6f18480e54909d7211b01dccc6d7a37022cd
[]
no_license
CS1803-SE/The-First-Subsystem
a8af03ce04a9de72a6b78ece6411bac4c02ae170
4829ffd6a83133479c385d6afc3101339d279ed6
refs/heads/main
2023-05-06T02:32:08.751139
2021-05-24T06:09:37
2021-05-24T06:09:37
363,400,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
#lay from ..items import * class Museum72(scrapy.Spider): name = "Museum72" allowed_domains = ['nbmuseum.cn'] start_urls = ['http://nbmuseum.cn/col/col41/index.html'] custom_settings = { 'ITEM_PIPELINES': { 'mySpider.pipelines.MuseumPipeLine': 300, }, 'DOWNLOADER_M...
[ "1300978939@qq.com" ]
1300978939@qq.com
ecd093a5aeace082019b63dbf57457c3adf1e20f
c65ef74f5c6169f650c636e7e8d540618bd69558
/A2C/value_function_baseline/actor.py
dbd42c4615810426840dc755c53ea4ba1d885fa6
[]
no_license
Khev/RL-practice-keras
0cf0721d29f8b0d19ebe41e1e83dbeb5a7fc3650
67cccdffd4e7e380666f24441eda8f72a33d9d81
refs/heads/master
2021-06-04T09:47:39.731355
2020-02-29T22:24:31
2020-02-29T22:24:31
149,169,937
19
5
null
null
null
null
UTF-8
Python
false
false
2,967
py
import numpy as np import matplotlib.pyplot as plt import tensorflow as tf import gym from collections import deque from keras.models import Sequential from keras.layers import Dense from keras.optimizers import Adam from keras.optimizers import RMSprop from keras import backend as K from keras.utils import to_categor...
[ "kokeeffe@mit.edu" ]
kokeeffe@mit.edu
73cb855b2bd5a9631ecd288feca60ceac271a3a9
291ab4b5b1b99d0d59ce2fb65efef04b84fd78bd
/tmp_testdir/postgresDB/test5b_manual_dbtable_insert_date_time.py
ca1b04857efca706986da6e210cb68cdea5f6927
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
cromox1/Trading212
15b5ea55d86e7063228f72dd92525e1fca693338
68f9b91098bc9184e16e9823a5e07e6b31e59602
refs/heads/main
2023-04-17T23:03:07.078229
2021-05-05T23:02:54
2021-05-05T23:02:54
320,100,427
0
2
null
2021-04-13T07:03:41
2020-12-09T22:58:06
Python
UTF-8
Python
false
false
2,736
py
import psycopg2 import datetime def connect_db(host, user, pswd): conn = psycopg2.connect(host=host, user=user, password=pswd) cur = conn.cursor() return cur, conn def connect_db_commit_close(cur, conn): conn.commit() cur.close() conn.close() def create_table_if_noexist(dbtable): sqlcomma...
[ "xixa01@yahoo.co.uk" ]
xixa01@yahoo.co.uk
3ee0b16a3fa268a4f70f364d9ab5bc3b4fed2794
6630694f401f6f475dd81bb01ff9368db844ccff
/configs/repvgg/repvgg-B2_8xb32_in1k.py
b9a7d4ca5570518f0c4d0b81951e0e97c46606f9
[ "Apache-2.0" ]
permissive
open-mmlab/mmpretrain
98a4d6b3bb747efc3d50decebf84fc3ffa41076a
d2ccc44a2c8e5d49bb26187aff42f2abc90aee28
refs/heads/main
2023-08-30T19:11:24.771498
2023-08-23T02:45:18
2023-08-23T02:45:18
278,415,292
652
186
Apache-2.0
2023-09-08T08:01:40
2020-07-09T16:25:04
Python
UTF-8
Python
false
false
106
py
_base_ = './repvgg-A0_8xb32_in1k.py' model = dict(backbone=dict(arch='B2'), head=dict(in_channels=2560))
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
bd559fbd2c336eb6d115472c556cf088f0332d40
daad090dd655bec07a9a6d54ade3e5ed7045f68a
/hw5/pi.py
2d9e4d5c546bac80db15c4d9248f20fd04f75110
[]
no_license
lukemvu/cs450
3482cac68cf4d080048fd015861318665985717e
e02a924052886302eb12519702cba980d0fa283b
refs/heads/master
2023-03-22T15:34:11.487946
2021-03-16T17:22:24
2021-03-16T17:22:24
348,432,607
0
1
null
null
null
null
UTF-8
Python
false
false
2,117
py
# -*- coding: utf-8 -*- # Copyright 2015 Sameer Suhas Marathe # # 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...
[ "luke.m.vu@gmail.com" ]
luke.m.vu@gmail.com
03d6b9442657118869f4d81fda133e26f127d88b
645cd832def2330ea923d69fcc82cf5b7719415b
/python/smqtk/algorithms/relevancy_index/__init__.py
36a407c72a844017a2550d0d6d0e1b72ee4d9c2c
[]
no_license
mrG7/SMQTK
3103b6c59e347930a330e3284b288cb7af20f3b6
19917babd63767726b1bc21a184a5006366b59af
refs/heads/master
2021-01-20T11:35:21.861708
2015-10-02T21:50:44
2015-10-02T21:50:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
import abc import logging from smqtk.algorithms import SmqtkAlgorithm __author__ = "paul.tunison@kitware.com" class RelevancyIndex (SmqtkAlgorithm): """ Abstract class for IQR index implementations. Similar to a traditional nearest-neighbors algorithm, An IQR index provides a specialized nearest-n...
[ "paul.tunison@kitware.com" ]
paul.tunison@kitware.com
b5aaf890a1d7e6c6702ed2586719bf9dd36d1ebb
fd9ad90be33b4875a954fe93d62a485e1a1abdfa
/category/migrations/0002_alter_category_slug.py
dd16eed4e8f0a212df21c7d42e6b33299445d7e5
[]
no_license
Elbek-Dalaboyev/greatkart-django
e25beba3e7e688fbcd8367b8f24e05069bf31d03
9ff1f1c37891efe4d5fc426e96d634eedf8b3ce2
refs/heads/main
2023-04-27T00:37:10.112281
2021-06-09T08:59:26
2021-06-09T08:59:26
373,591,851
1
1
null
2021-06-09T08:59:27
2021-06-03T17:36:04
JavaScript
UTF-8
Python
false
false
390
py
# Generated by Django 3.2.3 on 2021-05-26 15:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('category', '0001_initial'), ] operations = [ migrations.AlterField( model_name='category', name='slug', ...
[ "dalaboyeve@gmail.com" ]
dalaboyeve@gmail.com
7995c49cfea7af746aefc9153ce50d173056983a
a95fc8b2975f4e263e66347ba7fc098bcbd1427f
/TF2.0_YOLOv3.py
0fa9968adae99c170ab5a9d9d0e049ef699d21c9
[]
no_license
Zachary4biz/notebook_collection
66f996c45525473776c647fe430b821649dad43a
9804e72fd230ecba04c68a11e62b1bf6d72c56b7
refs/heads/master
2021-06-17T12:58:06.112829
2021-06-10T04:14:25
2021-06-10T04:14:25
188,944,592
2
2
null
null
null
null
UTF-8
Python
false
false
11,714
py
#!/usr/bin/env python # coding: utf-8 # In[1]: from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = "all" get_ipython().run_line_magic('matplotlib', 'inline') from tqdm.auto import tqdm import concurrent.futures from multiprocessing import Pool import copy,os,sys from ...
[ "zachary4biz@yeah.net" ]
zachary4biz@yeah.net
888b5fcafa91cb7b2ebdcb7e5c1c67b2ae52449b
ead27e8ab8433d7c15bf81f51c18029cee6d39ac
/neutron_diagnose/__init__.py
df9c144b676c044d7b1feeb4f6a93063a65e5059
[ "Apache-2.0" ]
permissive
zhuzhichaoTM/neutron-diagnose
7b42c1679cc648474c06919a6c16243dcf080d1c
223d0d5edaf77a8264ce06d68adaa1b329bb9f1b
refs/heads/master
2020-05-15T08:41:44.551121
2017-04-13T06:55:43
2017-04-13T06:55:43
182,163,864
0
0
null
null
null
null
UTF-8
Python
false
false
771
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 # distrib...
[ "shihz@fiberhome.com" ]
shihz@fiberhome.com
63ab6446bacc30dd89798f16300dc8f1a0ff5314
bffd457e17dc250c81d7bd9e25c20a483f1a1ed5
/pandatools/results/ResultMerge_vehicle.py
a79cdd8a1a92074001b014b03305d8cb1a2fdca4
[]
no_license
Harzva/gigavision
3121f183b8cfc66f9c89f4afe1bd0bdf1c1fe104
1fb1ad9b9d5aac6c18dc83184a52c484964be7fb
refs/heads/master
2023-02-20T10:34:21.735085
2021-01-24T10:07:30
2021-01-24T10:07:30
332,416,570
2
2
null
null
null
null
UTF-8
Python
false
false
31,144
py
# -------------------------------------------------------- # Result merge modules for PANDA # Written by Wang Xueyang (wangxuey19@mails.tsinghua.edu.cn), Version 20200321 # Inspired from DOTA dataset devkit (https://github.com/CAPTAIN-WHU/DOTA_devkit) # -------------------------------------------------------- fro...
[ "562282219@qq.com" ]
562282219@qq.com
6333b09aba873b5e01d30fc103a78cbe1fe4e540
fa2d32a77ebd558ffe54eea67504308fa1ac2d2c
/learn.strings_lists_tuples_sets/convertstring2list.py
49f94079f5c63f303f9fb141816fcc83b042643f
[]
no_license
prpllrhd/morePYTHON
329362c18a447f913fa1f73c06fd0451b1a79009
739f64eb5462de532a8f1788ebe7631cb155f565
refs/heads/master
2021-06-05T19:59:43.276455
2019-01-20T19:53:34
2019-01-20T19:53:34
14,663,754
0
1
null
2015-07-08T06:12:08
2013-11-24T15:38:51
Python
UTF-8
Python
false
false
87
py
#!/usr/bin/env python3 a = "sameer rakhee yuvi avni aai" b = list(a.split()) print (b)
[ "samy@rakhees-Air.fios-router.home" ]
samy@rakhees-Air.fios-router.home
2d21df815a992618fea1b1c56a61c64f357a3169
cb75140ebed613adea538bad2b0de29c67db9213
/mundo3dicionario4.py
9fa3434ba392346299146c757d3c24be598229f0
[]
no_license
AndsuLucas/exercicios-python
bdbacda7144a38d0d4852a05b15dadac6c830a88
b78eceb1f7c73a02dfc3cd7175e851fee19bf972
refs/heads/master
2020-04-07T01:09:28.691794
2018-11-17T17:15:06
2018-11-17T17:15:06
157,932,756
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
from time import sleep #quantas pessoas foram cadasradas,média de idade, quntas mulheres,pessoas acima da media f = 0 funcao = str contador = 0 cadastrototal = [] dc = dict() soma = 0 am = 0 while True: contador+=1 dc['nome'] = str(input('nome:')) while True: dc['sexo'] = str(input('sexo: [M/F]'))....
[ "a.lucassilvadeoliveira@gmail.com" ]
a.lucassilvadeoliveira@gmail.com
baf15faab8930e47cb6f8e16e1a1e395a3a4b8b9
2283ba3286f90d8ed8213050e18a11f57f84e320
/App/ToDoList/toDoAccess.py
24f6e9213db251923f859095cd65dc57de0fdcea
[]
no_license
Wills-Personal-Projects/LifeOrganizer
ab508861e7ed699d3c51b95ea85015eac0fe3a80
8b2a84912a41e72597d6d6bdce36ad841b3c8fc4
refs/heads/master
2023-03-06T08:14:37.576149
2021-02-11T21:55:56
2021-02-11T21:55:56
330,888,967
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
#!/usr/bin/python3 from ..Path.filePaths import getScreenPath, getToDoPath, getBaseToDoPath, getNamesPath from ..Screen.screenAccess import getScreen,setScreen def getToDoListDim(n): tDListFile = open(getToDoPath(n), "r") dim = tDListFile.readline().rstrip().split() return dim def getToDoList(n): tDLi...
[ "wjett18@gmail.com" ]
wjett18@gmail.com
e1bfa27cf691a0b6ee3d8d8a074da682433cef02
f20931826a557f0d884f8b46de259840c29b7428
/meiduo_mall/meiduo_mall/utils/authenticate.py
2079f8c659a70dbebbb5291a0c6b7c9cbcc4867e
[]
no_license
zy723/meiduo_project
38ccecc2fa1d61f2eb848ebc572dd43d45a534c8
f50a8105c63554b57419cb3494c3d323bb343f9c
refs/heads/master
2022-12-15T02:34:42.578549
2020-05-20T16:56:27
2020-05-20T16:56:27
248,264,846
0
0
null
2022-12-12T20:28:41
2020-03-18T15:08:40
TSQL
UTF-8
Python
false
false
2,024
py
""" 增加支持管理员用户登录账号 JWT扩展的登录视图,在收到用户名与密码时,也是调用Django的认证系统中提供的authenticate()来检查用户名与密码是否正确。 我们可以通过修改Django认证系统的认证后端(主要是authenticate方法)来支持登录账号既可以是用户名也可以是手机号。 修改Django认证系统的认证后端需要继承django.contrib.auth.backends.ModelBackend,并重写authenticate方法。 authenticate(self, request, username=None, password=None, **kwargs)方法的参数说明: reque...
[ "zy723@vip.qq.com" ]
zy723@vip.qq.com
2a363433acaaec2e11b27accea62497c51739654
305369594545fca818bbb8e0254f97a3ec50ccfd
/32c09a6e325db19533e2e272caed35fd.py
d09d0f72a2fbc88aec3ddb22bb95fb0c3d343f56
[]
no_license
jkitchin/ACS-2016-data-sharing
c1950cf31f3bdb380e41427febb1888fb394a3ff
c23fc008d24aa637d2864d02533de2bf6bac7de7
refs/heads/master
2021-01-10T09:49:40.550918
2016-03-15T02:05:45
2016-03-15T02:05:45
53,690,308
0
1
null
null
null
null
UTF-8
Python
false
false
46
py
return [x for x in data if x[1] == 'anatase']
[ "jkitchin@andrew.cmu.edu" ]
jkitchin@andrew.cmu.edu
29bc3192a686ccae8db44c3e1d6e73ecf673b46d
6dbfd83c4641d798934a7eb1c5f45757d6504ebe
/cloud/fs/redis/user.py
d1e12468a7051964f76203be6c7100fdfca9d109
[]
no_license
xuanyuan1332/simple_cloud
015e5eba38e82b3e0c78f44e535fd5bc0ff441dc
ffbbaa22816d79ae45c3475e25e352129a70057d
refs/heads/master
2022-11-22T21:01:29.130241
2020-07-14T11:39:00
2020-07-14T11:39:00
280,647,428
0
0
null
2020-07-18T12:00:52
2020-07-18T12:00:52
null
UTF-8
Python
false
false
663
py
'''用户相关 ''' import json from .base import BaseRedis class UserRedis(BaseRedis): '''用户操作reids ''' user = '{username}' sign_in = 'sign-in-{project_id}' def get_sign_in(self, project_id): sign_in = self.sign_in.format(project_id=project_id) nums = self.redis.get(sign_in) if...
[ "l1328076914@gmail.com" ]
l1328076914@gmail.com
f0202c853270176392aa90efe01b29e5549434cc
80ef89008f34f3e52d3045db2ef158e9ad09832a
/homework/tf_regression.py
60fc3016ff551928bf8cf1548a2f35d3ed9675e5
[]
no_license
phantomamoeba/ast383
7836a24f28d4a2e0a110b04a72080f4e9bbfb1d5
c68bb8c053d4c4dec6093c4a0349539423db7e2a
refs/heads/master
2021-09-13T09:13:34.283002
2018-04-27T16:31:47
2018-04-27T16:31:47
118,023,850
0
0
null
null
null
null
UTF-8
Python
false
false
6,646
py
import os import numpy as np import tensorflow as tf __all__ = ['linear_regression'] def linear_regression(x, y, gamma_w, gamma_b, minibatch_size, learning_rate, training_epochs, architecture, method): assert x.shape[0] == y.shape[0] assert architecture in ['neural', 'explicit'] as...
[ "polonius@davistx.com" ]
polonius@davistx.com
300d9ae15924aa6d8ac27e9aeaf6236d61811704
482f24b9eda8ca802ef6f04d9f3cf8c1a79a9af2
/dags/02_pemex_proveedores_contratos.py
d91735162881a333b7d6e5e856cecce044ceb361
[ "MIT" ]
permissive
erikriver/mixtli-etc
773896c831290a7b74374bc89983c87a033baac3
0c8e991cb6d92f0a3c87f41f7688a6a327e2472d
refs/heads/master
2020-03-07T12:53:11.506416
2018-04-05T12:59:44
2018-04-05T12:59:44
127,487,455
2
0
null
null
null
null
UTF-8
Python
false
false
2,935
py
# -*- coding: utf-8 -*- # # Copyright (c) 2018 Erik Rivera # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify...
[ "erik.river@gmail.com" ]
erik.river@gmail.com
fda3a1030b55d55ed9191c6305d8643fcbda2aa8
f8f78541796303975df16e97b38d0903ba2e363e
/Lesson6.13_Pandas.py
35defc36b6d0a1ff794618e7a64ae895e74c9846
[]
no_license
cb1118/dataAnalyst
19537dab4b65dd068c6d626e1e2fda03eee6f914
65f54ef03c8a78586e7c64dd10f84ce65c467b70
refs/heads/master
2020-03-23T22:19:16.351054
2018-08-27T03:40:15
2018-08-27T03:40:15
142,168,420
0
0
null
null
null
null
UTF-8
Python
false
false
3,322
py
# -*- coding: utf-8 -*- """ Created on Sun Apr 1 18:59:47 2018 @author: CB1118 """ import pandas as pd countries = ['Albania', 'Algeria', 'Andorra', 'Angola', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados'...
[ "cb1118@att.com" ]
cb1118@att.com
1ced79828f6469f7bab445f3f426e7431206e4f3
ca5da7e25c0f4f96572dedf8831cb0f111490c28
/OK/Python/HackerRank/Practice/Loops.py
169f88823be1d26e6d51117e2eb78eb8634b3b7e
[]
no_license
317702550/THC
fecc44aa953f9f6b98cb7e1856ef12537f629393
f9fe9ddb2e55c5beab3eba8102915a7690524659
refs/heads/master
2020-07-05T08:53:11.087930
2019-12-10T15:54:35
2019-12-10T15:54:35
202,597,617
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!/usr/bin/python3 # Maximiliano Proaño Bernal # 03/12/19 # Python 3.7.3 # Ciclos if __name__ == '__main__': n = int(input()) i = 0 while i != n: print(i**2) i = i + 1
[ "maxpbernal@ciencias.unam.mx" ]
maxpbernal@ciencias.unam.mx
b0cb1666b5a760c435bb522037d7d54bbb2539ba
99d2addf16d5637fd0133fe23153119be4f34e43
/app/recipe/tests/test_recipe_api.py
2a5d8b332fa1e633243ad9fa6e74d1c0354b7a55
[ "MIT" ]
permissive
mtbriones/recipe-app-api
b3db6c7f59d4a37da922efacc204405c5fcc0e69
31a24626e92fb2a039bc892fc9743b5799e96956
refs/heads/master
2022-11-30T00:37:09.006763
2020-08-12T09:27:49
2020-08-12T09:27:49
285,354,960
0
0
null
null
null
null
UTF-8
Python
false
false
9,767
py
import tempfile import os from PIL import Image from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient from core.models import Recipe, Tag, Ingredient from recipe.serializers import ...
[ "mike@pahrsek.com" ]
mike@pahrsek.com