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
09394de8bc6e7a32980628857b93e839de19e4ff
de0775338f6eb4df7f8ef8c61df9cf3b563c0a28
/problems/fashion/fashion.py
4d5493648f28584ca558e0f7cd4d2a79eb4237ca
[]
no_license
sefakilic/spoj
c5b37e9cd2413e57f117b0ba83ca4b4f509868da
17c54cad2e87d1f79841038b6537ad9eee263727
refs/heads/master
2021-01-15T14:03:18.393394
2015-04-15T15:52:57
2015-04-15T15:52:57
32,475,833
1
0
null
null
null
null
UTF-8
Python
false
false
302
py
def fashion(A, B): return sum(map(lambda (x,y): x*y, zip(sorted(A), sorted(B)))) if __name__ == '__main__': t = int(raw_input()) for i in xrange(t): n = int(raw_input()) A = map(int, raw_input().split()) B = map(int, raw_input().split()) print fashion(A,B)
[ "sefakilic@gmail.com" ]
sefakilic@gmail.com
9a89b7e67b317746539d46ebe88544dd8119db69
d718c3ca1ced8e2d44c4ce0f18af8a183d9afaf2
/rahul/migrations/0002_auto_20190202_1320.py
922b85f2505d743a116057b604fc5c13be7b66f8
[]
no_license
iamrraj/Django_RealEstate
c9030177688bf5500f82d86f381a82471adba321
0370d0ed6d95dd751cb7889afd0dc328d0ea259c
refs/heads/master
2022-12-11T10:12:06.626546
2019-03-04T16:08:54
2019-03-04T16:08:54
173,445,088
1
1
null
2022-12-08T01:39:53
2019-03-02T12:26:27
HTML
UTF-8
Python
false
false
735
py
# Generated by Django 2.0.4 on 2019-02-02 13:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('rahul', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='product', name='acprice', ), m...
[ "rajr97555@gmail.com" ]
rajr97555@gmail.com
72c60892c0eca29753c90a81f153f351c0cd43a6
591cfb754e27bd090dfb4cf23259708601984c67
/IO/LSM_reader_plugin.py
db2f2aaf56b23c8a837e4085dd4298bebfef98a4
[]
no_license
luckylara/lasagna
69b934d43bbe232aa0322d91cf637bc4a5a7a856
e88f5c79e603dbfcb1d05fbd81684e1d444679ae
refs/heads/master
2021-01-20T12:28:47.979819
2016-11-15T15:39:33
2016-11-15T15:39:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
""" Load an LSM stack into Lasagna """ import os from lasagna_plugin import lasagna_plugin import tifffile from PyQt4 import QtGui import lasagna_helperFunctions as lasHelp # Module the provides a variety of import functions (e.g. preference file handling) class loaderClass(lasagna_plugin): def __init__(self,lasa...
[ "git@raacampbell.com" ]
git@raacampbell.com
ac51599caf2e31e3859f0fde36a58d6cf4ef01f4
98814ccf333d1bace4e2d9811ac778aa94e464d5
/watcher_dashboard/test/selenium.py
189326858758b1a889144bf1c6a3d8b5f720c08b
[ "Apache-2.0" ]
permissive
openstack/watcher-dashboard
5c19632c591db4ff83dc9e7f22b9ed7f7f8e4039
2114b979df67873f9251101b5351fbf5a5ab56a6
refs/heads/master
2023-09-01T14:54:29.644531
2023-02-28T13:27:59
2023-02-28T13:27:59
51,065,767
15
3
null
null
null
null
UTF-8
Python
false
false
1,979
py
# Copyright (c) 2016 b<>com # # 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, softw...
[ "David.TARDIVEL@b-com.com" ]
David.TARDIVEL@b-com.com
027c052b540274afe6e91d1e2dd08279bfb2d51e
3c20f49820d53ed781cdc6f66985c1b5a3b293ba
/registration.py
f995c3ad81db31176ea3d5b5e3cf4fdc6a01208b
[]
no_license
joekrom/docker_test-
f225ac93ae7193b9a69839f1ea8ae18cc071563e
adb113c682c853bd477667681e642ca7524179e0
refs/heads/master
2020-12-29T13:30:56.293817
2020-02-06T07:28:01
2020-02-06T07:28:01
238,623,196
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from flask import Flask app = Flask(__name__) @app.route("/") def hello_world(): return "that is the service for registration first version herve likes energy drink,first modif to github" if __name__== "__main__": app.run(host='0.0.0.0',debug=True )
[ "joel.dfankam@yahoo.fr" ]
joel.dfankam@yahoo.fr
8346055c465d62e9899a51ef44eaeba777d40e3c
d3c561a6ce2f82ca3cf79a01ec941b669f6ccf57
/application.py
00e9415d81cce631cb5c2be702f194637f8f4e45
[]
no_license
Simratpreet/cherry_app
c3f845a2666b91df1dfb13aace2dc2cddd5af17f
41bb301f2498aa91c4e90ff2cb2f0f4cf39a856d
refs/heads/master
2022-12-14T03:37:38.925668
2019-01-27T18:22:48
2019-01-27T18:22:48
167,792,096
0
0
null
2022-12-08T01:34:01
2019-01-27T09:38:39
Python
UTF-8
Python
false
false
903
py
from flask import (g, request, render_template, Flask) from constants import * import pandas as pd import redis import json application = Flask(__name__) # connection creator with redis def init_db(): db = redis.StrictRedis(host=DB_HOST, port=DB_PORT, db=DB_NO, password=PASSWORD) return db @application.be...
[ "ec2-user@ip-172-31-19-18.eu-west-1.compute.internal" ]
ec2-user@ip-172-31-19-18.eu-west-1.compute.internal
0b55ba7f00b4e64e8c7d5203073beaeefc5cc9bf
8e7fd94fabf66c143de0105d1007bac6b46105b5
/extras/build.py
36a28486925f1cc3acba76aa0b337ae748801b7e
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
davidgiven/wordgrinder
9420fe20994294d6c6f3be6514e15719ed062420
62ec2319bb2e839df2f888ec2b49d645955d75ae
refs/heads/master
2023-08-16T20:09:03.230267
2023-06-06T22:44:40
2023-06-06T22:44:40
37,010,967
830
79
null
2023-06-06T22:44:41
2015-06-07T09:27:07
Lua
UTF-8
Python
false
false
703
py
from build.ab2 import normalrule, Rule, Target from config import DATE, VERSION @Rule def manpage(self, name, outfile, date, version, src: Target): normalrule( replaces=self, ins=[src], outs=[outfile], commands=[ "sed 's/@@@DATE@@@/" + date + "/g...
[ "dg@cowlark.com" ]
dg@cowlark.com
80a7aed86e2c3a0d638eeac86aa7695677224737
3dae43ca1d3eb85ea499e7d244ba2cfdbf4707f5
/couchdb/design.py
08340108a99b0497fcab37b52928c644f04f6d7e
[ "Apache-2.0" ]
permissive
rmaiko/pyvsim
5da6340331df6818a9bf4cc2ed0c3e8268f249d5
18d51d8fc3678ffcb08fd0939dc72c1a8834327d
refs/heads/master
2021-01-17T07:24:40.573216
2016-05-25T15:18:39
2016-05-25T15:18:39
33,446,279
2
0
null
null
null
null
UTF-8
Python
false
false
8,124
py
# -*- coding: utf-8 -*- # # Copyright (C) 2008-2009 Christopher Lenz # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. """Utility code for managing design documents.""" from copy import deepcopy from inspect import get...
[ "ricardo.entz@dlr.de" ]
ricardo.entz@dlr.de
4eaaded3c75290e39e59843708a75c730052c7e7
2356d304de017e7a11b53af17b20dce2d66c647b
/LnProtocol/RaspBerry_Prev/Source/Functions/DisplayRawData.py
7217d54616cb606bb61e1758f9afe17709a49a6c
[]
no_license
Stevetdr/TOR
5c71ff0c620ad8b90584fd828f1f0524c1b9e6b9
3206c91c8fe55ac76028b2e734d725932c86aab1
refs/heads/master
2021-10-18T22:02:26.168917
2019-02-14T17:03:20
2019-02-14T17:03:20
118,484,021
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
#!/usr/bin/python # -*- coding: iso-8859-1 -*- def displayRawData(rawData): if len(rawData): COMMAND_DATA = 7 # TX - dati necessari al comando per la sua corretta esecuzione/RX - dati di risposta print (' full data - len: [{0:03}] - '.format(len(rawData)), end="") for byte in r...
[ "stevetdr@gmail.com" ]
stevetdr@gmail.com
140287a99f4d2e64e977c72c6d24df7c2e0ca38a
d7f43ee7b91c216b1740dead4cc348f3704d2f5a
/.metadata/.plugins/org.eclipse.core.resources/.history/b7/80250ecc9ea7001711a5cc76fdb6fd7b
4b4fd72ea13464b26888689bd6c7068e2d6a70c7
[]
no_license
capslockqq/catkin_ws
26f734cf45cb5fe15301f5448a6005f2b21073b5
a0989427e42988f36ae9e4d83ba7eb871a56b64e
refs/heads/master
2021-08-24T07:04:07.551220
2017-12-08T14:42:19
2017-12-08T14:42:19
113,569,359
0
0
null
null
null
null
UTF-8
Python
false
false
1,661
#!/usr/bin/env python import rospy import actionlib from control_msgs.msg import FollowJointTrajectoryAction from control_msgs.msg import FollowJointTrajectoryFeedback from control_msgs.msg import FollowJointTrajectoryResult from control_msgs.msg import FollowJointTrajectoryGoal from trajectory_msgs.msg import JointTr...
[ "ubuntu@ubuntu.(none)" ]
ubuntu@ubuntu.(none)
30ccfa146013bf4f3d0235cf2601d081adf8e96f
49371b759260632d95a5b75d60ccc1ec3449e4ce
/nipyapi/nifi/apis/processgroups_api.py
3fdec47015bc424e7895991e29c9981a71c80b6a
[ "Apache-2.0" ]
permissive
rkarthik29/nipyapi
05112cdb1412cc3a747ea9615e3c74a5ea4ffa97
78a9d8e711b3e0a2cc682e523630069a2338cd73
refs/heads/master
2021-05-04T23:53:08.658101
2018-01-26T16:56:28
2018-01-26T16:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
146,162
py
# coding: utf-8 """ NiFi Rest Api The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
[ "dchaffey@hortonworks.com" ]
dchaffey@hortonworks.com
9bbaa8e1635b43d3264fc411bfe7512431436848
f2d7575c2a19455c0bb6d7e344fb628df330b610
/tests/test_utils/test_plotting.py
b4a85fd9c3fcdd01b833a07ec2b993d12621db3b
[ "MIT" ]
permissive
GenevieveBuckley/2019-organizing-documenting-distributing
1c40a63d774a2574021e7fd4b07253b6ae15e9c5
6aa28c927a8287b1643fc1ec22bee26a2458861e
refs/heads/master
2020-04-17T21:10:25.428094
2019-01-22T05:58:50
2019-01-22T05:58:50
166,937,140
1
0
MIT
2019-01-22T06:07:41
2019-01-22T06:07:40
null
UTF-8
Python
false
false
704
py
# -*- coding: utf-8 -*- """Test the plotting functions in mypack """ import os import matplotlib.pyplot as plt import numpy as np import mypack.utils.io as my_io from mypack.utils.plotting import plot_airfoil def test_plot_airfoil(): """Check the correct data is plotter to the figure """ # given mod...
[ "student@localhost" ]
student@localhost
2494d7d015d8f5d3ea8709b3e109f085d902b831
86d6d56343f7872ad9abfe1301fcfd962374f61d
/api_manager/apps.py
638de1c79807a6363beb747b341d10673986e26a
[]
no_license
TheWeirdDev/API-Manager
c63c3e68f4fa4f611026cd5f85d7e3074c443eed
b290ff8361daad43d1e58b6bac7b7febd00d719e
refs/heads/master
2023-05-31T09:09:41.906179
2021-06-22T05:42:18
2021-06-22T05:42:18
377,508,398
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from django.apps import AppConfig class ApiManagerConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'api_manager'
[ "alireza6677@gmail.com" ]
alireza6677@gmail.com
7bf04d25d8c8c1fa5af749227ed1586f9840cbd1
a5fabc6d6341925b587fecb082dc70c0d1b95619
/FLM_stageI.py
8afcebd9e4ef64845fb780e99f78f59988b02671
[]
no_license
illuminous/pythonScripts
fcfef9c0fb9bd3155edcf02b56bbec563ff08b2a
1bb69a1bb1e10f6041274c027cc0ab06c7a9efed
refs/heads/master
2022-10-22T09:35:48.088907
2022-09-28T22:35:32
2022-09-28T22:35:32
120,963,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,109
py
#!/usr/bin/env python """FLM_stageI.py builds a list of zones (buildZones) creates Folders based on a directory structure, and unzips files to a location. ****MUST BE RUN IN PYTHON 2.6 OR GREATER BECAUSE OF THE EXTRACTALL FUNCTION**** """ __author__ = "Jason M. Herynk" __copyright__ = "Copyright 2011, SEM S...
[ "noreply@github.com" ]
illuminous.noreply@github.com
2d6de542a35946939f11579335df3c94dc93e66f
9bf79a6edfd916b4932f763876cdd5a8459a0ebe
/scripts/change_namespace.py
ddee71a50e6a72606dae0c852e597273114ae3ed
[ "MIT" ]
permissive
hseom/brunet-1
46103314870bcc9eff0b27fbe5cf6ea712c4b9a9
26e6e75250a8ac05569e711fa77b86d0e9976c79
refs/heads/master
2021-01-18T02:58:44.794881
2011-07-16T17:41:32
2011-07-16T17:41:32
3,490,583
1
0
null
null
null
null
UTF-8
Python
false
false
2,497
py
#!/usr/bin/env python import sys, tempfile, os, re, os.path from functools import partial filestorename = sys.argv[3:] def get_namespace(sourcef): ns_str = "namespace ([^{;]+)\\b" for line in sourcef: m = re.search(ns_str, line) if m: return m.group(1) def fixnamespace(oldns, newns, sourcef): (t...
[ "boykin@pobox.com" ]
boykin@pobox.com
83129e98f9964caf026af2e1134ea22429062362
a476bf64643ab9e294157c6b673d3187e307256c
/petro/multi/conc.py
ac5d994fb536784fd955e54ea1b3dc6c785f7efa
[]
no_license
snytav/Sudents
5484751441fe558bf624dd2ba17e318735b8503f
81eb6fe38ea47ff9c62555fbe443b6d4ad23c744
refs/heads/master
2022-07-07T00:33:25.496098
2020-05-15T16:49:57
2020-05-15T16:49:57
264,201,203
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import concurrent.futures import time start = time.perf_counter() def do_something(seconds): print(f'Sleeping {seconds} second(s)... ') time.sleep(seconds) return 'Done Sleeping... ' with concurrent.futures.ProcessPoolExecutor() as executor: f1 = executor.submit(do_something,1) print(f1.result(...
[ "snytav@gmail.com" ]
snytav@gmail.com
d0d0a70fc66944f731d306b57470b3e230b98ff7
dc3d6f88067b27cd0ddb012dafdf13b260ca6d64
/houses/models.py
11135365d70f4b8bee994146f32663a4745c72bc
[]
no_license
AronForero/RestFramework_Test
1f0efdfd194279b818e2690dbb27e189663c5da5
d0e31db64c13e40dca093f43beed70989f898a1d
refs/heads/master
2022-12-23T09:45:39.019601
2019-01-10T22:12:37
2019-01-10T22:12:37
164,375,024
0
0
null
2021-06-10T21:10:55
2019-01-07T03:48:12
Python
UTF-8
Python
false
false
1,482
py
from django.db import models # Create your models here. class general(models.Model): """ La informacion mas general del inmueble """ direccion = models.CharField(max_length=50) ciudad = models.CharField(max_length = 30) departamento = models.CharField(max_length = 30) pais = models.CharFie...
[ "Foreroo965@gmail.com" ]
Foreroo965@gmail.com
0f60c2091d27ba1bac009139d2b7ed4e9f7e4c5f
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/hood/ZoneUtil.py
1216bf85f94b68f99ca71e81390a1460878b6f17
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
7,106
py
# 2013.08.22 22:21:01 Pacific Daylight Time # Embedded file name: toontown.hood.ZoneUtil from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal zoneUtilNotify = DirectNotifyGlobal.directNotify.newCategory('ZoneUtil') tutorialDict = None def isGoofySpeedwayZone(zoneId): r...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
730f99277e997cb391569a24d6d0aa2d3fe4ca86
814984dc0ce294540ccff09342acd77607023e2f
/booking/migrations/0005_auto_20160426_0604.py
49fa864ac1b5bc7866ac5e37f242617a84fc0bd4
[]
no_license
msrshahrukh100/legistify
371e20d5b4497e8483375e31f904a763acd2e185
35606710458665f5e030fa8c8730c0fac3bbcd65
refs/heads/master
2021-01-01T05:10:36.098150
2017-08-14T11:10:56
2017-08-14T11:10:56
56,976,176
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-04-26 06:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('booking', '0004_auto_20160426_0603'), ] operations = [ migrations.AlterField( ...
[ "msr.concordfly@gmail.com" ]
msr.concordfly@gmail.com
2f06223f1778e0f95fac7186a878be7de9b9567e
46dae0ee9a8a3a00721cfc77e0b825a8c3b03dac
/kaldi-plda/nnet-emotion/converter/training/expand_mfccs_and_pitch_features_with_target_emotion.py
6153fcc76221b675d6cdbadeb06dfcce1cf81aa3
[]
no_license
kailashkarthik9/MultiModalEmotionDetection
970b34182f7d0731bccfefc77c959ce867038247
896cbb492d084f00efac844933fb50f6acab094e
refs/heads/master
2022-12-13T14:23:11.374925
2020-08-14T18:44:20
2020-08-14T18:44:20
227,515,273
3
1
null
null
null
null
UTF-8
Python
false
false
1,141
py
#!/usr/bin/env python # author: aa4461 import glob import os.path import sys import kaldiio import numpy as np def get_target_emotion(utt): return int(utt[0]) def write_expanded_feature(raw_mfcc_and_pitch_file, output_data_dir): expanded_features = {} for utt, features in kaldiio.load_ark(raw_mfcc_an...
[ "kailashkarthik9@gmail.com" ]
kailashkarthik9@gmail.com
db7fd9f978f798c76ad63fdc488634c38020171a
adf2b606ba2feab9fe9aa580a238b07c61521ef6
/post/urls.py
f8bf912c66c84d6116a9105bdade1bcaaed172a0
[]
no_license
Avlayev/mysite
f97b5b387f50df2e23155fe513d5b7ee50ff750b
1b7e4cfc44f1ebe64435b020f7d4dca761461ff1
refs/heads/main
2023-01-19T00:24:42.982007
2020-11-27T13:57:31
2020-11-27T13:57:31
316,501,331
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('addcomment/<int:id>/', views.addcomment, name='addcomment'), ]
[ "avlayev@gmail.com" ]
avlayev@gmail.com
297f0b4bdc0767a93886314e9c09e2efc56559fa
55087121730dd61dca43b56e3d468846e221ccda
/03wk_homework.py
b02cf6badcfe2118c3e5277182db3bdbfde91060
[]
no_license
sangmokang/spartacoding7th_homework
c0d90711b5694332b97ad3584935fccfe73525ce
d0f39e45b16c120d44fed8111b9af81f69bb50dd
refs/heads/master
2021-04-09T21:23:26.655571
2020-03-29T07:48:57
2020-03-29T07:48:57
248,881,418
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
import requests from bs4 import BeautifulSoup # 타겟 URL을 읽어서 HTML를 받아오고, headers = {'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36'} data = requests.get('https://movie.naver.com/movie/sdb/rank/rmovie.nhn?sel=pnt&date=20200303',headers=...
[ "rmrm.help@gmail.com" ]
rmrm.help@gmail.com
4238c2cac8654bd0b0cd968250da9060c77816a3
e084f81eceb362114a2fe04ab1a5a320720be4e2
/2/2.2/Spyder/2.2.3/2.2.3.py
091e7d471a200692a5002fade57551aa3b456aaf
[]
no_license
mygithubhas/Work
8b54e81128dcada96308edd59a9ba27a5a0472a1
5b70c43f4678edd3892d11c930437a62c8ff9816
refs/heads/master
2020-05-17T14:04:43.559816
2019-05-17T01:12:47
2019-05-17T01:12:47
183,754,553
1
0
null
null
null
null
UTF-8
Python
false
false
752
py
# -*- coding: utf-8 -*- import sift from numpy import * from PIL import Image from pylab import * """ imname = 'qaz.jpg' im1 = array(Image.open(imname).convert('L')) sift.process_image(imname,'empire.sift') l1,d1 = sift.read_features_from_file('empire.sift') figure() gray() sift.plot_features(im1,l1,circl...
[ "noreply@github.com" ]
mygithubhas.noreply@github.com
869e7e65527f1128d4c5e8f08e06198bdb2be16e
0e170a0e638f1f9af00d2f75550271efc287c3d7
/Tools/Scripts/webkitpy/port/darwin_testcase.py
1e8da6b3b9aa765659f74ee3843bccc76894e9c0
[]
no_license
JoeyLi-1/webkit
b55cfa8bb11760f98c22b12b96b146a3414f323d
a0da9778cb6d06865a146b9161ce6b83dc857161
refs/heads/master
2023-01-13T22:39:49.158658
2017-05-10T21:11:31
2017-05-10T21:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,439
py
# Copyright (C) 2014-2016 Apple 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 conditions and ...
[ "jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc" ]
jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc
2c4d549249da38ceb8da0305322c72917bf990a5
e03abe6096389b10ea9b89ee0f61985e7b717234
/src/blogs/views.py
981343fe30244915856103eee1eb94782998a0b3
[]
no_license
JoseAntpr/teckium-public-front
ed2f8a030b5640e37daad81de0905e743beba21c
0df6c75717434ae1619ce16c060f6c0ab22cf0ff
refs/heads/master
2021-07-23T03:50:06.814967
2017-09-21T11:55:37
2017-09-21T11:55:37
104,091,439
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from django.shortcuts import render def index(request): return render(request, "blogs/list.html") def detail(request): return render(request, "blogs/detail.html")
[ "joseantpalaciosramirez@gmail.com" ]
joseantpalaciosramirez@gmail.com
c300768a0c9fb2fa6b2e0fddd71c78f1ae4b9a8c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_120/798.py
c329dc15e7b4a261218cbfd6ca4c9d71add4828b
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#!/usr/bin/python import sys def getNLines(r, t): result = 0 havePaint = True t = t - (2 * r + 1) r += 2 while t >= 0: result += 1 t = t - (2 * r + 1) r += 2 return result fin = open(sys.argv[1], 'r') fout = open(sys.argv[2], 'w') ncases = int(fin.readline().strip()...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
96234ec593ec6c4db45f6e68070d9aa149f5faf2
03f771d745927cdd03029d8e92ab38b52e9cce26
/web/oddeye/products/migrations_bk/0008_auto_20200612_1331.py
9f68f887536005b9759b4191527e5c64df0a8b63
[]
no_license
soothingni/Personal_Shopper-KJH-KIDS
524704dcc5729c910bc316108b9d519837bb5031
ec8761cc3e563f9af4e0303c972a5ad664b96361
refs/heads/master
2022-11-05T00:07:31.393271
2020-06-23T01:44:09
2020-06-23T01:44:09
266,282,880
1
1
null
null
null
null
UTF-8
Python
false
false
505
py
# Generated by Django 3.0.6 on 2020-06-12 04:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0007_products_productsembedding'), ] operations = [ migrations.RemoveField( model_name='productsembedding', name...
[ "root@ip-172-31-40-147.ap-northeast-2.compute.internal" ]
root@ip-172-31-40-147.ap-northeast-2.compute.internal
ab8874afa9de48da98722c3415e004160d50031b
e9fb0e4871123ed365f250b0dbc9c8330bcbb1a9
/ModulesFunctions/11.3StandardPythonlibrary.py
5f69868813b756603106757ed1b32405da3f77db
[]
no_license
jerin17/PythonProgrammingMasterclass
783c5aca9d4aa745a304489b17194a6a4a3094b2
6627d1c2f000d707beef6d4d47d552115bf007a8
refs/heads/master
2020-07-26T00:39:57.235701
2019-10-21T17:59:14
2019-10-21T17:59:14
208,473,283
1
0
null
null
null
null
UTF-8
Python
false
false
179
py
print(dir()) print(dir(__builtins__)) import shelve print(dir()) print() print(dir(shelve)) for i in dir(shelve.Shelf): if i[0] != '_': print(i) # help help(shelve)
[ "jerinthomas17@gamil.com" ]
jerinthomas17@gamil.com
ee753229c62f0431748b6798d01d48c923e507fd
a248e50edb7fb61192e2c341008585e0b37e4f01
/util/pfind/pfind.py
9d41944d6f3a088706bdaad9e89c7e96bcbc49e5
[]
no_license
akipta/hobbyutil
48508351a86a8f3cebcac97ede8b17097bf408e3
1f9bffe7f3c2b3655177e5f8e1916c476344b9c8
refs/heads/master
2021-01-18T17:19:05.074492
2014-08-28T03:37:28
2014-08-28T03:37:28
39,736,637
1
0
null
null
null
null
UTF-8
Python
false
false
17,030
py
''' File finding utility (similar to UNIX find). It's not especially fast, but the usage is more convenient than find and the output is colorized to see the matches. Run the script with no arguments to get a help message. --------------------------------------------------------------------------- Copyright (C) 2008,...
[ "donp@localhost" ]
donp@localhost
598771da6eacd1ad23c8329681d90b014b4dc13b
bf74f9c2ffc3be249919978d68030f71318d302a
/Python/Assignment/Assignment.py
2c141fe730d17d7a4fb15188f9b7737a0f96467e
[]
no_license
stondiki/Software_Engineering_Assignmets
845fbb3e1a3b5df1ac026bdaabba34d13dab9063
8e62f9871a23a98a2986e4a8e0dea45faa0360e6
refs/heads/master
2020-04-02T04:42:59.249408
2018-11-05T16:43:47
2018-11-05T16:43:47
154,030,707
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
# Terence Amunga a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] for i in range (0, len(a)): if a[i] < 5: print(a[i])
[ "stondikiyeye@gmail.com" ]
stondikiyeye@gmail.com
20a269a8d43deee384fb79623e313a304afaead5
d67560f8e3bf6e1a9058a96d377dfaa37152d9a5
/smake.py
aff238474c2588bd3e9764efeeb6c1ab1977f5fc
[]
no_license
balabit-deps/glib
5d1292acf9b0ae43c0c9c48f95570d98b634b488
713f1b5b1f29a5d5567644dd21a39197bd4fd3e0
refs/heads/master
2022-11-15T18:38:53.767607
2020-06-23T14:04:31
2020-06-23T14:04:31
106,435,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
#!/usr/bin/python import sys sys.path.append("../lib") import os import Utils import argparse from smake import builder def get_main_options(): usage = 'usage: bootstrap.py [options] [command [command-args]]' epilog = "Build a submodule" parser = argparse.ArgumentParser(add_help=False, epilog=epilog, usa...
[ "viktor.juhasz@balabit.com" ]
viktor.juhasz@balabit.com
4ff2c781cdf81d45aaf784a5232c12eb713ce75c
613cbdeb74e2a74761ff20cd4378382d2fc6b9db
/tornado/lesson/util/uimodules.py
483f02394e491032233aaffefec57de869232882
[]
no_license
atiger808/doc-md
771b282750b5f79db43598fc064be65164690fbe
d5babd94d3244e9e6eba9b026717718e907b1f50
refs/heads/main
2022-12-28T23:51:16.772226
2020-10-14T08:32:43
2020-10-14T08:32:43
303,942,186
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
''' this is ui_modules ''' from tornado.web import UIModule class UiModule(UIModule): def render(self, *args, **kwargs): return '我是 ui_module' class Advertisement(UIModule): def render(self, *args, **kwargs): return self.render_string('07ad.html') def css_files(self): ...
[ "atiger0614@163.com" ]
atiger0614@163.com
131d9af5038c92568ff92dcec79fa162113e0497
66ba6906460f8bc90fb1823698025168528d4484
/back/database/db_init.py
92e0342f0ad2805a6655715cf2c891e98269aa15
[]
no_license
tdbeirne/graffiti
96a1441eacd504c0ce5db02d3b4254650f1ea496
e37b544e9ba676808d0de327d1c8d37e7531907e
refs/heads/master
2021-02-06T10:51:16.022407
2020-03-01T21:37:07
2020-03-01T21:37:07
243,907,620
0
0
null
2020-03-01T21:37:09
2020-02-29T05:02:35
Python
UTF-8
Python
false
false
1,083
py
import sqlite3 from sqlite3 import Error as SQLiteError DATABASE = '/opt/data/graffiti.db' MAKE_TABLE = """CREATE TABLE IF NOT EXISTS messages ( id INTEGER PRIMARY KEY, lat REAL NOT NULL, lon REAL NOT NULL, txt TEXT NOT NULL, time INTEGER NOT NULL );""" def create_connection(db: str) -> sqlite3.Co...
[ "noreply@github.com" ]
tdbeirne.noreply@github.com
b5b6b40039ceff6bb34e1cea882a7a58f9d912ef
22aaf50b5f6b89b30d58f0d1c48c3fdf08d5dcdf
/code/UI.py
718095187d5fa5a99feaf5022cddbc9f5ecd32c3
[]
no_license
n1ck404/Topic-Cluster
054c6e637721b4dcbf9c1cda0e5dbfaa04612ed2
f43e837658c1c4c721179787db3236f6e62be4b5
refs/heads/master
2020-03-31T16:53:24.202873
2018-11-02T03:03:23
2018-11-02T03:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,618
py
# -*- coding: utf-8 -*- """ # @Time : 6/10/18 5:56 PM # @Author : Heng Guo # @File : UI.py """ import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import Qt from PyQt5.QtGui import QPixmap import UIFunction as UF class Root(QMainWindow): def __init__(self): super().__init__() self....
[ "noreply@github.com" ]
n1ck404.noreply@github.com
f54758657758e32fe16dfe7bb10ac04a025dcd1e
1d8e4ef73563499dc1e6eb81f14f0c0b175a2b44
/sell_slide.py
feccab3a4ba9d644b5b9ab17fa65a99708532f62
[]
no_license
tylerjw/stockfighter
4b2c86589479e21f893efb1cf7cfa9fd202705ac
fb534d41a34131935bf0295ebe1b74a4c6dec2d8
refs/heads/master
2021-01-10T02:25:14.861103
2015-12-24T19:21:54
2015-12-24T19:21:54
48,448,592
1
0
null
null
null
null
UTF-8
Python
false
false
10,089
py
from stockfighter import Stockfighter as Fighter from stockfighter import GM import matplotlib.pyplot as plt import math as m import random from position import Position import time as t from book import Book import pprint as pp exchange = 'CQNEX' symbol = 'ELT' account = 'JB76422300' key = '52d0445bb4e4a5e4f7672d3701...
[ "tweaver@lgsinnovations.com" ]
tweaver@lgsinnovations.com
e34f05678cd7c322ec61141e37f381b0421eb484
b9a7f854c82b411406dcc77008b2862ec9f3bf70
/LeetCode/209_minSubArrayLen.py
2129c3bf07bb93c1b268a0ba36cbd0c2359ff6a3
[]
no_license
cabbageGG/play_with_algorithm
0f145db092944d3808a6e23e4b5b43d7ff9f9d84
6b11084e3537240d1c40b016b7343cb47aef9244
refs/heads/master
2021-05-14T06:50:57.572117
2018-04-18T01:39:32
2018-04-18T01:39:32
116,250,677
3
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
#-*- coding: utf-8 -*- ''' Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't one, return 0 instead. For example, given the array [2,3,1,2,4,3] and s = 7, the subarray [4,3] has the minimal length under the problem con...
[ "13246856469@163.com" ]
13246856469@163.com
ac4e8b4b45af025ac1339e21e6186ff76f637fa3
256416073b7017701e95beef71897720551abd1b
/application_pyowm/views.py
24efc5c2c612f989e0285f34bc5a3f60736fa00a
[]
no_license
B-Ester/pyowm_app
4263e85abb3c5691571ea821abf55724d57eef00
1ae3ce8783ebf2ba17c7190605d5ea51054e5ffb
refs/heads/master
2020-04-05T13:08:39.528656
2017-08-03T11:26:43
2017-08-03T11:26:43
95,116,934
0
0
null
null
null
null
UTF-8
Python
false
false
9,182
py
from django.shortcuts import render, HttpResponse, HttpResponseRedirect from .weather_api import weather_at_any_city as ws, all_locations, forecast_snow as fs from .weather_api import cords, tomorrow_forecast as tf from .weather_api import forecast_sun as tfs, forecast_c as fc, forecast_fog as fg from .weather_api impo...
[ "denis.pletenyov@gmail.com" ]
denis.pletenyov@gmail.com
d84f464e75525c3e87722b344ef859fb50cf06d0
2705d156e594728ff47b3468be30ea37a8e69ea9
/AI2.py
ab2d5b498c0bb4bb31b9b3abe70007642fede356
[]
no_license
blackpanther0/AI-proj
b6ca0b6e67b1000f340ddb75db75b42c238c060c
05d515b8d46994a8f070c2868d0a18fa92bab29d
refs/heads/master
2021-06-10T18:59:35.115639
2020-04-09T10:19:40
2020-04-09T10:19:40
254,338,596
0
0
null
null
null
null
UTF-8
Python
false
false
2,899
py
import speech_recognition as sr import pyttsx3 engine=pyttsx3.init('sapi5') voices=engine.getProperty('voices') engine.setProperty('voice',voices[0]) def speak(audio): print('bot :',audio) engine.say(audio) engine.runAndWait() speak("hello welcome to doctor's advicor") speak("Please e...
[ "noreply@github.com" ]
blackpanther0.noreply@github.com
cbec028482767dcc7949e650a8dc96a6b523cf9e
a040b5affd65875c644138b3e317eb6b1e4ea20c
/blog/urls.py
64f0c235c78f0bc28067ffc18287f7e186bee179
[]
no_license
sophia1215/cms
39f1f7bd0b408189650616633246ecad9f617e25
1eea3d638cb05feaedcd227731692a2c7bfdd85a
refs/heads/master
2020-03-23T12:07:41.922282
2018-07-21T06:29:03
2018-07-21T06:29:03
141,538,522
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from django.urls import path, include from . import views app_name = 'blog' urlpatterns = [ # path('', include([ path('', views.list_of_post, name='list_of_post'), path('<slug:slug>/', views.post_detail, name='post_detail'), # path('<int:id>/', views.post_detail, name='post_detail') ...
[ "code.sophiawang@gmail.com" ]
code.sophiawang@gmail.com
d7aa18e6479562e3c086fa5748bb617de0abcd34
7ca029a974bf52129708bf764e2648405e288b04
/envhw/lib/python3.6/_weakrefset.py
d5924e6f55766cb4e434fa1f07fe06dcb108cab8
[]
no_license
Maxim-Poleshko/Djangohw
e6fe912f33589df33df0c432e141752d6bc23de9
5ea04f3fa74a8ebf1792d3b468074d4d35b7774a
refs/heads/master
2020-04-11T19:53:46.871378
2019-01-23T18:35:37
2019-01-23T18:35:37
162,051,741
0
1
null
null
null
null
UTF-8
Python
false
false
33
py
/new/lib/python3.6/_weakrefset.py
[ "poleshkomaxim@gmail.com" ]
poleshkomaxim@gmail.com
45eb482cc20a7a0b87a149ac02f2fa71bba69fe7
c143b17e65ecfa9ffc03d52cd6e2a4a240d26230
/fase06/ex01/ateZero.py
8c0070b4da597f7fed810527d01fcec52bef76bb
[]
no_license
The-Totti/marvin
473966806ee90bef3792d355142a1ee7b5b8d2bd
d3382dcdfcfc6c6aff26401313625134bb03d434
refs/heads/master
2020-06-17T23:06:28.625288
2019-07-30T23:22:20
2019-07-30T23:22:20
196,093,544
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
def ateZero(x): if (x > 0): return list(range(x + 1)) elif (x < 0): return list(range(x ,1))
[ "52722890+The-Totti@users.noreply.github.com" ]
52722890+The-Totti@users.noreply.github.com
dfbe392cb539bfb0b7dd47e615482179b0a33f02
9605b21cbf0b9e33bac1329ce2d4cd7ff3fca4b5
/cricket/classes/delivery.py
f160089a3aad224e668a69d8e64b1eaf8c2abad7
[]
no_license
oficiallyAkshayEdu/crickit
651d72b814990eaf7ed1a0a2c0898bae76abba94
47f28157c44c28a18ac102ebccd13e2903cd13ab
refs/heads/master
2022-03-31T01:05:35.431140
2020-01-22T06:25:36
2020-01-22T06:25:36
109,299,417
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
class Delivery: def __init__(self): self.speed = "" self.type = ""
[ "akshay.space9@gmail.com" ]
akshay.space9@gmail.com
282f6d79c6959d08d6fd5239d8e89c988928b494
ae48f96aedc36427718dc50276377df48829a64b
/platform/pygame/event.py
cea70b8c3802d189b7e48381a2d0f2fdcdedc70b
[ "Unlicense" ]
permissive
gregr/old-and-miscellaneous
8fce2c8767302c450c8f01f3528b28b0f91fd995
c7a147037b806058d18d9a200ffa4a14f3402d04
refs/heads/master
2021-01-10T18:38:16.311759
2015-04-27T01:00:45
2015-04-27T01:00:45
9,311,629
2
0
null
null
null
null
UTF-8
Python
false
false
3,054
py
# Copyright (C) 2007 Gregory L. Rosenblatt # All rights reserved # <greg.uriel@gmail.com> # http://code.google.com/p/uriel/ # This file is part of Uriel. # Uriel is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundati...
[ "greg.weiqi@gmail.com" ]
greg.weiqi@gmail.com
ce7932add6161c3d72b410ce1b91417be5428afe
d234e4a865a0ed94d28552781c6f29ae7b07e053
/Robot V2/motor_test.py
8f951c3b24d58b7d0ca4d4e675c8cd2bafe75800
[]
no_license
andrewfell/CERC-PIWars2019
6a279407045977d787c3dfae7a6b26d30a1cfce9
cdfa3a88a1652d3513f92d2b2b7df75e2e243541
refs/heads/master
2020-04-06T15:05:03.973672
2020-02-15T21:30:36
2020-02-15T21:30:36
157,565,167
2
1
null
null
null
null
UTF-8
Python
false
false
1,391
py
#This program tests that you have the motor GPIO mapping correct on your CERC Robot V2 chassis #refer to GPIO pins allocations here: https://www.raspberrypi.org/documentation/usage/gpio/ #the 'robot' class of the gpiozero library is used below: https://gpiozero.readthedocs.io/en/stable/recipes.html#robot #the robot sho...
[ "noreply@github.com" ]
andrewfell.noreply@github.com
f600fe87604eba8b1bbc1105e5fc6ac5de5f245b
251a1a53fb1b45860f9a6656bc48696bcbaa8083
/guvi7_8.py
ca22da19a14c5f1717d3ad844afc4d419aca6205
[]
no_license
EktaArora1/Guvii
3216e6ebb1b90afd6714e13707dd6a7fe4617733
4955d0ab3b2f574d1ebee60863719c6d42c76f15
refs/heads/master
2020-04-01T02:38:57.096305
2019-03-13T15:37:53
2019-03-13T15:37:53
152,788,499
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
num=int(input()) print('yes') if num%7==0 else print('no')
[ "noreply@github.com" ]
EktaArora1.noreply@github.com
bc7ec86468ce5d2d2710c61e68d7d267fb79440f
81f97e696d7a6c89b6477e9275877ff4f7462131
/misc/datasets.py
e6180e379d9202ae5be08df33f184c3d80f6e555
[]
no_license
mahima12/ImageGeneration-using-Stack-GAN
affdfba1fdc70c90536d470eab3251eaad977dd0
83a9b8047b12b6d934cd06d46774505ccd6e7572
refs/heads/master
2020-03-18T06:30:14.153077
2018-06-21T08:26:51
2018-06-21T08:26:51
134,399,887
0
0
null
2018-06-21T07:32:51
2018-05-22T10:36:02
null
UTF-8
Python
false
false
10,090
py
from __future__ import division from __future__ import print_function import numpy as np import pickle import random class Dataset(object): def __init__(self, images, imsize, embeddings=None, filenames=None, workdir=None, labels=None, aug_flag=True, class_id=No...
[ "mahimapandya4@gmail.com" ]
mahimapandya4@gmail.com
f62cc712f231059743b5e22b2cc0ee1721cfbdd1
edd329fba9acb67fa0294c3d602ebcdf892a2b39
/venv/bin/easy_install
446ebd19666ea59a5927812f69ee50682ffc6447
[]
no_license
Abdul-Afeez/zeno
ec70ce6005ac8ce196ee2facf817c077d46e8bad
99ddb5de0dc84c750cdf9eccc6c1f8117dd78d36
refs/heads/master
2022-07-21T07:43:21.474213
2020-05-13T16:31:20
2020-05-13T16:31:20
263,685,079
1
0
null
null
null
null
UTF-8
Python
false
false
442
#!/home/abdulhafeez/PycharmProjects/zeno/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$',...
[ "abodunrinafeezlekan@gmail.com" ]
abodunrinafeezlekan@gmail.com
bbcb607cdf7a0feeae7cc8b38bc21b72bd79f59f
18aab7769d023bca4289fc09a2e65ad37b482e71
/src/image_utils.py
bde65e7b74b4a1fb68bff1611fac05497e8e6037
[]
no_license
Freitacr/cassava-disease-analysis
74904a95982123adaae57da05ef3dc58be518652
a7371bed860055a257cbad773ce6109c4c4b90a7
refs/heads/master
2023-03-23T03:34:51.284212
2021-03-15T19:10:49
2021-03-15T19:10:49
345,775,093
0
0
null
2021-03-15T19:10:50
2021-03-08T19:44:12
Python
UTF-8
Python
false
false
3,672
py
from typing import Tuple, List, Dict import os from os.path import sep import cv2 import numpy as np __image_files_by_label: Dict[int, List[str]] = {} __num_label_categories: int = 5 def __open_jpg(file_path: str, image_size: Tuple[int, int, int]) -> np.ndarray: ret = cv2.imread(file_path) ret = cv2.resize...
[ "freitacr@plu.edu" ]
freitacr@plu.edu
56db01d27ea1ddc68ac5bad60ac931e39e4f142c
dd9ce5ad36d79f8d269b52b97f2e121ffc957188
/DailyPython/calender.py
b0a88e2f694ed3bb511003b8d4ac0e2e03ab2124
[]
no_license
LevanceWam/PythonTutorial
9a7efb43829994ec6dd8b706f671eef54438155c
93c9fbc80618848e32296da99b3880331d2c811b
refs/heads/master
2021-05-18T06:09:37.928915
2020-04-16T21:13:29
2020-04-16T21:13:29
251,150,211
0
0
null
2020-04-15T17:39:02
2020-03-29T22:46:28
Python
UTF-8
Python
false
false
116
py
import calendar y = int(input("Input the year: ")) m = int(input("Input the month: ")) print(calendar.month(y, m))
[ "lkwamley@fullsail.edu" ]
lkwamley@fullsail.edu
04aefb86aaf1abc218beff66a7c209bfe2bfe550
4de03eecadc4c69caf792f4773571c2f6dbe9d68
/tests/seahub/views/test_list_lib_dir.py
e8ba1aaa6e5d5392e382efd8d7688b080e0859a4
[ "Apache-2.0" ]
permissive
Tr-1234/seahub
c1663dfd12f7584f24c160bcf2a83afdbe63a9e2
ed255e0566de054b5570218cb39cc320e99ffa44
refs/heads/master
2022-12-23T16:20:13.138757
2020-10-01T04:13:42
2020-10-01T04:13:42
300,138,290
0
0
Apache-2.0
2020-10-01T04:11:41
2020-10-01T04:11:40
null
UTF-8
Python
false
false
722
py
import json import os from django.core.urlresolvers import reverse from seahub.test_utils import BaseTestCase class ListLibDirTest(BaseTestCase): def setUp(self): self.login_as(self.user) self.endpoint = reverse('list_lib_dir', args=[self.repo.id]) self.folder_name = os.path.basename(self...
[ "colinsippl@gmx.de" ]
colinsippl@gmx.de
8cf3c7acf8f78ad3e4507a5e4359dab11e77a8fa
8187c8ff0c9825197c36e5054ab762493e5bad83
/inve/models.py
bfa618915f579b57826d949c88e850b7def75ecb
[]
no_license
derikkip96/inventory
9053ed78158ea8237d8e45458639589d6c8bea83
8df2fa530d3572110cba5d778239fa7b5340df3a
refs/heads/master
2020-06-06T06:29:33.408365
2019-09-17T23:27:10
2019-09-17T23:27:10
192,664,018
0
0
null
null
null
null
UTF-8
Python
false
false
3,913
py
from django.conf import settings from django.db import models # from order.models import ReceiveOrder # # Create your models here. class ItemUnit(models.Model): name = models.CharField(max_length=20) abbr = models.CharField(max_length=20) inactive = models.BooleanField(default=False) created = models....
[ "derikkip96@gmail.com" ]
derikkip96@gmail.com
6f29fcc2634c3f7a624d00ddd0547d2343c55e1b
e808642f71488f6cd4a1683ad3bd882e58b3540a
/models/networks.py
0b50f429a4f422b9a4b248aa3fce4c4ab252f46e
[ "Apache-2.0" ]
permissive
bishwasregmi/2dtodepth
9a54ff25e0f3e2f2ef284eea371c6f7272558064
f6bd76b17d4cbc245c3fd7a3857960bcd67a09fe
refs/heads/master
2022-11-12T00:24:21.374894
2020-07-01T15:24:22
2020-07-01T15:24:22
265,872,296
2
0
Apache-2.0
2020-05-21T14:38:27
2020-05-21T14:38:26
null
UTF-8
Python
false
false
24,148
py
# Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
[ "noreply@github.com" ]
bishwasregmi.noreply@github.com
98d46d87899a252a811104dab6f0dcbaa9fdc66f
771fc0f4bd8700217e153b222d772655e42baf96
/.github/scripts/testSync.py
76c71e24758dd08111384ef71d416d2fd78b87cd
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
zyfjeff/juicefs
e09f4255613a7714e219ee571f9289e014c364c4
95ea32bed332245fe4b58425f80176d4da51212a
refs/heads/main
2023-05-14T14:25:38.843139
2023-04-10T08:37:54
2023-04-10T08:37:54
329,810,048
0
3
Apache-2.0
2023-03-20T06:38:14
2021-01-15T04:39:17
Go
UTF-8
Python
false
false
4,915
py
import subprocess import random import shutil from hypothesis import given, strategies as st, settings, example import os JFS_SOURCE_DIR='/Users/chengzhou/Documents/juicefs/pkg/' JFS_SOURCE_DIR='jfs_source/pkg/' MOUNT_POINT='/tmp/sync-test/' JFS_BIN='./juicefs-1.0.0-beta1' JFS_BIN='./juicefs-1.0.0-beta2' JFS_BIN='./ju...
[ "noreply@github.com" ]
zyfjeff.noreply@github.com
69bb7644389703eb52a97e789cabe71b7cc4d5ac
1a7e6b0f6281c7705e75e4ec57520388e9eac0bc
/multipool/multiappend_tofile_py2.py
9804c62512aeb716b72826f99dc78b246084344b
[]
no_license
drafski89/useful-python
139954cf521c4eec1c0bab3420185c6612c6fbd6
ebc3ff2f3ab89b1b9e4fb1c051564baddbeec8e8
refs/heads/master
2021-09-06T21:27:14.766923
2018-02-11T17:50:59
2018-02-11T17:50:59
108,578,058
0
0
null
null
null
null
UTF-8
Python
false
false
4,885
py
#!/usr/bin/env python # Imports import multiprocessing from multiprocessing import Lock import time OUTPUT_FILE_NAME = "multiappend_results" # Constant for the count function to count to # Higher number will show greater differences in multithreading COUNT_TO_NUMBER = 10000000 # count function # Purpose: Count fro...
[ "brandt.andrew89@gmail.com" ]
brandt.andrew89@gmail.com
bf59571c5aeef678657434afb693f5136d84e5e5
3fed8f90dce1bff81ad9157512335416c4715d9a
/KaggleIowa3.py
942d5e40f01518bf55d443a4d4a6a974fe9bd816
[]
no_license
dtl333/Kaggle-IowaHousing
9a0bed9c0e8f5f542089d2b234601c799dd4bbfa
0ed2d4732c78952c7dd8759f47ee34c72cd06af7
refs/heads/master
2020-03-20T10:14:55.045267
2018-06-15T16:24:37
2018-06-15T16:24:37
137,363,947
0
0
null
null
null
null
UTF-8
Python
false
false
7,255
py
import pandas as pd from pandas.plotting import scatter_matrix import numpy as np import matplotlib.pyplot as plt import sklearn from sklearn.preprocessing import StandardScaler, CategoricalEncoder from sklearn.linear_model import Ridge from sklearn.ensemble import GradientBoostingRegressor from sklearn.metrics import...
[ "noreply@github.com" ]
dtl333.noreply@github.com
f50e456642266ed04cd8875d888da4b032735015
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit_QC17.py
d9005b49ff121b30c7999f298fed729dee83a7b9
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,471
py
# qubit number=3 # total number=8 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collection...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
2da67d1fbc54e2a109b9ff091f701097f7d6f93f
07e53b9e84adb5b747b11d8f73c1fe841419cb01
/REs/2: Simple data/remainder.py
f02dc51b7c637c1a8e9bd1ec520b668c32babdc3
[]
no_license
Ralfe15/FPRO-2020
da9702235a29cf564826d9174bdc15f741cde44b
bb1e33a46eb927820665e00eb38f70a9d0fdf343
refs/heads/main
2023-01-13T08:47:20.674096
2020-11-17T13:44:14
2020-11-17T13:44:14
305,211,905
0
0
null
2020-11-17T13:44:15
2020-10-18T22:56:23
Python
UTF-8
Python
false
false
246
py
import datetime hour = datetime.datetime.now().hour + 8 minute = datetime.datetime.now().minute + 30 if minute >= 60: hour += 1 minute -= 60 if hour > 24: hour -= 24 print("{}:{}".format(str(hour).zfill(2), str(minute).zfill(2)))
[ "noreply@github.com" ]
Ralfe15.noreply@github.com
ed4c00181cc65c62ac8f54e882e4ed8303074f32
2edfc09fcc6951554f50a42ee2de1ae9e738d0b0
/test_loader_pil_crop.py
ee29597f689b1cf893652193fd06aaa0a073bae5
[ "MIT" ]
permissive
jorisgu/Mask_RCNN
27c2bc9804fbde2329d3cff403ecf23f638c2b2f
37ee6af055ea373c0db56c9d647bf92480c3e6b4
refs/heads/master
2021-09-10T06:23:00.181055
2018-03-21T13:42:02
2018-03-21T13:42:02
116,161,195
0
0
null
2018-01-03T16:58:43
2018-01-03T16:58:43
null
UTF-8
Python
false
false
2,304
py
from memory_profiler import profile from PIL import Image, ImageFile Image.MAX_IMAGE_PIXELS = 1e10 ImageFile.LOAD_TRUNCATED_IMAGES = True import os def change_tile(tile, new_width, new_height, memory_offset): tup = tile[0] return [(tup[0],) + ((0,0,new_width, new_height),) + (tup[-2]+memory_offset,) + (tup[...
[ "joguerry+git@gmail.com" ]
joguerry+git@gmail.com
f2ba8f8a4440e3126dc06430b6e2c178a54ae706
a758ca49d88e5e9cb11a788584f44ab591a17a7b
/tests/tests.py
dcabce1ecf0155d2071d7986e9125983c3af4208
[]
no_license
mudolucas/cs162-continuous-integration
8878780f05546389d2a7219c5410627164214b00
10c45ecb4d5b96bd5783027e774f4ff0dc9cb42b
refs/heads/master
2021-06-12T16:49:11.827139
2020-04-09T14:12:05
2020-04-09T14:12:05
254,361,660
0
0
null
2020-04-09T12:11:46
2020-04-09T12:11:46
null
UTF-8
Python
false
false
1,642
py
import os import requests import unittest from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker, mapper import psycopg2 DB_URI = 'postgresql://cs162_user:cs162_password@127.0.0.1/cs162?port=5432' engine = create_engine(DB_URI) class TestCases(unittest.TestCase): def setUp(s...
[ "noreply@github.com" ]
mudolucas.noreply@github.com
3f38cdf7533aaceb69440ab441ead317499117f3
4f0ecde0978d1b65ae229c855c9488fb067f4ea9
/baekjoon/baekjoon_1110/tests/test_baekjoon_1110.py
13c1f1be2fcfcf5b79bc9eb99f1fa3ca91c8ca91
[]
no_license
LazyRichard/coding-test
6d84a8a5287d987c23537162b4276a71d06de216
c2fa6c6b307db6e0b3049a12e585c3cb7d1b8e24
refs/heads/master
2021-05-19T23:41:02.648174
2021-04-29T07:51:35
2021-04-29T07:51:35
252,088,390
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
from typing import Iterable, Tuple from unittest import mock import pytest from .. import solution @pytest.mark.parametrize("test_input,expected", [ ["26", "4"], ["55", "3"], ["1", "60"] ]) def test_solution(capsys, test_input: str, expected: str) -> None: with mock.patch("builtins.input", lambda: t...
[ "sof.midnight@live.co.kr" ]
sof.midnight@live.co.kr
2f4b12d6826edd41078d1e1b742111a0bb469310
250cd105123453319f4d1be350cd243696203a09
/.Rproj.user/20A420EE/sources/s-55D67619/B0B54A9E-contents
b6d0f15b1974ceebeb8a75ad4efb1dc56ea51dec
[]
no_license
blee2020/Website
d131bd2eb5cf22f6d515cd7aad151eae9b52dacb
026a884946de3884745f15b83f313780d379577e
refs/heads/master
2022-06-29T23:05:47.395267
2020-05-09T23:52:40
2020-05-09T23:52:40
262,578,053
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
#!/usr/bin/env python # coding: utf-8 # In[177]: import pandas as pd import seaborn as sns pokemon=pd.read_csv("pokemon.csv",index_col=0) poke=pokemon poke.head() # In[178]: poke.iloc[:,[0,4,5,6]].head() # In[179]: poke1=poke[["Name","HP","Attack","Defense"]] poke1.head() # In[180]: poke1["HP"].mean() ...
[ "2bleeboba@gmail.com" ]
2bleeboba@gmail.com
99c2dfbaae3afa4f3edbdaa92c3fbf1766abf06a
9aba704758c170deacecf847e52ad20a44aa430f
/hotelwebsite/forms.py
8e0f22fb03efab1dbb4fff3b1042eb0f03d57ab6
[]
no_license
shubhamrangate/hotelwebsite
15e44b72dbf3cdaa882974baf74d025ac3a8f312
7cf3d4d86b6b98724801f6c78051e3e7fc7a1b9a
refs/heads/main
2023-06-03T10:12:26.379642
2021-06-25T14:54:21
2021-06-25T14:54:21
352,679,836
0
0
null
2021-06-25T14:54:22
2021-03-29T14:50:11
null
UTF-8
Python
false
false
3,736
py
from flask_wtf import FlaskForm from flask_login import current_user from wtforms import StringField,PasswordField,SubmitField,BooleanField,RadioField,TextAreaField from wtforms.fields.html5 import DateField from wtforms_components import TimeField from wtforms.validators import DataRequired,Length,Email,EqualTo,V...
[ "noreply@github.com" ]
shubhamrangate.noreply@github.com
9430b4e173934bd6c375d40453af5db922edbb54
5b85a969758b89489f63d7f1d08857dfd2d58e9c
/example/test/L3_Typing_af.py
78e0ed98b0f87a57cad1009eab572c6ccecf5c03
[ "MIT", "Python-2.0" ]
permissive
Michael8968/skulpt
0e8507418579aea554bddca3686316adf867058a
15956a60398fac92ee1dab25bf661ffc003b2eaf
refs/heads/master
2023-03-17T18:01:41.624659
2021-03-01T06:48:02
2021-03-01T06:48:02
346,204,039
2
0
NOASSERTION
2021-03-10T02:34:08
2021-03-10T02:13:53
JavaScript
UTF-8
Python
false
false
4,146
py
import sys, random, time, pygame from pygame.locals import * import L3_Setting_af import time def print_text(font, x, y, text, color=(0,0,0)): imgText = font.render(text, True, color) screen.blit(imgText, (x,y)) pygame.init() screen = pygame.display.set_mode((1000,600)) pygame.display.set_caption("typing game...
[ "wincax@gmail.com" ]
wincax@gmail.com
5cadbda137257f84b462fd6cadff8eb5282befcc
9f25d25e2e381ed3f71fd19abd0c12f7cc554a2c
/comp_prot_pred_and_des/hw5/mln_hw5_q3_folding.py
ae0f617f74b080a276444a7f1632c924a3753172
[]
no_license
mlnance/JHU_Class_Material
e48e90581b568872dbea5fcaa5f5854f35501aa8
7614ec6ab6a838a62be6b0f83c539a9672c90917
refs/heads/master
2020-05-30T15:36:59.806908
2019-02-13T17:09:33
2019-02-13T17:09:33
68,547,024
1
0
null
null
null
null
UTF-8
Python
false
false
4,257
py
#!/usr/bin/python __author__="morganlnance" """ Morgan Nance Homework 5 Question 3 (Workshop 5 Exercise 2) *requires 9mer and 3mer fragment files* *file paths were hard-coded into script* Program an ab initio folding algorithm This program starts folding using 9mer fragments then moves into using 3mer fragments the...
[ "morganlnance@gmail.com" ]
morganlnance@gmail.com
6bd44c5dd6b2fac78721a72bd92b81320b4c5e55
efa5458e5ed86ef9f543eae234dd0bbc985cc8a2
/conftest.py
e8cff587c7e43f20d72b7503937e65d464cd4e2d
[]
no_license
uktrade/trade-tariff-reference
03b0a1086914c7c5a9d95ff3ae8646a16db19023
0f07825625822ba2282ea5efacd0e98d9fa395b0
refs/heads/develop
2021-07-09T02:03:49.203434
2020-09-21T16:59:19
2020-09-21T16:59:19
194,101,749
1
0
null
2020-09-21T16:59:21
2019-06-27T13:35:21
Python
UTF-8
Python
false
false
854
py
import pytest from django.test import TestCase, TransactionTestCase from django.contrib.auth import get_user_model def pytest_sessionstart(session): databases_to_enable = {'default', 'tariff'} TransactionTestCase.databases = databases_to_enable TestCase.databases = databases_to_enable @pytest.fixture d...
[ "marcus.patino-pan@digital.trade.gov.uk" ]
marcus.patino-pan@digital.trade.gov.uk
e493dfd8f3c6ba3792fc388fc36f8791036a3d77
d4a09fe1225c1a798abad38e1174201f45aaff89
/client/test.py
7790ea141455307238bfc5fbee5bcf033dcf1a7a
[]
no_license
PkBadger/ApiTelepresenceRobot
bb7a94bb7a03cc7c8879eff1ff84808ac4393dcd
3298149f8d8237b540fbc53be2cb8486a2341c51
refs/heads/master
2021-01-12T17:18:22.759253
2016-11-24T20:14:01
2016-11-24T20:14:01
69,481,711
3
1
null
null
null
null
UTF-8
Python
false
false
368
py
import os import time os.system('sudo ./servod --pcm') def writeServo(servo,percent): string = "echo "+str(servo)+"="+str(percent)+"% > /dev/servoblaster" print string while True: os.system("echo 3=0% > /dev/servoblaster") time.sleep(1.5) os.system("echo 3=100% > /dev/servoblaster") #writeServo...
[ "aleexpeerez@gmail.com" ]
aleexpeerez@gmail.com
e6f7c3b8632a505f9f826933edf28a65706af06d
7351a2f38a346306d8e2a14b044183369823e26f
/project_euler/problem81.py
2125cf522316c818f319b4ff72e94f3af6250cd6
[]
no_license
jeffanberg/Coding_Problems
a4ac693c8bb9901ff087fec1d5d6f0c49abd5f03
c061cd71c9de5bf3bca2749a98a425a14e3b1e4e
refs/heads/master
2023-09-05T15:25:04.358948
2021-10-08T02:12:49
2021-10-08T02:12:49
279,954,749
0
0
null
null
null
null
UTF-8
Python
false
false
2,941
py
''' Project Euler Problem 81 Find the minimal path sum from the top left to the bottom right by only moving right and down in matrix.txt (right click and "Save Link/Target As..."), a 31K text file containing an 80 by 80 matrix. ''' import os import heapq __location__ = os.path.realpath( os.path.join(os.getcwd(),...
[ "jeffanberg@gmail.com" ]
jeffanberg@gmail.com
6f2de9811e01d521e3470c4e5753e7220e6f9636
4875c219eea4ad512043c5a1900d12ad47a933a3
/semana 5/dia 3/directorio/directorio/asgi.py
de1e8f0d35c23d102eb236ac3cc4cc47ca8b2944
[]
no_license
AlexRodriguezVillavicencio/Backend
d72ade196d68a9c9916661e04a84962bc869bbf5
30441e5ce1a00455a3dc51a53cee6b34106b663f
refs/heads/master
2023-08-02T22:58:31.078506
2021-09-22T19:48:51
2021-09-22T19:48:51
387,956,937
1
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for directorio project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "arodriguezv@uni.pe" ]
arodriguezv@uni.pe
2e4ef35449d1d781331ea2cb7d33fe4a0b23b5f8
05e19865de763bc478e3d2cc1817210e5db50cca
/migrations/versions/4a8efb0d15bd_添加博客文章模型.py
3293e42ae1dcd527392809b40139d8bfa290da47
[]
no_license
jqcc/flask-blog
2784b931559d209edacb44946a114715844f2f8f
284c16951d271ce25a9352196be1c12ff60eb45b
refs/heads/master
2021-04-12T10:30:48.091192
2018-08-22T14:14:45
2018-08-22T14:14:45
126,832,334
1
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
"""添加博客文章模型 Revision ID: 4a8efb0d15bd Revises: 98ca98ff4741 Create Date: 2018-02-13 22:01:25.366726 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4a8efb0d15bd' down_revision = '98ca98ff4741' branch_labels = None depends_on = None def upgrade(): # ### c...
[ "sunjq@localhost.localdomain" ]
sunjq@localhost.localdomain
47e3ec143d74d297fc210829ba70483413fb7743
f6e919a455b80e93e21b62a77e8302f1f2bd4ba8
/resume/app.py
364f44ca91152e18cb3b0d91175d27edee820434
[]
no_license
nanaobeng/Resume-Parser
7cf461d2820604e1b35d59e55437a6cc92c3daa2
0e6e58e2db9d537a45a9cdf0361302d3aa49461d
refs/heads/master
2022-12-19T21:56:22.358607
2020-10-03T12:17:42
2020-10-03T12:17:42
279,133,364
0
0
null
null
null
null
UTF-8
Python
false
false
20,939
py
import os from flask import Flask , flash, render_template, url_for, request, redirect from werkzeug.utils import secure_filename import PyPDF2 import io from pdfminer.converter import TextConverter from pdfminer.pdfinterp import PDFPageInterpreter from pdfminer.pdfinterp import PDFResourceManager from pdfminer.layout ...
[ "nanaobengmarnu@gmail.com" ]
nanaobengmarnu@gmail.com
d912dcd311fbd90a3808f9202b11c0458407bd3a
8cca481c8dd508012aa794e2f9a07e11c3706a87
/presidio-image-redactor/tests/test_tesseract_ocr.py
7c72e09e77bbfbf5ac4c9a3f209a7573dd1ddae7
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "BSD-3-Clause", "Unlicense", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-warranty-disclaimer", "CNRI-Python", "MIT", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/presidio
174472891e241e292982eee26a666d71ca263d42
3effc1467b8714714d5112ef7b627889507ea83d
refs/heads/main
2023-08-15T20:14:00.962803
2023-08-14T19:13:49
2023-08-14T19:13:49
132,129,752
2,092
412
MIT
2023-09-13T18:17:58
2018-05-04T11:08:58
Python
UTF-8
Python
false
false
989
py
import pytest from presidio_image_redactor.tesseract_ocr import TesseractOCR def test_given_empty_dict_then_get_text_from_ocr_dict_returns_empty_str(): ocr_result = {} expected_text = "" text = TesseractOCR.get_text_from_ocr_dict(ocr_result) assert expected_text == text @pytest.mark.parametrize( ...
[ "noreply@github.com" ]
microsoft.noreply@github.com
e7cd99dc8975fdd04a6e72d31237472d9eb2bb7c
aa59f7dbbf42af3b2d1da0b33f62989a1d329a7b
/static/python_scripts/data_processing.py
374053bbdd2e96e4d975e68d33286602f83d83d6
[]
no_license
endrehp/earthquake-digitalO
6012f0c898e88635bfb5de929d3709c8521f915d
4707b288804d67837fd34b95cc636ab091f949a0
refs/heads/master
2020-03-13T16:20:12.520983
2018-10-22T20:01:46
2018-10-22T20:01:46
131,195,469
0
0
null
null
null
null
UTF-8
Python
false
false
8,508
py
import numpy as np import pandas as pd import geojson from django.templatetags.static import static #from django.core.files import File def data_processing(excel_file, date, epi_lon, epi_lat): #Import #date='02-17-2018' df=pd.read_excel(excel_file) #Clean Data lowercols = [] columns = ...
[ "endrehp@stud.ntnu.no" ]
endrehp@stud.ntnu.no
e6460d4f77241f5a29063cb8c718399d5f581bfe
e413ca79958757c9b2121a5f6b4478a636692caa
/apps/utils.py
1df9ce498cce86a1d59b378c70a36c7f9689ff14
[]
no_license
gitter-badger/pythonz
7674ff42841c7ce633bd00cf39d5862bd4042b69
be1ad66f1958b7a899f890122db615bcdc439d11
refs/heads/master
2020-12-27T23:40:20.208962
2015-07-01T13:33:12
2015-07-01T13:33:12
38,696,317
0
0
null
2015-07-07T15:21:00
2015-07-07T15:21:00
null
UTF-8
Python
false
false
10,545
py
import os import re from collections import OrderedDict from urllib.parse import urlsplit, urlunsplit from textwrap import wrap import requests from PIL import Image # Для работы с jpg требуется собрать с libjpeg-dev from bs4 import BeautifulSoup from django.conf import settings from django.core.cache import cache f...
[ "idlesign@yandex.ru" ]
idlesign@yandex.ru
b31244208bc7571b7a6b44c135f24c38548008c9
643c9bddd91c038bc1ef321db9d3de3c06ef64ce
/main.py
4d4fb2907b2c5b280a7d5bfc0aa2158d47ad9772
[]
no_license
Hemanthhari2000/image_to_speech_using_OCR
ea88cd308d88a443255ee958577f84db6f70d93d
998114d63a5b7fd805b0a0201c69b2cded6e4c2d
refs/heads/master
2022-12-17T19:41:14.024536
2020-09-19T07:34:00
2020-09-19T07:34:00
296,811,122
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
# importing Libraries import cv2 import pytesseract from speak import speak """ DOWNLOAD LINK FOR TESSERACT: https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-setup-4.00.00dev.exe """ # Location of the tesseract.exe file pytesseract.pytesseract.tesseract_cmd = 'XXXXX\\tesseract.exe' # Read images using cv2...
[ "hemanthindhu@gmail.com" ]
hemanthindhu@gmail.com
e37641418e419a5d245b8d18de6bd0dceb9e6817
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/deploymentmanager/v20180901preview/rollout.py
5bdfe3d0b89b797a992d24b083a69c5531647654
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,929
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
2451d64d6dc19e3f51147ce0502646c3a2daa3e5
2969458ff683329013ee4f6524436856713503dd
/keras_resnet/layers/_batch_normalization.py
9d36d3433d2b3980e948ae00a47ba68d697f4403
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
holgerhennig/keras-resnet
ecbe739f7e807145913478f8e094d966be0afb34
25cbb9f983dbb07b4381b9d6f2507a2a9381df3c
refs/heads/master
2021-08-19T01:25:33.446566
2017-11-24T10:13:29
2017-11-24T10:13:29
111,904,208
0
0
null
2017-11-24T10:08:17
2017-11-24T10:08:17
null
UTF-8
Python
false
false
664
py
import keras class BatchNormalization(keras.layers.BatchNormalization): """ Identical to keras.layers.BatchNormalization, but adds the option to freeze parameters. """ def __init__(self, freeze, *args, **kwargs): self.freeze = freeze super(BatchNormalization, self).__init__(*args, **kw...
[ "allen.goodman@icloud.com" ]
allen.goodman@icloud.com
e8c19187b9f77e43f36410dc52bb8041533e390e
14d7198eae97d9cdfdce4c5a204cf1136e09b2e6
/state.py
3662a55c2095442fd723abae7c395aa7969e0bc6
[ "MIT" ]
permissive
dark0ghost/async_py_bot
73c450682717f636766a2a9745a7ad949043e938
34d77b01f34645cabe097a02eb4e41ddd40c0b25
refs/heads/master
2022-12-12T09:50:21.447442
2022-08-06T13:07:55
2022-08-06T13:07:55
172,966,864
27
4
MIT
2022-12-08T07:43:23
2019-02-27T18:20:50
Python
UTF-8
Python
false
false
460
py
from aiogram.dispatcher.filters.state import StatesGroup, State class States(StatesGroup): """ class for set up state user """ start: State = State() end: State = State() contact: State = State() geo: State = State() get_mail: State = State() mail_ver: State = State() save_json...
[ "diamondlego018@gmail.com" ]
diamondlego018@gmail.com
7f4e088f5baaec6b01256bc946a16f10870c7edb
2ace06cdd5f4c8fd100903ae734472ae1cd86503
/nfl/ppe.py
da169d2459d2ab7b09c1664f5a4456d43ff25819
[ "MIT" ]
permissive
sansbacon/nfl
d51bf53c7f6ef91ef1d2c1e172e9f1033eea2227
11605b1a7725cce062ce0d7f15ebcf0a2f91a86e
refs/heads/master
2021-01-12T13:58:48.154355
2020-09-24T19:16:20
2020-09-24T19:16:20
69,254,316
2
0
null
null
null
null
UTF-8
Python
false
false
3,768
py
""" # nfl/ppe.py # player profiler explorer """ from cmd import Cmd import logging import os from pathlib import Path import json from pprint import pprint try: import readline except ImportError: readline = None from fcache.cache import FileCache from .pp import Scraper, Parser from namematcher import ...
[ "eric@erictruett.com" ]
eric@erictruett.com
95a58e3a0f9ba59f90301c2a4755ccee34735e0d
950fd3f7e2c098a17f777733ef3e47f2730a8f60
/shsems_proj/users/admin.py
c786548c62b47317eab46b18fd47374fe457fe1e
[]
no_license
shishig/shsems
a28867bfad36bc8d3a5fcd2197a4dbdca961d75a
6b0fbffd126ba90a00dcfd40da22480c9c8bfa42
refs/heads/master
2021-09-09T22:08:20.209401
2019-11-22T09:28:01
2019-11-22T09:28:01
222,399,534
0
0
null
2021-09-08T01:27:13
2019-11-18T08:31:44
Python
UTF-8
Python
false
false
146
py
from django.contrib import admin from .models import Participant, Designation admin.site.register(Participant) admin.site.register(Designation)
[ "catolicok1@gmail.com" ]
catolicok1@gmail.com
e0b0a5f55136195693b6d27b4e48ea426c82cc89
5fcfeb76a2e6c0b06612ffc9764bd0dd3db207cd
/main/views.py
881f5f6bad479f79e77dd5ff4b95dd6502e8bf29
[]
no_license
syxxjgh/Kmusic
c85ea116d800a4b52458ed32a444338d93e8d3fe
a23ebaa74d15b517eef536e542dea8edd3421501
refs/heads/master
2020-06-04T05:08:42.994027
2019-06-13T07:38:39
2019-06-13T07:38:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,942
py
import json,re import urllib from django.http import HttpResponse from django.shortcuts import render, redirect from queue import Queue from threading import Thread from .apis.musicsearcher import MusicSearcher from .models import * import requests q = Queue() # 用于接收Thread线程的返回值 # Create your views here. def index...
[ "44372130+Sevenforty740@users.noreply.github.com" ]
44372130+Sevenforty740@users.noreply.github.com
3828f2439588e202a417ca6e5527b96a5994b7f9
ddadc97398c26801c33e628e7dcfc6eb87336e5c
/CustomLogin/Login/forms.py
1a4b04798454da503864a64b0371ecf2ba967480
[ "MIT" ]
permissive
bharathjinka09/AdvancedDjango
278fcde564e019fce238cc8681413f7b93fec4a9
f06e1a0621e182ea6015b06e79eae99ddb04affb
refs/heads/main
2022-12-30T12:49:40.698658
2020-10-19T16:04:07
2020-10-19T16:04:07
305,616,622
1
0
MIT
2020-10-20T06:52:26
2020-10-20T06:52:25
null
UTF-8
Python
false
false
335
py
from django import forms from django.contrib.auth.forms import AuthenticationForm class CustomAuthenticationForm(AuthenticationForm): def confirm_login_allowed(self, user): if not user.is_active or not user.is_validated: raise forms.ValidationError('There was a problem with your login.', code='...
[ "u.garg.10@gmail.com" ]
u.garg.10@gmail.com
6f4ea0a9b3e1de8c1ff074fd553a0af7e3cc0e1e
94adc2bfea1ef72c50eefa031fd8ccf36df947bc
/tests/acceptance/version_1/testcases/response/body/unexpected_key_with_null_value.py
3b936de3b48bcd3f9912f49185d15f22860c11e1
[ "MIT" ]
permissive
Kalimaha/pact-test
a593636a54cc7e3811aadde9db857f45d851245e
9021202503ed452514f7ded83152f3957520d9bb
refs/heads/master
2021-01-20T00:42:56.055562
2020-06-04T05:37:13
2020-06-04T05:37:13
89,177,436
5
1
MIT
2020-06-04T05:37:14
2017-04-23T22:46:45
Python
UTF-8
Python
false
false
573
py
from pact_test.either import Right from pact_test.models.response import PactResponse from pact_test.matchers.response_matcher import match from tests.acceptance.acceptance_test_loader import load_acceptance_test def test_different_case(): data = load_acceptance_test(__file__) response = PactResponse(body={ ...
[ "guido.barbaglia@gmail.com" ]
guido.barbaglia@gmail.com
e13e594efa9f265f916b25697d9a96eabfbaca83
c64e6292dfb403999d2c497d7850b43034a82099
/final files/df.py
6f12dbe3eef78e7113ef548d281d8ba9d27707b0
[]
no_license
parsabahrami16/APProject
14942bec466c1b06c81989a16feefea02d231435
1b8c2890230209fae9786091593a88670f66a2e7
refs/heads/main
2023-02-20T01:43:18.388677
2021-01-22T22:49:12
2021-01-22T22:49:12
304,700,693
1
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
import pandas as pd import plotly.express as px import numpy from finalapp import* #Define value & sort by it DF['value'] = DF['total_points'] / DF['now_cost'] DF.sort_values(by='value',ascending=False,inplace=True) best_df=DF.head(20) #Piechart #Define parameters & values of them para_df = ['clean_...
[ "noreply@github.com" ]
parsabahrami16.noreply@github.com
cdcc3a8635acdad21cb1216acde56ddc02f853ba
e09d6e18bfe3c7b124c8db1c81f1e8d6c9809a98
/constants.py
ea38f1637b7a21cccccfc1005bfc68eeecc192e0
[]
no_license
Ben-Lapuhapo/ICS3U-Circuit-Python-7-Python
c2c20a37cf9b6974afe1f8693e80db9f138313cb
d11ecc73e9034b7abf8f1baf01bf6609744c074d
refs/heads/master
2020-08-30T10:07:15.993338
2019-10-30T01:02:36
2019-10-30T01:02:36
218,344,291
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
#!/usr/bin/env python3 # Created by: Ben Lapuhapo # Created on: OCT 2019 # This module contains constants for the alien game # CircuitPython screen size is 160x120 and sprites are 16x16 SCREEN_X = 160 SCREEN_Y = 120 SCREEN_GRID_X = 16 SCREEN_GRID_Y = 8 SPRITE_SIZE = 16 TOTAL_NUMBER_OF_ALIENS = 5 FPS = 60 SPRITE_MOVE...
[ "ben.lapuhapo@mths.ca" ]
ben.lapuhapo@mths.ca
3d247eb4991bfe8997a200171466335fd2df1f4d
a40e92410b00930143b101a3b1ff30de21ffd339
/MicronNet/Scripts/evaluate.py
1c177e76cdc0848922edd6d7d9f2105da9c3b00f
[]
no_license
ashwin2802/bosch-tsr
277c56075df6ecfbbe6aa859722e245f626c17db
86ea44b51a9fa8758e830a1d49f09eb37ac65aee
refs/heads/main
2023-04-14T15:57:49.166853
2021-04-28T08:14:57
2021-04-28T08:14:57
353,956,193
0
0
null
2021-04-02T08:29:27
2021-04-02T08:29:26
null
UTF-8
Python
false
false
1,925
py
from __future__ import print_function import argparse from tqdm import tqdm import os import PIL.Image as Image import numpy as np import torch from torch.autograd import Variable import torch.nn.functional as F import torchvision.datasets as datasets from data import initialize_data # data.py in the same folder from ...
[ "utkarshg99@gmail.com" ]
utkarshg99@gmail.com
c922a941eabc87e9010acec836de8c6be1d9e25b
7e016f45db65840087dc320be11415881bffc43e
/UpdateKML.py
5bc2629bf29fae5b46e05006213c50dac172c082
[ "MIT" ]
permissive
petrarch1603/SurveyApplications
67cc73912bdd7ab721a88546d3afaf1d1998d6dd
129a4e24123bf81687c0a60cccbe3d0a83f63e40
refs/heads/master
2021-09-26T12:17:09.559973
2018-10-30T03:28:07
2018-10-30T03:28:07
125,309,901
1
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
# import xml.sax, xml.sax.handler # from xml.dom import minidom import openpyxl import xml.etree.ElementTree as et from zipfile import ZipFile # This is a script for taking the status of rows on a tracking spreadsheet and updating a KML based on # the fields in that tracking spreadsheet. # Initialize Variables mykmz...
[ "petrarch1603@gmail.com" ]
petrarch1603@gmail.com
7abe9a194a2bade6c47b954aec532d2fffab11c7
b9f8e0ab9a5f73b405f865fe38358b656be28f17
/project/svm_ssk_approx.py
64a7b81c880c83dd2d3e8d170978dea911ad1b61
[]
no_license
chris4540/DD2434_Advanced_ML
a9e6d5257459eb669d61a7bd6760161baac2181d
c3aca331a08ec6902e1b254ece08495693cf0087
refs/heads/master
2023-02-10T13:53:37.089703
2021-01-09T23:54:33
2021-01-09T23:54:33
328,268,994
0
0
null
null
null
null
UTF-8
Python
false
false
5,684
py
import numpy as np from sklearn.svm import SVC from ssk_kernel.apprx_kernel import SSKKernelApprox from sklearn.metrics import precision_recall_fscore_support import functools print = functools.partial(print, flush=True) class StringSVM: max_iter = 50 def __init__(self, name, k, decay): self.name = na...
[ "chris4540@gmail.com" ]
chris4540@gmail.com
dff6bbc7b98e6577843215d5f7dc848d24d38807
5baf3cb8b08dcea2d53d2ef022e5c6d4b2468494
/swagger_client/models/io_k8s_api_core_v1_ceph_fs_persistent_volume_source.py
d6a48e08c7c69f9f306fa119feb119e41bac70dd
[]
no_license
atengler/swagger-kqueen-python
a4fc0de38378a08c6c2e0c339032ed4ad63f09f5
01225c74a743636483211f0274f772193517ffaf
refs/heads/master
2021-08-07T18:16:28.453730
2017-11-08T17:24:53
2017-11-08T17:29:03
110,007,477
0
0
null
null
null
null
UTF-8
Python
false
false
8,950
py
# coding: utf-8 """ Kubernetes Queen API A simple API to interact with Kubernetes clusters OpenAPI spec version: 0.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class IoK8sApiCoreV1CephFSPersistentVolumeS...
[ "atengler@mirantis.com" ]
atengler@mirantis.com
d2cfe9544bf9ad5960547d0516f3cb4560808d82
68da5db22ee19a9d36b15addd9add4fafe7d3cb8
/blog/migrations/0001_initial.py
d4e32093dd45519e4530f28916b0015627dca3ac
[]
no_license
AbdullahElian1/drf-auth
68bd35c2e7ebc2a43cc505485ec8639b69359bda
2ca79e8f84e537b3f2e34bdbb4b675089544de92
refs/heads/master
2023-07-25T20:46:48.147985
2021-09-07T13:08:37
2021-09-07T13:08:37
403,948,059
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# Generated by Django 3.2.7 on 2021-09-05 11:56 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "abodelian28@gmail.com" ]
abodelian28@gmail.com
7c57bd10d57aaa6df2951509b83f5ce23e97dd2b
70dc25055ced5c7f59e80eb1c47cdf25bb4dd4d1
/cycleshare/migrations/0015_auto_20181212_1855.py
eed820a52b7de45d89468d564bd052ff17b9b555
[ "Apache-2.0" ]
permissive
HemanthJella/ewallet
3f93d710e06b723b059fbd1a7a4791317d1333af
cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a
refs/heads/master
2020-07-06T05:55:00.934032
2019-08-17T18:25:11
2019-08-17T18:25:11
202,913,168
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# Generated by Django 2.0.9 on 2018-12-12 10:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cycleshare', '0014_cycle_toprofile'), ] operations = [ migrations.AlterField( mod...
[ "noreply@github.com" ]
HemanthJella.noreply@github.com
9e0b75b4b3e4fe4df7ab296d5b7d012658b0938c
c8fb49b217e463ac55163ae12fe078e5fa286628
/Assignment_5/third.py
ca7345090f44f6db52e1d851347f298ef6351c75
[]
no_license
tushars265/Dlithe
cf426c12efc88109c30e7818c48052398f7a692d
08185687354474b18a6200db49d30865095f46bb
refs/heads/main
2023-06-25T12:28:12.839340
2021-07-27T15:44:26
2021-07-27T15:44:26
372,475,688
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
n = int(input()) a = [] b = [] for i in range(n): ab = list(map(int, input().split())) a.append(ab) b.append(a[0]) for i in range(1,n): flag = 0 for j in range(len(b)): if (b[j][0] >= a[i][0] and b[j][0] <= (a[i][1]+ a[i][0])) or ((b[j][1]+b[j][0]) >= a[i][0] and (b[j][1]+b[j][0])...
[ "noreply@github.com" ]
tushars265.noreply@github.com
6e1f1cadcaf9ca3939faeba100d65e749486a4f2
47045b7b7ef3c6f67bef89cbbc82a597773eb366
/commerce/views/cart.py
738193581c02f6c99871727bb34cb553ad31b954
[ "Apache-2.0" ]
permissive
felipediel/django-commerce
06fecdbd302b33c3cce4284ffc9fe9219a57672e
b992bf4c81ca6dfaad9ccd423d25fba9d255f159
refs/heads/master
2023-06-16T14:51:49.301650
2021-07-12T07:04:39
2021-07-12T07:04:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,968
py
from django.contrib import messages from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.contenttypes.models import ContentType from django.shortcuts import get_object_or_404, redirect from django.utils.translation import ugettext_lazy as _ from django.views import View from django.views.generi...
[ "erik.telepovsky@gmail.com" ]
erik.telepovsky@gmail.com
579a3f4f1d19eae72e146c34d5512c0bc55f17c4
dd37e3ebc750d4cab469b00a1be0c71f3150730a
/geeksforgeeks/Merge Sort Tree for Range Order Statistics.py
bd6f12623fa4953c97c540d21be2f184a6b75acf
[]
no_license
kwoshvick/Algorithm-practice
258d88a55113915706c3263b4ae6e0beec0a7f79
cbe2b8c22617a443d9b5ec28b60cc74f97be8fae
refs/heads/master
2023-03-10T22:38:38.920832
2021-03-02T13:53:32
2021-03-02T13:53:32
321,275,373
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
# https://www.geeksforgeeks.org/merge-sort-tree-for-range-order-statistics/ # Given an array of n numbers, the task is to answer the following queries: # # kthSmallest(start, end, k) : Find the Kth smallest # number in the range from array # index 'start' to 'e...
[ "kwoshvick@gmail.com" ]
kwoshvick@gmail.com
3deb8fd5e6f39b10767ebe5aeb3d4bfbb254661f
4dec1fb54f1f24d30047af325b63a6117a4c4495
/permit/migrations/0010_auto_20160109_1950.py
f3668e19ae8d5b44875bdd1f10c5846ecb83997f
[]
no_license
wanjohikibui/biz
37c67de6361eaa421f557dbf5491915f3a9df655
dabc6ffcd1d81a5daca021f7c204126213dd3e2a
refs/heads/master
2021-01-10T01:37:07.289635
2016-03-07T09:34:31
2016-03-07T09:34:31
53,312,990
1
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-01-09 16:50 from __future__ import unicode_literals from django.db import migrations, models import permit.models class Migration(migrations.Migration): dependencies = [ ('permit', '0009_auto_20160109_1706'), ] operations = [ mig...
[ "swanjohi9@gmail.com" ]
swanjohi9@gmail.com
0d279a8f9bc7a0152339ef91e56b447ffc7273b8
f98418686ebdc68d12b6c8bc657e93b8df3a6755
/sunny/6221.py
c1b758b8c077f1eb5e882f522fd6397aed510ef1
[]
no_license
sunnyyong2/algorithm
a666924a37ce20b74488040d401bb0745f3da8bf
75ab06d0d2b1ae595742fe14d9d81e240bcc28d0
refs/heads/master
2020-07-04T16:01:10.526471
2019-10-02T00:12:30
2019-10-02T00:12:30
202,331,883
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
man1 = input() man2 = input() if man1 == '바위' and man2 == '가위': print('Result : Man1 Win!') elif man1 == '가위' and man2 == '보': print('Result : Man1 Win!') elif man1 == '보' and man2 == '주먹': print('Result : Man1 Win!') elif man1 == '바위' and man2 == '바위': print('Result : Draw') elif man1 == '가위' and ...
[ "sunnyyong2@gmail.com" ]
sunnyyong2@gmail.com
5bf2109740e2ae9c23c2f9a0d762912f1a24325e
b29884f90142460d4d8dec711fff09300df4e0b7
/autorest/python/emsapi/models/adi_ems_web_api_v2_dto_weather_metar_runway_visual_range.py
72eb46766fed6671f644c906e02a9ea341f8b32c
[ "MIT" ]
permissive
ge-flight-analytics/ems-api-sdk
f8ec42a1f0200cdf87955b38a06b40350b5d7f68
eb88e42b3befabb3d4efe3f71e78c90ea0c7663e
refs/heads/master
2023-01-24T14:08:00.140788
2023-01-17T20:35:13
2023-01-17T20:35:13
79,595,424
3
2
MIT
2023-01-17T20:35:15
2017-01-20T20:29:05
Python
UTF-8
Python
false
false
2,859
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "42385593+danverkamp@users.noreply.github.com" ]
42385593+danverkamp@users.noreply.github.com
3d320b1e85ec7240d8d01b37ad7b0496b8d73008
de244fab3f8674d620d5be49812279fc7264e070
/bin/wheel
bdddbb62728b8d673e03de518f5bbe4caaf183da
[]
no_license
cometa99/sportx1.0
5e19f6568a61458c862a5337cf0ac5667784a245
03685bee81d0f76b4ba1f27513403f7ef73b84ee
refs/heads/master
2021-07-08T16:10:45.733742
2017-10-01T14:06:23
2017-10-01T14:06:23
105,445,651
0
0
null
null
null
null
UTF-8
Python
false
false
254
#!/Users/jh/Documents/django/mywebsite/newapp/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jh94798@gmail.com" ]
jh94798@gmail.com
7163b2059a5a550d06748e9e97bcd377694cdabd
85d399dc9c32939a6642a92435f1c77778e9c823
/ch10/vector_v1.py
e09551288251495ce6d9612e972bfca65cff6782
[]
no_license
roxanneduoduo/fluent_python_notes
adce35ccfa164a9330d2f43407a3c8b7ca52f09b
d3aab51d9e943c53172f8d6aa30111086c436649
refs/heads/master
2020-04-17T21:08:21.512093
2019-02-25T07:39:50
2019-02-25T07:39:50
166,933,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
from array import array import reprlib import math class Vector: typecode = 'd' def __init__(self, components): self._components = array(self.typecode, components) def __iter__(self): return iter(self._components) def __repr__(self): components = reprlib.repr(self._component...
[ "roxanne_duoduo@hotmail.com" ]
roxanne_duoduo@hotmail.com
59df5ee58cb327cc012000841a5bb571f34ce784
12c30d7d0fb5ddac9392dd2122830df26d6eee64
/award_app/migrations/0001_initial.py
ab2cf4a13391d8aa9b63753a6d68b7e867094aae
[]
no_license
mukamisha/Award
1543d40f7fc75334b5d4674803c79a5cfbc98271
72f294920e618802d0f6511bf15dfcddd12acbb4
refs/heads/master
2021-09-09T13:24:27.607663
2019-11-01T10:30:03
2019-11-01T10:30:03
218,336,248
0
0
null
2021-09-08T01:24:25
2019-10-29T16:44:06
Python
UTF-8
Python
false
false
2,891
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.23 on 2019-10-31 10:16 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 = [ migrati...
[ "mukamishajacky97@gmail.com" ]
mukamishajacky97@gmail.com
8afdd0f7b5db9c675c341b8e82342041fd87f46b
0170d7b0b61d51a00f63af041054777a809e41dc
/Ejercicios_Clase_Tony/Ejercicios Rápidos/Sales.py
e01561543089ce57f4480330f309543e11e80966
[]
no_license
baropsx2/python_clase
917022036aca7daaa382705da2735e1f21f61760
c1b8b24cfedd9e8b6bdfd1c0b867075eed85e4b5
refs/heads/master
2022-01-11T08:48:36.142738
2019-07-26T01:30:30
2019-07-26T01:30:30
197,830,012
0
0
null
2019-07-26T01:30:31
2019-07-19T19:20:16
Jupyter Notebook
UTF-8
Python
false
false
1,523
py
""" Crear función que reciba 3 diccionarios, que devuelva todos los diccionarios y tiene que devolver otro diccionario con el id del empleado y lo que se le debe pagar en total: - El primero tiene el id del empleado y apunta a una tupla con los siguientes datos (el nombre del empleado y la comisión por venta realizada)...
[ "baropsx2@gmail.com" ]
baropsx2@gmail.com