blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
de2842493d93698702a7a39dfd9f732b96f0356d
41566721eba27cc128846306e5bbf8ed0fd1ec45
/NNoptimizeTest.py
0c21f14982c6d59a60cf1428eea45586bcf7e8e5
[]
no_license
tbrownex/Fraud-Detection
385e345b0c2bf0364c122182c0f06ea35a94c803
41d034686693592f92bf37d30b4865941bcc0d20
refs/heads/master
2021-06-16T13:41:53.993993
2021-04-07T00:07:34
2021-04-07T00:07:34
191,569,409
0
0
null
null
null
null
UTF-8
Python
false
false
3,734
py
import pandas as pd import numpy as np import time import tensorflow as tf from getConfig import getConfig from getArgs import getArgs from setLogging import setLogging from getData import getData from preProcess import preProcess from createDataset import createDataset from getModelParms import getParms from NN...
[ "tbrownex@gmail.com" ]
tbrownex@gmail.com
366cc839edcb25dc29627421e164b16ce338ed74
49aa27e9f1bf3efa1f6fdd54556124647fac972c
/src/main/python/geeksforgeeks/dp/path-in-matrix.py
524fe5a79ddce3a86dac6cbf6344e919d9633248
[ "Apache-2.0" ]
permissive
sonymoon/algorithm
2cd699a61223740200d507edac8bff05b7ab7eb8
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
refs/heads/master
2020-06-11T07:06:32.161489
2019-03-25T03:58:22
2019-03-25T03:58:22
75,738,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
def pathInMatrix(result, matrix, i, j, m, n): if i >= 0 and j >= 0: result.append(matrix[i][j]) if 0 <= i - 1 < m and 0 <= j < n and matrix[i - 1][j] - matrix[i][j] == 1: pathInMatrix(result, matrix, i - 1, j, m, n) if 0 <= i < m and 0 <= j + 1 < n and matrix[i][j + 1] - matrix[i][j] == 1: ...
[ "bailei02@meituan.com" ]
bailei02@meituan.com
03c7167733f235f4307297442c65882718598a6e
7b97d6fef74b35d2f26a9fed79b5b15782f8f9a5
/examples/basic_example.py
6ea409ffd7dddf1566fbada82d53d23511f7979b
[ "MIT" ]
permissive
Edinburgh-Genome-Foundry/tatapov
22ac8e1fc506267a5d85f6063596485e9fdba9e4
06c2aa13e49affc7419e16e853d31c835813fe04
refs/heads/master
2023-09-03T22:28:55.443170
2022-05-06T13:41:32
2022-05-06T13:41:32
150,324,605
12
2
NOASSERTION
2020-09-08T23:31:43
2018-09-25T20:22:46
Python
UTF-8
Python
false
false
242
py
import tatapov data = tatapov.annealing_data["25C"]["01h"] subset = tatapov.data_subset(data, ["ACGA", "AAAT", "AGAG"], add_reverse=True) ax, _ = tatapov.plot_data(subset, figwidth=5) ax.figure.tight_layout() ax.figure.savefig("example.png")
[ "valentin.zulkower@gmail.com" ]
valentin.zulkower@gmail.com
b96a7143fbc39db7c6994da5da404829e8ed32a4
683249b0cf7d49aa936007ffe5efd78a56193e5f
/mysite/blog/models.py
eecbb4f9f0b59da0e17bc6a32dffc51434be91f8
[]
no_license
aneeshvermalearning/django-learning
8aacb1203bd1aabf3f2b8a6b66f9f0b28112b040
8c0547a9f45d659682d53fa8e4960896d261987c
refs/heads/master
2021-09-12T16:32:05.186802
2018-04-18T17:44:45
2018-04-18T17:44:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from django.db import models # this is a table that inherits from models.Model class Post(models.Model): # these are columns... own data types title = models.CharField(max_length=140) body = models.TextField() date = models.DateTimeField() def __str__(self): return self.title
[ "aneesh.verma09@gmail.com" ]
aneesh.verma09@gmail.com
4532065d8480f285b272c6786f055f16ace6dbe3
8c0e94f22b68959e06ca02c167c8109f5144a0c9
/ExamSim/wsgi.py
2757302d0fbaecf1dbadeac9fa92c753cc7d872c
[]
no_license
jithindk/ExamSim
820e504ffac9ca9a02d5173d91bedb25d46cb694
f808cb7ddddf6e09a83682aa53aafb8e1d83c60a
refs/heads/master
2023-02-15T15:39:11.720028
2021-01-14T04:22:32
2021-01-14T04:22:32
327,716,672
0
1
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for ExamSim 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
[ "jithinloyolite@gmail.com" ]
jithinloyolite@gmail.com
0eed8c89461eb6c3b8d3047d689917d934f242ea
edf125be37a40caeb14c7fe32bd9f7511cf0ce9b
/07-cleaning-data-in-python/5-case-study/checking_data_types.py
dbf0982d7a52005d2ab359bdf31bf73197f34252
[]
no_license
vedpbharti/Datacamp
1d3d2ca0722a3a19733e91fa054f64e0c3b7114a
b6d019efebe1b46765f19212ba2d8ebb9d90de57
refs/heads/master
2020-04-05T05:47:28.528088
2019-02-10T22:34:00
2019-02-10T22:34:00
156,610,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
'''Checking the data types Now that your data is in the proper shape, you need to ensure that the columns are of the proper data type. That is, you need to ensure that country is of type object, year is of type int64, and life_expectancy is of type float64. The tidy DataFrame has been pre-loaded as gapminder. Explore...
[ "ved.bhartig@gmail.com" ]
ved.bhartig@gmail.com
868a24164d83973e964adf0c20daaf8ecca8e9a3
c20d163f981aa753aaf1d51b5b49016e1d68ff61
/api/urls.py
bb8b1a61de6cbfe7cc5c36cd2b65b0d99ceb1f8d
[]
no_license
shkarcot/ZZZtesting
b8afc4f0d79486f8d5d57492f1a4891233196684
924e390325e0b55a852dd6ec7587d4e61e7bf558
refs/heads/master
2020-04-24T02:39:07.853125
2019-02-20T10:48:47
2019-02-20T10:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,196
py
from django.conf.urls import url from api import views from scripts.seed_data import seed_data from config_vars import DASHBOARD_CONFIG urlpatterns = [ # Case Queue Management APIs url(r'^createqueue/$', views.case_queue_management, name="Queue Management"), url(r'^getqueues/$', views.case_queue_management...
[ "manjukannaj@gmail.com" ]
manjukannaj@gmail.com
b6b37405bb24e259a4963554b3502d97de09ecd1
c5a4f782af777ac012ab3d6fce72588b7cdd3272
/Day05/perfect.py
770764a9e54eccf9485c628cd145ad6377da8740
[]
no_license
makejun168/Python-study
5606b68247e145de3019432dba76625d1093b82c
8f741fa5081b4af61a9160ea49d81e981ab3b4e5
refs/heads/master
2020-07-01T19:36:35.367234
2020-03-18T10:23:47
2020-03-18T10:23:47
201,275,193
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# 完美数字 # 找出1~9999之间的所有完美数 # 完美数是除自身外其他所有因子的和正好等于这个数本身的数 # 例如: 6 = 1 + 2 + 3, 28 = 1 + 2 + 4 + 7 + 14 import time import math start = time.clock() for num in range(1, 10000): sum = 0 for factor in range(1, int(math.sqrt(num)) + 1): if num % factor == 0: sum += factor if factor >...
[ "873800030@qq.com" ]
873800030@qq.com
4e20e0113f12ca54ff93d7de62bcc9e2d82234cf
bca56a70984c620d0e86be6c03a1e18ce3af2c2c
/gym/envs/__init__.py
44b07343068c4b239f537eb49b6fd7f81f1eb732
[ "MIT" ]
permissive
davidsonic/self_brewed_gym
9f44f1fc22a7dcf3cfb4a6850cb10dee8c2c2e17
4e0cffb3a6aad1f570aa748c22bf6a289aaa1ab3
refs/heads/master
2020-04-15T13:23:34.797762
2019-01-12T22:46:53
2019-01-12T22:46:53
164,715,071
0
0
null
null
null
null
UTF-8
Python
false
false
14,852
py
from gym.envs.registration import registry, register, make, spec # Algorithmic # ---------------------------------------- register( id='Copy-v0', entry_point='gym.envs.algorithmic:CopyEnv', max_episode_steps=200, reward_threshold=25.0, ) register( id='RepeatCopy-v0', entry_point='gym.envs.alg...
[ "davidsonic@163.com" ]
davidsonic@163.com
ccf5c767f217b6f4a942cf7108ea3b85349e14e5
f2418f2bc6015cc157e45a03aedaaf8cc6706bf8
/Advanced_ML/Text_Generation/toy_rnn.py
00c6fd5f860a3cf261301d8d068280fc80b73fb8
[ "MIT" ]
permissive
imsrgadich/Projects_shang
dcaa9411e13866a8e4f3a449405473adda329401
a9d4395a98a79fb0a700a99168cd358ab7494fdf
refs/heads/master
2021-01-12T09:09:47.281055
2016-12-09T17:18:59
2016-12-09T17:18:59
76,779,772
1
0
null
null
null
null
UTF-8
Python
false
false
2,660
py
import numpy as np import theano import theano.tensor as T #rnn parameters learning_rate = 1 input = T.matrix() W1 = theano.shared(np.asarray(np.random.uniform(low=-0.1,high=0.1,size=(2,10)),dtype=theano.config.floatX)) Wh = theano.shared(np.asarray(np.random.uniform(low=-0.1,high=0.1,size=(10,10)),dtype=theano.config...
[ "emailshang@gmail.com" ]
emailshang@gmail.com
f09890027a800d9d6ae27200e1657aa0879826f8
adb5b909e8f1e6568b6e11b53002715b95616262
/git_2.py
6c442e6d8a78c58955dfbb9d039991f1f0c0a598
[]
no_license
saalome/github_demo
586e4fc656aa019f2e3307614cfad9e870b038a4
e1ac212d13cac1f96f3d7df0f4c6e5e9940e2d7e
refs/heads/master
2020-04-02T10:24:32.231016
2018-11-06T15:36:31
2018-11-06T15:36:31
154,338,277
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
# # 使用while循环输入 1 2 3 4 5 6 8 9 10 # while True: # number = int(input('请输入一个数字:')) # if number > 10: # break # elif number == 7: # continue # print(number) # 求1-100的所有数的和 ''' num = list(range(1,101)) sum = 0 for i in num: sum = sum +i print(sum) ''' # 3、输出 1-100 内的所有奇数 ...
[ "saijp8@gmail.com" ]
saijp8@gmail.com
57a654eaabd0cdc0ff0f03b8648123453f6a3110
adb1bc3cba42861fdaa80dd110c497dce6443f18
/triangle/triangle.py
e05948ee37c142700c68894f9d519857c1dbf6a1
[]
no_license
duongvt55/ktpm2013
69dbd37487adf1bd86a9199ccdb76badfa9ad747
74c5bef219b33af104f824300ff962f58bb22072
refs/heads/master
2020-05-01T06:07:38.040508
2013-10-18T16:10:50
2013-10-18T16:10:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
import math import decimal def detect_triangle(a, b, c): e = 1e-9 if type(a)!=float or type(b)!=float or type(c)!=float : return "Nhap sai kieu du lieu." elif a<0 or b<0 or c<0 or a>2**32-1 or b>2**32-1 or c>2**32-1 : return "Nhap cac gia tri >= 0 va <= 2^32-1." else: temp = a a = max(a,b,c) if b==a : b ...
[ "duongvt.dtg@gmail.com" ]
duongvt.dtg@gmail.com
fa618fe007c45ce2dff0cb5199b05bd54f170dce
7fd66e6df78b45aaa82c4857b335f2d8b2bb8326
/item.py
d00609d646213c572b7dcfa5de199fbf995e54d5
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
maiiku/python-google-merchant-api
fd655ef5a2648d7f224f8824df89ff86fe2836b9
b689940a9525eeda21372cb67d7e76a5d77b37bd
refs/heads/master
2021-01-22T13:48:14.000688
2012-08-16T13:48:16
2012-08-16T13:48:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,546
py
from lxml import etree from lxml.builder import ElementMaker # lxml only ! from datetime import datetime,timedelta class Item(): def __init__(self,**kwargs): #Required to send self.title = kwargs.get("title",None) self.description = kwargs.get("description",None) self.link = kwargs.get("link",None) self....
[ "w4rp3d.1@gmail.com" ]
w4rp3d.1@gmail.com
c942e49a25ef232d0f68b857272e6f54e5fd63e7
458b5c6bc28145e6e9128401c95e6a204c5a797c
/desafiobhaskara.py
aa94e9c2e010bb85c0fc98736b349d1ecfd1b2bd
[]
no_license
milenabaiao/python-1
85a1a2d7ab4c8c9b44ee6dd6038c86552a5a6ba4
c32945348151843c03ca93657749c276becd5102
refs/heads/main
2023-02-05T20:17:23.005295
2020-12-30T22:45:05
2020-12-30T22:45:05
325,660,591
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
import math a = float(input("Digite o valor de a: ")) b = float(input("Digite o valor de b: ")) c = float(input("Digite o valor de c: ")) delta = b ** 2 - 4 * a * c if delta ==0: raiz1 = (-b + math.sqrt(delta)) / (2 * a) print("A única raiz é: ", raiz1) else: if delta < 0: print("Esta equaçaõ não ...
[ "milenabaiao@gmail.com" ]
milenabaiao@gmail.com
1ade444ef58061b442ce23d0b5caa2f07fe5c91b
44376a053aedc3c4d106b4ff8005e44b2e3462e1
/coding-old/Codechef/S10E.py
0709ff62b9f11326be3aceef35d2edf8c3e3ea63
[]
no_license
zed1025/coding
e273cecfc1fe111dd8e466c5825c9ff153e96e71
3e2a8765628f31c9ac620fcb9b473ac93bfe7697
refs/heads/main
2023-02-01T19:20:53.972484
2020-12-18T05:03:56
2020-12-18T05:03:56
320,640,232
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
''' https://www.codechef.com/OCT19B/problems/S10E October 2019 Long Chanllenge Problem 1 Problem Code S10E ''' def checkGood(arr, x): t = min(arr) if x < t: return True return False try: T = int(input()) except: pass while T > 0: N = int(input()) arr =...
[ "amit251098@yahoo.in" ]
amit251098@yahoo.in
79cca0e194c552ce99963bdc4ef488907defd3f5
89b055f0e77379b915f1342c8d82ba12efbd6a5d
/hiddenbyte.py
b26cca493533b42c1573506a0c7be213cad3f316
[]
no_license
Moonba/GCPPlay
292f61357ea29e998b804f1defb619776be464f3
2e5530596c12c578035fc9e9b3881b1930ffdb49
refs/heads/master
2020-06-12T16:36:05.697021
2016-12-08T02:17:33
2016-12-08T02:17:33
75,793,300
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
with open("BigQueryScript.py") as fp: for i, line in enumerate(fp): if "\xe2" in line: print i, repr(line)
[ "mouna.balghouthi@gmail.com" ]
mouna.balghouthi@gmail.com
0ddc64aeec1a3bcaa9bb78223741a02a4ab908f2
8c8ea797b0821400c3176add36dd59f866b8ac3d
/atcoder/abc/abc014/a.py
30a599af79c00136ed66cfabfacd1cde704515a3
[]
no_license
fushime2/competitive
d3d6d8e095842a97d4cad9ca1246ee120d21789f
b2a0f5957d8ae758330f5450306b629006651ad5
refs/heads/master
2021-01-21T16:00:57.337828
2017-05-20T06:45:46
2017-05-20T06:45:46
78,257,409
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
for i in xrange(12): print i
[ "okmt52@gmail.com" ]
okmt52@gmail.com
0397651efe03748abb39dcc12c9ba33634d4df78
9ffeed117709b6d0f88bbbe0269685fbdf4eff3e
/lab1/lab1.py
7b3f52c5e77f6d3ca757a1315844bf799b4391ce
[]
no_license
Kaiel96/MyPythonClass
081753eec4fa54c8b86e5f39b3d73ffa6c9f95bb
666552ac14802d291344e34e5fa2b50374091154
refs/heads/master
2021-01-10T15:57:08.450872
2015-12-22T19:11:28
2015-12-22T19:11:28
48,448,018
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
# # This is a header block example for lab 1. # # You will need to supply the following information. # # Name:Brannden Moss # Instructor: Professor Hataskey # Section:7 # print ("Hello Brannden.")
[ "branndenmoss@Branndens-MacBook-Pro.local" ]
branndenmoss@Branndens-MacBook-Pro.local
12598f014099deae48cea3f0402d007713858b5a
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/tests/sentry/api/serializers/test_grouptagvalue.py
d328f092a3656452391add7aa2fc5d6ee396d281
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
1,697
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import six from sentry.api.serializers import serialize from sentry.models import EventUser, GroupTagValue, TagValue from sentry.testutils import TestCase class GroupTagValueSerializerTest(TestCase): def test_with_user(self): user = self.cr...
[ "jeyce@github.com" ]
jeyce@github.com
7dc51dcc8666cdd82ee4b318accd3854ae6784a0
8f14eda8e82a2348d1462f35674e85e8765355ad
/cpp/target_module/target_module_v1/setup.py
8ec30c98b010e40f5437e8df7d9023cd7feb0ef8
[]
no_license
SaulLu/SBCLL
4cf064d3d3a01b25c3a324b83460f4d410401fec
ed5bb14aa1489793b399b0ad830ddf398e4cbe06
refs/heads/master
2020-12-30T06:42:29.895472
2020-04-01T08:25:24
2020-04-01T08:25:24
238,895,367
0
0
null
2020-03-20T08:39:31
2020-02-07T10:19:38
Python
UTF-8
Python
false
false
378
py
from distutils.core import setup, Extension # cmd python3 setup.py build_ext --inplace # cmd python setup.py build_ext --inplace c_ext = Extension("_target_module", ["_target_module.cpp","Attacker.cpp","Attribution.cpp","Attributor.cpp","Checks.cpp","Target.cpp","Geometry.cpp"], extra_compile_args=['-std=c++...
[ "eti1ww@gmail.com" ]
eti1ww@gmail.com
21e24d1a03ad52908faf36d6b79230d636e0564e
59ae642e4e2918d00e75ce755a8b1f531342c7ec
/p40-1.1.py
34e0449b0b80f02901f6a0b54f6a81f3bb647947
[]
no_license
yintian710/-
b5f34a71e2b6b67deca594c43e0eea29a4b11f04
de2043a9ffe76692ff55ec7e8f064c6769f9c5e7
refs/heads/main
2023-01-13T16:54:53.302594
2020-11-24T15:46:48
2020-11-24T15:46:48
305,124,656
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
# coding:utf-8 import math def f(x, y): return 1 / (1 + x * x) - 2 * y * y # return -y + x + 1 def Euler(x, y, h, n): E = [y] for i in range(0, n): y = y + h * f(x, y) E.append(y) x += h return E def trapezoid(x, y, h, n): T = [y] for i in range(0, n): ...
[ "noreply@github.com" ]
noreply@github.com
578c6c754e089392abb4a324f8487938a2f25f1d
50474276d52b4734994679dccbe8d731949d80b6
/class5_tratando_txt.py
9006f132f1805c66aff763059a02043e194750fc
[]
no_license
Mauricio1xtra/Revisar_Python_JCAVI
b21a46ab52732223b43c37bb2a0ae31a9054d39e
d93288e919b43e2fe8c011f90034f350cb2bad7f
refs/heads/master
2022-12-05T14:51:56.725824
2020-08-20T21:55:46
2020-08-20T21:55:46
285,844,959
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
##Abrir o arquivo com o atributo open e read arqu1 = open("Files/arquivo.txt",'r') ##Ler o arquivo print(arqu1.read()) ## Seek voltar o cursor arqu1.seek(0,0) print(arqu1.read()) ## Fechar o arquivo arqu1.close() ##Atrituto w+ permite gravar(substitui, criar o conteúdo e arquivo) e ler o arquivo arqu2 = open("F...
[ "bestsound2u@gmail.com" ]
bestsound2u@gmail.com
7ae787bca6218c85ab763ed18d5cc546dd7a9f72
866418a05db550487e5eb6f5063f04f1241ccb4a
/example/11/╡┌11.3_1.py
39c0355ca01e72cc70a9202afd65d0b91cafe609
[]
no_license
Freshield/LEARN_Python_Crawler
37cd552de8fb3f30157326a22a6b5cd62bd74703
53406cac38c27960e863c7bd5366bd1ae01ecd6c
refs/heads/main
2023-02-19T00:36:52.548150
2021-01-23T03:40:20
2021-01-23T03:40:20
326,993,103
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import pymongo # 创建对象,连接本地数据库。 # 方法一: client = pymongo.MongoClient() # 方法二: client = pymongo.MongoClient('localhost', 27017) # 方法三: client = pymongo.MongoClient('mongodb://localhost:27017/') # 连接DB数据库 db = client['DB'] # 连接集合user,集合类似关系数据库的数据表 # 如果集合不存在,会新建集合user user_collection = db.user # 设置文档格式(文档即我们常说的数据)
[ "zxdsw199182@gmail.com" ]
zxdsw199182@gmail.com
162b837283cce0e9eff9926ea2e027c9fceccae5
1e5ae9d745dc6992774217b2c5c32e34e7b7635e
/tiny_url/IdentifierStream.py
354a2c00c615e3ec3810349207a7656c2f2ab9ff
[]
no_license
QuentinDuval/TinyURL
d9bb4a12fde32da4ee4e7d57fa2b5e05179957d3
e9460f81c630ff6a3b60025aa68ea687b12b4cf6
refs/heads/master
2020-06-15T20:36:24.058529
2019-07-05T10:13:51
2019-07-05T10:13:51
195,387,281
1
1
null
null
null
null
UTF-8
Python
false
false
645
py
from kazoo.client import KazooClient class IdentifierStream: def __init__(self, zk: KazooClient, reservation_size: int): self.zk = zk self.reservation_size = reservation_size self.current_id = None self.last_id = None self.counter = zk.Counter("/tiny_id", default=1) de...
[ "qduval@murex.com" ]
qduval@murex.com
317dc6c84fdba8998fcffc9c392442f5d580cda9
f573ff2229e238a0e4e6fa659945432d86e6ed30
/magma-api.py
f5b03d3381c2ae093d107f1924883cd5295e1ece
[]
no_license
berkanegrice/Non-Official-MagmaAPI
995f7188cb3b81c50b57a19234c0ffad7dbb75c5
0dd9bdcb6f8352ac903ac82274c6f87a091056b5
refs/heads/main
2023-08-25T01:31:57.688196
2021-11-02T15:46:34
2021-11-02T15:46:34
334,471,361
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
import xml.etree.ElementTree as ET import urllib.parse import os import sys # the magma file to be executed. fn = sys.argv[1] if os.path.exists(fn): query_file = open(fn, "r"); raw_str = query_file.read(); query_file.close() # To encode the given magma file. encoded = urllib.parse.quote(raw_str, safe='') # ad...
[ "noreply@github.com" ]
noreply@github.com
8c8b6f461d38545390e7f485d6c1698d70748e2a
870f8c7d8f3f916df5c6f4537cf31d35b48f6f2f
/create_RRT.py
eafbbaf80bed56128d5cf4a098fbd68e8f4a85a9
[]
no_license
lauraw7/catkin_ws_user
56776da03e5006ff60e3cd1f29e8293785d71d89
10851e75770f8ea2f5ab0a00a32e1ee6cd0c32c5
refs/heads/master
2021-09-05T16:36:39.067752
2018-01-29T17:10:32
2018-01-29T17:10:32
109,979,145
0
0
null
2017-11-08T13:26:06
2017-11-08T13:26:05
null
UTF-8
Python
false
false
2,095
py
#!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt def create_RTT(num_samples,samples,start,step_length): vertices = start edges = [] for i in range(num_samples): sample = samples[i] diff = [0]*len(vertices) if len(vertices)>= 0: for v in range(len(vertices)): diff[v...
[ "noreply@github.com" ]
noreply@github.com
f5c6427fa6733d2fab752c262dac8616d209e53a
36874f6e03921c2103d7b11631286ac8a4562725
/battery.py
810f68739ee9e0d9bba2a52607680cf97b0cfbf4
[]
no_license
neternefer/Python
9f98e6712b521b8f233efc6a056c0c5620c1a91b
e625444dff65a16f7fd04fca19b433b45f890054
refs/heads/master
2021-06-13T13:22:05.659463
2019-11-24T18:29:20
2019-11-24T18:29:20
136,168,913
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
class Battery(): def __init__(self, battery_size=70): self.battery_size = battery_size def describe_battery(self): print("Battery size is " + str(self.battery_size)) def get_range(self): if self.battery_size == 70: crange = 240 elif self.battery_size == 85: crange = 270 ...
[ "noreply@github.com" ]
noreply@github.com
fbab3ace3bd4c2b48ce96f6434fa96c702fdb9c8
ca25fd64d291b58ad1d95c8a6d207b1d7f2546a9
/applications/sumdiff/sumdiff_1.py
cd063c6b7a42a1e0539b5c3605b586f00de19e71
[]
no_license
jasimrashid/cs-module-project-hash-tables
3070e10f3acf1d97ee9ca53c2adcc5260ea6c2bc
4622876a49990da4f477b939f2055cb1cce4c348
refs/heads/master
2022-12-06T21:56:59.414837
2020-09-04T06:54:19
2020-09-04T06:54:19
291,763,058
0
0
null
2020-08-31T16:09:56
2020-08-31T16:09:55
null
UTF-8
Python
false
false
4,924
py
""" find all a, b, c, d in q such that f(a) + f(b) = f(c) - f(d) """ from pprint import pprint #q = set(range(1, 10)) q = set(range(1, 80)) # print(q) # q = (1, 3, 4, 7, 12) # print(q) q = list(q) # breakpoint() # TODO: cache this? print(q) # f = {} def f(x): return x * 4 + 6 def pad(x): return (3-len(str(...
[ "jasim.rashid@gmail.com" ]
jasim.rashid@gmail.com
d96347873e9e35694bfbbc5d8c3adf35d0c11a59
157d0810d40bbb165889f946566346663cf5b22f
/Python-For-Everyone-Horstmann/Chapter9-Objects-and-Classes/P9_25.py
4f372df40188975237fd47929d3e6603486ef014
[]
no_license
dg5921096/Books-solutions
e6ccdcaba0294bdc95e2267723a02d2ba090cb10
31bb4bba240bf95aafeb6d189eade62c66a1765a
refs/heads/master
2021-12-09T16:07:47.756390
2021-11-14T07:09:25
2021-11-14T07:09:25
255,447,147
0
0
null
2020-04-13T21:39:02
2020-04-13T21:39:01
null
UTF-8
Python
false
false
794
py
# Design a class Mailbox that stores e-mail messages, using the Message class of Exercise # P9.24. Implement the following methods: # • def addMessage(self, message) # • def getMessage(self, index) # • def removeMessage(self, index) class Mailbox(): def __init__(self): self._mails = [] def l...
[ "syndbe@gmail.com" ]
syndbe@gmail.com
d12a5cb3005e46bb74e9b4b87694dd8bd09241f6
aa2fbf0825a1ce9fd02cf017b787ed8a64f31fc2
/neuronal/classNeurona.py
b5fd4b9eb715ff9b3088f9334fc771c797faf1b2
[ "MIT" ]
permissive
systemgregorypc/Agatha-inteligencia-artificial-
dc9d7bc8fe4021086c06c40a335b3d3a363777a4
0fd1b14b6d9dc3c21c59f333de10f54c589a35a3
refs/heads/master
2023-08-07T04:51:45.100697
2023-08-01T17:10:04
2023-08-01T17:10:04
120,570,631
0
0
MIT
2023-07-14T16:12:25
2018-02-07T06:02:32
C#
UTF-8
Python
false
false
1,125
py
from math import exp class Neurona(): def __init__(self): self.a = float(input("Ingrese valor de alpha:\n")) self.x = input("Ingrese los valores de entradas con una coma despues de cada dato: \n") self.w = input("Ingrese los valores de peso con una coma despues de cada dato: \n") ...
[ "noreply@github.com" ]
noreply@github.com
1da774ed56935754ec237bf680af606d094710d0
a4d2077522ba85c46d3ba9e34fa9bc885c60ce4d
/python_learn/arithmatic_operation_exercise.py
c761b354b46665a3234d5024a0dc89a8d9d6bf10
[]
no_license
svnas1994/python_Learn
18fcf2d22729b54aa5076c99fc05d329072e0758
66bb47d85ae291efde429674931c440f1cfa1348
refs/heads/master
2023-06-10T03:22:16.516636
2021-06-25T20:54:29
2021-06-25T20:54:29
367,152,530
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
"""This programme is for arithmatic operation of two numbers""" a = int(input("enter the number")) b = int(input("enter the number")) print ("for addtion enter add\n\ for subtraction etner sub\n\ for multipliction enter mul\n\ for remainder of division add rem") c=input("enter your required operation").lower() def add(...
[ "sriramsairam347@gmail.com" ]
sriramsairam347@gmail.com
cff6408a60681e0ad93e24e0618f5fbb169d4684
71142e0638354a5025b378693ce5d0129fc833ba
/chapter03/decisionTree.py
147efbebae695053d576e3ba97e1272aee34fa80
[]
no_license
928060115/machineLearning
b43cbb5ed732c04d78f7c62162405cc3f8f0a609
a50b31340b56e287d3c615966ad11b707e354b6a
refs/heads/master
2020-03-21T06:54:14.857248
2018-06-25T11:03:24
2018-06-25T11:03:24
138,248,553
0
0
null
null
null
null
UTF-8
Python
false
false
12,276
py
# -*- coding:utf-8 -*- """ @author:ly @file: decisionTree.py @time: 2018/6/2510:37 @version: v1.0 @Dec: 实现决策树 """ from math import log import operator import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties import pickle import os import time from sklearn import tree """ 函数说明:计算给...
[ "liuyang@chengyiwm.com" ]
liuyang@chengyiwm.com
fa396f3d732869e588ebacde8dbe60d664cd334c
a2839839c4d7ab8d673942aa7b616a9206f2658f
/models/lime_nlp_utils.py
c9f0ead6e9c79ef8c282cce07d8cd65c2bfd155f
[]
no_license
Nanjangpan/XAI
fa1b5216ffd774e5cb83741d74ba984a991d35fd
829f1e108aa2e291f17a2b18fcf01aa86ddf0922
refs/heads/master
2022-12-27T14:01:35.011200
2020-10-19T05:39:52
2020-10-19T05:39:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
from keras.preprocessing.sequence import pad_sequences from keras.preprocessing.text import Tokenizer from keras.models import Sequential from keras.layers import Dense, Embedding, Bidirectional, LSTM from sklearn.pipeline import TransformerMixin from sklearn.base import BaseEstimator import numpy as np class TextsTo...
[ "hamacojr@yonsei.ac.kr" ]
hamacojr@yonsei.ac.kr
f7fa5c987441f976dde82360c889c4b93fddc09c
5085579e6b58108b9a3ecd9740b5f2c01f4333c3
/LinearRegression/batch_gradient_descent.py
6670aee240537094eac2b0c4746bb5fc978aed9a
[]
no_license
Paul-Wissler/cs-6350-hw4
b08f8eecb6251b4f39257d90e3c890d6534a7721
4745e1acf813c9238da284d0f0f5422f191d2794
refs/heads/main
2023-09-06T07:50:27.144412
2021-11-20T06:38:12
2021-11-20T06:38:12
424,767,427
0
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
import numpy as np import pandas as pd class BatchGradientDescentModel: def __init__(self, X: pd.DataFrame, y: pd.Series, rate=0.1, convergence_threshold=1e-6, max_rounds=100, bias=0): X['MODEL_BIAS'] = 1 self.X = X.copy() self.y = y.copy() self.max_rounds = max_rounds sel...
[ "u0791342@utah.edu" ]
u0791342@utah.edu
e409354eda49035b536afe57d5e5b4b5a86b643f
2321ea62872af285a494119662af95808fd20f58
/gribi/src/util/util.py
e9f160cd2e7832fffa6256fdf41204c2c1355d21
[]
no_license
nanog75/code-samples
45f47eb9038dfb428686cdae8f0063dfaa437262
a64e8ab62844abc2b32f1a168ebbba31b35ad43d
refs/heads/master
2020-04-21T19:49:46.102278
2019-02-17T16:50:44
2019-02-17T16:50:44
169,821,203
2
2
null
null
null
null
UTF-8
Python
false
false
1,666
py
# # Copyright (c) 2016 by cisco Systems, Inc. # All rights reserved. # # Standard python libs import os import ipaddress # # Get the GRPC Server IP address and port number # def get_server_ip_port(): # Get GRPC Server's IP from the environment if 'SERVER_IP' not in os.environ.keys(): print("Need to s...
[ "echen102@gmail.com" ]
echen102@gmail.com
69125d0d670089b391b47812638b43f7c459c0b5
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200322174510.py
7aa63cf5264177dcd88e4e6fbb297d2a899aa036
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
import os import subprocess import re from datetime import datetime import time from statistics import mean numberOfTests = 100 tabuIteration = '1000' tabuDuration = '40' numberOfCities = '50' final_solution = [] list_coverage = [] local_minimum = [] print(f"\n\nTest for Tabu Search with this config: \n\tIteratio...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
39594fdee131460d72ed27b8368bb94bb8fdcf98
50203b4a349dcb2ed1e72c9f5463d84db8a6e983
/skyline/webapp/luminosity_cloudbursts.py
0048fa8b6fb7fcecf903537da9ede688c880d75c
[ "MIT" ]
permissive
earthgecko/skyline
97e43df824d7c92d68086f529f0f3d051a7debb0
c2edc451e63d5eb57117ddcfbc6e79100e706460
refs/heads/master
2023-08-30T08:36:50.740285
2023-06-28T15:33:47
2023-06-28T15:33:47
20,475,900
482
74
NOASSERTION
2023-06-28T15:33:49
2014-06-04T08:33:15
Python
UTF-8
Python
false
false
12,756
py
import logging import os from ast import literal_eval import traceback import settings import skyline_version from skyline_functions import get_redis_conn_decoded from matched_or_regexed_in_list import matched_or_regexed_in_list from sqlalchemy.sql import select from database import get_engine, cloudburst_table_meta ...
[ "gary.wilson@of-networks.co.uk" ]
gary.wilson@of-networks.co.uk
48304405d3ebc5b199122ef7bc0b215800dc6568
a1cc77c55a2fc8a87c9ff72372dfd9ae2bf6e525
/testandoSocket.py
95a85234a3d9a7a4c8c1b192ab6323b3dd6edee6
[]
no_license
vitorrios1001/projetoIntegrador
f591116c8eec4ea8909a043012085ed7d40191c2
6872b1465e2337ccdc4f519af5a354d35cb35b8c
refs/heads/master
2021-08-23T12:31:31.163245
2017-12-04T22:32:25
2017-12-04T22:32:25
111,944,801
0
0
null
null
null
null
UTF-8
Python
false
false
2,589
py
import random from time import sleep from Queue import * from threading import Thread, Lock import httplib, urllib, base64, json from flask import Flask, request import requests import socket import os import sys import pickle import backports class Node(object): def __init__(self, host, url): self.h...
[ "vitorluizrios@hotmail.com" ]
vitorluizrios@hotmail.com
29fda71564cb74768b4e54cdb0a2d771dcd29ecd
8767db24eb71eb0fa45a3c8ad6724d453ef8516c
/accounts/accounts/urls.py
8652fae07013aec153295105377a73e3ece99435
[]
no_license
grilhami/Django-Simple-Login-Signup
ea2c90915c9ecd1eefcc445bc542faff240a6d41
bfa1c4a5de632f1d25de8c52cdd2197c641df136
refs/heads/master
2022-05-03T06:49:26.292363
2019-06-12T19:53:45
2019-06-12T19:53:45
191,609,026
0
0
null
2022-04-22T21:32:15
2019-06-12T16:37:44
Python
UTF-8
Python
false
false
1,001
py
"""accounts URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "gigilangilhami@gmail.com" ]
gigilangilhami@gmail.com
8920f1e323513222adafbd77853f23a6f87ca1e2
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/GPMM/YW_GPMM_SZSJ_287.py
dd5bdfe7fc378edf0289633f7e8debff4b950338
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
7ddfbc1bd0cd3d5dbdcf9c8efc5b97a8801d55d8
a3f27a123e0161b21baf1a077f10ae2114e88371
/DataCleaner.py
05412ae5cfc98b1765d4f31ed61c907ab382d7cf
[]
no_license
davidschulte/bads2021
a7446a0939e765630f86043f80880eafab2437e8
385e3fe665ea905397e01748d8116255ceb54cf1
refs/heads/main
2023-08-17T17:24:05.465080
2021-10-01T14:23:16
2021-10-01T14:23:16
412,450,831
0
0
null
null
null
null
UTF-8
Python
false
false
6,286
py
import pandas as pd import numpy as np class DataCleaner: def __init__(self): self.cat_features = ['item_id', 'item_size', 'item_color', 'brand_id', 'user_id', 'user_title', 'user_state'] self.int_features = [] self.float_features = ['item_price'] self.date_features = ['or...
[ "noreply@github.com" ]
noreply@github.com
89bf67b45eaebe9ba7f531e31d809e0c6a5feea7
5d93e2a138b7fc111a68252c036534bf749a956b
/manage.py
ea51b8134ea6da9d8bfc232e7f3f4e11bca729e0
[]
no_license
amanraj209/tweet-me
ea58b64689028cf8608a2b7284c8500ffe57ef2f
118a2cb983fa903120e7a9a9e35ec17d13431554
refs/heads/master
2021-08-23T22:05:19.142048
2017-12-06T19:37:07
2017-12-06T19:37:07
112,243,448
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "TweetMe.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "amanraj20996@gmail.com" ]
amanraj20996@gmail.com
0ef8ccc6560e9f1ebf5c4a870ac133a9b3aa372a
8d31e001f8b053f3083bf0c69566d32d9474072e
/article/migrations/0017_likearticle_likecomment.py
430488f48f0dd550663bccc266bcb9f75db96ed4
[]
no_license
Kunduzha/Labwork_LikeForArticle
1eff23e7bbcf1cc19a9c85be9f5a9a5ffbe6569e
c0e2855a4fea204ec94e2256750b9ba20cfbd7be
refs/heads/master
2023-04-20T10:48:24.239504
2021-05-24T11:47:31
2021-05-24T11:47:31
368,871,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,860
py
# Generated by Django 3.1.6 on 2021-05-18 10:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('article', '0016_auto_202...
[ "kuzanai@mail.ru" ]
kuzanai@mail.ru
dfd2c821a4904ec8151b78f22aacd5f87e3ee632
b97eba3a0b24d2393a517eb19fad0136edcee174
/dataset/iterator_wrapper.py
1147681e73d6899d1e91a83a87886601d4011543
[]
no_license
Z-K-Zhong/Detection
f093c0ef18edff7ed64e11dbcab827539d502be6
04a2c319b7412be6ba20ed904f661d69b91361f0
refs/heads/master
2020-06-04T15:03:07.771943
2019-06-15T11:59:32
2019-06-15T11:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,170
py
"""For loading data into Faster-RCNN models.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import tensorflow as tf __all__ = ["get_infer_iterator_wrapper", "get_iterator_wrapper", "process_image"] class Dat...
[ "noreply@github.com" ]
noreply@github.com
0f5bdbf5ebeef0d600a6606d1ba3dee3a270cb8d
2337c000ff2710460e7b65729c57d8469e200aa6
/apps/portals/applications/account/urls.py
5f0ea306f0c7ad62a6d82458b51cb8139cf93977
[]
no_license
Phoenix25/fest-api
9b7ad42b843dc1e2e65b6753e21cf88c8925c5c1
ddb3110b160f83f4a6d8a8606874217778b99069
refs/heads/master
2021-01-18T13:36:02.366482
2014-04-18T12:50:50
2014-04-18T12:50:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
#!/usr/bin/python # -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from apps.portals.applications.account.views import * from django.contrib.auth.views import password_change from django.conf import settings urlpatterns = patterns('', url(r'^password_change/$', password_change,{'post_ch...
[ "saipraveenb25@gmail.com" ]
saipraveenb25@gmail.com
96177942765b2f52d5e55fed685ed759a48ced11
90ad3f487bb9d7b8a59aee1a2591bfa338ecf63e
/Block_Chain/Define/Account.py
7eff69306f30ceef0221ae487c867e2d887e0bf1
[]
no_license
ajax-2/BlockChain_tornado
2d25a8ce1f4f2ced005ef10dfb550ee039cd3c98
797bb122c7f279f586403af5348a53f831de201a
refs/heads/master
2020-03-18T23:31:25.721648
2018-06-01T07:23:08
2018-06-01T07:23:08
135,407,911
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
import hashlib class Account(object): def __init__(self, name, signature, timestamp, data): self.name = name self.signature = signature self.timestamp = timestamp self.data = data self.balance = 0 self.hash = None def user_hash(self): sha = hashlib.sha...
[ "Allence@xxx.com" ]
Allence@xxx.com
16f8ed72f0a4fee3f6f9d76191a5fc8ccb024581
78435005fd4ddf72579eef4d253b66128120745c
/srs_human_sensing/src/srs_human_sensing/hs.py
6a8d75a2622b1c2ed0220fd829b49fee316d132d
[]
no_license
Mazet/srs_public
57290f60dd9e3de2a11a6ef8774c3cf27dfbd342
4342d93ae44de2ef0dd9450679c667cad1701615
refs/heads/master
2021-01-17T22:25:07.604843
2012-07-19T08:50:36
2012-07-19T08:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,621
py
#!/usr/bin/env python import roslib; roslib.load_manifest('srs_human_sensing') import rospy import math from std_msgs.msg import String from sensor_msgs.msg import PointCloud from geometry_msgs.msg import Point32 from cob_people_detection_msgs.msg import PeopleDetectionArray import tf from std_msgs.msg import Header ...
[ "NoyvirtA@cf.ac.uk" ]
NoyvirtA@cf.ac.uk
9cf4bcddbc8314500149e0a523d8dd5b7deec3b4
db24008c2fb9691e5410acc6e587e70af431042e
/Modbus/ModbusConnector.py
a231a40c5043758e96091f204b7fadcdc9c62d83
[]
no_license
gabrieldinse/package-cover-offset
0dbd4254dceae109c455b8a2798ebe065ff0ffcc
79b80d13ff2d14af396de921a281bb0a3150b96b
refs/heads/master
2023-02-09T06:50:06.046198
2020-12-30T10:10:48
2020-12-30T10:10:48
322,862,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
# Standard Library import time # Third party modules import minimalmodbus # Local application imports class ModbusConnector(minimalmodbus.Instrument): def __init__(self, port: str='COM3', slaveaddress: int=1, close_port_after_each_call: bool=False, debug: bool=False): minima...
[ "gabriel_dinse@hotmail.com" ]
gabriel_dinse@hotmail.com
297d73c6b6d28adb9888b309f6b1409185969185
afc6872c108922e88451b55195e7d85883a88ba4
/userop/urls.py
106c4e8ae8f1e69547618439c30a487ef07a36cd
[]
no_license
prashantkrishna5/django-token-based
41686b0b1b85213db2d401cff1f8a24f46bd92e1
60e5f0ab58cf9600a1b12f364d140190332f71b8
refs/heads/master
2022-11-18T17:10:34.698602
2020-07-12T14:13:29
2020-07-12T14:13:29
278,598,595
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from django.contrib import admin from django.urls import path, include from . import views from userop.views import(LoginView, LogoutView, Home, AddData) urlpatterns = [ path('',Home.as_view()), path('api/v1/add', AddData.as_view()), path('api/v1/auth/login/',LoginView.as_view()), path('api/v1/auth/l...
[ "krishnapuram.babu@I2LT385.systems.bgr.ionidea.com" ]
krishnapuram.babu@I2LT385.systems.bgr.ionidea.com
fa793e4c86c96cb49ded7b33210f7a87f01a60d5
f5625da9dd2f2f485c5be71ca578c5c2349d491c
/vendas/views.py
05ec834d26caeec3136ccf2e7306a31c00199c5f
[]
no_license
PinneappleTech/api-loja
3a3035a88096f0d93e9f7a83c57324be7ff99971
9e93603dffc186ec11503df550e2ae41a1c5fcfe
refs/heads/master
2022-12-22T10:44:23.449671
2020-09-26T18:16:52
2020-09-26T18:16:52
271,883,890
0
0
null
2020-09-26T18:16:54
2020-06-12T20:24:13
Python
UTF-8
Python
false
false
1,622
py
from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from .serializers import VendaCreateSerializer, VendaSerializer from .models import Venda, ItemVenda # Create your views here. class VendaList(APIView): """ ...
[ "christianoliveirati@gmail.com" ]
christianoliveirati@gmail.com
44d44a091d0def58363d3444fd132d8c03fea72f
8a5dc3ec41dcd8a40fc3636a2d92f2b0913f5a28
/models.py
60557b2e19c19936577bf7aa48f5cd56ca425bf7
[]
no_license
himanshu7118/crud
a8427f34acdd8a4f1a27b2c80645015626f80420
64063a102dbf98f3c4a0f2f0725d1a5b90e2a279
refs/heads/main
2023-02-23T12:04:32.008728
2021-01-19T19:10:37
2021-01-19T19:10:37
331,081,364
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.db import models from django.urls import reverse # Create your models here. class School(models.Model): name = models.CharField(max_length=255) principle = models.CharField(max_length=255) location = models.CharField(max_length=255) def __str__(self): return self.name ...
[ "noreply@github.com" ]
noreply@github.com
54ec4f1076e6c92ee51eb614731240891c4fef2c
3fdbf2381b106636a1f1f6ad25985a4ab8dc9317
/manage.py
77fee6075fbb7036f67605fdeaf22a3e0684a263
[]
no_license
alex-dsouza777/User-Authentication-Django
c1da52cca5cb152fb63ac9f30a08079cce4dbb23
3780b0a6bf7ff6943f2e01f87a2cfc5bd6bccebd
refs/heads/master
2023-04-10T18:55:23.417678
2021-04-24T16:52:19
2021-04-24T16:52:19
343,179,991
0
0
null
null
null
null
UTF-8
Python
false
false
665
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', 'Userlogin.settings') try: from django.core.management import execute_from_command_line except Im...
[ "alexdsouza00777@gmail.com" ]
alexdsouza00777@gmail.com
0e8c29073521b898bc3ef2206452c18f54e91d2e
b8e3363a40bc9928ae85c16232c5bf6240597a18
/out/production/home-assistant/components/sensor/glances.py
eb38e3df265ff3d70494957f007ddc6013f2039d
[ "MIT" ]
permissive
LaurentTrk/home-assistant
4cbffd5a71f914e003918542319bc6caa96dbb72
5a808d4e7df4d8d0f12cc5b7e6cff0ddf42b1d40
refs/heads/dev
2021-01-15T23:02:38.147063
2016-05-15T12:21:52
2016-05-15T12:21:52
51,471,180
2
0
null
2016-02-10T20:49:47
2016-02-10T20:49:47
null
UTF-8
Python
false
false
6,117
py
""" homeassistant.components.sensor.glances ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gathers system information of hosts which running glances. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/sensor.glances/ """ from datetime import timedelta import loggin...
[ "laurent.turek_github@gadz.org" ]
laurent.turek_github@gadz.org
6e7869217a349653b244c104e40f724127c521b0
e24530d5201dd0062c8495c29ded4dfdceb0b40c
/KI-Ecommerce/TestMitArray.py
17cb1b466021a8b39a7d116cbaedc9992309bdce
[]
no_license
LarsLemke/E-Comm-Abgabe
382aa86c08b95209606874fce45c1e014f06386d
492acbd1dba9c145141c473a75e708ebfafe2c05
refs/heads/master
2023-02-27T20:14:57.924071
2021-02-08T16:09:22
2021-02-08T16:09:22
337,105,575
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
import numpy as np from keras.models import Sequential from keras.layers import Dense training_inputs = np.array([[0, 0.5, 1, 0, 1, 1], [1, 1, 1, 0, 0, 0], [1, 0, 1, 1, 1, 0], [0, 1, 1, 0, 1, 1]]) training_outputs = np.array([[0, 1, ...
[ "lemke.lars@outlook.de" ]
lemke.lars@outlook.de
628c00eb06fb0f9dc84aeeeefb6f31cdcfea0e8f
4695656c1810c87f27845616ff8ce7d918d847b5
/euler/py/src/e004.py
e8a6215695c59ad65214c835bc1536b12deee1c8
[ "MIT" ]
permissive
protago90/hacker-quest
3b90180aeeade277b13ee2b01528e551a6a9d790
7593f7a6453c1305e7d37a55f2bc94fc7afc6773
refs/heads/main
2022-02-01T07:58:34.687916
2021-12-28T19:18:02
2021-12-28T19:18:02
186,469,475
0
0
null
2019-08-08T20:27:04
2019-05-13T17:52:21
Python
UTF-8
Python
false
false
859
py
#!/usr/bin/env python # by protago90 from src.utils import promptify def run_e4v1(x: int) -> int: rec = 1 t, tt = 10**(x-1), 10**x - 1 for n in range(t, tt): for m in range(n, tt): p = n * m if p == int(str(p)[::-1]) & p > rec: rec = p return rec @...
[ "mg.protago@gmail.com" ]
mg.protago@gmail.com
79fb8ba6a83387a576801361beb2514c1856416d
0c341392f4060acb4a7f95a55d6201d36cde94c4
/codewars/kata/fundamentals/6-kyu/dubstep-551dc350bf4e526099000ae5/code.py
bf66a458ad774ef7c7d704ce9bd1a908c2b2b175
[]
no_license
fernandoe/study
fe4692c6c3dfaa5b9775ee731ad78da3848a5014
23ec748994ccd9484a84653274c0a65997de1dbd
refs/heads/master
2023-04-16T14:46:23.552739
2023-04-12T01:29:37
2023-04-12T01:29:37
134,962,022
0
0
null
2023-01-19T23:34:23
2018-05-26T13:05:35
Python
UTF-8
Python
false
false
2,271
py
def song_decoder(song): decoded = " ".join(song.split("WUB")) return " ".join(decoded.split()) # The second split remove the double spaces if __name__== "__main__": import codewars_test as test # Sample tests test.assert_equals(song_decoder("AWUBBWUBC"), "A B C","WUB should be replaced by 1 space...
[ "fer.esp@gmail.com" ]
fer.esp@gmail.com
a7074be35fd200abbb3a212417a1f3e90fed2b0f
f856712772089ac9c9c3fa95995aef752a3219ea
/run.py
5653c3f9133d077c69f7930414f1cd74b42fcc51
[]
no_license
yuhangT/Pytorch_Bert_1
bb6b3da2c91b428e2a325a12f2819219adf3bc13
68a6bb58bd748633211852354a9f3fb43fc5fc11
refs/heads/master
2021-04-02T03:07:53.883075
2020-04-05T09:56:24
2020-04-05T09:56:24
248,237,147
0
0
null
null
null
null
UTF-8
Python
false
false
27,479
py
import os import shutil import config import time import torch from data_process import data_generator from sklearn.metrics import accuracy_score, f1_score from tqdm import tqdm, trange from optimization import BERTAdam import random import numpy as np from modeling import Discourage, DiscourageMask import ...
[ "noreply@github.com" ]
noreply@github.com
58ae9d0ac1d18829e52e80273b8d9f0ebf27832e
c5121e75b2529cbda684764d1cea15390f5cbb28
/myproject/myproject/migrations/0005_auto_20170117_1936.py
5ece6b41f263ff6f1f39e2a66b3962c05ab5495b
[]
no_license
MerNat/docker-django-celery-rabbitmq
b0c5681ef2124bc69e0e914d55c1dffcc190f34d
eb62c70ca0d49a3f44221790cec2506f8710f58a
refs/heads/master
2020-04-19T16:33:35.746755
2017-01-20T22:26:59
2017-01-20T22:34:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2017-01-17 19:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myproject', '0004_auto_20170117_1922'), ] operations = [ migrations.AddField...
[ "nayanchandni@gmail.com" ]
nayanchandni@gmail.com
f48a8828ada2420276a4bd2f3b52fd0351ec1ef0
97f10f5b009ec8a2f96733154e4f64e975c334d4
/data/__init__.py
10cb991f088b4d926eb8f7930576439eb21ac938
[ "MIT" ]
permissive
RohitSaha/MichiGAN
421eb3103b299ec18c20fd4edd52c153972afe85
a4231bcc5e38cdfa58a0e1373aefc047dd385b12
refs/heads/master
2022-12-07T01:32:55.102860
2020-08-11T16:16:16
2020-08-11T16:16:16
282,299,185
1
0
null
2020-07-24T19:21:18
2020-07-24T19:21:17
null
UTF-8
Python
false
false
2,263
py
""" Copyright (C) University of Science and Technology of China. Licensed under the MIT License. """ import importlib import torch.utils.data from data.base_dataset import BaseDataset def find_dataset_using_name(dataset_name): # Given the option --dataset [datasetname], # the file "datasets/datasetname_datas...
[ "pleaseconnectwifi@gmail.com" ]
pleaseconnectwifi@gmail.com
7394196141ce1c2e71451faef43e3d4e10449f9e
1282d997743da549f64b70b7e7dbc77cf4240331
/02/xor.py
fbfaea3a2b45af86a80bca94aa58cfb97552f63b
[]
no_license
maxxibull/crypto
85c77fceba81dde231dbb648a23047a5eead1237
28affa63a27ef399695b4d2f27fc8ad8d38cda79
refs/heads/master
2022-07-19T08:28:46.806941
2020-05-22T12:49:44
2020-05-22T12:49:44
247,513,361
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
import argparse def main(args): output = "".join([str(ord(a) ^ ord(b)) for a,b in zip(args.iv_previous,args.iv_new)]) with open(args.output_path, mode="w") as output_file: output_file.write(output) if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--iv-previous...
[ "maciej.kabala@icloud.com" ]
maciej.kabala@icloud.com
0f6fd30a83ee03904a7b5b16929c706f780840e8
f82f9f40a2618d73c0cab6b1da178ca5a1bb5991
/django/thumbnailgen/ppm_parser.py
c4f333d5da0f6f5558e956ad5db31e1f7150a65f
[]
no_license
deejoe/QuickBBS
3c1b971d53199e217a7cbbc7ddcf3afeb0d5efb1
468066c6289839703b5e1b34fa67d1e501e6a046
refs/heads/master
2020-12-07T15:42:46.249232
2016-07-27T18:18:43
2016-07-27T18:18:43
64,331,610
0
0
null
2016-07-27T18:16:43
2016-07-27T18:16:43
null
UTF-8
Python
false
false
5,108
py
""" Thumbnail services for the gallery. This is the universal code for creating and manipulating the thumbnails used by the gallery. """ import core_plugin import os import os.path from PIL import Image import cStringIO class PluginOne(core_plugin.CorePlugin): """ Subclassed core plugin. * ACCEP...
[ "Benjamin@schollnick.net" ]
Benjamin@schollnick.net
efa042ef139c999206deb20d41dcf7665503cac3
131200f61f8fe4c59d2c96757ccca4e210f76455
/django-whatsappbot-server/mysite/whatsappbot/functionalities/moodle/utility.py
d9bfdcc309f88d22a12a3c01ac49a4c5cc1ae290
[]
no_license
RKKUNDU/info-mine
31b80a4880958ccaad802638582e50cbe1766a87
c86ae3fc4bf19221728006e245899686c519ba1c
refs/heads/main
2023-01-31T19:57:42.482371
2020-12-18T13:05:35
2020-12-18T13:05:35
310,376,216
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
import getpass import sys sys.path.append("../../") class utils: def get_credential(): ''' fetch moodle credential from config file or USER INPUT ''' pass # moodle = moodle_credential() # if moodle.get_stored_token() is None or moodle.get_stored_userid is None: ...
[ "kundu.rohit06@gmail.com" ]
kundu.rohit06@gmail.com
987ab0b6c6d56227783ce5d319a505c1c5526fbf
aa64c62a3d246b87f3f1e5810a8f75b1d166aaf6
/paradrop/daemon/paradrop/core/config/haproxy.py
fc29f54f582c5117987eb8e786324404287cdf69
[ "Apache-2.0" ]
permissive
ParadropLabs/Paradrop
ca40b3373c0732c781f9c10d38da9b6e9fbd3453
c910fd5ac1d1b5e234f40f9f5592cc981e9bb5db
refs/heads/master
2023-02-26T17:51:53.058300
2022-03-01T17:46:10
2022-03-01T17:46:10
37,789,450
88
31
Apache-2.0
2023-02-16T05:24:46
2015-06-20T23:18:38
Python
UTF-8
Python
false
false
5,061
py
""" This module is responsible for configuration haproxy. """ import os import subprocess from paradrop.base import settings from paradrop.core.chute.chute_storage import ChuteStorage from paradrop.core.container.chutecontainer import ChuteContainer def generateConfigSections(): sections = [] sections.appen...
[ "hartung@cs.wisc.edu" ]
hartung@cs.wisc.edu
8ca76de59728c0a16b13a798b28e98865b5bdefc
a74e67be7b65bf303f3e3cf5430f372eacc0bdd2
/utils/pascal_voc.py
ed105bc78bbc9f8c809cc0803ef98a3d3d54f011
[]
no_license
Huanyongji/Yolo-tensorflow
95c1af7d529640d806f0d2aa56d96f3603c2dbad
7d18555f0f1884e6b8d7522601e60da5e64a1184
refs/heads/master
2021-08-24T00:32:00.313777
2017-12-07T08:28:18
2017-12-07T08:28:18
113,019,093
4
0
null
2017-12-04T11:02:54
2017-12-04T08:58:18
Python
UTF-8
Python
false
false
5,820
py
import os import xml.etree.ElementTree as ET import numpy as np import cv2 import cPickle import copy import yolo.config as cfg class pascal_voc(object): def __init__(self, phase, rebuild=False): self.devkil_path = os.path.join(cfg.PASCAL_PATH, 'VOCdevkit') self.data_path = os.path.join(self.devki...
[ "noreply@github.com" ]
noreply@github.com
46e70c92c945efb121e546f20f6ad5f36000bc5d
3830a28419367f66491bf05c39a53e09943b8d38
/HW5-4_WeijiaCheng.py
d4117bbc1efbcc25683cf0fbd024d8af878715b6
[]
no_license
weijiacheng123/MIS3301_PythonHW
553248d2e603baaf867cd73f4b1c87e67f9adbae
6987b493505dffa5ccaf911ac3c560957e73ad05
refs/heads/master
2023-07-29T21:30:27.544904
2021-10-02T21:04:49
2021-10-02T21:04:49
412,910,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
# The following is used as a global constant the contribution rate. CONTRIBUTION_RATE = 0.05 def main(): gross_pay = float(input('Enter the gross pay: ')) bonus = float(input('Enter the amount of bonuses: ')) A = show_pay_contrib(gross_pay) B = show_bonus_contrib(bonus) show_total_contrib(A,B) ...
[ "weijia_cheng1@baylor.edu" ]
weijia_cheng1@baylor.edu
7b0b292babcbbb4b60a982708335b52f4a952e77
dddde4af357478086ebda82d4ae2fc4e0ef7648a
/angularblog/urls.py
6df6e8bf707ae8973436aff9001dd59ba03f17c5
[]
no_license
zishanjawed/Team-Wave
cbcb33e9f514c02b86c329974e277b9a1118ffa2
35f3c1c50dcdfabb7d0d3bb9164b21ad6349cff6
refs/heads/master
2023-03-20T15:25:41.369941
2021-03-08T10:09:35
2021-03-08T10:09:35
345,611,177
1
0
null
null
null
null
UTF-8
Python
false
false
810
py
"""angularblog 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-b...
[ "zishanexplore@gmail.com" ]
zishanexplore@gmail.com
d0332e02065bc60741c313d243c08d4191eda31b
101c7b6ebf1b43b0b469100b2d8cac5cdb0dc1da
/chainer/functions/normalization/l2_normalization.py
a8885c6a1ddaa918ea34d18e30c8f672c3d5e6f6
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yanii/chainer
62929d69241dc25d9df87b5845b276a7e1e0e2a0
c6f65db5689fd3ce99b101b89b5dbef42b0477d1
refs/heads/master
2021-01-12T21:17:37.535711
2016-07-14T11:23:18
2016-07-14T11:23:18
63,348,758
1
1
null
2016-07-14T15:36:51
2016-07-14T15:36:51
null
UTF-8
Python
false
false
3,119
py
import numpy from chainer import cuda from chainer import function from chainer.utils import array from chainer.utils import type_check class NormalizeL2(function.Function): """L2 normalization""" def __init__(self, eps=1e-5): self.eps = eps def check_type_forward(self, in_types): type...
[ "amitibo@campus.technion.ac.il" ]
amitibo@campus.technion.ac.il
3ac40ce48b69bac9a44b9ef69787b2fe2b9078b5
250787a6ef3507dbcec77d4d8021f2fe7f069287
/Code/pythonCrawler/pyutils/common/DateUtils.py
909123095cc8fca4e1379ebd40b56197afbabec8
[]
no_license
mayl1/pythonCrawler
ba9ab4aad00fefda3a5872d3d895fc1dfe146acc
cd48a427887dac0e342d079a186ad6321d58a62f
refs/heads/master
2021-04-28T01:18:49.758492
2018-02-21T01:10:45
2018-02-21T01:10:45
122,274,526
0
0
null
null
null
null
UTF-8
Python
false
false
10,150
py
# -*- coding: utf-8 -*- """ Date Library - DateUtils ~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2017 by Dongzhizhong :license: WTFPL (Do What the Fuck You Want to Public License). """ """ Python 日期和时间 Python 程序能用很多方式处理日期和时间,转换日期格式是一个常见的功能。 Python 提供了一个 time 和 calendar 模块可以用于格式化日期和时间。 时间间隔是以秒为单位的浮点小数。 每个时...
[ "13718706737@163.com" ]
13718706737@163.com
b5967a50b86a656975b1aac99eda67cd701a9789
5b4790ff194c47ecc2da2c583549b566c7e6d2b2
/config.py
d9371ba25bf0611e340ef1b90fc65c91a6b27fa5
[]
no_license
RyanAquino/slack-bot-ryanaq
15bee8a346a7e362b5d416174274540d426e8a78
3a2fc3a83e641002a8e77f78e0751d831a0cf5d6
refs/heads/master
2022-12-10T14:29:56.612421
2020-06-30T10:11:54
2020-06-30T10:11:54
143,090,581
1
0
null
2022-12-08T11:00:09
2018-08-01T01:56:33
Python
UTF-8
Python
false
false
157
py
# Twitter Developer access keys API_KEY = '' API_SECRET = '' ACCESS_TOKEN = '' ACCESS_SECRET = '' # Slack API incoming webhook url HOOK_URL = '' OAUTH = ''
[ "ryan.aquino7110@gmail.com" ]
ryan.aquino7110@gmail.com
822ea425411bdb6781d094c73c356248dc0ce97c
d3380c20a1b0b5a90e7b67bf86d90074940cdb7e
/getCookie.py
07d4205bc6125fa1af1a895db395deb4957f3d79
[]
no_license
feiteng/LCSubmit
f0ccd95e48cf67eab89af169682117756b9a7a7d
baeeadff377c1ee6834e4e2518c5ab9370374c5a
refs/heads/master
2023-04-27T20:31:28.040308
2021-05-14T03:26:35
2021-05-14T03:26:35
366,865,400
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import os, configparser # import setCookie def getFromFile(str): config = configparser.ConfigParser() try: config.read('cookies.ini') except Exception as err: print(err) print('Error finding cookies config file') return '#' return config['cookies'][str] def getCSRFToke...
[ "li.feiteng@gmail.com" ]
li.feiteng@gmail.com
1c4bdff37adc167430e03f699792f53a4f2a4030
c5e2022993f33e9b59c8d815d664ca86db706cea
/products/migrations/0005_auto_20200607_1858.py
943448e6f39a02bcfc712a3430f6a16569ee906d
[]
no_license
Code-Institute-Submissions/ColourPerfect-e-commerce
c38b4b119cbbd73bb8ff2e568a3fb19e5049001e
fc5dd74c087fee5b990a1216148b7764c6b289ce
refs/heads/master
2022-11-11T18:54:18.997957
2020-07-10T09:18:01
2020-07-10T09:18:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# Generated by Django 3.0.6 on 2020-06-07 17:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0004_auto_20200607_1849'), ] operations = [ migrations.AlterField( model_name='colour', name='name', ...
[ "amalinowska.p@gmail.com" ]
amalinowska.p@gmail.com
099c826ca381aac22fe38edc219e52b6862f4c2c
92f466877c55b154d20c2281e33de05ff03fd9ab
/Multivariate-Linear-Regression/hypothesis.py
509ce0c4446e0ddc58a6443945b265ff77dff904
[]
no_license
linonymous/Machine-Learning-Algorithms
3c33be3ffddd9899e81fb9c32e5c7129ef74e6e9
9cf2403ffcca32621eb784d7cc9dbf76edbc3e3c
refs/heads/master
2021-01-18T05:00:25.109801
2017-11-23T18:30:33
2017-11-23T18:30:33
84,276,536
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
import numpy as np def hypothesis(input_x, theta): return np.dot(input_x, theta)
[ "iamlinonymous@gmail.com" ]
iamlinonymous@gmail.com
5aad9c32a7809332a91ba9a85801d876ebcd853b
23b3242a18da2281e82ac7688d43939b217a1316
/coordinator_start.py
1b7cf0f5ce8013ac0f77c4e936345ba433a397b3
[ "MIT" ]
permissive
danielczech/meerkat-backend-interface
517e18bfa32ef78a938ea790f7040ff3831138e1
e21f05eb174ec1f8005067f67aa15fa795b7b5a1
refs/heads/master
2023-06-10T23:49:30.963047
2021-06-29T20:51:21
2021-06-29T20:51:21
176,833,160
1
1
MIT
2019-04-17T20:59:15
2019-03-20T23:35:09
Python
UTF-8
Python
false
false
1,757
py
#!/usr/bin/env python from optparse import OptionParser import signal import sys import logging from meerkat_backend_interface.coordinator import Coordinator from meerkat_backend_interface.logger import log, set_logger def cli(prog = sys.argv[0]): """Command line interface. """ usage = "usage: %prog [op...
[ "daniel.czech@protonmail.com" ]
daniel.czech@protonmail.com
7c97eebca3c268aac0fac67c275cb89a004e90c4
7d6f530215177172c1aff4f7d52ec1b96db51612
/backend/src/config.py
aa133308bd661935eea90e88b09dca49f795038f
[]
no_license
vdoan98/rss-feed
6d3de331e3939e37b332abfe44b208e0772a6a0b
5775a70a9c04efb97780bdf3685579dd9724efc9
refs/heads/master
2022-12-11T11:33:00.370738
2020-09-15T22:00:36
2020-09-15T22:00:36
294,489,395
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
SECRET_KEY = 'emmanualkant' DEBUG = True CLIENT_ID = '9N4Gb3f6empZr5irxRVOFaS4BIPZUIqG' CLIENT_SECRET = 'J-KSi3l9jVoRNp_SWe3dVzx4rctnyA5oV11OfUYKbUlvnG1yr6yc5I9mHA1ML1Ta' API_URL = 'https://vdoan98.us.auth0.com', ACCESS_TOKEN='https://vdoan98.us.auth0.com/token' AUTHORIZE_URL = 'https://vdoan98.us.auth0.com/token'
[ "vdoan98@gmail.com" ]
vdoan98@gmail.com
9b1e4ab95d98b1510916fa7f45ad4267cf1424e8
47dad1897990394883f2c16b0904e4cdae3e054c
/datadriven/datasets/friedman/friedman.py
0fed585ae10c6dfe20af20e9a798220d5ee7a5ce
[ "LicenseRef-scancode-generic-exception", "BSD-3-Clause" ]
permissive
QianWanghhu/SGpp
430207e3f533eb96d57540b00475d303b0d955e5
c36a95127d0ec833d4f45b8ed44ad3ffe482ae64
refs/heads/master
2020-09-20T03:37:26.170177
2019-11-26T10:43:02
2019-11-26T10:43:02
224,367,076
2
0
NOASSERTION
2019-11-27T07:08:00
2019-11-27T07:07:59
null
UTF-8
Python
false
false
3,837
py
# Copyright (C) 2008-today The SG++ project # This file is part of the SG++ project. For conditions of distribution and # use, please see the copyright notice provided with SG++ or at # sgpp.sparsegrids.org #!/usr/bin/python import sys, os, re, optparse, random, math sys.path.append("../../bin/") import tools from p...
[ "roehner@in.tum.de" ]
roehner@in.tum.de
536cec1f4e6c3da84f27eaf0da067e7082bd07f9
5fb17857491c661c4b070417a04b4a428b0dbdb6
/Software/Image Process & Robot Tracking/robot_tracker.py
5824d0314103685b1a63a7695be8a6f31e1060e8
[ "MIT" ]
permissive
EWA-Mechatronics/ME462-Project
7a690ecc85cdd1ccb18e1f6e20b4858eac075edc
23ba7331ffe845c1256209ca465cecec5092c8fd
refs/heads/master
2021-02-08T04:41:03.907211
2020-08-05T03:51:42
2020-08-05T03:51:42
244,110,376
5
5
MIT
2020-03-12T12:37:47
2020-03-01T08:04:33
null
UTF-8
Python
false
false
4,150
py
''' This code used for to dectect robot markers and from them extract location and orientation of robots w.r.t. origin marker. ''' import cv2 from cv2 import aruco import numpy as np import math camera = cv2.VideoCapture(0 + cv2.CAP_DSHOW) # Enables camera def isRotationMatrix(R) : #Checks for valid...
[ "noreply@github.com" ]
noreply@github.com
2bf5c85b7461a762b5d02854d7f70fd155e8958c
5eaedd3842270186750e07725fd582e6c79c0720
/hasilTest/plot.py
da91f391e93092f6508ebb873767d8507d31ea41
[]
no_license
lefalya/papers-docs
efe51daaaa913442922b6144e25460965f61ed02
5b8486140752ab7a89c1dab07be56a8f67af7751
refs/heads/master
2020-05-20T15:23:52.393984
2019-05-09T15:05:33
2019-05-09T15:05:33
185,643,584
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
import matplotlib.pyplot as plt dot = [] with open('./doppler_compensator_test.txt', 'r') as f : data = f.readlines() print(data) plt.plot(data, range(len(data))) plt.show()
[ "falya.bernino@gmail.com" ]
falya.bernino@gmail.com
4a868a3af85b9f9f76134d6518281c3d68618b13
8d517cc03cbbfc1b80d7403f62360ee1074067a0
/DLS_websocket/GUARD/server.py
928fb54bc4d977cf014af655a9a5246e1b20abfc
[]
no_license
SmallYi/Websocket_Demo
c803ec05ee983c28b9241d910830542fb818d463
35db86200c3ef546df553c1a685f2d6453d7e13f
refs/heads/master
2020-07-03T12:03:44.153144
2019-08-12T09:30:38
2019-08-12T09:30:38
201,894,803
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
import SocketServer import time from kafkaClass import Kafka_producer class Server(SocketServer.BaseRequestHandler): def handle(self): conn=self.request print(conn) kafkaproducer=Kafka_producer('master:9092,slave1:9092,slave2:9092','HelloKafka') error_flag=0 data_r='' ...
[ "734966463@qq.com" ]
734966463@qq.com
60bca6fdd3d12d7f7f9c171b16b437469a0d92af
35a1be2135023d8fac9e0359ad7ac56b25abc0a9
/main.py
3387cc6372cdb122b57a9dfdb0b4834c08c98d7b
[]
no_license
mechbear14/mysterious-forest
8243784ccef9cf655e326c6be70f6494ac3e5f28
8b1575e95136e02e4dde08cde542059a7b72b999
refs/heads/master
2021-04-19T13:53:36.345190
2020-03-26T04:05:55
2020-03-26T04:05:55
249,610,039
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
from world import Forest forest = Forest(6, 5) if __name__ == "__main__": forest.go_to(0, 1) forest.go_to(0, 2) forest.go_to(0, 3) forest.go_to(1, 1) forest.go_to(0, 0) forest.go_to(1, 0) forest.go_to(1, 1) forest.go_to(0, 2) forest.go_to(0, 3) forest.go_to(0, 4) forest.go_...
[ "no6xichengavenue@gmail.com" ]
no6xichengavenue@gmail.com
76d77788dd84fd7c82660fbbd887258c0b4258f9
290247a61047bcb9af63a1bbb2aad90e3a62aa6b
/tests/test_basics.py
51909a749e3f2a600be8ca8c8f57f6aab0b86aea
[]
no_license
johngngn/learnflasky
19aa31b0ef8d63bdaef339a8adb8855c0304c22f
301949e77022a612705fd49d16fddc615297a613
refs/heads/master
2021-01-10T09:58:41.797806
2016-01-16T10:16:08
2016-01-16T10:16:08
48,409,253
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
import unittest from flask import current_app from app import create_app, db class BasicsTestCase(unittest.TestCase): def setUp(self): self.app = create_app('testing') self.app_context = self.app.app_context() self.app_context.push() db.create_all() def tearDown(self): ...
[ "a290873309@gmail.com" ]
a290873309@gmail.com
f6cbe10ec60a3e67c3d01909eb6787f81d784725
52b5fa23f79d76883728d8de0bfd202c741e9c43
/kubernetes/test/test_v1_horizontal_pod_autoscaler.py
315840a3d5385881407d0c8128db6c771a02de99
[]
no_license
kippandrew/client-python-tornado
5d00810f57035825a84e37ff8fc89a7e79aed8da
d479dfeb348c5dd2e929327d800fe033b5b3b010
refs/heads/master
2021-09-04T13:01:28.275677
2018-01-18T23:27:34
2018-01-18T23:27:34
114,912,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.8.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "andy@rstudio.com" ]
andy@rstudio.com
89e06687f93fce54b05689e3792cc5692934b929
da497ddf926b8791f3812c79543120215822216b
/icsbep/pu-sol-therm-012/openmc/case-14/generate_materials.py
8eab1d8d6513479d03829680991c284d7261e01d
[]
no_license
mit-crpg/benchmarks
55f38e569699554d07df254103e2f828dc5b4ff8
58e15679ec684b9e2f552df58099e3648b5708cc
refs/heads/master
2022-05-17T12:27:45.590757
2022-05-09T15:07:00
2022-05-09T15:07:00
2,704,358
23
30
null
2019-11-11T16:35:27
2011-11-03T19:04:29
Python
UTF-8
Python
false
false
1,822
py
import openmc mats = openmc.Materials() mat = openmc.Material(1) mat.name = "Plutonium nitrate solution (52.7 g/L)" mat.set_density('sum') mat.add_nuclide('Pu239', 9.86655e-05) mat.add_nuclide('Pu240', 2.50004e-05) mat.add_nuclide('Pu241', 7.41089e-06) mat.add_nuclide('Pu242', 1.49702e-06) mat.add_nuclide('Am241', 8....
[ "paul.k.romano@gmail.com" ]
paul.k.romano@gmail.com
d62b463aa6a343af04deaa82256d72010e4e2d68
00d266aef2b9a23d6c00aed1049ea461eb19e2d1
/karger_minimum_cut/minCut.py
f74e6b3c6f6564cd4b93e979d5a6900cecacf332
[]
no_license
ancabilloni/algorithms_practice
3f3992d982969b01ccfb16d453433e5e5e435d56
3bcc8d0a004eae11654ab4b977b3637dfc5e0ed6
refs/heads/master
2021-04-03T10:19:19.529173
2018-03-15T02:50:36
2018-03-15T02:50:36
123,497,989
0
0
null
null
null
null
UTF-8
Python
false
false
3,702
py
""" Given the file contains the adjacency list representation of an undirected graph. There are 200 vertices labeled 1 to 200. For each row, the first column is the vertex label, and rest of the entries are the adjacent vertices. Task: Code and run the randomized contraction algorithm to compute the min cut for the gr...
[ "anguyen3@rockets.utoledo.edu" ]
anguyen3@rockets.utoledo.edu
09db562a43a4de24b3c2c642181d463e0a4b80ae
6d9795fa1aafc0fa5316020aaa0eaa4f68b76229
/sellproperty/models.py
63aa8f893cb9dcbfbd6429438758eeac799571cd
[]
no_license
icerahi/immolists
02d379a22c193e793b26e35828b5eebff33bf888
813333c3923385861f111bb7aa715aeb04108c3a
refs/heads/master
2022-12-15T15:00:39.844142
2022-01-06T10:06:44
2022-01-06T10:06:44
196,600,572
0
0
null
2022-11-22T04:14:43
2019-07-12T15:12:33
JavaScript
UTF-8
Python
false
false
6,052
py
import os import random from django.contrib.auth.models import User from django.db import models # Create your models here. from ckeditor.fields import RichTextField from ckeditor_uploader.fields import RichTextUploadingField from django.conf import settings from django.db import models from django.db.models.signals ...
[ "zanjarwhite@gmail.com" ]
zanjarwhite@gmail.com
84089dc53634f26772a28b3d1295ad8597608f1f
2cc7b406ad37ae5f4858a33e535970a229ed14ac
/pi/python_games/tetrominoforidiots.py
da62660a4f3352fb56d650a5330fd34d1f0a4ad8
[]
permissive
mfitzgerald2/ScanINSoftware
aa9111146358057c2849cd89937df0a3d3032cb7
13af43805a5ecf04347cfba638926bcda8bed623
refs/heads/master
2020-03-06T17:22:27.730362
2018-04-24T12:26:28
2018-04-24T12:26:28
126,988,710
0
2
MIT
2018-03-27T14:18:55
2018-03-27T13:14:27
PHP
UTF-8
Python
false
false
15,759
py
# Tetromino for Idiots # By Al Sweigart al@inventwithpython.com # http://inventwithpython.com/pygame # Released under a "Simplified BSD" license # KRT 17/06/2012 rewrite event detection to deal with mouse use import random, time, pygame, sys from pygame.locals import * FPS = 25 WINDOWWIDTH = 640 WINDOWHEIGHT = 480 B...
[ "fitzge26@purdue.edu" ]
fitzge26@purdue.edu
df7b811732f0bfb7df69e40f65934210a0fc7000
b49253e9a27c1626c37df71806e39bad23587dbc
/webapps/settings.py
04f86c08ffe0e499b6fd57b557428ac1fe07ca20
[]
no_license
lzy0411/newtry
9dd59c474e9cf19df3756255c47b82401093478d
58189e2617daa3b2d9639f975dd5488ad8bba4b9
refs/heads/main
2023-01-24T06:50:44.684718
2020-12-06T16:50:35
2020-12-06T16:50:35
318,941,883
0
0
null
null
null
null
UTF-8
Python
false
false
4,112
py
""" Django settings for webapps project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib im...
[ "zeyuanli@andrew.cmu.edu" ]
zeyuanli@andrew.cmu.edu
654879c2638886e4b9d482aa8c35bc8e992e3a80
1b493677f623ac54027b8d47e9994bbbc51a8c79
/rango/models.py
d81f4b797441143ca3ba815b3c07f83ce4b0a802
[]
no_license
Junjie98/tango_with_django_project
a63d764b9ecc2fcf9b05bddc079b025a4fb68280
451019252b2b75172d3f7a273ee16d901b33a09f
refs/heads/master
2023-06-30T09:22:40.299582
2021-07-30T13:42:51
2021-07-30T13:42:51
389,663,501
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
from django.db import models from django.template.defaultfilters import slugify from django.contrib.auth.models import User class Category(models.Model): NAME_MAX_LENGTH = 128 name = models.CharField(max_length=NAME_MAX_LENGTH, unique=True) views = models.IntegerField(default=0) likes = models.IntegerF...
[ "nelsonlow_88@hotmail.com" ]
nelsonlow_88@hotmail.com
6f0a932bb496bd530acf0346ee4ffc508b7279cc
d51401cbd0b98c37f0b35efd617bd18717983828
/seccion8_ejrs/ejr3.py
2e067e6643e6492faf751e8b294099b348b73bc2
[]
no_license
Marlon97/Curso_python_u
b21f7aaa33d208b99495ee4f16cfbd7cd00058a6
da1f179e6779e9ae1863a7f6ca8d04a3d9987aa1
refs/heads/master
2022-11-28T08:50:54.608500
2020-07-29T07:16:32
2020-07-29T07:16:32
283,403,586
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
contador = 1 while(contador<61): print(f"el cuadrado de {contador} es {contador**2}") contador+=1 for contador in range (1,61): print(f"el cuadrado de {contador} es {contador ** 2}")
[ "A01379404@itesm.mx" ]
A01379404@itesm.mx
5b5cae4b38cb318516d558efd98056635d0fbbfd
fe79e7ccebb7b209324487de3f0f429ddfe89c8d
/src/collab_filtering.py
ff52a0dcd862915870abd22e320829f7b5746ef9
[]
no_license
ktitan123/Py-Reco
6c0ee7e6825eacbd0b4e5d0f3ec18ed1f9b3da84
6b7b2b145e997de0f13581c2f53a3131487e678d
refs/heads/master
2016-09-05T20:45:23.042248
2015-04-15T09:06:18
2015-04-15T09:06:18
32,513,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,352
py
import math def average(user,d): l=d[user] sum=0.0 n=0 for x in l: if x != 'x': sum=sum+x n=n+1 return (sum/float(n)) def itemSimilarity(item1, item2, d): users=[] index1=movies[item1] index2=movies[item2] for x in d: if d[x][index1]!='x' and d[x][index2]!='x': u...
[ "kevin.sebastian@flipkart.com" ]
kevin.sebastian@flipkart.com
96a2619f71a797d5d72ae26e3c5af54bd97c4c61
e53361472f91a7798e52a0112769a285413e01a3
/agent-client/glms/simple_thread.py
21a93b36dd9c596f00d67d3c6f98b95d1171a755
[]
no_license
allenjin/GLITS_Manager
ef0b5df159290563eaa8f416989b878ae2b293ba
8eefedbb4693b31d5f61d8453defcd904ba737af
refs/heads/master
2021-01-10T14:30:34.010477
2016-02-17T11:08:34
2016-02-17T11:08:34
48,750,617
1
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
import logging import threading import time LOG = logging.getLogger(__name__) class SimpleThread(threading.Thread): def __init__(self, name, fn, *args, **kwargs): threading.Thread.__init__(self, name=name) self.setDaemon(True) self._fn = fn self._args = args self._kwargs =...
[ "allen3jin@163.com" ]
allen3jin@163.com
4de36e3b4b7819d39bea1a5fc28371a28f807256
5a67a73ff4b8388a3109ca5ff1f89ea0b8ac780f
/manualImage.py
3e6a66bc1a71f4bd75f973bf16c805a5519df028
[]
no_license
paperclip/cat-camera
4919db4f181fb1d14ef8bed42461f425db6b2010
5e246b057d7600df5d2e92e9723dadf12a44118b
refs/heads/master
2022-09-29T12:51:22.464915
2022-08-29T13:35:28
2022-08-29T13:35:28
150,312,844
1
0
null
null
null
null
UTF-8
Python
false
false
9,199
py
#!/bin/env python from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import re import json try: import PyQt5.QtCore as QtCore from PyQt5.QtWidgets import QApplication except ImportError: try: import PyQt4.QtCore as QtC...
[ "douglas.leeder@gmail.com" ]
douglas.leeder@gmail.com
2496fe20939060e4e360a7862a99df132f61170b
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/homeassistant/components/sensibo/sensor.py
8048eece3389bcd056ef788ba4ca8de6ce7edddc
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
12,334
py
"""Sensor platform for Sensibo integration.""" from __future__ import annotations from collections.abc import Callable, Mapping from dataclasses import dataclass from datetime import datetime from typing import TYPE_CHECKING, Any from pysensibo.model import MotionSensor, SensiboDevice from homeassistant.components.s...
[ "noreply@github.com" ]
noreply@github.com
88547a812253911bf4aa61845c37ea6cdb4c44a0
7681be3d385e4d05eeda61d711bae142efdd2f1f
/www/app.py
ed23b783400c4fb53a2399773b82527e04f96eb4
[ "Apache-2.0" ]
permissive
zzy0471/spyblog
93dc93f7a477af64eba0ee8e12cd8407f3fa0c59
5dbb192fbd7cb3e14f72b38e0e2dbef244461440
refs/heads/master
2021-01-19T05:33:29.165857
2016-07-08T00:37:22
2016-07-08T00:37:22
61,761,096
1
0
null
null
null
null
UTF-8
Python
false
false
598
py
#!/usr/bin/python3 import logging import asyncio, os, json, time from datetime import datetime from aiohttp import web def index(request): return web.Response(body = b'<h1>Hello</h1>') @asyncio.coroutine def init(loop): logging.basicConfig(level=logging.INFO) app = web.Application(loop = loop) app.ro...
[ "zzy_0471@163.com" ]
zzy_0471@163.com
602534b2b5640835f91753fe88773c67f8116f05
7da6ecf172b3e9354d93ddfe06f87b930fad90b3
/pickup/generator_profile/folder.py
8b6f79f8d7e9a8b25b0989cacbb483ad3f55c10e
[]
no_license
exhuma/pickup
05f8d271de95d76b337a6994dcd21799fe0e4b34
688b05d0ae1276dcc386b45c8ddb1cea71b15cb1
refs/heads/master
2016-09-06T01:21:08.343607
2011-07-15T15:09:10
2011-07-15T15:09:10
1,059,260
5
0
null
null
null
null
UTF-8
Python
false
false
3,683
py
""" The folder plugin create a bzipped tar file for a specific folder. It is also possible to specify a parent folder and create individual tarballs for each folder and one for files beneath that folder. Configuration ~~~~~~~~~~~~~ The following fields are used by this plugin: **path** (string) The folder ...
[ "michel@albert.lu" ]
michel@albert.lu
20651e32d909f28fe941ac052d688ca545b59ec8
3145c8c63bfe2f65ac5e37f38a226b866080d0c7
/myDbGen.py
82ec07857c31b23d98cf182c390e873e03fe8e2f
[]
no_license
Kirshan1205/_pycademy
c9db93d9081d5ca78583e00c6fd09c4589e46686
6579fb86dd6548a7b919fbbfd4d1c62244608c4b
refs/heads/master
2021-01-07T23:45:26.156098
2020-02-20T10:23:53
2020-02-20T10:23:53
241,853,938
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
import pickle, json, pprint, os from pymongo import MongoClient con = MongoClient("mongodb://maysam:0183552313@ds149479.mlab.com:49479/pycademy") db = con.pycademy pp= pprint.PrettyPrinter(indent=4) dirs=os.walk(os.getcwd()+'/database/courses').next() # ----- reading db from json file------ with open('db.json') as ...
[ "maysam@kidocode.com" ]
maysam@kidocode.com
59ca19d850aaded2ce8f83598274f14f60a18201
3bc0c7eb2eab102a599b829c5a46f55c70d1f67e
/main/models.py
587f6124c3861d458048c747e1b3d5c89742fbf3
[]
no_license
Mrfad/resume
7c22ed7137109484a8aa9661f96ccaae1274eba0
fccafe6b74eb148e357dae283780c33b3e160018
refs/heads/main
2023-08-19T21:02:20.794765
2021-09-19T17:00:41
2021-09-19T17:00:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,265
py
from django.db import models class About(models.Model): header = models.TextField() img = models.ImageField(upload_to="profile/", null=True, blank=True) title = models.CharField(max_length=150, null=True, blank=True) intro = models.TextField(null=True, blank=True) address = models.CharField(max_len...
[ "fady.ghalayiny@outlook.com" ]
fady.ghalayiny@outlook.com
66dc0f2daff11b6cce93fd0485b61c72d2d44f92
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/pango.py
534919580c9ee2d79f2ed539a86e1db554ea72c2
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
from .base import GnuRecipe class PangoRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(PangoRecipe, self).__init__(*args, **kwargs) self.sha256 = '1d2b74cd63e8bd41961f2f8d952355aa' \ '0f9be6002b52c8aa7699d9f5da597c9d' self.name = 'pango' self.de...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
c85c460a448c4a63602d3d96b271abbdb9f524f3
afbcda99c55aeb26360d593f1abe99afbbb1d1b7
/Python/Temppraw/temppraw.py
e6309910cf300fdc9d0c9bc4b437f7b346c77495
[]
no_license
cstuartroe/misc
b4c4fb2f8ef7341acf99f35e9eece1cf3769a0fc
307b00c3ab7e51204401e84bd6c4466315889dfe
refs/heads/master
2023-08-17T19:07:59.535257
2023-08-06T16:07:27
2023-08-06T16:07:27
156,424,382
0
0
null
2022-05-25T02:00:29
2018-11-06T17:50:34
Java
UTF-8
Python
false
false
859
py
import praw import time import datetime current = time.time() reddit = praw.Reddit(client_id='PTofuEjEjIPbcg', client_secret='_R0b3zmCvjXGPseYbaPIUEnZAlU', password='LinguisticsIsCool208', user_agent='testscript by /u/conor_emily_ling208', ...
[ "cstuartroe@haverford.edu" ]
cstuartroe@haverford.edu
2fc35c78749760c361cd5b6ea2884fc7fd16bb07
f8a66f137d53306d1f05db6a2a6a0f4d0bd5acf1
/Cyber-Main/JSL_Threat_Intel_Framework_whodat/a.py
f08854459bb01f5f6acedb36866ec7d61afe6614
[]
no_license
sec-js/JSL-Cyber-ThreatIntelCore
5d9e63a5fca0b0d2e250d682332ad86286277205
a66c350b42c7ed95a4e3703e82983626fdab8ab7
refs/heads/master
2020-12-03T12:46:53.319750
2017-02-03T19:32:30
2017-02-03T19:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,957
py
import csv def write_final_output(dico): f = open("outputfile", 'w') f.write( 'pipelineid' + ',' + 'datauploadid' + ',' + 'uuid' + ',' + 'referential' + ',' + 'datasourcename' + ',' + 'date' + ',' + 'cog' + ',' + 'model' + ',' + 'concept' \ + ',' + 'segment' + ',' + 'pedigree' + ',' + 'confide...
[ "jonathan@johnsnowlabs.com" ]
jonathan@johnsnowlabs.com
9be5c86ac51d2d6aeb06cdaa2a38671bb3997d9d
629f8699870607f37a400655a2ccf4b94e1d0925
/api/tests.py
83cab9f11bf372bf6945060f623bee1ad89f0d1d
[ "MIT" ]
permissive
wendymunyasi/alcohol-tracker-api
5ec4cbc628fb7947d83b4c6c7dd919de8c206083
ee837817303e0d86d590dd1ae046e4675817f79d
refs/heads/master
2023-07-31T14:39:08.075432
2021-01-25T11:32:44
2021-01-25T11:32:44
279,367,389
2
0
null
2021-09-22T19:32:51
2020-07-13T17:21:29
Python
UTF-8
Python
false
false
1,061
py
from django.test import TestCase from .models import NewsLetterRecipient class NewsLetterRecipientTestCase(TestCase): ''' Test case for the newsletter recipients model ''' def setUp(self): self.new_newsletter_recipient = NewsLetterRecipient(email="damon@gmail.com") self.new_newsletter_recipi...
[ "wendymunyasi@gmail.com" ]
wendymunyasi@gmail.com