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
d3fefa4ee994579db02f2ad3e22422232f0820dd
65000b7417776881d2438bffc077803a857fcdaa
/Email_App/Email/tests.py
72f84ce3b3044d1d8a4e643b5bead1b48ac4a20e
[]
no_license
achugh95/Email_App
d19d0b3df1432c1241fae44d6a8a9cc5b29c8981
5797ba38df6d779507d90156738e72c8031fb905
refs/heads/master
2022-05-09T06:34:44.292339
2021-09-24T07:52:50
2021-09-24T07:52:50
222,181,715
0
0
null
2022-04-22T22:44:10
2019-11-17T01:30:44
Python
UTF-8
Python
false
false
286
py
from django.test import TestCase from django.urls import reverse, resolve # # Create your tests here. class TestUrls(TestCase): # Send Email def test_email(self): url = reverse('Send Email') # print(url) assert resolve(url).view_name == 'Send Email'
[ "Anshul.Chugh@hitachiconsulting.com" ]
Anshul.Chugh@hitachiconsulting.com
3c7257d79ae2404a17be3a11ab128ed77c307cfe
64a9d58b7dea3678d9eb5e2e9185a3d8a44e441b
/AXF/AXF/settings.py
2c0e8c70d63f069c7bae69944da6ce45ff5bf173
[]
no_license
Mrk2239/KProject
f20ec99bd4eb44015c07b120d882cf857a2eaa7f
8a16a9ef5dac4b608ba8188b7a9c715d570b4a84
refs/heads/master
2022-12-10T00:03:37.589071
2018-08-26T08:13:23
2018-08-26T08:13:23
146,062,428
0
0
null
null
null
null
UTF-8
Python
false
false
4,352
py
""" Django settings for AXF project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ''' 全局设置 ''' ...
[ "839916251@qq.com" ]
839916251@qq.com
94e46fe72a7cb0cef2f91a4ff00ccf807435b804
02a23d5e3e89fde40985fd1514274d806c26c4bf
/venv/Scripts/pip3.7-script.py
8d637258051ce302de878085fbb0a892f573f52a
[]
no_license
abbosjon-kudratov/pyLoremIpsum
e4025b185eee70907c242408c7eaf0d37524525e
05f7384625d43877f73988cf7d162b5320cf4118
refs/heads/master
2021-06-21T00:33:58.155927
2021-06-16T12:34:57
2021-06-16T12:34:57
193,081,257
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!C:\Users\AK\Desktop\untitled\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' 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]) ...
[ "abbosjon.kudratov@gmail.com" ]
abbosjon.kudratov@gmail.com
6e4523ea31c0b5751e5eb3e0856a9d49e93e48af
84b0bccd66eda3ab0f9ee9f11d566791234772bc
/annabot.py
3ae9e5bafc048abd67157758fd614c9862810428
[]
no_license
prositen/boten-anna
a6a57c7340aba3b273badd31f03faccb38122d6b
b731202fd507d52df2055c92e675c5140b815dca
refs/heads/master
2021-01-10T04:40:28.963021
2019-10-25T10:59:01
2019-10-25T10:59:01
53,566,095
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from urllib.error import HTTPError from slackbot.bot import Bot __author__ = 'anna' def main(): try: bot = Bot() bot.run() except HTTPError as e: print(e.msg) if __name__ == '__main__': main()
[ "anna.holmgren@wigetmedia.com" ]
anna.holmgren@wigetmedia.com
bab9b0281dfa8ebcc3593333c0c723ce02e2b0a8
9a3a2727c33dbf42a690df7fbb226e0fabb45fab
/sem_7/zi/lab_3/main.py
acc54867fc138761a5afeee996e2360c3c14f9c6
[]
no_license
sloppysloppy1/bmstu
4979f1a0d7d08740c8b4bbb320d9df4a72271ad0
862fa10dc41a9a0d5d65e3f6c88d2a610082ede8
refs/heads/master
2023-08-05T00:52:17.830147
2021-09-13T15:29:41
2021-09-13T15:29:41
382,121,406
0
0
null
null
null
null
UTF-8
Python
false
false
6,343
py
from misc import sbox, inv_sbox, rcon, start from struct import pack from numpy import empty Nb = 4 # число столбцов Nk = 4 # длина ключа Nr = 10 # кол-во раундов шифрования def subbytes(state, mode = 'encode'): if mode == 'encode': for i in range(Nb): for j in range(Nb): ...
[ "tetetey11235@gmail.com" ]
tetetey11235@gmail.com
60718ef720815b3f844367318a5baacf79a15918
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_landladies.py
6672cc8cfdc66753c69f06fa6a2d1f144b459e2a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from xai.brain.wordbase.nouns._landlady import _LANDLADY #calss header class _LANDLADIES(_LANDLADY, ): def __init__(self,): _LANDLADY.__init__(self) self.name = "LANDLADIES" self.specie = 'nouns' self.basic = "landlady" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b1c35e0fb55c07bf703ad14443790084425ce3b6
76c561562bbcd0b17b50d0ee5de6f7c65aa86f3f
/testCase/test_resumeDownloads.py
9bcf1174b1d5fa9a67ab0dbd0c7a157bd79f7248
[]
no_license
Root9512/APITest
f9474032858c71649365836fa29842be0a37356a
b1e10d77d42f67c53deb921c5cfae2b7bbb55e85
refs/heads/master
2020-04-08T07:52:51.905016
2018-11-26T11:09:50
2018-11-26T11:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
# encoding:utf-8 ''' Created on 2018年11月26日 @author: chengchen ''' import unittest import requests from requests.exceptions import HTTPError import json from common import urlParam, paramete, statusCode class TestAPI(unittest.TestCase): def setUp(self): print("start test") pass def tearDown(...
[ "986107670@qq.com" ]
986107670@qq.com
7b05e6cce3777136da14b1da6f218feb04923a1e
f82e897eeea8a6ad8d6f0a4f3b662ea4b7b2e6b5
/howmanymiles/tests.py
d341bdf306eb2d3435fec3782310b598753a917b
[]
no_license
dellsystem/estimatemymiles.com
44e447599e9f0406674ffa6006a3948f3733e35c
a45c03c96020d3427810029ed82ad2d033e0a8d0
refs/heads/master
2021-01-17T06:04:37.223443
2014-05-06T21:11:33
2014-05-06T21:11:33
14,461,991
1
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
from django.test import TestCase from howmanymiles.models import Alliance, Airline, FareClass, MileageMultiplier class AirlineTestCase(TestCase): fixtures = ['test/airlines.json'] def test_get_qualifying_names(self): SJ = Airline.objects.get(pk='SJ') SJ_miles_name = 'Sleaziness Qualifying Mi...
[ "ilostwaldo@gmail.com" ]
ilostwaldo@gmail.com
e7c106444bd90e1df4644957dca453b04db6d660
da92cde8a4bd0f50595fd35952303367aec12352
/loggingconf.py
bfacbec77bea82214aa9c121f4280583e14ce3d6
[ "MIT" ]
permissive
ocworld/loggingconf
91e17b352ccbf42dd68c3676e078d71b93b84928
5e218698d1790068adee65ddf9fc16a176819154
refs/heads/master
2020-05-06T13:48:33.824015
2019-04-08T14:08:36
2019-04-08T14:08:36
180,157,508
1
0
null
null
null
null
UTF-8
Python
false
false
798
py
# -*- coding: utf-8 -*- import os import logging.config import yaml import json import io def file_config(fname, encoding='utf-8'): fmt2func = {'.yaml': _yaml_config, '.yml': _yaml_config, '.json': _json_config, '.ini': _ini_config} _, ext = os.path.splitext(f...
[ "ocworld@gmail.com" ]
ocworld@gmail.com
7992c91892339efa0474a1d3662b2f8254f39e87
668939e86200a534ef6953f3ee4e0c484c5867f2
/Classification.py
2798c0c3ed0335d60fb9d1dfe88034fed31005b0
[]
no_license
x2ever/Word-Classification
836a4d8e8d8a9c2cce8dc84d983bd6a2eead531d
2d3c087307601639213b9bc713746ce8163f2acf
refs/heads/master
2020-06-03T18:01:19.434530
2019-06-13T05:57:53
2019-06-13T05:57:53
191,675,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
import numpy as np import pandas as pd from sklearn.cluster import KMeans from sklearn.metrics import accuracy_score from sklearn.svm import SVC from sklearn.datasets import load_digits from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression RAMDOM_SEED = 999 class Cla...
[ "x2ever@naver.com" ]
x2ever@naver.com
1356deffbc44010a09de412170f5f02c8eb78359
86dedea07b16b11f6804db5603a882783ac021ba
/config.py
05029a22cdc88d5f05b09b7a8aba54f5328cb7ed
[]
no_license
zezhou-zhang/Linux_FileSystem_Silmulation
4c5543eff56cd445e9b9efc0568e56dee436e4b2
31ced15c1754d559eab2af933f54544cdefdfb82
refs/heads/master
2020-12-14T06:45:58.337968
2020-01-18T16:19:08
2020-01-18T16:19:08
234,672,668
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
#Total blocks must be greater than block size #Inode size must be less than Block size #Min size of file name is 5 ''' TOTAL_NO_OF_BLOCKS = 1024 BLOCK_SIZE = 512 MAX_NUM_INODES = 64 INODE_SIZE = 256 MAX_FILE_NAME_SIZE = 16 ''' TOTAL_NO_OF_BLOCKS = 1024 BLOCK_SIZE = 256 MAX_NUM_INODES = 32 INODE_SIZE = 128 MAX_FILE_N...
[ "noreply@github.com" ]
zezhou-zhang.noreply@github.com
ef29c27637886d0cef2b253b22a2f9354fccdef6
663de8810049c93e1c233fc1f6eb6d1adbd720b1
/learn-python-the-hard-way/Exercise 29 What If/ex29.py
e6a906215a2a2a8797df5fbcde6bba151fbfb256
[]
no_license
raindrop-aqua/learn-python
781947407261237649cdb874f9b43e6d22397c68
ebc0c07e740d731de7923720db29d4bfaa93ecc9
refs/heads/master
2020-04-09T11:10:50.995887
2014-11-16T11:02:34
2014-11-16T11:02:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
people = 20 cats = 30 dogs = 15 if people < cats: print "Too many cats! The world is doomed!" if people > cats: print "Not meny cats! The world is saved!" if people < dogs: print "The world is drooled on!" if people > dogs: print "The world is dry!" dogs += 5 if people >= dogs: print "People a...
[ "m-atsumi@mail.apsys.co.jp" ]
m-atsumi@mail.apsys.co.jp
561ce50e54e161aed1113ea400eb18b93aa2b7c5
cce1e235c2c8e58d83af6dbadeb471ca62b710a1
/codewars/6kyu/sum_of_digits_digital_root.py
07fbe00ef5d894252cf5835ebb0f854f28aeaeb7
[]
no_license
SebastianThomas1/coding_challenges
6b51ce046b458c44db809687b6809d16d066566f
bd3bc6be7a975b6255e4b2198c953d56bd74e75a
refs/heads/master
2023-03-03T00:18:00.147369
2021-02-08T21:52:02
2021-02-08T21:52:02
336,688,955
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
# Sebastian Thomas (coding at sebastianthomas dot de) # https://www.codewars.com/kata/541c8630095125aba6000c00 # # Sum of Digits / Digital Root def digital_root(n): return n if n < 10 else digital_root(sum(map(int, str(n)))) if __name__ == '__main__': print(digital_root(16)) # 7 print(digital_root(456)...
[ "sigma.online@gmx.de" ]
sigma.online@gmx.de
e54cd2147be5a55ad55054b01e9133ba8ec8168f
58ca8ad15949b96ae566fd598dbbd8e039c453e2
/django_04_external_libs/django_04_external_libs/settings.py
5b7df9a61a83cb1b487aa4b67b4eef376fe39ccf
[ "MIT" ]
permissive
javiromero/pycones2017
28fae3c4dacf154fdeafe74059793620b2a389e3
a252aed4027ee0fee524ec85c0ee9b9e8970573e
refs/heads/master
2021-07-05T06:52:13.663499
2017-09-25T07:59:22
2017-09-25T07:59:22
104,718,986
2
1
null
null
null
null
UTF-8
Python
false
false
4,631
py
""" Django settings for django_04_external_libs project. Generated by 'django-admin startproject' using Django 1.11.5. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings...
[ "javi.azuaga@gmail.com" ]
javi.azuaga@gmail.com
51a344220414e865543db0af532016ae778992ae
702574ec18a35258ce1a028c8ecf3dd91197b514
/triangular_lattice/correlation_analyze.py
dbed0d8a4c9f862fd55ca1d25c8b3605cf27aaec
[ "MIT" ]
permissive
ssh0/growing-string
4d5096225e4478913c654646d664f59d4bf0e88b
2e43916e91157dfb4253775149b35ec9d81ef14d
refs/heads/master
2020-04-12T03:10:44.130839
2017-03-24T07:51:44
2017-03-24T07:51:44
56,047,471
0
0
null
null
null
null
UTF-8
Python
false
false
3,236
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # # written by Shotaro Fujimoto # 2016-10-13 import numpy as np import matplotlib.pyplot as plt import matplotlib.cm as cm if __name__ == '__main__': fig, ax = plt.subplots() result_data_paths = [ ## frame=1000, before modified Lp, strings=100, [0, 4] ...
[ "fuji101ijuf@gmail.com" ]
fuji101ijuf@gmail.com
af050aadec9261133daf6994fe057fcb40d1bccc
2cd62248839ab346e688d1fa7e60ac6656a1a809
/apps/cart/context_processors.py
cdacdca08013dd60f42595ad0e8c5c9f6fcc6e35
[]
no_license
pbpoon/dda
5899c5b823f7132075089385e0fd23440cc17c59
b0b699dab3cc8efef2a91fb0706adcca130e0911
refs/heads/master
2022-12-08T21:46:40.304772
2019-04-09T05:02:37
2019-04-09T05:02:37
160,053,343
0
0
null
2022-12-08T01:30:58
2018-12-02T14:02:38
JavaScript
UTF-8
Python
false
false
159
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by pbpoon on 2018/11/8 from .cart import Cart def cart(request): return {'cart': Cart(request)}
[ "pbpoon@gmail.com" ]
pbpoon@gmail.com
d5afc0eab559fa7d6e948a07ff38d4fc0877bb65
0b9fa16ec8ff2d006d67b3d6ef07bc2aca64bf43
/timeline_tweets.py
fff5534035d7bb5cc983f3bb741570cf896dc2cd
[]
no_license
pratik-anurag/Streaming-Tweets-Dashboard
4f8e0b1eae2fa3f311fdb727ee7af6ba9a80c9ab
836fbdd2bd2d512cc8183cf35c029be2d945e891
refs/heads/master
2020-11-24T23:08:10.917576
2020-02-13T07:05:21
2020-02-13T07:05:21
228,378,884
1
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
import tweepy import csv consumer_key = "" consumer_secret = "" access_key = "" access_secret = "" auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_key, access_secret) api = tweepy.API(auth) def get_all_tweets(screen_name): alltweets = [] new_tweets = api.user_timeline(screen_nam...
[ "noreply@github.com" ]
pratik-anurag.noreply@github.com
57316fb2b7eb230937a40de9de0ec04b4ed70bbe
db2c985d72a05cff4557b63101376d7eea953984
/test_uppgift39.py
4ef15a5e75fc73973bdd2d1d50afc9670d11de77
[]
no_license
rupertpupkin-coder/kyh-practice
dbbdddfc0068c5ac84157a16778fa5e2807fc362
673c36e777f8ae36d330c89d903e1072002cbcfe
refs/heads/master
2023-01-06T03:17:40.607749
2020-10-14T12:46:52
2020-10-14T12:46:52
291,699,472
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
import uppgift39 def test_maxiumum_number_a(): a = 123 b = 33 c = 22 assert uppgift39.maximum(a, b, c) == 123 def test_maxiumum_number_b(): a = 1 b = 3 c = 2 assert uppgift39.maximum(a, b, c) == 3 def test_maxiumum_number_c(): a = 1 b = 2 c = 22 assert uppgift39.max...
[ "jacob.nordlund@student.kyh.se" ]
jacob.nordlund@student.kyh.se
821b778589dea12a5a23150e4651c7036c3f8e25
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/3-lists_20200405001050.py
a8cc662d2b4e4efa3fa7a450b46a3f2cf65c568d
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# A List is a collection which is ordered and changeable. Allows duplicate members. numbers = [ 3, 23, 111, 3423, 352] print(numbers) print(type(numbers)) #using a constructor listNum = list (( 213, 11, 342, 2342, 55432)) print(listNum) fruits = ['Apples', 'Oranges', 'Grapes', 'Pears'] print(fruits[2]) #Get len pri...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
da8128a5008aa88db4003c335a46badc556ef918
53abaa06681e773b69d07ad88a29eb83a1b3a42a
/247. Strobogrammatic Number II.py
647c4d7b744a0de87ccf6c389030ed0635e10845
[]
no_license
wym1993/Leetcode
991c38f8c9f69cb79b6840d077dc961b6dc89a1e
2316300ce52cd8e2cead5be0310ec6de80a8d357
refs/heads/master
2021-01-20T05:13:59.390724
2017-11-15T01:16:56
2017-11-15T01:16:56
89,764,400
1
0
null
null
null
null
UTF-8
Python
false
false
656
py
class Solution(object): def findStrobogrammatic(self, n): result = [] hash = {'0':'0', '1':'1', '6':'9', '8':'8', '9':'6'} self.helper(result, [None]*n, 0, n-1, hash) return result def helper(self, result, item, start, end, hash): if start > end: result.appe...
[ "wang532@illinois.edu" ]
wang532@illinois.edu
f9c657605b595502917fd601bcc709a4b0304b0d
57dea986afe3bb4e4eb1b20340399648c6fd647e
/lab2.py
1e4a7ea8964a0b1df09f3390a4b40cd16e678df1
[]
no_license
clawdebob/selenium_labs
24f7271cd249ebb057328080033248dda8727743
8422246ba5573b09b8ce6174dad32cf93cf30246
refs/heads/master
2021-03-04T14:07:14.853284
2020-03-09T19:04:16
2020-03-09T19:04:16
246,040,319
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
import unittest import pandas as pd from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class Labs(unittest.TestCase): def...
[ "mok938@gmail.com" ]
mok938@gmail.com
640181fd94a01f424dc43dbd9ddf797593d0b7a9
ddeceb24e7fb0335a769dfc537b254f8e7da8c0b
/pyramid_wiring/scope.py
ca1ea358ec09d2a401cfd291d8ffbd0422c4abeb
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
veeti/pyramid_wiring
1aa9d0787134671d9f2c60b4f5a0c0bb3e1a4310
517a2366b9816fa32531376ba26da0a04c309be0
refs/heads/master
2021-01-10T02:10:34.017416
2015-06-02T14:55:15
2015-06-02T14:55:15
36,740,540
1
0
null
null
null
null
UTF-8
Python
false
false
757
py
from pyramid.threadlocal import get_current_request from wiring import interface from wiring.scopes import IScope @interface.implements(IScope) class RequestScope(object): """ A wiring scope where provided instances are cached per request. """ def _get(self): request = get_current_request() ...
[ "veeti.paananen@rojekti.fi" ]
veeti.paananen@rojekti.fi
418d205b9add068cf4cebeae5eda985ec9c89fb6
25279eb6ef2b9646852c12c008ba9bfaf3565646
/ValoresLista.py
14e4034c130617f6d4409768a3b110f5070cc77d
[]
no_license
Gabrielgjs/python
5c6dfdb35bf42cf47cffef24778b62ec3a1916d5
f4b2dca07c8df50490ec0ea51365259e82fa914e
refs/heads/main
2023-08-04T06:41:40.492310
2021-08-31T21:10:51
2021-08-31T21:10:51
401,487,576
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
numeros = [] while True: n = int(input('Digite um valor: ')) if n not in numeros: numeros.append(n) print('Valor adicionado') else: print('Valor duplicado, não vou adicionar') r = str(input('Quer continuar [S/N]')).strip() if r in 'Nn': break print(f'Os valores são {s...
[ "gjsgabriel83@gmail.com" ]
gjsgabriel83@gmail.com
315cd0f3a46ccea82af893ed13206c1766c2b58a
90f62b35b1ae137aab6d3835c71211937df9e5ee
/newssum/parsers/__init__.py
788da3fb68e8ea39cb6746874e6e179636c0df05
[]
no_license
mikelkl/news_summarization
2ebfad3f10b481c405b43849851958f93ea0ef3b
d5cc27521fdec82ccd273b6aac4f07e83dcb56ac
refs/heads/master
2021-09-09T12:56:06.252228
2018-03-16T09:59:35
2018-03-16T09:59:35
118,727,762
17
6
null
null
null
null
UTF-8
Python
false
false
102
py
from .story import StoryParser from .plaintext import PlaintextParser from .tweets import TweetsParser
[ "mikelkl@foxmail.com" ]
mikelkl@foxmail.com
78c1bfde08978675cf06dfb8a6c2923fde34c79d
1bb3c20ce5a53889eac280826d7d54194c7db33f
/math1/2839.py
96138db8e605efa844eb6edafdd7856bb3fd63d9
[]
no_license
yejiiha/BaekJoon_step
bd2c040597766613985ae8d3a943999cb35d6671
3eaedbb832f14c51f3fb990e7e140f00d732df1e
refs/heads/master
2023-03-24T06:36:28.851139
2021-03-21T14:15:40
2021-03-21T14:15:40
285,825,071
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
n = int(input()) box = 0 if 3 <= n <= 5000: while True: if n % 5 == 0: box = box + (n // 5) print(box) break n = n-3 box += 1 if n < 0: print(-1) break
[ "1126yezy@gmail.com" ]
1126yezy@gmail.com
5a65881b50835a602343bd7b929b52b0d41c6425
ce8563184a6cf8210279b79cd1ccfd4040e35b55
/src/ebay_rest/api/sell_logistics/models/order.py
b38e234854aa3ce71ae6c1c27ea126404975fc6f
[ "MIT" ]
permissive
craiga/ebay_rest
43dc107f9eeba9a04924f36ee8cf57af3854bc9a
a0be2677c65a787e9566df848ffa3ad0c309a9d9
refs/heads/main
2023-08-29T09:14:08.896434
2021-09-05T23:07:36
2021-09-05T23:07:36
411,585,541
0
0
MIT
2021-09-29T08:10:44
2021-09-29T08:10:43
null
UTF-8
Python
false
false
5,731
py
# coding: utf-8 """ Logistics API <span class=\"tablenote\"><b>Note:</b> This is a <a href=\"https://developer.ebay.com/api-docs/static/versioning.html#limited\" target=\"_blank\"> <img src=\"/cms/img/docs/partners-api.svg\" class=\"legend-icon partners-icon\" title=\"Limited Release\" alt=\"Limited Release\...
[ "matecsaj@gmail.com" ]
matecsaj@gmail.com
2c4300c2a660d0c5fdf063c3a024a00110bd7d3f
74b97e20b06a58ada94278f82ce511403fcddf21
/test/scenarios/synapse/output/extflatten/src/synapse/azext_synapse/vendored_sdks/synapse/aio/operations/_sql_pool_restore_point_operations.py
82112426d08bd39a69a7952163fa375e87b1288b
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.az
b171eb495efdb815dc051dface3800c3e5e35b8e
64f403a5fe74be28e46a90b6b77f8d2bc9a12baf
refs/heads/master
2023-09-01T13:22:21.784354
2022-11-01T02:34:12
2022-11-01T02:34:12
226,059,721
24
17
MIT
2023-02-08T00:46:07
2019-12-05T09:04:00
Python
UTF-8
Python
false
false
13,222
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
a9e739c3260d11561e816c441abaa8c039d92793
b1fb42b72f91d1a1375da6c86c2fff2f765d47af
/COOL_Py/__init__.py
82ecead75d94397a80e059caed1f7cf17798de3d
[]
no_license
Sanny26/COOL_Py
4e07450506ed753f7e923dc44090f972e3f97ddb
7a0ff6baf049781ae9e1f8cb43c60f9ab2a9ddfe
refs/heads/master
2021-08-17T00:59:41.269191
2017-11-20T16:16:35
2017-11-20T16:16:35
109,790,359
0
0
null
2017-11-20T16:16:35
2017-11-07T05:22:13
Python
UTF-8
Python
false
false
197
py
"""Init Script.""" # COOL_Py # # An interpreter to convert Stanford's COOL Programming Language to Python. # Authors: Santhoshini Reddy(github.com/Sanny26) and Chris Andrew(github.com/chrizandr)
[ "chris.g14@iiits.in" ]
chris.g14@iiits.in
ae25e164b3de18879ba35f674d2f6da9fecc7fe5
ee3fd7cd456eeb7e557068b338d0c25811a20fe3
/python_grammer/python_grammer/lambda_.py
f39100be4cd066a7db515e94713485dabf951931
[]
no_license
YuSunjo/algo_study
25f819f5e87b90f2ab9731abf95da8e7ee61e3bd
5849915afeefacbf58a9f6f31dc7a5b7852fce99
refs/heads/master
2023-09-04T00:29:19.893800
2021-11-14T09:23:11
2021-11-14T09:23:21
397,067,435
0
0
null
2021-11-12T01:51:15
2021-08-17T02:45:32
Python
UTF-8
Python
false
false
273
py
# 람다식 연습 from functools import reduce x = int(input()) plus_ten = lambda x: x + 10 print(plus_ten(x)) #################################### array = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] result = list(filter(lambda x: x > 5 and x < 15, array)) print(result)
[ "tnswh2023@gmail.com" ]
tnswh2023@gmail.com
6bd500fcc614046db97e8ea5d519d3220dec7997
f1c77538f89171190e730a3ca1faf36051d1969a
/setup.py
c4b1b2527ba368c2aea02d0c7da46f7a45928eb7
[]
no_license
manyids2/mateintwo
3d7438be2a1c66702967cb4e1ebda80f0801e3af
6d46ebf71388ef83712759fad13f75014f353b7f
refs/heads/master
2020-03-29T12:38:57.047859
2018-09-22T19:37:04
2018-09-22T19:37:04
149,910,297
1
0
null
null
null
null
UTF-8
Python
false
false
306
py
from setuptools import setup setup( name='mateintwo', version='0.1', description='The mate in two trainer - Lazlo Polgar', url='http://github.com/why/mateintwo', author='F T Horde', author_email='why@example.com', license='MIT', packages=['mateintwo'], zip_safe=False)
[ "manyids2@gmail.com" ]
manyids2@gmail.com
4c787a293e5b423e13c7eb460146d8f18003ede6
b477da605201a2e173c2e867a910e7d2db382eba
/_posts/coding/summary/sort/quick_select.py
21e4763bfac090cd090dcbf605d373dcd29c295b
[ "MIT" ]
permissive
teckoo/teckoo.github.io
9222f7e3e7e8d0572ad23c6b8a8046c98c94fcf7
097063d86e6372f2b5a7e85f9a5d1bf8d744e459
refs/heads/master
2023-04-28T21:49:21.860709
2022-10-26T20:07:18
2022-10-26T20:07:18
23,817,328
2
2
MIT
2023-04-12T05:48:00
2014-09-09T02:59:09
HTML
UTF-8
Python
false
false
1,378
py
# Python3 program of Quick Select # Standard partition process of QuickSort(). # It considers the last element as pivot # and moves all smaller element to left of # it and greater elements to right def partition(arr, l, r): x = arr[r] cur = l for i in range(l, r): if arr[i] <= x: arr[cur], arr[i] =...
[ "c2.programmer@gmail.com" ]
c2.programmer@gmail.com
2a27a7720b6273098962a537332e897cc3ea044f
79f7cb78a7b0aeb40b44d0e5e56651c94e178569
/homework4.py
6d774cff43fa60dcca523a4c6521138f771a056f
[]
no_license
oleksiiberezhnyi/BeetrootAcademy
8ae2b3db6fbb7b012a1b4a871ae5f40a08c73be3
e19891cb0ae9d1201d59d477f839c0d46e668164
refs/heads/master
2023-03-07T22:27:58.303497
2021-02-18T07:09:06
2021-02-18T07:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,254
py
# Import import random import math from datetime import datetime # Check correct inputs while True: # User input task number task_number = input("\nВведи номер завдання від 1 до 4. Якщо хочеш завершити роботи – введи 0: ") if task_number.isalpha(): # If letter than repeat input print("Потрібно вв...
[ "o.v.ber@me.com" ]
o.v.ber@me.com
e01174dfdba0df3f15f8197479c59ee549454632
21a11c5d319861d5d9ec02a385ef673efa410b1c
/bot/telegrambot.py
339c8db713a9ee1885182d3818e4650a3d6f0b4e
[]
no_license
Muslim2209/orderBot
89ec6b227a0639f4cdde16ccff24ae3cdb4dccb6
93f04f73bd482a8292d5c8e022762a52912aaaaf
refs/heads/master
2022-12-23T21:55:28.572279
2020-02-25T11:30:59
2020-02-25T11:30:59
242,982,926
0
0
null
2022-12-08T03:41:03
2020-02-25T11:25:32
Python
UTF-8
Python
false
false
2,489
py
from django_telegrambot.apps import DjangoTelegramBot from telegram.ext import MessageHandler, Filters from bot import constants from bot.base_commands import register, sticker from bot.controller import Controller from bot.models import TelegramUser, Command def bot_control(bot, update): user, created = Telegra...
[ "abdulhakiym2209@gmail.com" ]
abdulhakiym2209@gmail.com
fb2b2833d0209bd72fb8680a1ce9862be9c4b473
34db6d2ead4589ac8d360bdefc7b66c65a82fa77
/API Executable.py
7ce9e1fdccf5b0e2f478ac851fa4ce860b02671d
[]
no_license
glowsplint/api-executable
e2cd891725a7bb7bf1db8ff3d8682a1a33096d16
b3e3eebc89653a8b23b6b27861b9ef04fcbaa9c4
refs/heads/master
2023-04-06T10:00:39.104443
2021-04-09T06:05:46
2021-04-09T06:05:46
356,155,749
0
0
null
null
null
null
UTF-8
Python
false
false
12,881
py
''' # BigSchedules Production API Caller This script will call the BigSchedules API using our production credentials. Ensure that the number of seconds per iterations do not exceed 1 per second. For the production environment, the API call limit is maximum 2,000 calls per day and 150 calls per minute, with a maximum of...
[ "tym.teo.23@gmail.com" ]
tym.teo.23@gmail.com
8df6a09d9f9f8209e6e2fa4e19fe04bc964d2b7f
a019d939d94ec583b27e3f729b30e6c6a33f677f
/blog/migrations/0001_initial.py
4e0a53b0190cc6a470847efa997acc1aee54a92a
[]
no_license
Sakulaczx/lo-blog
85b8f6d588dc3255ed951717377e81cbc6e3d5c2
9a02396c899147f607d7926bc89dbdf46a81fb9e
refs/heads/master
2020-04-01T09:25:22.739907
2018-10-15T08:54:56
2018-10-15T08:54:56
153,074,092
0
0
null
null
null
null
UTF-8
Python
false
false
4,885
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2018-09-14 16:34 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth',...
[ "291290367@qq.com" ]
291290367@qq.com
0db314792d79f06fc66bc54cd045b4f8982e0602
20527de15bff7810c8cb3d8b45d919ce413c22ec
/scripts/run_integration_test.py
38401ce3f9149c3431aa3c8713a118d3fe132a38
[ "MIT" ]
permissive
modulexcite/pyre-check
7fd921b4f323e149aebe9a3eb03f6db124d23822
a84e85f735fa80a95cd4a0a10d1b88bff3495c8e
refs/heads/master
2020-06-27T07:56:18.019456
2019-07-31T01:11:01
2019-07-31T01:14:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,200
py
#!/usr/bin/env python3 import argparse import filecmp import fileinput import json import logging import os import shutil import subprocess import sys import tempfile from contextlib import contextmanager LOG = logging.getLogger(__name__) def is_readable_directory(directory: str) -> bool: return os.path.isdir(...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
aa47efbc4e1cf1b997bbbcb0139310b0393aca0f
e8e50cd161c26be486f70fe78c67ede364613ee5
/News/models.py
97e2927d4c84da33529b1dee7c916ea2e5e48916
[]
no_license
kuzhelny/my-apartment-app-project
28ac730a61563c1bab235581e3e92d36b69fa52d
c11edeb8246c6a2613c544857206460575225a57
refs/heads/master
2021-01-10T08:01:06.026096
2015-11-05T16:37:37
2015-11-05T16:37:37
45,148,676
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from django.db import models from django.contrib import admin from django.core.files.images import ImageFile class NewsItem(models.Model): title = models.CharField(max_length=50) subtitle = models.CharField(max_length=50) content = models.TextField() image = models.ImageField(upload_to='News/images') ...
[ "kuzhelny@mail.com" ]
kuzhelny@mail.com
e57d1a4c67e73780bdd1b919d7a80cc6e1d24e07
6b2a23ffce99bcd76d4eba47e37cd059b1af5fef
/Mxonline/apps/users/urls.py
14b0f0a41ea9b5732bbee61729c0ae10db39f4d8
[]
no_license
Kylin92/OnlineEdu
80d91bd76d248d5172a5869d1b2f619477fbb448
7d091cb1c6d2045ade12a915273e6a689067ca00
refs/heads/master
2022-12-17T08:31:56.811263
2019-09-01T08:26:14
2019-09-01T08:26:14
133,017,817
0
1
null
2022-11-22T02:18:22
2018-05-11T09:14:36
CSS
UTF-8
Python
false
false
1,251
py
from django.conf.urls import url from users.views import UserInfoView, UploadImageView, UpdatePwdView, SendEmailCodeView, UpdateEmailView, MyCourseView, \ MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView app_name = "users" urlpatterns = [ # 用户信息 url(r'^info/$', UserInfoView.as_view(), name=...
[ "2169927630@qq.com" ]
2169927630@qq.com
054e99527f45c4e5d0b459d66048d8538c26a041
97aa17aaa27d4dcb1b23a35ec42118ed0a5a5dc1
/DifferenceMethod.py
9d3565cbac20247cc07d9b3a23a734ddeab23c31
[]
no_license
billadona/Numerical-Analysis-Tool
74bd63c1636f271d0554a3863880b8ee3bd16ede
f507e0bd44f3d346815bc113a07cfe682aa89b35
refs/heads/master
2021-01-20T05:09:24.337626
2017-04-29T00:35:41
2017-04-29T00:35:41
89,754,492
0
0
null
null
null
null
UTF-8
Python
false
false
17,665
py
from sympy import * from Tkinter import * from mpmath import * import ttk import sys MAX_SIZE = 50 lst_x = [0] * MAX_SIZE lst_y = [0] * MAX_SIZE lengt = 0 def closePop(pop): pop.destroy() def checkInt(strg): try: int(strg) return True except ValueError: return False def differenc...
[ "noreply@github.com" ]
billadona.noreply@github.com
f051ec7fbe8099906730789c40ac2e996ce061eb
587dbdf730b6cc3e693efc5dca5d83d1dd35ee1a
/leetcode/LCP173+/5367.py
c7ba9cc17df3d16b763f7abcf1b9b8e3361d5e9a
[]
no_license
Rivarrl/leetcode_python
8db2a15646d68e4d84ab263d8c3b6e38d8e3ea99
dbe8eb449e5b112a71bc1cd4eabfd138304de4a3
refs/heads/master
2021-06-17T15:21:28.321280
2021-03-11T07:28:19
2021-03-11T07:28:19
179,452,345
3
1
null
null
null
null
UTF-8
Python
false
false
1,208
py
# -*- coding: utf-8 -*- # ====================================== # @File : 5367.py # @Time : 2020/3/22 10:59 # @Author : Rivarrl # ====================================== from algorithm_utils import * class Solution: """ [5367. 最长快乐前缀](https://leetcode-cn.com/problems/longest-happy-prefix/) """ @...
[ "1049793871@qq.com" ]
1049793871@qq.com
4fd2d7568274d6b202d96aa416e1ee95e56663f3
8a1ab23b056886965fec2a3e4064c5ed55e22bfb
/домашка/CRDN_PRO_Tests/PASS1/test08_my.py
120650b1c4546e1dd5ed008ff40650dc94eabce8
[]
no_license
django-group/python-itvdn
5d8a59f06618f993d20d2f60374c36aae4ae8ab0
62ef87dfac947ed4bf1f5b6b890461f56814d893
refs/heads/master
2021-01-07T11:16:37.996524
2020-02-14T13:53:47
2020-02-14T13:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
# Створіть функцію find_palindromes(numbers) яка на вхід отримує список цілих невід'ємних чисел # і на вихід повертає список чисел-паліндромів знайдених у вхідному списку. # # Вихідний список має бути відсортований за зростанням (менші числа спочатку) і без повторень. def is_palindrome(n): sn = str(n) return s...
[ "osm@ukr.net" ]
osm@ukr.net
7636228f1a02a3085f298f32c34df79c5bf70ad4
acc175926a0773b3cb68f2212d055a521fab68ed
/main.py
177cc05b2ff9b7d3c1ff4a792f9e481e5aabee9a
[]
no_license
pkshingleton/rogue
75772131c1a8ac02163921cb273bd6e33eeaa832
d1a42b50ccfff8d977c2cee31bbf9a7ef539f403
refs/heads/master
2022-12-06T11:37:30.055442
2020-08-24T18:53:39
2020-08-24T18:53:39
285,871,928
2
0
null
null
null
null
UTF-8
Python
false
false
2,588
py
''' The engine instantiates the window/console and main game loop. Drawing/rendering occurs by updating the state of the console, and then printing it to the screen. ''' #_______________________________________________________________________// MODULES import tcod import copy from engine import Engine import enti...
[ "phillip.shingleton@turkeyhill.com" ]
phillip.shingleton@turkeyhill.com
45147d9806372db752840b1eb3d75f30f67a93e2
e2686fe17c4953572c767f60d79204273ac8aebe
/bot_test/bot4 (v301220).py
78e03163f6e750e460dd1dc7dae89fdbdc079e42
[]
no_license
darkmatter999/robotics
a481d60a7ff7d3d8b820c85aea37a7bf4d2f2e57
6dda932155f8cade991eed08b22fca1fd0f0bca7
refs/heads/master
2023-03-16T06:24:50.384869
2021-01-29T18:56:09
2021-01-29T18:56:09
263,405,799
0
0
null
null
null
null
UTF-8
Python
false
false
9,485
py
#************************************************************************************************************ #***************************AIML/DEEP LEARNING HYBRID VOICE CHATBOT V0.01************************************ #***************************************************************************************************...
[ "oliverhaack@protonmail.com" ]
oliverhaack@protonmail.com
85ad4c37a1aba7e2317fea6e6bf4688ae944962a
947bcfe8d68dc3f7ead38b58618316d67bbf998b
/assertpy/helpers.py
e5099a1a555f50a5c24e8c575cbf7653fb5d4260
[ "BSD-3-Clause" ]
permissive
ActivisionGameScience/assertpy
bc37f3309468d1d2bfdb620aeb01ebd681ee740f
c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc
refs/heads/master
2020-04-12T06:26:04.934779
2019-10-30T17:50:10
2019-10-30T17:50:10
222,271,895
21
1
BSD-3-Clause
2019-11-17T15:47:15
2019-11-17T15:47:15
null
UTF-8
Python
false
false
10,621
py
# Copyright (c) 2015-2019, Activision Publishing, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of ...
[ "justin@saturnboy.com" ]
justin@saturnboy.com
91e5081d064f663a4c960ec5453f6aaa8847f30e
837b7f01e602f2c1480a9140c28fd2c58d746959
/setup.py
6aebce5b1d71a8f05edb33f22b57835301a22f2c
[ "Apache-2.0" ]
permissive
markllama/powerusb
742b1f491712c507813f534cb74d7fca8ebac8f6
d33f0b5bfd2c175f23a3cd5cf41f6a09053b1ffb
refs/heads/master
2022-11-29T06:42:24.858781
2022-11-16T22:05:12
2022-11-16T22:05:12
7,856,166
16
7
null
2022-11-16T22:05:13
2013-01-27T18:36:01
Python
UTF-8
Python
false
false
672
py
from distutils.core import setup setup(name="powerusb", version="2.0.2", description="Control PowerUSB power strips", long_description=""" Library and CLI tools to Control PowerUSB power strips. This version only controls Basic power strips. Watchdog, IO and Smart features TBD. """, author="M...
[ "markllama@gmail.com" ]
markllama@gmail.com
8bd065e2dff1acdf1b0b1bcbbb57fd76339f6f01
12f664c45e338772832ce8a65213f12ee59451f6
/build/vicos_ros/communication/speech_proxy/catkin_generated/pkg.develspace.context.pc.py
f9de8a5c0ad944da178a615a09b391c63c632bfb
[]
no_license
Jose-Pedro/NAO-KINECT-ROS
89eefd3956a2d739496fb4e7199b7e523f47a2ec
efb01e20983788e62baac26d2aab7949729609b6
refs/heads/master
2021-01-19T04:13:42.647533
2016-06-22T19:46:45
2016-06-22T19:46:45
61,549,669
1
1
null
null
null
null
UTF-8
Python
false
false
380
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "speech_proxy" PROJECT_SPACE_DIR...
[ "zepedro.medeiros@gmail.com" ]
zepedro.medeiros@gmail.com
c71688ea3f918d399454150faec6a959e5a109ab
f737a6ddb4e498d197fe3a9f4f89fdfa865b81d8
/tests/test_cardinality_checks.py
19ebfe34d2a73b83825ca0781cccccc80e59fa01
[]
no_license
joshsalvi/healthcareai-py
c9c227ae97cf6e432f11d0bb7fb3ff292e4f3865
1b938f34dbc2d9abab3268499986b2d043c3df6e
refs/heads/master
2022-12-18T07:30:33.199562
2017-10-14T02:45:48
2017-10-14T02:45:48
106,892,091
0
0
null
2020-09-25T02:44:19
2017-10-14T02:40:17
Python
UTF-8
Python
false
false
4,350
py
"""Test the cardinality checks module.""" import unittest import pandas as pd import healthcareai.common.cardinality_checks as cardinality from healthcareai.common.healthcareai_error import HealthcareAIError class TestCalculateCardinality(unittest.TestCase): """Test `calculate_cardinality()` method.""" de...
[ "jsalvi@rockefeller.edu" ]
jsalvi@rockefeller.edu
edc722cd4a64af8de530779bdf571c8d29331bec
46bff46d767e16e4b78221db2d040b3346b83c18
/292~296-QProgressBar/296-QProgressBar-信号使用.py
6fa93d9491ce9741e3f9056373bf09307f1918e6
[]
no_license
anyuhanfei/study_PyQt5
ef5a537795ff979838481ac2253dfe65b32a7796
ed9f0595abfde3b0b3ba0f5dce2acd9dc9d2ef1d
refs/heads/master
2020-12-09T04:24:21.821808
2020-06-08T09:52:57
2020-06-08T09:52:57
233,191,765
1
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
''' 296-QProgressBar-信号使用 valueChanged(int) -- 值改变时的信息 附: QTimer API: start(int) -- 定时器开始, int: 定时器每次执行时间 stop() -- 定时器结束 信号: timeout -- 执行时间到了 ''' import sys from PyQt5.QtWidgets import QWidget, QApplication, QProgressBar from PyQt5.QtCore import QTimer class Window(QWidget): def __init__(self, ...
[ "1223050251@qq.com" ]
1223050251@qq.com
acbd9216028a741186b02774bb5e3c7fabeb1fd9
109e758b97c11b30371a188e27a82d31804545cd
/netv2_platform.py
4576763902941f04ff56b890bf0eed9f51068223
[]
no_license
mithro/netv2-soc
5fd948cb91446cd902dd2919f5c72bd93f6cd15b
fde29298e965fb5f7146bf2ea95eefa66b297083
refs/heads/master
2021-01-12T07:18:44.225944
2017-03-12T05:31:20
2017-03-12T05:31:20
76,943,485
0
0
null
2016-12-20T09:38:46
2016-12-20T09:38:45
null
UTF-8
Python
false
false
4,578
py
from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer _io = [ ("clk50", 0, Pins("R2"), IOStandard("LVCMOS33")), ("user_led", 0, Pins("U2"), IOStandard("LVCMOS33")), ("serial", 0, Subsignal("tx", Pins("M5")), Subsignal("rx", Pins("N6")),...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
a81370b72362413513bd007a2001288bfe11bc26
df515c328a64532fd01a1e93dca16986ec70f42c
/Python_Projects-master/fizzbuzz.py
6fa102cde1ecf37e8d4e3d2955181db57da88af9
[ "MIT" ]
permissive
Nathan-Laney/Python_Projects
0ee0b863def7afe87a91115d26eade14da5ff457
3979db5171963e923701a5083b883801cdeb37d1
refs/heads/master
2022-09-24T11:22:07.822386
2017-10-30T23:43:29
2017-10-30T23:43:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
#!/usr/bin/env python3 def fizz_buzz(num): print(num) if num % 15 == 0: print("FizzBuzz") elif num % 5 == 0: print("Buzz") elif num % 3 == 0: print("Fizz") else: print("Number is not divisible by 3 or 5 or 15") for i in range(1, 101): fizz_buzz(i)
[ "noreply@github.com" ]
Nathan-Laney.noreply@github.com
c593b1cfe789eeef68b2663aec48775e4219d4ab
5b7f290bad4be870c5f0a5ff4f520f7faa94f5da
/apps/debate/migrations/0001_initial.py
9853272d72e012760ede173dc903c3d16784227f
[]
no_license
PUYUP/saturn
14d5468ced8e0332471a35977ae5a918934a1d7e
8f7901be1899c553edcd51542dab824650f29bf2
refs/heads/master
2022-10-25T00:32:34.532317
2020-02-28T12:41:28
2020-02-28T12:41:28
230,210,233
0
0
null
null
null
null
UTF-8
Python
false
false
9,333
py
# Generated by Django 2.2.7 on 2019-11-21 04:35 import apps.debate.utils.files from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('pe...
[ "hellopuyup@gmail.com" ]
hellopuyup@gmail.com
cbc898da7428decb7c7cb1d88aaa3c116d99473e
30d2035626907509328494bdce8394d268b6e8b5
/oldjaratest/nick/clustercutting.py
e682f7a30820226584a51f09b81a21d39856cd1f
[]
no_license
sjara/jaratoolbox
5f32b81b04002ce2ee736970701ced4a370e4ccc
0a4a0d2700427acf00de0b9ed66f0b64c02fdc43
refs/heads/master
2023-08-19T14:54:39.612875
2023-08-13T00:05:28
2023-08-13T00:05:28
21,258,341
3
4
null
2018-11-01T04:16:13
2014-06-26T23:43:44
Python
UTF-8
Python
false
false
13,297
py
import numpy as np from jaratoolbox import spikesorting import matplotlib.pyplot as plt from scipy.spatial import Delaunay import itertools class ClusterCutter(object): ''' Nick Ponvert 05-10-2015 GUI window for cutting a cluster. Accepts an N by M array of points, where N is the number of spikes...
[ "nickponvert@gmail.com" ]
nickponvert@gmail.com
48b82901dc9072791b8dd3892d0c1acf1ef7c032
306d770730d0dcaecad813eb0a16af7e421e32ea
/venv/bin/pip
7ecfa1f69214d19dc7a84162605919932d3631b9
[]
no_license
Srijan0130/commandProcess
321049adf8807ab5f7563ec4fe13ecd66b2a2e08
fb89445d85fcc9b9e2dbe4dc6a3790226281147e
refs/heads/master
2023-05-10T20:08:05.433258
2021-05-28T06:21:58
2021-05-28T06:21:58
371,592,709
0
0
null
null
null
null
UTF-8
Python
false
false
271
#!/Users/SrijanGurung/PycharmProjects/commandProcess/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gurungmotey9@gmail.com" ]
gurungmotey9@gmail.com
7646df1b30ce72974b3aef4d311bfab21c5b9b4b
92ae6f40627dcac10f5e391379a7febc8c6607db
/evaluation/eta_plot.py
58d2726856f763766741559819b1cc56502d9689
[]
no_license
fkocovski/optimaltaskassignment
a8b910ccd43f110f5ca6cde6b35aab5910d89d3b
9065c8e86f50f0d014e6a6159b7be379087a17c1
refs/heads/master
2021-01-13T14:39:45.626200
2017-05-08T09:08:47
2017-05-08T09:08:47
79,536,063
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
import matplotlib.pyplot as plt import numpy as np def eta_plot(etas, rewards, filename,outfile=False): avg_rewards = [np.mean(rwd) for rwd in rewards] std_rewards = [np.std(rwd) for rwd in rewards] plt.figure(figsize=plt.figaspect(0.25)) plt.xlabel("eta value") plt.ylabel("average reward") pl...
[ "filip.kocovski.90@gmail.com" ]
filip.kocovski.90@gmail.com
53f0b12dac11908c42fbae66b0c06f22a12026fd
c92ea417b96b3e34d10f5eec06ced5766f8b6ff3
/AAL-LEX/models.py
e7e0465f972e4dd0b47e9018b758db6dff763630
[]
no_license
NLPWM-WHU/AAL
862843ed411770adf6c4b76410f93d3636158a50
27ac74c678f42b4e00cf9420c8f9425624243190
refs/heads/master
2020-11-24T12:33:02.908286
2019-12-19T13:31:38
2019-12-19T13:31:38
228,144,417
6
0
null
null
null
null
UTF-8
Python
false
false
17,752
py
import tensorflow as tf import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import numpy as np from layers import * import utils class Model(object): def __init__(self, config, embedding_matrix): # self.word_cell = config.word_cell self.device = config.device self.word_output_size = config.w...
[ "zhchen18@whu.edu.cn" ]
zhchen18@whu.edu.cn
9bb1a0e2edacde679cd2d9528a5d28eb2ac1f4ae
fffcf18c3d3d05831a67f2bb66a547bde523a952
/busqueda/apps.py
428999126b84f10f00492d243bd4e68603b8c53d
[]
no_license
DanpezPlay/buscarProfe
757527a7a238014cb39fe5ab9afa23b5a42fa8a3
2f483c5ba82b28ce8e227ba65ed496787fca397d
refs/heads/master
2022-11-08T08:40:14.535085
2018-10-26T18:24:00
2018-10-26T18:24:00
154,871,752
0
1
null
2022-10-21T02:27:42
2018-10-26T17:41:28
CSS
UTF-8
Python
false
false
156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class BusquedaConfig(AppConfig): name = 'busqueda'
[ "danpezplay@gmail.com" ]
danpezplay@gmail.com
5fd1c667581a665d6c69db78e81b76c54afb0056
d7b7dbad9dea308b95f98c7f2323866423b1cf7a
/todoList/settings.py
b977c6266ef330bfcf9d6ff0640b4fd9b10a9ac0
[]
no_license
Ishan-Ajmera/ToDo-App
f8050045d70783427faaf2f2e07587a612017842
fd9a198a11699b604b5426bbbd66be7bab73d851
refs/heads/master
2022-12-28T06:30:54.838294
2020-10-10T06:20:16
2020-10-10T06:20:16
302,829,314
0
1
null
2020-10-10T10:11:20
2020-10-10T06:14:17
HTML
UTF-8
Python
false
false
3,195
py
""" Django settings for todoList project. Generated by 'django-admin startproject' using Django 3.0.6. 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 ...
[ "ajmeraishan11@gmail.com" ]
ajmeraishan11@gmail.com
46e01ba801591f9f0b272f2d88e28ca395d4fa93
3ff97503dfe1237dc4ec47a10ac9d0cb50d82df0
/DATA/Show.py
aac0e244a01e33fa5722aa4bf01dcc63d7d091ae
[ "MIT" ]
permissive
IewNixIl/graduation_project_under
c420f6ff1d4268276f2d716393eab3ab103e0871
67d0345208511bb06c35c3453227b2fa4ebef4a3
refs/heads/master
2022-11-18T10:19:42.045403
2020-07-14T11:21:05
2020-07-14T11:21:05
279,558,252
0
0
null
null
null
null
UTF-8
Python
false
false
4,786
py
import numpy from matplotlib import pyplot import gdal from skimage import io,exposure from skimage.segmentation import slic,mark_boundaries import os from PIL import Image import shelve import sys sys.path.append('..') from Config import config def seg(path,n_segments=500, compactness=20): i=io.imread(path)[:,...
[ "Xinwei.lee@outlook.com" ]
Xinwei.lee@outlook.com
a1e6871ac1735ed0e31f4105725d8a59055ad1c0
d8233a120f46fd07e604cfcf0fd05506e8b4a1ec
/MULAN_universal_lesion_analysis/maskrcnn/data/datasets/__init__.py
de1af851bd040149f37212bf1368edf77a1a977a
[ "MIT" ]
permissive
rsummers11/CADLab
aeb4e8b66563c33d2fae9a73a3f35da647c1b2eb
78766a3609a16d6ac8e1d22344f6bebef509aef7
refs/heads/master
2023-07-04T23:30:49.791094
2023-06-22T16:47:28
2023-06-22T16:47:28
23,888,481
441
222
null
2022-02-19T15:42:24
2014-09-10T19:16:19
C++
UTF-8
Python
false
false
274
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # from .coco import COCODataset # from .voc import PascalVOCDataset from .concat_dataset import ConcatDataset from .DeepLesion import DeepLesionDataset __all__ = ["ConcatDataset", "DeepLesionDataset"]
[ "kyan@panacea-ai.org" ]
kyan@panacea-ai.org
e32ca7681e462bb5e09bbeb2e68e921a0d47ea4b
220a39b2912522238aa07932d84f750cdab5d862
/belt_exam/urls.py
cb1db37e2314bc903afa7704fa1cfefa2e53b087
[]
no_license
mikeybags/python_belt
a513b1fcedd5e8674458c11d064effade45f02bb
133cba06b3f1b23ff792ded97f877a7858758e89
refs/heads/master
2021-01-11T14:39:14.408110
2017-06-13T23:47:51
2017-06-13T23:47:51
80,185,897
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
"""belt_exam URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "mikeybags@gmail.com" ]
mikeybags@gmail.com
a3e6259da92de0d8798d61930112881a899a46af
5371248dbb75db605ea1ca424daa11b5e86597f0
/auto_tester/spring_festival/spring_plan.py
ca4e5c3fe0c828370197ca4a0446d4c330da5424
[]
no_license
Paladin1412/Python-Learning
7312b4134ae0dcff63acb85d9a1b6563e4bbfe27
06f0aa04456e104daffa425353b4c550759285e1
refs/heads/master
2022-10-15T17:08:35.802868
2020-06-13T04:02:23
2020-06-13T04:02:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,183
py
from normal_modules.normal import NormalTester #taskid: #签到:216,sid=10662 #投币:217 class SpringPlan(NormalTester): def __init__(self, sess_cookies: dict): super(SpringPlan, self).__init__(sess_cookies) def sp_get_url(self): print(self.get_url_json(self.url)) def sp_post_url(sel...
[ "354307169@qq.com" ]
354307169@qq.com
64f2316305b4e8cedb9489d57e1a510ae5adf081
3d56b9d7c62e672a217eaedbc5c9cce9cf67658c
/Python3/Manipulacao de Strings/regex.py
b313073f550c2b20952ccfef4ff489a2079454ed
[]
no_license
trypedro/Python
79088b5650856e6bd9754db702e2fc8ad6b33ed9
e5ae35603ad4173a5cc68aeef37541063fc7fda9
refs/heads/master
2022-03-27T16:57:42.312561
2019-12-20T03:04:48
2019-12-20T03:04:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import re email_um = "Meu numero e 1234-1234" email_dois = "Fala comigo em 1234-1234 esse e o meu telefone" email_tres = "1234-1234 e o meu celular" email_quatro = "lalala 981231209 lalala lalala lal alalala 93425-0912 lalalalala 1234-1234" padrao = "[0-9]{4,5}[-]*[0-9]{4}" retorno = re.findall(padrao, email_quatro)...
[ "pedroivodefaria@gmail.com" ]
pedroivodefaria@gmail.com
fd5a1c3a206b881819e9eb364e0c0132374501a8
e1ea36f7f1928c4ffb649ff0b4dbffc3182622b1
/app/core/migrations/0002_tag.py
5e79c9d00d0604b45574a3ec5d4783c1b6f4278e
[ "MIT" ]
permissive
elieish/recipe-api-django
e2455bbaa7d9095c118dc25c79dbd9e874d8f76c
19e3dff1111b2e570925c7b263363994258eaf22
refs/heads/master
2022-11-08T06:04:57.063018
2020-06-27T06:27:54
2020-06-27T06:27:54
262,095,314
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# Generated by Django 3.0.6 on 2020-05-18 06:16 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "elie@mukuru.com" ]
elie@mukuru.com
3dc6f0ca7b4a8948a0035567cd9096524e1bb2e2
e2e0934aa9402f1742d0c742d618cda3e0186db1
/venv/Lib/site-packages/google/cloud/aiplatform_v1/__init__.py
d765cc599dc7446aca5028cb106f15266c63984f
[]
no_license
rajmadhu0406/FlaskMarket
5a449c712050864942a2f8b82615880364d13ab7
9531c1893a814992c20428abf16d36e4bde9bbef
refs/heads/master
2023-08-26T10:46:51.755799
2021-11-13T16:49:04
2021-11-13T16:49:04
427,720,997
0
0
null
null
null
null
UTF-8
Python
false
false
15,190
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "Raj.madhu0406@gmail.com" ]
Raj.madhu0406@gmail.com
8f78a6b6003075c6334f8401b5cfedfd044f667f
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ABC/abc251-abc300/abc271/e/main.py
6f507caff1587d49089872b581043264bf982fc5
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
546
py
# -*- coding: utf-8 -*- def main(): import sys input = sys.stdin.readline n, m, k = map(int, input().split()) abc = [tuple(map(int, input().split())) for _ in range(m)] e = list(map(int, input().split())) inf = 10 ** 18 dist = [inf] * n dist[0] = 0 for ei in e: ei -= 1 ...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
c3c7a15813f9ef32ed20d79e7a25c32f2d16ac8d
62975432654dd862cb182ea088657970216bf927
/python/pluralsight/py-dktp-app-dev/LayoutExample/LayoutExample.py
42d6972ca6a4c86442bb0f97d1d09bd56168db49
[]
no_license
d03r/do
452b85bcdab4dd7c965cc9b6bb13d96ff1b514a6
d3102da8f2ece83457392d85b954625bab18bbf6
refs/heads/master
2021-01-10T12:44:44.682262
2016-03-27T06:14:55
2016-03-27T06:14:55
54,321,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
from PyQt4.QtCore import * from PyQt4.QtGui import * import sys class HelloWorld(QDialog): def __init__ (self): QDialog.__init__(self) # super(HelloWorld, self).__init__() #layout = QVBoxLayout() #layout = QHBoxLayout() layout = QGridLayout() #label = QLabel("Hello...
[ "noo8@gatech.edu" ]
noo8@gatech.edu
35a5a2a32b80f97959c81636f5e0b106dba6343e
ed3e270f4d6e550830c59f7115ac80338dd53fb6
/hello_world.py
d540fb1f03ceaa8130048fe038ef1a3f13545b55
[]
no_license
cr8ivecodesmith/py3dp_book
d9ce384aaced1c4f9c5fd52d0d5bc41802491c11
cf0e7fe172f38327807522ac4ef5465e37afc2c7
refs/heads/master
2023-06-06T06:06:13.757896
2021-06-26T10:25:53
2021-06-26T10:25:53
373,122,343
4
0
null
null
null
null
UTF-8
Python
false
false
177
py
import openscad as o # Create the world o.fragments = 100 # Increase resolution of created objects o.sphere(10) earth = o.result() # Send result to OpenSCAD o.output(earth)
[ "matt@lebrun.org" ]
matt@lebrun.org
d2c0916ce86e3bdb13a7731d933ce8d8f2ef2832
f455e78c1327b47d430b025bc165aa61f24a190c
/payment/views.py
0ad6e566d9b8fd2b54c46be21695218534f2b12c
[ "MIT" ]
permissive
FanLgchen/alipay
d84966b91a68df7c3dc0a7c517821a33d5f70965
3697aa01b260abd5c0bd7a20627076aa248b0efc
refs/heads/master
2020-06-27T19:38:58.694721
2019-08-01T11:22:37
2019-08-01T11:22:37
200,031,788
0
0
null
null
null
null
UTF-8
Python
false
false
3,750
py
import os from alipay import AliPay from django import http from django.conf import settings from django.shortcuts import render # Create your views here. from django.views import View from orders.models import OrderInfo from payment.models import Payment class PaymentView(View): """订单支付功能""" def get(s...
[ "1353193840@qq.com" ]
1353193840@qq.com
944969d7142785b1d02e4be61ae93455c74189c5
52a69d6f934209c7eee9a0e18b5d9ec3206ea487
/이진 탐색/트리 자료구조/solution.py
348661d96e786f418c58aa5795a3ee6e20fc59dd
[]
no_license
ssudev/algorithm
be5f43da7887fc76dbddf1fd088198913bbdc604
a7fa7be152a4680ce3028ab9d89b617dcac12289
refs/heads/main
2023-03-27T19:29:00.039854
2021-04-01T13:18:33
2021-04-01T13:18:33
333,075,252
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
# 이진 탐색 소스코드 구현(재귀 함수) def binary_search(array, target, start, end): if start > end: return None mid = (start + end) // 2 # 중간점인 경우 if array[mid] == target: return mid # 중간점의 값보다 찾고자 하는 값이 작은 경우 왼쪽 확인 elif array[mid] > target: return binary_search(array, target, star...
[ "goodys1011@naver.com" ]
goodys1011@naver.com
61bc89271f6b6bad338296fcb3a95c7e8327c146
06ee2f24e160904b0021907bd892249dad97f3b9
/mysite/urls.py
02d246f5220d418e8b792e362acc7f41496597b2
[]
no_license
prasutagus/project2019
21c8af2be4a722d122ee8143c1c1cd870948843d
805974c7988056df1a5777bf9ad8131c3edafb68
refs/heads/master
2023-05-01T12:11:11.509215
2019-08-18T15:41:13
2019-08-18T15:41:13
202,613,071
0
0
null
2023-04-21T20:37:17
2019-08-15T21:21:17
Python
UTF-8
Python
false
false
902
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "dawheel@davidwheeler.me.uk" ]
dawheel@davidwheeler.me.uk
0c71c3dd6064d4774c43f36145db41c9ed503ae6
84ca6b9e107ba0be61df7be4bc845efa439a5efb
/getUsbCam.py
c2f830e109d139391d823ec0962232e044e8158e
[]
no_license
lzh107u/final_project
1bc168b478bf58b867d7073c448f92262c4c7b1d
6f1a294ca759e615cb7d0abcc8d3b6406694bc3f
refs/heads/main
2023-06-07T04:27:49.509857
2021-07-07T13:29:38
2021-07-07T13:29:38
357,826,808
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# -*- coding: utf-8 -*- """ Created on Tue May 18 17:53:01 2021 @author: user """ import cv2 def get_usbCam(): cap = cv2.VideoCapture( 1 ) if cap.isOpened(): ret = 1 print('camera opened successfully -- USB') else: ret = 0 print("Unable to open ...
[ "noreply@github.com" ]
lzh107u.noreply@github.com
a1e247e9f710b3abc29e7fc23288a8c4a0b40ee7
830107f53ffc646074f5e969b72e352032903c53
/stacking/model_list.py
7f04494066620e0f7202a33a8567cb0c8d546345
[]
no_license
HirotakeIto/titanic
f46b7bec21b55c15541e4f99f80dd9f9a0da0a6f
f9fb33d16e001763b53fb2a346b4834cae6ce2e5
refs/heads/master
2020-12-30T10:49:11.345857
2017-08-01T02:18:17
2017-08-01T02:18:17
98,855,584
1
0
null
null
null
null
UTF-8
Python
false
false
5,113
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jan 24 15:22:45 2017 @author: hirotake_ito """ import os import numpy as np import pandas as pd from sklearn.metrics import mean_squared_error from sklearn.ensemble import GradientBoostingRegressor from sklearn.ensemble import RandomForestRegressor from...
[ "hirotake_ito@hirotakoMacBook" ]
hirotake_ito@hirotakoMacBook
ca05d30a565f6c15a8c276a7af02afb8ec61e51b
1f5c32624f2017139b77b49f2bb1871d412886be
/blogosphere/blogs/api/views/blog.py
45743e87053f81b9749802782db4a628f55a9fcf
[]
no_license
ErnestoZarza/blogosphere
1a7de4522a9130d0fa6447019d312d7c04249fad
fc8381a250c8dbb267145beb8284f012719a4dc0
refs/heads/master
2020-04-17T04:38:10.112290
2019-01-17T14:55:22
2019-01-17T14:55:22
166,238,331
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
from rest_framework.generics import ListAPIView from rest_framework.exceptions import ParseError from ..serializers import BlogSerializer from ..utils import parse_string_to_date from ...models import Blog def parse_date_parm(str_date): date = parse_string_to_date(str_date) if not date: ...
[ "vero@veros-air-2.localdomain" ]
vero@veros-air-2.localdomain
a433bdc7216250bafd595ead962082b48aa8f728
3ec1d4ce9bc0f0677fffa4688ca1ee28867d364d
/Assignment 4/11.py
f141717041c7da2dc8d0cdb2a50c028c2f30afaf
[]
no_license
brijesh-989/ITW-lab-1
7d01cbf0a69334966186f7a892b297c8ec636710
b3a00bddf14c81f2956648d9939f0db50ef074c9
refs/heads/master
2022-07-02T18:40:11.134191
2020-05-11T08:40:08
2020-05-11T08:40:08
262,983,452
2
0
null
null
null
null
UTF-8
Python
false
false
135
py
user_in=input("enter a sequence of numbers : ") a=user_in.split(",") for i in a: a=int(int(i,2)) if a%5 == 0: print(i)
[ "brijesh.kotaria.cse19@itbhu.ac.in" ]
brijesh.kotaria.cse19@itbhu.ac.in
88c52065cf71e9d6f0543a147b2cd739d1885702
3f479528a34b2df9e9a001a3537761b259a613eb
/leds/blinking/blink_controller.py
b0964fbfc5c5d6aabbb799f647863f08c80ee0a6
[]
no_license
gitu/soob
84e1cee0b7fbc085d6986bd6e66652508330e9f8
c9fc9d8f42151eac382287bae8cb4263ad41c525
refs/heads/master
2021-01-21T12:23:01.282583
2014-01-14T15:04:41
2014-01-14T15:04:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
import re import threading from time import sleep import traceback import requests import sys from blink_worker import BlinkWorker COMMAND = re.compile('([^ ]*) (.*)') http_proxy = "proxy.corproot.net:8079" https_proxy = "proxy.corproot.net:8079" ftp_proxy = "proxy.corproot.net:8079" proxyDict = { "http": http_p...
[ "TAASCFL1@U244921.corproot.net" ]
TAASCFL1@U244921.corproot.net
89a8a6e319984913a3ee672e9d571ccf559a8bd6
1a5e8948a3ba9df36a94489ac3f560aa960f107f
/app.py
d6f2eb906a3a20e1e71461a60e751abbe0f3b19e
[]
no_license
el1s7/sanic-api-kit
7bb1729b0fc122ae18f93f99bde2cde549cd9191
55516680fcc34121df0a18ef545919b3fd444832
refs/heads/master
2023-05-24T06:15:03.554664
2021-06-09T16:27:47
2021-06-09T16:27:47
375,420,177
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
import config, warnings, json, os from framework import Sanic, cors, response_serializer from api.routes import routes from api.exceptions.handler import handler if not config.DEBUG: warnings.filterwarnings("ignore") def create_app(): app = Sanic(__name__) app.config.FALLBACK_ERROR_FORMAT = "json" app.static('/',...
[ "me@elis.cc" ]
me@elis.cc
c264911534763ba9d0da2fddfc1dec3556016fca
344bd24eed76052b52d171ba7e8f603bcc4cff00
/Test.py
e977caeeaf7141877ea5a70b2eb50adfdb2008b8
[]
no_license
Beokro/Bomber_temp
ca67780e82db0d11263aa5b725bc0337807b7ee8
66afcba50f50cd653e391705081aa5ee9ee652c5
refs/heads/master
2016-09-01T06:37:40.327363
2016-01-14T07:07:28
2016-01-14T07:07:28
49,550,841
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
from Player import Player player_up1 = 'img/n_up1.png' player_up2 = 'img/n_up2.png' player_up3 = 'img/n_up3.png' player_up4 = 'img/n_up4.png' player_down1 = 'img/n_down1.png' player_down2 = 'img/n_down2.png' player_down3 = 'img/n_down3.png' player_down4 = 'img/n_down4.png' player_left1 = 'img/n_left1.png' player_left2...
[ "xujiacao@gmail.com" ]
xujiacao@gmail.com
57effa7eaad8f8c4052a25df0a1106b814d5cf4e
826ea45107bde5d09b4d4e53b5de5d499990c5a2
/myproject/myapp/setting.py
73b6e7ebc005c50d7d79675b551edebdb0f7b26e
[]
no_license
xiaoqian123/wechat_lawinfo_back
26010aa781c043cb87f1ffc5503a8769e7c07bba
f15ceab89e28a0b3b7a933ebcec62a31801da2a8
refs/heads/master
2020-03-24T20:58:07.215532
2018-07-31T11:52:28
2018-07-31T11:52:28
143,006,413
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
DEBUG = True SQLALCHEMY_TRACK_MODIFICATIONS = False SECRET_KEY = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' IP = '127.0.0.1' PORT = 5432
[ "luhongxin@weinventing.com" ]
luhongxin@weinventing.com
0a69bb5649f1be782306b4748f756f125bc3af55
63f9b6815999def091cbc72c79f4b52ceac3d285
/problemset/single-number-ii.py
aa6ce82a2df2031ec145020995f9f3713c37fd30
[]
no_license
HuangYinhao2019/Leetcode
ec8ac257f05fb5ec8c0ab0ebb4d544da8c8a6c59
51f5044ea37674c2eb5e54c857cc4430ca077a21
refs/heads/master
2022-06-08T12:50:23.157612
2022-05-22T03:06:58
2022-05-22T03:06:58
225,741,706
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
def singleNumber(nums: [int]) -> int: ones, twos, threes = 0, 0, 0 for num in nums: twos |= ones & num ones ^= num threes = ones & twos ones &= ~threes twos &= ~threes return ones
[ "fzuhyh@foxmail.com" ]
fzuhyh@foxmail.com
338a9ce6f64240e3d3f62a72d22491de75069c32
e30f496cfb4ace07f1ee12391c9c2074b9e06a38
/chapter09/wraps_example.py
252ebe601959f360621497ea3a075eb3633acc42
[]
no_license
hanhansoul/PythonCookbook
b7b2280e2e4323e64ca37e576e8343d29fb3116b
5395cd017d2509b830be6c0eda5ee04ffef5aa70
refs/heads/master
2021-01-19T20:06:32.380514
2018-10-19T14:51:19
2018-10-19T14:51:19
88,489,715
0
0
null
null
null
null
UTF-8
Python
false
false
3,416
py
def test1(): def partial(func, *args, **kwargs): def newfunc(*fargs, **fkwargs): print(fkwargs) print(fargs) newkeywords = kwargs.copy() newkeywords.update(fkwargs) return func(*args, *fargs, **newkeywords) newfunc.func = func newf...
[ "whr2290@163.com" ]
whr2290@163.com
aec38f9fa85911a5e4df6dc492c5074996b55bb8
398e8dfaca69a2bed6c75373604fd03c5d5a2c7c
/test/test_execution.py
60df187de4921dfa7df808302f55f1ccd66bcb13
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
FiloSottile/youtube-dl
1805c6ebc23947a8108190d252a4559c12ef93ab
54410a5a4675c6db631532b882259a0ad9f7b4b2
refs/heads/master
2020-02-27T11:05:04.581383
2015-03-19T01:08:30
2015-03-19T01:08:30
3,597,339
16
3
null
2012-11-28T13:20:11
2012-03-01T23:31:48
Python
UTF-8
Python
false
false
884
py
#!/usr/bin/env python from __future__ import unicode_literals import unittest import sys import os import subprocess rootDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) try: _DEV_NULL = subprocess.DEVNULL except AttributeError: _DEV_NULL = open(os.devnull, 'wb') class TestExecution(unit...
[ "phihag@phihag.de" ]
phihag@phihag.de
fe2e9d59826cefe4edb9ed21cb0ebe071ef51424
418c5dffb9564e5011583945632733c4c3ea795f
/check_profanity.py
9dbd062085c9be5d0b6c4b85bc27074e74966749
[]
no_license
sayeefasrar/Python-Practise
ac6bb3c9abfd7c35695023af6fcb67d2fd62c7fa
e94cccd8da528d6ce589f8fcec38406ff3b46303
refs/heads/master
2020-03-15T06:42:48.927832
2018-05-03T15:35:01
2018-05-03T15:35:01
132,013,609
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
import urllib def read_text(): quotes=open("C:\Users\Sayeef\Downloads\movie_quotes.txt") contents_of_file=quotes.read() #print(contents_of_file) quotes.close() check_profanity(contents_of_file) def check_profanity(text_to_check): connection= urllib.urlopen("http://www.wdylike.appspot.com...
[ "noreply@github.com" ]
sayeefasrar.noreply@github.com
f505c5fd3e7f5483ea91f9324fe35a5cabe69866
6aa909293ac7c1ba545850a1a049d6c918e58c3b
/637.二叉树的层平均值.py
c06e4c77ef41d738d67b86a76690499f63ed8e4e
[]
no_license
Koweiyi/LC_cpp
1d4fffcbadeec9aaf4725a2e408f75aef45c529a
2b0b5e0d9fd5c17cb4cd7887b07361c63ed624de
refs/heads/master
2023-04-27T13:47:33.678559
2020-07-22T13:31:32
2020-07-22T13:31:32
272,361,803
1
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
# # @lc app=leetcode.cn id=637 lang=python # # [637] 二叉树的层平均值 # # https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/description/ # # algorithms # Easy (64.56%) # Likes: 121 # Dislikes: 0 # Total Accepted: 19.8K # Total Submissions: 30.7K # Testcase Example: '[3,9,20,15,7]' # # 给定一个非空二叉树, 返回一个由每层节...
[ "1423376854@qq.com" ]
1423376854@qq.com
6ee78e6c1923586c9bb497d5c1aee59dbe98ffaa
5eda736d304eefe68d2a620d1859a250ba2a5398
/training/keras-tuner.py
17c180d4fc635b54fe970d87b0850550d44f19f9
[]
no_license
sammiee5311/facial_expression
1fab407218f349c484f4edb49f9c85270d760c82
531d0f0dd8ad23902db6e5f6a50f39e0fb6fba56
refs/heads/main
2023-02-19T13:26:05.784547
2021-01-21T11:52:16
2021-01-21T11:52:16
325,938,635
0
1
null
null
null
null
UTF-8
Python
false
false
2,972
py
import keras from keras.layers import Conv2D, MaxPooling2D, Dense, Flatten, Activation from keras.optimizers import Adam from kerastuner.tuners import RandomSearch from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelEncoder import numpy as np import glob import cv2 from keras.uti...
[ "56215891+sammiee5311@users.noreply.github.com" ]
56215891+sammiee5311@users.noreply.github.com
a779438d9f1e5f4c49e407cf796ec1c6d082c56a
c31b220c048fdf43dc6e4a0057f743590ee4bc4d
/fpga/lib/pcie/example/common/tb/example_core_pcie/test_example_core_pcie.py
d1d7c13decdd8cae2da7a63443569088a4700e6c
[ "MIT" ]
permissive
warikap/dma-bench
47f3440ff70e939a38cfde4143c6633d514c4f7e
b2052254a94d1a20266c4554401647803c870fb9
refs/heads/master
2023-09-05T18:34:49.552496
2021-11-14T22:11:35
2021-11-14T22:11:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,227
py
""" Copyright (c) 2021 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
5245ea852db9e15d331057dddf622d4b030e2841
4e59f67ba08eb31274cca3501324a497bc5e1345
/empty/Scripts/pip3-script.py
c691ad8b2970ccecfc227749d8446fef767ce052
[]
no_license
AtiehBaratinia/hw1_dataminig
9d1a2b27d803d29ec8407096de1999f19d799192
048621afff19663dcf01fbd0bdcba1b774e7a9cc
refs/heads/master
2023-01-25T04:10:46.015109
2020-12-03T17:49:56
2020-12-03T17:49:56
318,274,500
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
#!"J:\Atieh\University\data mining\homeworks\HW1\code\empty\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$'...
[ "atiehbaratinia@gmail.com" ]
atiehbaratinia@gmail.com
6d55d19cd56b983ff3a10eabf3cf87013c1bd3bf
64b032a0d06fa0d548f8ac62dde16049930880ac
/{{cookiecutter.app_name}}/app/commands/__init__.py
e27f6877835868580d78d9964025b0cab52e0a89
[]
no_license
mukund-kri/flask-sqlalchemy-f5-template
f8d4109035b7180ea7341ddf6f52e95bb5a08321
239506fc319ab59d7c53bcf7faa03302654e1dbd
refs/heads/master
2021-01-18T22:47:01.792917
2016-04-01T06:31:29
2016-04-01T06:31:29
26,954,450
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
from .sampledata import SampleDataCommand from .testing import TestingCommand
[ "mukund@eng.knowlarity.com" ]
mukund@eng.knowlarity.com
7f8559f0ab7a9ee5df2784bd5f888ee08cc435d6
f6aaa5cef433d7eca574dbcf59de4f93bb3ae2c1
/UI_Automation/WebApp/DesktopApp/QAValidationReport/venv/Scripts/pip3-script.py
debbe7530b3e3ddd28ccb76168ccc49a4a5b35ad
[]
no_license
chandrabt12/dhc
f58ca3000ac777cc8fc585ebda2a698b82cc9a2f
0fe701427fa556f2a6cee21de04d05e6d35e4625
refs/heads/master
2022-12-13T12:13:21.287591
2020-08-28T14:56:02
2020-08-28T14:56:02
290,175,491
0
0
null
2020-08-26T05:51:16
2020-08-25T09:43:22
Python
UTF-8
Python
false
false
402
py
#!D:\AutoScripts\QAValidation\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' 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]) sys...
[ "CThimmaiah@ad.harman.com" ]
CThimmaiah@ad.harman.com
7e6a73ffd96f73a6aefa965b067ec13b1500931d
9d23f1a0fdaf34f4b3b2ee144acf5d0b01b203d8
/runningroutes/views/admin/sysinfo.py
b12a16acf2190d3b9e1ce92d90237c87279e39cf
[]
no_license
louking/runningroutes
999de5b9fa0cdd2da125dd6b027669f1d1380c7a
806b1b4a8535021aff87cd38b6a30d0152e63069
refs/heads/master
2023-02-19T09:50:50.226580
2022-11-26T19:29:52
2022-11-26T19:29:52
225,959,338
3
1
null
2023-02-16T05:57:59
2019-12-04T21:21:35
Python
UTF-8
Python
false
false
6,257
py
########################################################################################### # sysinfo - debug views for web application # # Date Author Reason # ---- ------ ------ # 07/08/18 Lou King Create # # Copyright 2018 Lou King # #########...
[ "lking@pobox.com" ]
lking@pobox.com
c44e993f76a3560b99be44a9c4860faf80a3f250
dba32e48056454df6a3ce5755d586569092eba6e
/pybluetooth/pyusb_bt_sockets.py
595c3a819bcb0204ae463f600db32a879c242da9
[ "MIT" ]
permissive
notmikeb/pystack
dff79a7a916ceea6c756714245b5ffb66cf38742
773a5cecaf6fa4806cfaa6c4f4f6c422bc941bc5
refs/heads/master
2020-12-24T07:00:03.651276
2016-11-10T15:10:20
2016-11-10T15:10:20
73,384,555
0
0
null
null
null
null
UTF-8
Python
false
false
7,219
py
import binascii import errno import logging import sys import usb.core import usb.util from scapy.layers.bluetooth import * from scapy.supersocket import SuperSocket # See BT 4.2 Spec, Vol 4, Part B, "USB Transport Layer". # Used for "Single Function Primary Controller" devices: USB_DEVICE_CLASS_WIRELESS_CONTROLL...
[ "notmikeb@gmail.com" ]
notmikeb@gmail.com
fcc4687f54a940213e1cb227cfd867eec5926782
4d6a7daa53e75c8eb0a077a077fa196a8638d06c
/TestCases/test_1_invent.py
e30a196845e5edd664179c950e699d125804c86b
[]
no_license
xingchen558/test-www
77c87677fcd3a29c2abd6e109443ac850d705396
9796345155fd020f921b46eca36537dd38c58d4b
refs/heads/master
2020-05-03T13:45:58.998159
2019-03-31T14:07:28
2019-03-31T14:07:28
178,661,031
0
0
null
null
null
null
UTF-8
Python
false
false
4,886
py
# -*- coding: utf-8 -*- # user = www # 自动化测试帐号的独立性。 # 1、用例列出 == 前置、步骤、断言 # 2、明确有哪些页面 # 用例1:成功投资场景 """ 前置:1、登陆成功状态;登陆页面 - 首页 2、可用余额应该大于你要投资的金额;1000 如何保证在自动化的运行过程中,余额可用。不需要我经常来看用户余额有多少。 1)充值一笔:33:每次充投资的金额-1000; ---利用接口直接充值。 2)暂时充一大笔钱:1个亿。 3)判断当前用户的余额是否大于投资金额,如果小于,我就大充一笔。如果大于,不用...
[ "kfcwwm@163.com" ]
kfcwwm@163.com
116ea860a7c706542ff4eaf7714454f6c9ba48a4
f78137c438b5cf2e13e49fba9cbca5403eac0c27
/testCase/user/testS2s1.py
705a099ee8ddcc6f49f66c2d7bff86d28b132df8
[]
no_license
Mayjoy-jiao/smoketest
cfd52db32700979b01e710f32372ed00f9b4d232
f1b1c56d21b83d8f704ee220349bbe792377e0f9
refs/heads/master
2020-06-19T22:55:48.524394
2020-04-09T02:03:24
2020-04-09T02:03:24
196,905,167
0
0
null
null
null
null
UTF-8
Python
false
false
44,300
py
# -*- coding: utf-8 -*- #----------------------------- # DSP:MockA   DSP应用:测试3  广告位id:cjanjheq # Author: Zhang Jiaojiao import unittest import paramunittest import readConfig as readConfig import os import time import datetime from common import Log as Log from common import common from common import conf...
[ "zhangjj@chinamobiad.com" ]
zhangjj@chinamobiad.com
b10f2dcd889ee9fae01d7242fd236bcc5ad7d1f4
6e0a2238c53af6c6cf0344ead33b6f9224ab8969
/OPG_Plac/migrations/0007_auto_20201208_2130.py
19f9cc1b3cd5b17d778f9ac779a29cc489cea927
[]
no_license
MarkoPavich/OPG_Plac
af3af114eca0b76b7f0c415532ee95c3841de74b
8c30d42c8aa9a586466b10c72e17b12b7d9cc299
refs/heads/master
2023-03-18T11:59:08.322974
2021-02-01T14:56:05
2021-02-01T14:56:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
# Generated by Django 3.1 on 2020-12-08 20:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('OPG_Plac', '0006_auto_20201208_2122'), ] operations = [ migrations.RemoveField( model_name='user', name='name', ...
[ "marko.pavic667@gmail.com" ]
marko.pavic667@gmail.com
6f44b17fe12154584f7bad7fb239e68fc6f066b1
1e348197820dc41943ee83e32124a1f0cb862a94
/project/model/service/smartphone_service.py
934c1c788fb306c41e932b4dc5843e705974438e
[]
no_license
Adrilene/babymonitor-iot
7a22d3ccdd847718809281643d378d3391682a0f
6ade70bfbd9ec7fc2dcbcf51fcf4e418e138995a
refs/heads/master
2022-11-16T07:09:43.684221
2020-07-15T08:10:24
2020-07-15T08:10:24
286,795,773
1
0
null
2020-08-11T16:35:54
2020-08-11T16:35:53
null
UTF-8
Python
false
false
345
py
from project.model.smartphone import Smartphone from project import db class SmartphoneService(): def insert_data(self, data): data_smartphone = Smartphone(**data) db.session.add(data_smartphone) db.session.commit() def last_record(self): return Smartphone.query.order_by(Smart...
[ "denismsb11@gmail.com" ]
denismsb11@gmail.com
15797346de4b57fe1174fce85b73be0ad08672b7
9522eb4be46f91fbacf5962ae10bc5af7a80420c
/punctuation_removal.py
d771049d4433f0fbf47bb8521f23b86f162297e5
[]
no_license
DidiHar13/sistem-temu-kembali-informasi
9c87ee2e127a8a11ce2a35ef3bd63f88649d2d07
fc57d65fd142450531cb88974d6da81613c6ddbf
refs/heads/main
2023-04-10T10:17:58.474064
2021-04-26T14:41:28
2021-04-26T14:41:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
# Punctuation Removal # Created by : Pasnur # pasnur@akba.ac.id # Import library yang dibutuhkan import string # Contoh dokumen dokumen = "Siapakah, nama Presiden Republik Indonesia? Jawablah dengan tepat!" # Menghilangkan tanda baca print(dokumen.translate(str.maketrans("", "", string.punctuation)))
[ "pasnur@akba.ac.id" ]
pasnur@akba.ac.id
6310467db7a1568bd066734085729591f5e42973
9e7f75539ea850915e0a9921ccd22d51cc5f4506
/parsePKS.py
5ad7a1069b66f4d55973c01f8461807a2980ab73
[]
no_license
tony2heads/sourcelists
d6ef20efa74a11c7270a1ed872e2c4c663353cc5
a1f290264d597580b6dbff0035dde6acb7fa4ade
refs/heads/master
2021-01-10T01:56:38.201329
2017-05-18T12:09:01
2017-05-18T12:09:01
45,910,103
1
0
null
null
null
null
UTF-8
Python
false
false
359
py
#!/usr/bin/env python file = open("pkscat90.txt") for line in file: name= line[:10] # rah=line[10:12] # ram=line[13:15] # ras=line[16:20] RA=line[10:12]+":"+line[13:15]+":"+line[16:22] # dd=line[23:26] # dm=line[27:29] # ds=line[30:35] DEC=line[23:26]+":"+line[27:29]+":"+line[30:35] pr...
[ "tony@ska.ac.za" ]
tony@ska.ac.za
9bb7ea8db66faa3a8ce9cd3a906bc70ebab42f29
e5805c1fa9dc6020f533c35458f98a51a3b339d5
/High_Level_Coding/area/test7_8.py
070d0f3db94484b8d21d1ee3db60b0119c0c90dc
[]
no_license
Air-Zhuang/Test27
fe9b72bd5cd186aa0326d6837f0bea79ad181af1
a44559e84f9602a8b2643b7cd925e1d24c11b9b3
refs/heads/master
2020-03-28T03:18:30.395004
2018-09-06T07:40:56
2018-09-06T07:40:56
147,636,341
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
# _*_ coding: utf-8 _*_ __author__ = 'Air Zhuang' __date__ = '2018/4/24 23:23' from High_Level_Coding.area.lib1 import Circle from High_Level_Coding.area.lib2 import Triangle from High_Level_Coding.area.lib3 import Rectangle from operator import methodcaller def getArea(shape): #第一种方式:getattr() for name in (...
[ "737248514@qq.com" ]
737248514@qq.com
dcec4709455032ae1a71cd756aace44e6ff9def6
eb83aa573f0861d997a22d84bb95f026633acf2d
/question/Indycium/question3.py
bcce551b5b85f950841aa9695626fb395c65274e
[]
no_license
dev-amit-kumar/interview-data
d9c3dc462516ffdba65e1c718d884d2ed20ecacb
d07712b7013be490caa700eaf1206182f0e6ca80
refs/heads/main
2023-04-23T05:01:55.878305
2021-05-03T13:46:18
2021-05-03T13:46:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
def print_pattern(n): for i in range(0, n): for j in range(i, n-1): # printing prefix spaces print(' ', end="") for j in range(0, 2*i+1): if(j % 2 == 0): print('*', end="") else: print(' ', end="") print() n = int(input()...
[ "amitkumar.developer1@gmail.com" ]
amitkumar.developer1@gmail.com
17405ef5dcd7aa74bda2c6241320bb3a24a57662
ac66d2f483bbbe405408278f6b39d9f02e617dee
/Privet.py
7e5e77e3bb021ae4054701ab243ba49b51481721
[]
no_license
MFTI-winter-20-21/Aleshev
eb4b0385fa02f628bb7053d48dac74fb14f0d86b
8e01477abf804c7b721be1767d400854be24993d
refs/heads/main
2023-02-11T02:05:11.411508
2021-01-04T14:16:43
2021-01-04T14:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
print("Hello") print("Hello") print("poka")
[ "76618163+aleshtimur@users.noreply.github.com" ]
76618163+aleshtimur@users.noreply.github.com
0f56e600ded29f3610342db3c85f204330773588
aa0b8a9598da587ce9a31b13041c26f5e4a133b1
/easy/mersenne prime/mersenne_prime.py
428292a31cec1b5f859fe435e33d51b1d272d292
[]
no_license
vivekpabani/CodeEval
8b20b4b63c6a1368c0b5fb2c35a4766b0180799c
16afd2c30b54bb9a1b50924a695ac84e9a2b2d41
refs/heads/master
2021-01-10T01:29:50.772812
2016-04-09T05:49:06
2016-04-09T05:49:06
53,512,064
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
#!/usr/bin/env python """ Problem Definition : """ __author__ = 'vivek' import sys import math def is_prime(number): if number == 2 or number == 3: return 1 elif number % 2 == 0 or number % 3 == 0 or number == 1: return 0 else: start = 5 while start <= int(math.sqrt(n...
[ "viky.pabani@gmail.com" ]
viky.pabani@gmail.com