blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f834fcad5971ebffddb726d554e46f5cace2caa6
c88795933123416f6ccf8b063454af70ae47ec23
/manage.py
284383db775fd893ec9920460741c0d71c000076
[]
no_license
Raefat/5dolar-website-meme
77159daa275764c2cdb2682d573c7df5671a4759
6c219d0d639516de77b117bc4a2e244d60814fe0
refs/heads/master
2023-08-09T01:20:18.525176
2020-07-07T20:18:57
2020-07-07T20:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
632
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', 'frst_project.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "raefetex@gmail.com" ]
raefetex@gmail.com
b1dc65782f757d291f0b3c8796390124c41932ae
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_204/285.py
05697ee8e397c0a3ab1f3fbfedb01bf8d507a112
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
from __future__ import print_function, division from math import ceil, floor import numpy as np # Fernando Gonzalez del Cueto. Code Jam 2017 #infile = 'test2.in' infile = 'B-small-attempt2.in' outfile = infile.replace('.in', '.out') fid = open(infile, 'r') n_cases = int(fid.readline().strip()) f_out ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
727064be03a7e86e4fa580c15109167102e3c132
8ce88df2976d07fd287d1c96771694f4f9fd6c9a
/exe089.py
67fd95b8afc652e4103a90715421919ff7b56c85
[]
no_license
gabialeixo/python-exercises
9974b9b2e15f92c7f58fb32c0cc0abdd5015a34c
f62f7ba49eb77fc16a37058f8974153491b565bb
refs/heads/master
2023-01-24T09:23:12.387968
2020-12-07T17:31:07
2020-12-07T17:31:07
305,712,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
#Crie um programa que leia nome e duas notas de vários alunos e guarde em uma lista composta. No final, mostre um boletim #contendo a média de cada um e permita que o usuário possa mostrar as notas de cada aluno individualmente. print('-' * 30) print('{:^30}'.format(' COLÉGIO TUTTI FRUTTI ')) print('-' * 30) dados = ...
[ "gabealeixo13@gmail.com" ]
gabealeixo13@gmail.com
e3ba2f5353b2b4b4ee3bb26523007b1f86aebad1
31fc98d10f55fb54a79147c41b9895158a69700e
/matplotlib_file/die_visual.py
35caee26caa1d8c48eef8fd76b0bb36c87bee728
[]
no_license
zhouyangok/pythonLearning
cae45691af248374e486bbc6919294de818da9ac
375106908446ae5d8ac22c98dd230f5b827aa122
refs/heads/master
2021-04-15T04:05:36.839519
2018-03-22T08:44:24
2018-03-22T08:44:24
126,304,251
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from die import Die import pygal die_1 = Die() die_2 = Die() results = [] for roll_num in range(1000): result = die_1.roll()+die_2.roll() results.append(result) #print(results) # 分析结果 frequencies = [] max_result = die_1.num_sides+die_2.num_sides for value in range(1,max_result+1): frequency = results.cou...
[ "526731929@qq.com" ]
526731929@qq.com
f4017d322fdadade24c60a26ae72bb14aad8170d
357db88164920a3d0a650d597b8183bfe5a60b1a
/probeplot.py
8e344e00143084c7b05aebd0986e344b041d30aa
[]
no_license
Hasini74/Flush-Reload
d88b024503787b23b9f81fcbebc8626b5880c8f0
116c125c93d24a2f9a46c7574c7e8d8ee76802ad
refs/heads/main
2023-04-22T04:33:52.226341
2021-05-10T20:42:51
2021-05-10T20:42:51
366,164,990
0
1
null
null
null
null
UTF-8
Python
false
false
387
py
from matplotlib import pyplot as plt import seaborn as sns with open('probes.txt') as f: array = [] for val in f.read().split(): if int(val) < 400: array.append(int(val)) plt.figure(figsize=(15, 8)) ax = sns.distplot(array) ax.set_title("Histogram of probe timings (n= {})".format(len(a...
[ "noreply@github.com" ]
Hasini74.noreply@github.com
1bccbe2e72188711b68cde5b7e4c2a6c845c91c3
bbca6268e6b30e6945eee5d5d1852e0b164e294a
/tinyos-2.x/apps/LightControl/scripts/k_subset.py
02263c7bed02351c6713bca1820936e5bd83eb8c
[]
no_license
nesl/hotline
6f95415a1b00a21fa4cfe1226590338b6380fe2f
46f71f7b505b3ede668ab74df39e6a1542d5f043
refs/heads/master
2021-01-01T17:33:44.725494
2011-09-21T20:06:33
2011-09-21T20:06:33
12,227,912
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
import sys import random # Adapted from # http://code.activestate.com/recipes/156453-choose-a-random-k-subset-of-12-n/ def ranksb1(n,k): if k > n: raise Exception, "N must be no less than K" if k > n * 2 // 3: pool = range(n) for i in xrange(n-1, n-k-1, -1): j = random.randrange(i+...
[ "rahulb@3d136852-4100-4a3c-8742-798efa9d6f7c" ]
rahulb@3d136852-4100-4a3c-8742-798efa9d6f7c
6ba7c74d1f0f583ca61f56bca220f835b3f31a46
964475a2cac8640b21d6826123ef3cf7f78d3933
/lca.py
19641e6cbfe07ddf0bb5255c1e9b939a1074f457
[]
no_license
gxyd/competitive-programming
06183ac6fe17e2594cdad4bc05ded99500fa2416
7fc4b4569d21226fd51a85a1637e362339f9aed1
refs/heads/master
2021-01-01T19:57:29.087457
2017-08-15T19:08:38
2017-08-15T19:08:38
98,727,624
2
1
null
null
null
null
UTF-8
Python
false
false
223
py
#!/usr/bin/python3 def lca(root, v1, v2): if root.data < v1 and root.data < v2: return lca(root.right, v1, v2) elif rooot.data > v1 and root.data > v2: return lca(root.left, v1, v2) return root
[ "gauravdhingra.gxyd@gmail.com" ]
gauravdhingra.gxyd@gmail.com
c95ffcfc0844e8799a1716f4dee8de9d4fb5917b
eb2c58eaa3d9e44cbba6e67c4c54827a0c00347e
/Cosmo/mcmc_chain/write_para_table.py
bb75fa2dc606c4b9bd28f3e13f338572dc49dbbb
[ "MIT" ]
permissive
lshuns/CosmicShearRB
3f6b608d5db77aec24ba1d78a953b5b97d539ce9
84d682fc09dc8be0e12b82894cfb2c2c272b616b
refs/heads/master
2022-12-28T02:33:05.649083
2020-10-14T12:30:32
2020-10-14T12:30:32
218,310,459
0
0
null
null
null
null
UTF-8
Python
false
false
12,067
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Nov 21 11:19:58 2017 @author: fkoehlin @modified: Shun-Sheng Li """ import os import sys import glob import numpy as np # Bayesian way of defining confidence intervals: # What's the difference to percentiles? def minimum_credible_intervals(values, ce...
[ "1006682997@qq.com" ]
1006682997@qq.com
f095f493b8c86691cddc688e4d19ccaf71870c88
c8efab9c9f5cc7d6a16d319f839e14b6e5d40c34
/source/Clarification/Backtracking/52.N皇后2.py
0850985c798d542a6dbf9bbf340bfa76bed00408
[ "MIT" ]
permissive
zhangwang0537/LeetCode-Notebook
73e4a4f2c90738dea4a8b77883b6f2c59e02e9c1
1dbd18114ed688ddeaa3ee83181d373dcc1429e5
refs/heads/master
2022-11-13T21:08:20.343562
2020-04-09T03:11:51
2020-04-09T03:11:51
277,572,643
0
0
MIT
2020-07-06T14:59:57
2020-07-06T14:59:56
null
UTF-8
Python
false
false
1,700
py
# n 皇后问题研究的是如何将 n 个皇后放置在 n×n 的棋盘上,并且使皇后彼此之间不能相互攻击。 # # # # 上图为 8 皇后问题的一种解法。 # # 给定一个整数 n,返回 n 皇后不同的解决方案的数量。 # # 示例: # # 输入: 4 # 输出: 2 # 解释: 4 皇后问题存在如下两个不同的解法。 # [ #  [".Q..",  // 解法 1 #   "...Q", #   "Q...", #   "..Q."], # #  ["..Q.",  // 解法 2 #   "Q...", #   "...Q", #   ".Q.."] # ] class Solu...
[ "mzm@mail.dlut.edu.cn" ]
mzm@mail.dlut.edu.cn
e45a0cbad78f8302bf4f4c0de2c53829f40b4317
db0790c6164a6248ca5d349e66c829ead9304255
/config.py
e03682a5a071d9349522d2afef17f26ab075cf50
[]
no_license
HaToan/Flask---Large-Application-Structure
a7c003151c0dc816e6b9f6dcd860e0d6c9d6a1d0
1312cb5e7d773dd872a6ba74e397a349f9701472
refs/heads/master
2021-01-21T17:37:02.185389
2017-05-21T16:19:47
2017-05-21T16:19:47
91,964,263
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'secret_key' SQLALCHEMY_COMMIT_ON_TEARDOWN = True SQLALCHEMY_TRACK_MODIFICATIONS = True FLASKY_MAIL_SUBJECT_PREFIX = '[Flasky]' FLASky_MAIL_SENDER = 'Flasky Admin <flasky@example....
[ "kma.toanfanta@gmail.com" ]
kma.toanfanta@gmail.com
e78baff9bdff094df6a9bde81c9da4513c0aa5b9
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/jyb.py
ca9d3c9ec4d59763f4fd3413bf1ece65baed5ad0
[]
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
f4de52fc72912e329b602c84aae12ef5fd2e76c4
946a9ccf4adb92c9c694c7c127a6c010a17248ad
/inventory/settings.py
3bb5451cdace3ccad977acde0f097c1d15cdbb00
[]
no_license
king-ellie/django-inventory-app
7cf33e5a85482dd9f3218075b4233fa4cd9f421e
3be5a79b64c64ab6687837d7d31e249cf40456bd
refs/heads/main
2023-07-31T16:32:31.981220
2021-09-07T13:32:45
2021-09-07T13:32:45
403,991,726
0
0
null
null
null
null
UTF-8
Python
false
false
3,409
py
""" Django settings for inventory project. Generated by 'django-admin startproject' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathl...
[ "61605543+king-ellie@users.noreply.github.com" ]
61605543+king-ellie@users.noreply.github.com
3c060f1e62118348d6376d5a27dd8b1292ecdeee
37faa935d3af283be72423821a25d17172f2df6a
/lessons/csv/reading_csv.py
c7fae192cbcfc7131cca853fbf0501b66ae81dd6
[]
no_license
rogeriolaguilar/python
2b214fccbb32ca269c745b26fbc082cb20981c23
fef86ca360e5a47fcd86f9ab99c04c58d353705b
refs/heads/master
2020-03-19T11:00:51.367723
2018-09-16T12:56:39
2018-09-16T12:56:39
136,421,396
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
import csv import os FILENAME=os.getcwd()+'/lessons/csv/hightemp.csv' def read_csv(csv_name, keyname): print(csv_name) table = {} with open(csv_name) as csvfile: reader = csv.DictReader(csvfile) for row in reader: table[row[keyname]] = row return table result = read_...
[ "rogerio.l.aguilar@gmail.com" ]
rogerio.l.aguilar@gmail.com
73dbbcaf97f0a2613100f2925da30caaf3381b7c
61bf34554ab8ca7bd11550e45533caf0261152e7
/generic.py
6ee5c450ad801ca64c88c462e6c5c0d90504205e
[]
no_license
drouetd/Scrape-tools
c85cca3d7224cc42630b43e3e8a7243fcf64b364
4105ebcb51df06553b6600f7f988bcb7e89d58a6
refs/heads/master
2021-01-10T12:21:27.315200
2016-04-09T16:04:16
2016-04-09T16:04:16
55,608,885
2
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
#!/usr/bin/env python import sys import csv from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait import parsers def get_html(url=None): """ Returns the raw html for a given url """ driver = webdriver.PhantomJS() driver.get(url) # retrieve the desired page try: WebDriverWa...
[ "drouetd@gmail.com" ]
drouetd@gmail.com
e01708431fd65fcc0a4127f59d368aa95e900742
8ef7a012b4be5a475fcaf1a67e18c92b61ad609a
/ProjectOpenCV/Proceso.py
e5c0f3f287368b06765480d13519a5e2a43082bc
[]
no_license
QuantumCode2000/ProyectoFinalPythonOOP-PYDATA
8b212030ce44b4e0101b6b10b8edc887eec2f13d
1d6cc5a6fa5d5239975fcf2df2b6e3741cd1e7de
refs/heads/master
2022-07-17T02:49:32.733751
2020-05-13T03:11:10
2020-05-13T03:11:10
263,512,628
1
0
null
null
null
null
UTF-8
Python
false
false
791
py
import cv2 class Proceso: @staticmethod def leido_de_iamgen(imagen_leida): imagen = cv2.imread(imagen_leida) return imagen @staticmethod def guardar_imagen(imagen, nombre_de_la_imagen_nueva): if(nombre_de_la_imagen_nueva.isalnum()): nombre_de_la_imagen = nombre_de_...
[ "64666591+Dozz2000@users.noreply.github.com" ]
64666591+Dozz2000@users.noreply.github.com
c720729c2e53c7a2d567a492348db29f3707f53d
837d61048ea502e1ab057525ebd4d108ccf8e3d1
/Project/starter.py
ae7a7d9bdf121ad827c2194c28a36ba30f5909ff
[]
no_license
JakubKucecka/VyhladavanieInformacii
7e7d9e5856dbfb4104adc97b5ab2e8cd6b8ee478
a2eaaee47901d70cb1ed34b6f456917dd808ced1
refs/heads/main
2023-01-29T07:09:00.891186
2020-12-08T15:54:16
2020-12-08T15:54:16
300,634,895
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
#!/usr/bin/env python3 import lib.pars as pars import lib.dump as dump import lib.pair as pair import lib.sort as sort import lib.index as index import lib.search as search """ global variables that determine the paths to files """ actors_file = "etc/parse/actors.gz" performances_file = "etc/parse/performances.gz" ot...
[ "jakubkucecka@gmail.com" ]
jakubkucecka@gmail.com
91bfd646014d5085f0aa71ff651287ec76a6cad7
d7a526650915d7bf9484a3258bf3f6db7896a97e
/第一天实验/crackRar.py
4a4d773afd96359ae850ca59457bc7dc1390591e
[]
no_license
lletsGoo/1stDay_-
428e8e39106261a466e93e7a65aa588ce9fa9250
091f2f2f5bba70659e2b3ac4e0460945b1498886
refs/heads/master
2021-02-10T01:07:19.439568
2020-03-08T00:38:50
2020-03-08T00:38:50
244,340,780
0
0
null
2020-03-03T02:42:10
2020-03-02T10:17:52
Python
UTF-8
Python
false
false
542
py
from unrar import rarfile rarpath='D:\大四\大四下\网络攻防\于晗\第一天-生成字典压缩包爆破\password.rar' pwdspath='D:\大四\大四下\网络攻防\于晗\第一天-生成字典压缩包爆破\password.txt' pwds=open(pwdspath,'r') rf = rarfile.RarFile(rarpath,'r') print("开始爆破") while not True: for line in pwds.readlines(): pwd = line.strip('\n') try: ...
[ "noreply@github.com" ]
lletsGoo.noreply@github.com
f60622ab5bd5f34311c951a2a60f776f25a2aa47
33a50bb13812090a36257078522b798762978c66
/top/api/rest/SimbaNonsearchAllplacesGetRequest.py
6f07639d12207a871566ac06ac186d09de431e25
[]
no_license
aa3632840/quanlin
52ac862073608cd5b977769c14a7f6dcfb556678
2890d35fa87367d77e295009f2d911d4b9b56761
refs/heads/master
2021-01-10T22:05:14.076949
2014-10-25T02:28:15
2014-10-25T02:28:15
23,178,087
1
0
null
null
null
null
UTF-8
Python
false
false
300
py
''' Created by auto_sdk on 2014-09-08 16:48:02 ''' from top.api.base import RestApi class SimbaNonsearchAllplacesGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.simba.nonsearch.allplaces.get'
[ "262708239@qq.com" ]
262708239@qq.com
a345c0e0388b1fd434e0a6b9380ebd6b966faf03
4406c089d0afde7ffee340ad002c5786a18131a8
/ubuntu/dup_free_encode/user_db_util.py
8e2daf0be474c8ff021be470d90486f2a64dced4
[]
no_license
Sanctorum003/LotApp
4772420d6ea3a26f43c4ab58b48b088829bd5352
69991cda1223daff642ec2ae6e3c03be66125416
refs/heads/master
2020-03-13T05:02:55.864020
2018-04-25T08:24:14
2018-04-25T08:24:14
130,974,758
0
1
null
null
null
null
UTF-8
Python
false
false
3,700
py
# 对user_info.db 这个数据库的各种操作 import sqlite3 as sq import os import json from ucs_db_util import search_ucs_openId_to_carID import Time_utils as time_tool user_db_name = 'user_info.db' if not os.path.exists(user_db_name) : flag = 0 #not existed else: flag = 1 try: conn = sq.connect(user_db_name) cur = ...
[ "lushuchengsky@126.com" ]
lushuchengsky@126.com
4bb7d73eb57ca31465156c27a8acb11216bf381b
ce04cdcf2f751fc665ccf3d2a011c6c5c1a4aca2
/Exploitation/Reverse-Engineering/RATs-Backdooring/ShellBot/client/selfUpdate.py
12222067bdfeb97b6acbf48bda9b19f3ca9f9ec9
[ "MIT" ]
permissive
R3dFruitRollUp/TID3xploits
fa2cef2f42553579a3f2d447b1d8ae7776b12dd8
b57d8bae454081a3883a5684679e2a329e72d6e5
refs/heads/master
2021-05-12T01:11:17.315961
2018-01-04T05:03:20
2018-01-04T05:03:20
117,551,951
2
1
null
2018-01-15T13:55:19
2018-01-15T13:55:18
null
UTF-8
Python
false
false
1,340
py
#!/usr/bin/env python3 import os import sys import urllib.request import tempfile import shutil import json def getURL(owner, repo, name): repoUrl = 'https://api.github.com/repos/{{}}/{{}}/releases/latest'\ .format(owner, repo) response = urllib.request.urlopen(repoUrl) json_val = json.loads...
[ "noreply@github.com" ]
R3dFruitRollUp.noreply@github.com
c7e52c8a090a63d1d7de0a9993f663e993710bb5
0b350fe4e426bed69a27fdf8802cdd5632ea3077
/WebAnalytics/Growth.py
cff0c3f969950166fa170d56ef9cc62e96bba7dd
[]
no_license
kevinaloys/Kpython
e821cdeffbfcc0fcddfc561cd1aa26e964d154f0
49879ccc3cf3311a06181b0e9afe3afaa0f4c081
refs/heads/master
2021-01-16T19:13:59.426911
2014-12-07T01:36:10
2014-12-07T01:36:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
#coding: utf-8 # Growth # Given two integer numbers d1 and d2 representing the unique visitors on a website on the first and second day since launch # Your task is to # write a function that prints to the standard output (stdout) the word: # "Increase" if the number of unique visitors is higher or at lea...
[ "kevinaloys@rocketmail.com" ]
kevinaloys@rocketmail.com
9d9ed5f5767b7fd951eb6ad1a2a01ca63fc8e5ed
56b63ee537f872af0fc028016d1508b4c1dd5c60
/school/migrations/0267_auto_20210317_1657.py
926120cf7259917f9c79aaa27206e75ae9e960a4
[]
no_license
jacknjillsolutionsrevanth/EMS1
01fc571120f765b0fbfe3aa654b15ff578d6e9b9
db14d8e6c15669b5938aa9276c5e22006218814a
refs/heads/main
2023-08-03T19:40:50.073133
2021-10-01T07:02:37
2021-10-01T07:02:37
410,202,348
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# Generated by Django 3.1.4 on 2021-03-17 11:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('school', '0266_auto_20210315_1612'), ] operations = [ migrations.AddField( model_name='daily_data', name='routename'...
[ "jacknjillsolutions.revanth@gmail.com" ]
jacknjillsolutions.revanth@gmail.com
1f6e97b6fae3bcc121943a41542b27b69deeafab
8c77dcc0fd3e497194e572c8641200f08b32dc97
/general/function_factory.py
f2c923b5d537856aae039428a6462973dfd14e56
[ "MIT" ]
permissive
bpuderer/python-snippets
633a1e382f7c9812621d61ec16a15e106d1d5fc8
3277b76b03f3ceb11e4571be4cecae68051aac45
refs/heads/master
2021-12-27T09:19:27.212312
2021-12-22T13:08:56
2021-12-22T13:08:56
46,539,064
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
def raise_to(exp): def raise_to_exp(x): return pow(x, exp) return raise_to_exp cube = raise_to(3) print(cube(4))
[ "bpuderer@yahoo.com" ]
bpuderer@yahoo.com
230e160aee1fabd4bf85f0361b78a2acea3232e0
f8ff6a467536e37e4331aec6a53ccefccd13d31e
/ServerPython/user.py
e66127470f207c11f8cd4a9ecb00bab171587121
[ "MIT" ]
permissive
zzragida/PythonExamples
0a7971b4b3564eab5ef7a7d045161ac35f627340
ed94ae2773a580a42e158ebdc7321a89ca4e991b
refs/heads/master
2021-01-18T15:06:56.763700
2016-02-16T02:41:59
2016-02-16T02:41:59
50,626,883
0
0
null
null
null
null
UTF-8
Python
false
false
16,685
py
# -*- coding:utf-8 -*- from twisted.python import failure from collections import OrderedDict from logger import logger from hero import Hero from costume import Costume from item import Item from properties import Properties from cache import Cache from protocol import gateway_pb2 import db import random import mat...
[ "zzragida@gmail.com" ]
zzragida@gmail.com
c10fbf1e704a93a27b39f55a903786ffa970dab7
f9d942b2fed83e9d6c101ebaedc1d4b36dee2754
/logistics/tests/util.py
b392e9568f05b3984dcf23beedbd376f6d40b26b
[]
no_license
unicefuganda/rapidsms-logistics
7cde229ac2619366d253d099c0f222eb96b1468e
7d9609a7b9d6fa3f4502aba52ab56acc23a6e928
refs/heads/master
2020-12-25T05:26:59.459389
2012-12-17T12:00:52
2012-12-17T12:00:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from rapidsms.tests.scripted import TestScript from logistics import loader as logi_loader def load_test_data(): logi_loader.init_reports() logi_loader.init_supply_point_types() logi_loader.init_test_location_and_supplypoints() logi_loader.init_test_product_and_stock()
[ "rluk@dimagi.com" ]
rluk@dimagi.com
e8bb422108875b71cf15770aa2e5b5baac11064d
53d59691b31efc73b0baa76e0581d66f290c4ef7
/ip_dec_bin_convert.py
47bf11770c55e1a07a88c79e0e5ab7c173128481
[ "Apache-2.0" ]
permissive
shamurti/Python_Class
6dec1495379cdc67eff534396e5e1acc820b881c
e4da52ad0b5061e0fa127a03157be43a08ebe28b
refs/heads/master
2021-01-10T04:19:56.507050
2018-11-19T20:20:10
2018-11-19T20:20:10
49,674,784
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
#!/usr/bin/env python ip = raw_input("\nEnter an IP address in dotted decimal format: ") octets = ip.split(".") print "\nThe octets of the IP address: %s in binary are: \n" % (ip) print "%20s %20s %20s %20s" % ('first_octet','second_octet','third_octet','fourth_octet') print "%20s %20s %20s %20s" % (bin(int(octets...
[ "Oghab@Shahan.local" ]
Oghab@Shahan.local
866d720954dc7618d46066cfecbafeaeda55048b
8e9f19bf81adc3954b6c723c6a976335b53533a6
/devtools/gha/get_base_and_image_tags.py
4b301d955c7b22ca7d5541bc1d9fbc5600a46756
[ "MIT" ]
permissive
evalf/nutils
e7f4c3104004fbc14762447c4ff56b60de9dff03
f28fb337839644eaf3285da99e8a89d1256126f5
refs/heads/master
2023-08-16T16:13:36.568328
2023-08-15T12:28:54
2023-08-15T12:29:20
13,886,623
54
30
MIT
2023-09-07T10:32:10
2013-10-26T16:17:57
Python
UTF-8
Python
false
false
776
py
import os import argparse from .. import log from ..container import get_container_tag_from_ref argparse.ArgumentParser().parse_args() if os.environ.get('GITHUB_EVENT_NAME') == 'pull_request': ref = os.environ.get('GITHUB_BASE_REF') if not ref: raise SystemExit('`GITHUB_BASE_REF` environment variable ...
[ "joostvanzwieten@evalf.com" ]
joostvanzwieten@evalf.com
05d8af9bcacd6c3653138d5f6101b153625fb68c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Docs/Controlling the Keyboard and Mouse/typer/docs_src/commands/callback/tutorial001.py
5438b3ead7b25f5be9db58189b57b8e6e3f410a3
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:f0921ed2e19ca15b1c6e7817d91c7dbefd69a5a39c79520e0d5e519b11cdd10c size 756
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ec2e424faed3e15c10e4986aea599eb9be839086
e3aa7ed3985d0f6fd6aefccc9605b8c392b3f912
/.ipynb_checkpoints/datasets-checkpoint.py
d7c0683f957b9abe59f9ec8d322c87a5f211f170
[]
no_license
jypark1994/VLRRProject
628455ff9210ffd5b278b7d6886fcfc3c01452fb
38526268f16d01fd84a9542402037d41b8d2c245
refs/heads/master
2022-12-16T23:45:30.979390
2020-08-14T02:46:57
2020-08-14T02:46:57
286,142,163
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
from torch import utils from torchvision import datasets, transforms # args : batch_size, num_workers, down_scale def ILSVRC_Birds(args): transforms_train = transforms.Compose([ transforms.RandomResizedCrop(224), transforms.RandomHorizontalFlip(), transforms.Resize(224//args.down_scale), ...
[ "jy_park@inu.ac.kr" ]
jy_park@inu.ac.kr
d3953541a3232bf75dc817c8f0cb769f63101c4e
2e2c9bbfac80d32eed54067e5e27b3a13a5a43b6
/test2.py
7f91d94ee8cb960ae4d3c2f186641463a70b2c86
[]
no_license
andreas-chrysanthou/practicals
783060c2cb0c068370c9e6ca5f46b26b2a3a7d26
90ba01593a0309a179fe9e39c2dada55ec834649
refs/heads/master
2021-06-30T10:58:32.639729
2017-09-13T15:38:08
2017-09-13T15:38:08
103,274,457
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
import numpy as np import matplotlip as plt def initialBell(x): return np. where(x%1.<0.5,np.power(np.sin(2*x*np.pi),2),0) nx=40 c=0.2 x = np.linspace(0.0, 1.0, nx+1) phi = initialBell(x) phiNew= phi.copy() phiOld= phi.copy() for j in xrange(1,nx): phi[j]=phiOld[j]-0.6*c*(phiOld[j+1] - phiOld[j-1]) phi...
[ "eeac@leeds.ac.uk" ]
eeac@leeds.ac.uk
1ab83510c1be8eae59245f9899325487caf66b40
335feaa2fed94353cad975b3108fc669c4f39102
/app/config/files/hearing_loss_v2.pyt
8bb78a60a43c38e246a58f041efd94ea0877002a
[ "Apache-2.0" ]
permissive
okriuchykhin/anfisa
461beff3d4657b2895550811b8858ee27390f8de
cda08e649c5a313c7d52f9b4426558c7388a73b0
refs/heads/master
2020-07-30T11:10:47.503800
2019-09-27T04:33:52
2019-09-27T04:33:52
210,208,650
0
0
Apache-2.0
2019-09-22T20:18:27
2019-09-22T20:18:27
null
UTF-8
Python
false
false
1,111
pyt
#Exclude variants not in hearing loss panel if Panels not in {All_Hearing_Loss}: return False #Include Present in HGMD as "DM" if HGMD_Tags in {"DM"}: return True # Exclude common variants AF> 5% if gnomAD_AF >= 0.05: return False #Exclude variants farther then 5pb from intronic/exonic border if (not Re...
[ "michael.bouzinier@kvitneset.com" ]
michael.bouzinier@kvitneset.com
d5f35a2a1fa8e7be68c9d4402074f58c097b436a
a532f7e759ea5a2de40185645857155d8dbca5b3
/data_analysis/analyze_response.py
111cbd8be0766efb6e3ce71d38b57c5c3fbe0aef
[]
no_license
PalaashAgrawal/brainscore_eval
cbf7ef6db53421c612fb0401a905c97ac0ae8bfe
2589b48f95198a827453e699231581f651a17a60
refs/heads/master
2023-08-28T03:00:19.689126
2021-08-04T22:22:45
2021-08-04T22:22:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,997
py
import numpy as np from pathlib import Path import matplotlib.pyplot as plt from scipy.stats import wilcoxon import math import statsmodels.stats.multitest as multitest # Constants defined here: category_mapping = {'House': 10, 'Visage': 20, 'Animal': 30, 'Scene': 40, 'Tool': 50, 'Scramble': 90} comparison_categories...
[ "hermessuen@gmail.com" ]
hermessuen@gmail.com
4df9ea69048a2ad0b8f86d6c9a2ba6a5b4c33d67
e06f94c1cf7748352516e15a983df38e0693319d
/venv/lib/python3.9/site-packages/web3/pm.py
5257db22bd20bce2db4460aaffcd9d35406a644c
[ "MIT" ]
permissive
Ruben1701/Blockchain-for-Permission-Management
3fcf2c2fad62a1219715cb106ef11aed857d8a71
f063f3da2dc9c12d4c68332e309e402a67fd7a8b
refs/heads/main
2023-06-05T14:41:05.237873
2021-06-26T21:13:38
2021-06-26T21:13:38
347,065,325
0
1
MIT
2021-05-26T11:49:34
2021-03-12T12:51:50
Python
UTF-8
Python
false
false
21,146
py
from abc import ( ABC, abstractmethod, ) import json from pathlib import ( Path, ) from typing import ( Any, Dict, Iterable, NamedTuple, Tuple, Type, TypeVar, Union, cast, ) from eth_typing import ( URI, Address, ChecksumAddress, ContractName, Manifes...
[ "35116541+Ruben170@users.noreply.github.com" ]
35116541+Ruben170@users.noreply.github.com
1f81a14852d880d087df7c5068d2148fe40d9429
d2f08121142346a1fe823c4e99bb2f04a74023a8
/interface/views.py
d001443c2f6c0dce56cd580d0a70dc0ab9c190ad
[]
no_license
supertopdev/django-table
4efb59e5ebda7ac13721ad436f651d0b0a70296d
059c768cc1d9ead18f508046cf807d05a2f2ba50
refs/heads/master
2020-06-26T23:25:27.439663
2019-08-02T22:31:50
2019-08-02T22:31:50
199,784,545
0
0
null
null
null
null
UTF-8
Python
false
false
14,755
py
from django.shortcuts import render, HttpResponseRedirect from django.core.paginator import Paginator from django.db.models import Q from .models import Centris from django.http import JsonResponse from functools import reduce from operator import __or__ as OR # Create your views here. def index(request): centri...
[ "supertopdev@gmail.com" ]
supertopdev@gmail.com
2c2eba017b299584cc34574addc7412cb5c9635b
8ed4bf9fbead471c9e5f88e4d18ac432ec3d628b
/hackerrank/algorithm/string/gem_stones.py
e3ff22b12568fff4bf1fd684c35dd47da7151f2d
[]
no_license
hizbul25/programming_problem
9bf26e49ed5bb8c9c829d00e765c9401222fb35c
2acca363704b993ffe5f6c2b00f81a4f4eca7204
refs/heads/master
2021-01-10T22:28:26.105787
2018-01-21T16:45:45
2018-01-21T16:45:45
65,394,734
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
#URL: https://www.hackerrank.com/challenges/gem-stones n = int(input()) all_elem = set(input()) for g in range(n - 1): all_elem &= set(input()) print(len(all_elem))
[ "hizbul.ku@gmail.com" ]
hizbul.ku@gmail.com
654e1d8bf235ad286ce0ad5feddb15931f30bf0f
91efc7cd77f7e5066a341b5986b796588803daa5
/python/week3/flights.py
4f8a99657903f94854693b3e155392615fc031e8
[]
no_license
maysasaad/programmeren
c5949947f0faf3f999b188004e1655414d694bf1
148206cab74e64d7d9f1e5465cce56f106c54d39
refs/heads/master
2023-05-05T00:49:28.646189
2014-03-02T15:09:41
2014-03-02T15:09:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
def report_status(scheduled_time, estimated_time): """ (number, number) -> str Return the flight status (on_time, early, deayed) for a flight that was scheduled to arrive at scheduled_time, but is now estimated to arrive at estimated_time Pre-condition: 0.0 <= scheduled_time < 24.0 and 0....
[ "rick.peters@me.com" ]
rick.peters@me.com
7a206297e90170f543a02390c8c15dd7bcfee7f0
ea93731a3b3b6f57df0516d18566629ef9a058d9
/bin/django-admin
1c7acf6e153e29af67fa5a7e971a84f246c60fcd
[]
no_license
jalanning/djangoTutorial
78066ea773212bebfffad0292796e441935b8b1a
3e3efac26432871a82e09ba1a2a92806394592d9
refs/heads/master
2023-08-21T23:39:47.603872
2021-10-17T15:08:46
2021-10-17T15:08:46
417,905,939
0
0
null
null
null
null
UTF-8
Python
false
false
297
#!/Users/jakelanning/Code/tryDjangoEnv/bin/python3.9 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "lanning.jake.w@gmail.com" ]
lanning.jake.w@gmail.com
9df035da71a8354e73397ed5fd9483a3a837b5d5
62e985b6bc2cd04be506c9f4b586f6a0bd5a8b1c
/docs/_docs
2e46ca4836023863c54a487374eead67897a2d9d
[ "MIT" ]
permissive
delfick/nose-focus
ece09553d26ce4323e449b5e50f98e63a21d1699
89ceae691fabb27c35d4a67f0edf8dec17737f3f
refs/heads/master
2023-07-10T22:44:29.271678
2023-06-23T06:36:00
2023-06-23T06:36:00
20,155,739
0
3
null
2019-11-06T22:59:43
2014-05-25T13:57:39
Python
UTF-8
Python
false
false
512
#!/usr/bin/env python3 from venvstarter import ignite import runpy import os this_dir = os.path.dirname(__file__) nose_focus_version = runpy.run_path( os.path.join(this_dir, "..", "nose_focus", "__init__.py") )["VERSION"] with open(os.path.join(this_dir, "requirements.txt"), "r") as fle: deps = [line.strip(...
[ "stephen@delfick.com" ]
stephen@delfick.com
e348f06c33c9ec3c83ccc95715ffab26b936fbaf
ce311b4fcccba0096f08b3988ce303d58ea5cbdd
/Lesson 13.py
5f3225836f519455e707525c86c4ab6323bf874f
[]
no_license
codybaraks/student-data
052b56c4874d85238451c56e44133ed5f0fb7535
1e5aa8b3c1e793ccd4ec901fa662708966b6fa77
refs/heads/master
2020-04-06T09:46:10.523028
2018-11-16T08:41:43
2018-11-16T08:41:43
157,355,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# functions def talk_to_the_parrot(): print("hello world lets learn python") talk_to_the_parrot() def conversation(name,names): print("Keneth is a good guy and he's ok!") print("{} sleeps all day and {} works all day".format(name,names)) conversation("KENNETH", "he") # handling exceptions try...
[ "earvinbaraka@gmail.com" ]
earvinbaraka@gmail.com
e842d47c65b49f7baf66ad14c86f7b7c9b1e413b
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/BitPim/rev3177-3237/right-branch-3237/midifile.py
2c8d9d84bbc3c8f068fe079043d3fd8f31067e0b
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
6,795
py
import common import fileinfo module_debug=False class MIDIEvent(object): META_EVENT=0 SYSEX_EVENT=1 SYSEX1_EVENT=2 MIDI_EVENT=3 LAST_MIDI_EVENT=4 type_str=('Meta', 'SYSEX', 'SYSEX cont', 'MIDI', 'Last MIDI') def __init__(self, file, offset, last_cmd=None): self.__f=file self...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
1dae13817c7c1db665e73e0220cc2013ab0c0e48
cf24bb1895f96a1bbaef9aa1018e48e1b6d02324
/fink_voevent/vo_writer_lib.py
0f97e85e7f25bb6f19699d7d143511a141d42aa9
[ "Apache-2.0" ]
permissive
astrolabsoftware/fink-voevent
4f5076d60991cdbc64851221dd67113da5e63d5e
b34648bf63b41e8a0e7c78997e2bc53453568f96
refs/heads/master
2021-07-08T17:10:12.483207
2021-03-05T06:42:23
2021-03-05T06:42:23
228,861,915
0
0
Apache-2.0
2021-03-05T06:42:23
2019-12-18T14:52:18
null
UTF-8
Python
false
false
3,621
py
#!/usr/bin/env python # Copyright 2020 AstroLab Software # Author: Julien Peloton # # 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...
[ "peloton@lal.in2p3.fr" ]
peloton@lal.in2p3.fr
4818c68b466968e91b3b4627012b7c34057cd693
c3cf5e0dc112b9118eee75264d069c0267a8d810
/utils/no_segment_processer.py
b7ea765b1888edcc097d9a5c3e684dae1a6b0377
[]
no_license
chengtbf/ImageCaption
e8f724f594ef7122940a6dcb3f40c4def67092b1
76c2284d3f05a6c34c16744ac2e1ddc6d0cf83d5
refs/heads/master
2021-04-12T11:27:41.926871
2018-07-02T08:35:30
2018-07-02T08:35:30
126,583,051
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
def copy_value(list): ret = [] for e in list: ret.append(e) return ret in_file = 'D:/train.txt' out_dic_file = 'D:/dictionary.txt' out_vec_file = 'D:/train_vector.txt' sentences = [] content = [] for line in open('D:/train.txt'): line = line.split('\n')[0] if line.isdigit(): if l...
[ "619828575@qq.com" ]
619828575@qq.com
a582fa06697213f927e533229de16f0b7239ace6
099d1dbc4e40260086939a26a8a7e2084879e31c
/truvisory/settings.py
730d4002e67146fea2015edd0c0c3611296d4ec5
[]
no_license
bhavybhatia/truvisory
a198918fa8ccadec87efb200382e7478df8fdeff
089d810a4e2b05d380b1d1a37ba5cc7dce1471fe
refs/heads/master
2020-09-02T04:29:09.867592
2019-11-07T06:36:35
2019-11-07T06:36:35
219,132,029
2
3
null
2019-11-03T00:22:11
2019-11-02T09:33:04
HTML
UTF-8
Python
false
false
3,122
py
""" Django settings for truvisory project. Generated by 'django-admin startproject' using Django 2.2.6. 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 ...
[ "bhatia.bhavy@gmail.com" ]
bhatia.bhavy@gmail.com
33490b42c85fee01be3f6432c411c486ae7157e5
aca253ff1a97c96a1a0a9a5802aa623789662bb1
/p034/statue_bar.py
ebd6c7ce45949c996b6d834401e27a09c8df4f7f
[]
no_license
KD-huhu/PyQt5
a6128a34b93f6e2da7216d5818f66dc9614216bc
1c33a6549c2fcf663168256553d8c24e25d9a69c
refs/heads/master
2022-07-03T07:37:29.837547
2020-05-17T14:54:39
2020-05-17T14:54:39
261,768,854
0
1
null
null
null
null
UTF-8
Python
false
false
1,052
py
import sys, math from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class StatusBar(QMainWindow): def __init__(self): super(StatusBar, self).__init__() self.initUI() def initUI(self): self.setWindowTitle("状态栏演示") self.resize(300, 20...
[ "noreply@github.com" ]
KD-huhu.noreply@github.com
36ccee9e76a6a2b3df09ae15e02a7a5dc345c6ac
2d29a361bf62a8b7e92fc395385f9508641c07ba
/Image_classifier_part2/building_classifier.py
5f66c35588838fd1fed889a3777845e9195baa7c
[]
no_license
dalpengholic/JCB_for_example
4aee5401407e837ff094d1ce2e638fe596583993
fd323ff2e88d904ce98ce75b0f473eed466b4d5e
refs/heads/master
2022-12-06T05:44:22.028163
2020-08-25T19:30:26
2020-08-25T19:30:26
290,304,002
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
class BuildModel: # Set defaults units for each model initial_units = {"vgg16":25088, "vgg13":25088, "densenet121":1024} def __init__(self, architecture=None, learning_rate=None, hidden_units=None): # Object : constructor # Input : architecture of model, learning_Rate, hidden_units ...
[ "dalpengholic@gmail.com" ]
dalpengholic@gmail.com
0c24275613565334a00338ba81c47ae3492726bf
af2bcb03b0ca34e376084eb8676666306e2dde99
/ext/testlib/result.py
38b3322ba180f2f2a71959e9377c871927ef0e1b
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
multifacet/ASAP
5c0b26dd2f06cd3c125e809b318c16721720f5e2
68cb32c43e3ebad2a5dfb947ce98442375b235c7
refs/heads/asap
2023-04-11T16:02:42.997035
2021-11-30T15:05:22
2021-11-30T15:05:22
426,381,088
4
2
BSD-3-Clause
2022-12-12T23:33:17
2021-11-09T20:43:59
C++
UTF-8
Python
false
false
9,968
py
# Copyright (c) 2017 Mark D. Hill and David A. Wood # 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 conditio...
[ "sujay.yadalam@gmail.com" ]
sujay.yadalam@gmail.com
3587499fb12823efd46499611f87c6e9a82c2268
9740de6e32e44fe78a812e106833f6c0ca0ce716
/main.py
2d4bb6b6ad9af84ecbd4e72f94de08b6f4268199
[]
no_license
dicksiano/test-autokeras
54c8aaf7c16f688e48ad773ab1bbaff26a93a830
8e00178435458021d44e9030c1f9642dc2ddd491
refs/heads/main
2023-01-21T07:19:10.929788
2020-12-02T04:51:22
2020-12-02T04:51:22
317,753,072
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
from config import Constants from input_reader import read_data from neural_network import NeuralNetwork import pickle import matplotlib.pyplot as plt import pandas as pd import tensorflow as tf from keras.callbacks import ModelCheckpoint from keras import backend as K import itertools import numpy as np import tensor...
[ "noreply@github.com" ]
dicksiano.noreply@github.com
6d42b2716b1fc97ea8d110a1635b51ce2e6b4156
ec648e1db4bdc0227a11685e5e4adf8ea4902d75
/mysite/urls.py
9b2acaaabd2c637d62ad560d6eed9f5f461e8484
[]
no_license
kujosHeist/django-quiz-template
9da8697d718b6778cb6d5a147b3b02d37bf82b50
a4244413578ce24ce3cda2827930b5c922f2abd9
refs/heads/master
2021-01-23T06:39:46.908611
2017-03-27T23:04:32
2017-03-27T23:04:32
86,386,705
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/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') Class-base...
[ "shane.carty@hotmail.com" ]
shane.carty@hotmail.com
08c45ae4c8f7af1394713a8d8566cf2fc56c4188
424cb6a75b5a5d32383f2c03916a5799ab8cc728
/Variational-AutoEncoder/utils.py
ce977c59bf70efc356bf8ce918b720f9246ab454
[]
no_license
itsayushthada/CBIVR
eea5cd357ebaef627c3e02c1194cdbf3265a704a
325613459e74e22968376ab6b1a9049687769b32
refs/heads/master
2022-03-25T08:22:23.682241
2019-12-02T18:20:10
2019-12-02T18:20:10
225,437,733
0
0
null
null
null
null
UTF-8
Python
false
false
5,528
py
import tensorflow as tf import keras from keras.layers import Input, Dense, Lambda, InputLayer, Activation, Reshape from keras.layers.normalization import BatchNormalization from keras.layers.convolutional import Conv2D, Deconv2D from keras.models import Model, Sequential from keras import backend as K from keras impor...
[ "noreply@github.com" ]
itsayushthada.noreply@github.com
943bede9e493c57524af600ccc0a7ad2fff6a668
0192e1c614ee2853d1f756f94289dcfcb382bbb0
/the-dynamo-streamer/python/setup.py
a8cf1678b7aa2078e4eb72619b8ed1aea4807d8f
[ "MIT" ]
permissive
cloud-architecture/serverless
fcb4ef093a61d864f4319f5bc0205af4e5390300
d2caa5681f1929523b65b225058229cd298bbc3b
refs/heads/master
2021-04-19T09:52:53.863381
2020-03-22T10:07:16
2020-03-22T10:07:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import setuptools with open("README.md") as fp: long_description = fp.read() setuptools.setup( name="the_dynamo_streamer", version="0.0.1", description="An empty CDK Python app", long_description=long_description, long_description_content_type="text/markdown", author="author", pac...
[ "1432881+nideveloper@users.noreply.github.com" ]
1432881+nideveloper@users.noreply.github.com
d4f3bd04ac6fb7adcb70da526c691f7887aa0573
1f68b01573ad873231958d98a686b7dbbe303279
/searchEngine/App/views.py
5873e1fbb65728c4bee308b466490212fb261257
[]
no_license
mkotha33/MovieSearchEngine-PythonDjango
3a3cb07c1c02a7be9aba1b10dd647b05e2b6729d
485a02b33cdbd3c597ac8395855ec4810fd2cdda
refs/heads/master
2020-04-26T10:03:55.842871
2019-03-02T11:45:32
2019-03-02T11:45:32
173,476,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
from django.shortcuts import render from django.http import HttpResponse from . import FileHandler as fh from . import MyLucene as ML from django.http import HttpResponse, HttpResponseRedirect from django.template import loader # Create your views here. def index(request): '''filepath = "C:/Users/M.S.Shruthi/Deskt...
[ "maahi.kotha@gmail.com" ]
maahi.kotha@gmail.com
3726d6aaf7a37aacef520c0ce1b2f43ad68700e1
10ad68a2e8e3958106651ff82a0978aabc82d789
/agilicus/v1/namespacegenerator/NamespaceGenerator
d84616ecfc855a934f851950b5e1c47976aeae4a
[ "Apache-2.0" ]
permissive
alimeerutech/kustomize-plugins
c69ef749008c42faded39cc87c304c1400418a30
21ebdbc6cde5e80d956bc32bbd2ac9c4c75a2441
refs/heads/master
2022-03-16T16:15:13.204314
2019-12-11T21:51:27
2019-12-11T21:53:19
256,403,523
1
0
Apache-2.0
2020-04-17T04:45:57
2020-04-17T04:45:56
null
UTF-8
Python
false
false
1,939
#!/usr/bin/env /usr/bin/python3 import pkg_resources pkg_resources.require('PyYAML>=5.1.1') import sys from itertools import tee import yaml import shutil import os import subprocess with open(sys.argv[1], "r") as stream: try: data = yaml.safe_load(stream) except yaml.YAMLError as exc: print(...
[ "don@agilicus.com" ]
don@agilicus.com
5f2842d9e47bb5e920657062e1fab24687a4074c
78be79b52eb3398f7966e670c47ff04748769d07
/common/logger.py
71d756fb34bbceef4273196cb918fc435e677e41
[]
no_license
SmeagolYe/api_0828
83b8f39325942d33a1c9cef29622106c42712956
7216f23065218ac112372a35ea53826d9c28921e
refs/heads/master
2022-12-04T09:49:54.391594
2020-08-28T08:18:10
2020-08-28T08:18:10
290,990,731
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import logging from common.dir_config import * def get_logger(name): mylogger = logging.getLogger(name) mylogger.setLevel("DEBUG") fmt = "%(asctime)s - %(name)s - %(levelname)s - %(message)s - [%(filename)s:%(lineno)d]" formatter = logging.Formatter(fmt=fmt) console_handler = logging.StreamHandle...
[ "317324406@qq.com" ]
317324406@qq.com
c73005c81aaec8e7c0613dea2e18f7b12afbb9dd
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/双指针(two points)/16. 3Sum Closest.py
999c518d3f03cb923594bff7a42b551b460d21fb
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
2,263
py
''' Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. Example: Given array nums = [-1, 2, 1, -4], and target = 1. The sum that is closest t...
[ "1129079384@qq.com" ]
1129079384@qq.com
c66cbca886fdbd3d6954818d2e7c22c7085392fc
aeaaed0146ef5044eff97e23d33e45f1da3e8657
/flask_app/models/user.py
0959cd5a1c48781c3a60642db83104de5910306e
[]
no_license
Bchaseley/stellar
eacdda922b2df860c3b0d2692c091365f7c88c76
40b475a86c2d31c3e27c28bf25a3d61afcffb2f4
refs/heads/master
2023-05-10T23:36:40.765167
2021-05-27T00:13:16
2021-05-27T00:13:16
371,162,741
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
from flask_app.config.mysqlconnection import connectToMySQL from flask import flash import re from flask_app import app from flask_bcrypt import Bcrypt bcrypt = Bcrypt(app) EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') class User: def __init__(self,data): self.id = data['id'] ...
[ "bchaseley@gmail.com" ]
bchaseley@gmail.com
fcf0dc2303afd6a81cd9c7afcb008b2e92a23305
1222bbd7ab34f0f485362164da70847bc476561f
/term_1/P2-AIND-Isolation-Adam_Liu/tournament_1.py
148cc4e93764e2680760b5ae34914fd3beae4ce1
[]
no_license
adamliuio/aind
1923cac5dcd24e3307c0682c73b746818312ea44
138227f6a6c568c4ddc305f16a6331da80c66c5a
refs/heads/master
2021-09-08T10:17:11.412747
2018-03-06T23:12:01
2018-03-06T23:12:01
118,387,955
1
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
"""Estimate the strength rating of a student defined heuristic by competing against fixed-depth minimax and alpha-beta search agents in a round-robin tournament. NOTE: All agents are constructed from the student CustomPlayer implementation, so any errors present in that class will affect the outcome. The student agent ...
[ "adamkingleo@gmail.com" ]
adamkingleo@gmail.com
70add22be9a70d8ceca4e71014665764dd5f5aff
bc2945c99f828083ca78b3bfcfe220a134fbd8b0
/users/migrations/0010_auto_20200725_1159.py
c0fe7d7e4a714113bfff57bc26a2b57875bf0f3a
[]
no_license
Kyeza/web_system
5bde9231551b7a94b535fe707db99ade351bd4fb
686a701469b13454d39e4f0c6b342b22befdb345
refs/heads/uganda-master
2022-12-14T13:43:17.833502
2020-12-11T07:23:19
2020-12-11T07:23:19
176,704,006
2
1
null
2022-12-08T11:07:51
2019-03-20T09:55:33
Python
UTF-8
Python
false
false
612
py
# Generated by Django 3.0.6 on 2020-07-25 11:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('reports', '0014_auto_20200605_0638'), ('users', '0009_auto_20200721_0727'), ] operations = [ migrat...
[ "kyezaarnold63@gmail.com" ]
kyezaarnold63@gmail.com
00c870418471d3cbd644cbea12a5c9bdb8ff5530
f8a114b410803515195a156bc678d76a990d1f83
/config/settings/base.py
58f39d4a9fcd2124f896be5e4d4bfe7177a1ba1d
[ "MIT" ]
permissive
mahidul-islam/chatbot_cookiecutter
86c03941f56e815d4b27fbfec2e7499aa675b065
52c8cdf01147b647e076d5dbe5fa1cc13b0bf1ee
refs/heads/master
2022-12-08T14:20:55.851457
2020-08-28T16:27:54
2020-08-28T16:27:54
291,094,465
1
0
null
null
null
null
UTF-8
Python
false
false
10,971
py
""" Base settings to build other settings files upon. """ from pathlib import Path import environ ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent # chatbot/ APPS_DIR = ROOT_DIR / "chatbot" env = environ.Env() READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False) if READ_DOT_ENV_...
[ "mizihan84@gmail.com" ]
mizihan84@gmail.com
14ec29e30beb9428142b51e4d0cb06ebde3e6971
a23ec1e8470f87d1b3fa34b01506d6bdd63f6569
/algorithms/282. Expression Add Operators.py
3f93dd1ffb26e5d220725678cb98469a2ceaaf91
[]
no_license
xiaohai0520/Algorithm
ae41d2137e085a30b2ac1034b8ea00e6c9de3ef1
96945ffadd893c1be60c3bde70e1f1cd51edd834
refs/heads/master
2023-04-14T17:41:21.918167
2021-04-20T13:57:09
2021-04-20T13:57:09
156,438,761
2
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
class Solution(object): def addOperators(self, num, target): """ :type num: str :type target: int :rtype: List[str] """ res, self.target = [], target for i in range(1,len(num)+1): if i == 1 or (i > 1 and num[0] != "0"): # prevent "00*" as a number ...
[ "noreply@github.com" ]
xiaohai0520.noreply@github.com
b6bc3862aba3cb915a8c9e6f441026fe7f4447a4
f555608150415bd30d452d97621b8675be09046f
/contest/sz.py
5d683085b0daf32062cb5b4ee092d9d498b6ceb9
[]
no_license
luxiao/python
b9fcaf4b003cee7d164ce0829939448fe84bbdf6
8da50c6f14c97f855f53d526c85329c22fab071f
refs/heads/master
2020-12-24T16:34:26.599911
2019-05-14T08:11:12
2019-05-14T08:11:12
18,641,100
4
2
null
null
null
null
UTF-8
Python
false
false
2,809
py
# -*- coding: utf-8 -*- import types opr=('+','-','*','/','(',')') class stack: def __init__(self,srclist=None): self.data=[] self.leng=0 if srclist is not None: self.data=srclist self.leng=len(srclist) def isEmp(self): if self.leng==0: True else: False def pop(self): ...
[ "luxiao1223@gmail.com" ]
luxiao1223@gmail.com
69bd617e2910c4a557b82e0697e3ca9ceb6b3480
435b0678654de2a0b0b55e25a02b08a79b8a778d
/yaoChun/yaoChun/urls.py
76fc2c1d357ee82daf1d3ce77fe986bc40f38a9a
[]
no_license
yc1220228757/twogit
cacc08f5d7d30dd4310708d083343eacec1045d3
9ad218b6de23430b68c3ce19612b4e6b3f2cfd70
refs/heads/master
2020-04-30T21:25:32.933462
2019-03-22T07:35:51
2019-03-22T07:35:51
177,092,748
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
"""yaoChun URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "yc1220228757@163.com" ]
yc1220228757@163.com
64d6e7dc10b061b4daa8d641010581505d2d704a
e8ad4cfd04b0c04a811b2a91e88cb62ff4a95aa8
/20180527_13_參數、解包、變量.py
a08923a6184b3ee99ad9ef18de979b77f584d09b
[]
no_license
sugky7302/Code-for-Learning-Python
3bdc61956e1041a88b6b18c0d08edb1f62ba33c4
129af7bf23f5a0d2676d69693fde29558769bead
refs/heads/master
2021-07-19T15:08:09.800176
2020-04-29T08:04:13
2020-04-29T08:04:13
144,469,408
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from sys import argv script, first, second, third = argv print("The script is called:",script) print("Your first variable is:",first) print("Your sceond variable is:",second) print("Your third variable is:",third)
[ "sugky7302@gmail.com" ]
sugky7302@gmail.com
eefa361077f4c426bc428b0e32a4e1feaec3b3ae
9f69e893fe2d1af30de77e1b28615ec6023b3b6f
/sorting/heapsort.py
5f303484285aa09670842144e5477528080066e8
[]
no_license
PeppyHare/CtCI
7317465948e171a0656d962e1d1b916bb04989b7
808f0fa96ccbb2be8234b22f38ab63eedda4d0a5
refs/heads/master
2021-01-18T00:08:34.348970
2017-03-14T01:01:09
2017-03-14T01:01:09
84,258,795
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
""" Worst Case: O(n log n) Best Case: O(n log n) Average Case: O(n log n) """ def heapsort(a): result = a heapify(result, len(result)) end = len(result) - 1 while end > 0: result[end], result[0] = result[0], result[end] end -= 1 siftDown(result, 0, end) return result ...
[ "embluhm@us.ibm.com" ]
embluhm@us.ibm.com
3487f385af9cf1c3384d8a9a9c5360459fd67f89
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/ir/test_ir_fc_fuse_pass.py
cb485609b55ec330ad7dff0ed4d10d8a13a8f865
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
1,978
py
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
b8269d41dafe82ff2472baf61ce5085139da7f96
2d95354400adba62d25b6e620d0a6b6254a17270
/test_django_APIView/article/migrations/0001_initial.py
2fba0b8d98807877a0c7939aca997091f1ade68f
[]
no_license
vasyanch/pet_drf
b94cc300f3926f7ef38e2501f840ea7b376f3e0a
3142aa774e46d53b4809c24e87e6df7d71491f1a
refs/heads/master
2020-06-08T11:48:49.629280
2019-06-22T12:32:39
2019-06-22T12:32:39
193,223,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
# Generated by Django 2.2.2 on 2019-06-21 08:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', fields=[ ...
[ "vasyanch852@gmail.com" ]
vasyanch852@gmail.com
577029548b9dd4fdd6fbd9bce95f20f25c58623e
aaf596efff64bf626b9dc2b7279ceb195b2d8eea
/pylearnadvance/thread/demo1.py
e6d05888ab3e54386bba8c79d3cb053a1202c0fb
[]
no_license
gongyangyu/pythonprojects
4a8d48453f606f8ca87d3860f8c98104596e456d
03ffd8932f23bd98538b8e88c9c4567852ec030f
refs/heads/master
2020-07-12T03:43:38.215350
2019-09-16T13:31:26
2019-09-16T13:31:26
204,709,446
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import threading import time def sing(): """唱歌5s""" for i in range(5): print("----------正在唱歌----------") time.sleep(1) def dance(): """跳舞5s""" for i in range(5): print("----------正在跳舞----------") time.sleep(1) def main(): t1=threading.Thread(target=sing) t2=...
[ "1665465903@qq.com" ]
1665465903@qq.com
7024ae05ff1844eca1d1409094787f626f186dca
98ebce5d5fbf3eb36642b3ffefe51ffcb81e9d5a
/uv/asgi.py
3a64a8aef60b33aa8102ee73af4ce975123cecea
[ "CC0-1.0" ]
permissive
codesankalp/E-commerce-Website
cf5d07587e790761b07e68b47669f7cf1f25269b
9091a7e27a9e63242b9067377a697196879fc707
refs/heads/master
2023-01-19T23:29:51.071061
2020-11-25T07:35:09
2020-11-25T07:35:09
286,974,879
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
""" ASGI config for uv project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_M...
[ "sankalp123427@gmail.com" ]
sankalp123427@gmail.com
0d616abe175f91c7287f6507c0c2342cd65f0b59
6b5d8fd840e8821a6fdd16a3d98030fee48a7764
/App/migrations/0015_auto_20190714_1759.py
8d0dd47381548e28e32e6a593b31d8d8d2f232b0
[]
no_license
LGungnir/DjangoZOL
059bc69cfa30ac0e5e532def4ea9cf4adf385e39
e3aa4e2bb74b3ac6ee8d7fc772bacecb9fa4cf67
refs/heads/master
2022-12-22T22:33:31.294869
2019-07-18T08:11:15
2019-07-18T08:11:15
197,489,612
0
0
null
2022-12-08T05:53:52
2019-07-18T01:37:34
HTML
UTF-8
Python
false
false
982
py
# Generated by Django 2.2.3 on 2019-07-14 09:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('App', '0014_ordergoods'), ] operations = [ migrations.CreateModel( name='Receive', ...
[ "cheng_yunbin@sina.com" ]
cheng_yunbin@sina.com
bf722e10a81a9c4b67683f0102f4ca1a2cf02a31
710e46cdf24c163503d5d9db25ff7b6f428a4e8e
/__init__.py
f717c2f41b445ac739959cc52dd1236f7c7f1769
[]
no_license
lloyd10029523/mapillary
e81ed370337d85706cbdfd7a06671cbe79ec7d80
841173a8240d4a41dbfb03d01ea03eb55e75b1cc
refs/heads/master
2021-01-22T22:02:50.948938
2016-09-22T13:59:20
2016-09-22T13:59:20
92,751,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
# -*- coding: utf-8 -*- """ /*************************************************************************** mapillary A QGIS plugin mapillary ------------------- begin : 2015-01-20 copyright : (C) 2015 by geodrinx ...
[ "geodrinx@gmail.com" ]
geodrinx@gmail.com
9006554c4b9386b8a668cade0feaf260ec4e07a4
b2ab970816dc7d21ddcd560b90e3096d13307505
/0-100/058.py
bac114c8f2095dac6aa8cfb39796720dbfa8c564
[]
no_license
rillis/ProjectEuler
bbdf79ff8878b30a6d6e69738eedc4e99a6295be
0dc7fda9fe2f0a4fff44c616ac0369884475c00c
refs/heads/master
2023-02-09T12:13:56.329545
2023-01-29T16:25:30
2023-01-29T16:25:30
298,775,288
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
# Time to achieve the answer: 1.5049629s # Notes: Running in PyPy3 # # ProjectEuler # Copyright (c) ProjectEuler - rillis. All rights reserved. # # https://github.com/rillis/ProjectEuler # import math import os import random import re import sys import itertools import timeit def isPrime(n): for x in range(3,in...
[ "rillisnelson@gmail.com" ]
rillisnelson@gmail.com
b2efbf99e9dd402f90a6e40c9f520aff916354d4
e6c7485943b4caf2de39e038380f922726990376
/Password generator.py
cb4cf93c484116d6a1d993ec866ba7418b5dcb80
[]
no_license
akashaw/first
a42dd61caac1695e014dd6605c8a06a3a8805b2f
eb6c7772e84bf764856c36ead6e8616f69fc95aa
refs/heads/master
2022-10-12T00:36:22.982206
2022-10-05T09:26:06
2022-10-05T09:26:06
236,743,375
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
hi=input() hi=hi.split(',') ans=[] for a in hi: l = a.split(':') string = l[0] length = len(string) code = (l[1]) code = list(code) code.sort() new_code = [] for i in code: if int(i) <= length: new_code.append(i) if len(new_code) == 0: element = 'X' el...
[ "akash98313@gmail.com" ]
akash98313@gmail.com
3e6274f68a32a64cdaad8f145058730bafa63415
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_scipy_numpy/source/numpy/distutils/system_info.py
d7eb49ecd6b2ad37af5555202623dde6a903977b
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
85,533
py
#!/bin/env python """ This file defines a set of system_info classes for getting information about various resources (libraries, library directories, include directories, etc.) in the system. Currently, the following classes are available: atlas_info atlas_threads_info atlas_blas_info atlas_blas_threads_info ...
[ "master@MacBook-Pro-admin.local" ]
master@MacBook-Pro-admin.local
c6abbd68abb96d60b47108a11a645b653f08f6d2
edfd9d720e180465b4775d1d9734cc7b38df9c5e
/main.py
4d90c65d3a66de046a69ef96393ae4a47da756b6
[]
no_license
jonnyktran/photo-pixelator
33748e6bbba9c4b987d62116cc5089bb98099c5d
2ae83cd1ff9f3083da2c8598f528553425cdee4b
refs/heads/main
2023-07-18T18:20:07.922311
2021-09-19T08:09:27
2021-09-19T08:09:27
334,803,004
1
0
null
null
null
null
UTF-8
Python
false
false
6,201
py
from PIL import Image import numpy as np from numba import njit RESURRECT64_PALETTE = [(46, 34, 47), # bastille (62, 53, 70), # ship gray (98, 85, 101), # salt box (150, 108, 108), # copper rose (171, 148, 122), # ...
[ "61168867+jonathanktran@users.noreply.github.com" ]
61168867+jonathanktran@users.noreply.github.com
27dd856daa70baf155dfbeae5458fba01503ddc8
a2fcfef1e6e2eda66964e208480bce9e1509c3bd
/my_blog/urls.py
377af2835f18a5e637a33c5404e589e7e3a628a3
[]
no_license
zcqshine/my_blog_by_django
009fd12ee102a7983993d8be8f718a132954a7fc
2a9629383221a4e22ae75193cfa1e0b4527afdcd
refs/heads/master
2016-09-06T10:45:31.911168
2015-01-23T09:45:11
2015-01-23T09:45:11
29,725,086
1
0
null
null
null
null
UTF-8
Python
false
false
429
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'my_blog.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^$','article.views.home'), # url...
[ "zcqshine@gmail.com" ]
zcqshine@gmail.com
4ea047de73216b163225392635a3e6088aafa37f
b449d885991fc4d03eed8507d3fd57bd1e5ee144
/question_no_20.py
ced99ce48c1c3a3781cafc2d352775014a8d1536
[]
no_license
vksudin/python-lab
ea8f0ab69b1939396a7a559da64cc8e69391143d
653420600ea85680d651df54b7ddee24ad09a19c
refs/heads/main
2023-03-15T19:25:10.396968
2021-03-06T02:23:58
2021-03-06T02:23:58
344,852,830
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 5 20:48:28 2021 @author: sudin jana """ def anagram(a,b): print(a,b) if len(a)!=len(b): print("Not anagrams") return a=sorted(a) b=sorted(b) for i in range(len(a)): if a[i]!=b[i]: print("Not anagrams"...
[ "noreply@github.com" ]
vksudin.noreply@github.com
699ce16dc10d9a10a12ff340c9bb8f01c5096fbf
0e3992c909ab923bf3897a4568d467bef73c0909
/peacenik-exp-framework/src/option/benchmarks.py
096ad8ccf9c8cdb967857f10d5398ca5130470d9
[]
no_license
PLaSSticity/peacenik-simulators-asplos20
c4c3b5302e3aa6d3063c35ccdc3f95424e477c72
66d187650daf1aedb5c76fefee6d20529a56e27a
refs/heads/master
2020-12-10T19:50:38.369905
2020-02-04T12:25:54
2020-02-04T12:25:54
233,693,358
0
0
null
2020-02-04T12:25:56
2020-01-13T21:05:10
Java
UTF-8
Python
false
false
903
py
class Benchmark: """Wrapper class for allowed benchmarks.""" PARSEC = ["blackscholes", "bodytrack", "canneal", "dedup", "facesim", "ferret", "fluidanimate", "raytrace", "streamcluster", "swaptions", "vips", "x264"] SPLASH2X = ["barnes", "cholesky", "fft", "fmm", "lu_cb", "lu_nc...
[ "ruizhang1217@yahoo.com" ]
ruizhang1217@yahoo.com
114d19bb3eed178fe475e6e9b4c627a69fd2f3e1
2beaf81f068217ac74ca616ec7a2e24a4c4597d8
/codechef/choprt.py
63538b87704f4a29286a6cfa52948665160f5420
[]
no_license
CodeForFun-r/Competitive-Programming
03b0751e5c00b0c979d413c934a881dde15caedc
c93d6e7f6db964bc9c8b54caab535c2b52d6ffec
refs/heads/master
2022-12-15T11:41:36.352931
2020-09-02T10:52:37
2020-09-02T10:52:37
285,487,701
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
for i in range(int(input())): a, b = map(int, input().split(' ')) if a > b: print('>') elif a < b: print('<') else: print('=')
[ "noreply@github.com" ]
CodeForFun-r.noreply@github.com
8cb2231586c50d4a9c40daaa55cfe424fba86cc0
a994be46a4deef9e7d7aaea32d1714b6d849344c
/data/generate_train.py
5f8d6e9fac76128c688581eef7c112d73005aa43
[]
no_license
lion-ops/slim_yolov3
7abec2242a491c5af754e9a5d4c96cacf4ef74ba
fb4d4327d7bb4433d2e7824d4e83c53ce3403c60
refs/heads/master
2023-07-19T11:22:13.251017
2020-09-01T07:10:44
2020-09-01T07:10:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
import os images_path = os.listdir('images') with open('train.txt', 'w+') as f: for image_path in images_path: if not image_path.startswith('COCO_val2017'): f.write('data/images/'+image_path+'\n')
[ "noreply@github.com" ]
lion-ops.noreply@github.com
5f230592b6eb6fe910fff31b71e67880f9692b82
de72607be743b6c87005bf4e3da54bc80abd6dd5
/MP1/MP1_Unicast.py
3cc404f3bb53e835133f0e961fdda341ec7a0412
[]
no_license
xiashang0624/Distribution_system_MP2
16709699b7146826d9e215cd4dd49555fb177ee2
0caf982a8f2444440b25af1232bafb4976491b31
refs/heads/master
2020-03-07T11:42:16.086436
2018-05-02T21:35:40
2018-05-02T21:35:40
127,461,980
0
1
null
2018-04-25T05:37:51
2018-03-30T18:47:39
Python
UTF-8
Python
false
false
3,112
py
import socket, time, threading from random import randint import pdb # This program is designed to perform unicast with a option to allow delay. # define a function to listen def Listen(server_socket): while True: try: recieve_msg,addr = server_socket.recvfrom(1024) recieve_time =...
[ "xshang3@gelib-4c-41.ews.illinois.edu" ]
xshang3@gelib-4c-41.ews.illinois.edu
b20a8ceb62e68cea4660e241d323d08b5c8a9a34
b05b89e1f6378905bbb62e2a2bf2d4f8e3187932
/contiguousSubarrayWithMaxSum.py
cca7da339ae673798a2108e9eca5e36101113136
[ "MIT" ]
permissive
anishmo99/Daily-Interview-Pro
c959cd336209132aebad67a409df685e654cfdfc
d8724e8feec558ab1882d22c9ca63b850b767753
refs/heads/master
2023-04-10T08:09:46.089227
2021-04-27T07:27:38
2021-04-27T07:27:38
269,157,996
1
1
MIT
2020-06-08T07:09:19
2020-06-03T17:57:21
C++
UTF-8
Python
false
false
257
py
class Solution: def maxSubArraySum(self, arr: List[int]) -> int: cur_sum,max_sum=arr[0],arr[0] for i in range(1,len(arr)): cur_sum = max(arr[i],arr[i]+cur_sum) max_sum = max(cur_sum,max_sum) return max_sum
[ "ani10sh@gmail.com" ]
ani10sh@gmail.com
7576f8247220729c624ef1a5b86bbe6d99d3a674
64d7e4aa68678467798ff776156e9e571d9c2afc
/mazeGame.py
441b9bc8cd250b6a5a051f2bab7e04303456ea6c
[]
no_license
yozeff/mazeGame
29fd113ae3e30d0d343b355ca6c4c1490d6a8ca7
30a34d99490f3f41e74b28b9924263a43bfa233e
refs/heads/master
2020-05-09T15:06:20.251008
2019-04-13T19:54:38
2019-04-13T19:54:38
181,221,482
0
0
null
null
null
null
UTF-8
Python
false
false
3,282
py
from mazeArray import make_arr from mazeArray import make_maze import pygame import random as r #size of each block SIZE = 10 WALL_COL = (255, 0, 0) PLAYER_COL = (255, 255, 0) END_COL = (255, 0, 255) def game_loop(arr, pi, pj, ei, ej): global blocks blocks = [] #screen size X, Y = SIZE * len(arr...
[ "noreply@github.com" ]
yozeff.noreply@github.com
2d7ea85777003a35886a2ed9a54c7eacb02feeac
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/kfa.py
fa58bfbad8c36ae3ec8f5d8bfeacb3f8cb899cab
[]
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
19ced467669fb0dacbfd256cd91ac39a5fbd1a6d
78b961adcc7f2cc8c1e95a88a46220c94c1de85d
/esp32-micropython/server/util.py
58909bdeec47caa2dc2af41d5aa22bab04406cf4
[]
no_license
camlee/power-meter
3b685ca7df26c774c8e946271a89b82d75c0b145
4954198e863de30d32af927da2cec6767e3681f9
refs/heads/master
2022-12-24T23:32:20.400866
2021-07-12T21:41:57
2021-07-12T21:41:57
144,101,312
4
1
null
2022-12-10T13:59:48
2018-08-09T04:37:09
Python
UTF-8
Python
false
false
1,330
py
import os import time import machine EPOCH_DELTA = 946684800 # (date(2000, 1, 1) - date(1970, 1, 1)).days * 24*60*60 def set_time_from_epoch(epoch): """ Sets the system time from the provided unix epoch time """ # converting from unix epoch to ours (2000-01-01 00:00:00 UTC): our_epoch_t...
[ "cam.w.lee@gmail.com" ]
cam.w.lee@gmail.com
b032182e1d6228441cafe14eee800546baf0fee8
10a764666e3e520596fb057946d3031070cf5144
/news_list/admin.py
24c10d96a3cf2056722797f1f06279f950738cc1
[]
no_license
HunterOut/News
097c01d7469a442f3965bc66aa6274dc84e85a78
82ce672ee7225db5a4bea35b50978039f1a55a9a
refs/heads/master
2023-08-15T01:59:58.861407
2020-07-07T17:50:44
2020-07-07T17:50:44
268,179,514
0
0
null
2021-09-22T19:07:42
2020-05-30T23:57:54
Python
UTF-8
Python
false
false
554
py
from django.contrib import admin from .models import Post, Comment @admin.register(Post) class PostAdmin(admin.ModelAdmin): list_display = ('title', 'slug', 'author', 'publish', 'status') list_filter = ('status', 'created', 'publish', 'author') search_fields = ('title', 'body') prepopulated_fields = {...
[ "hunter_out@icloud.com" ]
hunter_out@icloud.com
244f722f90ec59016d843f887036ec423dc5b19e
80874bb26208b6c82ef558a904f97d45c7e23742
/airflow/airflow/dags/load_dimension_table_subdag.py
4fd72c1c957cfa98c4e6a991e6c25c5d1f83cbef
[]
no_license
Mousumi-Singha/data-pipeline-airflow
2fe8d25c5705e6a23e7887da2a604b7d95b01fd7
43194b47f539ca8ca948f9b1bfcdeff18f630506
refs/heads/master
2023-04-04T11:59:46.633082
2021-03-31T05:01:33
2021-03-31T05:01:33
353,217,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
import logging from airflow import DAG from airflow.operators import LoadDimensionOperator def get_load_dimension_table_subdag( parent_dag_name, task_id, default_args, postgres_conn_id, sql_queries, tables, truncate_flags, *args, **kwargs): ...
[ "mousumisingha90@gmail.com" ]
mousumisingha90@gmail.com
aaac6a94ac555dc58dda780437398f3de9ad0d12
8ae5c8bd19fe77c44b8485f646ff78db2605522a
/control/test.py
fd1e4612d0f2926ef1c3bc836f63ac6f6fbc1337
[]
no_license
yunshengtian/pendular-codesign
8bec44de67401d8db9b3e19b9afe4808e6eb84bd
7f939bb0b00907b367a9ad89a5004ecb3a6aad78
refs/heads/main
2023-05-03T22:54:07.379998
2021-05-23T04:57:25
2021-05-23T04:57:25
368,543,614
1
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import gym import numpy as np from argparse import ArgumentParser import os, sys sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) import env from env.utils import utils from control import get_control parser = ArgumentParser() parser.add_argument('--env', type=str, default='pendulum', ...
[ "yunsheng@mit.edu" ]
yunsheng@mit.edu
a84288226cbea66dd69ddc0696fb2f6421d6bdfb
c7071fe677a0cbea69fc2b4d9ad293119511b353
/comment/migrations/0001_initial.py
79034a6fa78c5a2e0454496ea40b61cccccf489c
[]
no_license
jimmyliaoviva/MuseumDjango
3465fb83a88b771456a60e3c29cc6c45916c9450
663573932965cb1f46e42646ad9cfa98c4129a8c
refs/heads/main
2023-02-13T19:08:40.460158
2021-01-09T07:02:17
2021-01-09T07:02:17
306,344,255
0
0
null
2020-11-04T09:35:56
2020-10-22T13:21:44
JavaScript
UTF-8
Python
false
false
933
py
# Generated by Django 3.1.2 on 2020-11-18 01:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main...
[ "u0524079@nkfust.edu.tw" ]
u0524079@nkfust.edu.tw
64618a6ac65022117f48efe65d74d536eb1d4461
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/AntfortuneEquityShopCustrelationQueryRequest.py
fa4fa39402e4465d04ccbe7c01ba6dec5c1768fa
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
4,021
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AntfortuneEquityShopCustrelationQueryModel import AntfortuneEquityShopCustrelationQueryModel class AntfortuneEquityShopCustrelationQ...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
7a90a3c285d5b1d163f9550befa75c5b01f6fdc4
0b3c5260cd5c33a1beccc5710a5d0fd097a5ea15
/anchore_engine/services/policy_engine/engine/policy/gates/npm_check.py
40e0d49fe309d0fdfc2a14343f4df6cec46099e9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
omerlh/anchore-engine
fb2d7cb3d8bd259f6c973b450fbaa2c2e00497f0
669a0327f8baaee3f5c7c64b482909fe38830d80
refs/heads/master
2021-09-02T12:48:51.661648
2018-01-02T19:26:47
2018-01-02T19:26:47
116,236,136
1
0
null
2018-01-04T08:41:39
2018-01-04T08:41:39
null
UTF-8
Python
false
false
7,044
py
from anchore_engine.services.policy_engine.engine.policy.gate import Gate, BaseTrigger from anchore_engine.services.policy_engine.engine.policy.utils import NameVersionListValidator, CommaDelimitedStringListValidator, barsplit_comma_delim_parser, delim_parser from anchore_engine.db import NpmMetadata from anchore_engin...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
a6eb631441ab06d660845be6883cdca77ab775a3
7ae58b6286dde0e3949cc21125a56333443801b6
/blog/migrations/0001_initial.py
f65c2415be772424b90845c2cfe275ade0f9fece
[]
no_license
divsingh14/portfolio-django
60a68013cd273fb3b88f7009b208d79e51c5fc53
e0fb897981c977af822fd56c5940cb2513419fd4
refs/heads/master
2022-11-13T10:19:17.020592
2020-07-01T15:39:34
2020-07-01T15:39:34
276,386,389
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# Generated by Django 3.0.7 on 2020-06-30 16:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(aut...
[ "divsingh14@yahoo.in" ]
divsingh14@yahoo.in
33105419cbada6eb8b54a848f81125e149dbce73
274532350bbdb855d700caae4d7771f07aebd55b
/Python/modules/regular expression/first.py
02eff6b9ce3992458d540957e2aa68a7fe4e0300
[]
no_license
SA253/python-assignment
3ef86b5578e90a44c9762c0750aa9e523c01d33c
7a491557a6d4123778213b2acfd303becec0b297
refs/heads/master
2020-09-21T11:25:09.638484
2019-11-29T04:04:05
2019-11-29T04:04:05
224,191,418
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
import re pattern="zomato" #text="does this text match the pattern?" #ans:none ,not found text="zomatonn" # ans: <re.Match object; span=(0, 6), match='zomato'> , found match print(re.search(pattern,text)) if re.search(pattern,text): print("found match") else: print("not found") ...
[ "noreply@github.com" ]
SA253.noreply@github.com
f1349d5120e8905215322a1cd477100e62f5b62b
1e9838ef39e44060ff7f04d6d830812ce5fed99f
/Python/Kaggle_ETL_Submisson.py
df444ea1dbf4ea48d6a89785c5271704dcc05cae
[]
no_license
Greeshma-Venkatesh/DB225-pantrychef-project
61d6892781e2e2c0b39d4c603b9595a1d6b7fbe9
27099a1b72e974f5e43a6c4ead90b4c9008cdef5
refs/heads/master
2023-08-20T08:55:57.793807
2021-05-13T01:39:46
2021-05-13T01:39:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,192
py
# Property of SJSU Data225 Project Group3 # Version Date Author Desc # 1 04/27/2021 Rishi Srivastava Initial Version # 2 04/30/2021 Payal Added function to load Stats data # 3 05/05/2021 Greeshma,Jyoti Peer Review # ...
[ "rishi.wip@gmail.com" ]
rishi.wip@gmail.com
dac47fd1c86e26a2e0023d0e42e73fb5c23b8db6
6929f0ddaf7aab3897ecd2aefd55d97c8ab1e431
/QandA/wsgi.py
2b85f2b31520b17db7efa9b223e73bf9469f7b74
[]
no_license
tmvinoth3/Q-A
1aaab03b011478a6e33d0be1a78cc35a9631c60e
6da8bdd0c63453df33fe347ef7bb97e40e4218a7
refs/heads/master
2020-03-10T13:50:21.766223
2018-06-06T16:17:29
2018-06-06T16:17:29
129,409,740
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
""" WSGI config for QandA project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "575435@cognizant.com" ]
575435@cognizant.com
173607b64aeed04b631c469061ed4f527766472f
c5d5d65dcb782618428c8ee3d486d0bd7cd817e5
/manage.py
98969a8eb96a066bbb764e4404ff0a598e35cd16
[ "MIT" ]
permissive
ruslan447/houseofoutfits
a3471a48179f4a62fb3858c7386e32f965381b88
96d4bd3a24974f4e96dc8e0bc510afb63e2d3f7c
refs/heads/master
2022-12-04T11:48:12.466046
2020-08-12T09:10:08
2020-08-12T09:10:08
285,194,059
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'outfease.settings') try: from django.core.management import execute_from_command_line ...
[ "noreply@github.com" ]
ruslan447.noreply@github.com
f711172c3480c5580dd6594014f2a13fb124054c
f26dd860c8d764fc7a47bde656f393795cd8d763
/david13.py
f0f78ee556259290f4fcefbd2eb9801ee2858e03
[]
no_license
chokkuu1998/david
8e9fa162f657c8b9bb55502f1cdd730a08ff0235
4dc999cdb73383b5a5d7ed3d98b2c1a4d6b5f7ee
refs/heads/master
2020-03-28T17:05:04.046963
2019-07-16T08:07:37
2019-07-16T08:07:37
148,756,731
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
AA,BB=map(int,input().split()) CC=list(map(int,input().split())) pp=list(map(int,input().split())) qq=[] rr=0 for i in range(AA): x=pp[i]/C[i] qq.append(x) while B>=0 and len(qq)>0: mindex=qq.index(max(qq)) if B>=C[mindex]: rr=rr+pp[mindex] B=B-C[mindex] CC.pop(mindex) pp.pop(min...
[ "noreply@github.com" ]
chokkuu1998.noreply@github.com
d0044cf9410ea97706a0db4c0202cbcc684ff637
78c1d3020b827b9ab7527404983986685bbb79ae
/challenge 86.py
11ea908b4c6999cb7d2bad12f6f20f6b0ed1e17b
[]
no_license
Yakobo-UG/Python-by-example-challenges
eb3e52601c9546a4984b8da4cf752e59f13af50e
5bee4ec3e7619e826a27cde9e6a9a841393f8ccb
refs/heads/master
2023-08-27T03:01:39.448703
2021-10-14T15:43:45
2021-10-14T15:43:45
401,747,080
2
0
null
null
null
null
UTF-8
Python
false
false
528
py
#Ask the user to enter a new password. Ask them to enter it again. If the two passwords match, display “Thank you”. If the letters are correct but in the wrong case, display the message “They must be in the same case”, otherwise display the message “Incorrect” newpass =str(input("Enter new passward: ")) newpass1 = str...
[ "65670517+Yakobo-UG@users.noreply.github.com" ]
65670517+Yakobo-UG@users.noreply.github.com
b70385e17427bd7ad30abd8179b7962f293e20f5
5837e04e53e0434c8b10eb9647804901d3a6ee7a
/pyseries/metrics/__init__.py
77d6184c5b0dba8ce8889cd431ef362b1d01afb2
[ "BSD-3-Clause" ]
permissive
nubiofs/pyseries
b26fd4dff4b55cc3b338a2ebee9260b91d6fa902
59c8a321790d2398d71305710b7d322ce2d8eaaf
refs/heads/master
2020-04-05T14:18:35.453540
2014-10-27T17:47:54
2014-10-27T17:47:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
# -*- coding: utf8 from __future__ import division, print_function ''' Array and time series metrics package '''
[ "flaviovdf@gmail.com" ]
flaviovdf@gmail.com
e8e08e4b4c84e23d22c92940cf1d38e721e9617e
dc80f94c1a244002db468fc7242d5fcaafe439dc
/powerdns_client/api/stats_api.py
865ce4494cac1c4a36ceedb5e0f8587189c76576
[ "MIT" ]
permissive
sanvu88/python-powerdns-client
f675e1ee162bb76190b41ddf0cfc34e2305a757b
57dd0460995a5407c6f5c963553b4df0f4859667
refs/heads/master
2023-02-04T07:05:31.095951
2020-12-15T16:48:15
2020-12-15T16:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
# coding: utf-8 """ PowerDNS Authoritative HTTP API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.0.13 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absol...
[ "67791576+underline-bot@users.noreply.github.com" ]
67791576+underline-bot@users.noreply.github.com
fb80cd57ad70d4873721a45f8d1e755d18cc92c6
9e1bb84206587a5efd352a9ffbdcd383b150a4d9
/day10/led/controllers/__init__.py
b2dd8b13f44a94aa8242765761ca7a03d0e1e834
[ "Apache-2.0" ]
permissive
smalljiny/raspi-class-example
34ef92d7a32943fee34c6534ccf30f411e9d05eb
7f92f34d366b94f9ae3c7da5ebeacdeb628be446
refs/heads/master
2021-09-02T16:52:57.592216
2018-01-03T17:55:47
2018-01-03T17:55:47
114,616,324
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from flask import Flask from controllers.leds.controllers import leds app = Flask(__name__) app.debug = True app.register_blueprint(leds, url_prefix='/leds')
[ "smalljiny@gmail.com" ]
smalljiny@gmail.com
6229e7231c45038a0d515693de51d6b3b5ee16fe
9b10d8482a7af9c90766747f5f2ddc343871d5fa
/Gemtek/AutoTest/DropAP/WRTM-326ACN-DropAP2/premises/library/test.py
f158319fe329093f6d1fd74a233f2a489a42b9b0
[]
no_license
DarcyChang/MyProjects
86d33f5cf8bdfd4b21e64922e4eb25c1afc3c135
47efb2dfe13ace264f8943b59b701f39f23c4c17
refs/heads/master
2021-05-12T12:43:39.255082
2020-09-23T06:42:03
2020-09-23T06:42:03
117,419,269
0
2
null
null
null
null
UTF-8
Python
false
false
609
py
__author__ = 'alu' import re import time import cafe from cafe.resp.response_map import ResponseMap from collections import OrderedDict from demo.alu_demo.User_Cases.test_lib import Teststeplib_e7 as e7_lib res = "ONT Subscriber Info Status" \ "---------- --------------...
[ "cychang0916@gmail.com" ]
cychang0916@gmail.com