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
d5e9ddbf4cd946d176d9f9410b47c88c0bc6f578
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/feature/vt/gui/task/ForceApplyMarkupItemTask.pyi
a0d1f4c08ef41ab1d8ca046c6f84079e18d142a4
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,499
pyi
import ghidra.feature.vt.gui.task import ghidra.util.task import java.lang class ForceApplyMarkupItemTask(ghidra.feature.vt.gui.task.ApplyMarkupItemTask): def __init__(self, __a0: ghidra.feature.vt.api.main.VTSession, __a1: java.util.Collection, __a2: ghidra.framework.options.ToolOptions): ... def addT...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
97b66ec66601e7dac985abea57463a29631f1788
eb9d6231fb779d8e91713ac31648b86b3e97459a
/Training/movietrainer.py
1c698d5b489aafb7257127878fdfade6a8cacdb7
[]
no_license
souravc83/MovieMetR
ad721c3544557a47628b636589ccb9e3d42c832f
392b320b1ef6ac4a3499eb66e42171374f85625c
refs/heads/master
2020-05-27T14:33:43.752727
2015-11-15T07:36:32
2015-11-15T07:36:32
24,505,190
1
0
null
null
null
null
UTF-8
Python
false
false
15,297
py
#global imports from __future__ import division import pickle import pandas as pd import os import numpy as np import matplotlib.pyplot as plt import re from sklearn.linear_model import LinearRegression import sklearn.linear_model as linear_model from sklearn.cross_validation import train_test_split import sqlite3 impo...
[ "souravc83@gmail.com" ]
souravc83@gmail.com
2c630ea507341a23dde066a866069c34907e14b4
57809b8b125fb9588f1bab8344d7d9cbbe7b5a5e
/tests/integrations/test_urls.py
6d8ea06d731f88a010626fb826d7fb1ed2750cbf
[ "MIT" ]
permissive
fossevents/fossevents.in
a538f4a4c4644080990711b11780b944a979f293
66aa04829ce0b422169fc57984e1092a0ecd573f
refs/heads/master
2021-09-24T20:53:26.353654
2021-09-16T07:51:39
2021-09-16T07:51:39
33,480,943
17
34
MIT
2021-06-10T20:38:18
2015-04-06T12:31:08
Python
UTF-8
Python
false
false
308
py
import pytest pytestmark = pytest.mark.django_db def test_admin_interface(client): public_urls = [ '/admin/login/', '/', '/about/', '/privacy/', ] for url in public_urls: response = client.get('/admin/login/') assert response.status_code == 200
[ "me+github@saurabh-kumar.com" ]
me+github@saurabh-kumar.com
a8704b9e5e7ca855d2e1e3057ca0ac0e3f500dea
1292c7ba30246279cfd67b389178e5fb9e7cdcbd
/homework11/hw1.py
5753d3b4a520476bfb05fa103b6dcd910ccc9c12
[]
no_license
spiridonovfed/homework-repository
00a077fc5f8812f148b805cc25ec178647503f34
57c2226142b86192cbf15eb2b19bfc053dbc934d
refs/heads/master
2023-06-08T17:24:49.082301
2021-06-28T08:10:00
2021-06-28T08:10:00
357,466,503
0
0
null
2021-06-28T08:10:01
2021-04-13T07:43:57
Python
UTF-8
Python
false
false
1,205
py
""" Vasya implemented nonoptimal Enum classes. Remove duplications in variables declarations using metaclasses. from enum import Enum class ColorsEnum(Enum): RED = "RED" BLUE = "BLUE" ORANGE = "ORANGE" BLACK = "BLACK" class SizesEnum(Enum): XL = "XL" L = "L" M = "M" S = "S" XS =...
[ "spiridonovfed@yandex.ru" ]
spiridonovfed@yandex.ru
f2fbce7067105633b31cb36fa825b2faf890fb4d
f5ade2b2196097715944722d3aa32540e76678f8
/async_web_serve/websocket_funcs.py
7eb9503da12b90e22bfc881f5e2222380da55024
[]
no_license
goatchurchprime/jupyter_micropython_developer_notebooks
746e8f5225596ef51839aa668b1d8403422e5140
c2802decabd27328911d7cfdc50f721b91673093
refs/heads/master
2023-01-22T03:30:35.074187
2023-01-08T18:16:26
2023-01-08T18:16:26
105,647,652
36
5
null
2020-02-14T12:53:05
2017-10-03T12:12:45
Jupyter Notebook
UTF-8
Python
false
false
3,106
py
import time, ustruct, uhashlib, ubinascii from syslog import log, elog, powid import uasyncio async def initiatewebsocket(w, secwebsocketkey): guid = b"258EAFA5-E914-47DA-95CA-C5AB0DC85B11" acc = uhashlib.sha1(secwebsocketkey + guid).digest() acc = ubinascii.b2a_base64(acc).strip() await w.awrite(b"HTT...
[ "julian@goatchurch.org.uk" ]
julian@goatchurch.org.uk
fcd8f4b935de79b3970106ec58f17b968edefb80
a46897f8610749db614e53208c39b2f0308011b3
/usage_report.py
391c50d21343498a8efc1599eae83b780b32f90b
[]
no_license
seidelj/uprogram-math
4bd269c2a2fe4218529f4369555cbd51e04b4363
4a73ec6db1de48624046abe321d483f094e6ee1c
refs/heads/master
2021-01-19T03:25:19.077484
2016-10-15T01:15:47
2016-10-15T01:15:47
52,285,302
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
import website.wsgi from request.models import Request from mathtutor.models import Student import csv csvFile = open("access.csv", 'w') writer = csv.writer(csvFile, csv.excel) columns = [f.name for f in Request._meta.get_fields()] writer.writerow(columns) for r in Request.objects.all(): if r.user_id: row ...
[ "seidel.jp@gmail.com" ]
seidel.jp@gmail.com
9c2542c3e02a55a41cbb65011437b7d046dbc278
927645240024f3cbaed08ef64dcc52ab874d254c
/tutorial/snippets/views.py
a31c8c59e697b7f25034de6cd75107a5bf04d9ba
[]
no_license
banideus/PhytonInTheGuabece
3e7c949fcb80f3897e34c3e51e3c6e383bf9a2a2
796c18e4f5699e94d65b405c99cd60c9772e62cb
refs/heads/master
2021-08-17T15:20:50.549228
2018-11-21T20:02:22
2018-11-21T20:02:22
147,129,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
from django.shortcuts import render # Create your views here. from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.renderers import JSONRenderer from rest_framework.parsers import JSONParser from snippets.models import Snippet from snippets.seriali...
[ "noreply@github.com" ]
banideus.noreply@github.com
c4dae2d58da8f29eacf1744564d8c1d490614f4b
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1484496_0/Python/zifmia/equalsums.py
070fef3e61ff34fceaa4a7e4767191dd421f5cee
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,104
py
# google code jam 2012 round 1b # equal sums import itertools def numlist(s, n, v): answer ="" for i in range(n): if (1<<i & v): answer += " " + str(s[i]) return answer[1:] + "\n" f = open("c:\\users\\James\\Downloads\\C-small-attempt0.in", "r") #f = open("equ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
7f50c46f4ce207a8376c967a53b3092bb952dd18
413c111ecfc84ef1d9457caf7c48605964a39e88
/left-pad.py
c4d2cdd2ce4a8434ee2d1a280ce0addfdebb9433
[]
no_license
yan-yf/lintcode
43d927738422710cfffc75cafdd5c8c432e24714
cd68bcb6665c8900a8a518c5cfa97ca6c6d25403
refs/heads/master
2021-01-12T00:23:18.583276
2017-01-16T09:50:22
2017-01-16T09:50:22
78,716,770
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# coding:utf-8 ''' @Copyright:LintCode @Author: yfyan @Problem: http://www.lintcode.com/problem/left-pad @Language: Python @Datetime: 17-01-16 09:48 ''' '''样例 leftpad("foo", 5) >> " foo" leftpad("foobar", 6) >> "foobar" leftpad("1", 2, "0") >> "01" ''' class StringUtils: # @param {string} originalStr the st...
[ "noreply@github.com" ]
yan-yf.noreply@github.com
acda0d5b9c05929afc5ffdc1de26b43418ed9450
b7bc6d01ed03a72444bb4ebe405e5401a868aed9
/hackathon104/urls.py
407632c31f03a770d06a2400be90342051bbe981
[]
no_license
ofAlpaca/104hackathon-2017
d973122832c423ce2a2b7a0df5e717206f63dded
9ab46e98457c6f2b56f77766b7dd734c8dd687c5
refs/heads/master
2021-01-19T13:37:32.347971
2017-08-20T08:36:17
2017-08-20T08:36:17
100,848,703
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
"""hackathon104 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') Cla...
[ "frank70199@gmial.com" ]
frank70199@gmial.com
290788da9c02368ec2297cca7a6283e7fc5b95a1
9f6e256b96f20fb4f9e13c42066b49d43d22f47f
/docs/extensions/details.py
231d1c55eabc4bda563a504930f732a7da5cf3f3
[ "MIT" ]
permissive
bijij/Donphan
4daa75fee451e6b911e4e24f2c14c27b56102ee3
c583332d290473c19a8cdd9f7c14cf17a7d17de1
refs/heads/master
2023-08-16T21:32:35.382536
2023-08-13T11:52:15
2023-08-13T11:52:15
188,970,855
19
3
NOASSERTION
2022-12-22T15:23:47
2019-05-28T06:49:48
Python
UTF-8
Python
false
false
1,708
py
from docutils.parsers.rst import Directive from docutils.parsers.rst import states, directives from docutils.parsers.rst.roles import set_classes from docutils import nodes class details(nodes.General, nodes.Element): pass class summary(nodes.General, nodes.Element): pass def visit_details_node(self, node...
[ "josh.ja.butt@gmail.com" ]
josh.ja.butt@gmail.com
8b560b566066acbdd819a2ef0c8b5ea135bfd711
c0457920b1202154eb056f83740d458dbdb71b1e
/simulations/ps_estimation.py
9e5074fa610afd3a6129a4bad7695c7ad615a450
[]
no_license
mikesitwell/simulations_21cm
2a5b139107e27a9efb70d6e3e2b14e6e4faf773e
616bf3e5ab52814cb9727c34790ff449d9d3ff73
refs/heads/master
2020-04-05T23:13:09.770329
2013-03-31T05:19:50
2013-03-31T05:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,335
py
import numpy as np from cosmoutils import radialprofile def make_nd_at_ind(arr, nd, ind): sl = ([np.newaxis]*ind) + [slice(None)] + ([np.newaxis]) * (nd - ind - 1) return arr[sl] def blackman_nd(shape): nd = len(shape) b = np.ones(shape) for i, l in enumerate(shape): b *= make...
[ "jrs65@cita.utoronto.ca" ]
jrs65@cita.utoronto.ca
73f72b2fbf3fe238120653ea56665dfd3c418321
ceed902770402cae3abdade9d291335dc18b5f9c
/users/migrations/0008_auto_20211006_1820.py
b300d6720df6fe1a6a28d875ad1ca8a388e15f1a
[]
no_license
HooriaHIC/sounds
cde87c6db8773370652794142bdfd98676fe681a
04d654834c80e692ce88ea839c7843ac62ae49bf
refs/heads/master
2023-08-04T20:11:56.249691
2021-10-06T13:29:54
2021-10-06T13:29:54
228,182,002
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Generated by Django 2.2.4 on 2021-10-06 13:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20211006_1800'), ] operations = [ migrations.AlterField( model_name='profile', name='image', ...
[ "hooria.hic@gmail.com" ]
hooria.hic@gmail.com
17dd1dfa08c75cbef333ad95c13333ffad288d3b
325bee18d3a8b5de183118d02c480e562f6acba8
/HongKong/HCK_l/build/lib/HCK_l/settings.py
5039699bcf1b52e9bf5fae7767ce72cd5c06eca0
[]
no_license
waynecanfly/spiderItem
fc07af6921493fcfc21437c464c6433d247abad3
1960efaad0d995e83e8cf85e58e1db029e49fa56
refs/heads/master
2022-11-14T16:35:42.855901
2019-10-25T03:43:57
2019-10-25T03:43:57
193,424,274
4
0
null
2022-11-04T19:16:15
2019-06-24T03:00:51
Python
UTF-8
Python
false
false
4,260
py
# -*- coding: utf-8 -*- # Scrapy settings for ChinaSpider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/la...
[ "1370153124@qq.com" ]
1370153124@qq.com
a3e82a1f2efc481e4336c6020234f9bf90f84a93
f11600b9a256bf6a2b584d127faddc27a0f0b474
/normal/809.py
4bae6be20deb773c0675bd27ac9141f4cb83b3b5
[]
no_license
longhao54/leetcode
9c1f0ce4ca505ec33640dd9b334bae906acd2db5
d156c6a13c89727f80ed6244cae40574395ecf34
refs/heads/master
2022-10-24T07:40:47.242861
2022-10-20T08:50:52
2022-10-20T08:50:52
196,952,603
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
class Solution(object): def expressiveWords(self, S, words): def RLE(S): return zip(*[(k, len(list(grp))) for k, grp in itertools.groupby(S)]) R, count = RLE(S) ans = 0 for word in words: R2, count2 = RLE(word) if R2 != R:...
[ "jinlha@jiedaibao.com" ]
jinlha@jiedaibao.com
566430d6408c4043b198fd0bf8b7b62bdb08e899
665add8c434df0445294931aac7098e8a0fa605b
/ver1/ch10/echoClient.py
2d9a1570d99f6a3819cc5cd98efcebde98e3e02a
[]
no_license
swkim01/RaspberryPiWithIOT
f43cef567ca48f2ce9deec0cba87fa801dcbcbe2
d4b5c9aeb09490429a551f357d3c83ab04deed82
refs/heads/master
2023-04-14T20:04:33.924243
2023-04-12T05:15:32
2023-04-12T05:15:32
48,477,439
4
14
null
null
null
null
UTF-8
Python
false
false
340
py
import socket import sys HOST, PORT = "<arduino ip>", 7 data = " ".join(sys.argv[1:]) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: sock.connect((HOST, PORT)) sock.sendall(data + '\n') received = sock.recv(1024) finally: sock.close() print "Sent: {}".format(data) print "Received: {...
[ "swkim01@gmail.com" ]
swkim01@gmail.com
6e6dc4a8e14f7924476451082d5ade680f544d88
f9ff745b7d825e685a196b1e24ccd14d9d744b6a
/tests/test_ratelimit.py
dcbcdf58b3966440416d76b18ece521b15cccde4
[]
no_license
lv10wizard/ig-highlights-bot
ce061275acaca9108bd27da3017ec492832d3934
e551d68f51f222c58428029df1eda7838825101f
refs/heads/master
2021-05-16T05:38:38.934210
2018-04-07T03:34:22
2018-04-07T03:34:22
103,170,792
3
0
null
null
null
null
UTF-8
Python
false
false
2,612
py
import ctypes import os import multiprocessing import time import pytest from src import ratelimit _EVENT_TYPE = type(multiprocessing.Event()) _FLOAT_VALUE_TYPE = type(multiprocessing.Value(ctypes.c_float)) def _set_path(tmpdir_factory): # override the reset time save location ratelimit.Flag._PATH = str(tm...
[ "lv10wizard@gmail.com" ]
lv10wizard@gmail.com
8bb4854ec24022f52a2df6207dfc24c350a06e1b
60bd19d83c96e0bcb915af89c7d058a6024bff30
/train.py
7df09d54689cc81d1f7316853099ed1f58e8c9d1
[]
no_license
Sharon-Kerubo/Adaline
66b7c1896655c430c61c58300f23176e14d25cce
f1bafc6986f85df2c981b07fbe5e2d45b9b98fe6
refs/heads/main
2023-03-23T17:54:26.059731
2021-03-10T07:01:14
2021-03-10T07:01:14
345,945,540
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
from adaline import Adaline import numpy as np from sklearn.preprocessing import StandardScaler def accuracy(y_true, y_pred): accuracy = np.sum(y_true == np.around(y_pred)) / len(y_true) return accuracy with open('pimadiabetes.data.txt') as f: data = np.array(list(list(map(lambda x: float(x), line.strip()...
[ "sharonkerubo0@gmail.com" ]
sharonkerubo0@gmail.com
12871556a0e36bbd57a48656d63a5f2ddf1e7148
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02971/s422675559.py
7dd04b9ba5d06549a8b4edc20b71a6777dca8037
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
N = int(input()) A = [] dicA = {} for i in range(N): tmp = int(input()) dicA[tmp] = dicA.get(tmp, 0) + 1 A.append(tmp) sortA = sorted(dicA.items(), key=lambda x: x[0], reverse=True) for ai in A: if ai != sortA[0][0] or sortA[0][1] != 1: print(sortA[0][0]) else: print(sortA[1][0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d4e311483171542088cdcb9281941ff5d0ced735
3b51c0a0963da1dd54793b11255d860ad4aa86df
/twitter/migrations/0006_alter_contact_email.py
fa4c60dec06ae3b72d81c74edad40e0120692769
[]
no_license
Rajeswari-0209/twitter_clone
ca91f443d0a886295957ab335ffc205f3347c874
5a2118a5125ecd4a655200c306664293b5931d64
refs/heads/main
2023-06-06T04:53:48.649938
2021-06-25T02:09:12
2021-06-25T02:09:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# Generated by Django 3.2.1 on 2021-06-13 23:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('twitter', '0005_contact'), ] operations = [ migrations.AlterField( model_name='contact', name='email', f...
[ "hrajpal@ebrevia.com" ]
hrajpal@ebrevia.com
3ee38e56dbc5fd7ee935ef1c4b6bc3eb7c3e8d41
9296896cb6cdc68a27052a36a8fbed48aaf7fac9
/aanim/state.py
e178a422403d16b8489fc71fbf9a50269a72a687
[]
no_license
francolq/algo2
28da0cdb35a8d6c32121dc6a4b9747eb4c4a7171
ea4940b7d42cf9ae29a57bcc238e475b9427621c
refs/heads/master
2022-07-14T03:55:35.473395
2020-05-13T01:02:41
2020-05-13T01:02:41
263,446,665
2
1
null
null
null
null
UTF-8
Python
false
false
1,992
py
from manimlib.imports import * from aanim.code import code_text class State(VGroup): def __init__(self, vars_values): VGroup.__init__(self) self.var_dict = var_dict = {} for i, (name, value) in enumerate(vars_values): # values to the right #var = algorithms.code(...
[ "francolq@famaf.unc.edu.ar" ]
francolq@famaf.unc.edu.ar
57f0d041bccb6ba09565693c1809036786a29bdb
6e1c73340e1e2618825fec0222b4e580365804bf
/lowestPayment.py
80b6f8b80dc773e243bc284f05fd1e57e8b4f001
[]
no_license
hiddencreative/Learning-Python
7c011b45059a7251be0fbb23c7e1d703d8a2b795
89b78c51e016a956d05b9a75f7afc499b04afec9
refs/heads/master
2021-05-30T10:32:15.618677
2016-02-12T03:22:55
2016-02-12T03:22:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
balance = 320000 annualInterestRate = 0.2 monthlyInterestRate = annualInterestRate/12 low = balance/12.0 high = (balance*((1+monthlyInterestRate)**12))/12.0 minimumPay = 0 newBalance = balance while balance > 0.02 or balance < -0.02: balance = newBalance minimumPay = (low + high)/2 for x in range(0,12): ...
[ "josef@josefweiss.com" ]
josef@josefweiss.com
7eaf49d148aa58027caa28f31e6e76f17a0ff2b6
9047aec2400933376e71fdc24d087d2ad35b4d45
/backspaceCompare_844.py
f6c3023e89203770ef31770cbe358b34b2512ed7
[]
no_license
sasankyadavalli/leetcode
a8c3a4b63970cfa67a8bbec5d1fb7cca818f7ea9
555931bc5a74e0031726070be90c945da9cb3251
refs/heads/master
2021-02-07T12:12:06.938562
2020-07-28T18:25:10
2020-07-28T18:25:10
244,024,453
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
class Solution: def backspaceCompare(self, S: str, T: str) -> bool: stack1 = [] stack2 = [] for ele in S: if ele is not '#': stack1.append(ele) elif ele is '#' and len(stack1) != 0: stack1.pop() for ele in T: ...
[ "yadavallisasank@gmail.com" ]
yadavallisasank@gmail.com
219d7fb05dac74e68699dd8fff506549327cd718
3771735a8fc390006f908e6df842564cc7c2cb14
/bidirection_databroker/server.py
67ae6a6a0af0579a289d2d1c4be61c1393df71a5
[]
no_license
atb033/gRPC-ws
b41f386a6276ba623fe05d7becb01306090e8e7c
844f44a37d3236162757210d3f9a6c9e7234757d
refs/heads/main
2023-04-21T22:54:27.949875
2021-05-10T09:45:04
2021-05-10T09:45:04
366,322,124
1
0
null
2021-05-11T09:11:23
2021-05-11T09:11:22
null
UTF-8
Python
false
false
1,334
py
import grpc from concurrent import futures from threading import Thread from generated import broker_pb2 as msg from generated import broker_pb2_grpc as Server port = 8061 class BrokerServiceServicer(Server.BrokerServiceServicer): def ProcessRequest(self, request_iterator): for request in request_iterato...
[ "ragesh.ramachandran.ipa.fraunhofer.de" ]
ragesh.ramachandran.ipa.fraunhofer.de
fdceddac8b2317eb441c5dca723f844cabe40fd8
d1ee1d6769eb8e675a9a8d6a59123d43ef027b20
/2020/day09/solve.py
aeefac97883dbf46099a9e134fe70391ea48a746
[ "Apache-2.0" ]
permissive
greenbender/aoc
d2a900657b380de0eb8dd52f12cadf154cb76eb6
73ab64a642372879dc764a092a7a5010b4740a18
refs/heads/master
2022-12-26T12:32:41.402117
2022-12-14T12:24:23
2022-12-14T12:24:23
160,273,566
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
import sys import itertools n = list(map(int, sys.stdin)) def part1(pl): for i in range(pl, len(n)): p, c, found = n[i-pl:i], n[i], False for a, b in itertools.combinations(p, 2): if c == a + b: found = True break if not found: prin...
[ "byron.platt@gmail.com" ]
byron.platt@gmail.com
976b6f40f74fe705396ec1586f10765ac82dc20a
ec9590c45c34d3314869cb65712143cbeb70372d
/samples/use_management_resource.py
fc631a1b88bbdf7009690ee8ee7897acf69bed66
[ "MIT" ]
permissive
areed1192/sigma-azure-management
522cee4d858ad7dfbcd8277ddfa15c89ccc0b74f
65edeac081e9e2b1ba85d2aa262e73e5f89ae5ca
refs/heads/master
2022-12-18T07:54:27.659804
2020-09-20T23:22:42
2020-09-20T23:22:42
288,521,057
3
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
from pprint import pprint from configparser import ConfigParser from azure.mgmt.resource import ResourceManagementClient from azure.common.credentials import ServicePrincipalCredentials # These are only imported for Type Hinting and Intellisense. from azure.mgmt.resource.resources.models import ResourceGroup from azu...
[ "alexreed1192@gmail.com" ]
alexreed1192@gmail.com
8b3538ad3cfd11dfb423b95da253abaf6ea09ee2
e7272e2e1e2da1e60dee1e4dad7154d339a83a9d
/migrations/versions/31888642621b_.py
e731df004f6c06b046a4ae8901b23a7f1051b43f
[]
no_license
Shumpei-Kikuta/rental_app
2cdfbb349293b798697c11b3a71b4d199272760d
e2c1cf4cfe467a8dd3b9aa692fb13ccdc15cac83
refs/heads/master
2020-03-22T22:57:11.677838
2018-09-19T13:13:16
2018-09-19T13:13:16
140,780,864
0
0
null
2018-07-26T03:45:04
2018-07-13T01:22:07
HTML
UTF-8
Python
false
false
1,209
py
"""empty message Revision ID: 31888642621b Revises: e1adc6885ee7 Create Date: 2018-07-01 16:59:23.157768 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '31888642621b' down_revision = 'e1adc6885ee7' branch_labels = None depends_on = None def upgrade(): # ...
[ "shunpei-kikuta775@g.ecc.u-tokyo.ac.jp" ]
shunpei-kikuta775@g.ecc.u-tokyo.ac.jp
3250ab59d21e71dd2ef3507ab8740cb05530a3c9
c48b05e48fa4bc114b57033bfba378d7b23e4edb
/lib/listeners/http.py
eb43d2d2e2c4eb66f3dfcf37c5ebe99a46994ef7
[ "MIT" ]
permissive
swagkarna/invader
39f14ed42c176caaf62b7c418e091ce426d87cfb
3e4adf56e089bdd16f6950419db7a31428bce352
refs/heads/master
2020-09-25T06:24:42.066772
2019-12-04T17:41:37
2019-12-04T17:41:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
58,448
py
import logging import base64 import sys import random import os import ssl import time import copy import json import sys from pydispatch import dispatcher from flask import Flask, request, make_response, send_from_directory # Invader imports from lib.common import helpers from lib.common import agents from lib.common ...
[ "noreply@github.com" ]
swagkarna.noreply@github.com
b5f782d0e836f8b937f8807e14096b0de58bfc9d
625f2f86f2b2e07cb35204d9b3232427bf462a09
/data/HIRun2017XeXe/HIMinimumBias8_XeXeRun2017_13Dec2017_v1/crabConfig.py
a76697fdc398c13f30d11cc6b40845df50ba5548
[]
no_license
ttrk/production
abb84c423a076fd9966276b7ed4350936c755e0b
f8a64c9c38de215802799365f0f7a99e1ee78276
refs/heads/master
2023-02-08T23:48:56.355141
2023-01-26T08:46:22
2023-01-26T08:46:22
52,877,406
0
2
null
null
null
null
UTF-8
Python
false
false
1,798
py
from WMCore.Configuration import Configuration config = Configuration() config.section_('General') config.General.requestName = 'HIMinimumBias8_XeXeRun2017_13Dec2017_v1' config.General.transferLogs = False config.section_('JobType') config.JobType.pluginName = 'Analysis' config.JobType.psetName = 'runForestAOD_XeXe_...
[ "tatark@mit.edu" ]
tatark@mit.edu
52dd2ff5cbfda97b6d634e773f2cb4e15d2da6d7
eaaf2def404a37cb0950b9d14f867da7f0f07562
/utils/load_util.py
b0c30c5aaa4183aef22cdc782fb0c1634b10cb50
[]
no_license
user815886724/MTRNet
e563e61c6af8c4774af9821d8909817211d3c0cf
f4841a98aa39ce872e17fc312f2184ffa73cf020
refs/heads/main
2023-08-14T07:39:33.703807
2021-10-11T03:20:12
2021-10-11T03:20:12
405,018,829
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
import os from utils.data_util import DataLoaderTrain, DataLoaderVal, DataLoaderTest def get_training_data(file_dir, img_option, input_dir='input', gt_dir='groundtruth'): assert os.path.exists(file_dir) return DataLoaderTrain(file_dir, input_dir=input_dir, gt_dir=gt_dir, img_options=img_option) def get_valida...
[ "815886724@qq.com" ]
815886724@qq.com
dad411bffc16500070001c574f41de71acd9b11e
52243c4a05a296e7c042663b5942faa47eb66aee
/server_cherrypy/api_active_learning.py
97ca910b59a5b7f5e5c030ac4f496a49c7460aa1
[ "MIT" ]
permissive
joaoppadua/Pesquisas
fbe0311b59340c041732d6d1f7f4862fa6c53198
808d8b0ef9e432e05a4f284ce18778ed8b3acd96
refs/heads/master
2023-07-16T02:50:30.846205
2021-09-03T13:34:54
2021-09-03T13:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
import cherrypy, json, pymongo, sys, os from os.path import abspath from jinja2 import Environment, FileSystemLoader from mongoURI import mongoURI sys.path.append(os.path.dirname(os.path.dirname(os.getcwd()))) from pesquisas.common.active_learning_logreg import active_learning_logreg env = Environment(loader=FileSyst...
[ "danilopcarlotti@gmail.com" ]
danilopcarlotti@gmail.com
ce5f4c08a0a3cfa3e137f1438e367247a5c55207
d8bdbf4ac9433184c4b7e66ab2106358546b2c5e
/21_extract_full_name.py
f9b9ea8505ffba12c01d59c0729a45f2385a7b9a
[]
no_license
eckesm/18_python_ds_practice
b89f7596d31ed4b3ef5c4c507144ee9c667e1f1b
6812042f769f944324b291837e16c3060a6a20d6
refs/heads/master
2023-03-01T08:30:30.937359
2021-02-09T18:18:50
2021-02-09T18:18:50
337,466,860
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
def extract_full_names(people): """Return list of names, extracting from first+last keys in people dicts. - people: list of dictionaries, each with 'first' and 'last' keys for first and last names Returns list of space-separated first and last names. >>> names = [ ... {'...
[ "eckesm@gmail.com" ]
eckesm@gmail.com
eb7f3732d68d0ba91bf0f2b4ee78b03243864baf
932396a30c5a0739b7df9b1ea9266ce62c6dd332
/system/systeminfo.py
b5749bc89d4346535c3bf0318897c264a80e6e67
[]
no_license
olegantonyan/rmpd_client
8fa2cf3bd88454c0ef493bc65c970e2dcea341ac
9664050746f31ebf5d7ea4f34708b89e06678116
refs/heads/master
2020-07-08T16:38:59.986888
2018-09-01T06:46:26
2018-09-01T06:46:26
203,725,080
0
1
null
2019-11-02T21:09:21
2019-08-22T06:03:59
CSS
UTF-8
Python
false
false
1,146
py
# -*- coding: utf-8 -*- import platform import os import version def linux_disto(): return platform.linux_distribution() def user_agent(): return "rmpd {v} ({s}, {m}, {p}, {cpu}, python {py}, {di} {div})".format(v=version.VERSION, ...
[ "oleg.b.antonyan@gmail.com" ]
oleg.b.antonyan@gmail.com
8eb4ac57dcdfbf68a129e8122cdcdd5ffca2da9e
2b2ff5abcf9788a7065dad8f55ed43c7652df759
/OurData/tools/create_video_image_list.py
5fac4de691415bb625ea5cc35825f51e23caec30
[ "MIT" ]
permissive
wuyuMk7/GazeFollowing
0beea4eddfac86c32d14df3dfe1a176030f697fb
3d3b568273282c5d7fb1e9bd4964e1c25ed64bac
refs/heads/master
2022-06-28T20:11:26.156008
2020-05-05T19:17:59
2020-05-05T19:17:59
260,306,890
0
0
MIT
2020-04-30T20:02:51
2020-04-30T20:02:50
null
UTF-8
Python
false
false
2,846
py
import os import json import cv2 import argparse parser = argparse.ArgumentParser() parser.add_argument('--Images_dir', type=str, help='path of extracted video frames', required=True) parser.add_argument('--Video_annotation_dir', type=str, help='path of gaze...
[ "yuzh@shanghaitech.edu.cn" ]
yuzh@shanghaitech.edu.cn
a00a336b458cdfe951a1052848a4ff5dfd0f3950
f379ca439b288988795eecc12cb5d2cbe111e932
/rare_items/urls.py
16a4d535ef1728bb76b8b62b60bcd93b50a85ad1
[]
no_license
Code-Institute-Submissions/store
1e1c597596aaeab43335a4d931b5961315ed1f90
8c8c3fa93831b3341122c45bdd92f9222229de08
refs/heads/master
2022-04-23T13:10:25.674773
2020-04-12T14:23:41
2020-04-12T14:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# import our base url pattern from django.conf.urls import url # import all_machinery function to be used in our url pattern from .views import rare_items urlpatterns = [ url(r'^$', rare_items, name='rare'), ]
[ "jjdug@hotmail.com" ]
jjdug@hotmail.com
7f5501ebf6a86c2f8667fcacc94dbacad75faf67
f890f59a084a1c2784d07307d4dce5641378443b
/Ex1/solutions.py
e3a3ea1816079ba716a497ecedb630f6c2dd7e8a
[]
no_license
Pahan-Madusha/MLExercises
6b298bae586033f25c5fff68a80e2e504bd305d0
38c8776df191077b95931abb6310f0e60d69220d
refs/heads/master
2021-01-16T19:59:51.939085
2017-09-27T15:07:43
2017-09-27T15:07:43
100,193,019
0
0
null
null
null
null
UTF-8
Python
false
false
4,427
py
import numpy as np import matplotlib.pyplot as plt import unittest #################### # Polynomial class # #################### class Polynomial(): def __init__(self, coefficients): self.coefficients = coefficients def calculateVal(self, x_value): value = 0 for i in range(0, len(self...
[ "pahan.224@gmail.com" ]
pahan.224@gmail.com
dbe0f3a250a616f28e26acaaec935ce83ac6e110
35958e3f69b7854960385cd83914ab9013829027
/typedemo/blog/models.py
2bc23727a111636963cdae31b03e8474445a5a53
[]
no_license
qwebeijing147/typeDemo
9e78edc611afb196a6370aa684d4155c62239329
e02a34d590d90547ac05b1f131197f663fe52dd3
refs/heads/master
2020-07-28T20:08:54.525295
2019-09-19T13:25:00
2019-09-19T13:25:00
209,522,178
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
from django.contrib.auth.models import User from django.db import models class Category(models.Model): STATUS_NORMAL = 1 STATUS_DELETE = 0 STATUS_ITEMS = ( (STATUS_NORMAL, '正常'), (STATUS_DELETE, '删除'), ) name = models.CharField(max_length=50, verbose_name="名称") status = models.PositiveIntegerField(default=...
[ "qwebeijing147@163.com" ]
qwebeijing147@163.com
963e8e5907d09eebfaf7037246d1159961f065d5
4fd9fee808cd29fab5f495b41c7713840139ba90
/preparar_data.py
1c7b2298ba96fe3811a28c180d64355033fe2116
[]
no_license
0xNymerio/detect_botnet_traffic
8df92091f782ce96063023d3e9eb1c34427035e2
2e4506577631f5457d54c6ca2d49aa02f4a97d70
refs/heads/main
2023-02-03T04:13:27.069343
2020-12-23T18:44:21
2020-12-23T18:44:21
323,816,757
0
0
null
null
null
null
UTF-8
Python
false
false
11,799
py
import pandas as pd import numpy as np # Dataset - https://www.stratosphereips.org/datasets-ctu13 #Carregando os datasets --- usar o delim_whitespace=True para os pcaps convertidos df_s6 = pd.read_csv("./data/pcaps_ataque/nmap_sV.flow",delim_whitespace=True,low_memory=False) df_s6 = df_s6.fillna(0) #df_s6 = pd.read_...
[ "tulio.gomes01@fatec.sp.gov.br" ]
tulio.gomes01@fatec.sp.gov.br
bfaafbda37bde40a3a6997e9321c3c6840d6a8c7
0a04ba4ad4d40fc9d61dc9fffb164f21a4a3d88e
/flask_fundamentals/hello_flask1/hello.py
33c979c276464d0b353cb42cacf8b5f8ad14a8d1
[]
no_license
maxcausevic/flask
22bef058dac133c3f7eafa140ef547215fabd66d
94b4d5927898d9e19560c0073734606a60c8c622
refs/heads/main
2023-03-14T17:35:14.533236
2021-03-12T19:53:03
2021-03-12T19:53:03
346,732,420
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
from flask import Flask, render_template # Import Flask to allow us to create our app app = Flask(__name__) # Create a new instance of the Flask class called "app" @app.route('/') # The "@" decorator associates this route with the function immediately def hello_world(): print('in the hello function') ...
[ "maxine@fitmaxpersonaltraining.com" ]
maxine@fitmaxpersonaltraining.com
ad250762cd2811f50b3ebeceddf2b8d8510bad4e
970a551652a327e37705d94d81a6edf8164acb58
/contactsbin/getcontactsSparse3.py
af5e7f26f3698ebad698b44518478d83637220e6
[]
no_license
clarewest/scripts
d489d1a211f20fcf02178b97f5d7211db293697c
433e843eba65340b10613c51d7a024eb19d14f5d
refs/heads/main
2023-02-16T00:42:05.807244
2021-01-04T11:01:49
2021-01-04T11:01:49
326,651,189
0
0
null
null
null
null
UTF-8
Python
false
false
3,836
py
#!/usr/bin/env python import os import sys from sys import stdout from Bio.PDB import PDBParser, CaPPBuilder, is_aa from math import sqrt,pow # This function takes an input PDB code and returns a structure # object. def pdb_buildstructure(pdbfile): pdb_parser = PDBParser(PERMISSIVE=1) # The PERMISSIVE instruction ...
[ "clare.west@dtc.ox.ac.uk" ]
clare.west@dtc.ox.ac.uk
83c15c91e823cb01243fc1d331f0af7db291c0f8
262b91ee24fd9ff49aa0f74aa9f3867cb13b63e8
/UVA/2020-2021/Practice 3/crazedboar.py
4d902bdac4f651383058d532d9981a6d5b2d5593
[]
no_license
Senpat/Competitive-Programming
ec169b1ed9ee85186768b72479b38391df9234b3
d13731811eb310fb3d839e9a8e8200975d926321
refs/heads/master
2023-06-23T01:25:35.209727
2023-06-15T02:55:48
2023-06-15T02:55:48
146,513,522
0
0
null
null
null
null
UTF-8
Python
false
false
4,006
py
from decimal import * n_trees = int(input()) trees = [] for i in range(n_trees): trees.append([Decimal(a) for a in input().split(' ')]) boar_radius, boar_dist = [Decimal(a) for a in input().split(' ')] intervals = [] PI = math.pi # treat bull as point # add bull radius to trees def circle_intersections( c...
[ "pgz11902@gmail.com" ]
pgz11902@gmail.com
ef0987a0652ef41f63c860fbe7ac7bef0ab33aec
b0bbf3822a427627d3f2cb196d83ec8e9a4fa3af
/08/class.py
abffe5e2f02d9b2803eea41173a5234fa9dc1713
[]
no_license
wu0792/PythonIntroduction
a8c7b93ecaffc0d1a5b27995a3a3681b9d21cb5c
3fa3ce795b8f1f551aa8f3101ff959eace66e77c
refs/heads/master
2021-04-26T22:25:38.891668
2018-03-06T14:21:41
2018-03-06T14:21:41
124,089,040
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
class Person: pass class Student: def __init__(self, name): self.name = name def say_hi(self): print('hello, i\'m {0}'.format(self.name)) # p = Person() # print(Person) # print(p) stu = Student('LiLei') stu.say_hi()
[ "wu0792@163.com" ]
wu0792@163.com
3b3f737f8d1f6ef1ca1e83144646c6217512b654
b8af0f8801286f80bf4a58e915878e53dcc2e9b1
/file_uploader/core/parse.py
f3574f88dd7c6f363607381fb8e7d1542a3f5def
[]
no_license
WaleedMeselhy/simple-file-uploader-with-django
4a2fc8adc0b005ee65ccbf527ae7cda01e6251a7
7fba415bd48c157296fa61a8fe5cf1b7201a2066
refs/heads/master
2023-01-23T00:27:20.440090
2020-12-01T20:55:13
2020-12-01T20:55:13
317,614,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
import os from background_task import background from elasticsearch import Elasticsearch from core.models import File import textract import logging import logging.config es = Elasticsearch([os.environ["ELASTICSEARCH_HOST"]]) logging_config = { "version": 1, "disable_existing_loggers": False, "formatter...
[ "waleed_meselhy@eng.asu.edu.eg" ]
waleed_meselhy@eng.asu.edu.eg
b5cbeba61d11e2629bc40aa6bc681b081fd162ef
28e19a643dc5f11c2e55f4e1fa3e54dc69438538
/orders/models.py
f1513c60f8db16c933bffcc5f0fff979ed5b099d
[]
no_license
Bajju123/BajjuDevelopment
f293367d3b0277bde3994625d0f5161579b201e9
489c950c5f9f94bb22bbec9a0b28148e580c1db1
refs/heads/master
2020-08-11T00:14:48.630427
2019-10-11T13:59:06
2019-10-11T13:59:06
214,451,617
0
0
null
2019-10-11T14:08:52
2019-10-11T14:04:02
CSS
UTF-8
Python
false
false
1,438
py
from django.db import models from shop.models import Product, Profile class Order(models.Model): user_name = models.ForeignKey(Profile, on_delete=models.SET_NULL, null=True) fullname = models.CharField(max_length=50) email = models.EmailField() address = models.CharField(max_length=250) postal_cod...
[ "smithsuthar0@gmail.com" ]
smithsuthar0@gmail.com
19c9d76745524f90ca545674d5046fe7c9b745f1
c96b1e43e3e3e08af3237602fb50727245ffb48b
/eda.py
9823ec3def45612ce6cfa71b12e73f7555bfb7d9
[]
no_license
Yiqing-Tao/homemade_tools
92e9aaac7dd1b2f7f7aaf417ec2b230cf9592c1a
6fe30c0f4318a7684fc70275b313c9cfaa553f1f
refs/heads/master
2021-01-20T10:55:21.586781
2016-11-28T07:20:53
2016-11-28T07:20:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from IPython.core.pylabtools import figsize import matplotlib.pyplot as plt import pandas as pd def quick_eda(df): print df.info() numlist = [] objlist = ['ref_date','categoryid'] for c in df.columns: if c in objlist: continue if c.endswith('id') or c.endswith('date'):continue ...
[ "pengyupatrik@hotmail.com" ]
pengyupatrik@hotmail.com
c16371c485ee97f76a3c00d379dfed1bfee6c442
d01f670c77bec37ea69fcb543e9c2013db84fa6e
/test/unit/analysis/timeseries_cleaning_test.py
6895c0d38689d44eb19d302778e7ef3ffb4af815
[ "MIT", "CC-BY-4.0" ]
permissive
kevinsung/pudl
08b20d711420c9fa5a80da5ff0f0591879d37331
fe2086a12282b84523883a474bad9905a4b662e5
refs/heads/main
2023-07-12T19:23:34.216604
2021-08-16T18:56:58
2021-08-16T18:56:58
383,209,440
0
0
MIT
2021-07-05T16:56:10
2021-07-05T16:56:09
null
UTF-8
Python
false
false
3,152
py
"""Tests for timeseries anomalies detection and imputation.""" from typing import Tuple import numpy as np import pudl.analysis.timeseries_cleaning def simulate_series( n: int = 10, periods: int = 20, frequency: int = 24, amplitude_range: Tuple[float, float] = (0.0, 1.0), offset_range: Tuple[flo...
[ "ethan.welty@gmail.com" ]
ethan.welty@gmail.com
6e4fd6a7a77cc9ee2325311645dcf552746df93b
e02cda18b1a28a7660e34db660ede24443c7acf8
/connector.py
ba299e79653676c2f9c43d6b59b2f1f3401a37a0
[]
no_license
vishwashrisairam/hack404
6d10951e07e8e1cd50e0451695990e0ab2befd2f
f010de35fd5568f8e6bd77e4d7b7e17405c7b98f
refs/heads/master
2021-01-10T01:27:22.753683
2016-03-12T09:53:50
2016-03-12T09:53:50
53,203,449
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from mongoengine import connect connect("fireacc",host="mongodb://harsh:vadajasd@ds023428.mlab.com:23428/fireacc") print "successfully connected to mongo"
[ "vishwashrisairam@gmail.com" ]
vishwashrisairam@gmail.com
424a8c63f22eefb54c5221d8cfb4aa10a2feb26f
16c576ac9c029e2801ba0cb0245b8e9471bb35f9
/MoveDogFiles.py
f5c04e63bbcd1c9ab4fd7af75955a1cd982987aa
[]
no_license
yaskyj/dog-breeds
216809e106bee3f9fd8a0de4a3810cb820f24986
df9d094301c31698e2e24991f3b282f34b5fc9c4
refs/heads/master
2021-09-03T01:46:06.723331
2018-01-04T17:09:10
2018-01-04T17:09:10
116,197,941
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
import pandas as pd import os files = pd.read_csv('labels.csv') # Create folders for each breed breeds = files['breed'].sort_values().unique() for i in breeds: directory = './train/train/' + i if not os.path.exists(directory): os.makedirs(directory) for i in breeds: directory = './train/test/' + ...
[ "yaskyj@yahoo.com" ]
yaskyj@yahoo.com
7815b828fc2c5f9cbd18aafcd1bc815a372ff344
51c43c096556227c09f72c1bcdc6d40d51237301
/mysite/urls.py
64b27fefcef21c00b13cc52a73d3c022ff5c3225
[]
no_license
LukasDeco/contactmanagerlite
f1399212497b7afc770daca8e12206130946f0ac
519d4050803604099cb32aa9317bd321aa294731
refs/heads/master
2020-03-23T14:51:03.498105
2018-08-23T03:50:18
2018-08-23T03:50:18
141,703,599
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "ldeconantsesznak@gmail.com" ]
ldeconantsesznak@gmail.com
a6358975bdabc5ed0ff790b61be6ac36d483e25c
bef7ebad09c98375b206c99ee1383625d5a626f3
/naas/naas/settings.py
e025b8ef98438851adf831ce54d6c4ce78965cce
[]
no_license
Atul-Panigrahy/SELAB
017144f61321635507bb835807375ae53dd2a271
16e0018cf9f8f7f3f708b57141c23783c3e7a1dd
refs/heads/master
2022-04-04T07:40:40.830021
2020-01-14T05:20:51
2020-01-14T05:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
""" Django settings for naas project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) impor...
[ "302harsh@gmail.com" ]
302harsh@gmail.com
94e6f85feed1a46b410bebfb564b98dda778a7b7
fd03af6c60d7f08e67025968d07fddb19b090b71
/input.py
4bbf55e0080cfa442b119186accb5d6d01bc7b2a
[]
no_license
idhamfurqon/basic-python
e1708d5ef099f6c35763d19e6a5549cd126500cc
9cfdfab9cd6767868621bec72d18bdf3ebc2074e
refs/heads/main
2023-04-11T18:10:47.707772
2021-04-27T10:11:22
2021-04-27T10:11:22
359,084,053
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
name = int(input()) print("Your name is :" + name) x = 15 y = 10 print(x + y)
[ "ifurqon97@gmail.com" ]
ifurqon97@gmail.com
8e95b1b3e5cc552591714c4ce302853bf108fcf8
68b9c85d75c1750f86d4b59f0b66f352c2cc6cc6
/app/tests/assignments/test_models.py
dcd06df63bda737b74da8e202cb9344626836162
[]
no_license
vladhoi/labs-management
ca83f62e570297a3ba447c79da2d223cd27240bb
755975666cdb0de43a6198040297157c86c16137
refs/heads/main
2023-03-05T01:07:37.230764
2021-02-15T10:10:05
2021-02-15T10:10:05
301,190,579
1
0
null
2021-01-08T20:55:35
2020-10-04T17:49:20
Python
UTF-8
Python
false
false
816
py
import pytest from assignments.models import Assignment from django.db.utils import IntegrityError @pytest.mark.django_db def test_create_assignment(create_valid_user): """ Ensure we can create a new assignment. """ assignment = Assignment.objects.create( title="Test", description="Test test t...
[ "hoivladyslav@yahoo.com" ]
hoivladyslav@yahoo.com
b82d28a9bb1202704a831c4a7933897c6011faed
fb97539728891fa10c6546f2c6c1b6b9beafa62f
/worker.py
59835182ca21935e1f82a650fcd2a1870690fd1f
[ "MIT" ]
permissive
sile16/swarm
f905da838a0532202be3ee6c7dfa88ba1ecbc431
4c7f7b33b189d520ced5f25164909dff74bd8785
refs/heads/master
2016-08-09T07:14:02.304963
2016-04-07T17:04:08
2016-04-07T17:04:08
55,651,273
0
0
null
null
null
null
UTF-8
Python
false
false
5,510
py
import common import zmq import socket import argparse import json import datetime class JobWorker(): def __init__(self,args): worker_ip = common.get_client_ip(args.server) self.context = zmq.Context() #setup message queue for work messages, bind to random port to allow for multiple wor...
[ "roberm3@usxxroberm3m3.corp.emc.com" ]
roberm3@usxxroberm3m3.corp.emc.com
adbebc0e38d0e887d90116b6ce7ef045724bd137
184daa07dc0ee3fbc1b0d056494bf65a6857af99
/Day2_2.py
35bfefbb71031184fe405fb34879d94d2a6369bf
[]
no_license
tomdave01/AdventOfCode2020
27130dd1a8181f5800ec22788473cb333e6c4428
42e194db4707d5625a67accf3c413cb07d000da7
refs/heads/master
2023-01-27T19:03:25.509901
2020-12-10T22:30:57
2020-12-10T22:30:57
317,665,714
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
import re def PasswordScreener(file): second_counter = 0 with open(file, 'r') as file: for line in file: line = line.rstrip() parameters = re.compile(r'\w+') parameters = parameters.findall(line) first = int(parameters[0]) - 1 second = int(par...
[ "tomdave01@gmail.com" ]
tomdave01@gmail.com
c7b8beb1319cb4eeb50b22fa842d424c6e7d0a59
968782e1bb981848f12d52d1a388eaf94cf32ea7
/mainRunnerApplyMachineLearning.py
f41be8988b1cc0c740476666fdcc396e22732ca7
[]
no_license
mitchell-mays/ZillowItsNoHoax
5ecc4b2dbfa7a3e8e72327f8decbb16e2964b3ef
889fdbb63d0f536859068eb89cb9c6349e3841a3
refs/heads/master
2020-12-02T18:09:08.813121
2017-07-09T22:30:52
2017-07-09T22:30:52
96,483,568
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
import FeedForwardNeuralNetwork import numpy processed_data_path = "D://Documents//kaggle//Zillow//processed//data.npy" processed_class_path = "D://Documents//kaggle//Zillow//processed//class.npy" iterations = 10000 data = numpy.load(processed_data_path) labels = numpy.load(processed_class_path) folds = 10 chunk = ...
[ "mitchell-mays" ]
mitchell-mays
5cafdd728435a05556477ceef0e84f1ac035f66f
1146dd7f4d124d3ef2b272e90016ad6b84b544c1
/AIMD_SlidingWindow_StopAndWait/timeout_calculator.py
ebd1aa17793336902fb55db593c64ce202220c2e
[]
no_license
MKagesawa/Networking_Simulation
bb1dce29c230e8fbc4389e878911eb4f327594ed
56e14a51122a17b35c65ae16f18d16f06d039b26
refs/heads/master
2020-04-03T13:25:29.023726
2018-12-21T20:45:10
2018-12-21T20:45:10
155,284,294
6
0
null
null
null
null
UTF-8
Python
false
false
2,568
py
MIN_TIMEOUT = 100 # minimum possible timeout MAX_TIMEOUT = 10000 # maximum possible timeout class TimeoutCalculator: """ Timeout Calculator maintains the mean RTT and RTT variance. Data members of this class include alpha, beta and K (which have the same meaning as discussed in the lectures) """ def __in...
[ "mk5986@nyu.edu" ]
mk5986@nyu.edu
75419ffc09accdf0f019f59d0aa96a351eae269c
4e808ecca7a94a70a63c59b4c91a15cd61bada6e
/natuurpunt_imp_members/__openerp__.py
221b109ac4860426ef44dae4d8e49d5516107f55
[]
no_license
smart-solution/natuurpunt-crm
79b98cfc8c69027dc82afa3779b65616141e6779
0bd247e78c01e79ec54b90c0d0bcaca38742f04d
refs/heads/master
2021-05-22T05:43:42.913854
2020-12-02T08:06:05
2020-12-02T08:06:05
39,186,027
0
0
null
2020-12-02T08:06:06
2015-07-16T08:36:27
Python
UTF-8
Python
false
false
665
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ############################################################################## # # ############################################################################## { "name" : "natuurpunt_imp_members", "version" : "1.0", "author" : "SmartSolution", ...
[ "fabian.semal@smartsolution.be" ]
fabian.semal@smartsolution.be
62540dacf49d9e7a0fb31b7bb00b4dcf170529e0
a38180435ac5786185c0aa48891c0aed0ab9d72b
/S4/S4 Library/simulation/adaptive_clock_speed.py
482b71de05bca52f5016f06ad1ea611dacb76b72
[ "CC-BY-4.0" ]
permissive
NeonOcean/Environment
e190b6b09dd5dbecba0a38c497c01f84c6f9dc7d
ca658cf66e8fd6866c22a4a0136d415705b36d26
refs/heads/master
2022-12-03T13:17:00.100440
2021-01-09T23:26:55
2021-01-09T23:26:55
178,096,522
1
1
CC-BY-4.0
2022-11-22T20:24:59
2019-03-28T00:38:17
Python
UTF-8
Python
false
false
6,643
py
from sims4.tuning.tunable import TunableTuple, Tunable, TunableEnumEntry, OptionalTunable import clock import clock_telemetry_helper import services import sims4.log logger = sims4.log.Logger('AdaptiveClockSpeed', default_owner='trevor') with sims4.reload.protected(globals()): first_tick_above_threshold = None ...
[ "40919586+NeonOcean@users.noreply.github.com" ]
40919586+NeonOcean@users.noreply.github.com
94c943cfdb8de19f1ea1a645f66e81401d400364
6ba7cf21cca753125228209689423fb0ecf806f3
/ai/minitaur/minitaur.py
99d9f468f3ec1d53f3d24b791fe1ce55991482d1
[]
no_license
YabingHu/minitaur-simulation
b19ecb227bcaf43f5e230c6d90e11c7323baf038
34f16b1bff885e990e34019663c0a7272afdf2ec
refs/heads/master
2021-01-04T14:37:46.963775
2018-09-23T01:07:25
2018-09-23T01:07:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
import numpy as np from gym.envs.mujoco import mujoco_env from gym import utils def mass_center(model, sim): mass = np.expand_dims(model.body_mass, 1) xpos = sim.data.xipos return (np.sum(mass * xpos, 0) / np.sum(mass))[0] class MinitaurEnv(mujoco_env.MujocoEnv, utils.EzPickle): def __init__(self): ...
[ "siekmanj@oregonstate.edu" ]
siekmanj@oregonstate.edu
1e862a1482bac70c31b292f846c297325b4e6e92
fa124fdbf36327bf8e74bbc7f00ce448c1e7939a
/src/com/rwanda/mch/exception/unknown_record_error.py
4081f209728b76a9337837f854d44302c81d785f
[]
no_license
pivotaccess2007/mch
039f17cdb16b434c0a25504cc81b7db81e5da988
523d1cd706296744e17e85683b5dbedbc05dd9e6
refs/heads/master
2020-03-30T16:33:44.451275
2018-10-03T13:23:00
2018-10-03T13:23:00
151,414,990
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 ## ## ## @author UWANTWALI ZIGAMA Didier ## d.zigama@pivotaccess.com/zigdidier@gmail.com ## __author__="Zigama Didier" __date__ ="$Nov 22, 2017 1:29:30 PM$" class UnknownRecordError(Exception): def __init__(self, params): self.params = params
[ "zigdidier@gmail.com" ]
zigdidier@gmail.com
980267217fa1f364d062ee5f7667d2a196c09849
33bdefcb000eafbb0bbd40858d0521e726832051
/dinproj/restagger/models.py
c057b56ff364494421ae75b7aaa3594c784bc596
[]
no_license
bkdinoop/learnDepot
d5b37c0a914c8ca8290451f6e5659892b75c18db
5b0c2db48de74f4838f29f2f5af60cf6685bd7a4
refs/heads/master
2021-06-24T12:33:44.470044
2020-12-24T14:38:50
2020-12-24T14:38:50
8,137,247
0
0
null
2020-12-24T14:38:51
2013-02-11T11:52:56
Python
UTF-8
Python
false
false
306
py
from django.db import models # User model creation. class User(models.Model): name = models.CharField(max_length=50) company = models.CharField(max_length=50) designation = models.CharField(max_length=50) def __str__(self): return "%s, %s, %s " % (self.name, self.company, self.designation)
[ "bkdinoop@gmail.com" ]
bkdinoop@gmail.com
04f8aae44c3d7323abaffd9ce2d0d4b45fc70ea6
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqptcapacity/polusage5min.py
2e9231c5855b38f91a1336da0ef00fc2d7d19682
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
20,533
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
91fd50ac90996739cb1d8e4e7060a3a0c1b5c896
86e8dcfde36108b5be006de5ae08ece5912e085e
/network/getIP.py
c6a2fde3c5c26e26c7984500ec04841e4bc965c2
[]
no_license
chulman/python
5069ad5dc6b4d1bf41dd51a1f374decd075cd9e9
c7638fd5095de16a5cde24143d167dbead08208e
refs/heads/master
2020-04-25T16:50:08.136818
2019-03-24T06:14:50
2019-03-24T06:14:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
import socket def print_mynetwork_info(): host = socket.gethostname() ip_addr = socket.gethostbyname(host) print('HOST:' + host) print("ip Address:" + ip_addr) def print_remoteNetwork_info(): remote_host = 'www.naver.com' remote_ip = socket.gethostbyname(remote_host) try: print...
[ "chlcjfals0122@gmail.com" ]
chlcjfals0122@gmail.com
d1cb31e3e17e1f1df6732515909cc08bde3cae71
624561e652e2879f34eb82c017e9ccaaa6d05eb2
/kaggregate/decorators.py
17deff00beebaa83508adff50758509ac06dd465
[ "BSD-2-Clause" ]
permissive
kaleidos/django-kaggregate
2a4b3fc61710f91e7494a24f5e0f5df0c3816844
99483657f1e0c9753a74190d23b96518de69dda7
refs/heads/master
2021-01-01T05:49:17.085576
2012-04-15T21:02:17
2012-04-15T21:02:17
3,824,614
1
0
null
null
null
null
UTF-8
Python
false
false
413
py
# -*- coding: utf-8 -*- import functools def as_map_reduce(key): def _wrapper(method): method._kaggregator_mode = 'map-reduce' method._kaggregator_key = key return method return _wrapper def as_django_aggregator(key): def _wrapper(method): method._kaggregator_mode = 'djang...
[ "niwi@niwi.be" ]
niwi@niwi.be
0b122455553b1d5c0614d0183858f920694f6dc5
2aba62d66c2c622bdc148cef451da76cae5fd76c
/exercise/learn_python_dm2039/ch30/ch30_20.py
f11c7b32c43ba44bccbacd5ec9de108cb47809c9
[]
no_license
NTUT-109AB8011/crawler
6a76de2ab1848ebc8365e071e76c08ca7348be62
a703ec741b48d3af615a757fed7607b1f8eb66a6
refs/heads/master
2023-03-26T22:39:59.527175
2021-03-30T03:29:22
2021-03-30T03:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
# ch30_20.py import threading class MyThread(threading.Thread): # 這是threading.Thread的子類別 def __init__(self): threading.Thread.__init__(self) # 建立執行緒 def run(self): # 定義執行緒的工作 print(threading.Thread.getName(self)) print("Happy Python") ...
[ "terranandes@gmail.com" ]
terranandes@gmail.com
c0953bc8d705f98dee0f549ec128f45edebd4d06
ac23a149c7ea1563b0a2cb2c5497968969e6e67a
/examples/example.py
4cc2613998e63ad90a9e097dde664724996fb54a
[ "MIT" ]
permissive
sschrijver/cryptory
aa3872d7937bdecf00f8a9ed923b31c81c790b58
b69eb8511f4745fd35b906c860974d3d1a2a1202
refs/heads/master
2022-07-27T01:05:04.177745
2020-05-21T11:28:48
2020-05-21T11:28:48
265,830,582
0
0
MIT
2020-05-21T11:25:16
2020-05-21T11:25:15
null
UTF-8
Python
false
false
2,841
py
# load package from cryptory import Cryptory # initialise object # pull data from start of 2017 to present day my_cryptory = Cryptory(from_date = "2017-01-01") ######## Basic Usage # get historical bitcoin prices from coinmarketcap my_cryptory.extract_coinmarketcap("bitcoin") # get daily subscriber num...
[ "noreply@github.com" ]
sschrijver.noreply@github.com
bac29774ca143dd8f33456bc4189f0355a59ed8f
51c39b7d82417d668df6203d1fd976a68ec22c22
/solved/P361B.py
8fdbb4bdc7efd7b89930e34bf91e93196f3659fd
[]
no_license
adityagupta1089/Codeforces-Solutions
b6dc50346532be2cd1a3da9a8f916d0037359f21
8c5d8e15069a534478cbcc482f8926574d6974c1
refs/heads/master
2021-08-08T16:50:48.254775
2021-07-25T11:42:18
2021-07-25T11:42:18
62,494,247
4
1
null
null
null
null
UTF-8
Python
false
false
160
py
n, k = map(int, input().split()) if k == n : print(-1) else: print(' '.join(map(str, list(range(2, n - k + 1)) + [1] + list(range(n - k + 1, n + 1)))))
[ "adityagupta1089@gmail.com" ]
adityagupta1089@gmail.com
67e711882e9dbc92c4e9356ebb73b6ab3c9b152f
c915a42b2c64aed7dbb5c571d23f128cd32e65a7
/testing.py
1ba59ca223d885de32c6d734631b29eb96227938
[]
no_license
vineetred/polynomialEstimator
0c91458ee0055b6e235f7bbb4115e27184cb8944
b7c707e7bfe3c55a930e2c8d4d5de92e63c2efc6
refs/heads/master
2020-04-19T10:03:36.837727
2019-02-04T18:23:19
2019-02-04T18:23:19
168,129,026
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression from sklearn.preprocessing import PolynomialFeatures from sklearn.metrics import mean_squared_error, r2_score from sklearn.model_selection import train_test_split fileopen = open('hw1data.txt') x,y = np.loadtxt(fileo...
[ "hotshot2797@gmail.com" ]
hotshot2797@gmail.com
a49c58921b720dab2611c6e66d4b961e850d6e5e
42d2dea48cba0dc6eb9ffcc40677783f18f97c01
/main.py
42cc09bd7a59dc85c9b60845540ea37b85fcd08c
[]
no_license
BreadBomb/FameGrame
0e32f6d919873c1453dc6c2efc9d6b239f2c5c84
2115f49fe44abeed60383825b3273c00252d5be3
refs/heads/master
2022-11-18T15:09:05.809544
2020-07-17T21:03:55
2020-07-17T21:03:55
280,434,336
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from core import bootstrap_application from core import Application from programs.animations import Animations from programs.menu import Menu from utils.program_manager import ProgramManager class Main(Application): def __init__(self): super().__init__() program_manager = ProgramManager() ...
[ "jonah@wichtrup-li.de" ]
jonah@wichtrup-li.de
c3cb985f31bdc8125c74e56602410d093f515f33
8da9c672aeb0a006344a452a817163b9e46c2a1c
/code/check_order_events.py
575df372212a7e5f66c1553d172a06440926f1dd
[]
no_license
tuandnvn/ttk
2d200218645dc84df8aebb236381191da1177a8d
72b57f34f194bbb3049a6f3c879580b8a5755c7f
refs/heads/master
2021-04-07T07:25:04.780157
2018-03-15T00:39:14
2018-03-15T00:39:14
125,291,243
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
from library.relation import get_standard from library.classifier.classifier_ordering_loader import ClassifierRuleDictionary as crd from docmodel.xml_parser import Parser from docmodel.xml_parser import XmlDocElement, XmlDocument from nltk.corpus import wordnet as wn def check_event_pair_in_doc(file): xmldoc = Par...
[ "tuandn@brandeis.edu" ]
tuandn@brandeis.edu
e5a0a3019cbd9cd66a3c8b49b16bed324882de57
4d4c956f84189cfbeda2c48ecdc9465a2ea0ca8b
/jekoffice/users/migrations/0003_auto_20200429_1700.py
b066733c05578d2a81b695be9f3b724c99ab8b46
[]
no_license
fpribeiro3069/JekOffice
aae37b31914464895979fe872f8aa8db6924a21a
1473ed7bd09ad23e2fd74b7cb2feae27e4df97f5
refs/heads/master
2022-11-28T16:36:43.488543
2020-09-12T16:07:08
2020-09-12T16:07:08
253,244,161
0
0
null
2022-11-22T04:01:07
2020-04-05T13:41:49
CSS
UTF-8
Python
false
false
917
py
# Generated by Django 2.2.10 on 2020-04-29 16:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20200405_1450'), ] operations = [ migrations.AlterField( model_name='customuser', name='cargo', ...
[ "franciscoribeiro24@gmail.com" ]
franciscoribeiro24@gmail.com
a239b59d01641912fdc938fb968bf7a487b0644c
985da847a33bfb5a83940a8b410c3c1374d28ae5
/2번.py
82c8743c5254acf2b968817df0f82f17ec46773e
[]
no_license
hyeminshin99/Python-3byte
9b023325627fee716f11c3597a98abe3d09ccee8
080f9e374ae77ddf3a4461661d6e6374cf99a84f
refs/heads/master
2021-10-10T06:00:11.810067
2019-01-07T12:41:56
2019-01-07T12:41:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
a=input('정수입력: ') b=str(a[0:3])+str(a[5:9]) print (b)
[ "noreply@github.com" ]
hyeminshin99.noreply@github.com
a2fefcffdc865b501ac06d4c5071ce1f8e6da082
0a916363a895b68c5e0903872573cf062e5cdb7f
/main.py
70bdc63de0b022b2c7726ff627b873c090394dab
[]
no_license
guomingjin/face_detection_mediapipe
11ac5a079f4494fc958e8cc2594fa1adf1a59cb1
2e8f90fae5e54012ac15ef6448abd458ac1867dc
refs/heads/master
2022-12-30T23:16:56.185972
2020-10-21T15:22:39
2020-10-21T15:22:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,096
py
# Import packages import importlib import os import argparse import cv2 import numpy as np import time from threading import Thread from postprocess import _tensors_to_detections, _weighted_non_max_suppression import time pkg = importlib.util.find_spec('tflite_runtime') if pkg: from tflite_runtime.interpreter impo...
[ "ammar.nourallah.freelance@gmail.com" ]
ammar.nourallah.freelance@gmail.com
9b511b109badfe42c94de954f51dacc59cae4098
73e407516c4241ddffd568b31d16e1e66de811ee
/apps/users/migrations/0002_auto_20180130_2131.py
2ab46f7428a5a0e9584ba090e16c657746265399
[]
no_license
lannyMa/mxonline
0eed4a974bf2972c7a1ca71a90e50a6fd35f06a1
98b08fb14e51cd3b46b7139650141ee11ca65c0c
refs/heads/master
2021-05-09T08:33:22.011712
2018-02-07T13:47:16
2018-02-07T13:47:16
119,395,825
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Generated by Django 2.0 on 2018-01-30 21:31 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='emailverifyrecord', name=...
[ "iher@foxmail.com" ]
iher@foxmail.com
ce67986877888b730a1b3e206cd3232e3c1b53ce
07af810a11f6869452397b127cb726517e939dcc
/02_Arrays/08_allprimenoinarray.py
93608fb21ca6ed54660a6ce4c52b747b6ee321a8
[]
no_license
anshi595/Python_codes
6a6c375a4191383148d74c22034a298322f8333f
dc523661719cc5b388a0d01a6dce407e7fd15aed
refs/heads/master
2022-11-25T14:35:44.421486
2020-08-01T09:02:49
2020-08-01T09:02:49
269,951,964
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
def isprime(n): c=0 for i in range(2, n): if ( n % 2 == 0): c = 1 break if(n==1): print("1 is not prime") elif(c==0): return print(n, " is a prime no") else: return print(n, " is not a prime no ") arr= [] n = int(input("Enter size of...
[ "anshi595@gmail.com" ]
anshi595@gmail.com
0375e3edc709a394148e31cbbb0183a3a7dd5ba7
92496ee365db2732bee7a0e5efbb475ec7d361d2
/ConvNet.py
f410ee294c64eb52f19141c717b62f3103e973a4
[]
no_license
caffery-chen/vdsr_tf_keras
9b966877180bbcdf7af0560afcfa9863f9254fbd
d53302753d5110fcf2ca3be2284a1bd18eecc964
refs/heads/master
2020-07-02T19:36:54.797746
2019-09-29T15:44:33
2019-09-29T15:44:33
201,641,314
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
import tensorflow as tf class ConvNet: def __init__(self, d = 64, s = 32, m = 18, input_shape = None): self.d = d self.s = s self.m = m self.input_shape = input_shape self.activation = tf.nn.leaky_relu self.kernel_size = [1, 1] def build_model(self): inpu...
[ "cyk@mytum.de" ]
cyk@mytum.de
cf1c124c69840a4ee6a164559e18f85bffa0a466
3c03073d609ea59bf3086828b6f39ccea9830d43
/test/test_inline_object32.py
a78b295f07020301e21bfa705b99efbbd78ba7f5
[]
no_license
mkj28/codefresh_client
7226201ca1958b9ee880cebccef531e43880390d
bd2bfeb43fbc27ac00e98428f1a1382df08f5a95
refs/heads/master
2020-04-30T07:22:20.265388
2019-03-22T07:49:26
2019-03-22T07:49:26
176,682,127
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# coding: utf-8 """ Codefresh API Codefresh API openAPI 3.0 specification # noqa: E501 OpenAPI spec version: 0.0.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import codefresh_client from codefresh_client.models.inline_object32 import I...
[ "michal@gladly.com" ]
michal@gladly.com
674ee051f2c26412adda69172a73673ccb1c54d1
ca40f738ab37b81b094d88899b6bf7ded05720a4
/customUser/users.py
f5a43f7b4a57fe61d8f3f6e084257c0305b9734f
[]
no_license
jrod617/PhotoBlog
a53cd656ee22791493cb6e57c791270e39a6dd2b
fb4cad8ad7bab82606545d5223aa2fad52dd5f6c
refs/heads/master
2020-09-20T20:12:08.035318
2016-09-01T14:33:27
2016-09-01T14:33:27
67,138,167
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from django.conf import settings def UserModel(): try: from django.contrib.auth import get_user_model return get_user_model() except ImportError: from django.contrib.auth.models import User return User def UserModelString(): try: return settings.AUTH_U...
[ "jrod617@a2plcpnl0401.prod.iad2.secureserver.net" ]
jrod617@a2plcpnl0401.prod.iad2.secureserver.net
06aa5e423457db569be40a7e7808af588a06e85b
21a77ed3498e649ecc7446584edf46b62c361d59
/orange/models/myf_baogao.py
8f19876bc9259eb848684612e79482ce0db3252b
[]
no_license
kejukeji/heart_counsel_py
e45419d9b2baf3fe392d64c5596a45e96f96a280
3fa2dbdad43b0c12da6130d6e634e6c7003fd1f0
refs/heads/master
2021-01-13T02:11:00.869579
2013-11-28T08:08:15
2013-11-28T08:08:15
14,770,940
0
1
null
null
null
null
UTF-8
Python
false
false
512
py
# coding: utf-8 from sqlalchemy import Column, Integer, String, Boolean, DATETIME, ForeignKey, text from .database import Base myf_baogao_table = 'myf_baogao' class Myf_baogao(Base): __tablename__ = myf_baogao_table #__table_args__ = { # 'mysql_engine': 'InnoDB', # 'mysql_charset': 'utf8' ...
[ "250440083@qq.com" ]
250440083@qq.com
ad0ad89c7f0e1cc011ccaf354ce0485660ac335d
326670c01f58a7ba07b1c237335cfccaaa90c4bf
/problem_2/problema_2_a.py
d853bfac3253a1bb369125e3652a0f8fb6977b44
[]
no_license
noobcode/Soccer-Data-Analysis
fa014ce19364db8419efb5638a17842c23dc2661
0597692d306fb29cceb1e16e0a3ffb1f1a024f63
refs/heads/master
2020-03-28T18:26:57.503571
2018-09-15T18:21:57
2018-09-15T18:21:57
148,882,297
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
import json import numpy as np import csv # lista di eventi di gioco events = json.load(open('../worldCup-final.json')) players = json.load(open('../players.json')) accurateID = {'id': 1801} event_count= {} # Accuratezza media dei passaggi # Per ogni squadra, memorizza il numero di passaggi accurati e il numero to...
[ "noreply@github.com" ]
noobcode.noreply@github.com
fdd84a307f4c9c33968065e4f6dc85b44b78a86c
43f01f6538335e335177de2267c888906a7dbf1c
/shop/migrations/0001_initial.py
307ac1bb8944508e2a7fe7a223c769aad13e661d
[]
no_license
Chiefautoparts/equipmentRental
bb5f2b0db1588a9372e96cc20b7e8bcfd8fb73c9
bba249af27bbbc67e8e5d50c7169dcb801a4b314
refs/heads/master
2020-02-20T06:57:57.201816
2018-03-23T03:08:11
2018-03-23T03:08:11
126,425,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,893
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(aut...
[ "chiefautoparts@outlook.com" ]
chiefautoparts@outlook.com
fcbe9458aba7245a68a3e3c83218816a985a0ac1
b4dcdf6a38747f06f381a23941b49db8793b43f0
/python/ex15.py
bfa4d527ef8ae3bebbdd79a65aec867a9db48179
[]
no_license
marcinsieciechowicz/PycharmProjects
83a45b85b3899e636bca4d1b717eed76159bd9a3
4d8022736a20e1d2ad94e36eaf27dcd6a6bf3736
refs/heads/master
2020-06-28T11:15:59.518767
2019-08-02T10:43:52
2019-08-02T10:43:52
200,218,212
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# pobierz od uzytkownika ile ma pieniedzy w skarbonce # pobierz informacje ile doklada do skarbonki co miesiac # pobierz cene wakacji # stworz zmienna do przechowywania ilosci miesiecy # uzywajac petli while sprawdz po ilu miesiacach stac go bedize na wakacje current_money = int(input("Ile masz teraz pieniedzy? ")) mo...
[ "sieciechowiczmarcin@wp.pl" ]
sieciechowiczmarcin@wp.pl
6a3352ef4958a93ca9234ba063736d84bb2351f4
b320a76f07cdef8f063234f918b3c2621c4c1b26
/treeoflife/test/util.py
0e8331c662b12f322ebe1fce0cc06572bd2bced4
[ "MIT" ]
permissive
lahwran/tree-of-life
64edaf4890ced7776a8d766d185d421444d7888e
a617e7dc299420439d743a2c5408e34db041f35c
refs/heads/master
2016-09-05T17:01:08.165680
2015-06-21T19:31:11
2015-06-21T19:31:11
11,141,247
5
1
null
2015-06-21T19:31:11
2013-07-03T03:39:35
Python
UTF-8
Python
false
false
939
py
from __future__ import unicode_literals, print_function from treeoflife.nodes.node import _NodeCreatorTracker from collections import defaultdict from fnmatch import fnmatchcase from difflib import ndiff def match(string, pattern): matches = fnmatchcase(string, pattern) if not matches: diff = ndiff(s...
[ "lahwran@lahwran.net" ]
lahwran@lahwran.net
dad7e7a5844e0574680a439929b81681ef9279cb
cd7d53669289d8ac20888b49de3b863adfa467fe
/09_artificial_neural_networks/04_CNN_Keras_Tuner_MNIST.py
564472830ab627d4bd6f02a6061c7cfac086367a
[]
no_license
bakstansky/bootcamp
6c9e743816c5ad63e30a7f6000d0c0d8e28e32d4
f5a2841c3cc9efb7dcca0b5dcc18ef2e349b7966
refs/heads/master
2023-05-31T20:00:39.292425
2020-09-12T08:36:53
2020-09-12T08:36:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,040
py
from kerastuner import HyperModel from kerastuner.tuners import Hyperband from tensorflow.keras.datasets import mnist from tensorflow.keras.models import Sequential from tensorflow.keras.layers import (Dense, Flatten, Conv2D, ...
[ "feligges@gmx.de" ]
feligges@gmx.de
3b13a955c57fc17fbf3a81275dbfa0810d9478f9
00c2e5f24df4d96261f2245b6fa96dfe307a7b9f
/Python/shuffle.py
ae162f1528cd5ec390092611d0628ac06b620639
[ "MIT" ]
permissive
Barmp/BarmpScripts
e5e636e831f4f498560f4e4bfb98ccadd58050f5
f3492b64285b7f88261a9ac8486a4b450c8d0215
refs/heads/main
2023-02-06T17:05:28.851294
2020-12-20T04:27:59
2020-12-20T04:27:59
318,947,703
0
0
null
null
null
null
UTF-8
Python
false
false
943
py
############################################################### # # Function to shuffle two lists together, emulating a riffle # shuffle like a deck of cards that does not perfectly # interlace the list. # # Written by Greg Malone - August 2013 # ############################################################### fr...
[ "Barmp@users.noreply.github.com" ]
Barmp@users.noreply.github.com
2e6a4295cb536526c49bdfa7f37aa6c5d929331e
f0e40f956405d4f5535ec14202580b4b6a192d35
/i3/py3status/wifi.py
525c7589403d3e53dcb2401958ea71a2f02827cf
[]
no_license
devmarcstorm/dotfiles
aa63ac7b41fb4be3d5be61cf988a59e99fe8649d
74fbecf6c6c11ee31e5145ddf9c2f1d8ab77b156
refs/heads/master
2020-09-13T08:43:30.540463
2019-10-02T18:11:08
2019-10-02T18:11:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
# -*- coding: utf-8 -*- """ Display wifi information and onclick notifications with more info @author rixx """ import fcntl import socket import struct import subprocess from time import time class Py3status: # available configuration parameters cache_timeout = 60 ssid_cmd = 'netctl-auto current' h...
[ "r@rixx.de" ]
r@rixx.de
b30ad4aa90f64bd05b22729b5827927286559f7d
7074fb85f72dfbb738ee02e71f5fdead9b9332b9
/migrations/versions/2490594fc279_.py
dcd050603d6510e8e91092bd912e3670cf37d831
[ "MIT" ]
permissive
divident/pitkalkulator
6502910e59a58f8143ae44b0f50550fa99fdf23e
82f36ebadd8d0c4a0e394c0fd2a25ee520ee91c5
refs/heads/main
2023-05-12T12:02:04.314985
2023-05-04T19:29:13
2023-05-04T19:29:13
338,898,626
8
2
null
null
null
null
UTF-8
Python
false
false
1,109
py
"""empty message Revision ID: 2490594fc279 Revises: 5bf04708c9f5 Create Date: 2020-11-21 20:35:53.300357 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2490594fc279' down_revision = '5bf04708c9f5' branch_labels = None depends_on = None def upgrade(): # ...
[ "pchmielewski6@gamil.com" ]
pchmielewski6@gamil.com
d2c148ca3f684d6fdf31f65d0e7fe95757d2fda7
18b5f6cc1bbd7ff724980165cb5a36d6848541b9
/End2End/load_data.py
48ac1c3c4429e662439968802a786c9a2a2d1481
[]
no_license
charusharma1991/LinkPred
d2292fa7fd48359971321f425854ec071e514f74
e7a1fe7334001635b334c4d0b167f13a344f5fcf
refs/heads/master
2022-11-11T17:59:33.999142
2020-07-11T20:59:12
2020-07-11T20:59:12
265,319,479
2
1
null
null
null
null
UTF-8
Python
false
false
3,119
py
import torch import os from gensim.models import FastText, Word2Vec, Doc2Vec import numpy as np from scipy.io import loadmat import networkx as nx from networkx import laplacian_matrix, normalized_laplacian_matrix from get_neighbors import load_neighbors NODES = set() DEGREE = {} def load_embeddings(filename, split, ...
[ "charusharma1991@gmail.com" ]
charusharma1991@gmail.com
db8b7e00e42e8ea30890926167172ddfe2f304dd
877e5d244956fb33c614096cb284590d350d11df
/17.py
928c9784b67acf133675985576bd5875bcdc8a91
[]
no_license
szymek156/project_euler
5390348e866f114f21ce29c62c821c584589165f
4f308d0342bbfbbe6b9c25666a374b0567cb081e
refs/heads/master
2023-03-23T17:14:10.111856
2021-03-19T18:00:57
2021-03-19T18:00:57
167,685,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
numbers = { 1 : "one", 2 : "two", 3 : "three", 4 : "four", 5 : "five", 6 : "six", 7 : "seven", 8 : "eight", 9 : "nine", 10 : "ten", 11 : "eleven", 12 : "twelve", 13 : "thirteen", 14 : "fourteen", 15 : "fifteen", 16 : "sixteen", 17 : ...
[ "szymon.zimnowoda@gmail.com" ]
szymon.zimnowoda@gmail.com
d03422b7d92716ff0306c439bdb206c762480b5a
036a41c913b3a4e7ae265e22a672dd89302d3200
/1201-1300/1299/1299_Python_1.py
1eb51ea5b0a0337c27da4b1396473de3c50fbd56
[]
no_license
ChangxingJiang/LeetCode
e76f96ebda68d7ade53575354479cfc33ad4f627
a2209206cdd7229dd33e416f611e71a984a8dd9e
refs/heads/master
2023-04-13T15:23:35.174390
2021-04-24T05:54:14
2021-04-24T05:54:14
272,088,506
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
from typing import List class Solution: def replaceElements(self, arr: List[int]) -> List[int]: now = -1 for i in range(len(arr) - 1, -1, -1): arr[i], now = now, max(now, arr[i]) return arr if __name__ == "__main__": print(Solution().replaceElements([17, 18, 5, 4, 6, 1]))...
[ "1278729001@qq.com" ]
1278729001@qq.com
c4525512f529cd7c447e0ef3b92e8347f00d33c9
2ed82968a60f7b2ef7ca70ff000e2098a853de75
/recipe budget mybank billing/Mybank/bank/models.py
304661edc24824287e3573b8a08d67f2f98460a1
[]
no_license
mariachacko93/DjangoProjectsFull
9d4fd79b51166fe10d322757dbba96feb68fdde1
5c4dbd142a553b761e660e237a40572d610b97cc
refs/heads/master
2023-02-28T01:57:25.578004
2021-02-04T10:05:34
2021-02-04T10:05:34
335,884,831
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
from django.db import models # Create your models here. class createAccount(models.Model): personname=models.CharField(max_length=120) accno=models.IntegerField() acctype=models.CharField(max_length=120) balance=models.IntegerField(default=3000) mpin=models.IntegerField() def __str__(self): ...
[ "mariachacko93@gmail.com" ]
mariachacko93@gmail.com
79980da45e833043fba859050842b0c1717da683
abf6a5270d4eb7edc6e61d44c33603accd632f81
/myenv/Scripts/django-admin.py
0da2f47544257ae3437f1df26240fd6b579c82b3
[]
no_license
alvaroguarda/my-first-blog
a21e9f38dab445f9e5fe4ad4ae6f300e0ec94ec9
33748e21cfbc30ba117daa772f59d4d833b137e5
refs/heads/master
2020-03-18T15:27:52.421195
2018-05-27T18:12:09
2018-05-27T18:12:09
134,909,794
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
#!c:\users\alvar\djangogirls\myenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "alvaroguarda@gmail.com" ]
alvaroguarda@gmail.com
e4f24df03b5d5fa748b26f3ab1243563f738fa05
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/prope.py
fbadb92cdd06669ddf67db4b61b7be9f9c72bc7d
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
161
py
ii = [('BentJDO2.py', 1), ('LeakWTI2.py', 2), ('LeakWTI3.py', 2), ('GellWPT.py', 1), ('SoutRD2.py', 1), ('FitzRNS.py', 1), ('RoscTTI.py', 1), ('SadlMLP2.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
c16da0f0a455bc621e9082e85bfce4869dd47261
90ce093726ebaedc227f70472a1bb11a683415f9
/mysite2/blog/migrations/0223_auto_20200330_1443.py
886d85f4c5d0bc74eca4b6f707f575f89a0767de
[]
no_license
gogutier/Proto2
5e5158e0a53c8804738444ea7d45d4ddd1915d52
fe653f9795f94de8621d7c2a56d89f801c7ece7b
refs/heads/master
2022-04-17T03:07:04.052499
2020-04-16T18:49:33
2020-04-16T18:49:33
161,278,844
0
0
null
null
null
null
UTF-8
Python
false
false
9,591
py
# Generated by Django 2.0.13 on 2020-03-30 17:43 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0222_auto_20200328_2217'), ] operations = [ migrations.CreateModel( na...
[ "g.gutierrez.gagliardi@gmail.com" ]
g.gutierrez.gagliardi@gmail.com
834bf43617c4670f1c534f430f9945cfbefff3a9
47722a7d90ba237bb7eb87bd0066ac5701c6cdf4
/src/pymon.py
cc005866e0dd050182b44ed3b3318897c47872d7
[]
no_license
didw/openapi_w
3b28cb2ac6bae5ea79d6eb5111871010ebf3a636
21ed07800ff0dcb1f53d1415f252842f734abcae
refs/heads/master
2021-09-04T13:23:01.071611
2018-01-19T05:19:34
2018-01-19T05:19:34
112,623,369
1
0
null
null
null
null
UTF-8
Python
false
false
5,060
py
import sys from PyQt5.QtCore import Qt, QTimer, QTime from PyQt5 import uic from PyQt5.QtWidgets import * import test_kiwoom import pandas as pd import time import datetime import webreader MARKET_KOSPI = 0 MARKET_KOSDAK = 10 class PyMon: def __init__(self): self.kiwoom = test_kiwoom.Kiwoom() s...
[ "yangjy0113@gmail.com" ]
yangjy0113@gmail.com
bb866122021c5b6969bef8a11505fa2c51db36c7
cf87d20c407a69c1b4cb8dc970666170cbcf5455
/Raspberry Pi Part/main.py
8d298d41ff215c902bf97b31aa3a485cb9a2621c
[]
no_license
yahbouss/S3G1
187549844fc6b92b8a29802f78e112385604e934
97b3d7fbe9797ea8dd280ea5596f88cea8418fa2
refs/heads/main
2023-03-04T19:43:31.371871
2021-02-07T09:28:47
2021-02-07T09:28:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
import psycopg2 DATABASE_URL = "postgres://ddrwyxdrclgapj:2d618ce3846acfe8048a05384a5242e377ee04d576efde709256c18f3291a323@ec2-34-248-148-63.eu-west-1.compute.amazonaws.com:5432/d83pdd4puormrb" DB = psycopg2.connect(DATABASE_URL, sslmode='require').cursor() def collectFromDB(entredPin): DB.execute("SELECT * FROM ...
[ "yahbouss@hotmail.fr" ]
yahbouss@hotmail.fr
98a3ece2d4512ba5ff70cd36a4a3bb55045c7236
f66208594ddab6672d0feeb64227c812f3297274
/test/model_test.py
a902bb9364b0584ff58f8ad7fc2675de0edb2f94
[ "MIT" ]
permissive
fmcooper/matchingproblems
409b1e13576df06d92acc40fd008fbd4a47d40eb
0d99e442c581427a7f09dce9f64d487f276e906c
refs/heads/master
2022-12-27T01:33:21.456272
2020-10-04T10:05:58
2020-10-04T10:05:58
300,849,559
1
0
null
null
null
null
UTF-8
Python
false
false
5,035
py
import matchingproblems from matchingproblems.solver import model import unittest """Testing class for the model class.""" class TestModel(unittest.TestCase): def create_example_model(self): m = model.Model() m.num_students = 2 m.num_projects = 2 m.num_lecturers = 2 m.proj...
[ "f.cooper.1@research.gla.ac.uk" ]
f.cooper.1@research.gla.ac.uk
ae23442f004fb33ad4c2e966166e53c39ebf7cfe
d47b9cf613fa78abdf40fa1ecb5d243c8864c104
/eventsfinder/ajax.py
df97adbbebdf8784019f6ee5576d46164d46f2e1
[ "BSD-2-Clause" ]
permissive
nikolas-k/eventsfinder
6e5c4149aca14e85497eb1747abbe38157d1c5f2
c2e4b46609ff8456062a4dd140d230f8c92144c1
refs/heads/master
2021-01-12T21:05:26.685780
2014-01-04T17:04:16
2014-01-04T17:04:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,345
py
from django.views.decorators.http import require_POST from django.http import HttpResponse from django.contrib.auth.decorators import login_required import json from eventsfinder.models import Event, Attendee, Staff from django.contrib.auth.models import User @login_required @require_POST def attend_event(request): ...
[ "axsauze@gmail.com" ]
axsauze@gmail.com
07a9b09c4093747a3ae8f82d07f1277cb8497a7a
83eb4cbd6cf5d612e50d83a294e1c28e4b2ffd11
/src/settings.py
7e95d78b952b8d115b38e688c4e5f1cbc6329a50
[ "MIT" ]
permissive
Darkwing42/app_scaffold
105a57fa6439800b977fc75c0ea5a4f3c401d9ca
61356d96f5c44c426e11706ac8b185d5cfb3439a
refs/heads/master
2020-04-04T11:17:39.463580
2018-11-14T09:50:04
2018-11-14T09:50:04
155,885,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
import os class Config(object): DEBUG = False CSRF_ENABLED = True POSTGRES_USER = os.getenv('POSTGRES_USER') POSTGRES_PW = os.getenv('POSTGRES_PASSWORD') POSTGRES_URL = "database:5432" POSTGRES_DB = os.getenv('POSTGRES_DB') SECRET_KEY = os.getenv('SECRET_KEY') JWT_SECRET_KEY = os.getenv('JWT_SECRET_KEY') JWT_...
[ "noreply@github.com" ]
Darkwing42.noreply@github.com
92972b0266dc282ec7dff9f3c1d7d1b032670df5
8dac94d2bfd5a328e81c96635fd40e19c0d5296b
/py/aci-get-global-endpoints.py
fd6e74ca805f079be13a19bb38745c2cd952c64c
[ "Beerware", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
kantkrish/aci-python
944504233bd0dbc2173a229817ff3694c9e9b9fe
a508789bfe5f99edc734aa4f2b1b361336f4e96a
refs/heads/master
2020-06-16T12:05:28.152921
2019-06-12T19:45:45
2019-06-12T19:45:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,634
py
#!/usr/bin/env python # # Unofficial ACI Guide # ## Python 3 Get Global Endpoints Example # This is a simple Python example demonstrating how to obtain Global Endpoints list. # In the GUI, this is done through Fabric -> Inventory -> Topology -> Global End-Points. # This is boilerplate code. Feel free to use in your ...
[ "andrew@andrewboring.com" ]
andrew@andrewboring.com