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
3fd9cb3ce9c4a405a2d2b5f607dd593c9f79656b
8d2c2f2f80204c4d90ed691dc0c8ed148cbe20af
/code/resnet_nobn.py
6321e24d469e58f71aa80464976117f4a05a6274
[]
no_license
matttrd/information_sampler
1dbf434622fd383a60b8f36a03a55c0681ef0cd2
f2cdbd00a7828bdf526cf7b4869e0a899f559d2b
refs/heads/master
2022-04-09T06:39:20.278305
2020-03-31T21:29:21
2020-03-31T21:29:21
176,366,532
0
0
null
null
null
null
UTF-8
Python
false
false
3,631
py
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn import torch.nn.functional as F class BasicBlock(nn.Module): expansi...
[ "matteoterzi.mt@gmail.com" ]
matteoterzi.mt@gmail.com
f223475d9486a080b7b1aca585647310abe8c018
2e6248663931cac90404e7ed63cb905ff1854b90
/sycomore/rf_spoiling.py
eb11c03f22a8b95749edcaed5c904f5849b3e1c5
[]
no_license
ruojianhua1/sycomore-web
30b2a69843667b07a55af620ba78864bc227fd4d
a3fb38d7548939c3fa33ab838aa658cc0b89a9a9
refs/heads/master
2023-03-22T03:59:07.543015
2020-01-22T09:10:06
2020-01-22T09:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
import numpy import sycomore from sycomore.units import * def rf_spoiling( model, flip_angle, TE, TR, slice_thickness, phase_step, repetitions): t_readout = TR-TE G_readout = (2*numpy.pi*rad / (sycomore.gamma*slice_thickness))/(TR-TE) echoes = numpy.zeros(repetitions, dtype=complex) ...
[ "lamy@unistra.fr" ]
lamy@unistra.fr
78e390a3c58adb8b39e8063d78069270c87a2317
e0c5ca693621eff632f8b10cdec6942f14835e9a
/binaryToOctal.py
2d680100f22ac11632130486d6adf31711670bfb
[]
no_license
ShakteeSamant/my_program
ffb8adeef26a9ceb4ebaa178249f0a815aeeeb21
3c601f82dc8dc455a8d09ed06ac3fc7e7ec8c8a0
refs/heads/master
2020-08-09T02:54:55.516844
2019-10-22T18:24:53
2019-10-22T18:24:53
213,981,857
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
# Write a Program to convert binary number to octal number. import decimalToBinary import decimalToOctal binary = int(input('Enter the Binary Value: ')) decimal = decimalToBinary.binaryToDecimal(binary) # decimal= decimal.strip() decimal= int(decimal) octal = decimalToOctal.decimalToOctal(decimal) print(f'Binary {b...
[ "lucky.ssp123@gmail.com" ]
lucky.ssp123@gmail.com
163f42dea8e8032a2c607490214273e7151c07fe
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/notepad2/testcase/firstcases/testcase3_010.py
5e1e4a976a0825757fc871a9d6bde4ddddf53119
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
3,308
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
f2021722c2a524886edf1b637a86908671d5fc05
4918b1df8d8bd2343c24ead672dfc56882d91af4
/gym_traffic/agents/epsilon_explorer.py
ba4d734d99ca9d9390778d99624aee7edeeebfbd
[]
no_license
Crowdhackathon-SmartCity2/young-THMERA
7aa00001a85b03f8507cfed40033c75ed3b04918
cbbe3cb40b3269f11dad6f6249bf5254324d6592
refs/heads/master
2020-03-21T21:40:22.598589
2018-07-01T08:58:25
2018-07-01T08:58:25
139,076,960
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# from agent import class EpsilonExplorer(): def __init__(self, agent, epsilon=0.1, decay=1e-6, seed=None): self.agent = agent self.step = 0 self.epsilon = epsilon self.decay = decay super(EpsilonExplorer, self).__init__(agent.input_space, agent.action_space, seed=seed) ...
[ "geomac.mac@gmail.com" ]
geomac.mac@gmail.com
9e54269c162580b6585706bcfc401a469f121965
807305b8aefbd7aac4f44c67deed06c059ca02d9
/tests/databases/value/test_database.py
3f26650ec4063233ba8ff239621aca52b79828e1
[ "MIT" ]
permissive
supramolecular-toolkit/stk
c40103b4820c67d110cbddc7be30d9b58d85f7af
46f70cd000890ca7c2312cc0fdbab306565f1400
refs/heads/master
2022-11-27T18:22:25.187588
2022-11-16T13:23:11
2022-11-16T13:23:11
129,884,045
22
5
MIT
2019-08-19T18:16:41
2018-04-17T09:58:28
Python
UTF-8
Python
false
false
862
py
def test_database(case_data): """ Test a database. Parameters ---------- case_data : :class:`.CaseData` A test case. Holds the database to test and the value to put into it. Returns ------- None : :class:`NoneType` """ _test_database( database=case_dat...
[ "noreply@github.com" ]
supramolecular-toolkit.noreply@github.com
2fa1e6bbbda26c6f54d7e47681f4800908bc0c6a
c21830d34bbb4b918d75c7818111ba7a9c428b1d
/results/exp2/model_tests.py
bec841c17f01979710fa7937e4bb787bc5a7788f
[]
no_license
JWijkhuizen/model_training
9ec719f48a97296bb19432006b29fef6096d8627
f52712452113fcdff709db951d48bd31c3f929c4
refs/heads/master
2023-01-14T10:04:41.681444
2020-11-17T11:14:19
2020-11-17T11:14:19
279,030,329
0
0
null
null
null
null
UTF-8
Python
false
false
6,011
py
#!/usr/bin/env python # import rosbag import rospy import os import glob import rosbag_pandas import matplotlib.pyplot as plt import statistics as stat from openpyxl import Workbook import pandas as pd import numpy as np from mpl_toolkits import mplot3d from sklearn.linear_model import LinearRegression from sklearn.li...
[ "" ]
ebd75111d292c8ff49d8ca2f1ea59dc118086a64
40e58ad8c90b22fbf2231b93ee72f3c42e4dc3df
/ch9ex1.py
6a67bb7a597a784bb4e483b220ad3cdcca7ffe76
[]
no_license
ungerw/class-work
0bd7139e34b4ac388196299feabdfeb116f75655
62524638734e71e01bc5f71c4d8480118ced4892
refs/heads/master
2021-04-28T03:04:30.068926
2018-02-19T23:22:56
2018-02-19T23:22:56
122,131,110
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
fname = input('File name: ') fhand = open(fname) count = dict() for line in fhand: words = line.split() for word in words: if word not in count: count[word] = 1 else: count[word] += 1 print(count)
[ "ungerw@uw.edu" ]
ungerw@uw.edu
ec84f518c191ee54bd3c6e5d801b5a6fa88b741c
d3eff5d37e03133ec5f74b4b10c5dbf39c2037b8
/test.py
b20b661c093c5805f93306d4853072f928f13685
[]
no_license
UserChen666/linear-program-solver
2a5eea74046424e11abed1517a4aacbc9dc134af
3320afa34234eb956ea7179df34fde84a4ed52cd
refs/heads/main
2023-06-18T13:37:27.174113
2021-07-16T04:01:11
2021-07-16T04:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from sys import argv import subprocess OUTPUT_PATH = '../tests/output' INPUT_PATH = '../tests/input' LP_SOLVER_PATH = '../lp/lp_solver.py' start_index = 1 end_index = 78 if argv[1] == '445': end_index = 2 if argv[1] == 'netlib': start_index = 3 end_index = 16 elif argv[1] == 'vander': start_index = 1...
[ "nilay@fispan.com" ]
nilay@fispan.com
bda82aa264a6cd37fbdca86199f7e8a06f6ebd7a
4cf88fa2aae372333ff658930a5121a7679aa866
/yatube/settings.py
b0e6143461177498b704a1b512944bdaf446c6c7
[]
no_license
DonAlehandro89/hw05_final
80362d07860a3fca2d12109ab3ef569c0b721564
a7d3e20ab198ddc779515a9af86a9abdabe2c532
refs/heads/master
2022-12-30T11:26:07.961822
2020-10-19T18:10:20
2020-10-19T18:10:20
303,947,759
0
0
null
null
null
null
UTF-8
Python
false
false
4,025
py
""" Django settings for yatube project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
[ "nozdraman@mail.ru" ]
nozdraman@mail.ru
fcc16f84fb35a17e330243cc88335d8830ad791d
83f6b4f5fe96dd6cf312d28eba73b3740bb4461e
/Learn_Python_by_Udemy_Navin/3_Math/3_user_input.py
dbc34ca9b7c9e53191c852849e95ecb6bd7d41f0
[]
no_license
harishtallam/Learning-Python
e2aa420e20c84b93df6d1bb44ef5e946528bdd1d
eef7591a28b6833ff17a00c39acdc6511caa69f4
refs/heads/master
2023-01-20T17:10:03.255666
2020-11-25T13:47:07
2020-11-25T13:47:07
172,003,580
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
x = input("Enter 1st Number: ") a = int(x) y = input("Enter 2nd Number: ") b = int(y) z = a + b print(z) ########################################## m = int(input("Enter 1st Number: ")) n = int(input("Enter 2nd Number: ")) p = m + n print(p) ########################################## ch = input("Enter a character: "...
[ "tvharish513@gmail.com" ]
tvharish513@gmail.com
139dfac249b6f7b80b7a95457f89dea57fcbe4b2
ffb05b145989e01da075e2a607fb291955251f46
/pypers/oxford/metatracer.py
253fb7ce096b902041cfe72b29f2096d1d49f442
[]
no_license
micheles/papers
a5e7f2fa0cf305cd3f8face7c7ecc0db70ce7cc7
be9070f8b7e8192b84a102444b1238266bdc55a0
refs/heads/master
2023-06-07T16:46:46.306040
2018-07-14T04:17:51
2018-07-14T04:17:51
32,264,461
2
0
null
null
null
null
UTF-8
Python
false
false
629
py
# metatracer.py import inspect from decorators import decorator @decorator def traced(meth, *args, **kw): cls = meth.__cls__ modname = meth.__module__ or cls.__module__ print "calling %s.%s.%s" % (modname, cls.__name__, meth.__name__) return meth(*args, **kw) class MetaTracer(type): ...
[ "michele.simionato@gmail.com" ]
michele.simionato@gmail.com
6772748d4dedfdca44ac64a58d6f7853c688d83f
a50616cbd695f1e6620483c188e8165ae46b4fae
/problem25.py
7fc9001c8631faf589e95ee1a7d259227bb771e6
[]
no_license
mihwa-han/ProjectEuler
50006ecab806d3f58f4c32ac4217be22227c3c9e
cf2d2256fd8fff7cd90da335f92f75c8205025b2
refs/heads/master
2021-01-01T20:43:30.133363
2017-07-31T21:04:26
2017-07-31T21:04:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
## Problem 25 - 1000-digit Fibonacci number ## The Fibonacci sequence is defined by the recurrence relation: ## F(n) = F(n−1) + F(n−2), where F(1) = 1 and F(2) = 1. ## Hence the first 12 terms will be: ## F(1) = 1 ## F(2) = 1 ## F(3) = 2 ## F(4) = 3 ## F(5) = 5 ## F(6) = 8 ## F(7) = 13 ## F(8) = 21 ## F(9) = 34 ## F(1...
[ "hanriver0618@gmail.com" ]
hanriver0618@gmail.com
cb2295d637f69b87b1c0479f1f7ff975f1da3f88
93f30ade29ca5bc9ca6daf419acb4213aa7b19e7
/thread_scaling/scripts/stampede_knl/tabulate_fstest.py
d76ebb16e7dd2f866b998e2fc9eed73c4478677d
[]
no_license
BenLangmead/bowtie-scaling
43004d510a86e45585f63b974123d592f6c1982a
12d861a67b5b40452acb045c9cae71686f23d14d
refs/heads/master
2021-03-24T11:51:51.814592
2018-06-08T19:12:26
2018-06-08T19:12:26
35,295,359
11
3
null
null
null
null
UTF-8
Python
false
false
1,013
py
#!/usr/bin/env python from __future__ import print_function # === /tmp /dev/null 1 def parse_time(tmst): toks = tmst.split(':') assert len(toks) == 3 secs = float(toks[2]) secs += float(toks[1]) * 60 return secs + float(toks[0]) * 60 * 60 print(','.join(['input,output,num_outputs,secs'])) def...
[ "ben.langmead@gmail.com" ]
ben.langmead@gmail.com
8e430a316bec3a379b66444cbdbcb9404c0b774b
6c467a474d75d2d4ecf04f3077cd71ce839114d1
/tests/test_funksvd.py
96f5c01d29c9eb8d3a40411908a4f6915f48ea91
[ "MIT" ]
permissive
aroraakshit/lkpy
45c262dbdb382e7fdae3e5bfb999f14240334021
45dec2bb1352a288a321f94c6b617e410d48cdd4
refs/heads/master
2020-05-17T20:59:04.905359
2019-04-26T17:13:27
2019-04-26T17:13:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,323
py
import logging import pickle from pathlib import Path import lenskit.algorithms.funksvd as svd import pandas as pd import numpy as np from pytest import approx, mark import lenskit.util.test as lktu _log = logging.getLogger(__name__) simple_df = pd.DataFrame({'item': [1, 1, 2, 3], 'user'...
[ "md@ekstrandom.net" ]
md@ekstrandom.net
5f40baebcc13361ee71f2b2204168f1eba49ae0f
42cdaa0cc10f30f6f74f61c39cb0227ecb81b2df
/VideoBox.py
0dc2fd860e866c82ba6084acedacb9bc1040f267
[]
no_license
dumel7/GestureRecognitionAplication
ca8d3f5ab41de6cd6e5f3782331ece7b1ba402d0
dd6a2ad7aa9e3d753df0d02f277d11f144636292
refs/heads/master
2020-04-07T14:46:53.621588
2018-12-10T15:21:20
2018-12-10T15:21:20
158,460,926
0
0
null
null
null
null
UTF-8
Python
false
false
2,122
py
import datetime import cv2 from PyQt5.QtCore import QThread, pyqtSignal, Qt, pyqtSlot from PyQt5.QtGui import QImage, QPixmap from PyQt5.QtWidgets import QWidget, QLabel class VideoBox(QWidget): def __init__(self, image_signal, parent=None): super().__init__(parent) self.imageSignal = image_signa...
[ "dominik.florencki@gmail.com" ]
dominik.florencki@gmail.com
6c8c160c9634381508ee010a7ceeae9177ffd6ec
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/112_5.py
dc004ce6416dbe458336c86465138549e9215466
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
2,837
py
Python – Filter unequal elements of two lists corresponding same index Sometimes, while working with Python data, we can have a problem in which we require to extract the values across multiple lists which are unequal and have similar index. This kind of problem can come in many domains. Let’s discuss certain...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
e72cee074d3b65fc398521c1dbf842a9633a2a3b
476162e81c81d72352bd8b3822c7cf6703dbf893
/application/pythonMacro/Base.py
685008719abe4f8037b296a9ad3fdff6b0572352
[]
no_license
TakuyaShirosaka/JoobyBlender
2b80282f8c574267735147f53794db40bd26f2fa
15051050311f17a5366ab10b095a7fc8c355dd3a
refs/heads/master
2023-02-13T23:49:14.784957
2020-12-13T07:06:14
2020-12-13T07:06:14
320,982,865
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# coding: UTF-8 import datetime import logging import os class BaseClass: def __init__(self): self.logger = logging.getLogger() today = datetime.date.today() os.chdir('/') logging.basicConfig( level=logging.DEBUG, filename="/work/logs/py/" + str(today) + "...
[ "pppg1023023@gmail.com" ]
pppg1023023@gmail.com
5d3eb74722808ffd0192f32a87c42dc32849375a
409829dfa1c9758ac67190fe76fea3746106bbad
/setup.py
3b7e08ef66822de90ff5fd52631aa58f7305cdb6
[ "MIT" ]
permissive
eagleflo/python-sc2
916d1df613190dbc5da0883d2c3c6275350c8f88
1bd24e0b7d3200df7fb7ef02256753c45fea0b32
refs/heads/master
2020-04-01T05:16:42.683300
2018-10-13T10:33:31
2018-10-13T10:33:31
152,896,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
from setuptools import setup, find_packages from pipenv.project import Project from pipenv.utils import convert_deps_to_pip pfile = Project(chdir=False).parsed_pipfile requirements = convert_deps_to_pip(pfile['packages'], r=False) test_requirements = convert_deps_to_pip(pfile['dev-packages'], r=False) setup( nam...
[ "hannes.karppila@gmail.com" ]
hannes.karppila@gmail.com
ff57ddea8f5ac61d370b0acf4d3a5aaea492d392
d8e57708589732c65932299e3dd840d51b7eeaa0
/project1/udp_broadcast_sender.py
48493b48c9f427930f7e3e74f0f717b1c642bdc4
[]
no_license
estensen/distributed-systems
9077d3d875a8c30f45a9d8040b0044ae46627526
1e103ae972cdbaf89304c42c4e9728b9273eb2e5
refs/heads/master
2021-08-24T08:02:00.153845
2017-12-08T19:19:21
2017-12-08T19:19:21
105,823,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,909
py
import socket from threading import Thread from time import sleep from random import randint ip = "localhost" port = 555 ports = [5000, 5001] message = "lock{}".format(port) binary_message = bytes(message, encoding="ascii") sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) received_ack_from = [] unprocessed_req...
[ "haavard.ae@gmail.com" ]
haavard.ae@gmail.com
e870f197cc60fcf026f4ec1af3b4d289d046dc6d
be34db664a26b97df4e737f0bc33267e4f2ff42a
/myvenv/Scripts/django-admin.py
4e0778058ba57dd1b79f2d2bd51863f459cc209c
[]
no_license
karmelovioli/my-first-blog
66818fb063d617e91a83389ec0c807d0d16fc363
957019304a63c6a191ee25b82a2aae41c95bd8e0
refs/heads/master
2020-04-21T01:16:26.578163
2016-09-11T21:28:02
2016-09-11T21:28:02
67,936,015
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
#!c:\users\karmelo\desktop\sito\myvenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "melovioli@gmail.com" ]
melovioli@gmail.com
e6f691de4f39801f3f84bb31d5b475d952b1a26c
c81b633c452616636120daba9ef3fa9a2b2640b3
/Class15/jinja-basic-gae-project-master/main.py
f37c3adf59febf7fc81d7b2f7ea4abb69fe2a155
[]
no_license
formigaVie/SNWD_Works_201711
ba3dca2ef4cf74166b8a5c7c804ea01ccc866876
16ec6c169a5828cadc515b7612dbfd8638ba7224
refs/heads/master
2021-09-07T03:41:36.674833
2018-02-16T18:58:47
2018-02-16T18:58:47
110,582,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/usr/bin/env python import os import jinja2 import webapp2 template_dir = os.path.join(os.path.dirname(__file__), "templates") jinja_env = jinja2.Environment(loader=jinja2.FileSystemLoader(template_dir), autoescape=False) class BaseHandler(webapp2.RequestHandler): def write(self, *a, **kw): return self...
[ "manfredg30@gmail.com" ]
manfredg30@gmail.com
9089e73fd53ad23bfa521ae763206399810515cc
ee899f2559e657d78f621123fee6f103f4cc7dfc
/tests/test_get_angles.py
826cee0d16d63761ab8c5ce537dc559abfce7552
[ "BSD-3-Clause" ]
permissive
skymoon777/angstrom
3052367f124ca16707d4109b9ff719848087375f
793fd05b9bf27cab50d5c292fe63f685ea767d6d
refs/heads/master
2022-07-29T21:02:33.155323
2020-05-15T05:21:30
2020-05-15T05:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
""" --- Ångström --- Tests estimating molecular angles. """ from angstrom.molecule.angles import get_angles def test_separate_diatomic_molecules_should_have_no_angles(): bonds = [(0, 1), (2, 3)] assert get_angles(bonds) == [] def test_molecule_with_two_bonds_should_have_one_angle(): bonds = [(0, 1), (1,...
[ "kbs37@pitt.edu" ]
kbs37@pitt.edu
98d8a33b4b7d5651ebf112c516a3f5378d56dbb0
a6cb2e7d0c24d17e61696b8bbc691e3f1f13a54c
/bokeh_app/scripts/map.py
15968eb88016a988347bd935e7eb63efa63958dc
[]
no_license
kz9/cse163-project
c7db3858fd748c810a2c7cdb03ac2f8e3ba3903e
f40da9d45b3852d986f32ad4d9919f03fd3fef2a
refs/heads/master
2020-05-24T04:40:30.632491
2019-06-10T19:31:35
2019-06-10T19:31:35
187,097,349
1
0
null
2019-06-08T03:28:55
2019-05-16T20:32:03
null
UTF-8
Python
false
false
2,477
py
import pandas as pd import pandas_bokeh from bokeh.layouts import row from bokeh.models import Panel def map_tab(df, shp): """ Make a tab wich contains a map colored by the number of terrorism attacks Parameters: df (DataFrame): a pandas dataframe shp (GeoDataFrame): a geopandas datafr...
[ "jkz8889@gmail.com" ]
jkz8889@gmail.com
ec5c41e4d89d5f082d20752a3fe23582297bc9e4
9ee107351ae4f3528c59668fe2b884a621b7f767
/mrinet/utils/collect_activations.py
edc24390fa049b5314874e3871d411035a3806e9
[]
no_license
adrijanik/notebooks-cardiac
1f518898a3268a397dd541d7ec70e171c76725e7
e177e5b5651cf79b9bc854581009ab943f89de5c
refs/heads/master
2023-06-15T02:44:24.915310
2021-07-05T22:38:33
2021-07-05T22:38:33
241,355,577
0
0
null
null
null
null
UTF-8
Python
false
false
16,688
py
import torch import os import numpy as np from mrinet.dataset.preprocessing import load_dataset, load_concepts_dataset from mrinet.train_unet import create_data_gen, create_data_gen, get_split from torch.autograd import Variable import pickle as pkl import json #import matplotlib.pyplot as plt import cv2 import pandas ...
[ "adrijanik@Adrijaniks-MacBook-Air.local" ]
adrijanik@Adrijaniks-MacBook-Air.local
567e67d3060c4b3a2b386151fc3abf939158b6bc
4ae31a35a2311c8a294602f33092307d6ac2dd59
/manage.py
b1c926103a25184ff70b3368ac60f52cf358e618
[]
no_license
Moamenx/ebuy
68c7e5bc828e69bcd283debdf0ff7f72e38e2d74
9b5a42b5751a34e3d469f3c5f58e441dafe528de
refs/heads/master
2020-03-10T06:00:09.229869
2018-06-04T16:03:28
2018-06-04T16:03:28
127,793,607
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ebuy.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 ...
[ "moamen_mohammed@hotmail.com" ]
moamen_mohammed@hotmail.com
3c360f5a1e7046ac028f2deed78d18233d9a7ac3
33922cd0ea716b40958b52415c010a7e87935cf4
/Experiments/result_processing.py
c15f70c919b4656e8600b40610db4ee3ddd4f808
[]
no_license
saymongb/tcc_exp
4df970209d81f744467517a6f6175618c77f96f7
c92d777a34595b311bfa56f8e5559533b7aa3197
refs/heads/master
2023-03-02T17:54:48.259694
2021-02-06T16:33:32
2021-02-06T16:33:32
222,321,453
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 21 22:57:00 2019 @author: saymongb """ # Imports import os,sys sys.path.append(os.getcwd()[0:-11]) # run into tests import pandas as pd def improvedScore(dataFrame): newFrame = pd.Series() for i in range(len(dataFrame)): be...
[ "saymongb@gmail.com" ]
saymongb@gmail.com
99108fb40238bad7ec4645d7af76f6fdd8716715
1bf34f6059dcf42660eb10071891644722bd7bef
/src/jogovelha.py
be5b7964f2029236fa494970b4bc14bb7f62881c
[]
no_license
RodrigoHeiji/devops-ac03
f71b3b48041e76f8017a01360ff7004a836c6b62
c11cade2e60a256572d98d4f0212af0f4d73785e
refs/heads/master
2020-03-28T04:55:06.389345
2018-09-07T01:46:17
2018-09-07T01:46:17
147,744,556
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
def inicializar(): tab = [] for i in range(3): linha = [] for j in range(3): linha.append(".") tab.append(linha) return tab def main(): jogo = inicializar() print(jogo) if __name__ == "__main__": main()
[ "noreply@github.com" ]
RodrigoHeiji.noreply@github.com
0b5f1d72d0ce03d8535066049aea2e6e91ad8bbf
965e163df916b01d647953f2b1431d265683f6ca
/test/test_helpers.py
e839094edc9afd8bc16d27b5c41e69a3377b702d
[ "MIT" ]
permissive
expressvpn/expressvpn_leak_testing
6505c39228d396caff0c2df3777009c6fbdf3127
9e4cee899ac04f7820ac351fa55efdc0c01370ba
refs/heads/master
2023-08-18T06:33:33.931040
2021-10-11T03:02:50
2021-10-11T03:02:50
112,572,905
244
48
MIT
2021-01-19T16:02:18
2017-11-30T06:18:40
Python
UTF-8
Python
false
false
1,912
py
import sys import unittest import mock from parameterized import parameterized from xv_leak_tools.helpers import current_os from xv_leak_tools.helpers import merge_two_dicts from xv_leak_tools.helpers import other_oses class TestOSHelpers(unittest.TestCase): def test_current_os(self): for plat in ['linu...
[ "leakproofing@expressvpn.com" ]
leakproofing@expressvpn.com
38e53983d55b9890e6298bca5e315690dd08829a
9e3f1fc1935ac1dcdce7c8d39776de14ec49b5e6
/aptechapp/apps.py
bc8776a83e61e36a73718deed4ee603c13447ab8
[]
no_license
irchriscott/Aptech-Connect-Web
f03072bcc790ef1d72b6e609fa99656f0e45fcba
7ebe1919ffacd9e826e2d86c778f4546072738e9
refs/heads/master
2020-05-02T07:19:05.867858
2019-03-29T12:46:22
2019-03-29T12:46:22
177,814,557
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class AptechappConfig(AppConfig): name = 'aptechapp'
[ "irchristianscott@gmail.com" ]
irchristianscott@gmail.com
22b2b04e0c1f0687df24328a58b0481656bd3f40
4cdcba6038c8cde6fa4096022cc7653df2fda936
/scripts/unquote
349b3da6e417f92d0cf3110adde456d1cdf38d89
[ "MIT" ]
permissive
dhh1128/tsauthor
8311b7a4299e5c7cd346efd7b4ec6be357b2544c
527866569d8888048e5f9073b4081565938fc768
refs/heads/master
2018-12-28T17:26:30.298197
2015-05-01T05:20:52
2015-05-01T05:20:52
30,440,925
0
0
null
null
null
null
UTF-8
Python
false
false
760
#! /usr/bin/python import os, sys, re open_curly_quote = '\xe2\x80\x9c' ellipsis = '\xe2\x80\xa6' close_curly_quote = '\xe2\x80\x9d' def unquote(fname): with open(fname, 'r') as f: txt = f.read() txt = txt.replace(ellipsis, '...') txt = txt.replace(open_curly_quote, '"') txt = txt.replace(clo...
[ "daniel.hardman@gmail.com" ]
daniel.hardman@gmail.com
b6a4cd5d7cda7f6b2190d639af7f012070605f14
b270368b113767bada45aa593c767fb40fe42b41
/bin/easy_install
277a8332a4e07d350e40a871862ba5e5303af634
[]
no_license
MrsDaehin/Formacion-JMeter-Swagger
5c8816b25aed54f61ccb78ec274798515db9e571
cb030d0703f209e9f852c7949d80ab10a36525dd
refs/heads/master
2020-06-05T09:27:44.316896
2019-12-16T16:12:30
2019-12-16T16:12:30
192,392,336
2
2
null
null
null
null
UTF-8
Python
false
false
279
#!/home/osboxes/Documentos/Formacion-JMeter-Swagger/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "daehin@gmail.com" ]
daehin@gmail.com
ae0e11b81b4aeef1238e47faf14901e4e66d0e83
73bcb87cc26c5c22de8637310a8bc7873d3c9056
/src/core/config.py
10523c9f04194696119635f4a08d3f34b751fdc8
[ "MIT" ]
permissive
O70/image-recognition
486a35cbfb44b6345ebb573d9c5e3574dbed879a
81492120648581bc4a50e560d14591baad2c171c
refs/heads/master
2020-08-29T05:21:48.725403
2019-11-03T08:54:02
2019-11-03T08:54:02
217,941,336
0
1
null
null
null
null
UTF-8
Python
false
false
782
py
class DefaultConfigs(object): # 00001.string parameters train_data = "/home/xkjs/PycharmProjects/yanxin-image-classification/data_yanxin/train/" test_data = "/home/xkjs/PycharmProjects/yanxin-image-classification/data_yanxin/test/" val_data = "/home/xkjs/PycharmProjects/yanxin-image-classification/data_...
[ "THRAEX@aliyun.com" ]
THRAEX@aliyun.com
c990f08867bbad5ddd43178c54bb08a6c8e7827a
5ea18341a8b9411f6cb79ac363ef0c8c23faebd8
/code/svmClassifier.py
9fa4c17c352b3c0e2073cf28602d2a012d5c863a
[]
no_license
prameelakavya/naive-bayes-and-dimensinality-reduction-techniques
0a739b58d40e81ef1499e564021499c154a11fca
1c005d298d0c389eb5d5f7ae88d6df850e076f10
refs/heads/master
2021-01-10T04:37:50.066379
2016-03-01T01:42:10
2016-03-01T01:42:10
52,838,760
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from sklearn import svm import numpy as np def classify(trainDataFile, validDataFile, trainLabelsFile, validLabelsFile, k): trainData = np.loadtxt(open(trainDataFile)) validationData = np.loadtxt(open(validDataFile)) trainLabels = np.loadtxt(open(trainLabelsFile)) va...
[ "thummuruprameela@gmail.com" ]
thummuruprameela@gmail.com
ce1e1ecbdd88a5e793be6e6772ade99f62a9aaad
a2339bedd948752afaaa82290986ce33ccd05cc6
/Python/1016.py
f56318e854dd69443bb616eec4b97807eaef47e8
[]
no_license
tabatagloria/exercicios-uri
a538a8802899664ed872f26593772584a7430ae1
7a567cb0ff196231364f2327fbb7d9d1bc731126
refs/heads/master
2020-06-17T08:19:03.094461
2019-09-15T18:34:14
2019-09-15T18:34:14
195,858,705
1
0
null
null
null
null
UTF-8
Python
false
false
82
py
minutos = int(input()) calculo = minutos * 2 print('{} minutos'.format(calculo))
[ "tabatabruna@yahoo.com.br" ]
tabatabruna@yahoo.com.br
00e018844712f45a170f37fe63ef8d8e4411d18d
cabdbe5461bee03c14b0a1ad6627edc54dae2ffe
/migrations/0005_auto__add_game.py
0c0ff2b203dff1e0e9c66b03b300cd585740e942
[]
no_license
jeffself/bowl-predictions
c2416a4456ee404f6c709bd7705e8d0fa7ddcc25
52ca993c6ee7d6f57e2feb66e88a7c5317967931
refs/heads/master
2021-01-01T16:05:20.314064
2013-01-03T02:59:53
2013-01-03T02:59:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,262
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Game' db.create_table('bowls_game', ( ('id', self.gf('django.db.models.fields.Au...
[ "jeff.self@gmail.com" ]
jeff.self@gmail.com
8b90ba21cb54e34c2f27ac8b0228034538287c62
e1e2d55000670805944cd08a0a12ea7b86b9e68d
/dataAnalysing.py
4b5e915b1b90940a28f17e6da387c4c153e4b918
[]
no_license
pianoflu/dataAnalysing
684cec167316ef436af3c73266c2f79535718807
e84b9d9560a3c412a78aeb6c0ddee9d2529c3d3c
refs/heads/master
2020-12-03T03:40:35.746495
2017-06-29T09:25:06
2017-06-29T09:25:17
95,760,229
0
0
null
null
null
null
UTF-8
Python
false
false
5,309
py
# coding=utf-8 # pip install requests # pip install bs4 # pip install XlsxWriter import re import json import requests import xlsxwriter from bs4 import BeautifulSoup from collections import Counter url = "https://www.lagou.com/jobs/positionAjax.json?needAddtionalResult=false" keyword = input('请输入您所需要查找的关键字:') head...
[ "2456136965@qq.com" ]
2456136965@qq.com
8b7378cf0180a3f6163db66dd835d9c15e841b31
cdc614858eb15fd26438df65532d20a072687c8d
/userbot/plugins/sticklet.py
25716f963bc19237d6571c8e4e00b6ea9eafb2b1
[ "MIT" ]
permissive
Akshay-227/userBot-1
cfbfa18f67632e02b7e189bf033f13f57a6560dd
4cc07f9a3d3f1dfc5e356bbd57c4dff0e86e520f
refs/heads/master
2021-05-20T04:23:01.474533
2020-09-08T08:04:18
2020-09-08T08:04:18
252,183,567
2
1
MIT
2020-04-01T13:30:44
2020-04-01T13:30:43
null
UTF-8
Python
false
false
2,445
py
# Random RGB Sticklet by @PhycoNinja13b # modified by @UniBorg import io import os import random import textwrap from PIL import Image, ImageDraw, ImageFont from telethon.tl.types import InputMessagesFilterDocument from uniborg.util import admin_cmd @borg.on(admin_cmd(pattern="srgb (.*)")) async def sticklet(event)...
[ "noreply@github.com" ]
Akshay-227.noreply@github.com
1434edbf203110a40d993508e20577056c7ba9dc
f124e3a874bf9bfe8ce2d694d276238c1a1150fc
/src/lib/pedal/sandbox/result.py
6f2f9b61ed343b8ae41d3c6743ef572fea823ec4
[ "MIT", "Python-2.0" ]
permissive
Skydler/skulpt
b37a737b4f82c788e2f94b3a406fc3a313a75274
6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a
refs/heads/master
2020-08-17T10:48:29.244685
2019-10-23T12:16:36
2019-10-23T12:16:36
215,650,824
0
0
NOASSERTION
2019-10-16T21:50:53
2019-10-16T21:50:53
null
UTF-8
Python
false
false
12,543
py
class SandboxResult: """ Proxy class for wrapping results from executing student code. Attempts to perfectly emulate the underlying data value, so that users will never realize they have a proxy. The advantage is that special information is available in the corresponding Sandbox about this result th...
[ "acbart@vt.edu" ]
acbart@vt.edu
188bf0c384ca5e11074fa0fbc29b38db59e81396
7738d2821e513e991ea4a4a03c1775be27647ccc
/WMId.py
82aeceecf47e4b5c436750a78858fd89a4f57aca
[]
no_license
nikolai-neustroev/nyc_tnc
d7441f10f88326c27c2648c435f431f030a2a1ab
6193ad39079285b13ad84315b96bf5e6a7f1a7b1
refs/heads/master
2020-03-26T08:57:11.420607
2018-08-14T13:58:46
2018-08-14T13:58:46
144,727,513
0
0
null
null
null
null
UTF-8
Python
false
false
12,356
py
WMId = { '10T' : 'Oshkosh', '11V' : 'Ottawa', '137' : 'Hummer', '15G' : 'Gillig', '17N' : 'John Deere', '16V' : 'Bix Tex', '18X' : 'WRV', '19U' : 'Acura', '19V' : 'Acura', '19X' : 'Honda', '1A4' : 'Chrysler', '1A8' : 'Chrysler', '1AC' : 'AMC', '1AM' : 'AMC', '...
[ "noreply@github.com" ]
nikolai-neustroev.noreply@github.com
a31878733c748d9fc436e92e0c85e1f95a4a753b
3cef51c71fdb19d326bea2a76bce03b6e04a69cb
/2016/22 Grid Computing/solutionb.py
476a47fa34b3476665f34fb9ac2b6ae703eda0a0
[]
no_license
janezd/advent-of-code
fe2819c667a2f9309fe3c50e5c234a98855f26b8
700b09894eb6b8de4324304e99be17ca664a7c5b
refs/heads/master
2021-01-10T08:53:31.721953
2017-12-26T10:33:11
2017-12-26T10:33:11
48,594,325
0
0
null
null
null
null
UTF-8
Python
false
false
2,091
py
import numpy as np import re from hashlib import sha1 class Hashable: def __init__(self, a): self.a = a self._hash = int(sha1(np.ascontiguousarray(self.a)).hexdigest(), 16) print(self._hash) def __hash__(self): return self._hash def __eq__(self, other): return np.a...
[ "janez.demsar@fri.uni-lj.si" ]
janez.demsar@fri.uni-lj.si
3ad810a7f2e28d5b7cdfadf01a372ad1dcc32562
f4ae8e55b9b98fa505699aaecf80f6250c2b36bb
/Python/sin x.py
7b357836774fe686348e2a289d5434430459d71b
[]
no_license
CarolineFs/BMSTU
36de285298f0e28abc129156d6fc437a6ee4ff16
d8988b9b11f2f8a7f605dffa90296cfd719c09a1
refs/heads/master
2021-06-06T23:32:47.656486
2020-01-08T17:50:46
2020-01-08T17:50:46
103,178,011
1
1
null
2018-03-30T18:24:28
2017-09-11T19:21:07
Python
UTF-8
Python
false
false
1,898
py
#Построение синусоиды в заданном диапазоне from math import sin first = float(input('Введите начальное значение: ')) last = float(input('Введите конечное значение: ')) step = float(input('Введите шаг: ')) x = first arg = 0 while x < last: x += step arg += 1 if round(x, 10) > last: arg -= 1 maxm = k = 0 x...
[ "noreply@github.com" ]
CarolineFs.noreply@github.com
1c019f624cead8654a0b7f7805c9d9abbbad04ca
9aa05481e12107ed9d31bc7ee0b239720b3557a9
/bullet/src/spotmicro/walk_env.py
68bdb698eab3a39ccfe2dbb85c92d1bac0bb9a0f
[]
no_license
Luke-A-F/spot_mini_mini
28c05910e1bd7b1eb80183f1a0408186295dc9b9
ae4b570bcfc87b39fe7e726a54fb7e905a857d2c
refs/heads/master
2022-11-05T17:02:20.992143
2020-05-24T00:53:01
2020-05-24T00:53:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,942
py
"""This file implements the gym environment of spot alternating legs. """ import math from gym import spaces import numpy as np from .. import spot_gym_env DESIRED_PITCH = 0 NUM_LEGS = 4 NUM_MOTORS = 3 * NUM_LEGS STEP_PERIOD = 1.0 / 4.5 class spotWalkEnv(spot_gym_env.spotGymEnv): """The gym environment for the...
[ "mrahme97@gmail.com" ]
mrahme97@gmail.com
f4ee9e95d02c77a02adf28c3f310160cd3a48059
04950cee2efe6c19bcce82f87f01cc90a96b2802
/blog/migrations/0001_initial.py
2be8ca5dd3b1f00ef6ff0d9d94b22c874ca4e45c
[]
no_license
kumarneelabh13/my-first-blog
93919fa7e38302f89aed153ea8092cf9a8f6895f
5afb78153ba6b8210f21447421db422902eb1c98
refs/heads/master
2022-02-05T03:04:00.599314
2018-07-23T22:51:47
2018-07-23T22:51:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.0.6 on 2018-07-23 19:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "neelabh.plus@gmail.com" ]
neelabh.plus@gmail.com
3b00abba6bb7b22dc62e181af6daba8b17c9df2b
5927ed4c63e3cd27edc94ef133d1b61e4e772e5e
/Lab-4/lab4.py
6f4e18febac8df5fd9690c6268512e6dc6bfef33
[]
no_license
asadwaheed10/SYSC3010_Asad_Waheed
cfef9c6e799ede47b3282a5ccce3b7021c6253fc
4f12ebdc917538175a1c683246600c7cd04653cc
refs/heads/master
2022-12-27T10:37:59.749735
2020-10-06T18:07:12
2020-10-06T18:07:12
295,519,453
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
import http.client import urllib.parse import time key = "54CDA6FJF4RCJ92C" def thingspeak(): while True: email = "asadwaheed@cmail.carleton.ca" group = "L2-M-5" identifier = "d" params = urllib.parse.urlencode({'field1': email, 'field2': group, 'field3': identifier, 'key': key}) headers = {"Content-typeZZe...
[ "asadwaheed@cmail.carleton.ca" ]
asadwaheed@cmail.carleton.ca
8a745f4689ea9fda6a7da7c444c8f3eef0616059
52f4426d2776871cc7f119de258249f674064f78
/misc/algorithm/shortest_path/floyd_warshall.py
69f03a396a9041e4d03aae9d449722638becbffb
[]
no_license
namhyun-gu/algorithm
8ad98d336366351e715465643dcdd9f04eeb0ad2
d99c44f9825576c16aaca731888e0c32f2ae6e96
refs/heads/master
2023-06-06T02:28:16.514422
2021-07-02T10:34:03
2021-07-02T10:34:03
288,646,740
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
from math import inf from typing import List graph: List[List[int]] = [ [0, 7, inf, inf, 3, 10, inf], [7, 0, 4, 10, 2, 6, inf], [inf, 4, 0, 2, inf, inf, inf], [inf, 10, 2, 0, 11, 9, 4], [3, 2, inf, 11, 0, inf, 5], [10, 6, inf, 9, inf, 0, inf], [inf, inf, inf, 4, 5, inf, 0], ] def floyd_wa...
[ "mnhan0403@gmail.com" ]
mnhan0403@gmail.com
dc9298119d3f7417426f8105321b14e4105227e3
719517cb831c9945e93e7b849688d1ba688d2a4c
/level2/level2_1py.py
e25a983a072ac8c4a1a7b265734fcd3ce09e49db
[]
no_license
mariajdab/foobar-with-google
d4ad5153441c42c6877abde4a75ff3f475a6e6cd
14a7f7296e95ac5441841d6910c258a2153dd36f
refs/heads/main
2023-02-24T06:32:37.082703
2021-01-19T05:38:54
2021-01-19T05:38:54
330,865,236
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
def solution(h, q, p=None): if p is None: p = [] n_f = 2 ** h - 1 if n_f == q[0]: p.append(-1) else: n_r = n_f - 1 n_l = n_r // 2 for level in range(h - 2, -1, -1): if q[0] == n_l or q[0] == n_r: p.append(n_f) break ...
[ "mariajdab@gmail.com" ]
mariajdab@gmail.com
62a53fe9c49e2e6d6879cbdea7e2a48a0870e4b5
f93d6f45360006690266ab80391312c6c4cde521
/grpc/grpc_pb2_grpc.py
34f737a8e900337cdead1cb7c849e6663e1dd9a3
[]
no_license
derektli97/Glow
2c15f97f9f876474ba05a66fde8a1a7e093e6f9b
27814ba24089afc0d1902678ef407d9343d4a4ba
refs/heads/master
2020-04-23T09:14:43.445203
2019-02-16T22:59:10
2019-02-16T22:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import grpc_pb2 as grpc__pb2 class GlowStub(object): # missing associated documentation comment in .proto file pass def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ self.Test...
[ "kevinjnguyen2@gmail.com" ]
kevinjnguyen2@gmail.com
7f600e781db2de55467db5fea014361b8b164504
17d604ac7fa671e5218a5e5218fa4f32db57bcc6
/students/K33402/Shutov_Daniil/LR1/task_2/server.py
bc596c06d83edfbad2f51d7fedb0f030fe746611
[ "MIT" ]
permissive
EgorovM/ITMO_ICT_WebDevelopment_2021-2022
d3db9ea607afbbb68450dc8cd2fa70d8b5fd0cca
35c41ba024d7a3cd89654bd4db23f7d447e0f0a2
refs/heads/main
2023-08-30T03:10:45.139237
2021-11-12T21:50:45
2021-11-12T21:50:45
403,108,689
0
0
MIT
2021-09-04T16:47:39
2021-09-04T16:47:38
null
UTF-8
Python
false
false
463
py
# Option "a". Pythagorean theorem import socket import math server = socket.socket() host = '127.0.0.1' port = 5000 server.bind((host, port)) server.listen(3) conn, address = server.accept() first_side_bin = conn.recv(200) second_side_bin = conn.recv(200) first_side = first_side_bin.decode('utf-8') second_side = sec...
[ "56311745+Daniil19112001@users.noreply.github.com" ]
56311745+Daniil19112001@users.noreply.github.com
4a122264f765e2f39c288093857c13d6ee269b9f
3725e1c9a89afee1796ebeaa00ede48d5493f509
/data/cAIDataset.py
f4764d37bb26e90d514e92059fcc0c8ebc6285d6
[]
no_license
jinningli/ad-placement-pytorch
cb716b5bc98558c939046f68beab9b05a67a0573
3436765e31b373bba0107d286cb72af58e42fc95
refs/heads/master
2020-03-23T23:17:48.961454
2018-08-30T21:54:01
2018-08-30T21:54:01
142,227,101
6
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
from data.baseDataset import BaseDataset from utils.utils import mkdirs from os.path import join import os import scipy.sparse as sp import numpy as np import torch import pickle from utils.utils import to_csr from utils.utils import get_sparse_tensor # def fillto(nparr, dim=200): # length = len(nparr) # if le...
[ "lijinning@sjtu.edu.cn" ]
lijinning@sjtu.edu.cn
e9ba6a4f036333e586a76b8b3bda11f1d6446c69
9737b916b712f99852278a0c1481dcb8cc794e99
/mac/settings.py
ace079b9b6fa63b7050af96effd70352b0e005d1
[]
no_license
GeekyMonk07/thegeekystore.github.io
f20e909c9c5abd7581304d8a7e91fc96cef2e9b1
a239d149dfe7969bfcd69a7dce367d2fd73c50dd
refs/heads/master
2023-07-02T23:08:48.227694
2021-08-10T18:42:29
2021-08-10T18:42:29
394,750,393
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
""" Django settings for mac project. Generated by 'django-admin startproject' using Django 3.2.6. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from p...
[ "thelearninggeek07@gmail.com" ]
thelearninggeek07@gmail.com
d174d21032804d359d6c11940c1d34010ee9f1d4
1915774790a77a630c00e70738ac41a315f5a2cb
/doorscalc/migrations/0038_auto_20190828_0818.py
700027d8f8f6d981755119764f7adca3d7b95bad
[]
no_license
coconutcake/hajduktools
842948646d2e8d3368b4d420d73bba981d649d43
6f9e678a1168195d77d1163bc9145205d03bb141
refs/heads/master
2020-07-02T20:02:19.914649
2019-09-13T17:44:05
2019-09-13T17:44:05
201,648,138
0
2
null
null
null
null
UTF-8
Python
false
false
573
py
# Generated by Django 2.1.11 on 2019-08-28 06:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('doorscalc', '0037_auto_20190822_1052'), ] operations = [ migrations.AlterField( model_name='order', name='status', ...
[ "contact@mign.pl" ]
contact@mign.pl
29f0cc1ce377e3ab76cf47f569c9cb3339a5f704
fa799561f7b7e404702882a23c635d330a02ffe6
/weblogic_wls-wsat_cve-2017-3506_unserialization.py
5eea64feef12a0d853b082307e17c3e7371dfadd
[]
no_license
whoadmin/pocs
07521e89c3227f9bd036250c98d3dbcc63a63f31
9e50a919abf5c57aa44c620522fcaf6a61656292
refs/heads/master
2021-07-12T05:00:06.587761
2020-11-14T02:35:46
2020-11-14T02:35:46
217,504,814
30
14
null
null
null
null
UTF-8
Python
false
false
5,664
py
""" If you have issues about development, please read: https://github.com/knownsec/pocsuite3/blob/master/docs/CODING.md for more about information, plz visit http://pocsuite.org """ import re from collections import OrderedDict from urllib.parse import urljoin from pocsuite3.api import Output, POCBase, register_poc, ...
[ "345919932@qq.com" ]
345919932@qq.com
001c9e457be644b4190728e819ae36c69529ca2f
819f6f4be3b10ddf291592c7003865c963a508d8
/MySMLJRPE/boards/tests/test_views.py
13a455461e86a84c35ffbda521ebc5e4de769ab6
[]
no_license
NormanBro/PSMLJRPE
3409b91a3846e0a079781ec613ff2397041d76b6
73d16ce8cf983ffdc316577fc31781f7383823a5
refs/heads/main
2023-07-07T22:51:37.088778
2021-08-18T23:26:19
2021-08-18T23:26:19
396,626,770
0
0
null
2021-08-16T05:26:45
2021-08-16T05:03:36
Python
UTF-8
Python
false
false
2,901
py
from django.urls import reverse, resolve from django.test import TestCase from ..views import board_topics, home, new_topic from ..models import Board class HomeTests(TestCase): def setUp(self): self.board = Board.objects.create(name='Django', description='Django board.') url = reverse('hom...
[ "esqueletopvp@gmail.com" ]
esqueletopvp@gmail.com
c2f3abecb51eda49f0ae56f558a35387b556b92d
7713b6d1cc718810d578d82a3125712606fd03bb
/chat.py
5f0b01aff02043ddf09b4fe484e1a30997655f39
[]
no_license
MrDimonLimon/FTG-Modules
2380e8f4bcb21fd591c145595cb5b4b6bfd25090
ec162eb084fc922600750ba8c4680709b1e8bd30
refs/heads/main
2023-07-11T21:07:36.354932
2021-08-24T17:56:29
2021-08-24T17:56:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,930
py
# -*- coding: utf-8 -*- # Module author: @ftgmodulesbyfl1yd, @dekftgmodules, @memeframe import asyncio import io from asyncio import sleep from os import remove from telethon import errors from telethon import functions from telethon.errors import UserIdInvalidError, UserNotMutualContactError, \ UserPrivacyRestrict...
[ "rodiongudz.services@gmail.com" ]
rodiongudz.services@gmail.com
8004f29d6870ea33e38e6ccb271a5e25398d8f61
e635c2ff2ba923fdc5e53e9a8035594b644a55fd
/app/__init__.py
ef4940b26f290dde1b6a9d5b54e047158db1ea51
[]
no_license
gracehseu/flask_heroku_outline
471e1a8e9e8002a9c88d2e402f5b279fbb463a2b
5e8bae5b8e0b8f8b16675948d783c9d8be610151
refs/heads/master
2023-01-19T04:43:11.528097
2020-12-04T07:49:51
2020-12-04T07:49:51
318,426,224
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from flask import Flask # importing blueprints from modules from .module_ex_1.controllers import module_ex_1_bp from .module_ex_2.controllers import module_ex_2_bp # creating app app = Flask(__name__) # getting configurations app.config.from_object('config') # register blueprints app.register_blueprint(module_ex_1_...
[ "25470155+gracehseu@users.noreply.github.com" ]
25470155+gracehseu@users.noreply.github.com
89f69aee3cd62c26555027892f18ab446feca3d8
8297b720267eee8c8e442c52607315792474ee7a
/chat_application/chat_app_dev_env/bin/pyreverse
f7cb53d794dd5c8ff4946d62fe35fcb008a53db9
[]
no_license
harshsavasil/Chat-Application-Nativescript
8d70d747af7c9aa5ccb27ae5608bbab299b25ab0
dceee37bb571f9c2001bdbfebf71dc1849525e0e
refs/heads/master
2021-04-09T16:14:33.321497
2018-05-13T20:47:45
2018-05-13T20:47:45
125,745,684
1
0
null
null
null
null
UTF-8
Python
false
false
294
#!/home/harsh/Workspace/nativeScript_dev/chat_application/chat_app_dev_env/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "harsh@ziploan.in" ]
harsh@ziploan.in
e30f9dfb96f688439caf3db1cd6882c6de1688f0
81c6278a9d50e04794eb4b0fe35ec0d595ca60d1
/cerulean/test/test_torque_scheduler.py
cee58c7bb4fb372013b4807428628b71862ece59
[ "Apache-2.0" ]
permissive
romulogoncalves/cerulean
c5c028328873d49b326d5bba1520c6de41b23f16
c61b4848a46f93e47653a474771ee6c443727c79
refs/heads/master
2020-08-02T09:31:15.982745
2019-01-21T09:26:38
2019-01-21T09:26:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,124
py
from cerulean import JobDescription from cerulean.torque_scheduler import (_get_field_from_qstat_xml, _job_desc_to_job_script, _seconds_to_time) def test_job_script_name() -> None: job_desc = JobDescription() job_desc.name = 'test_n...
[ "l.veen@esciencecenter.nl" ]
l.veen@esciencecenter.nl
adfd67c20156cb8b8ad74e8c8a720e9e2e48f5eb
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/QiPr3M5tsqfsbYcCQ_6.py
971a4a4b867272607ab5fce9aa8d69b8c201cd28
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
def square_digits(n): curdigit = 0 final = "" while n > 0: curdigit = n % 10 n = n // 10 final = str(curdigit ** 2) + final ​ final = int(final) print(final) return final
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f8a0b1b30cd967fa9b3450c9cfb4207194c8ec86
8c680fc22c005aadc84deff33850d819e943124a
/open-test-data/rfc4475-sip-torture-test/unksm2.dat.py
a19935571b6edd931465bffe6ed24bb66262a1db
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bobjects/BobStack
abc824b8513d826cbc725e8fbd3837ae8e03d646
c177b286075044832f44baf9ace201780c8b4320
refs/heads/master
2020-04-06T05:12:35.041273
2017-10-08T23:39:35
2017-10-08T23:39:35
50,403,711
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
messageString = ( 'REGISTER sip:example.com SIP/2.0\r\n' 'To: isbn:2983792873\r\n' 'From: <http://www.example.com>;tag=3234233\r\n' 'Call-ID: unksm2.daksdj@hyphenated-host.example.com\r\n' 'CSeq: 234902 REGISTER\r\n' 'Max-Forwards: 70...
[ "bob@bobjectsinc.com" ]
bob@bobjectsinc.com
316b6c09614be0148d1c2b5160f106c633db3bdc
9baa9f1bedf7bc973f26ab37c9b3046824b80ca7
/venv-bck/lib/python2.7/site-packages/bson/__init__.py
765e29a98d825e4e4fed5c0c32749a243ca0a4f2
[]
no_license
shakthydoss/suriyan
58774fc5de1de0a9f9975c2ee3a98900e0a5dff4
8e39eb2e65cc6c6551fc165b422b46d598cc54b8
refs/heads/master
2020-04-12T05:36:59.957153
2017-01-08T06:12:13
2017-01-08T06:12:13
59,631,349
0
0
null
null
null
null
UTF-8
Python
false
false
33,803
py
# Copyright 2009-2015 MongoDB, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
[ "shakthydoss@gmail.com" ]
shakthydoss@gmail.com
5527d442385b8f0c0615d0a660fc4d258e79dea0
9b53ea3e79206787b9957d6859559c6d0ce2fe71
/Practice/36/Python/point.py
3c162b1cf16bab54da68cc83826c6c1507d0390e
[]
no_license
affirVega/Programming
4aa4bd981c0885d29117d8df3f2547d31bbe06e3
c4005457dfe7ce14f5abbbcb1fe801a584443067
refs/heads/master
2023-04-19T15:42:42.203912
2021-04-24T16:45:03
2021-04-24T16:45:03
295,347,967
2
19
null
null
null
null
UTF-8
Python
false
false
1,995
py
import math import copy from enum import Enum, auto, unique @unique class CoordSystem(Enum): Cartesian = auto() Polar = auto() _percision = 1e-10 class Point: def __init__(self, a1 = 0, a2 = 0, coord_system = CoordSystem.Cartesian): if type(a1) == str: p = a1.find(',') # позиция запят...
[ "affirvega@krutt.org" ]
affirvega@krutt.org
e9f18e7cf838a0d9ad2b3ff178bfda18e06dd1ec
ceb75e50d77b962edbe866b0640271cdd4721be9
/hash.py
d986345513156fa9df62d089ac9bfcc250367c63
[]
no_license
rocket3989/hashCode2020
9394dc52e66c085e14fdd6f4152d6605f426b79a
6fd287381c3b32813eb3f63558d3afd83bd0ebbf
refs/heads/master
2021-01-08T11:14:36.956131
2020-02-27T02:16:50
2020-02-27T02:16:50
242,014,611
3
7
null
null
null
null
UTF-8
Python
false
false
2,693
py
B, L, D = [int(x) for x in input().split()] score = [int(x) for x in input().split()] freq = [0 for i in range(B)] from heapq import heappop, heappush, heapify import random calls = 0 class library: def __init__(self, count, time, rate, books): self.count = count self.time = time ...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
6e78c15fc68bcc044e3603390c21cfd6b7dacdc4
8a8fc760c9d4589eaa0845e6c68f3f37937d6804
/Stardew.py
d7be31c6412a3ff166a7ae29d09b275741d16fad
[]
no_license
npr96/new_stardew
6847278e9e2d3dd9f444e7c4979624e10c04b0f5
cc3b703306083d6ef3508de8f1ae1b6991a74f53
refs/heads/master
2021-02-26T13:53:24.801248
2020-03-09T20:59:09
2020-03-09T20:59:09
245,529,591
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
from T2_Module import Bones class Player: def __init__(self, wallet=0, location='home', start=0, name='', farm_name=''): self.wallet = wallet self.location = location self.start = start self.name = name self.farm_name = farm_name self.imp = '' char_create = Bones...
[ "npr1830@gmail.com" ]
npr1830@gmail.com
e0e4a3cdb6e335b9bbbb3d95223d61a6789872b4
3e1ee1106c8f979c1412940746b0e6617042fe6a
/setup.py
8265a191fd9c2206925d842428b3d58127e09cb0
[ "MIT" ]
permissive
qwymierne/humpback
1d83df04ba04e60a1c5b898ceb1f63cd881cc667
7cc420c05c427ff8f1c4c1155ddb05272e78bd71
refs/heads/master
2022-11-18T19:09:14.467416
2020-07-08T21:53:29
2020-07-08T21:53:29
250,867,892
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="humpback", version="0.0.1", author="Jakub Sieroń", author_email="j.sieron@student.uw.edu.pl", description="Some tools for exploring and filtering large databases", long_description=lon...
[ "j.sieron@student.uw.edu.pl" ]
j.sieron@student.uw.edu.pl
1b03c1a1a0d78c73b3e27a78e2bdf6de77b83a1d
7d13b93220f4d4d3f22f969e5709813a0ea65517
/core/migrations/0009_auto_20200112_1823.py
7be7e9646a01e5ef33b171e9472ceb000d42c1fd
[]
no_license
ma7aziz/dr_booking
68b0c623b02a32679e5cedba1924b9bd26c1ca3f
92912638f9476a22692a25022623a18d001c0109
refs/heads/master
2020-12-18T09:45:12.948107
2020-01-21T12:14:49
2020-01-21T12:14:49
235,333,097
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# Generated by Django 3.0.1 on 2020-01-12 16:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20200112_1820'), ] operations = [ migrations.AlterField( model_name='doctor', name='city', ...
[ "ma7.aelaziz@gmail.com" ]
ma7.aelaziz@gmail.com
b379fe00b217ad4ed8e25c129a5d6635217f6dfa
7fa84c44d929e1761e1e5032c9e43023b4ef3a68
/train_toy.py
2f3f36f5315c8b3590aa61634d9e949bac60d5ff
[ "MIT" ]
permissive
zivzone/implicit-normalizing-flows
17fcf62148858fc8909570bc6229b0a8054a0127
d8babe48bdea7b1ba98be698bef2e954ac3817ee
refs/heads/master
2023-05-04T07:07:15.331173
2021-05-26T07:17:58
2021-05-26T07:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,447
py
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import argparse import os import time import math import numpy as np import torch import lib.optimizers as optim import lib.layers.base as base_layers import lib.layers as layers import lib.toy_data as toy_data import lib.utils as utils from lib...
[ "lucheng.lc15@gmail.com" ]
lucheng.lc15@gmail.com
bc9ae930f9b3a8b12ccb821e89bb277f81c1a19d
76d3ec49d75ca5cef755e612a97ddcbc34f62bf3
/data_integration/parallel_tasks/sql.py
724456ec4dcef6e187d023a7fe4298906fd58d8a
[ "MIT" ]
permissive
ierosodin/data-integration
8f7e9500bda03c8316061452bc502d68cfcd33da
f3ee414e8b8994e5b740a374c0594e40862ff6e9
refs/heads/master
2021-01-02T14:58:10.752745
2020-02-13T00:58:58
2020-02-13T00:58:58
239,665,119
0
0
MIT
2020-02-11T03:11:37
2020-02-11T03:11:36
null
UTF-8
Python
false
false
3,315
py
import inspect import re import typing from mara_page import _, html from .. import config, pipelines from ..commands import sql class ParallelExecuteSQL(pipelines.ParallelTask, sql._SQLCommand): def __init__(self, id: str, description: str, parameter_function: typing.Callable, parameter_placeholders: [str], ...
[ "martin.loetzsch@gmail.com" ]
martin.loetzsch@gmail.com
19bd990cc1d5e9bf479616f5f371f5e6d56b1e45
58a5ac7bce3624a3465d2670367e8127da8c64bd
/myENV/bin/flask
9e1170224ba5b77be4b87e0c1af10a7d932c1792
[]
no_license
germcauley/Python_Flask
f30edec9430a306d53b251bbc82f215a4f82b274
a71ddd3eeddf684e13190a6f960cef915015531f
refs/heads/master
2022-10-13T13:04:34.674691
2019-12-02T18:11:37
2019-12-02T18:11:37
208,087,592
0
0
null
2022-09-16T18:10:09
2019-09-12T15:47:17
Python
UTF-8
Python
false
false
266
#!/Users/gmcauley/PycharmProjects/Flask_Tutorial/venv/myENV/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "geraldmcauley@gwsteam.com" ]
geraldmcauley@gwsteam.com
4ea0b9b40fea28cf979342e613ffcf0c2010e2d2
d52ee2f7ec5dcd8825f4e221a7f084d488d35634
/new_scripts/cluster_rerank/rerank_match_dress.py
442dbeed13eb4e02caf9a03b28d1e9dadb8028df
[]
no_license
rekriz11/sockeye-recipes
9dbf96140e4d9d546210dd1c29801132e1b9201c
644363b92e2f38311cc2b7e926b6558aa41900f3
refs/heads/master
2020-03-29T16:52:52.542574
2020-03-13T18:18:25
2020-03-13T18:18:25
150,131,769
5
3
null
2018-09-24T16:15:47
2018-09-24T16:15:46
null
UTF-8
Python
false
false
9,656
py
import kenlm import sys import gensim.models as g from sklearn.metrics.pairwise import cosine_similarity import numpy as np from fractions import Fraction from collections import Counter ## Checks validity of output def debug_output(sentences, scores, title): print(title) for i in range(len(sentences)): ...
[ "rekriz@seas.upenn.edu" ]
rekriz@seas.upenn.edu
a86e288fd8a1db05b1e1369fea4e5b7b03df6a51
2dc78bc075dd8ad88527c3399833974ed2e53ae5
/wsroutine.py
cd3d489b96b5bfcd0606c50d10422b657d94ef46
[]
no_license
cchrisgong/kuramoto_no_cluster
af72eef65eac58fb8fe88641463727d9af931956
23a7a57e255eace4fbd9a54144bbbc1649a9e84e
refs/heads/master
2020-08-28T02:26:41.808764
2019-10-25T15:21:30
2019-10-25T15:21:30
217,561,614
0
0
null
null
null
null
UTF-8
Python
false
false
6,765
py
#from Vector import * import numpy as np from numpy import cos, sin, pi, exp, arccos, sqrt, log, loadtxt, fabs, std import sys from scipy.optimize import minimize import cmath h_min = 1e-2 ########################################### integration routine ############################## ############################### In...
[ "noreply@github.com" ]
cchrisgong.noreply@github.com
140cd9dd221e93879ef61e3ac46f1da643d4c2c2
d10234590502b1b591828ae318739133ab32e0a8
/gitScrape.py
fba7c173a2a874ccd8803b72cee9db278599ba9d
[]
no_license
ack8006/recurseWorkflow
c17f08701b62489d8a113f8002efd89ea2fd5db9
d1b75d605913b067c2b7d012bff1d7ba8bbe7a09
refs/heads/master
2021-01-10T19:38:50.398136
2015-09-02T02:52:01
2015-09-02T02:52:01
41,641,456
0
0
null
null
null
null
UTF-8
Python
false
false
3,829
py
import requests from contextlib import closing import datetime #https://api.github.com/ #/users/:username/received_events/public #list languages #GET /repos/:owner/:repo/languages #list user repos #GET /users/:username/repos #*****handle pages class getGitHubData(): def __init__(self, username): self....
[ "takata.alex@gmail.com" ]
takata.alex@gmail.com
5e66ce42e37919c2af3d3500d584ca01a11259d1
2d481e4272f005b58917d8d101089376114c3207
/Arithmetic Formatter/Solved/arithmetic_arranger.py
c4d5090f86a686a14de25c369a2246169dd5454c
[]
no_license
aashishpt/freecodecamp_python_projects
509ec8c5af1e4f78feace57ad3d6c2be16053b7e
f8e3d019890f17eff204f2671c152b19e9420204
refs/heads/master
2022-11-14T23:03:51.654430
2020-07-12T09:51:35
2020-07-12T09:51:35
278,645,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
from evaluate import evaluate def arithmetic_arranger(problems:list,answers=False): if len(problems)>5: return "Error: Too many problems." # initiate empty variables needed first_str_list = [] second_str_list = [] sep_str_list = [] ans_str_list = [] exps = problems for ...
[ "aashishpt@github.com" ]
aashishpt@github.com
4012aaa1a578b50479a7ed4413a18d044e9b6734
f47991b692697f29a468c9a8d3a3d80ca8bda055
/HG/lab_code/lab01.py
9fd7acc8a27d73a7f756774d5434fc7b504440e9
[]
no_license
hogunkee/CanWeDeep
10dd4cd2ef5d61ba82772373caf50790229735e6
24dbc3cbd1fc7121a873066b3e6eb39ca4ce7094
refs/heads/master
2021-04-18T19:31:09.664515
2020-12-23T04:05:24
2020-12-23T04:05:24
126,709,875
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
import tensorflow as tf hello = tf.constant("Hello, TensorFlow!") sess = tf.Session() print(sess.run(hello)) ##################################################### node1 = tf.constant(3.0, tf.float32) node2 = tf.constant(4.0) node3 = tf.add(node1, node2) print("node1:", node1, "node2:", node2) print("node3:", node3)...
[ "hogunhogun@naver.com" ]
hogunhogun@naver.com
6fa816eb506c7963ab82c7b6144d01cb26179dc3
0fe062832fb0490ab78314a0b1cd06123f112529
/tests/conftest.py
16462790d808b9562a1ec1d6d12ff0114db4188a
[ "BSD-2-Clause" ]
permissive
FilipeMaia/afnumpy
4d5f59a8a486e835a1db0a4506650b35f582df55
17306d281dfc82257be7fd5f522031407b4bc16b
refs/heads/master
2022-09-16T08:15:32.690656
2022-08-25T09:26:13
2022-08-25T09:26:13
35,001,963
33
14
BSD-2-Clause
2018-06-04T15:02:28
2015-05-03T21:48:23
Python
UTF-8
Python
false
false
406
py
import arrayfire import pytest backends = arrayfire.library.get_available_backends() # do not use opencl backend, it's kinda broken #backends = [x for x in backends if x != 'opencl'] # This will set the different backends before each test is executed @pytest.fixture(scope="function", params=backends, autouse=True) de...
[ "filipe.c.maia@gmail.com" ]
filipe.c.maia@gmail.com
0384d7dfb9a7e53271b18c52096a581c20d45dc2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_46/71.py
24e9421799bdf1037f657a345661908082b4f683
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
input_file = "A-large.in"; output_file = "0.out"; input = open(input_file,"r"); output = open(output_file,"w+"); num_tests = int(input.readline()); for test in range(num_tests): size = int(input.readline()); matrix = [] a = [] for i in range(size): gg = input.readline() ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
cdeb4e8690477000342cd59097c9cc23be076db6
4e5b233311bdb5872fd5f862f90b3c6e56f56bc2
/Day_16_CoffeeMachine.py
d342630146136aa15eca126c5e01696d1bebea25
[]
no_license
asher-lab/100daysofpython
02b7c6703b82683f824e3a5b21d41233141827df
046f16fddb1073195f320e0f0f6e091c35f10314
refs/heads/main
2023-07-01T17:55:57.654898
2021-08-11T02:38:59
2021-08-11T02:38:59
388,103,965
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
from menu import Menu, MenuItem from coffee_maker import CoffeeMaker from money_machine import MoneyMachine #declaring objects menu = Menu() coffee_maker = CoffeeMaker() money_machine = MoneyMachine() is_on = True while is_on: options = menu.get_items() choice = input(f"What would you like? {options}:") ...
[ "noreply@github.com" ]
asher-lab.noreply@github.com
5090569746bd55fdf7180963a3c5b2c344c9bd1d
d506ac167881bf072707ffb19631d01e21a3e934
/natto/binding.py
4d7804d4f6c50a0f8a7319db0b38221d188c04fa
[ "BSD-2-Clause" ]
permissive
kain-jy/natto-py
8e6fe0cd03eef857ebf3a74be609db84a55b023a
4f4169f0bac3b760ca91df6eee1ca293e9704503
refs/heads/master
2020-04-07T21:28:29.332321
2015-02-23T15:36:27
2015-02-23T15:36:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,172
py
# -*- coding: utf-8 -*- '''Binding via CFFI to the MeCab library.''' import cffi def _ffi_libmecab(): '''Returns an FFI interface to MeCab library. Library definition is from mecab.h. ''' ffi = cffi.FFI() ffi.cdef(''' struct mecab_dictionary_info_t { const char ...
[ "buruzaemon@users.noreply.github.com" ]
buruzaemon@users.noreply.github.com
28fa8a759dc6ffc18f5c7ac27600ff3016c62383
7283f51c9ab9f53701e4c9708f20078758d26989
/tests/test_490HW.py
3386f26c9f2ec6ac624101f4232b15e2277bc8a3
[]
no_license
BCraine/BCraine490HW
4875369b836fda13dd98e9d2166042df9308ae0a
605474dc82a4a214aa7f952a0cb4abe6f6e310b6
refs/heads/master
2023-04-11T13:40:17.015730
2021-04-25T20:39:27
2021-04-25T20:39:27
361,489,782
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# import main def test_happy(monkeypatch): monkeypatch.setattr('builtins.input', lambda _: "Massachusetts") state = input("Please enter a state to do business in.\n" "You may pick between Massachusetts, New Hampshire, or Maine\n") assert state == "Massachusetts"
[ "brandoncraine193@gmail.com" ]
brandoncraine193@gmail.com
6960f98454113c7a8a8738f5e1910773e847daca
57a9a6fd03678d55dadd77dd376d89a015afa266
/manage.py
5fc50c3b615bac1417076792e7d740b856a8647d
[]
no_license
Matje1979/contactbook_app
9b9d28e96ae84d4810d57e2cf2c6e9082d6b8988
1fa21cdc630e876af596127ed3c1f948cf40b11e
refs/heads/main
2023-05-22T10:01:54.817520
2021-06-08T11:19:46
2021-06-08T11:19:46
374,974,514
0
0
null
null
null
null
UTF-8
Python
false
false
675
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', 'contactbook_project.settings') try: from django.core.management import execute_from_command_line ...
[ "damircicic@gmail.com" ]
damircicic@gmail.com
c4a2189bd043c8b607522d23537ddd839021efa3
13045157b7ff1bf8e17f26049ee182daddbf30a7
/Embedded/drcom.py
9247616ec75e29d7308063199352833b70be2b6e
[]
no_license
JerryLiao26/drcom-py
d6afae7b7f512cf96ee068de1250c1885ddc1eaf
61b320ad6eed1adffbcec93185bf925dfbfe8a7c
refs/heads/master
2020-12-24T20:43:08.044676
2017-06-20T10:45:31
2017-06-20T10:45:31
59,505,685
3
0
null
null
null
null
UTF-8
Python
false
false
5,814
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import os, sys, json # Get python major version py_version_index = str(sys.version_info).index('major') py_version = str(sys.version_info)[(py_version_index + 6) : (py_version_index + 7)] if py_version == "2": # Python2.x from urllib2 import urlopen from urllib im...
[ "jerryliao26@gmail.com" ]
jerryliao26@gmail.com
c4594e10edae91736450b2a4a8024d95e8912936
4b7d56fe3f5b2f532172b110bc1b05ae36c84468
/deprecated/csvTable.py
b30225884a429c54bcc1823170e93b2b7f9f4b9a
[]
no_license
digideskio/WmAgentScripts
fdfc80dc3c967c7a61b5bd7ef1f37cf0aed17761
6ead6971043fb25c3c43a667a1879370e6b3a689
refs/heads/master
2021-04-29T00:21:22.216242
2016-12-26T10:34:15
2016-12-26T10:34:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,237
py
#!/usr/bin/env python import httplib, json, csv, time, smtplib, os, traceback from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMASPACE, formatdate from email import Encoders from dbs.apis.dbsClient import DbsApi mailingLis...
[ "jbadillo@cern.ch" ]
jbadillo@cern.ch
5cc161d99b5edd628699e5661cc0f2f66c1c13df
857a442c98d1524eaa85d94a936934cf22dfa1d1
/mean_sightings.py
f2f74f235d9c07ef9aa4c7ff867c6b0d410bb664
[]
no_license
ekh351/Python_unit_testing
3647ccc827c9477c2f57e894e5be38f24bd65dc7
55547788abf7a0486da113109bef0c4b159d874c
refs/heads/master
2016-09-06T07:31:40.119141
2014-11-25T14:03:05
2014-11-25T14:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
import matplotlib.mlab as ml import numpy as np def get_sightings(filename,ani): #Loading table tab = ml.csv2rec(filename) #Allow for case insensitivity ani=ani.capitalize(); #Find total number of records for animals and calculate mean sightings isfocus = (tab['animal'] == ani) ...
[ "ekh351@gmail.com" ]
ekh351@gmail.com
05f9a32aaaf312888ab11c05a9a8fe64fce6275c
520ddc12f81eff79b3dec43e8ef5fe0e2b1bc200
/app_Optibin.py
47c344c4dc6d36c96625ed546e0f209256b60c92
[]
no_license
Phlasse/Opti-bin
2207d6a4e2a0b2145e2dd0e992af9ec142f9f686
dd6a58031ba8811cbbeb8cfe2260efc381c2d422
refs/heads/master
2023-03-31T08:01:00.099208
2021-03-23T08:24:10
2021-03-23T08:24:10
336,838,646
0
0
null
null
null
null
UTF-8
Python
false
false
7,076
py
from tkinter import * import os from os.path import isfile, join import time import pandas as pd import numpy as np import optibin.fivebin import matplotlib.pyplot as plt ################################################################################ ##### Overall Layout #############################################...
[ "zastrow.phillip@gmail.com" ]
zastrow.phillip@gmail.com
db497c282ce7e9e7fbb847d04b8596f891db88a1
d7dadde807fb638534462d52b79260ed7cdb64c6
/management/migrations/0003_auto_20200407_0228.py
045c3696165b91872137ca603b90d14a2cb25dec
[]
no_license
adilos12/ldpdonza-management
841fa954ffa052364ad921de9a3abc0168b53f00
d85c7b6d1dc1d6b572e5c70ede2537697b796699
refs/heads/master
2022-12-04T06:02:42.820595
2020-08-29T12:42:31
2020-08-29T12:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
# Generated by Django 3.0.5 on 2020-04-07 00:28 from django.db import migrations, models import localflavor.generic.models import phonenumber_field.modelfields class Migration(migrations.Migration): dependencies = [ ('management', '0002_auto_20200405_0855'), ] operations = [ migrations....
[ "tim.vanerum@ugent.be" ]
tim.vanerum@ugent.be
c6693a896d85200d20be1efe6ee5859d976d7d89
191d318f619f9ea3ab9b7e8031c3f8478381f530
/Sentiment Analysis Bollywood/dashboard.py
54b9822de1eef89420d1b723be34a0fecd69a130
[]
no_license
phyverse/Sentiment-Analysis
ddb2b171aa65bad3171e658d5cffdf185ff9521f
5d73e68ead5392ea3a0d4e376bac2157c5a83933
refs/heads/master
2023-07-19T09:59:00.238141
2020-05-04T09:16:58
2020-05-04T09:16:58
260,370,691
0
0
null
2023-07-06T21:28:04
2020-05-01T03:23:13
Jupyter Notebook
UTF-8
Python
false
false
733
py
import kmeans,manual,table,twitterapicall,dbCreate def mainfun(): a=input("What operation do you want to do? [1]Fetch tweets from twitter. [2]See charts of the tweet. [3]Manual input. [4]show users in cluster table. [5]see database [q] Quit: ") if a=='1': twitterapicall.twitterapi() mai...
[ "noreply@github.com" ]
phyverse.noreply@github.com
2c486fdff4147264b3a4d0404a6e8af18fa3daab
2055c8b46b72e4fa19dc87fddf29faf0c81e703a
/Trackle/trackle/venv/lib/python3.6/encodings/iso8859_13.py
dad20781f270f4685c66642e733d6fd0ec0061e5
[]
no_license
JMRLudan/Trackle2
2c72a3fff2e9bfe988874e00b64f56950043e825
2d2f486f076eb956903dabcc05434f1ecc6b6079
refs/heads/master
2021-06-20T08:56:56.973353
2020-01-19T14:28:59
2020-01-19T14:28:59
176,396,178
1
2
null
2021-06-10T21:20:09
2019-03-19T01:10:28
Python
UTF-8
Python
false
false
61
py
/Users/JLudan/anaconda3/lib/python3.6/encodings/iso8859_13.py
[ "joshludanr@gmail.com" ]
joshludanr@gmail.com
82418a74662292be850486b2c58549865c559f61
cca70c9bdf4a80013420a4eaede1363e266cb319
/CSC 555 Mining Big Data/kMapper.py
8ca7bd58568d7c53bed212eb2bd1b889194160c8
[]
no_license
mounazamran/Depaul
dc52e811b3408a1fcc11962627f3fe6ae0825dc0
f1ba87b7ef33d321c5b27ec880b4fff7de24ec10
refs/heads/master
2021-02-11T13:43:15.999509
2020-02-26T07:44:04
2020-02-26T07:44:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
#!/usr/bin/python import sys import math #read initiual centers from file fd = open('centers.txt', 'r') centers = [] for line in fd: l = line.strip() v = line.split(' ') centers.extend([v]) fd.close() # read numericfile.txt for line in sys.stdin: line = line.strip() vals = line.split(' ') v0 = float(va...
[ "michal.chowaniak@gmail.com" ]
michal.chowaniak@gmail.com
994447042d7d558126ef42892fb7bf4a1845423b
f1e20ed27c6c732b92a52123433bcc1f8a5fbb0e
/Flame Game/flame.py
9c2b6af08334c9219c22db4b33250220f884c078
[]
no_license
DishaM-123/Python
2ddec65777943fbecaae392e5a483b116a1148af
127a42981b0dba914f5346ccd4e1acd46e1e4b7a
refs/heads/master
2022-12-08T14:29:42.813430
2020-09-04T09:38:04
2020-09-04T09:38:04
292,808,895
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
name1 = input("enter a name:").lower() name2 = input("enter another name:").lower() name1= name1.replace("","") name2= name2.replace("","") print(name1) print(name2) for i in name1: for j in name2: if i == j: name1= name1.replace(i,"",1) name2= name2.replace(j,"",1) ...
[ "noreply@github.com" ]
DishaM-123.noreply@github.com
1de785d965a16611407a7698d4f739e95efbd8f9
2b9415486061bdb02f598e1ad62b5e7f87bdb15f
/blog/forms.py
e67e1d0440c3d04fc78c8a7e1bf26990b4ba2fb6
[]
no_license
Betadinho/Flask-Blog
9e687e149d00082c5f20eaa33b2c1138ab084b4d
29d07177441f81e40b3dff81b309038558eb5f5d
refs/heads/master
2023-02-21T23:24:00.723537
2019-06-18T11:55:46
2019-06-18T11:55:46
192,530,382
0
0
null
2023-02-02T06:34:14
2019-06-18T11:53:02
HTML
UTF-8
Python
false
false
1,415
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import DataRequired, Length, Email, EqualTo, ValidationError from blog.models import User class RegistrationForm(FlaskForm): username = StringField('Username', validators=[D...
[ "noreply@github.com" ]
Betadinho.noreply@github.com
81fa627e293605e74746676da48b221cdaa59e9d
ce0a3a73c7825f7327b8319fb2593b6b01659bb0
/webtest03/evaluation/migrations/0002_auto_20180802_0151.py
5bb7bf88cabc2d1779cc24878b96578183d001a5
[]
no_license
soccergame/deeplearning
28b0a6ed85df12e362b3a451050fab5a2a994be7
cbc65d3eba453992a279cfd96a9d3640d8fe6b9f
refs/heads/master
2020-03-28T22:38:26.085464
2018-08-31T11:22:39
2018-08-31T11:22:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-02 01:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('evaluation', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "18811442380@163.com" ]
18811442380@163.com
e90a14246e9f14ab4179dcd6e01df7a97a632414
a414c7bf2d89199032e95202be03d24cd5114389
/Euler problems/problem 3.py
fb26e8e0b0bd92a559c8310b41c2f08d8538fcd4
[]
no_license
ryunder/Project-Euler
1cf9f22948784d0dd2598dcdcc32af6a9846a5b3
d92b0d1936710d126acbfccdf37bd526081cf244
refs/heads/master
2020-12-30T00:10:30.738358
2020-02-10T01:31:22
2020-02-10T01:31:22
238,789,998
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
def factorize(num): factors = [] i = 2 while i * i <= num: if (num % i): i += 1 else: factors.append(i) num //= i if num > 1: factors.append(num) return factors print(factorize(600851475143))
[ "noreply@github.com" ]
ryunder.noreply@github.com
5cb5888a1aad42927e1c68873bdd9111650f4450
28bb4247e899d051316e61dbe878cc250250b58d
/venv/Lib/site-packages/mongoengine/base/document.py
63c4aa1f7e22c67be3328aefa8eed29b3041b423
[]
no_license
migcarde/wutcookAPITest
a22dd2cef9262b3a7cde9dfe1f80be6d1b9750bf
629dfecaad3da834651432f6bce51bd95f5b8144
refs/heads/master
2020-04-23T12:02:28.527354
2019-02-17T18:49:28
2019-02-17T18:49:28
171,156,274
0
0
null
null
null
null
UTF-8
Python
false
false
43,435
py
import copy import numbers from functools import partial from bson import ObjectId, json_util from bson.dbref import DBRef from bson.son import SON import pymongo import six from mongoengine import signals from mongoengine.base.common import get_document from mongoengine.base.datastructures import (BaseDi...
[ "mcaraballodelarosa@outlook.com" ]
mcaraballodelarosa@outlook.com
2d44edeb1a01d18e93e0d0f6b182dc4dfc11ab43
e1a50a83892f87d01ab0308c6046f306ff9a5218
/models.py
4183c9a72480b14c5e0787687acf49ff58dd4063
[]
no_license
benmcmorran/virtualdoorbell
dd5a3fcff5cd53ec3ef573fb0295d426566d5ffc
8c2c0e0490d20c0766c23779466cfe2ae86509e5
refs/heads/master
2020-11-29T11:52:43.515579
2017-05-08T19:18:48
2017-05-08T19:18:48
90,663,969
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
import datetime from google.appengine.ext import db class Doorbell(db.Model): creation = db.DateTimeProperty(auto_now_add=True) rings = db.ListProperty(datetime.datetime) name = db.StringProperty() viewed = db.BooleanProperty() clientIDs = db.StringListProperty()
[ "ben.mcmorran@gmail.com" ]
ben.mcmorran@gmail.com
2a4aff5ccb113103b0f4e2d159854e9d84d5c574
ca3839c69a1b2c02cea03e8a5f34cdabf0b6b624
/make_it_rain.py
893d63e9ffaae4c140f630c731228350b54635ed
[]
no_license
SeedyROM/rain_data_app
bd13d254bc6c573beca8d39b044e1347f7cfdae8
235d59bc24738f6484ea684fc0e69a23ec8f130e
refs/heads/master
2020-12-14T08:48:49.340295
2017-06-24T04:21:33
2017-06-24T04:21:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,945
py
from datetime import datetime from collections import namedtuple from itertools import groupby RainDataPoint = namedtuple('RainDataPoint', 'date_recorded, daily_total, hourly_data') #this strips everything after the line of --------------- in the file by def remove_header(data): for line_number, line in enumerat...
[ "swilliams0520@gmail.com" ]
swilliams0520@gmail.com
ffd9dc16f603d827f2770aa462b19116227f81ab
947fa6a4a6155ffce0038b11f4d743603418ad68
/.c9/metadata/environment/ib_miniprojects_backend/covid_dashboard/interactors/get_mandals_daily_report_day_wise_interactor.py
391e90db9899d1ac8399b764ed3bda3330121e23
[]
no_license
bharathi151/bharathi_diyyala
bd75e10639d7d22b332d5ce677e7799402dc4984
99f8657d010c790a0e4e4c9d6b57f81814784eb0
refs/heads/master
2022-11-21T12:43:48.401239
2020-07-23T09:05:52
2020-07-23T09:05:52
281,903,260
0
0
null
null
null
null
UTF-8
Python
false
false
7,116
py
{"filter":false,"title":"get_mandals_daily_report_day_wise_interactor.py","tooltip":"/ib_miniprojects_backend/covid_dashboard/interactors/get_mandals_daily_report_day_wise_interactor.py","undoManager":{"mark":16,"position":16,"stack":[[{"start":{"row":22,"column":8},"end":{"row":25,"column":9},"action":"remove","lines"...
[ "bharathi151273@gmail.com" ]
bharathi151273@gmail.com
77d9f7ba90c4cf8635621eec3d5b56604e3dbc8a
3fd35e132acf26c1404469477114b752cd6a294b
/test/test_arena.py
6e5e0a49888492db16c92a7812a80ddc2be95844
[]
no_license
LIQRGV/robot-arena
6655306ff08714f63ad6cea13c41967a230a8e9c
bfc6a2bb58b6036ba9fa7be5c6a666074bb64408
refs/heads/master
2020-04-14T13:22:31.923585
2019-02-01T12:19:17
2019-02-01T12:19:17
163,866,885
0
0
null
null
null
null
UTF-8
Python
false
false
6,055
py
from unittest import TestCase from unittest.mock import ( Mock, patch ) from robotarena import ( Action, Arena, Coordinate, DisplayConsole as Display, FieldBase, RobotRandom, ) class TestArena(TestCase): def setUp(self): self.patcher = patch('builtins.print') # i just dont ...
[ "septian@infoflow.co.id" ]
septian@infoflow.co.id
feb8e900948ef8f99cf828449e6bbbcd4d871c64
807de8c0aee3f1bb191b77a2ecb612e67cd9ac7e
/my_nb_poeme.py
cce38e66fb492ca8c2c9f3ba22d6e9cf6a7303a2
[]
no_license
talmoroc/deepcarroll
e6b70ddf014c1f38b31638b922db608f3ed79cbb
f013b17e4d2c6ee3fcedb2d26ef3f19400ac096e
refs/heads/master
2022-04-12T02:31:23.088385
2020-04-11T04:36:01
2020-04-11T04:36:01
254,791,458
0
0
null
null
null
null
UTF-8
Python
false
false
8,608
py
import config_etienne as cf import sys import codecs import random import time import imp import os import tensorflow as tf # tf.disable_eager_execution() # tf.disable_v2_behavior() import numpy as np import gensim.models as g from sonnet_model import SonnetModel from RUN_epoch import run_epoch from u...
[ "noreply@github.com" ]
talmoroc.noreply@github.com
fcec06be7e20929428dcdc37e5342560de471ba0
fc107164d575585eb281b985cf877b4fe44f5fb6
/server_v2.py
d1c15d4f14ce10d49474c983dc68af8c6acaa6cf
[ "MIT" ]
permissive
hieplebstar/voice-quickstart-server-python
b6d078936f1abfb910a0e33e8c4e63f72d36879e
587b79fdce1bdc63fb8562bc24b821a6cb7b2c3c
refs/heads/master
2020-12-24T11:17:11.845579
2017-05-31T08:43:45
2017-05-31T08:43:45
73,042,958
0
1
null
2016-11-07T04:43:48
2016-11-07T04:43:48
null
UTF-8
Python
false
false
12,907
py
#!/usr/bin/python # -*- coding: utf-8 -*- import os import json from flask import Flask, request from twilio.jwt.access_token import AccessToken, VoiceGrant from twilio.rest import Client from datetime import date import twilio.twiml import urllib import json import urlparse import smtplib from email.mime.text import...
[ "job@shakehand.co" ]
job@shakehand.co
e0e440cf9fcd46c81cf3b191a8b56f64ddb6cd51
3247cbc59098ea17c408966ed71f6908cf9fdc3e
/etc/proton
1fe6d6a22e91ea17c9f4fe220630a796fb1db67d
[ "Apache-2.0" ]
permissive
Quinn-Yan/proton
70dd6a5edfe62a13d51da960d54ba910fd5ce9b9
538cc219e169949eccc079b69b0d14284dbfb396
refs/heads/master
2020-11-28T01:14:41.866451
2019-12-22T20:30:57
2019-12-22T20:30:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,696
#!/usr/bin/env python3 # Copyright (C) 2016 - 2019 Entynetproject # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use the software except in compliance with the License. # # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
[ "noreply@github.com" ]
Quinn-Yan.noreply@github.com