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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f245a2875e0e0e125ad75acf12d16ca8f3246ea2
7fe37d93195229dd7e3d3daeaa5f0343459cc27e
/blogs/migrations/0004_auto_20180611_0749.py
e027019fe0349f662de0a0bad249e57349ac3b11
[]
no_license
jrba0001/Wordplease_django
d4416688a2439401d3b4843c9d1efc9eb4202f58
e8a022022141e4ec431ee6d899282a06d280e98d
refs/heads/master
2020-03-22T13:17:08.949254
2018-07-07T15:49:00
2018-07-07T15:49:00
135,888,722
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
# Generated by Django 2.0.6 on 2018-06-11 07:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blogs', '0003_auto_20180610_2056'), ] operations = [ migrations.AlterField( model_name='blog', name='imagen', ...
[ "jrba0001@gmail.com" ]
jrba0001@gmail.com
e10d1553d2755affe6bf4b991461cc4e95568bda
c5332a1203d523842b3a1e5ee8a9e1dc28f843c2
/PDT/PDT/PDT/settings.py
5da25fef5857ee5a274053e51528c4dc1a6cbf72
[ "Apache-2.0" ]
permissive
mimanshagupta/PDT
c363b298302121c9e10333d168dbb52373a30dd3
14b95c71630b731cc9f5875c804c7505acae8bfe
refs/heads/master
2021-01-10T06:39:21.618552
2015-11-30T12:47:57
2015-11-30T12:47:57
46,543,656
1
3
null
2015-11-30T12:47:57
2015-11-20T06:22:06
Python
UTF-8
Python
false
false
5,302
py
""" Django settings for PDT project. """ from os import path PROJECT_ROOT = path.dirname(path.abspath(path.dirname(__file__))) DEBUG = True TEMPLATE_DEBUG = DEBUG ALLOWED_HOSTS = ( 'localhost', ) ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { ...
[ "mimansha_gupta@hotmail.com" ]
mimansha_gupta@hotmail.com
8544f9a4d96ac62953d4f6973fe2d5be7e4d9845
7b2e08a4c262b7a67149edaae495d5036b553d95
/pyrk/neutronics.py
a7126aef8ba9e8b9d4f138aab3be6c71a46cefda
[]
no_license
archphy/pyrk
9ffaba557b3d9871fd4e86393b6af1f58e4f8e93
9d3a8fa504e5d66f23371578923ed8f887a5a6c9
refs/heads/master
2021-01-17T21:30:02.274139
2015-08-25T19:07:47
2015-08-25T19:07:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,468
py
# Licensed under a 3-clause BSD-style license import numpy as np from inp import validation as v from data import precursors as pr from data import decay_heat as dh from reactivity_insertion import ReactivityInsertion from timer import Timer class Neutronics(object): """This class handles calculations and data re...
[ "katyhuff@gmail.com" ]
katyhuff@gmail.com
321383aac6ddb384a5de4743a8d8fba4a11a44cc
a6d36a861c156e9dd9c3f4733978f194bcc62c2c
/api/serializers.py
b284259aa9cd0eee350124e29334949953db0bd5
[]
no_license
wjaccck/upfile
091f3ba132748cef348ff8a9973eba009e5423fa
2721cc29ca394ddcf9f415e4fba7e2b422e87701
refs/heads/master
2021-01-01T04:30:18.024584
2016-05-26T02:25:51
2016-05-26T02:25:51
57,368,745
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
from rest_framework import serializers from api.models import Up_file,Status,Azure_key,Dirs,Recode_dirs class Up_fileSerializer(serializers.ModelSerializer): status = serializers.SlugRelatedField(queryset=Status.objects.all(), slug_field='alias') base_dir = serializers.SlugRelatedField(queryset=Dirs.objects.al...
[ "wjaccck@163.com" ]
wjaccck@163.com
dc85f4e57771b9a1113c5e7258faa1ad077c74af
2b8c88dfee5c5a784357515eafe8cd5f997c8774
/learnexception.py
f1dc92b31c5498dbe9fc76f140297c7e83727968
[]
no_license
archenRen/learnpy
e060f3aa2f77c35fc1b12345720af6c8b528da57
934ef76b97297f746a722a48c76672c7bc744cd9
refs/heads/master
2022-04-28T20:25:59.114036
2020-05-03T02:16:03
2020-05-03T02:16:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
# -*- coding: utf-8 -*- try: print('start...') r = 10 / int('2') print('result', r) except ValueError as e: print('ValueError:', e) except ZeroDivisionError as e: print('ZeroDivisionError', e) else: print('No Error!') finally: print('finally...') print('End') # %% # err_logging.py import...
[ "757441884@qq.com" ]
757441884@qq.com
aefeeca82a58f3cbbf93ff7aa83f226bd40a75fd
6812eee0806e41398fab185f7a08453d07678bbf
/method/greedy_algorithms/greedy_algorithm.py
334ce0c21d9d64a8fc8cb67c20a9a482481b6285
[]
no_license
Waynehfut/MatrixFactorization
4769d30fbf00f5221dbffc20bb255f604d1d5473
866e55b31334a0af06ca546d8890e2bffe32c16b
refs/heads/master
2022-12-10T12:42:03.008513
2020-09-13T12:06:27
2020-09-13T12:06:27
295,142,906
2
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
# -*- coding: utf-8 -*- """ Created on 2018/1/24 21:55 @file: greedy_algorithms.py @author: Administrator """ from __future__ import division import random def greedy_one(ls_sort,doc_info,doc_id_dict,hos_type_sum,sim_matrix,r,k): """ ่ดชๅฟƒ็ฎ—ๆณ•ไธ€๏ผŒ่ฟ”ๅ›žไธ€็ปดๆ•ฐ็ป„๏ผŒๅŒ…ๅซdoc_infoๅฏนๅบ”็š„index :param ls_sort:[index...] :param doc_...
[ "waynehfut@outlook.com" ]
waynehfut@outlook.com
d4c1a1417f9103be588075550d6bf1d2ad0c858a
bad74e9f2a5c4af80077d926a1f2a43d2d0f63e5
/mai.py
2249041a4d94b7bd7ab3b450c323c1504985d65c
[]
no_license
Namemai/m
6e1036094717c708884d5ab2ffebeaf11bf5177f
f405a6cd05cff69407fa61d41dd992ac53f3f35b
refs/heads/master
2020-03-20T18:30:43.327684
2019-03-29T14:10:44
2019-03-29T14:10:44
137,591,499
6
8
null
null
null
null
UTF-8
Python
false
false
124,836
py
# -*- coding: utf-8 -*- from gyevha import * from datetime import datetime from time import sleep from bs4 import BeautifulSoup from humanfriendly import format_timespan, format_size, format_number, format_length import time, random, sys, json, codecs, threading, glob, re, string, os, requests, subprocess, six, ast, p...
[ "noreply@github.com" ]
Namemai.noreply@github.com
6b307266c03ec45f6004645eac1d4985b1bfbb4c
d5a5ff1ed1f508c47e9506a552bf44844bcdc071
/payroll/apps.py
8313bd0aaa30a056f07efb95e1823ad6458d08af
[]
no_license
sintaxyzcorp/prometeus
5c9dc20e3c2f33ea6b257b850ff9505621302c47
2508603b6692023e0a9e40cb6cd1f08465a33f1c
refs/heads/master
2021-09-01T09:31:36.868784
2017-12-26T07:58:27
2017-12-26T07:58:27
113,787,842
0
1
null
2017-12-18T08:25:31
2017-12-10T22:16:28
JavaScript
UTF-8
Python
false
false
182
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class PayrollConfig(AppConfig): name = 'payroll' verbose_name = 'Nomina'
[ "carloxdev@gmail.com" ]
carloxdev@gmail.com
68f0de4dc1cfafcd16fd2b64c1709661f6dc605d
01ff31cc9c39821852b7522a4c78b551f3d269e4
/Murali/arrayreverse.py
71361e9c01b7da4ebe2c338bdf6de986846f7601
[]
no_license
tactlabs/numpyvil
aa3fd11a2ceb60a862d939316fd02caeef0aff6e
749532acccbbacf55888e1cb87bfa166936cbb85
refs/heads/master
2022-09-12T16:45:22.831335
2020-05-30T02:14:55
2020-05-30T02:14:55
267,981,322
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # the above line is to avoid 'SyntaxError: Non-UTF-8 code starting with' error ''' Created on Course work: @author: krish Source: ''' # Import necessary modules import numpy as np def startpy(): a = np.array([ [1, 2], [3, 4] ]) inverse...
[ "krishnan806@gmail.com" ]
krishnan806@gmail.com
b20a068f0cfd8e5a3c549401b5af9d56a7aa0192
747dc77b95788a8bc7d2ab9bf280d92035ca0d33
/controllers/pr.py
67897833762a42acc8d5bc8ecb9e2b09f08feb69
[ "MIT" ]
permissive
taufikh/sahana-eden-madpub
ca4a09f32a92e3712e6670af60581ce7e5b1277f
b16418b36d0fb781fd045f7e7edd1a30259a1f35
refs/heads/master
2021-05-26T21:01:23.804680
2011-02-20T10:37:26
2011-02-20T10:37:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,841
py
# -*- coding: utf-8 -*- """ VITA Person Registry, Controllers @author: nursix @see: U{http://eden.sahanafoundation.org/wiki/BluePrintVITA} """ prefix = request.controller resourcename = request.function # ----------------------------------------------------------------------------- # Options Menu (availabl...
[ "ptressel@myuw.net" ]
ptressel@myuw.net
9465b0882beab1df4db386e4f4799e08edec62ef
82f449cc405b8379a30b228a15682bbd70d1b09d
/venv/Scripts/easy_install-3.7-script.py
2250af4830cd4597cb878cb4f8a2dce11b83487c
[]
no_license
neo-talen/QuickCmdBtnSet
82dd18e070e285ba752f9bd3586201cc8c174f78
4781a5c44a4022b6f014bd8ca513b89983f6a309
refs/heads/master
2022-05-06T08:29:10.993183
2022-05-05T11:07:04
2022-05-05T11:07:04
183,062,524
1
1
null
null
null
null
UTF-8
Python
false
false
437
py
#!K:\QuickCmdBtnSet\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __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)?$', '', sys....
[ "hongtianlong@corp.netease.com" ]
hongtianlong@corp.netease.com
039f8e759d7d7c500007c87252e26a1df913ac2a
1850e5468c6df447573d5fb1cc4166481f1c16f6
/test_rest/migrations/0006_auto_20160510_1640.py
5f24463e038b7062dbf4948d881ddb56505c037f
[]
no_license
MaliRobot/test_geodjango
8045bba317dc7fd7ff6a4b90ccf7d199f735b848
dcd439df45c2bd76b03645e1a311b6385277e8b3
refs/heads/master
2016-09-13T03:02:48.935060
2016-05-14T15:57:58
2016-05-14T15:57:58
58,746,440
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-10 14:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('test_rest', '0005_auto_20160510_1629'), ] operations = [ migrations.AlterFie...
[ "milos.trifunovic@gmail.com" ]
milos.trifunovic@gmail.com
ceebfdcd7b7a8bf8d3899260717faa5d830056e7
906ee4e73a670125b4cf7d284ef0435f02976b44
/trie/python3/test_trie.py
b38191033648e49f2c9a3a9f9d9db7ac52f1ff41
[]
no_license
aberer/exercises
c07079ce6841da5b3d18cd1aa823312160368dd4
cb42f9c4e58b8e28a97cf075e5dc6d7c12046ef9
refs/heads/master
2020-03-18T19:55:28.957848
2018-06-01T13:22:17
2018-06-01T13:22:17
135,185,577
0
0
null
null
null
null
UTF-8
Python
false
false
2,448
py
#! /usr/bin/python3 from trie import Trie from unittest import TestCase from copy import deepcopy import pdb class TrieTest(TestCase): # __________________________________________________________________________ def setUp(self): self._testTrie = Trie("", [Trie("a", [Tri...
[ "andre.aberer@googlemail.com" ]
andre.aberer@googlemail.com
cbfd8743fcd5e667b03eed5cbbdea0a35d1f9203
5cdbc060741d646bad6df30ad9f560c0da81e2d1
/empty_files.py
fe75d50370f5d8ef0e249df330a07bb97d9782b2
[]
no_license
wveulemans/project_ITH
9bb1f4f01582d1e99f548820bf6bc8be80942137
436c2f85768941d70c3a8f6a92167c81e5798f84
refs/heads/master
2021-01-20T07:31:37.541005
2017-06-22T14:55:33
2017-06-22T14:55:33
90,009,095
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
#!/usr/bin/python import logging def empty_files(name, files): """ Input: preprocessed pyclone files (ex: pyclone_ith_run3_a_1_3_pt_filter1_indel.vcf.tsv) ---------- Function: check if files are empty and write log ---------- Output: if file empty ==> state = False """ global pyclone_file pyclone_...
[ "wveulemans@research-desktop-1.biomina.be" ]
wveulemans@research-desktop-1.biomina.be
2bcecea0d16f3086ea5a672cb18c33faaad88ef8
871775171633543c9f9d37fbc7ab022fec2c434e
/my_cars.py
e1cd729224ee444785e1cd21e1d9851ab8fc1684
[]
no_license
ToddCombs/Phenomenon
886e9da9154c14a298887dd65fabe61db4c2f2ee
d5f656156e05eed7df19e51b22ee7567319eb59a
refs/heads/master
2020-07-04T14:50:40.482186
2020-01-09T02:36:31
2020-01-09T02:36:31
202,316,829
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
# author:ToddCombs # ๅœจไธ€ไธชๆ–‡ไปถ/ๆจกๅ—ไธญๅฏผๅ…ฅๅคšไธช็ฑป from electric_car import Car, ElectricCar my_beetle = Car('volkswagen','beetle',2016) print(my_beetle.get_descriptive_name()) my_tesla = ElectricCar('tesla', 'model s', 2022) print(my_tesla.get_descriptive_name())
[ "noreply@github.com" ]
ToddCombs.noreply@github.com
8d8a98d12cda3412affb4d67256bc922343908d0
eb90f82d0fea6075f51ba4f4a7fa1a54768f022e
/tiny_spider/core/webspider.py
5b71e52ba7cb6675e451ef01b0d7e460547ec9fe
[]
no_license
jiegerl/DTS
095ced2b5714a6d41f2c0a9274cd2100976b445b
195f61095430e8b3737c95adc3493bfcc13d1fdd
refs/heads/master
2021-04-29T13:30:46.210492
2018-03-19T06:07:09
2018-03-19T06:07:09
120,190,462
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
from tiny_spider.base.common import Global from tiny_spider.base.logger import Logger from tiny_spider.base.decorator import singleton from tiny_spider.core.req_webspider.req_downloader import ReqDownloader from tiny_spider.core.req_webspider.req_preprocessor import ReqPreprocessor from tiny_spider.core.req_webspider.r...
[ "841917374@qq.com" ]
841917374@qq.com
da837fb82085ba56a201b6894220c72ba25ea444
38182d45f0b1f6228aeec03a876ee8213404d171
/questionnaire/admin.py
be8327b50af90b1628c99da556843bb64cf84a85
[]
no_license
alexzinoviev/MobileDoc
1283ec5cd52d27510e54f22522b9e1a01b65d8f8
66c22f1b8fe96ad5630c3d33bcc26e5d815f48db
refs/heads/master
2020-06-24T05:29:41.366198
2017-08-03T16:37:10
2017-08-03T16:37:10
96,920,344
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
from django.contrib import admin from .models import Questionnaire # Register your models here. @admin.register(Questionnaire) class QuestionAdmin(admin.ModelAdmin): list_display = ('question', 'category') #admin.site.register(Questionnaire, QuestionAdmin) # @admin.register(Product) # class ProductAdmin(admin...
[ "shurik.zinovyev@gmail.com" ]
shurik.zinovyev@gmail.com
a07e5ac90e69d7541087f392852696e2193489ca
3afc8f590634df176510cdfe0aecf337ecf5adb8
/parallel.py
d212992668ef3b38a4ffc19593e7cb5064ca69bd
[]
no_license
randomstylez/CDA4101
1d139594e2645e8774c28bf1c24d8cf2bbaddda8
c956d4313eed8728b5cff1940ce36527da9e2f2b
refs/heads/master
2022-12-13T23:58:00.866246
2020-09-10T02:06:17
2020-09-10T02:06:17
294,276,790
0
0
null
null
null
null
UTF-8
Python
false
false
5,185
py
import requests import time from bs4 import BeautifulSoup from mpi4py import MPI class scoredUrl: def __init__(self, url, score): self.url = url self.score = score self.articleArray = self.getAsArray(url) def getAsArray(self, url): response = requests.get(url) ...
[ "noreply@github.com" ]
randomstylez.noreply@github.com
a04ca00a34def210f98b0d9d753932995806ceee
c28ccac2daa674df07470a85d13552639a98e323
/generators2.py
8ba42d91337a4eb7f66a42759dfa3c4c08880ca1
[]
no_license
jnprogrammer/basic_python
69f2ff356ebf1da120789884f99aea197856e6c0
99fe4d6bb8c6aafd3701cc725e511e9967d9b0ca
refs/heads/master
2022-09-26T00:39:32.347757
2020-06-02T02:43:04
2020-06-02T02:43:04
261,020,958
2
0
null
null
null
null
UTF-8
Python
false
false
370
py
def oddnumbers(): n = 1 while True: yield n n += 2 def pi_series(): odds = oddnumbers() apprx = 0 while True: apprx += (4 / next(odds)) yield apprx apprx -= (4 / next(odds)) yield apprx if __name__ == '__main__': approx_pi = pi_series() f...
[ "joshuanparker@gmail.com" ]
joshuanparker@gmail.com
27c54b473ba3124a7e869263fc294f9f1a3696db
570337818eaafd71370368dc28b5244784e9879d
/Assignment 3/ass3-2.py
1a31a65fb1e0908eaf2eeb22a3b9b97e12c260b4
[]
no_license
rajatgarg2/rajatcode
be89f3ae4d74adebb45caf538594539b97553249
e3c8077fc9e7da18f4fb9d7428a7c9ca72aca6ee
refs/heads/master
2023-01-03T14:17:50.627678
2020-10-25T13:48:14
2020-10-25T13:48:14
284,300,449
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
def lesser_of_two_evens(a,b): if a%2==0 and b%2==0: if a<b: return a else: return b if a%2!=0 or b%2!=0: if a>b: return a else: return b a=int(input('Enter 1st no. : ')) b=int(input('Enter 2nd no. : ')) print(...
[ "noreply@github.com" ]
rajatgarg2.noreply@github.com
0d90c5c51a8ae8c2b13d012c22b04da8c58a8ca9
07929b06f109c10a667e7349c4ed8ddb146a1a75
/codeportal/migrations/0031_auto_20200415_0247.py
5861b44b6f5c453529bcd34de606e02862f453fd
[]
no_license
kaizen-cmd/aces-website
9f1272818ba9181530a606e7b77a444324bace10
48d1a17ad43692c4f570dae10eefdd716c103b94
refs/heads/master
2022-04-23T12:27:21.671301
2020-04-19T05:32:34
2020-04-19T05:32:34
256,455,075
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# Generated by Django 3.0.4 on 2020-04-14 21:17 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('codeportal', '0030_auto_20200414_1911'), ] operations = [ migrations.AlterField( model_name='problem_statements'...
[ "tejasmandre0306@gmail.com" ]
tejasmandre0306@gmail.com
350d5f4964c7f6eaa0d60ab178395e20190df518
9785a256cd2d69a532aab7a4a70f4f116d8b7774
/shape_matching.py
94929ae18084d2eef7ac494af6cbc7be2c24cde6
[]
no_license
jaswanthrk/CV
ffebf9d1e2a232217c7e9d21944897b18acf4942
9924b7f478dafd5ed4a98dd2c4bf3b2659d41b31
refs/heads/master
2020-11-24T22:26:44.131382
2019-12-17T05:16:24
2019-12-17T05:16:24
228,364,525
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
# cv2.matchShapes(contour template, contour, method, method parameter) # OUTPUT : MATCH VALUE - lower the better # CONTOUR TEMPLATE : REFERENCE CONTOUR # CONTOUR : THE INDIVIDUAL CONTOUR WE ARE CHECKING AGAINST # METHOD : TYPE OF CONTOUR MATCHING (1, 2, 3) # http://docs.opencv.org/2.4/modules/imgproc/doc/structu...
[ "noreply@github.com" ]
jaswanthrk.noreply@github.com
94fe58505998793b4549481b06ceb94f09a57ecb
903710fc497e23fabaf777fe61b932506b07d92c
/experiment_10_2/bayesian_v2/phase1_read_data.py
66b5ebf81e928f9e2c5547bcdd9a299cd8e45a8e
[ "Apache-2.0" ]
permissive
julio-navarro-lara/thesis_scripts
222da4e57bbe5c5bd1dc439df19d450220d63bfa
dab1faabd6004389aadb082d63b10bae848bf1c8
refs/heads/master
2022-12-16T12:17:09.196278
2020-09-23T14:43:29
2020-09-23T14:43:29
297,955,466
4
0
null
null
null
null
UTF-8
Python
false
false
2,664
py
#Copyright 2018 Julio Navarro #Built at the University of Strasbourg (France). CSTB team @ ICube laboratory #12/06/2018 from library import * def read_logs(input_filepath): #list_logs = extract_csv_file(input_filepath) list_logs = extract_csv_pandas(input_filepath) return list_logs def read_aasg_set(inp...
[ "julio@Julios-MacBook-Air.local" ]
julio@Julios-MacBook-Air.local
9a7d895f2c6bc54344dbcc6750596016612f6474
2831e673f82ee9826db4ba4d82a57c3f2385efa2
/main_app/migrations/0004_remove_profile_picture.py
670a751bf2654057093a834bf061bdffb8cbbc6b
[]
no_license
eag58914/milo_app
2ad181acc4d412138fe821c2728cb1e25e631040
d56e3cb316c2bd6006dc5e4e201cc8ac2e593f32
refs/heads/master
2022-12-11T04:17:04.790085
2019-09-29T23:14:17
2019-09-29T23:14:17
208,075,944
0
0
null
2022-06-21T22:50:57
2019-09-12T14:52:32
Python
UTF-8
Python
false
false
318
py
# Generated by Django 2.2.3 on 2019-09-18 16:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main_app', '0003_photo'), ] operations = [ migrations.RemoveField( model_name='profile', name='picture', ), ]
[ "garciaelco18@gmail.com" ]
garciaelco18@gmail.com
f3614a2279ab77b16499e213168132f1ee24e56e
29937ed4e8df0d512956e3a9fbe2629e805557cf
/betcenter_backend_helper/bet_record/migrations/0006_betrecord_main_contract_txhash.py
c6cc195084cdb7055599ea0d711d12af90efbe0e
[]
no_license
OriginSport/betcenter_backend_helper
8f9ca425852911f9ab59a16735824a09f47f6932
46dc07912260ab244074a935d0b220c3d17b5185
refs/heads/master
2022-12-14T21:03:40.024679
2018-11-09T01:18:21
2018-11-09T01:18:21
136,296,530
0
1
null
2022-11-22T02:31:46
2018-06-06T08:20:19
Python
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-26 17:24 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bet_record', '0005_auto_20180626_0950'), ] operations = [ migrations.AddFi...
[ "ywt13639397661@gmail.com" ]
ywt13639397661@gmail.com
11d8170b63de9af3a3b69f40b0315a7120b9b811
005374356757a1cfcbf07ad46fd9e60be1c9dede
/python-django/alฤฑลŸtฤฑrmalar/alistirma-3-calculator.py
5d418e175435b50765fce257c79cb123fa6f377a
[]
no_license
teaddict/lyk-2014
e0a76561ad7e620211d2d6931cff38d8f3b4bddd
541d7a45e2b27d8d54941f9bd812cfa96585ae61
refs/heads/master
2020-12-25T19:26:25.453139
2014-08-17T10:54:11
2014-08-17T10:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
__author__ = 'schwappkopf' print"3+5: ",3+5 print"3-5: ",3-5 print"3*5: ",3*5 print"3/5: ",3/5 print"6/4 :", 6/4 #tam sayฤฑ girersen tam sayฤฑ รงฤฑktฤฑ verir print"6.0/4.0", 6.0/4.0 #floating point girersen floating point yapar
[ "cyberasker@gmail.com" ]
cyberasker@gmail.com
6713a71ae9b0c94fcd108a4297bc34c3a48cc07c
db1c92b38332a1fc85aa42a6eb9ca6c7fd71288d
/assign2/15.py
ecf22320765202ad0b47af8c3531ef5980633380
[]
no_license
Lishat/Basic-Python-Programming
9edb6cf009bd2ab68e1bc30878cc7f056866c4b1
7561bf9b1e141123768d623745a5a9c8ce76fa9b
refs/heads/master
2020-04-27T10:42:12.511932
2019-03-12T20:30:04
2019-03-12T20:30:04
174,265,897
1
0
null
null
null
null
UTF-8
Python
false
false
238
py
print(sum([i for i in range(int(input())+1)])) print(sum([i for i in range(1, 2*int(input()), 2)])) n = list(map(int, input().split()));print(sum([int(n[i]) for i in range(n.index(999))])) print(sum([1 for x in bin(int(input()))[2:]])-1)
[ "noreply@github.com" ]
Lishat.noreply@github.com
dab29c1e37f7f38a6abff91804a50893a7920802
996193d5abd7df0a52976f4516473b85d98f394f
/weather_display/rain.py
13ac8656e049c8d027bcfd5f13c45ad9e8106b11
[]
no_license
lakomovadiana/weather_lamp
a5d28064b101a051221bfd3c24158db59ae3ee02
ecd23b0a009c70f85340927b72e5b719d8e2f6c4
refs/heads/master
2020-04-09T03:01:11.426613
2018-12-20T06:47:09
2018-12-20T06:47:09
159,965,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
COLOR_FOREGROUND = 10 def get_frames(): return[[ [0,1,0,0,0,1,0,0], [0,1,0,1,0,1,0,1], [0,0,0,1,0,0,0,1], [1,0,0,0,0,0,0,0], [1,0,1,0,0,0,1,0], [0,0,1,0,1,0,1,0], [0,0,0,0,1,0,0,0], [1,0,0,0,0,0,0,1] ], [ [0,0,1,0,0,0,0,1], [0,...
[ "diana.lakomova@gmail.com" ]
diana.lakomova@gmail.com
21f2632e0d6d516474ffbb03ac186849c78eb620
f4d6365cb41c14f7a917c6d039fe9b5fb32754cb
/django/crashreport/base/tests.py
96657b8bbf879023f5263a5a95c9c860900688cf
[]
no_license
aybuke/crash
1fb218599155e376d6f619292996e13f087d93c2
2eb9d822012ab96be611f0a3d5718805a198e4d8
refs/heads/master
2021-01-17T11:57:03.015050
2016-05-04T10:06:15
2016-05-04T10:06:15
58,042,119
0
0
null
2016-05-04T10:02:37
2016-05-04T10:02:36
Python
UTF-8
Python
false
false
1,799
py
# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from django.test import TestCase ...
[ "markus.mohrhard@googlemail.com" ]
markus.mohrhard@googlemail.com
69aee3c751d9b73cdd1a20bf1ed25acc45f03c86
5c5c87c0649d5e04be760eb4bf4523b794561300
/compra/urls.py
bd659999d6576bc3591868d2e95c229daec704a3
[]
no_license
luisenriquef060/proyf
016d703ac1f8b345e537899d207e68045d4b5696
dffeecd7adbea83f4036b4562f4f01171388139c
refs/heads/master
2021-08-07T19:20:48.387530
2017-11-08T20:47:00
2017-11-08T20:47:00
110,028,228
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^producto/', views.nuevo, name ="nuevo"), url(r'^vendedor/', views.nuevoU, name ="nuevoU"), url(r'^$', views.home_view, name='home_view'), url(r'^upload$', views.upload_image_view, name='upload_image_view'), #url(r'^media/(?...
[ "luisenriquef0609@gmail.com" ]
luisenriquef0609@gmail.com
f2ff8844f555d6d0049b552d80a60b6fccdae90c
efe8ea078ccac8f2a3ba435f239e23492fe5ab3a
/sft/db/sft_meta.py
c1ebe549462d5fb33ce5653a49bb4f021f4c8606
[]
no_license
placiflury/gridmonitor-sft
4cb675c231e943e2ffa3fb5806ca368c230cba2e
f2a3e4295728b71965838fb59360c63e3d485f5e
refs/heads/master
2016-08-05T05:53:13.568210
2012-09-25T11:37:33
2012-09-25T11:37:33
33,272,299
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
""" SQLAlchemy Metadata and Session object """ from sqlalchemy import MetaData __all__ = ['engine', 'metadata', 'Session'] # does not make much sense here... # SQLAlchemy database engine. Updated by ch.smscg.sft.init_model(). engine = None # SQLAlchemy session manager. Updated by ch.smscg.sft.init_model(). S...
[ "placi.flury@switch.ch" ]
placi.flury@switch.ch
51f34c3e0287e316f0918f7bae364df3289de792
966ea314bcd64f40bfaea457f914fcedbe26426a
/March-week3/testconversion.py
be419779776866290ed22ba1214ccc83499f7eda
[]
no_license
vandanasen/Python-Projects
30caa85cf87ba712e1307b0441fed2d7fa9298a0
9b24a9f6af0374bb0d6a3a15c05099f49edfd581
refs/heads/master
2020-03-26T00:26:06.067905
2019-03-11T22:58:25
2019-03-11T22:58:25
144,320,263
1
0
null
null
null
null
UTF-8
Python
false
false
480
py
a_list=[1,1,2,3,3] a = tuple(a_list) print(a) b = list(a) print(len(b)) c = set(b) print(len(c)) d=list(c) print(len(d)) e=list(range(1, 11, 1)) print(e) dict = dict([(1,2),(3,4),(5,6),(7,8),(9,10)]) print(dict) t= tuple(list(dict.items())) print(t) v = tuple(dict.keys()) print(v) k = tuple(dict.values()) print(k) s = ...
[ "vandy_senthil@yahoo.com" ]
vandy_senthil@yahoo.com
7f9cf2b44780a6c73735f0b55eb8a5f232bd2098
88e2c87d087e30dedda11cad8a2665e89f6ac32c
/tests/contrib/operators/test_opsgenie_alert_operator.py
1b4467bc5a523be4b00ce8c701d2f578da10ece5
[ "Apache-2.0", "BSD-3-Clause", "Python-2.0", "MIT", "BSD-2-Clause" ]
permissive
bigo-sg/airflow
690805b782d3490c5d01047203ee4766f9695cf0
e2933fc90d8fd9aeb61402f7a237778553762a17
refs/heads/master
2020-05-30T19:25:36.289802
2019-07-15T10:14:34
2019-07-15T10:14:34
189,924,188
2
1
Apache-2.0
2019-10-18T06:30:14
2019-06-03T02:50:51
Python
UTF-8
Python
false
false
4,788
py
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the #...
[ "ash_github@firemirror.com" ]
ash_github@firemirror.com
52809f4b7ab6f0a809ae211b984d338a391be351
59ef2e40d83befce9eb7b839b9b78c61d99fb772
/class_exercises/class_ex3.py
3b79a624735e9bca5a14f0fa7ce3ffcf490cec9c
[]
no_license
ofircohen205/ImageProcessing
039c8b9aa4b113d839a264eba3f5a69b8ef7fe80
b1d69c1cc3c732ac684163813ecfc882a419e456
refs/heads/master
2022-11-27T03:36:53.695827
2020-07-31T17:29:14
2020-07-31T17:29:14
284,092,842
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
# Name: Ofir Cohen # ID: 312255847 # Date: 10/11/2019 import cv2 import numpy as np from matplotlib import pyplot as plt def class_histogram(file): img = cv2.imread(file,0) if (img is None): print("faild to read the image") exit plt.imshow(img,cmap='gray') plt.title("Orig Image") ...
[ "ofircohen2005@gmail.com" ]
ofircohen2005@gmail.com
206b83e4eef4c8576287a9cd2ab0d85729ac751e
b9aa246866847541704780941c37d4b865454182
/PY/excel_python/excel_py.py
b8ae4b8b2a859b09d3c8d37ba34104b95a56dfc8
[]
no_license
Warmcloud1/python
2c73ef422a7ba49a20a82ae731d9a544a4d2a70f
6928c0a4c445f7f742d9f730149388bbb72c3d0f
refs/heads/master
2020-09-16T19:26:36.629705
2019-11-25T05:30:15
2019-11-25T05:30:15
223,867,774
0
0
null
null
null
null
UTF-8
Python
false
false
4,199
py
'''ๅฐ‡abๆช”่ณ‡ๆ–™ๅšๆ•ด็†ๆˆ3็จฎ ็š†ๆœ‰abๅญ˜ๅœจใ€ๅชๅญ˜ๅœจa็š„ใ€ๅชๅญ˜ๅœจb็š„''' import csv import pandas as pd import numpy as np import time input_file1="a.csv" input_file2="b.csv" write_data='' result_title =[] result_titlea=[] result_titleb=[] same=[] diffa=[] diffb=[] IDb=[] #read two files file1=pd.read_csv(input_file1,encoding='utf8') ...
[ "noreply@github.com" ]
Warmcloud1.noreply@github.com
a0083cab532c5db426c3e4e1e0041d4f1d5ec536
0cfb5831a748ebd46e438e3ad7e7a09c1d196499
/com/chapter_09/section_04/task_9.4.5_importAllClass.py
92d4e7f85081ee09dbfc6731f3670ef472dcf5a0
[]
no_license
StevenGeGe/pythonFromIntroductionToPractice01
7cfe8cdb4bc5c0ddbe25b44976231d72d9e10108
9d2ba499056b30ded14180e6c4719ee48edd9772
refs/heads/master
2023-02-15T04:08:59.878711
2020-12-28T13:27:55
2020-12-28T13:27:55
310,980,820
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/11/25 20:34 # @Author : Yong # @Email : Yong_GJ@163.com # @File : task_9.4.5_importAllClass.py # @Software: PyCharm # ๅฏผๅ…ฅๆจกๅ—ไธญๆ‰€ๆœ‰็š„็ฑป # from module_name import * # ไธๆŽจ่่ฟ™ๆ ทไฝฟ็”จใ€‚ # ๆŽจ่ไฝฟ็”จ๏ผšmodule_name.class_name ่ฏญๆณ•ๆฅ่ฎฟ้—ฎ็ฑป
[ "Yong_GJ@163.com" ]
Yong_GJ@163.com
e50c4b25915b37b912a00056ba04f61069c84a16
d641ae55bf417db082dd1236478b1d52a55b149c
/classifier/decode_data.py
db7e46daf21012dfb606c88125c499e5b7e582c8
[ "MIT" ]
permissive
stephichau/qr-file-classifier
cb079e61ccd2e150149faccce9e412940454f846
9525ed01c569603bd42ecb00e579b15e2e4b4c2a
refs/heads/master
2020-03-22T10:25:42.261183
2019-01-14T20:44:48
2019-01-14T20:44:48
139,901,889
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
from PIL import Image, ImageDraw, ImageFont, ImageFilter from pyzbar.pyzbar import decode, ZBarSymbol from wand.image import Image as WImage import cv2 import os import numpy as np from .cool_prints import cool_print_decoration QR_RESULTS_DIRECTORY = './Results-{}-{}' """ Based on code found in: https://www.pyimagese...
[ "schau@uc.cl" ]
schau@uc.cl
c90d5fef2abadfa61948bd5f220b166084bcf0d3
90e3c798716c3671d05bcbdbc3328dc317bd6e34
/18-4Sum/solution.py
a5219621b59a78a7a90a479bae1d696505823b7d
[]
no_license
Shuang0420/LeetCode
d2547b8fc93e8f4e9073982275e69e274649d48c
6d59dd07323cdd8898474d058d1ae9b196910185
refs/heads/master
2020-12-24T08:08:38.082163
2016-10-12T15:33:53
2016-10-12T15:33:53
59,400,754
2
1
null
null
null
null
UTF-8
Python
false
false
1,363
py
class Solution(object): def fourSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[List[int]] """ if len(nums)<4: return [] res=[] nums=sorted(nums) for i in range(len(nums)-3): if i>0 and ...
[ "252618408@qq.com" ]
252618408@qq.com
0fdaf48fbd50cc85de571a13f3d1ebbe496f2b0a
8f71454f79857b48c89758844b05cdbd361b071f
/tools/run_iter_counts.py
54d53f20b6efa5bc8ed8efd47d6890624e94d4a3
[]
no_license
travisbrady/ocaml-order-book
3c535cc83c8604414684fafbdab90a90a1cb93ae
3cc1dbe435a05608e8cf2fc1d70909b8201ab6a7
refs/heads/master
2020-03-15T02:37:11.610067
2018-05-03T00:58:24
2018-05-03T00:58:24
131,922,084
3
0
null
null
null
null
UTF-8
Python
false
false
971
py
# Script to run a bunch of target sizes through # both the array-based and tree-based implementations # and collect the number of iterations each call to compute_txn # makes through its price_to_size data structure # This requires that both src/ordergrid.ml and experiments/ordermap/ordermap.ml # were compiled to print ...
[ "travis.brady@gmail.com" ]
travis.brady@gmail.com
d8e6b1547489575e6c963f7190627fff521567cc
cac2c04fa7e0a9bc1fbd4fca5be00030f07e01c0
/fundamentals/adv_python/generators/generator_example.py
091ba00daf0fa62a3b4cf341bb2716ab23f83166
[ "Apache-2.0" ]
permissive
davjohnst/fundamentals
b5d27286531f54eb082a98d30dfa5c138bf3dc51
f8aff4621432c3187305dd04563425f54ea08495
refs/heads/master
2021-01-01T16:39:35.315050
2015-11-15T00:32:53
2015-11-15T00:32:53
32,647,134
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
#!/usr/bin/env python class GeneratorExample(object): @classmethod def integer_generator(self, max): i = 0 while i < max: yield i i += 1
[ "dajohnston@ucdavis.edu" ]
dajohnston@ucdavis.edu
8dd37c6432cc16f7168f6f4bc46dfe13e7ba3da3
52a42582f986c6d65db864066400c7143018e42f
/customers/urls.py
912ed6516e5d8ad30645678492c206cd86368d5d
[]
no_license
GokulKrishna091098/MobileProject
bde8fbfa45c19ad8586df2a34d5beeaef3cf79b5
49bed5d01a4692974df77882c3b923d4d8cfe2c3
refs/heads/master
2023-05-02T21:11:43.278594
2021-05-15T13:22:28
2021-05-15T13:22:28
365,950,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
"""mobileproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "gokulkrishnaparavur@gmail.com" ]
gokulkrishnaparavur@gmail.com
17e05a6e57b15e83b5ba009dd6f004f5eefb26ec
2af366df535a7361341df6b138412f1a7f05f0ca
/pgd_splicer/management/commands/crosscheck.py
c62e5dcb784a62cbd257c306bdfbd239d5358df3
[ "Apache-2.0" ]
permissive
GiriB/pgd
c21b4678e1a59b2227f814ebb6fc6abd09570aed
28a23096aca4d669a351a9943dcc06828a2c24c7
refs/heads/master
2021-01-22T01:04:45.442118
2015-06-03T17:50:11
2015-06-03T17:50:11
65,021,565
0
0
null
2016-09-26T13:34:48
2016-08-05T13:42:22
Python
UTF-8
Python
false
false
4,794
py
from django.core.management.base import BaseCommand, CommandError from optparse import make_option from pgd_core.models import Protein, Chain import sys import os class Command(BaseCommand): option_list = BaseCommand.option_list + ( make_option('--selection', default=False, ...
[ "jmt@osuosl.org" ]
jmt@osuosl.org
c0db11e07c4ce0f6d9e35bc00596ef41cc7b3d86
6835fce8c9f43f2394c90b50f786214330de9881
/Python-Examples/requests/sync2.py
91d443ec65c006f1186f5d1f517905642ea8aa70
[]
no_license
flufy3d/Code_Snippets
f52a3d6d53596688e6258316089faf73b3f11ee8
6459d41b8e3b55edad3914fcfb75adb5c084a8bd
refs/heads/master
2021-01-22T13:47:03.056217
2014-05-20T22:39:00
2014-05-20T22:39:00
38,432,099
1
1
null
2015-07-02T12:42:54
2015-07-02T12:42:54
null
UTF-8
Python
false
false
424
py
from requests import Session import time session = Session() start_timer = start_of_prog_time = time.time() time_dict = {} for num in xrange(1, 100): response = session.get('http://httpbin.org/get') time_dict[str(num)] = time.time() - start_timer start_timer = time.time() end_time = time.time() for n...
[ "sd@serdardalgic.org" ]
sd@serdardalgic.org
babdbff65d7df7830fbc35159f977fcaebc87b48
7be7190aeceef43841274518d260bcd92e04e5a7
/Mahouo-Account/sever/app/__init__.py
a0d44f9b8c1ba491d8fa05edb03452397aa3f1ee
[]
no_license
weivis/Mahouo
078c440b41a686d355a49e3fc29175bc225dff2c
81fd6919a884b97cb53ac3e97f1e48d78ddd4e63
refs/heads/master
2020-04-20T16:56:44.813853
2019-02-03T18:47:11
2019-02-03T18:47:11
168,974,099
10
1
null
null
null
null
UTF-8
Python
false
false
956
py
__author__ = 'Ran' from flask import Flask # flask from flask_cache import Cache # cache from flask_login import LoginManager from flask_cors import * from flask_sqlalchemy import SQLAlchemy # sql from datetime import timedelta from app import config # config #ๅฎžไพ‹ๅŒ–app app = Flask(__name__, template_folder=...
[ "yvban@outlook.com" ]
yvban@outlook.com
703dc8683d7f928f96e719bf5febd0627d683364
9a9e0398f26cee9864d48c4618c0a482e5475e83
/Python/code/top_k_frequent_elements.py
1e0b45c6c2186a3d5aa1760acecb875e104754cb
[]
no_license
CNife/leetcode
92693c653bb41780ee431293286c3e909009e9b0
7cdd61692ecb52dd1613169e80b924dd39d35996
refs/heads/main
2021-06-22T21:22:12.997253
2021-03-18T07:07:15
2021-03-18T07:07:15
206,955,329
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
from collections import defaultdict from heapq import heappush, heapreplace from typing import List, Tuple from leetcode import test, sorted_list def top_k_frequent(nums: List[int], k: int) -> List[int]: counter = defaultdict(lambda: 0) for num in nums: counter[num] += 1 heap: List[Tuple[int, in...
[ "CNife@vip.qq.com" ]
CNife@vip.qq.com
3a28cb12de058506fbf4db14e1d913ed467793ee
de984d43747376d9e18b414037cf278c04ec0bfb
/services/productcategory_service.py
0ac40ed3029f0049312185f7bfc0957c3d4d1cbd
[]
no_license
vaq130/FrameworkApplication
060251845be979b3a91c4c09b90e50dcd2c03df9
473b6da4a3973840300bc1ec83fb740f500ec9de
refs/heads/main
2023-05-31T08:05:33.860428
2021-06-04T22:11:28
2021-06-04T22:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
import urllib.parse import uuid from datetime import datetime from py2neo.ogm import GraphObject, Property from data.db_session import db_auth graph = db_auth() class ProductCategory(GraphObject): __primarykey__ = "name" name = Property() shortname = Property() description = Property() created_...
[ "36908151+josh-thurston@users.noreply.github.com" ]
36908151+josh-thurston@users.noreply.github.com
cc19c917d01a11ed1820d6c3d90cd206c1a86770
e5cd16f1260b5f6042af47bf23476ee87ff2c09f
/rlschool/liftsim/tests/qa_test.py
113281188c3f3643bef553bfc2324799e4c6cea4
[ "Apache-2.0" ]
permissive
TuMing/RLSchool
10b1a98f5faf87da40083e9f73fb2a2fd8a79574
1799de1ad0056adf385c5e5dd34be9155e9063e7
refs/heads/master
2020-11-26T04:22:17.225880
2019-12-18T11:13:09
2019-12-18T11:13:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,698
py
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # 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 app...
[ "1718613239banma@gmail.com" ]
1718613239banma@gmail.com
90970f3d48fde21227c0bd94f0f21861bc28f9aa
c48763cc27bec7a3a5c2a914ad7b045021253d70
/usr/lib64/python2.7/pydoc.py
34a50fa3ef89753ea5ffd9cc97e1d510fa5d1ab1
[]
no_license
ManaWorks/linux-sysroot-aws
4b9b9cdaa22193e5ad411a0fd594c0b0f46c7a9d
d4ca6a8aa9c45a276430865d377cc41387b75272
refs/heads/master
2021-04-03T13:02:07.709400
2020-03-18T22:22:12
2020-03-18T22:22:12
248,356,093
0
0
null
null
null
null
UTF-8
Python
false
false
95,740
py
#! /usr/bin/env python # -*- coding: latin-1 -*- """Generate Python documentation in HTML or text for interactive use. In the Python interpreter, do "from pydoc import help" to provide online help. Calling help(thing) on a Python object documents the object. Or, at the shell command line outside of Python: Run "pyd...
[ "brett@beevik.com" ]
brett@beevik.com
68b5fbfd70ebf9d20d9cb182f8ae450b3d3ecd4b
046b03f5fd851e44cff2b082ca827a9deeb97673
/helpers/jpgCombinate/jpg_combinate.py
55f8b50a20a50feb1baff9d36949296a76c46444
[ "MIT" ]
permissive
bartlomiejszozda/handwrittenPairsGenerator
3f7ab4050d0d849f54e20a76e1689017a55e5bbc
d961ba50c7dbd2dca2b927a909ec3a0319b0ef19
refs/heads/master
2022-12-26T19:40:21.150632
2020-10-13T22:53:58
2020-10-13T22:53:58
302,763,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
import os import sys from PIL import Image def combinateImages(pathToRead, pathToSave, maxNumOfImages): for dir1 in range(0, 9, 2): dir2 = dir1 + 1 if not os.path.exists(pathToSave + "/%d_%d" % (dir1, dir2)): os.makedirs(pathToSave + "/%d_%d" % (dir1, dir2)) for num in range(1,(m...
[ "bartekszozda19@gmail.com" ]
bartekszozda19@gmail.com
75da804ca07696000eef7093285146f5674f7c8d
fd8e515371e8559db0e1d07c15af3e955b61794e
/airbnb/1_Airbnb_WebScraping.py
c97d9f78836700e0e4f167e70b4f2a94c5e43227
[]
no_license
Mitoflyboy/scraping
8458a9fd9d01e0fc2118fc80260635051935dbe9
1819268760ddbe21b72ae1eb8da1484ee0f8bf8f
refs/heads/master
2021-04-28T17:10:38.968041
2018-06-28T11:53:30
2018-06-28T11:53:30
121,847,168
0
0
null
null
null
null
UTF-8
Python
false
false
12,164
py
# coding: utf-8 # In[1]: import sysconfig import os import numpy as np import pandas as pd import json import distutils import scrapy import datetime import requests import json import logging import string import re from scrapy.crawler import CrawlerProcess from scrapy.selector import Selector from requests import...
[ "tim.jelliffe@cbigconsulting.com.au" ]
tim.jelliffe@cbigconsulting.com.au
9c68c1a48ea5e7f1c1e9b39fb95197c685595749
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02260/s279877008.py
38cfba9d040e317dbba645db4cba4794e44c61a4
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
input() num_list = raw_input().split() num_list = map(int, num_list) def selection_sort(num_list, count): for i in range(0, len(num_list)): minj = i for j in range(i, len(num_list)): if num_list[j] < num_list[minj]: minj = j temp = num_list[minj] ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
39b8c01806e7f01b801d077e55cdbe99b11dd5a9
0883188e1648f982e3a27bf0b89c4c09dac3d3ef
/nmigen/test/compat/test_fifo.py
bc6b81cdee56cf3921aa32628db05c3a8a6097be
[ "BSD-2-Clause" ]
permissive
pbsds/nmigen
b44c0b212ddd2d88a6641243efbb632baacb66f7
d964ba9cc45490b141c8c4c4c3d8add1a26a739d
refs/heads/master
2022-12-04T10:32:52.573521
2020-07-31T13:17:39
2020-07-31T18:41:59
286,076,534
0
0
BSD-2-Clause
2020-08-08T16:12:24
2020-08-08T16:12:23
null
UTF-8
Python
false
false
1,272
py
import unittest from itertools import count from ...compat import * from ...compat.genlib.fifo import SyncFIFO from .support import SimCase class SyncFIFOCase(SimCase, unittest.TestCase): class TestBench(Module): def __init__(self): self.submodules.dut = SyncFIFO(64, 2) self.syn...
[ "whitequark@whitequark.org" ]
whitequark@whitequark.org
ec0ca45a66c021f66879744dd2ce4e1d0aa3a1cd
a79d30723c1718be859896ac2219df9c85a8de08
/code/03A_stack.py
b1b4d88e21b9926e6853dd14225895e77d5f2997
[ "MIT" ]
permissive
okuchap/ProCon_practice
90d67813eb487d166eb5fd4b889e70f6997bac7f
b98f0ac6ea52c5a1b5d9146ba2a9e2620fe67027
refs/heads/master
2020-08-18T15:25:00.107128
2020-03-24T14:20:16
2020-03-24T14:20:16
215,806,503
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# %% class Stack: def __init__(self, size): self.size = size self.stack = [None] * self.size self.tail = 0 def push(self, new): self.stack[self.tail] = new self.tail += 1 def pop(self): self.tail -= 1 return self.stack[self.tail] max_size = 105 # ...
[ "kyohei.okumura@gmail.com" ]
kyohei.okumura@gmail.com
0d6bf526fcc135ca7f156726c43622f99a0c3269
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_053/ch160_2020_06_19_19_49_19_966261.py
0eb7281b995c2be04327db8c79ad0fcf74f9446d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
import math resultados = {} valores = [] i = 0 for x in range(91): # Aplica fรณrmula y = 4*x*(180 - x)/(40500 - x*(180 - x)) # Converte para rad x = x*math.pi/180 # Verifica diferenรงa dif = abs(y - math.sin(x)) # Adiciona na lista de diferenรงas valores.append(dif) # Adiciona diferenรง...
[ "you@example.com" ]
you@example.com
f04720409bf09077c5e90574bbab79459831f81f
6d42c34787d0dca36ebcbb54fc6aa581c1652946
/moteur_r/utils.py
0073da8cc13f4c754026a7139e455ae3b8135bf4
[]
no_license
Miosse/test1
84e3a8b29490b5484805be2249539e0e20890796
cd65a712d32d42c0de13ebe2ffcb8ada2b528af0
refs/heads/master
2022-12-20T17:59:57.021323
2019-02-04T15:35:27
2019-02-04T15:35:27
139,535,266
0
0
null
2022-11-22T01:49:00
2018-07-03T05:58:24
Jupyter Notebook
UTF-8
Python
false
false
2,755
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import pandas as pd #import matplotlib.pyplot as plt import json import os from pygments import highlight, lexers, formatters import pprint basedir = os.path.abspath(os.path.dirname(__file__)) #from .models import charge_df # Pour aff...
[ "seb@imac-de-sebastien.home" ]
seb@imac-de-sebastien.home
5e2ed0acc6bbf0c146e9f042886d7884c6fa5ef8
bb9f9d024c7eb340f9254b48fc7f1983edbb9be3
/VirtualTour/migrations/0003_remove_images_graph_cost.py
9a235fd62d47260fd8965ed3789c06d8e2b60ab4
[]
no_license
anushagoswami21/Virtual-Tour-Of-IIIT-H-Campus
c9e341195468a80626005aeaba4e5bf344519424
e83a0557cc87fd98fde3935b3f67b5d462875ba3
refs/heads/master
2020-12-02T07:54:55.846992
2017-07-10T20:07:26
2017-07-10T20:07:26
96,747,232
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-06-13 09:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('VirtualTour', '0002_images_graph'), ] operations = [ migrations.RemoveField( ...
[ "anushagoswami10@gmail.com" ]
anushagoswami10@gmail.com
cee5b8650269efe733b6f7b95dcc8366a0fa8d3b
ba919c512e131de90427b1a6bfd29e1d7a2e22c8
/debug/verification_test.py
a509b9d96a2cf195f0bfa7b8082cccaa8b3446a1
[]
no_license
qq183727918/influence
7d3b0106db55402630979b86455e4b82ebed2e98
75cb04453278d13dd82a6f319d6f9ecdfad5fb88
refs/heads/master
2023-01-22T23:00:51.979543
2020-12-08T11:12:12
2020-12-08T11:12:12
317,783,196
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
# _*_ coding: UTF-8 _*_ # @Time : 2020/12/4 17:01 # @Author : LiuXiaoQiang # @Site : http:www.cdtest.cn/ # @File : verification_test.py # @Software : PyCharm def verification(): from PIL import Image # ่ฝฌๆข็ฐๅบฆ # ไฝฟ็”จ่ทฏๅพ„ๅฏผๅ…ฅๅ›พ็‰‡ imgName = '13.png' im = Image.open(imgName) # ไฝฟ็”จ byte ๆตๅฏผๅ…ฅๅ›พ็‰‡ ...
[ "lxq13925731395@163.com" ]
lxq13925731395@163.com
e47646cee5473ace6ef61c5e42b405d5c1bc95e9
2091cbb905b8d7bce2c2dde258bfb8e1e9f96810
/PycharmProjects/awsdemoproject/venv/Lib/site-packages/pyathena/pandas/result_set.py
f72f34a928c9d46cf4c644b9218c19eb2350f675
[]
no_license
pradosh2008/cloudproject
bd2dce445b9b14ac636134d866702c2e47b8d5cc
9ea9edccd1acf9d5a0c2928e3a0ccb44f9e79675
refs/heads/main
2023-03-17T05:12:28.772761
2021-03-07T12:17:50
2021-03-07T12:17:50
339,829,010
0
0
null
null
null
null
UTF-8
Python
false
false
6,147
py
# -*- coding: utf-8 -*- import logging from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Type from pyathena.converter import Converter from pyathena.error import OperationalError, ProgrammingError from pyathena.model import AthenaQueryExecution from pyathena.result_set import AthenaResul...
[ "PradoshKumar.Jena@ascenaretail.com" ]
PradoshKumar.Jena@ascenaretail.com
ca61e25676f7f4d7904bd94e994b416e5b2cbd2d
ea5121cddcd8e084dd940221309dba720f78825e
/src/views/course_themes.py
8dd0e9bed2cc315973840379e9c95e56a1ac8f73
[]
no_license
festelm8/telegram_IS
ec772e82147240a3a30845b65218d9c2309eb357
63e4bf5ee14b441f12dbedd2604a00534c2b1d33
refs/heads/master
2021-05-11T13:27:30.056091
2018-02-11T21:33:37
2018-02-11T21:33:37
117,679,893
0
0
null
null
null
null
UTF-8
Python
false
false
10,557
py
from flask import render_template, request, redirect, url_for, flash from flask_login import login_user, logout_user, login_required, current_user from webargs.flaskparser import parser, use_args from src.schemas.web import course_theme_create_post, course_number_create_post, course_group_create_post from src.db impor...
[ "s.nikulin@damprodam.ru" ]
s.nikulin@damprodam.ru
05881bf793aa55eee51c75d99cdbe7a1085333a9
86fc644c327a8d6ea66fd045d94c7733c22df48c
/scripts/managed_cpe_services/customer/qos_service/policy_class_map_update/update_policy_class_map/update_policy_class_map.py
d79055588ad5e2c89764db215cca6b39ed2e3bd7
[]
no_license
lucabrasi83/anutacpedeployment
bfe703657fbcf0375c92bcbe7560051817f1a526
96de3a4fd4adbbc0d443620f0c53f397823a1cad
refs/heads/master
2021-09-24T16:44:05.305313
2018-10-12T02:41:18
2018-10-12T02:41:18
95,190,459
0
0
null
null
null
null
UTF-8
Python
false
false
6,843
py
# # This computer program is the confidential information and proprietary trade # secret of Anuta Networks, Inc. Possessions and use of this program must # conform strictly to the license agreement between the user and # Anuta Networks, Inc., and receipt or possession does not convey any rights # to divulge, reproduce,...
[ "sebastien.pouplin@tatacommunications.com" ]
sebastien.pouplin@tatacommunications.com
05738ed6bbb6162be5ee46923d010c5149dea801
425e523ba9218ad79c6f18cab5060015fe9938a7
/kimura/tests/TestBasic.py
94c93db1a55846cf6b3807144c816e00d5fc0ad7
[]
no_license
lbozhilova/Kimura-Distribution
8db458a1d8acc9e16fefe19e3e8a5badc7bceac1
3487f3bb3e51bb42d03dd4d71dd2bb5bc9bfdb2b
refs/heads/master
2023-02-21T16:22:59.141025
2021-01-22T18:54:02
2021-01-22T18:54:02
435,932,673
1
0
null
2021-12-07T15:28:52
2021-12-07T15:28:51
null
UTF-8
Python
false
false
1,169
py
import unittest, os, shutil import kimura #Original input file TESTDATA_FILENAME = os.path.join(os.path.dirname(__file__), 'oocyte.txt') OUTPUT_TEMP_DIR = os.path.join(os.path.dirname(__file__), 'temp/') class TestBasic(unittest.TestCase): try: os.mkdir(OUTPUT_TEMP_DIR) except OSError as err: ...
[ "wei.wei@mogrify.co.uk" ]
wei.wei@mogrify.co.uk
1bc864f2766f25ba6da9bdb18c33c914f4310381
fc484bfe16097e0801cec3720d9c5c2292c0beaf
/miRi/Scripts/pisa-script.py
54bdee9d036fe87322fbc2b0819d635cc1dc428e
[]
no_license
AkhilATC/miri_app
dd2257695291b6e7637792732a0bb42fc3502619
e816ed5d4bf82f9c24b45732100dff37280466e3
refs/heads/main
2023-08-29T20:48:26.697497
2021-11-14T06:32:04
2021-11-14T06:32:04
384,651,892
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#!c:\users\akhil\desktop\miri_app\miri_app\miri\scripts\python3.exe # EASY-INSTALL-ENTRY-SCRIPT: 'xhtml2pdf==0.2.5','console_scripts','pisa' __requires__ = 'xhtml2pdf==0.2.5' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ...
[ "akhil.cheriyan@cognicor.com" ]
akhil.cheriyan@cognicor.com
27a2f1147b18c0c6298ca7f084000e7a60b0286d
af8ee3a30a76fcc49131475709e16d209e85d08b
/L3/p2/tl3/src/backend/trabajos.py
f9fe1a9cbd6de817084bea626f89f0f8359670f9
[]
no_license
mbarja/SistemasDistribuidos
99a3abee199d1ea14e3a483f3c3f96dfb3393868
e67da3f022613df0039fbc0ddb44854adb6c6b24
refs/heads/main
2023-01-30T13:50:08.284777
2020-12-14T21:54:42
2020-12-14T21:54:42
300,089,459
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
#!/usr/bin/python3 import os import cgi import cgitb import json from http import cookies from sqlalchemy import * from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker import logging import datetime from db_handler import Database cgitb.enable() logger = logging.getLogger() d...
[ "mmbarja@gmail.com" ]
mmbarja@gmail.com
9fd29221a17085e923fe0e3496a327328610a73b
7be77821174c49d972fd8709bacf8520f9bb5b80
/single_wind_change_animation.py
ab1433a28c2d47ce2f83ff9c3a64f5b028f860df
[]
no_license
nathangs6/firespread
67428677f6bbc00a5a3eaa675ee938165350d67a
23f404fbfe404f29f7aa36e8441f7d40caf965e1
refs/heads/main
2023-08-29T22:05:30.394400
2021-09-30T23:30:27
2021-09-30T23:30:27
410,591,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
""" Title: single_wind_change_animation.py Author: Nathan Gurrin-Smith Description: Animation for a single wind change """ import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation import fire a = 1 f_old = 2 g_old = 0.5 h_old = 1 t_0 = 4 f_new = 5 g_new = 3 h_new = 2 beta = ...
[ "nathan.gurrinsmith@outlook.com" ]
nathan.gurrinsmith@outlook.com
79e92cc29b86832701a7f6f8f7988dc7c140fc18
bfbf5a47b4c8cc28d8f9d48867b4a12aea5a6210
/phaseOne/manage.py
40cc9358775e58a5443e03ce11056abe9aaeaff6
[]
no_license
ShoeShine9/phaseOne
7ab5450e336186a204ef901168bc9bf20c75144e
3ea06863127916bfb11157c1be3d82d691d1dd94
refs/heads/master
2020-05-27T02:29:30.510611
2017-02-21T04:06:26
2017-02-21T04:06:26
82,513,648
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "phaseOne.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "jknot7172068@C02Q9CTUG8WN.local" ]
jknot7172068@C02Q9CTUG8WN.local
e162fcea367639fdb66635de3d615f834ca418da
f5efe75f34e27b7dba482906c5212ff7a1717d5f
/square.py
8fcb4658da13c5dae613f3ae6af9620af0621de2
[]
no_license
MorEye/Python-Codes
bf5d78590995f43a33e4a3a6000d6589ad5e4ff4
2fda38c6d5cc75e6387a80ddc6ee7545b13c3b91
refs/heads/main
2023-08-18T20:28:37.304726
2021-09-12T07:06:56
2021-09-12T07:06:56
405,385,058
0
1
null
2021-09-30T17:06:18
2021-09-11T13:21:40
Python
UTF-8
Python
false
false
185
py
While true: i = input('Please enter an integer(0 to exit):\n') i = int(i) if i = 0: print("Exiting the Program") break print(f'{i} square is {i ** 2}')
[ "noreply@github.com" ]
MorEye.noreply@github.com
7b424aa4ed06c6b879a35d61c674eb9e76d2e32d
194f895390965fdf77be10c1cdcf49f7551d208e
/catalog_output.py
8ad696287c2f5afa946fedd18dcb08a6be643eae
[ "MIT" ]
permissive
low-sky/gbsh2co
24a801fe5882a7de20007de127220d5a37d9f32d
92cf1ab7e1275decfceb2e0c16fb1940b49c21b3
refs/heads/master
2021-01-22T12:12:29.634326
2015-01-07T20:52:48
2015-01-07T20:52:48
26,287,956
1
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
import astropy.io.fits as fits from astropy.table import Table,Column from astropy.coordinates import SkyCoord import astropy.units as u import pyregion import numpy as np t=Table.read('s2_450.fits',format='fits') t.add_column(Column(data=(['SCIENCE']*len(t)),name='type')) t.add_column(Column(name='Name',data=([' ...
[ "rosolowsky@ualberta.ca" ]
rosolowsky@ualberta.ca
735a53264c0de93745cb73c68eaf2dbfdfa9f7c1
6997bac611cbfbbffa13727758935d397190f8fc
/episode_3_iris.py
a982b7eac0e317c72454dc39d53ea95e966a238f
[ "MIT" ]
permissive
sohmc/machine-learning-google-dev
7d2eabc214e8ba625e146905aad77a06c97047bf
10ba93048f6da42875170e96c44f83b4a1643286
refs/heads/master
2021-05-06T05:01:38.538869
2017-12-22T20:03:41
2017-12-22T20:03:41
115,038,352
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
from sklearn import datasets iris = datasets.load_iris() X = iris.data y = iris.target from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = .5) from sklearn import tree my_classifier = tree.DecisionTreeClassifier() my_classifier.fit(X_train, y_tra...
[ "devnull@mikesoh.com" ]
devnull@mikesoh.com
0ba90ce97ac6b3d5bacbbf804012a22d87f02230
42536445f31e2f3c10effe63636e56a27b125b5e
/HashCode2020.py
07c6de6f9f152531f08632639b11d81240540366
[]
no_license
Giitto/HashCode2020
dc481f6c885475c4bbd51b314ce5995287f76fc7
91daf80a08f7a6bfe008f9aad82af73b01bece73
refs/heads/master
2021-01-08T06:50:11.754426
2020-02-26T07:54:51
2020-02-26T07:54:51
241,946,810
0
0
null
null
null
null
UTF-8
Python
false
false
2,738
py
import os import itertools import time import numpy as np dirpath = os.getcwd() file_name = 'b_read_on.txt' file_name ='c_incunabula.txt' books__ = [] def read_file(file_name): return [line.rstrip('\n') for line in open(file_name) if len(line) and line[0] != '#'] def get_int(file): init = file[0] D = init.split(...
[ "32240824+Giitto@users.noreply.github.com" ]
32240824+Giitto@users.noreply.github.com
ceea7cc2f0a579a232005ba70d10da6c7bea11bc
60fd23c13fffbe36af18a12b09ffdedce588302b
/test_servers.py
510f4bf1452bc59790532cd3be29bc287f609b18
[]
no_license
OUCS4263-SoftBearEngineering/RNG
9ac12d3dfb79da3fe9a807f0e4da7cec2743b558
8474871d6485eeda61d9278d74da8e041421f0ad
refs/heads/master
2020-07-26T00:32:11.121096
2020-01-27T02:02:06
2020-01-27T02:02:06
208,470,250
0
1
null
null
null
null
UTF-8
Python
false
false
892
py
import requests import unittest import yaml from datetime import datetime class TestResponseTime(unittest.TestCase): """ Outputs response time for single request for each server """ def test_response_time(self): with open("test.yaml", "r") as f: data = yaml.load(f, Loader=yaml.FullL...
[ "hopeanderson@Hopes-MacBook-Pro.local" ]
hopeanderson@Hopes-MacBook-Pro.local
60ab3392564ed2b34cd4e2194fd1c38bfcfd07c0
e0e6888bd1961ff7d1b585f7ebae0e050afac8c0
/nodes/yaml/__init__.py
419d1f3cac189a63ce7b1db4e118d88009e38e66
[]
no_license
mpdehaan/virt-factory
2c3827603b18faf8eca1d41ba470dbc0f9f08496
d5e880b132857d30501c750b90511bfeab01224d
refs/heads/master
2016-09-05T20:52:12.784908
2007-10-22T19:09:59
2007-10-22T19:09:59
143,106
3
0
null
null
null
null
UTF-8
Python
false
false
551
py
__version__ = "0.32" from load import loadFile, load, Parser, l from dump import dump, dumpToFile, Dumper, d from stream import YamlLoaderException, StringStream, FileStream from timestamp import timestamp import sys if sys.hexversion >= 0x02020000: from redump import loadOrdered try: from ypath impo...
[ "root@mdehaan.rdu.redhat.com" ]
root@mdehaan.rdu.redhat.com
d127203968e42abc05066342b92f8c62d9e3c4ea
bba5157f0390b23a1efda0786f24267d55fedd5c
/Textures.py
b1cfd928ae0fc20afb121e9780c3e92b381d0105
[]
no_license
Jagoslav/Platforming-Game---Level-Editor
d6174c923ef3492f8f7b9f675d14f25828f93971
87a3ae43cec1e25cb4f5c45b258810d78f9b46fe
refs/heads/master
2020-06-05T12:06:23.687055
2019-06-18T00:02:48
2019-06-18T00:02:48
192,433,426
1
0
null
null
null
null
UTF-8
Python
false
false
3,760
py
from Window import * import pygame import sys from tkinter import messagebox def load_texture(file_name): """ loads the texture and creates a surface with a texture blitted on top of it :param file_name: name of the file to load :return: surface if created properly, None otherwise """ try: ...
[ "jaankugrzeszczak@gmail.com" ]
jaankugrzeszczak@gmail.com
3d8c7d5d770afbabc37c26b2b4f7087815730720
aa191ccd50cda37337b1fa3429e7c4be994a50ae
/adafruit_midi/note_off.py
3e8382d559c70938dcf753de65b97905ef29e7d6
[ "MIT" ]
permissive
foozmeat/Adafruit_CircuitPython_MIDI
40b1ca1c9df78f54d3f773de2b1714e44bbc2579
ee30921e95fde2f0c5b56041a2ef37414bcd05df
refs/heads/master
2021-02-09T02:44:02.340914
2020-03-01T21:56:41
2020-03-01T21:56:41
244,229,805
0
0
MIT
2020-03-01T21:55:29
2020-03-01T21:55:28
null
UTF-8
Python
false
false
2,473
py
# The MIT License (MIT) # # Copyright (c) 2019 Kevin J. Walters # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, ...
[ "kjw.github@gmail.com" ]
kjw.github@gmail.com
7d1b61dc8d3700ed9b7482fdcdca7d06ddf849f0
a6fc4ccb433648e9c9179bf788ad256a0f2a92cf
/src/rlipp_helper.py
aa1f3272abc9c4089f42c4fc7f1459e3c845d64a
[]
no_license
paultianzeguo/nest_drugcell_sdp
9edc7f4a1060de5105f240c0821882236988c10f
ff6f1478e9cd0d15cc277343622a16c00a7bcaeb
refs/heads/master
2023-08-29T13:38:58.109522
2021-10-29T17:52:39
2021-10-29T17:52:39
423,262,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
import argparse from rlipp_calculator import * def main(): parser = argparse.ArgumentParser(description = 'RLIPP score calculation') parser.add_argument('-hidden', help = 'Hidden folders path', type = str) parser.add_argument('-ontology', help = 'Ontology file', type = str) parser.add_argument('-test', help = 'T...
[ "a2singhal@ucsd.edu" ]
a2singhal@ucsd.edu
ba006fc6e918649026dc09c0e93be3ee8e94b3fb
ad55ce7a2bba6fa7019b09e9794aa4c404978223
/models_test.py
d1ab9cf1e40a95cd848235c343a8f812a3fd727b
[]
no_license
SongJae/SELD
0cb39d56f20dbd7d43307894ce113536a83fc384
e3e813495e68250513bd79d87af34daf8c3bcaa7
refs/heads/main
2023-03-15T05:26:59.554335
2021-03-09T00:40:31
2021-03-09T00:40:31
345,834,527
0
0
null
2021-03-09T00:28:19
2021-03-09T00:28:18
null
UTF-8
Python
false
false
1,051
py
import os import tensorflow as tf from models import * class ModelsTest(tf.test.TestCase): def setUp(self): self.batch = 32 self.freq = 257 self.time = 60 self.chan = 2 self.n_classes = 2 self.x = tf.zeros((self.batch, self.freq, self.time, self.chan))...
[ "daniel03c195@gmail.com" ]
daniel03c195@gmail.com
eceb63dd7c16d972d345b43acd7ca8ff2bd8aa2e
667af8c92c5053c6dfc2ecd50806a5583bcf89d4
/class3_files/memorycheat3.py
bfb280c8ed41d529a3469cf9f49cc1fa183f48ef
[]
no_license
pygame2018/spring18
e5f166db3ecdaf9b499739902c84aca8034cea52
e556a62fb0dc81b999cc307676980d8877c363c7
refs/heads/master
2018-08-30T17:52:45.321773
2018-06-17T15:01:10
2018-06-17T15:01:10
119,594,818
0
0
null
null
null
null
UTF-8
Python
false
false
12,784
py
# Memory Puzzle # By Al Sweigart al@inventwithpython.com # http://inventwithpython.com/pygame # Released under a "Simplified BSD" license import random, pygame, sys from pygame.locals import * FPS = 30 # frames per second, the general speed of the program WINDOWWIDTH = 640 # size of window's width in pixels ...
[ "acls2018python@gmail.com" ]
acls2018python@gmail.com
d2156cfa96568ef6ca9b5824e5646df35f852c61
f614884c67ed1578574405673ceb726d0eb9a717
/cloudmesh-exercises/E.Cloudmesh.Common.2.py
31e6e0790dd9fd24541602bc8c70e3fd8fac2093
[ "Apache-2.0" ]
permissive
cloudmesh-community/fa19-516-171
5ff9a5ca667948f45b92a663748bb6a7638c5645
1dba8cde09f7b05c80557ea7ae462161c590568b
refs/heads/master
2021-06-26T12:34:22.063922
2020-07-30T12:38:15
2020-07-30T12:38:15
206,808,219
0
2
Apache-2.0
2021-02-08T20:37:15
2019-09-06T14:12:31
Python
UTF-8
Python
false
false
307
py
# E.Cloudmesh.Common.2 ## Develop a program that demonstartes the use of dotdict from cloudmesh.common.dotdict import dotdict from pprint import pprint Jagadeesh = { "Name" : "Jagadeesh", "Class" : "Cloud Computing" } Jagadeesh = dotdict(Jagadeesh) pprint(Jagadeesh.Class)
[ "jkandimaedu@gmail.com" ]
jkandimaedu@gmail.com
b2df8f27cd5d4d14b5223a244f2bcd6cf2720ddc
f64aaa4b0f78774464033148290a13453c96528e
/generated/intermediate/ansible-module-rest/azure_rm_frontdoorroutingrule.py
f59ed875aad2cbda07790fb752d5abdc38e7cce3
[ "MIT" ]
permissive
audevbot/autorest.cli.debug
e8996270a6a931f243532f65782c7f8fbb1b55c6
a507fb6e2dd7826212537f27d583f203aac1c28f
refs/heads/master
2020-06-04T05:25:17.018993
2019-08-27T21:57:18
2019-08-27T21:57:18
191,876,321
0
0
MIT
2019-08-28T05:57:19
2019-06-14T04:35:39
Python
UTF-8
Python
false
false
16,885
py
#!/usr/bin/python # # Copyright (c) 2019 Zim Kalinowski, (@zikalino) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "audevbot@microsoft.com" ]
audevbot@microsoft.com
c370f52d687214be35f297780c6357699c071400
6ef78d888bf0940645e47237cd9e5214d254aa80
/course_selection_model/src/core.py
e75ac3e79c0546c5a741eddb0c2720b68682d60f
[]
no_license
EnochMeng/exercise_library
ae477d246eee2c252dcd516c006fc68b588c750b
e041619787c9045947366166deb7c4d001b0020c
refs/heads/master
2021-09-07T17:04:39.630195
2018-02-26T14:59:22
2018-02-26T14:59:22
115,167,496
0
0
null
null
null
null
UTF-8
Python
false
false
13,057
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "Sam" # Date: 2017/7/4 from src import models from conf import settings import pickle import os s1 = models.School('ๅŒ—ไบฌๆ กๅŒบ', 'ไธญๅ›ฝๅŒ—ไบฌ') s2 = models.School('ไธŠๆตทๆ กๅŒบ', 'ไธญๅ›ฝไธŠๆตท') python = s1.create_course('Python', 19800, '6mons') linux = s1.create_course('Linux', 178...
[ "lingchuanmeng@foxmail" ]
lingchuanmeng@foxmail
a1d530110266afe81a9bbd327cde526441ccc73b
b79bce0cf363d2b6dd11371d378d78d48e973270
/tests/test_custom_multi_output_classification.py
d9959a3efafdab09cb105e8eec4ea79477e7dcfa
[ "Apache-2.0" ]
permissive
CharlotteSean/Kashgari
2d9338761b16d9804fb81ff92ce2ab1d256c80a7
ab9970ecf6c0164416bfbbec1378c690b0f00d76
refs/heads/master
2022-01-22T03:52:12.284458
2019-07-17T03:48:04
2019-07-17T03:48:04
197,900,673
2
0
Apache-2.0
2019-07-20T08:15:03
2019-07-20T08:15:03
null
UTF-8
Python
false
false
4,917
py
# encoding: utf-8 # author: BrikerMan # contact: eliyar917@gmail.com # blog: https://eliyar.biz # file: test_custom_multi_output_classification.py # time: 2019-05-22 13:36 import unittest import numpy as np import tensorflow as tf import kashgari from typing import Tuple, List, Optional, Dict, Any from kashgari.laye...
[ "eliyar917@gmail.com" ]
eliyar917@gmail.com
3c689db02683734bbd8d2366bb7ce24d2d8b02cb
22378261a582276ebb60f23d92271230da2d48e4
/tmp/cut_text.py
7c031f565a7a338f14847c37a1229c8763e9e6e2
[]
no_license
incliff/scraping_shunfeng_order
6cb854a074aac42841a17582388cb4f880da55a9
7240396bb2c80b94eecad6574f968846217cfb26
refs/heads/master
2021-02-26T23:13:34.297589
2020-09-10T05:09:20
2020-09-10T05:09:20
245,558,328
0
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException import time driver =...
[ "inciff@163.com" ]
inciff@163.com
18d541bcedfebd54f615819d9f463f9a4f5d577f
22c457aa0a8617d75ade0695490fe4bb9f54922a
/storyBegins.py
d8d106c68c3db5aa81db2b9cf4e58103a29bd959
[]
no_license
skimaxedout/old-Chris-Adventure
459659269640668df7bfb81f5d0983f869b266f6
a550e55885f22fe5e8440acd9389357914a0d546
refs/heads/master
2021-06-20T14:31:11.805737
2017-07-19T01:14:39
2017-07-19T01:14:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
import time #story begins, scene is set print "It's Friday at 4:48pm, the office is almost empty." time.sleep(2) print "You've been checking your watch every minute for the past hour." time.sleep(2) print "5 o'clock can't come fast enough." time.sleep(2) print "You see your new boss waddling down the hall." ...
[ "linkspitfire@yahoo.com" ]
linkspitfire@yahoo.com
64205a81dbe8d90601fab9c1baae0cb7ebf55939
34cd8c42bac69e81cec6e61c280db2ca0891e3e9
/platform/streaming_platform/wsgi.py
9e8ba9688b875d749042ddb834604c33ca90774d
[]
no_license
petrichbg/JustAnotherTwitchClone
8040abc3cd754ed44f08a8473934c41134685a6f
b85639603a82760485436e82383aa397ddfc575e
refs/heads/master
2021-10-20T14:52:51.133945
2019-02-28T12:32:13
2019-02-28T12:32:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for streaming_platform 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.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("D...
[ "suxinjke@gmail.com" ]
suxinjke@gmail.com
2bb3d78de34f01eb1c772aad34792e4282d2cbbd
e4ffe7fe6a2bb437717db4f6a33d73bce378c887
/TimerTrigger1/__init__.py
f1d20e18245bfe0533ea252f63f0d51eada52764
[]
no_license
TONYRYANWORLDWIDE/GoogleCalendar
f3fa1b8c01992d8b347ceb953831f196ae95e9a8
3cc99111a092fca41cfa0767786a75f9c25eb63d
refs/heads/master
2023-02-26T20:01:45.573855
2021-01-09T13:03:05
2021-01-09T13:03:05
327,047,211
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
import datetime import logging import azure.functions as func from . import app def main(mytimer: func.TimerRequest) -> None: utc_timestamp = datetime.datetime.utcnow().replace( tzinfo=datetime.timezone.utc).isoformat() app.main() if mytimer.past_due: logging.info('The timer is past due!')...
[ "aryan@masseyservices.com" ]
aryan@masseyservices.com
76ca764461a356281e93bef498c748c763889d90
e8137a851a4f78d3e280b3873b13e4038f2c5f6c
/Hex.py
a7f9a2c3443a57db736d9547250ccbb0e61a15a4
[]
no_license
Miccaldo/2048-HEX
48b1938d4820a1364c0f6b97fe83fc388670d7a9
94c3a7236f8a8edde83790446626054d4b1c38fe
refs/heads/master
2022-10-18T13:58:37.614103
2019-04-25T15:38:02
2019-04-25T15:38:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,799
py
from PyQt5 import QtCore from PyQt5.QtWidgets import QGraphicsItem from PyQt5.QtGui import QPolygonF, QPen, QFont, QBrush from PyQt5.QtCore import Qt, QRectF, QPointF import pyautogui class Hex(QGraphicsItem): def __init__(self, x, y, value, parent=None): super(Hex, self).__init__() self.setFlag(Q...
[ "miccaldo@gmail.com" ]
miccaldo@gmail.com
b6db08130173918bab964091422606ec2957af39
a34ec07c3464369a88e68c9006fa1115f5b61e5f
/A_Basic/String/L0_1684_Count_the_Number_of_Consistent_Strings.py
802755735771f634df680bf789b44d5b52ac935f
[]
no_license
824zzy/Leetcode
9220f2fb13e03d601d2b471b5cfa0c2364dbdf41
93b7f4448a366a709214c271a570c3399f5fc4d3
refs/heads/master
2023-06-27T02:53:51.812177
2023-06-16T16:25:39
2023-06-16T16:25:39
69,733,624
14
3
null
2022-05-25T06:48:38
2016-10-01T10:56:07
Python
UTF-8
Python
false
false
213
py
class Solution: def countConsistentStrings(self, allowed: str, words: List[str]) -> int: ans = 0 for word in words: if all([w in allowed for w in word]): ans += 1 return ans
[ "zhengyuan.zhu@mavs.uta.edu" ]
zhengyuan.zhu@mavs.uta.edu
c24f43d9102e4fae62fbde613135b74b8f456375
c79914628f03a0202031c8a0d207ba2618b1e084
/app.py
4c20716d95de6a6ea628e9f72cb535cfebfd9876
[]
no_license
7in14/pk-python
6aaa926b4491e298b25bebeeb73ccf88c7b562f1
8cf4f50f8444dd863d8bda83eee27b110aacec5b
refs/heads/master
2021-04-28T20:15:50.155384
2018-03-22T01:38:06
2018-03-22T01:38:06
121,920,666
5
0
null
2018-02-26T19:13:54
2018-02-18T05:15:35
Python
UTF-8
Python
false
false
89
py
from app import app if __name__ == '__main__': app.run(debug=False, host='0.0.0.0')
[ "karpik.pl@gmail.com" ]
karpik.pl@gmail.com
375461a85f4ed14690ae5cbd02eca16e5f68beb0
1c1edb210f6b5ed606fb36369cd212497fa66f20
/jobeet_py/settings.py
482712db242e963131a32abe86334aebbb4629dc
[]
no_license
calina-c/jobeet-py
9298dabdd28bc46f609781b5349d46686e4676d4
50d43032476c20db5507c7e870329afcee83bd19
refs/heads/master
2021-01-01T03:52:56.039130
2016-05-09T09:49:49
2016-05-09T09:49:49
56,233,153
0
0
null
null
null
null
UTF-8
Python
false
false
2,122
py
""" Django settings for jobeet_py project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
[ "ioana-calina.tutunaru@linkscreens.com" ]
ioana-calina.tutunaru@linkscreens.com
a96115a87a7ef16fcb4b6d4c224154e946389464
b2856e57a8293f56f2d1e8914a48dd1871fb94e7
/user/migrations/0005_auto_20200504_1549.py
412d493b96ff0904bf2a18e834db3fdbe5665fef
[]
no_license
Moson-Z/blog
eac1bae287f24efeefe738dc9e911ac58fbc664e
6e444f9a766cd728004cbbc7175b9d045403567b
refs/heads/master
2022-12-20T23:45:42.132784
2020-05-20T18:02:35
2020-05-20T18:02:35
251,606,531
0
0
null
2022-04-22T23:12:17
2020-03-31T13:11:33
JavaScript
UTF-8
Python
false
false
367
py
# Generated by Django 2.2.3 on 2020-05-04 07:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('user', '0004_auto_20200504_1546'), ] operations = [ migrations.RenameField( model_name='user', old_name='user_password', ...
[ "514939920@qq.com" ]
514939920@qq.com
e35937205e8d3e1959bb14e5709326f5e0f99946
0cdafa1af88c86eb584950a132447e7962053bbc
/scripts/plot_sensor_values.py
a1747a6d098484a3ffa8de053a6532c627486217
[]
no_license
thomasarmstrong98/mifarm
d370125990477dd5e49ee3265d12a870a39a7774
5ad24d82c3ff9d0edf66c70471367453f675258f
refs/heads/main
2023-03-30T23:10:57.753453
2021-04-11T17:21:52
2021-04-11T17:48:41
356,650,430
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import argparse from src.plot_sensor_values import generate_plot_from_logs if __name__ == "__main__": # parser = argparse.ArgumentParser(description='log filepath for serial output.') # parser.add_argument('-path', type=str, # help='filepath used to read serial output') # args = pa...
[ "thomasarmstrong98@gmail.com" ]
thomasarmstrong98@gmail.com
299773ba81b57afaa0dd21d8f35e2b7992a40201
3e49ee73a7a36f61cf75da45db071afc8f07012e
/Main.py
c182dade5bff3d8f9d4b7dbae97372437edc0823
[]
no_license
bbartek92/MP3_Player
89757487f2727c1d2f1d572b520deeac7160662d
9db2921f64e695a6b20c29d7e927b436c43a66f2
refs/heads/master
2020-08-19T06:18:44.767753
2019-10-17T21:27:01
2019-10-17T21:27:01
215,887,823
0
0
null
null
null
null
UTF-8
Python
false
false
10,535
py
import wx import glob import eyed3 import pygame import threading class Mp3Frame(wx.Frame): #main class which will start the program def __init__(self): super().__init__(parent=None, title='BeBe MP3 Player', size=(500, 300)) self.panel = Mp3Panel(self) self.create_menu() self.Bi...
[ "b.bujak@vp.pl" ]
b.bujak@vp.pl
e9b847a535c377115ef14db827572dee406d0f1b
55200b87bcb1ecc6c8425336570e8f16096dc548
/TF/test_mnist.py
466bc6f14bbb38569c9f50435592b9f55241077c
[]
no_license
OWEN-JUN/Study_DL
f6ec25b6a2a9eea90204dba3a3c38c593d809643
557c8d823be033aea318e6401c5b95e9d94e3df3
refs/heads/master
2021-06-20T17:51:23.936105
2021-03-15T09:02:42
2021-03-15T09:02:42
198,536,845
1
1
null
null
null
null
UTF-8
Python
false
false
3,034
py
import tensorflow as tf import matplotlib.pyplot as plt import random from tensorflow.examples.tutorials.mnist import input_data tf.set_random_seed(777) # read data mnist = input_data.read_data_sets("/~/deep_learning_zeroToAll/", one_hot=True) nb_classes = 10 keep_prob = tf.placeholder(tf.float32) X = tf.placehol...
[ "49712113+OWEN-JUN@users.noreply.github.com" ]
49712113+OWEN-JUN@users.noreply.github.com
905c22e72fab6cce3f2d827c24366e735408b64b
f5674cf2fe1be543d7ea6419943054a6f48c4f26
/CheckMate.py
10869cfd9e0d03d8e2913ddfebabef4682472be2
[]
no_license
jmazrimas/ms-cmm
5d277c850a5aad9ef6bb61b07b86dd7ff7c05852
0971a1aa520c273e61430f7099503e5051c124c0
refs/heads/master
2020-12-07T13:34:21.092792
2017-06-27T20:52:29
2017-06-27T20:52:29
95,573,310
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# # Run CheckMate # #import subprocess import os import sys def main(): """Main function """ run_checkmate('C:\\tmp\\test2.qif', 'C:\\tmp\\test2.dmi') def run_checkmate(input_file, output_file): """Runs CheckMate to generate DMIS from the given input QIF file """ ## f = open(output_file, 'w'...
[ "joe.mazrimas@uilabs.org" ]
joe.mazrimas@uilabs.org
9207c9cab23edfac359cbc19c3db823e8b193cb9
84d2efd222fa190c8b3efcad083dcf2c7ab30047
/linRegNoSTD.py
34a9e45c64ae6545a196ca7279c57aa4acfd4220
[]
no_license
webclinic017/Capstone-2
aedfc8692647f2e84114da5b2e32856d0de80586
d476723f7893c7c5da14e24f28736a8f0ba7ff55
refs/heads/master
2023-01-23T06:44:36.868373
2020-12-03T19:44:51
2020-12-03T19:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import sklearn.linear_model from alpha_vantage.timeseries import TimeSeries api_key = '8FIYTT49ZEZT2GV5' ts = TimeSeries(key=api_key, output_format='pandas') data, meta_data = ts.get_daily_adjusted(symbol='SPY', outputsize = 'full') data...
[ "noreply@github.com" ]
webclinic017.noreply@github.com
8a7cd0f08b68dc4057ee10d189ebc2f3904b215f
8d903308c79a8e8cc18a2d788f3a5113f18d7f25
/Day 8_2.py
ac6c99ebf03689cf09214fe2214dd6398f3cef6b
[]
no_license
Ace314159/AoC-2018
fb10382b5bc5e8a7be670f7d00527e49e4868091
c8b1e4aee85a61f60f52a59cc91284fe325fb5fe
refs/heads/master
2020-04-09T03:37:07.275807
2019-01-06T06:48:23
2019-01-06T06:48:23
159,989,590
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
import pathlib data = map(int, pathlib.Path("inputs/8.txt").read_text().splitlines()[0].split(" ")) metadataSum = 0 def buildNode(): global metadataSum node = {"children": [], "metadata": [], "metadataSum": 0} numChildren = next(data) numMetadata = next(data) for _ in range(numChildren): ...
[ "akash.munagala@gmail.com" ]
akash.munagala@gmail.com
3f209c133fd7f4bda9cd7f2691937376771e0997
13102a790732ddd3cedb9d6cf0cb813d6f2a895c
/20201211/14.pythonํž™๊ตฌํ˜„.py
b73858a71c9365ef6eba0fa49fcd6a2ccb71a4e0
[]
no_license
MsSeonge/infrun-C-CodingTest
72d3769189b8124de13c11af678a459e348b52d2
2cb5e6b96bb1a4aa527c15ed58eef4340a5e8976
refs/heads/main
2023-01-23T22:35:26.726890
2020-12-10T23:33:31
2020-12-10T23:33:31
319,673,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
# i ๋ ˆ๋ฒจ ์™ผ์ชฝ ์ž์‹๋…ธ๋“œ๋Š” (2i+1) ์˜ค๋ฅธ์ชฝ ์ž์‹๋…ธ๋“œ๋Š” (2i+2) # i๋ฒˆ์งธ ๋ถ€๋ชจ๋…ธ๋“œ์˜ ์œ„์น˜๋Š”(i-1/2) class MaxHeap(object): def __init__(self): self.queue = [] def insert(self,n): self.queue.append(n) last_index = len(self.queue)-1 while 0 <= last_index: parent_index = self.parent(last_index) ...
[ "srkim0371@gmail.com" ]
srkim0371@gmail.com
295c7ff7ef0cbbfce1f65cde6f4f04de53a5d4b5
f33306933b3880fb30580b1cf1a1b57eb7fbb9c7
/Dojo-Secrets/myServer/myServer/urls.py
7aa7d122be49830aa1ffc79264746de3befe2aaa
[]
no_license
quincyadamo/django-homework
69aaed0aec045a8952d42366718ed5482ca42ece
49af49d3634df6883f60f9d2255d572ab15d4be1
refs/heads/master
2021-01-01T16:03:56.321066
2017-07-19T22:41:32
2017-07-19T22:41:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
"""Dojo Secrets URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cla...
[ "quincyadamo@gmail.com" ]
quincyadamo@gmail.com
ba10ed31f00d72fcec61ada9fe8e91cda79da8b5
923daaa56d689c0c3d197f0461334ad560e4d8b1
/day05/day05/urls.py
e59ed0eda41ac980f436f5e4440ca0cce27d8d79
[]
no_license
kunata928/django_piscine
1b0b76cb1df525753f2ca061b524754539e9bfcd
aab9caaa837197d57f8fc03bbb59221ef2c6b6ee
refs/heads/master
2023-07-16T14:38:54.213261
2021-08-20T13:01:42
2021-08-20T13:01:42
398,274,987
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from django.urls import path, include urlpatterns = [ path('ex00/', include('ex00.urls')), path('ex02/', include('ex02.urls')), ]
[ "natalikuntso@gmail.com" ]
natalikuntso@gmail.com
b2b99afce1313d1e0037e4df7da176c2b7806bce
99c5c883e0138c95d1bdfbfd1ea5ddb5107fd0e0
/_javascript.py
b182c984224dcbf8cdb80fb9287be0bb70bfc379
[]
no_license
maxxiimo/voice-commands
b508b2620861ecf0cc41b1d7fec5effd6d1552b4
71b6ebba683aa5bb9b9d72c6b1eacecbd9adfbd0
refs/heads/master
2021-03-22T01:12:26.870596
2017-12-18T16:59:52
2017-12-18T16:59:52
109,174,897
1
0
null
null
null
null
UTF-8
Python
false
false
19,618
py
""" This module is for coding JavaScript. """ from dragonfly import (Grammar, AppContext, MappingRule, Dictation, IntegerRef, Key, Text) sublime_context = AppContext(executable="sublime_text") grammar = Grammar("javascript", context=(sublime_context)) javascript_rule = MappingRule( name="javascri...
[ "cmaxwell@viewthought.com" ]
cmaxwell@viewthought.com
b70fdd3991ea949c890cd265bfad70b30a2ea4a5
b35bf29de6123f4ea438d8cd6dea100be9cd250e
/RemoteLaunch.py
94939b1d5a1b9576e3f829f7ba1c44be5fac0e45
[]
no_license
kunal2991/Cloud-Computing
81711ee78b282dae953bb5cd84188043c8382909
fd3b7607687db22ff85003f946d0263cbb7bcee0
refs/heads/master
2021-01-15T14:28:49.324450
2016-09-19T19:28:37
2016-09-19T19:28:37
68,638,599
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
import boto.ec2 import sys import time noOfInstances = int(sys.argv[1]) #Storing the number of instances to be launched from the command line print "No of instances to be launched------->"+str(noOfInstances)+'\n' conn = boto.ec2.connect_to_region(sys.argv[2],aws_access_key_id='Your ACCESS KEY goes here',aws_secre...
[ "kunalbarde@Kunals-MacBook-Pro.local" ]
kunalbarde@Kunals-MacBook-Pro.local