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
4d3dfee3068e5ec1f3472e4d861305cf8e397164
34b9b6938ca1ad3b5d48d6878a86b481b9b8b97c
/sympy/polys/domains/fractionfield.py
3c54ad1175e7b9fc47b467f363df6b4ecac7ab90
[ "BSD-3-Clause" ]
permissive
pernici/sympy
2e787b12a37f7795afdbac20cca8a7791edb0e74
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
refs/heads/master
2021-01-20T23:54:32.520295
2011-05-06T08:39:38
2011-05-06T08:39:38
1,681,450
2
0
null
2013-05-01T15:19:05
2011-04-29T16:26:24
Python
UTF-8
Python
false
false
6,389
py
"""Implementation of :class:`FractionField` class. """ from sympy.polys.domains.field import Field from sympy.polys.domains.compositedomain import CompositeDomain from sympy.polys.domains.characteristiczero import CharacteristicZero from sympy.polys.polyclasses import DMF from sympy.polys.polyerrors import Generators...
[ "Ronan.Lamy@normalesup.org" ]
Ronan.Lamy@normalesup.org
86bc106a5f4842360725a423645b813d9e628780
b5921afe6ea5cd8b3dcfc83147ab5893134a93d0
/tl/db/__init__.py
6d32330ad1bf49969a0c946143251cbf65be80b0
[ "LicenseRef-scancode-other-permissive" ]
permissive
techdragon/tl
aaeb46e18849c04ad436e0e786401621a4be82ee
6aba8aeafbc92cabdfd7bec11964f7c3f9cb835d
refs/heads/master
2021-01-17T16:13:18.636457
2012-11-02T10:08:10
2012-11-02T10:08:10
9,296,808
1
0
null
null
null
null
UTF-8
Python
false
false
858
py
# tl/db/__init__.py # # """ main db package """ ## tl imports from tl.utils.exception import handle_exception ## basic imports import logging ## gotsqlite function def gotsqlite(): try: import sqlite3 ; return True except ImportError: try: import _sqlite3 ; return True except ImportError:...
[ "feedbackflow@gmail.com" ]
feedbackflow@gmail.com
d801619c615a81dc45fe6d90690ccfa418b2ee87
2837062f764f5bbc59f24d4e1a0a9a347d33a13b
/blog_mr/wsgi.py
06831aebdfb29d1d3edfd35a28b0e4ce12761090
[]
no_license
maheshrathnayaka/python-blog
cdbaf861a4beb851be99d0527c5f5fad75860ebc
edf804b4952b2e083f40a921cdc18cf1f04be739
refs/heads/master
2021-01-10T07:47:51.287406
2015-12-17T21:34:33
2015-12-17T21:34:33
48,199,286
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for blog_mr project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "blog_mr.settings") from django.core.w...
[ "mintcrops@gmail.com" ]
mintcrops@gmail.com
fdf3a0f5ab0f4dd4b4ca9772ca757c13bc142e32
3052e12cd492f3ffc3eedadc1bec6e6bb220e16b
/0x04-python-more_data_structures/2-uniq_add.py
817b6f00440e9cabf302dfa4ad7ba6f3f02ecf85
[]
no_license
JoseAVallejo12/holbertonschool-higher_level_programming
2e9f79d495b664299a57c723e4be2ad8507abb4f
f2d9d456c854b52c932ec617ea3c40564b78bcdb
refs/heads/master
2022-12-17T22:36:41.416213
2020-09-25T20:08:41
2020-09-25T20:08:41
259,383,382
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
#!/usr/bin/python3 def uniq_add(my_list=[]): new = set(my_list) sum = 0 for n in new: sum += n return sum
[ "josealfredovallejo25@gmail.com" ]
josealfredovallejo25@gmail.com
77a7080472f1c78e1297eeb9cf3dfe840c562a3f
17d306d7bb4802292a2e8c9eefcc87b19db46f0e
/main.py
4bb0794333a5888e567bdbed642d22bf18506d62
[]
no_license
brendonsanderson/Motion-CCTV
3aa705e9c9c83a8d0881b218385d303c81941774
ccf3be310aae1e6cf035c7f29e814fb46f7e3ef0
refs/heads/main
2023-03-08T18:29:03.204497
2021-02-25T20:42:34
2021-02-25T20:42:34
342,357,960
1
0
null
null
null
null
UTF-8
Python
false
false
5,919
py
## imports ## import cv2 from configparser import * from ftplib import FTP import smtplib import mimetypes import random import os import time import datetime import threading from time import sleep import pymysql static_back = None motion_list = [ None, None ] ### configs ### dbConnect = False ftpSetup = 0 dbSetup =...
[ "noreply@github.com" ]
brendonsanderson.noreply@github.com
10bb7fc1716814f33f2de19030e81f8a013e4861
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5744014401732608_0/Python/tmi/b.py
c8c2e1d24987ee554ec2bfc53dd1c4aecb9e83c1
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,955
py
""" LIMITS: for i in xrange(100): for j in xrange(100): do_something(i, j) Binary search """ import unittest from collections import defaultdict problem_name = 'B' attempt = None attempt = '0' # attempt = 'L' # attempt = 'p' # attempt = 'P' class TestSolveIt(unittest.TestCase): def ...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
c05cdfd8500955dad644568ede04261af06f3d75
a30362e51cb3291daf26d0c62e56c42caeec837f
/python/codeup/solved/_2001.py
12e69252ee2ad312f9dc2039e84c0bbb2d17f514
[]
no_license
TERADA-DANTE/algorithm
03bf52764c6fcdb93d7c8a0ed7a672834f488412
20bdfa1a5a6b9c378e588b17073e77a0126f7339
refs/heads/master
2023-04-14T21:40:11.250022
2023-04-12T13:00:37
2023-04-12T13:00:37
288,335,057
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
pastas = [int(input()) for _ in range(3)] juices = [int(input()) for _ in range(2)] print('%.1f' % float((min(pastas) + min(juices)) * 1.1))
[ "terada.syun.kim@gmail.com" ]
terada.syun.kim@gmail.com
e864f94d40ebeffde3a4d5b15dc6b036991ac3f4
c8c612a1905208c6708295d68ab6ef6f635f62e2
/test/producer_test.py
6efb0274b40ba8c5ec31c075713060f8d2bafd59
[]
no_license
comet-602/kafka-project
7f8f58750ea6b0adea6fd6d1090e369bb2abb321
f7bd9277e0635c1d59d07d10dd541e1ae14e03af
refs/heads/master
2022-12-21T01:47:00.384395
2020-09-22T02:55:40
2020-09-22T02:55:40
288,181,020
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
from confluent_kafka import Producer import sys import time import datetime import random # 用來接收從Producer instance發出的error訊息 def error_cb(err): print('Error: %s' % err) # 主程式進入點 if __name__ == '__main__': # 步驟1. 設定要連線到Kafka集群的相關設定 props = { # Kafka集群在那裡? 'bootstrap.servers': '35.229.2...
[ "connecting941@gmail.com" ]
connecting941@gmail.com
2899c8d7cef2cf8a8e5c133aca84de4ed93fd3dd
3c97a06c8b220c435920374d5ddb3518fe54c37e
/shop/models.py
a765cde850783c1a902063648906fceb81c3e498
[]
no_license
mikola-s/lesson_42_dj_09_module
e971dde498a7db95f038c07e6135528ceef4b9bd
5b96bab21677b79e890bed2520ecec48dec80906
refs/heads/master
2020-12-21T16:52:33.659650
2020-01-27T21:12:51
2020-01-27T21:12:51
236,494,416
0
0
null
2020-01-27T13:51:07
2020-01-27T13:17:18
HTML
UTF-8
Python
false
false
2,120
py
from decimal import Decimal from django.core.validators import MinValueValidator from django.db import models from django.contrib.auth.models import User from django.utils.timezone import localtime from django.db.models.signals import post_save from django.dispatch import receiver class Profile(models.Model): use...
[ "suharev.nv@gmail.com" ]
suharev.nv@gmail.com
44f578525b910c332b5243f73a136fd86fef0945
65aa7a98496dac18afe6f1ef1d1ed7db6b9f1f3e
/awsmfa/_version.py
ad2f2c9a9973d6ccbac8e27e4bc0fa26a95917ad
[ "Apache-2.0" ]
permissive
coltaa/awsmfa
777e48c458f240624d7deb927261079750065226
c9799019c0d249b4bf2d7432a62faf10a3be994a
refs/heads/master
2021-01-18T20:53:01.672625
2016-07-29T02:01:02
2016-07-29T02:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
"""0.2.7""" VERSION = __doc__
[ "dcoker@gmail.com" ]
dcoker@gmail.com
d7dff1872666f8294edb1b33eb2d524b5974fe04
43cca8e219d0003e55e1b0e10dc061a941d31a81
/dashboard/restAPIs.py
2179fdc515f67255cf44210b75465f90eb0dbe9c
[ "MIT" ]
permissive
surajsjain/interactive-wbs-management-tool
ae70cfbcc081e6be554ab351d123881c35031fb7
10e039feb750bc8567d34e6186778102f650124a
refs/heads/master
2022-12-13T08:01:03.004733
2020-09-18T07:00:47
2020-09-18T07:00:47
218,535,797
2
1
MIT
2022-04-22T22:36:11
2019-10-30T13:37:20
Python
UTF-8
Python
false
false
840
py
from rest_framework import status from rest_framework.decorators import api_view from rest_framework.response import Response from .models import * @api_view(['GET', 'POST']) def getPendingTransfersCount(request): if request.method == 'GET': transfers = Transfer.objects.filter(status=True) resp =...
[ "surajsjain@hotmail.com" ]
surajsjain@hotmail.com
30dcfba78544477402b5ff0748667ba8609537e9
5a547f76afc7dda9ad34fe47ea032ef90de3e170
/Inputer.py
2eb5b96b069468b2eabbb2f285c2dcc092d7316c
[]
no_license
smohammadfy/Sitado_Project
d53f30a5bf05c2fef8cca5077c56289cae7d15b2
9d6ca08870940363eae1e75a7db4de0002b467db
refs/heads/master
2020-12-20T06:17:33.643361
2020-01-30T19:41:46
2020-01-30T19:41:46
235,986,208
2
0
null
null
null
null
UTF-8
Python
false
false
5,696
py
from DB_Connection import * from colorama import Fore def inputer(): cur, conn = connect() print("what do you want to do?(insert,delete,update,end)") job = input(" > ") if (job == 'insert'): sql = "INSERT INTO " insert(sql, cur, conn) elif (job == 'delete'): sql = "DELETE F...
[ "m.faniyazdi@gmail.com" ]
m.faniyazdi@gmail.com
84a100451c0ec746b44e88beccc5c54d420ab13f
4b7e69a263455ccc0af132c685f37bbf3e3c8e0c
/drawing_functions.py
e50d20307b6dd0c89b78c586c90754522b81cf96
[]
no_license
Bala-Yarabikki/openccv
b9a565c25225f8303ea25da7fd6da1a1f42e678f
44ad85896a215d080226e46146770dd7d31cd4af
refs/heads/main
2023-02-28T12:49:22.687580
2021-02-02T10:35:37
2021-02-02T10:35:37
335,248,157
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
import cv2 import numpy as np #img = cv2.imread('lena.jpg',1) img = np.zeros([512,512,3],np.uint8) img = cv2.line(img,(0,0),(255,255),(0,255,0),3) img = cv2.arrowedLine(img,(255,0),(255,255),(0,255,0),3) img = cv2.rectangle(img,(384,0),(510,128),(255,0,0),-1) img = cv2.circle(img,(447,63),63,(0,0,255),4) font = cv2....
[ "balachowdary777@gmail.com" ]
balachowdary777@gmail.com
802c9e24b03153f5649e989bc11f3538e16259e9
eff6ca1e162caa7afb59e50b6b23528d097b8120
/leetcode/1833.maximum-icecream-bars.py
325c6e6a5c930874ebb420fee3b3d9d501974067
[]
no_license
Muttakee31/solved-interview-problems
9b93277c8d62c9db7130676cfc896d7cc9777812
88d1831dd0de2635ec8d2b296e112fe638b27fab
refs/heads/master
2023-07-01T18:18:00.599636
2021-08-05T16:20:26
2021-08-05T16:20:26
384,706,870
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
class Solution: """ https://leetcode.com/problems/maximum-ice-cream-bars/ """ def maxIceCream(self, costs: List[int], coins: int) -> int: costs.sort() i=0 while(i<len(costs) and coins>0): if costs[i] > coins: break coins -= costs[i] ...
[ "muttakee9@gmail.com" ]
muttakee9@gmail.com
80545f88e2bc9e86b14993921d17a39bfd57d075
30172cf8c7eca2eb5a825b96ed276ba68c746e9f
/charts/make_plots.py
df2cd0dc8e2b95c0f4ea1a74f4c41e8cba8e1dc3
[]
no_license
masseyr/deciduous
272451928b0d0cf76aede4d4889a224e87a49c3d
0d2cbb7381f856a7e720419e661b53e633da39b9
refs/heads/master
2021-05-26T05:16:30.208263
2019-12-11T00:25:40
2020-06-09T00:25:40
127,552,187
0
0
null
null
null
null
UTF-8
Python
false
false
6,194
py
from modules.plots import Plot from modules import Handler, Samples from modules.classification import RFRegressor, MRegressor if __name__ == '__main__': """ # ************************************************** # plotting histogram plot - rmse, rsq datafile = "D:/Shared/Dropbox/projects/NAU/landsat_...
[ "rm885@nau.edu" ]
rm885@nau.edu
9fe4c4142c2cb6d41ea5159ac4ce4111bd758e4d
b87f66b13293782321e20c39aebc05defd8d4b48
/maps/laplaceFilter.py
f6c0275671b0c1253e44e5c3a0959d1fb296b677
[]
no_license
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
# -*- coding: utf-8 -*- # Laplace filter a 2D field with mask # ROMS type maske, # M = 1 på grid-celler som brukes # M = 0 på grid-celler som maskeres vekk # Default er uten maske import numpy as np def laplace_X(F,M): """1D Laplace Filter in X-direction (axis=1)""" jmax, ima...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
f6ad498686944eb992da887910dbcdf0802b2de3
5ce4b969e0f9fb37710ca9c94b0213c927f7a22c
/TweepyDeck/views.py
8e6fe498d9e958fb01cc8afe99401d609f3916ed
[]
no_license
vdeleon/TweepyDeck
2a9a5c2985f108dc447453a07d5736ea84d57360
e78ed4c036901aee7fa7f9f3bcd53b57697a1568
refs/heads/master
2021-01-16T18:44:55.289877
2010-01-31T00:41:55
2010-01-31T00:41:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,259
py
#!/usr/bin/env python # Standard library imports import gettext import logging import math # PyGTK imports import cairo import pygtk pygtk.require('2.0') import gobject import gtk import gtk.gdk # TweepyDeck imports from TweepyDeck import bases from TweepyDeck import decorators from TweepyDeck import signals from Tw...
[ "tyler@monkeypox.org" ]
tyler@monkeypox.org
2cbe002fe9d8631b2181db14fcd9f483f5f3ae10
5ce8ade2c0a855119a00c10c6199ee3325ebcbd6
/photo/views.py
99e9f052fe9dd2f2a705c335e8e107b373b65291
[]
no_license
nn243823163/blog
cab0fd6a9f6672d851de5521f27976d37b0a91fe
2cbade64be2c9d5db5137cf83a148540e82c297c
refs/heads/master
2020-04-15T12:47:41.419706
2016-09-13T14:10:01
2016-09-13T14:10:01
64,661,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
#coding:utf-8 from django.shortcuts import render from .models import Photo from django.core.paginator import Paginator,InvalidPage,EmptyPage,PageNotAnInteger # Create your views here. def caoliu(request): ####直接返回图片##### # photos = Photo.objects.values('link')[00:100] # link = [] # for photo in photo...
[ "doudou@NanNandeMacBook-Air.local" ]
doudou@NanNandeMacBook-Air.local
fb765e5a0d31e8f3098448be9975086cd0e0efc3
7521cddb3210ef9797da6726d4aa5825acf4b9c2
/reservations/migrations/0001_initial.py
de98f2daa3d0aeeac6cc984c3f86755bd5363e5e
[]
no_license
Gangyong92/airbnb-clone
b4e5ec05c655c9eeb7e13d7de74b0a003e8b1a89
2e672cd26f734348d72720b72fe7bae45eeb2fd2
refs/heads/master
2023-01-24T04:14:04.096761
2020-11-30T01:03:54
2020-11-30T01:03:54
297,016,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# Generated by Django 2.2.5 on 2020-09-23 10:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('rooms', '0004_auto_20200923_1806'), migrations.swappable_depend...
[ "hyeonggang@naver.com" ]
hyeonggang@naver.com
e31f5636e88a1299c0ea38aad1445e3d09eafbbe
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03739/s765713448.py
5822883c62abf5e288d112b26404a87a8776ba40
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import sys import heapq, math from itertools import zip_longest, permutations, combinations, combinations_with_replacement from itertools import accumulate, dropwhile, takewhile, groupby from functools import lru_cache from copy import deepcopy N = int(input()) A = list(map(int, input().split())) p = A[0] if A[0] > 0...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
baae4856cb8124310e343f85ad3b4795b5d0f90e
55f76a8ffb9062f6553e3019e1bd9898c6841ee8
/qa/rpc-tests/decodescript.py
b6cf20b738fe7d15d55e0dfe3066d0e333c90b3c
[ "MIT" ]
permissive
mirzaei-ce/core-tabit
1c966183d5e35ac5210a122dfabf3b1a6071def5
f4ae2cb3a1026ce0670751f5d98e5eee91097468
refs/heads/master
2021-08-14T18:29:45.166649
2017-11-16T13:26:30
2017-11-16T13:26:30
110,974,552
0
0
null
null
null
null
UTF-8
Python
false
false
13,643
py
#!/usr/bin/env python2 # Copyright (c) 2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import TabitTestFramework from test_framework.util import * from test_frame...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
d93230d172007f9aaa9676cedb2752f3229b411f
a3b9e1736bee79b8b9ba0d6b21ab9a7a875db3a3
/lab2/task2.py
effcdb88834209a6769c3141223553ce338c672a
[]
no_license
SorokinStanislav/machine_learning
588346636097bb42125257338e3d91b4f51160c8
49260a4732c8a86448b12494d706bcd0f52690ee
refs/heads/master
2021-08-30T14:05:31.635433
2017-12-18T08:14:40
2017-12-18T08:14:40
110,861,705
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
import numpy as np import matplotlib.pyplot as plt import lab2.kernel_functions as kernel from matplotlib.ticker import AutoMinorLocator from lab2.task1 import silverman_bandwidth, general_naive_density_estimator def task2(data): sorted_data = sorted(data) bandwidth = silverman_bandwidth(data) val = 0. ...
[ "ssss4-281094@yandex.ru" ]
ssss4-281094@yandex.ru
cb6562a470baad7851fc37e21014202bc829e0d2
b1838ed33088c3ea56de617039cccde9644f3b9f
/projects/capstone/Emotion Classification/Model/VGG16_regular_ninth_try2.py
3df2ee1c548e9b3c64b9bf2e980802f740616a08
[]
no_license
bartchr808/machine-learning
b4dee500a440da425736d4eef8d9e58789cdec1c
8930166f9628b1f876d7e7a3addd8f1bf2fd462d
refs/heads/master
2021-01-20T14:09:17.150818
2017-07-28T03:55:33
2017-07-28T03:55:33
90,566,672
0
0
null
2017-05-07T22:47:26
2017-05-07T22:47:25
null
UTF-8
Python
false
false
3,537
py
# All necessary imports import numpy as np import h5py from APL import APLUnit from keras.models import Sequential, Model from keras.layers import Dense, Dropout, Flatten, InputLayer from keras.layers.convolutional import Conv2D, MaxPooling2D, ZeroPadding2D from keras import backend as K from keras.preprocessing.image ...
[ "bart.chr@gmail.com" ]
bart.chr@gmail.com
993e276184d5b6e7a95befb0a9d2ab45838164e3
33a07bdcd109b360956ffdd970cdc23121ad6c46
/todo/urls.py
bd1ced5fa426b73b3e1ffedab2797ff89315e2f4
[]
no_license
shv-b13/Todo-App-Django
6d08a6c4b732811c16069e73a3799ebb67ef3e6b
24c94013e190857376d5007586850147860bd087
refs/heads/master
2020-04-27T08:59:59.355271
2019-03-06T18:13:20
2019-03-06T18:13:20
174,195,473
1
0
null
null
null
null
UTF-8
Python
false
false
108
py
from django.conf.urls import url from . import views urlpatterns = [ url('', views.todo, name='todo') ]
[ "shakeev2000@gmail.com" ]
shakeev2000@gmail.com
b824a8f8fcd6773e176284464b0a5d8e30ad27cc
744d656d05a8ae2e527f05c1520440fff0e031ec
/reddit/tests/test_comments.py
6d9fcbdbfe8224f80f6d09431ff2f83abedfbd74
[ "Apache-2.0" ]
permissive
bzbikowski/django_reddit
af921c258aac4fbacf0306a829c0fabc8145bb51
a1776c48f3c8582848aa81919cfd911c342d5b6d
refs/heads/master
2020-03-18T13:08:45.354498
2018-06-09T08:40:55
2018-06-09T08:40:55
134,763,293
1
0
null
2018-05-24T20:05:22
2018-05-24T20:05:22
null
UTF-8
Python
false
false
7,763
py
import json from django.core.urlresolvers import reverse from django.test import TestCase, Client from reddit.models import Submission, Comment, Vote from users.models import RedditUser from django.contrib.auth.models import User from django.utils.crypto import get_random_string from django.http import HttpResponseNotA...
[ "nikolak@outlook.com" ]
nikolak@outlook.com
217dd659da02c34f6609e93d8f4af3b7938a591d
2289207666b611b0a6c0f5154c249892ec839969
/ban/tests/commands/test_commands.py
07889f8206c5c918cac1240a4ace5eab4af9aa85
[]
no_license
fb98/ban
a1f9e181b0479bc6f82b83e14ad459a466610683
909328625d85c4eb691ad033e05bbab25f6ec3f1
refs/heads/master
2021-01-16T21:24:53.288487
2016-09-09T14:39:44
2016-09-09T14:39:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,493
py
import json from pathlib import Path from ban.auth import models as amodels from ban.commands.auth import createuser, listusers, createclient, listclients from ban.commands.db import truncate from ban.commands.export import resources from ban.commands.importer import municipalities from ban.core import models from ban...
[ "yb@enix.org" ]
yb@enix.org
725acb868375a17eee87ad56c1c2d9b5a44735c6
01f7956788331cb522125b9a0b21dc7e3407552f
/main.py
bdb9419fa496738d63d458f54716418e33415569
[ "MIT" ]
permissive
vittorduartte/openufma_mongodb
35bbcde91d535d429f9aaf8d637540c8f8d7f1f6
177e970f341e04015a1f427afc1fc537bd78cc49
refs/heads/master
2023-05-08T18:58:23.267759
2020-04-11T09:58:54
2020-04-11T09:58:54
254,838,336
1
0
MIT
2021-06-02T01:30:14
2020-04-11T09:55:22
Python
UTF-8
Python
false
false
322
py
from mongoengine import * from courses import saveCoursesAndStudents from subunitys import saveSubunitysAndTeachers from monographys import saveMonographys import os connect(db="openufma", alias="openufma", host=os.getenv("MONGODB_ATLAS_URI")) saveCoursesAndStudents() saveSubunitysAndTeachers() saveMonographys() ...
[ "mateusriograndense@gmail.com" ]
mateusriograndense@gmail.com
e79fee5bf3b5d0cc1691ec110d1bf98af0ac79ce
7c48523e17cc899f53eeaea4697e7484aeb7be07
/url_shortener/app/migrations/0003_auto_20161017_1824.py
0669e1a53b780fe5c635db7e397ae086bd66275a
[]
no_license
cjredmond/url_shortener
fd126e57626ac4c4ea1c7771ed235c6ba9f012cd
8699466c0bc0be47a1aa2f6c51fb48d825197faf
refs/heads/master
2021-01-11T04:24:43.572468
2016-12-15T19:27:12
2016-12-15T19:27:12
71,164,196
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-17 18:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20161017_1822'), ] operations = [ migrations.RemoveField( ...
[ "connor.redmond@gmail.com" ]
connor.redmond@gmail.com
6f6ad9f12e3a02da0297c96efe0ffeb942f0b26f
4234dc363d0599e93abc1d9a401540ad67702b3b
/clients/client/python/test/test_health_not_ready_status.py
0d06f7b80e17dc904565f8fd0230e509b569b2c2
[ "Apache-2.0" ]
permissive
ninjayoto/sdk
8065d3f9e68d287fc57cc2ae6571434eaf013157
73823009a416905a4ca1f9543f1a94dd21e4e8da
refs/heads/master
2023-08-28T03:58:26.962617
2021-11-01T17:57:24
2021-11-01T17:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.21 Contact: support@ory.sh Generated by: htt...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
6b72f36694d7eabf144f86a7d5d269123c4daf9a
fa346a2d5886420e22707a7be03599e634b230a9
/temboo/Library/Flickr/PhotoComments/__init__.py
9222ebe3c98daa3fbed06c59677456643f854a74
[]
no_license
elihuvillaraus/entity-resolution
cebf937499ed270c3436b1dd25ab4aef687adc11
71dd49118a6e11b236861289dcf36436d31f06bc
refs/heads/master
2021-12-02T17:29:11.864065
2014-01-08T04:29:30
2014-01-08T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
from RemoveComment import * from ListComments import * from LeaveComment import *
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
ab902776461c67a21da37902d0d7f77b812de5a1
ee3b76750c1530dbffbbf97416fc5861c1118253
/api/managed_users/mixins.py
9aa2a0eb0470aacace74ccbfe11d07fe7dccf9ba
[ "MIT" ]
permissive
Alexeino/oauth-microservice
ef6cd34b2009bf059432c25d835255a674a900eb
a87796bff41bed745878bafab3ccf06e346c43e9
refs/heads/master
2023-05-27T12:50:26.178761
2018-11-01T19:33:20
2018-11-01T19:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,935
py
from django.conf import settings from django.core.exceptions import PermissionDenied from django.core.mail import EmailMultiAlternatives from django.contrib.auth.tokens import default_token_generator from django.contrib.sites.shortcuts import get_current_site from django.template import loader from django.utils.encodin...
[ "brian@brianschrader.com" ]
brian@brianschrader.com
51c743758a2c47a71c63d635856bc7792e14c161
065fa583a7af7134b7e6a366caabd0b44dff0b2a
/stylegan2/pretrained_networks.py
ef3805bfee968a489ed9b635d9f4ddb20834c4cd
[]
no_license
swapp1990/my-music-video-editing-app
977f5b7ab2d72562301d367104b0abccea904c66
8cc0e36f979bba978a687a4a686ef022a3a749d3
refs/heads/master
2020-12-22T20:15:36.917325
2020-01-29T06:45:16
2020-01-29T06:45:16
236,920,354
0
0
null
null
null
null
UTF-8
Python
false
false
6,626
py
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://nvlabs.github.io/stylegan2/license.html """List of pre-trained StyleGAN2 networks located on Google Drive.""" import pickle import d...
[ "swapp19902@gmail.com" ]
swapp19902@gmail.com
7903a28ac19128d86dce0cddb7f67678f2ab0bc3
c9c052f255e5a3b3c520a7fe0d8e35583dd5f0b8
/modules/image_scraper.py
6a5eb127f9f58b70230e0009dc7b08c6379f6d49
[ "MIT" ]
permissive
rad10/OCR-to-CSV
d42ed4e0c073ccc0352bc75634d5536491da4cc9
76a0c1d2063fa439ffc8c0771c9f0c6d7110a753
refs/heads/Python
2022-04-29T02:31:37.421983
2020-09-10T18:14:55
2020-09-10T18:14:55
211,869,687
0
0
MIT
2022-03-12T00:17:57
2019-09-30T13:44:20
Python
UTF-8
Python
false
false
13,543
py
import logging from os.path import exists import cv2 import numpy as np from pdf2image import convert_from_path def collect_contours(image): """ Sub function used by scrapper.\n @param image: an opencv image\n @return returns an ordered list of contours found in the image.\n This function was heavily...
[ "nrc1mr.e3@gmail.com" ]
nrc1mr.e3@gmail.com
c646ec7334171fd410dd729a3e04a9ba1fbf9b01
6e47be4e22ab76a8ddd7e18c89f5dc4f18539744
/venv/openshift/lib/python3.6/site-packages/kubernetes/client/models/v1_deployment_strategy.py
914f21295bee614f7a9f8c699925d0a1e9f1b171
[]
no_license
georgi-mobi/redhat_ocp4.5_training
21236bb19d04a469c95a8f135188d3d1ae473764
2ccaa90e40dbbf8a18f668a5a7b0d5bfaa1db225
refs/heads/main
2023-03-30T10:47:08.687074
2021-04-01T05:25:49
2021-04-01T05:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,227
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.11 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import r...
[ "student@workstation.lab.example.com" ]
student@workstation.lab.example.com
593fbc10327e9977a98d96bf7e5de12ffa810320
f3cc89bba5c5e019f64e440b487ae93e393b6428
/python_data/02_OpenCV/07_rotation.py
630e7211606967f3a7346be9bf186bd37c82660c
[]
no_license
jjoooyi/python
c7175e44ed9b489a1e065fef38b1268cdd53b7f4
04ca28619f644c65332d369057db925a1145745d
refs/heads/master
2023-04-05T06:32:26.432904
2021-04-15T03:19:06
2021-04-15T03:19:06
345,834,947
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
import cv2 # 이미지 회전 # cv2.getRotationMatrix2D(center, angle, scale) | 이미지 회전을 위한 변환 행렬을 생성합니다. # center: 회전 중심, angle: 회전 각도, scale: Scale Factor image = cv2.imread('python_data/test.png') # 행과 열 정보만 저장 height, width = image.shape[:2] M = cv2.getRotationMatrix2D((width/2, height/2), 90, 0.5) dst = cv2.warpAffine(im...
[ "jjoooyi@gmail.com" ]
jjoooyi@gmail.com
94287449e8ab64200850be071d6dc64e9a9e131d
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/AtCoder/ABC-C/028probC.py
bf11c79a82fcb370f2bd821b4ee7cf1d4117a028
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
A, B, C, D, E = map(int, input().split()) print(max(A+D+E, B+C+E))
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
52cb670aad936596ce9262ea89671c5c1df9a8ac
bbcea582fb8e3bbe60ac06ee1fb5fe4da87faa5a
/experts/half_cheeta.py
f516baa699cc0e1e27add786d407bd1145543585
[ "MIT" ]
permissive
cheng-xie/dpgfddagger
31ad5019aebc0689371c4257c5aee603f853b3c9
5264d5b9e0ab76fc9620da63bcfd78b25dadcbec
refs/heads/master
2020-12-30T11:02:32.243197
2017-08-22T01:18:51
2017-08-22T01:18:51
98,839,894
0
0
null
null
null
null
UTF-8
Python
false
false
111,267
py
import gym, roboschool import numpy as np from OpenGL import GL def relu(x): return np.maximum(x, 0) class SmallReactivePolicy: "Simple multi-layer perceptron policy, no internal state" def __init__(self, observation_space, action_space): assert weights_dense1_w.shape == (observation_space.shape[0...
[ "ptcernek@gmail.com" ]
ptcernek@gmail.com
bba778ac77b6f26d2cdbbd98a07a72600684d3a1
c897af3b37cb1507165a45ca5ee7eb7410a6d259
/writetodb.py
f6c842c7af3bf5f2c9e1edd5aafb561a6d05aaf8
[]
no_license
glencupples/pubgstats
7d63a33a7efef89e1cb11bac2fd04bfc0295c72b
07288da18f2406a08965c0d3dd9e1c580972fd55
refs/heads/main
2023-04-11T14:49:50.516177
2021-04-22T00:32:31
2021-04-22T00:32:31
360,340,328
0
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
import requests import json from pprint import pprint import psycopg2 import pubg_stats from PUBGkeys import * #search for matches, check against db to create list of new matches match_ids = pubg_stats.get_match_ids() db_match_ids = pubg_stats.query_db_for_match_list() new_match_ids = [] for i in match_ids: if i not...
[ "glen.cupples@gmail.com" ]
glen.cupples@gmail.com
27a1ce81c3cc607a8005a1afe01a2e35470201e2
09bbdb1f5f4905440dc3a2829481306375b85747
/test/debug_server/css_to_json.py
1b8e117d96734875c137d32af8648daabe81ee91
[]
no_license
BrokenEagle/JavaScripts
b5174e55152b3995a462dfd27ecd13f621ea84f5
2c6de8734670e62189116ba4e15bc7bb00e6b8ef
refs/heads/master
2023-08-31T11:45:40.641330
2023-08-28T04:52:57
2023-08-28T04:52:57
96,568,859
28
4
null
2023-01-21T18:49:53
2017-07-07T19:04:59
JavaScript
UTF-8
Python
false
false
1,475
py
# ## PYTHON IMPORTS import os import json # ## GLOBAL VARIABLES CSS_DIRECTORY = os.path.join(os.path.dirname(__file__), 'css') JSON_DIRECTORY = os.path.join(os.path.dirname(__file__), 'json') CSS_SETTINGS_FILEPATH = os.path.join(CSS_DIRECTORY, 'settings.css') CSS_COLOR_FILEPATH = os.path.join(CSS_DIRECTORY, 'color....
[ "BrokenEagle98@yahoo.com" ]
BrokenEagle98@yahoo.com
3971d82f334e85a8e5f4e4d8ed998b410a1ef0f2
a5103b7d5066138ac1a9aabc273361491a5031cd
/daily/8/DeepLearning/myproject/RL/begin.py
873404f336aa780f4dffdf3bd50381dfb4d4246a
[]
no_license
mckjzhangxk/deepAI
0fa2f261c7899b850a4ec432b5a387e8c5f13e83
24e60f24b6e442db22507adddd6bf3e2c343c013
refs/heads/master
2022-12-13T18:00:12.839041
2021-06-18T03:01:10
2021-06-18T03:01:10
144,862,423
1
1
null
2022-12-07T23:31:01
2018-08-15T14:19:10
Jupyter Notebook
UTF-8
Python
false
false
682
py
import gym def print_env_base_info(env): print('# of states:{},# of action {}'.format(env.observation_space.shape[0],env.action_space.n)) print('low value of state', env.observation_space.low) print('high value of state',env.observation_space.high) # MountainCar-v0, MsPacman-v0,CartPole-v0 env=gym.make('...
[ "mckj_zhangxk@163.com" ]
mckj_zhangxk@163.com
51823db10cf88e298ab73881169e04ed401035ad
40e5934f1fcf29e4fdd0c550760e822d077cd1ac
/blog/mysite/blog/views.py
1fbbb584cc58abe1f9367559b27d6dd6799cc5f2
[]
no_license
Merrylss/cms
2bbd065718b0b41d00301fa5c0ffc540160a2a6b
ac8864529892d2907d7fd67363699cf3d05d031d
refs/heads/master
2020-04-01T14:04:45.827603
2018-10-16T13:48:09
2018-10-16T14:09:40
153,279,492
0
0
null
null
null
null
UTF-8
Python
false
false
14,521
py
from io import BytesIO import uuid import re import logging from django.shortcuts import render, redirect, reverse from django.http import HttpResponse, JsonResponse # from django.http import HttpResponseRedirect from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_GET,...
[ "411763764@qq.com" ]
411763764@qq.com
5ebcb0ec78937bbee7a040f03b34c8f9bf0019cd
e0aed0114f9603e5290bc1d82e68a9b44918f4eb
/hole_spline.txt
528d14af5f4ae80f4034deb57102879a6305dc65
[]
no_license
arun-r-srinivasa/PIMESH
f61341aae7086a1131ad5256d193a85d6db68d89
344aff46cd32ed6b9ea1b37aa616307e47d880a3
refs/heads/main
2023-08-27T17:13:27.649049
2021-11-15T02:11:07
2021-11-15T02:11:07
428,094,050
0
1
null
null
null
null
UTF-8
Python
false
false
576
txt
# 2-D boundary description # "#" is the comment line signal # *SIZE= How many loops do we have in the boundary : # go ccw for externl and CW for internal boundaries #*LOOP is to list the segents in a loops # Dont put comments in the loop section #each segement has #Number of points, Order of spline, #whther it is ...
[ "43240303+arun-r-srinivasa@users.noreply.github.com" ]
43240303+arun-r-srinivasa@users.noreply.github.com
82ebb109b1ff339870f05f14eaf94145818d3893
b7fab13642988c0e6535fb75ef6cb3548671d338
/tools/ydk-py-master/cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_kim_tpa_cfg.py
430e9090d74c55f9bc626396251b682ad1b8f265
[ "Apache-2.0" ]
permissive
juancsosap/yangtraining
6ad1b8cf89ecdebeef094e4238d1ee95f8eb0824
09d8bcc3827575a45cb8d5d27186042bf13ea451
refs/heads/master
2022-08-05T01:59:22.007845
2019-08-01T15:53:08
2019-08-01T15:53:08
200,079,665
0
1
null
2021-12-13T20:06:17
2019-08-01T15:54:15
Python
UTF-8
Python
false
false
44,805
py
""" Cisco_IOS_XR_kim_tpa_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR kim\-tpa package configuration. This module contains definitions for the following management objects\: tpa\: tpa configuration commands Copyright (c) 2013\-2016 by Cisco Systems, Inc. All rights reserved. """ fr...
[ "juan.c.sosa.p@gmail.com" ]
juan.c.sosa.p@gmail.com
735651bc3e8864823159cd6993b999c60eeaebcc
6da73385ac62440831fc37cc6d88c3dc49e12bf3
/lpthw/ex6.py
ed5ac525af458bf42421770b207c604ea043671e
[]
no_license
Refath/Pythontest
afdd1fe1ed8bbd1e7e7ba4a89148ea46bd1f97dd
2cc3d90a8c71cb9804d807beefd30aa83bd3dde2
refs/heads/master
2021-01-19T23:47:36.139320
2017-04-21T22:52:46
2017-04-21T22:52:46
89,027,163
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
from sys import argv script, user_name = argv prompt = '> ' print "Hi %s, I'm the %s script." %(user_name, script) print "I'd like to ask you a few questions." print "Do you like me, %s" %user_name likes = raw_input(prompt) print "Where do you live, %s" %user_name lives = raw_input(prompt) print "What kind of compu...
[ "refath@Refaths-Air.home" ]
refath@Refaths-Air.home
054067c340e472315a23b82e04a23b27969d7b49
e23a4f57ce5474d468258e5e63b9e23fb6011188
/115_testing/examples/Unit Testing with Python/2-unit-exercise-files/demos/after/healthcare/test_prescription.py
2cc51d7df6e56552f0ca07512cb6fe09620d64e5
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
394
py
from datetime import date, timedelta from prescription import Prescription def days_ago(days): return date.today() - timedelta(days=days) class TestPrescription: def test_days_taken_excludes_future_dates(self): prescription = Prescription("Codeine", dispense_date = days_ago(days=2), days_supply=...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
96c51cb4f5ca229db5576782df15989d4fd82cb6
035de2a49ef07b2c9df324aa946ac5c6db967a15
/main.py
8d4342f1e6d4fc4a705d7f52f6bccb3e6ec75867
[]
no_license
DenisOvchinnikov93/IBM-data-science-capstone
b813df116d969403b175faccc0d0a8ce7446672b
0584081422cdc2ca1a4f861e1dee705f349ef856
refs/heads/master
2023-07-08T08:13:14.404082
2021-08-12T10:40:43
2021-08-12T10:40:43
394,453,262
0
0
null
null
null
null
UTF-8
Python
false
false
4,279
py
# Import required libraries import pandas as pd import dash import dash_html_components as html import dash_core_components as dcc from dash.dependencies import Input, Output import plotly.express as px # Read the airline data into pandas dataframe spacex_df = pd.read_csv("spacex_launch_dash.csv") max_payloa...
[ "noreply@github.com" ]
DenisOvchinnikov93.noreply@github.com
7359386547f80f26bc08414c6ce3fb16897e32fd
cfd003546918784814d39b6bcd7a3dc3db496f7b
/Computing Revision/Computing Quizzes/Lecture Test 2/T1.py
a5337cd8207870b2e7326ab219f0c5eb0e0fdea9
[]
no_license
TCReaper/Computing
95d325d7e08ab8fe396475883d6778160c8e4bf3
c6a4a000be4492ea3ba874f22d8ab678734766e3
refs/heads/master
2023-06-02T10:55:33.152522
2023-05-16T06:34:42
2023-05-16T06:34:42
83,628,544
1
1
null
null
null
null
UTF-8
Python
false
false
1,632
py
# Name: Hao Shaun # 2017 - Term 2 - SH1 Computing Practical Lecture Test 2 # Code for Task 1 import random makeList = True data = [] while makeList: integer = input("Integer to add to list (x to stop): ") if integer.lower() == "x": makeList = False else: data.append(int(integer)) ...
[ "haoshaun@gmail.com" ]
haoshaun@gmail.com
1df723d7db513fc0a9329273b2523c84cdb83a0d
00d79e80bebf2eb96e11c54e4025abf649d326f0
/test_interleave.py
6445e3bb6fe5600a33ae8c387e8af71c40c9fe69
[]
no_license
VimanyuAgg/code-morsels
45e67361e9ee5c61e78db812800116457f76a119
87f30b91ff1770871d05b784efacd1656f2246ef
refs/heads/master
2021-06-11T00:15:05.791944
2021-03-18T01:40:01
2021-03-18T01:40:01
138,918,691
1
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
from itertools import count import unittest from w15_interleave import iterleave_after_2 as interleave class InterleaveTests(unittest.TestCase): """Tests for interleave.""" def assertIterableEqual(self, iterable1, iterable2): self.assertEqual(list(iterable1), list(iterable2)) de...
[ "vimanyu1022007@gmail.com" ]
vimanyu1022007@gmail.com
967de077c6655cf0d17b569c05f0e06ee1f71005
d864887f4ea948ad0774b16d2332482593ec643c
/0x10-python-network_0/6-peak.py
320b4eba97eb9693b104842da6b3ee4406d59673
[]
no_license
mauroxcf/holbertonschool-higher_level_programming
c9729bcfdbac5c80af0319f91b17a59983dff8df
7230de512dfebec90e7ea3341226727afe3bb5c7
refs/heads/master
2023-04-02T04:47:27.711906
2021-04-04T06:01:46
2021-04-04T06:01:46
291,758,236
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/python3 """ Function to find a number in a list, whos its highter that the next one, this numbers its call it peak and it can be more than one in the list """ def find_peak(list_of_integers): """ find the peak of a list of integers """ temp = None length = len(list_of_integers) for...
[ "maurox03@gmail.com" ]
maurox03@gmail.com
703852249c8309ee3238a14d4db2185f3c1e0cde
306a8a2475b0d86b016be948b368dd44da3d109a
/bounties/tests/test_view_get_pirate.py
907cb8213a9f790a75a4b0864e526d9763e49ca2
[]
no_license
kgfig/onepiecebounties
fb9093a026b653d3ec114fdc812f0471c6c04485
305a9b022aa078f1fec70da45d9263aca16b564a
refs/heads/master
2020-12-03T04:17:19.073372
2016-09-18T01:30:04
2016-09-18T01:30:04
95,845,299
0
0
null
null
null
null
UTF-8
Python
false
false
3,783
py
from django.conf import settings from django.core.urlresolvers import resolve, reverse from django.test import TestCase from django.template.defaultfilters import slugify from bounties import factories, views from bounties.models import Crew, Pirate class GetPirateTest(TestCase): def test_url_resolves_to_get_pira...
[ "kathleengay.figueroa@gmail.com" ]
kathleengay.figueroa@gmail.com
17a2e6b3137d8625a1d56461f4627b208209b5a3
f1bd9203cfde14d27ca932c5a69152f96aeaae06
/8ball.py
258ce5ebedaf64ece3868b2796042de529d182fc
[]
no_license
DarkImposter/camp
36a95c934ed0fad75062c349839d09aafcd99a46
13070c72347ebbb44b282d2f2ed5080862c45ee7
refs/heads/master
2020-03-20T22:21:08.988223
2018-06-18T19:53:27
2018-06-18T19:53:27
137,794,049
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
import random print('wlocome to the magic eight ball! enter to start!') q = input('what would you like to ask?') answer = random.randint(1,4) if answer == 1: print('the answer is yes.') elif answer == 2: print('the answer is no.') elif answer == 3: print('cannot predict now') else: print('ask again late...
[ "psexton@cfsnc.org" ]
psexton@cfsnc.org
2cc79c10bcdc26a64d703f9783b77f198822ecc0
ce354ae01ebe294d25480c8e50fa178495a43a9e
/setup.py
9f8e62b231ab367cab2288bf658d99e8f187ae7e
[ "MIT" ]
permissive
somu15/neml
8971a8ac3bc286e0cbebfd5204756716587138d9
afdb6bd91e713e8cadbfb1f5d2812e499b1d96df
refs/heads/master
2023-08-24T00:35:54.903201
2021-10-14T01:20:47
2021-10-14T01:20:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,291
py
# This file lightly adapted from the example CMake build provided in the pybind11 distribution # located at https://github.com/pybind/cmake_example/blob/master/setup.py # That file is released under an open source license, contained in the pybind11 subdirectory # of this package. import os import re import sys import ...
[ "mark.messner@gmail.com" ]
mark.messner@gmail.com
e9bcff87fe5024055b5ff172e7e346ad5c8a1438
d98f42497460c204be7c6b351bbf42b5daeab8b6
/JobMarket/settings.py
11f6c88602ab65306b5b9ed360c79c147da082b6
[]
no_license
AllaYeroshchenko/django
34c39b4305f8cb3f00a45bc36721399439bbc8e1
48f7673c6876e3cc2ed69dfe22adcbb45d5421c4
refs/heads/master
2021-02-08T20:36:11.779818
2020-08-31T03:36:44
2020-08-31T03:36:44
244,194,413
0
0
null
null
null
null
UTF-8
Python
false
false
3,557
py
""" Django settings for JobMarket project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os,...
[ "yeroshchenko@gmail.com" ]
yeroshchenko@gmail.com
166842816a225fa5762c3bd609a7ef8037da0c7c
4b513f8c34a3095c695b5f7b21c040adf28d3bae
/Attic/qe/qe.py
67b1cf5621a7641196cc3582cab9f8a447c6a854
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lsst-camera-dh/eotest
8ca68f149c3a8a2f3ea401d84bd864494b0844d1
3a00287d144bf408493e27b0f477a024ab0b2f81
refs/heads/master
2022-12-04T13:35:05.909637
2022-11-30T20:46:04
2022-11-30T20:46:04
30,815,403
4
5
NOASSERTION
2022-11-30T20:46:05
2015-02-15T02:19:26
Python
UTF-8
Python
false
false
4,872
py
#QE Calibration from builtins import str from builtins import range import numpy as np import pylab as p import matplotlib as mpl import lsst.afw.image as afwImage import lsst.afw.geom as afwGeom import glob ####################################Setup ########User Editable Parameters #which amps to measure amps = list...
[ "merlin.fisherlevine@gmail.com" ]
merlin.fisherlevine@gmail.com
f970dc52fefa54c13ac5d90c0c68650a5cfc6062
22e2d1d44e0f08f47bf583c4bb0e9bded343fcde
/driven/vizualization/plotting/abstract.py
9132c35b0f78e04c7f6b9abf2b3d66bee86c9adc
[ "Apache-2.0" ]
permissive
SysSynBio/driven
7a1e16d9825cc8c6bb9ca8fc1918a90f020b6342
a00cf1f921386dd3ee163a9e74a5a3f9af47538c
refs/heads/master
2021-01-18T13:19:50.920228
2016-01-08T15:20:17
2016-01-08T15:20:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
# Copyright 2015 Novo Nordisk Foundation Center for Biosustainability, DTU. # 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 ...
[ "joaca@biosustain.dtu.dk" ]
joaca@biosustain.dtu.dk
7412aca133f1a09a79c620eecf5445fc9e34de71
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03129/s525121688.py
7759746279f4a48e4b26ee70ae343bdc7f762ea5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
n,k=map(int,input().split()) print("YES" if n>=2*k-1 else "NO")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
014659578b038cea96cd5d1e5f97bc8e34ec15b6
602251749a413053118585dbc229089f09b7d85a
/mapstory/importer/api.py
209aa9d5dc1ee31fa197eae1ea3e500c9d240b60
[]
no_license
JWileczek/mapstory-geonode
9d72809787e9ac05520cfa98e648016f90009835
605df10463036c47ead4189c4fedd3882a2c5b0f
refs/heads/master
2020-04-05T18:28:42.358110
2016-01-05T19:12:37
2016-01-05T19:15:08
49,011,217
0
0
null
2016-01-04T17:09:18
2016-01-04T17:09:18
null
UTF-8
Python
false
false
4,530
py
import json from tastypie.fields import IntegerField, DictField, ListField, CharField, ToManyField, ForeignKey from tastypie.constants import ALL, ALL_WITH_RELATIONS from tastypie.resources import ModelResource from .models import UploadedData, UploadLayer from tastypie.authentication import SessionAuthentication from ...
[ "garnertb@gmail.com" ]
garnertb@gmail.com
91d69c92aa0b266b30e2c551265f1d59b382ab92
f24f5eb20bba0e5dfca30e0af4d64b14cc542338
/protmc/common/base.py
7d19ba548c7922c35f47b6f5de18ff9489b6004a
[]
no_license
edikedik/ProteusTools
f408d3ec17a6736a41b6f59710278e25161563c6
49d002a3aedece4e122f21d55503898774b43c78
refs/heads/master
2023-04-18T19:50:51.856732
2021-04-27T09:07:52
2021-04-27T09:07:52
303,629,852
0
0
null
null
null
null
UTF-8
Python
false
false
4,980
py
import typing as t from abc import ABCMeta, abstractmethod from dataclasses import dataclass import pandas as pd Summary = t.NamedTuple('Summary', [ ('num_unique', int), ('num_unique_merged', int), ('coverage', float), ('seq_prob_mean', float), ('seq_prob_std', float), ('seq_prob_rss', float)]) ShortSummary =...
[ "edikedikedikedik@gmail.com" ]
edikedikedikedik@gmail.com
baad11383f0d3190c71d4275aa0b211b3273e5e2
ff4b39140fe848533f87c9f0ca3d4b472846135b
/bin/pip
ec4b9d9abb82222d3821fd94eaf8dffb5a4afc55
[]
no_license
Kevinp31800/Machin5
5e4f4fc03c467f35b506f9918be34252c4f3a7a7
02fd36ce8fa3a9640032d42bf69dd65cf3bbf1fa
refs/heads/master
2020-04-06T03:58:58.330170
2017-06-27T09:55:58
2017-06-27T09:55:58
95,448,233
0
1
null
null
null
null
UTF-8
Python
false
false
225
#!/home/tibau/Code/Machin5/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "xiliar1888@hotmail.fr" ]
xiliar1888@hotmail.fr
13fd943762d3b99c26891095580c3b4d68bfc703
f08474a94f97ec633a45a47874f80e6b1fbb6874
/kst/__init__.py
9bb3c3635e4396593704e95b31c1578190fb7cf1
[]
no_license
darionathor/kstProject
b4e8d38cc6514517f1d81e511da66e99e8350ebe
4ec250acf121d7a2b22a6b3903de4607edb6aa86
refs/heads/master
2021-08-27T23:24:37.652151
2017-12-10T18:45:28
2017-12-10T18:45:28
113,774,391
0
1
null
null
null
null
UTF-8
Python
false
false
301
py
from .ob_counter import ob_counter from .orig_iita import orig_iita from .corr_iita import corr_iita from .mini_iita import mini_iita from .ind_gen import ind_gen from .iita import iita from .imp2state import imp2state from .simu import simu from .print_iita import print_iita from .hasse import hasse
[ "sasalali@gmail.com" ]
sasalali@gmail.com
9266ec232dde02e0d6780d432855a6891259d7f0
31fd131cb72fd78a28fa53b4a443cdd0f52d139e
/favorProject/favorApp/migrations/0002_auto_20200216_0511.py
8532abaf18d6d775d0683638ea29d2827d16e565
[ "MIT" ]
permissive
rupaltotale/Favor-Webapp
def01ed92e1db1458dd92ab08f055351ece92370
724dbab10d1fa79980321e178f575f35de3a5429
refs/heads/master
2022-12-12T06:15:41.015861
2021-01-17T05:39:13
2021-01-17T05:39:13
249,617,472
2
1
MIT
2022-12-08T05:27:17
2020-03-24T05:03:36
Python
UTF-8
Python
false
false
919
py
# Generated by Django 3.0.1 on 2020-02-16 05:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('favorApp', '0001_initial'), ] operations = [ migrations.RenameField( model_name='favor', old_name='giverSigned', ...
[ "rupaltotale" ]
rupaltotale
3e3cb9385352bf47a38005950aac27caed287542
bc2ea3f8f1c060461693fc232a810228e28970fd
/Avrami/production/perfect_data/symbolic.py
9f314f0b8aca31b97360d9aadce0003f0199a1e6
[]
no_license
raymond-yiqunwang/Symbolic_Regression_GP
e8fcc2caae35ea5284b4834eea7eee6bc16288b4
e5ff1bbdfbbebf75ec7d87d42c08726245e506ae
refs/heads/master
2023-01-08T16:11:33.064548
2020-10-26T14:27:14
2020-10-26T14:27:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,583
py
from gplearn.genetic import SymbolicRegressor from sklearn.utils.random import check_random_state from mpl_toolkits.mplot3d import Axes3D import matplotlib matplotlib.use('TKAgg') import matplotlib.pyplot as plt import numpy as np import pandas as pd from sklearn.preprocessing import StandardScaler from scipy.optimize ...
[ "raymondwang@u.northwestern.edu" ]
raymondwang@u.northwestern.edu
f9b9eb6616f0e54b0e029372ca3eec5c56a1483f
7c2ddc7ec12da30b7ac7d5ac96a82ac5f4640573
/lab7.py
67087d9ac647d3e477e398a9b608ba0d583693c4
[]
no_license
stuharley8/CS2911-Labs
38886c09357a299ff612a8320591bf14a2f467e1
a17fed34af879a4631c607e4b377b7484e2bf340
refs/heads/master
2022-11-21T23:09:48.013652
2020-07-27T22:49:01
2020-07-27T22:49:01
283,034,153
0
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
""" - CS2911 - 021 - Fall 2019 - Lab 7 - Names: - Stuart Harley - Shanthosh Reddy A Trivial File Transfer Protocol Server """ # import modules -- not using "from socket import *" in order to selectively use items with "socket." prefix import socket import os import math # Helpful constants used b...
[ "noreply@github.com" ]
stuharley8.noreply@github.com
8e22685a2a9d024acc0d105088539f38221ebe44
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/HpJCBwggQMDLWTHsM_5.py
f75af80d464001d0f0864535eb2a061e10bc322e
[]
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
299
py
def average_word_length(txt): totlgth = 0 punctuation = ['(', ')', '?', ':', ':', ',', '.', '!', '/', '"', "'"] for i in punctuation: txt = txt.replace(i,"") splttxt = txt.split(' ') for wrd in splttxt: totlgth += len(wrd) return float('{:.2f}'.format(totlgth / len(splttxt)))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a7252ad25aa7ed9d9358dae226b0d31044560af0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/92/usersdata/260/38375/submittedfiles/atividade.py
827bd698c6daa02a20df244b2ce3c6ae4ceab721
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
# -*- coding: utf-8 -*- import math n=int(input("digiteo valor de n:")) for i in range (1,n+1,1): if (n < 0): n=n*(-1) else: n=n s=s+(i)/(n+1-i) print(s)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
477215c16be839002806a6370d8d8f4845d530c4
fe901ea37ae8a1dbc9fce034f8c4f32a535b06a6
/L_PyInterface/UART/UARTJoystickController.py
6e4b9639c73df34d92fbfca7e592b050f141d39f
[]
no_license
VB6Hobbyst7/roomba-localization
93c1dc1bba9102ff770b173ddd0bdb1436d22a86
f18d7ecf28f29e44806147fe1fef1c32a720eb69
refs/heads/master
2021-05-20T10:13:09.064249
2011-08-06T20:21:11
2011-08-06T20:21:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,816
py
''' UARTJoystickController.py @author: River Allen @date: July 15, 2010 A simple piece of code that uses pygame to poll a usb ps2 joystick for button and axes information. It's main design goal was for providing a simple 19 byte integer packet to be sent through UART to a microcontroller to provide human contr...
[ "riverallen@3c1b0362-c62b-8bf9-9a54-5033ff64f510" ]
riverallen@3c1b0362-c62b-8bf9-9a54-5033ff64f510
51860711f5043f738684f8edce148677cbe8648e
824f19d20cdfa26c607db1ff3cdc91f69509e590
/TopInterviewQuestions/string/08-Count-and-Say.py
6a9a02c968f9189cd1002ad15d69861e5338fc60
[]
no_license
almamuncsit/LeetCode
01d7e32300eebf92ab54c983de6e183242b3c985
17aa340649574c37067ec170ceea8d9326be2d6a
refs/heads/master
2021-07-07T09:48:18.069020
2021-03-28T11:26:47
2021-03-28T11:26:47
230,956,634
4
0
null
null
null
null
UTF-8
Python
false
false
703
py
class Solution: def countAndSay(self, n: int) -> str: if n == 1: return '1' string = '11' for _ in range(2, n): output = '' count = 0 last_seen = '' for c in string: if not last_seen or last_se...
[ "msarkar.cse@gmail.com" ]
msarkar.cse@gmail.com
3f550b9d87b3dbe0a6b0ecf8384a04184fdd7708
2ca3187c1c1cc2e26a0cc7c1279d8cc442792211
/desires/models.py
4b79db9b586dc1f774d73eaed32f4a2754838722
[]
no_license
pvmoura/Givalittle
f53825cdcf4ce64b690dc748a1c3d917bfb51117
62b3a05384c0c6a35769607ed65e7f1a271e4478
refs/heads/master
2016-08-05T21:09:49.030002
2012-03-13T20:07:05
2012-03-13T20:07:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from django.db import models from givalittle.giftsdb.models import Gift, Merchant from django.contrib.auth.models import User class Desires(models.Model): want = models.TextField(max_length=1500) author = models.ForeignKey(User)
[ "pmavfmoura@gmail.com" ]
pmavfmoura@gmail.com
15eea4d9861b0a20304ce02d6633c76a222ceca5
23151e210d814881e12b9a891872c4e813d63233
/LeTou_StaticVector_remainder.py
7bb0dceac75eb79aa19ddf3cadd44351334c5ce6
[]
no_license
HAHAHAHA123456/MyUtils
c9672b2b7407ffe69fbb6c987f037a57d692738d
1a74da6d402935e24e09e7b963bda9d5cce61180
refs/heads/main
2023-07-15T06:30:44.793023
2021-08-27T09:19:43
2021-08-27T09:19:43
386,573,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
class InfoRowRemainder: position0 = 0 position1 = 0 position2 = 0 def __init__(self): pass def getInfo(self): return self.position0, self.position1, self.position2 def check(self, currentList): if 0 in currentList: self.position0 = 1 else: ...
[ "ylwang@ep.com" ]
ylwang@ep.com
4c3f24f55c83b4baf999b6fe9152fc6d0b81ed81
62e45255088abb536e9ea6fcbe497e83bad171a0
/ippython/rectangulo_1.py
c5944c11caeb20379a035b36be86907369c21756
[]
no_license
jmery24/python
a24f562c8d893a97a5d9011e9283eba948b8b6dc
3e35ac9c9efbac4ff20374e1dfa75a7af6003ab9
refs/heads/master
2020-12-25T21:56:17.063767
2015-06-18T04:59:05
2015-06-18T04:59:05
36,337,473
0
0
null
2015-05-27T02:26:54
2015-05-27T02:26:54
null
UTF-8
Python
false
false
377
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 5 08:06:05 2013 @author: daniel """ # perimetro y area de un rectangulo # introduce valos de los lados ancho = float(raw_input("ancho: ")) largo = float(raw_input("largo: ")) # calculo del perimetro y el area perimetro = 2*(ancho+largo) area = ancho*largo # output da...
[ "danmery@gmail.com" ]
danmery@gmail.com
65b2f5dce2f747e4bd3255a9308ec2fe75aa3c2a
180e1e947f3f824cb2c466f51900aa12a9428e1c
/pattern4/hamburg_store_v1/src/NewOrleansRoastedBurger.py
5b06d6dade4fda5368883e31d18f57f7a3e206af
[ "MIT" ]
permissive
icexmoon/design-pattern-with-python
216f43a63dc87ef28a12d5a9a915bf0df3b64f50
bb897e886fe52bb620db0edc6ad9d2e5ecb067af
refs/heads/main
2023-06-15T11:54:19.357798
2021-07-21T08:46:16
2021-07-21T08:46:16
376,543,552
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
####################################################### # # NewOrleansRoastedBurger.py # Python implementation of the Class NewOrleansRoastedBurger # Generated by Enterprise Architect # Created on: 19-6��-2021 15:37:37 # Original author: 70748 # ####################################################### from .Hamburg...
[ "icexmoon@qq.com" ]
icexmoon@qq.com
4d494548cc8d9b383d7640e6dc53762063450614
f523e7bdd7f616267b82a7f00f2b7cae132dc6b9
/dicodile/update_d/loss_and_gradient.py
dd2b5842ff6aeedb14671b44b2cf2909002c6c41
[ "BSD-3-Clause" ]
permissive
tomMoral/dicodile
2d7da76be7d32fb05502cbb358fcda0018e5c00c
5a64fbe456f3a117275c45ee1f10c60d6e133915
refs/heads/main
2023-05-25T11:58:05.596455
2023-05-19T14:35:04
2023-05-19T14:35:04
167,703,861
17
8
BSD-3-Clause
2023-05-19T14:35:06
2019-01-26T15:26:24
Python
UTF-8
Python
false
false
4,361
py
# Authors: Thomas Moreau <thomas.moreau@inria.fr> import numpy as np from scipy import signal from ..utils.shape_helpers import get_valid_support def compute_objective(D, constants): """Compute the value of the objective function Parameters ---------- D : array, shape (n_atoms, n_channels, *atom_su...
[ "thomas.moreau.2010@gmail.com" ]
thomas.moreau.2010@gmail.com
db106b2f8d92f9349572b5ef78ce8725ed3cf7fb
5c14b4926b6285659a335767a5471c5c04271301
/todo_app/todo_app/user/repos.py
3fdea9d22bcfaa7270ab116ff8208afb795977ea
[ "MIT" ]
permissive
tanayseven/python-meetup-nelkinda-14th-october
c6e1df6a1d021e43044c7d29a2ce209696ca649e
14d39ef6b79afe30f3c0d38ae90273b1458923a1
refs/heads/master
2021-07-12T09:11:27.262277
2017-10-16T17:13:42
2017-10-16T17:13:42
106,182,564
0
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
from todo_app.extensions import db from todo_app.user.models import AdminModel, UserModel, ListUserModel class UserRepo: model = UserModel db = db @classmethod def add_new_user(cls, user_name, password): new_user = cls.model() new_user.user_name = user_name new_user.password =...
[ "tanayseven@gmail.com" ]
tanayseven@gmail.com
10ce4b4ce2e0058c9ac89fb49c5436db25806804
ba7489c4e702dd306306f4888199b6179990642a
/chatbot/yelp/endpoint/phone_search.py
e8adfc69fa2038e9ca5c4ca4dfe7c3e65d8fde89
[]
no_license
MyMusicTaste/b0pb0t
bf91a945e6dad434c5028530b0b1ed8bbaf998d7
562934f1bea8e678e9a9e62e8eb44417b2befcd7
refs/heads/master
2021-01-17T17:09:50.045150
2016-10-17T09:24:34
2016-10-17T09:24:34
69,436,933
4
6
null
null
null
null
UTF-8
Python
false
false
861
py
# -*- coding: UTF-8 -*- from yelp.config import PHONE_SEARCH_PATH from yelp.obj.search_response import SearchResponse class PhoneSearch(object): def __init__(self, client): self.client = client def phone_search(self, phone, **url_params): """Make a request to the phone search endpoint.More i...
[ "paul@mymusictaste.com" ]
paul@mymusictaste.com
abb726db02614f9daf052328c3f82e082414ccba
e45aeb09ffe598010888599d0e38142b57ca602f
/flask-example/myproject/migrations/versions/789e7f86495f_.py
5eb0c7614c8d8d97a0eef588e2e87888fd879b52
[]
no_license
Chen2358/Python-example
c89ede19bfea6e93f9bb7e2a556d7dfdc47a1bc8
fcec266f1b8916394832cfd03a75a8616ba22f7a
refs/heads/master
2021-06-22T07:13:45.305679
2020-12-23T03:49:59
2020-12-23T03:49:59
145,352,383
0
0
null
2019-11-13T09:53:04
2018-08-20T01:41:37
Python
UTF-8
Python
false
false
1,058
py
"""empty message Revision ID: 789e7f86495f Revises: ec864742eb28 Create Date: 2018-10-31 10:40:15.273341 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '789e7f86495f' down_revision = 'ec864742eb28' branch_labels = None depends_on = None def upgrade(): # ...
[ "chen@2359.com" ]
chen@2359.com
d6990abb62171e29dc3e05403c9b42288b9bd2ab
00cd32e541117e9a18cb2f534c31b221107a0bf8
/train_all.py
e5407e6bbf474a399a8308f5d48a608dc3ab06b2
[]
no_license
mamintoosi-cs/basic-super-resolution
f09d7f44c9285a79d6e0d816c6848228fa7413df
6edfa57196c8d9ecb78af6391124ddfd3879d37e
refs/heads/master
2022-01-31T13:03:33.270404
2019-07-20T23:31:50
2019-07-20T23:31:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,010
py
import argparse import dataset.data as data from torch.utils.data import DataLoader from DBPN.solver import DBPNTrainer from DRCN.solver import DRCNTrainer from EDSR.solver import EDSRTrainer from FSRCNN.solver import FSRCNNTrainer from SRCNN.solver import SRCNNTrainer from SRCNNT.solver import SRCNNTTrainer from SRG...
[ "unlike_666@yahoo.com" ]
unlike_666@yahoo.com
da796e304025e32e4804e27da77df78f98d82326
eac8b49d38d302174690f9b8c36f36feafa58bb0
/venv/bin/sslyze
4659949086d5e951e0bf55e9524b23acfee5912e
[]
no_license
gh0st/DomainTools
35d79637a32637a59810517b45a333ca500307c4
8bf2123db6e669ae156085ff96ace08e34a5b06f
refs/heads/master
2021-09-02T01:23:45.144421
2017-12-29T16:27:01
2017-12-29T16:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
#!/Users/joubin/Documents/Git/SecTools/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'SSLyze==1.3.2','console_scripts','sslyze' __requires__ = 'SSLyze==1.3.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "joubin.j@gmail.com" ]
joubin.j@gmail.com
d6135e052b814b6f51cd9956f7d5ce468f8ae3f7
0170a9da9c5dce006b1ac5f9d444f033e01ef9a4
/helmo/util/scripts/hp_search_to_num_nodes_csv.py
6557f5de35d01f01d99da3ea5fd4377e1a614382
[]
no_license
deeppavlov/h-elmo
d3544275e83ecb2b062f9d67adb0f7ab8ff62e4e
c9efd3a92bb44b7ff34dd398a7de33b4713bdbda
refs/heads/master
2022-09-17T09:54:45.103389
2020-04-09T20:01:27
2020-04-09T20:01:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
import argparse import csv def get_args(): parser = argparse.ArgumentParser() parser.add_argument( 'input', help='A path to a file with hp search results.' ) parser.add_argument( '--output', '-o', help='A path to a csv file with results.', default='num_n...
[ "peganov@phystech.edu" ]
peganov@phystech.edu
10d14f5737f0b46a53f3665e9a2b661546b7765e
9e824c5a177dd90987d6ba3266b0d945867970f3
/20-proyecto-python/usuarios/conexion.py
6ec8ef776f4a7843ca8e358d3b7f08bf1becbd4c
[]
no_license
jutish/master-python
ac66bc103e3a2a95635f7d7c8ced3496cbc9b01f
b780fd1a5905b8fd14c34976babcbdf2a75c3264
refs/heads/master
2023-01-14T06:50:38.747059
2020-11-25T11:45:07
2020-11-25T11:45:07
283,865,942
0
0
null
2020-07-30T21:18:05
2020-07-30T20:00:30
null
UTF-8
Python
false
false
767
py
# import mysql.connector import sqlite3 #Este metodo se conecta a la base de datos y devuelve un arreglo con la base y el cursor #Por defecto usa SQLite. Sino se usa MySQL def conectar(db='SQLite'): if db == 'SQLite': #En la oficina uso SQLite porque no puedo instalar MySQL #Conexion SQLite database = sqlite3.con...
[ "emarcelloni@agdcorp.com.ar" ]
emarcelloni@agdcorp.com.ar
8439e1ae4ece02e80829f46f48b0d1ece97df457
e723ba53f677dd51886d24b32e99e8afd71170cd
/py_core/day5/day1/d3.py
d5ccd2f4d5de1a28d6dbc9642f144cb7e3723f20
[]
no_license
1769258532/python
e2c9057fbe6050b0eaf1cd053e8ff6b4880de47a
974ded0ada1fcb171379ab597919a3d0d451f54b
refs/heads/master
2023-02-02T14:16:45.205325
2020-12-19T11:08:33
2020-12-19T11:08:33
312,196,740
3
0
null
null
null
null
UTF-8
Python
false
false
130
py
# -*-coding:utf-8 -*- # !/usr/bin/python3 # @Author:liulang # x = 1 # # if x > 0: # print(" x > 0") # print(" x > 0")
[ "2691510552@qq.com" ]
2691510552@qq.com
1ff911f82c5afc9e27a9355205827fceb49d787b
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py
e8dfc9c0c6d047dc26900448730ebbd0568918f8
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
28,169
py
# coding=utf-8 # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import os import pytest import platform import functools from azure.core.exceptions import HttpResponseError, ClientAuthenticationError from azure.core.c...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
678bf5b3ec870d332a5a4194eee7e243dab9922a
84fa4b11df32f16926395e4a615831a77c973df5
/clients/propbank.py
07d67abe14651cc2b6368f859896bc2c81c7b677
[]
no_license
richfish/nlp_clients
df9dc9405e9f13d89650d7dee339b0d9b8fa513a
abcd7d452c72dd3933a3d911be6b04f6a3eefbe1
refs/heads/master
2020-12-23T16:47:10.876939
2017-05-27T02:16:15
2017-05-27T02:16:15
92,562,761
0
0
null
null
null
null
UTF-8
Python
false
false
8,626
py
#https://github.com/propbank/propbank-documentation/blob/master/annotation-guidelines/Propbank-Annotation-Guidelines.pdf from collections import defaultdict import re from os import listdir from os.path import isfile, join from pprint import pprint as pp import json # import spacy # from spacy.en import English # pars...
[ "Richard Fisher" ]
Richard Fisher
79a928765926f744615e90f9ef1034a1915ca296
432c1dc997823b3068f7d742a72bea70bc81ffd2
/Dictionary/assoc_list.py
56b4c9fea3b8bb4a872cb108fa14cede0f4b39a2
[]
no_license
mjgpy3/DataStructsAndAlgsPractice
398a671ef8fffd77a17afde8b2437052d1fde2e6
09f2eadbbced32ce80bee1fbbcb443beebb6eced
refs/heads/master
2021-01-01T06:04:22.933841
2015-02-02T15:48:21
2015-02-02T15:48:21
7,411,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
from dictionary import Dictionary class AssocList(Dictionary): def __init__(self): self.list = None def insert(self, key, value): self.list = Node((key, value), self.list) return self def delete(self, key): self.list and self.list.delete_where(lambda t: t[0] == key) ...
[ "mjg.py3@gmail.com" ]
mjg.py3@gmail.com
86c274bc035045e4c07fcc53ac4cff5b68c2a4cd
5add1252106f3a9a7002a9dcab53f12e789aa3b7
/sort.py
322fa307fc2c4798391d299807de334d592fac97
[]
no_license
wknowleskellett/ChristmasListSorter
fe4b7c44f85e8029f12357385a8b8d73e76ce6fd
29a29bb72e68eec0accfa20c10f65cf0d3fbb542
refs/heads/master
2023-02-03T21:57:19.561914
2020-12-25T07:30:39
2020-12-25T07:30:39
324,302,863
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
from functools import cmp_to_key as ctk def clean_pair(pair, len): return f'{pair[0]: <{max_len}}\t{pair[1]}' def compare(item1, item2): print("Prefer 1, or 2:", end="\n\n") pad_len = max(len(item1[0]), len(item2[0])) print("0") print("1", clean_pair(item1, pad_len)) print("2", clean_pair(it...
[ "39969985+wknowleskellett@users.noreply.github.com" ]
39969985+wknowleskellett@users.noreply.github.com
a1e0a6b6dba9943c3ec69b8de8b76e31663311a5
4f4dcc8f692a861bb4aef5e9555ec5024d26633e
/Internet_worm/__init__.py
40f658c00327ecd1e264e3cb8553306e0d7a3249
[]
no_license
ZS140/Internet_Worm
25e52db1671e9e1a3b3283008d76058120cf1a70
0f3674f78277e6630678af36d71d978da1ae0d1f
refs/heads/master
2020-03-22T21:50:41.038500
2018-07-12T17:51:54
2018-07-12T17:51:54
140,716,940
0
0
null
null
null
null
UTF-8
Python
false
false
4,052
py
import hashlib import threading import urllib.request import os from datetime import datetime import time import re import logging from bs4 import BeautifulSoup from Internet_worm import nasdaq_mysql url = 'https://www.nasdaq.com/symbol/aapl/historical#.UWdnJBDMhHk' old_md = '' isrunning = True sleep_time = 5 #自定义日志对象...
[ "859691959@qq.com" ]
859691959@qq.com
6bcbca8ce64c3cf5385efbd96a2fb1f0427737d1
2e4c6c4694687383126ba126e2155133c112d275
/Exercise8_Putsaya_S.py
0d7af6526dda65f366f47c3adee738a2ed72cb21
[]
no_license
pearpps/CP3-Putsaya-Salika
5cf7aafc9214a630f0d839dd3910c6ec67dc9c5a
ac40af81efd8c8929e6367a35afc39a546f32555
refs/heads/main
2023-04-04T20:01:04.203054
2021-04-09T08:31:01
2021-04-09T08:31:01
346,943,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
username = input("Username :") password = input("Password :") if username == "exercise8" and password == "8188216": print("Welcome to Example Shop\n") print("----------MENU------------") print("1.pepsi 15 THB/PIECE") pepsiPrice = int(15) print("2.rice 5 THB/PIECE") ricePrice = i...
[ "pearr.putsaya@gmail.com" ]
pearr.putsaya@gmail.com
1cf3afa3a4bc89977f9ce7ece1af56e99ab8fb88
f872bf38c0553edd81bda254a23609afe5e9c08f
/data types/question38.py
813e8e5019223f6d14426e4f21ad46a28cad4bfd
[]
no_license
nirvaychaudhary/Python-Assignmnet
a2fc9498213e1e3e9b72216055b24c967330a835
b33ccd21921174a71ff52874020943dde7106108
refs/heads/master
2022-11-05T07:45:22.536530
2020-06-28T11:52:46
2020-06-28T11:52:46
275,574,303
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
# Write a Python program to remove a key from a dictionary. d = {'math': 80, 'science': 75, 'english': 90, 'Nepali': 85} print(d) if 'math' in d: del d['math'] print(d)
[ "chaudharynirvaya@gmail.com" ]
chaudharynirvaya@gmail.com
3ab3c84976bf42b28e9e44ba9806ac313a3ff20e
6e217b8626adb584131123a7ccc8579a98c5db7f
/kale/simulator/simulator_constants.py
ba659e0f7e18db0bd397076da68c40578c2686c7
[ "Apache-2.0" ]
permissive
blockchiansea/kale-blockchain
56504513f2fe0c2ad3906d944e04b20747f6b415
4971d93d0af3c8b50a46c371e8619c9f4b190ed2
refs/heads/main
2023-08-28T18:14:00.022382
2021-10-25T15:28:10
2021-10-25T15:28:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
if __name__ == "__main__": from tests.block_tools import BlockTools, test_constants from kale.util.default_root import DEFAULT_ROOT_PATH # TODO: mariano: fix this with new consensus bt = BlockTools(root_path=DEFAULT_ROOT_PATH) new_genesis_block = bt.create_genesis_block(test_constants, b"0") p...
[ "kaleseed@github.com" ]
kaleseed@github.com
fd4c4c060c007386e18808a8505d1d6c24e013cc
da0bfca935f6f73ceb26d6cfbde85b2bc7cf65d3
/attack_methods/Gaussian_blur.py
88cc823c0bad34c3b2f9b905487ce501978944be
[ "MIT" ]
permissive
ASU-APG/decentralized_attribution_of_generative_models
c0070a2e33b178bf7745c681c9f62bac67cc2e57
b57c38b215cff4df24744262ffa02d41c61151ac
refs/heads/master
2023-03-22T09:16:01.828670
2021-03-22T03:46:53
2021-03-22T03:46:53
328,608,508
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
import kornia import torch import torch.nn as nn import numpy as np import random device = torch.device("cuda:0" if (torch.cuda.is_available()) else "cpu") ##Uploading test class Gaussian_blur(nn.Module): def __init__(self,kernel_size, is_train): super(Gaussian_blur, self).__init__() self.sigma ...
[ "ckim79@asu.edu" ]
ckim79@asu.edu
47fef1d148e76c45b4f716f5a513cc26661827c9
4d29a209e95120d6ca70f4d3550adca3dd6161ad
/Web scraping.py
4ad340a35eb4ee2a2099b05c5c500f299cc0941d
[]
no_license
mansihsangwan/webscrapping
7ddc3b21858546064ffc2b8381f443d0f28c07f5
29b8621475933e89447075f7b4aebafa7bc46526
refs/heads/master
2020-05-10T00:19:37.614794
2019-04-15T16:47:33
2019-04-15T16:47:33
181,527,748
2
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
import requests from urllib.request import urlopen from bs4 import BeautifulSoup import urllib import time import re import os locations = [ 'https://www.python.org/' ] try: for location in locations: html = requests.get(location) data = BeautifulSoup(html.content,'lxml') #print(data)...
[ "manishsangu007@gmail.com" ]
manishsangu007@gmail.com
dc95599d72efcaad303dc9d75d8141446f85df7f
76723ef29e430357eaa338cae2e50fbc0356f30a
/Game.py
458cc081f5b09ae434a5380bad1bd2d3e55851a2
[]
no_license
mhmadAbs/TicTacToeConsole
125cf0b42d770a5b802842744e0e7f954d868e41
69788b1f2ac6e62005b10a7f49c2b968b85e35d3
refs/heads/master
2023-08-03T16:59:20.860536
2021-09-19T12:11:45
2021-09-19T12:11:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,922
py
import random class Player: def __init__(self, name, sign): self.name = name self.sign = sign.upper() def getName(self): return self.name def getSign(self): return self.sign.upper() def play(self, board): pass class Human(Player): def __init__(self, na...
[ "mhmad.abouras2222@gmail.com" ]
mhmad.abouras2222@gmail.com
a2487b5575f3ca164cb6d99549808fa7c10271d3
cd853e1267a88d702a1402e1454969f593e38484
/api/migrations/0001_initial.py
3b795535a411762b3a8f247fbfa816fb64e2792e
[]
no_license
paau12/dogofinder-backend
bc366b770741cc29f2507f359272b4d540fbee96
9c65e6a0be1a52feae189e840c528e7ce11482e6
refs/heads/master
2023-01-22T19:10:19.285469
2020-11-25T20:56:55
2020-11-25T20:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
# Generated by Django 3.1.2 on 2020-10-23 23:24 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Mascota', fields=[ ('id', models.AutoField(...
[ "yeguacelestial@gmail.com" ]
yeguacelestial@gmail.com
1dd859287ef526b07301459e8f99be5906e9ab61
88f5eb6aeeb04d1dfbea668a162756b79c1ce74f
/snippets/clfSequential.py
72438894c941621cac8d3c90a2dd497d1780da01
[]
no_license
xaviergoby/Adv_Fin_ML
8a436735337cfea2a558eb9e595bf74edf15ec33
744e11ffc26aede466dfb559047240ecf22187c6
refs/heads/master
2020-04-11T13:44:45.146528
2018-10-18T22:34:55
2018-10-18T22:34:55
161,827,581
1
0
null
2018-12-14T18:50:31
2018-12-14T18:50:31
null
UTF-8
Python
false
false
1,525
py
from sklearn.model_selection._split import _BaseKFold # SNIPPET 7.3 CROSS-VALIDATION CLASS WHEN OBSERVATIONS OVERLAP class PurgedKFold(_BaseKFold): """ Extend KFold class to work with labels that span intervals The train is purged of observations overlapping test-label intervals Test set is assumed cont...
[ "roberto@spadim.com.br" ]
roberto@spadim.com.br
09ce3d2b461a840a0ce78019a4e30b3e08a4a747
54ebf7ff5055acb05e73bfada81915b9b4b9c680
/backend/accounts/migrations/0002_auto_20210710_0005.py
cd6609e2d31fb98d6760e6b9d9049e5392221604
[]
no_license
Abdulghani007/Deceptive-Review-Detection
0839038ec3fd2de9920d5622e2e7433a2224e11a
56a643dee343bac604f9ce783afcde242f2979a5
refs/heads/master
2023-07-17T17:57:42.554703
2021-08-26T11:00:30
2021-08-26T11:00:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# Generated by Django 3.2.4 on 2021-07-09 18:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.AddField( model_name='customuser', name='deceptive', ...
[ "abdulghani444.blr@gmail.com" ]
abdulghani444.blr@gmail.com
217a8fa8ac1728329939524e1c34916521eebbf3
e2b769b5ddfbfd2d0d98ea41cd1ed19f0feab352
/manage.py
f30831f1f43ec9ed92498a8babab5a01ba7c8f3d
[]
no_license
artisk9/SMS
36a43d6312d46a738bcb5a289965311d9c154080
ef52e735b6fcb6860cb2d403db67da643b12311c
refs/heads/master
2020-04-27T05:29:39.213169
2019-03-06T06:22:19
2019-03-06T06:23:09
174,081,989
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lhProject.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "livehealth@swapnils-MacBook-Pro.local" ]
livehealth@swapnils-MacBook-Pro.local
99bc0a7e8d2cae319146da3e035d7f6c2c2ae18d
9eb7114b9836f38133f94d4cc63fe3b9c0e2d217
/simulation.py
ee838ad6e84ed55884aa8ef3cd23daf262e23c81
[]
no_license
Ammonbhatti/Discrete-Time-Event-Simulation
4c792015e2c75ce6b7c23761ba39032ab6844f50
a9b8ea7e0b353a3f8fd7fed36ec14fdfc9e05ea0
refs/heads/master
2022-11-30T00:55:31.563536
2020-08-12T00:16:15
2020-08-12T00:16:15
286,868,752
0
0
null
null
null
null
UTF-8
Python
false
false
3,949
py
# -*- coding: utf-8 -*- #package used to sample from the arrival and #departure distributions. import numpy as np MAXBUFFER = 50 #max packets in queue print("This is a discrete time event simulation of single" ) print("queue and single transmitter router.") print("The packet interarrival an...
[ "ammonbhatti@yahoo.com" ]
ammonbhatti@yahoo.com
1e48170f4f5611be124d9632c10234f2c1057af2
db42c2f2dece64a7f28da5e142f9dfb78adbee68
/DeepFool/NetworkTesting_Data.py
61ee4f7e81b632e7b56002d5566e51e8a8312959
[ "MIT" ]
permissive
shayan-taheri/AEG_Pix2Pix
837b234602da6b04badc47120ac6271c1ea0b912
35f2f7c72bb25b371951477702b683fdaa1dfa27
refs/heads/master
2022-08-29T22:48:33.309536
2020-05-22T13:07:59
2020-05-22T13:07:59
266,110,804
2
0
null
null
null
null
UTF-8
Python
false
false
17,722
py
import os os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "3" import numpy as np import matplotlib import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec from timeit import default_timer import tensorflow as tf import cv2 import glob from attacks import fgm, jsma, deep...
[ "noreply@github.com" ]
shayan-taheri.noreply@github.com
e8be59aff00078395d41f92fd5d00c1c5ef4e3d8
a212966dea7d46003f1f206b5f516c01f53b0a53
/project_extra_hours/models/__init__.py
82718110f608093ed0426d1adc05d889450f2002
[]
no_license
vertelab/odoo-project
34b87836fdfdf4f22542ad5b183aa2f243c282b9
44a9014c8654b0be728709a8cc74395322b92e0c
refs/heads/14.0
2023-09-04T18:30:26.983462
2023-08-28T09:18:06
2023-08-28T09:18:06
173,753,071
1
2
null
2022-05-27T13:46:57
2019-03-04T13:46:54
Python
UTF-8
Python
false
false
65
py
from . import sale_order from . import sale_make_invoice_advance
[ "miracleaayodele@gmail.com" ]
miracleaayodele@gmail.com
32753e6d356636f26cfc41bbc4e452b0ecaf105d
d6ca0c16ae7121ac0270a4ba557536d4139a1b0a
/bot4binance/bot4binance.py
c8e77e4c7fce1921ca1c573cf3cb5dfddf55479d
[]
no_license
SunPrime/Learn_Python
0fafd8fa4456d514ae88db5cf7f21508f67880ac
c748b86d356f485cbcba36642c903ca08926ff3b
refs/heads/master
2021-04-15T03:33:19.081653
2018-07-04T09:27:05
2018-07-04T09:27:05
126,723,569
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
from bot4binance import settings import datetime from binance import Client client = Client(settings.APIKEY, settings.SECRET) trades = client.get_my_trades(symbol='IOTABTC') for trade in trades: etime = int(trade['time']) / 1000 tradetime = datetime.datetime.fromtimestamp(etime) print("Time: {} | Price: {...
[ "sunprime@ukr.net" ]
sunprime@ukr.net
2441b08427902e054db8f0ef2f129dd4cdf6e2dc
3197f836378eef946390247d58728598d7e485d7
/python/pe-017.py
406302c00e075567d8a9b34d74878302a7fe7389
[]
no_license
charles-uno/project-euler
0eab93ebc58489715ecfcad5f26b513827d12f63
1981898bdab6df0694c8e8a0cb4d9d579dc114c8
refs/heads/master
2020-03-09T00:03:17.388243
2018-11-27T04:06:21
2018-11-27T04:06:21
128,479,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,822
py
#!/usr/bin/env python3 """ Charles McEachern 2018-11-26 https://projecteuler.net/problem=17 """ # ###################################################################### UNITS = { 0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', ...
[ "charles.a.mceachern@gmail.com" ]
charles.a.mceachern@gmail.com