blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
cb3db768dc1343418cd45430123426146f56856c
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_09_01/operations/_deployment_operations_operations.py
a410f6846b1f4e88ddb19e928e3938e34985065a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
9,224
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
b47447d27ccb313ccb7865c77474e2bddc596e60
267248bfb38358e6ad3e0cbde3aa52d64fc90754
/ship.py
bc01b7bb95551475b7cf1fe7fc071bb018fb5f7c
[ "MIT" ]
permissive
AnthonyDiGirolamo/heliopause
6118d4a5736c1abe57e70bdcf9739333b18c61a9
2b35ecfe6a38635e4356a9e9b697a5104f5f5cb3
refs/heads/master
2020-05-18T13:49:47.009361
2015-09-07T17:17:26
2015-09-07T17:17:26
14,905,054
8
0
null
null
null
null
UTF-8
Python
false
false
9,953
py
import libtcodpy as libtcod import math import pprint pp = pprint.PrettyPrinter(indent=4, width=200).pprint from particle import Particle, ThrustExhaust, BlueBullet from ship_editor import ShipEditor class Ship: sprite_index_heading = [a for a in range(0, 360, 10)] def __init__(self, sector, posx=0.0, posy=0...
[ "anthony.digirolamo@gmail.com" ]
anthony.digirolamo@gmail.com
0505ec3ebf6fea154a521b3e4c0cb0fff6c1cc04
d37a1eb01d654c71c8974ae3c6a4eded1fd04a3c
/Python学习/op/03.py
5643fb8f912016785ebf2348f899edfa5a2f1c82
[]
no_license
Guochao4028/python
eda92b37478d24753143a6f0d11ff069649870dc
9026b722d5fb6896506dd57f2f38fd1c5949e6bf
refs/heads/master
2020-04-29T17:56:42.271522
2019-05-19T03:16:06
2019-05-19T03:16:06
176,309,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
''' 类的三大特性 ''' ''' 封装 ''' #class Person(): # name = "adf" # __age = 18 #p = Person() #print(p.name) #p._Person__age = 19 #print(p._Person__age) #name mangling技术 #print(Person.__dict__) ''' 继承 ''' ''' #在Python中,任何类都有一个共同的父类叫做object class Person(): name = None age = 0 def sleep(self): print("*"...
[ "402249112@qq.com" ]
402249112@qq.com
8bc933eb23b1b925a26d08d2b8d28e971afd2790
f33caba02f8d09ff51ce77682d818c56124a41b8
/booksPractice/flask_app/controllers/books.py
40c3fc2bbc9f3c718e59f735626dd0fe3016db82
[]
no_license
kevd82/python_fundamentals
04f5f13918d63519e38b766011e627a0a893cf17
99e4bdf3fc0d0db4efe0e5bafb0f05ad3a5b5947
refs/heads/main
2023-07-19T04:50:04.932440
2021-09-12T04:11:39
2021-09-12T04:11:39
374,846,858
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
from flask_app import app from flask import redirect, render_template,request from ..models.author import Author from ..models.book import Book @app.route('/books') def books(): return render_template('books.html',all_books=Book.get_all()) @app.route('/create/book',methods=['POST']) def create_book():...
[ "noreply@github.com" ]
noreply@github.com
400ab436889e7d009b7591fc8590baf7d6cb269c
142ee8a33082f54760d932648cdd4c8d9865df99
/pblacore/asgi.py
da1b9f22643432e0328657572ff425a764bce694
[]
no_license
equipegenesys/pbla-django-core
0cbdd5d88d7f8b6aa447faa2a89fb138dd3a4ebb
0193b130c703a9e22947602cf71a3ff99eb003a5
refs/heads/main
2023-07-05T22:30:38.292220
2021-06-06T19:41:53
2021-06-06T19:41:53
354,183,595
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for pblacore 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "cgmonte@gmail.com" ]
cgmonte@gmail.com
9187a9b020fb8f351f5fe402f49ad7d96b64bd3c
108e7194d42752ae5daf2984eb9e3ac8b383dd0a
/src/resources.py
71d8e7742c5489696c220663e000bb1f53e7fe02
[ "MIT" ]
permissive
AMalkov-Quest/Riurik
4b55be221e1904d7bec0cd7472437bfc30d8a6b4
c076d89efdec5ad02027705c7c8031fd2d683123
refs/heads/master
2022-01-21T19:04:02.931992
2015-09-19T14:58:28
2015-09-19T14:58:28
1,273,963
0
0
null
2019-07-23T23:21:59
2011-01-20T08:02:13
HTML
UTF-8
Python
false
false
9
py
ok = 'OK'
[ "Andrey.Malkov@quest.com" ]
Andrey.Malkov@quest.com
1147ac5a88e92acde4acb8a196fcc7b436b0ae4e
6e8063b535d32080341af99106c34409b67b56b5
/serverapi/views/texts.py
c31a848ade1f421b4adaedf838504edb96741c03
[]
no_license
tedmarov/mockingbird-server
0284fea503dba60302e27d7efaa62ac0cd6df07c
4b73732ff11211bf9c1c313cf35269ef2c932e1d
refs/heads/main
2023-04-11T01:07:00.749337
2021-04-28T14:32:40
2021-04-28T14:32:40
346,842,747
0
0
null
2021-04-28T14:32:42
2021-03-11T21:26:51
Python
UTF-8
Python
false
false
2,469
py
from django.contrib.auth.models import User from django.core.exceptions import ValidationError from django.http import HttpResponseServerError from rest_framework import status, serializers from rest_framework.decorators import action from rest_framework.viewsets import ViewSet from rest_framework.response import Respo...
[ "tedmarov@gmail.com" ]
tedmarov@gmail.com
0ce3fa79250dbb1badfce330d72459e766d85f22
53266ed459d531aed96df225b205c9226057fffd
/OLD/_ONE/gen_internals.py
8b81b6398720f477e2678c7681cbff0a1ccb5639
[]
no_license
strickyak/rye
17b1f4328ab3bb14a1bdf2ca4c522343e3bd0d06
83094b0ea5b857458561d45fe6c971176e263167
refs/heads/master
2021-04-22T06:37:54.739459
2019-01-06T02:33:26
2019-01-06T02:33:26
16,305,560
10
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
# This file is generated when builtins.py is compiled. InternalInvokers = [ (0, "Close"), (0, "Flush"), (0, "Recv"), (0, "TryRecv"), (0, "Wait"), (0, "__init__"), (0, "clear"), (0, "close"), (0, "copy"), (0, "flush"), (0, "isalnum"), (0, "isalpha"), (0, "isdigit"), (0, "islower"), (0, "iss...
[ "strick@yak.net" ]
strick@yak.net
ba6791f37361e3dd41994a254ffaa037c7ef91d4
78b46339f1920db34b8a797b805b84d07e82ae5c
/tko.py
836db192127c6cf79c97fd88d60224828a1075c7
[]
no_license
woodliwei/Algo
e4bd4f6a7e54b91c7deb885b3cb6afb077acd59d
7aa38bf7830db16900b7ececaca6237aa6aa946b
refs/heads/main
2023-04-06T06:02:54.297064
2021-04-12T08:41:46
2021-04-12T08:41:46
355,414,991
0
0
null
null
null
null
UTF-8
Python
false
false
2,418
py
import time from binance.exceptions import BinanceAPIException, BinanceOrderException from binance.enums import * from time import sleep from binance.client import Client from binance.websockets import BinanceSocketManager from twisted.internet import reactor from Clients.Util import * from datetime import datetime ap...
[ "noreply@github.com" ]
noreply@github.com
76ac00b188b7363a041bcffe76501a4517a743f2
92ca3e5700705022327699af5c7f67845edbc168
/setup.py
0221055fed377d5a7598a961f4aad211841a562e
[]
no_license
ellerychan/bttouchbarss
438a400b1cb10e18172866ccc42348c361a553c1
51b2c17ad01af0374e49a29d4e342b96750cd615
refs/heads/master
2021-04-12T09:28:01.019901
2019-10-29T17:11:24
2019-10-29T17:11:24
126,502,301
1
0
null
2019-07-24T18:54:29
2018-03-23T15:12:21
Python
UTF-8
Python
false
false
132
py
from setuptools import setup setup( name='rss', version='0.1', install_requires=[ 'feedparser==5.2.1' ], )
[ "ellery@precisionlightworks.com" ]
ellery@precisionlightworks.com
9b87f8cbe9f452b065e3dcf17c4d4aa808716c35
fb601c81291892deef3ea1d1b72d9f51e78043cc
/sketch_diff/wsgi.py
2b6c31d1898bd28d08ca5af51933b03e9700a63c
[]
no_license
mhshih/sketch_diff
b702f832630eeb738e3fcb36673f876e863d21d4
5e3148e523ba1ec448706feada5d7ab51911c501
refs/heads/master
2020-04-14T11:12:32.301717
2019-01-08T05:23:59
2019-01-08T05:23:59
163,807,536
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for sketch_diff project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "d00142002@ntu.edu.tw" ]
d00142002@ntu.edu.tw
575034d2012d7bb214c870f457a311fcaf29971b
8ede2ed844ba58c99cc49ed5b22e15ded17195e0
/oss/wsgi.py
8e66468f305b5d7ae63766ee8477f37bf2d013ad
[]
no_license
04-30yan/oss
81e43996f7113badeed42d181366b36fc7aa0f10
68d3ef53e8735c393dc25769df14fc3e3070549f
refs/heads/master
2021-01-21T01:44:43.804089
2016-08-17T06:56:34
2016-08-17T06:56:34
65,882,895
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for oss 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/dev/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_...
[ "1105946906@qq.com" ]
1105946906@qq.com
7a3ed0af76625dfcfca6d66cdafb50c07fe8290e
e7a9fe26b21fd471395b213c25286b67cc0a32de
/HW1/hw1-solutions/pcc.py
067f7aab2579267e641f1f40cd3d41bfd398b8c0
[]
no_license
snjazim/ECE-657A
320f8e231b69f9e39c22dae2c789973e18cbba62
2aad9a9accee7cfe787d51810dc8743ea3043dd0
refs/heads/master
2022-02-02T23:48:04.200623
2019-04-30T04:25:31
2019-04-30T04:25:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
import pandas as pd from scipy.stats import pearsonr df = pd.read_csv('wdbc.csv') df.set_index('ID_number', inplace=True) corr, _ = pearsonr(df.area, df.perimeter) print('Pearsons Correlation Coefficient of Area and Perimeter: %.3f' % corr) print('The pearsonr() SciPy function is used to calculate the Pearson correla...
[ "noreply@github.com" ]
noreply@github.com
67d5e87248fb1c54f3931d7cff12617d57361461
2ccb3be2d5748990588074dfc05e294cc924ae2e
/GGNN/create_valid_ids.py
705d171a31df49af76acee6a388b42259ed3e2ab
[]
no_license
noobanti/ProgramAnalysis-GGNN
007b64bc9806f41264937efab3e9c28ef528fbf2
d2fec18abec0db68a7517a7a0d1113815e919a57
refs/heads/master
2021-10-19T13:52:28.123143
2019-02-21T15:57:09
2019-02-21T15:57:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
import glob import random import json ids = [] for graph_path in glob.glob('../graph/*.graph'): idx = graph_path.split('/')[2].split('.')[0] random.seed(idx) if random.random() > 0.5: ids.append(idx) with open('./valid_idx.json', 'w', encoding='utf-8') as vf: json.dump({"valid_idxs": ids}, vf)...
[ "fengjunhui31@outlook.com" ]
fengjunhui31@outlook.com
770babe39b6a6b6f8990fae22c2babe2ce0594c8
366d9d365fd2b388f103137a772d4c64751bda0e
/2nd_round/test1.py
8e9fe7c1811af99e23baf46e0f137ed2a7a65175
[]
no_license
halqin/py_practise
d3df4d86c4ae51ad6667c4583f0f8543b83f137e
bb3e3123565ea4779486a63ef1c4ef20b821a9c0
refs/heads/master
2021-09-09T13:10:48.252939
2021-09-05T09:09:50
2021-09-05T09:09:50
174,799,283
0
1
null
null
null
null
UTF-8
Python
false
false
1,760
py
def conver1(alist, card_dic): for idx,val in enumerate(alist): # if val in card_dic: assert (val in card_dic), "wrong card range" alist[idx] = card_dic.get(val) # alist = list(map(int, alist)) return alist def solution1(A, B): assert (len(A) == len(B)), "different number of card...
[ "hao@westray.eu" ]
hao@westray.eu
fe67d41fd65451bb0d8a28f0b330c4a2d1a81b93
3c67984d44f771ee4e5de93fd08624bcc5fd0fd5
/eCommerce/commerce/migrations/0003_auto_20190316_1359.py
d62b41b607d0d392aebe0442e33437ebc8b90c1b
[]
no_license
MahmoudAdel1996/e-commerce
a322ddba23ac39b9e12b4c196bba5125fb54eb43
eb40f4d5fc265464f42e451edbd2e163e1806b0d
refs/heads/master
2021-12-14T13:52:39.628403
2021-12-05T23:57:55
2021-12-05T23:57:55
176,359,382
3
1
null
null
null
null
UTF-8
Python
false
false
742
py
# Generated by Django 2.1.7 on 2019-03-16 11:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('commerce', '0002_auto_20190314_1645'), ] operations = [ migrations.AddField( model_name='products', na...
[ "mahmoooud.adel@gmail.com" ]
mahmoooud.adel@gmail.com
7df09e682df7e7645d1494e1a0b7ec8352bb3f8f
5a92286e78b7a4c4513c848447cd4b22738f7157
/Concurrency/Concurrent Communications/priority_queue.py
2530e8446a70d399a75485609a7680476720651f
[]
no_license
favensec/Python-Projects
eb0e2d54f05ec55cd349b0fc052fc4096b9c42e6
5f9b4a035bdfc22e67d631244be4ea3cd9c5b713
refs/heads/master
2020-03-26T01:59:19.842988
2018-10-03T13:47:26
2018-10-03T13:47:26
144,391,507
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import threading import Queue import random import time def mySubscriber(queue): while not queue.empty(): item = queue.get() if item is None: break print "{} removed {} from the queue"\ .format(threading.current_thread(), item) queue.task_don...
[ "favensec@protonmail.com" ]
favensec@protonmail.com
17213a3a1dd22c198e1cad762a6cf1941a01f5e2
ccbfca8ef5ec6acf4806d86dc11e21356d56af9f
/src/googleImageDown.py
89bb40ddb7a9f231628878b2fc80872a6d828374
[]
no_license
Frans06/AccentureBBVA
e461a03a66e781898f02650114575022fc41c812
3af8fcd9af2f33ffff630ddaa781e0412302b0d4
refs/heads/master
2020-03-28T08:35:47.372037
2018-09-09T07:08:00
2018-09-09T07:08:00
147,975,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
import os from google_images_download import google_images_download #importing the library import shutil from os import listdir from os.path import isfile, join def down(name): name = "\'" + name + "\'" path = 'downloads/' + name response = google_images_download.googleimagesdownload() #class instanti...
[ "franscaraveli@gmail.com" ]
franscaraveli@gmail.com
82613acce0ae9f7f5f98b7e788444a5660de8c5c
52b5773617a1b972a905de4d692540d26ff74926
/.history/goatLatin_20200803094226.py
95977408a574cf0cbbe7838b30f3c6531d9dfa24
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
def goalLatin(S): vowels = {'a','e','i','o','u'} S = S.split(" ") count = 1 for i in range(len(S)): begin = 'a' newWord = "" if S[i][0] in vowels: begin = begin * count newWord += S[i] + "ma" + begin else: begin = begin * count ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
b80f98705acca28dd03ee1c8842a46b886af7646
0f414d2c7972bf02ae26c9be5f10229f280533be
/.vscode/coba canbus.py
23655bd854a23ae59521e21329bbdfdf227cdf25
[]
no_license
huseinaji/Python-HMI-Battery-Charger
fe68530671f932831464debd4fe156bd202ecc5e
a93300527b27cf881e9e899fa3ebe62acd127e22
refs/heads/master
2021-07-21T17:50:21.829307
2021-07-12T13:23:55
2021-07-12T13:23:55
248,419,877
0
0
null
null
null
null
UTF-8
Python
false
false
5,408
py
import time import os import subprocess import logging import threading import can import RPi.GPIO as GPIO from datetime import datetime # global variables DEBUG = not False SECONDS_DILATION_MAX = 60 GPIO_LCD_POWER = 44 GPIO_LCD_BACKLIGHT = 42 CAN_ID_SUBMODULE = 0x000 CAN_ID_RTC = 0x001 CHANNEL = "can0" BITRATE = 50...
[ "huseinaji@gmail.com" ]
huseinaji@gmail.com
8b0487909b65b8d36503c35bd1cf133ed4097a44
ef358b0ba0c61bfd63ec32dd023c71786a6a14f8
/packages/snippets/migrations/0001_initial.py
13a9eef345e04ac7000d4ef8f4081a10f6db3e16
[]
no_license
amirhossain2k9/code_highlighter
069545e424153865e89d3f4d9addbb32e44bf11e
00b162e778f7131a276cba88549464b5b6ccdecc
refs/heads/master
2022-04-30T23:37:32.594139
2019-08-23T18:17:15
2019-08-23T18:17:15
200,519,515
0
0
null
2022-04-22T22:00:57
2019-08-04T17:01:55
Python
UTF-8
Python
false
false
13,261
py
# Generated by Django 2.2.4 on 2019-08-05 14:41 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...
[ "amirhossain2k9@gmail.com" ]
amirhossain2k9@gmail.com
a01ba3aba662bafc2ad54ecf4b831c7b20d9fb6e
fe414ec568c195e85864c607dee612d560fcf4b9
/downloadSchema.py
0335594efcdc2ed43d799cc798817765f90514fc
[ "MIT" ]
permissive
mostaphaRoudsari/dragonfly-schema-dotnet
02ad41e0de7efef1ff63f05308548fa37a971a9a
2a6479099d8283ee166533e9f980e696c6a5364e
refs/heads/master
2023-03-23T04:57:00.322376
2021-03-05T19:33:33
2021-03-05T19:43:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
import os import urllib.request import json import shutil import sys def download(url, dir): json_url = urllib.request.urlopen(url) data = json.loads(json_url.read()) json_file = os.path.basename(url) save_path = os.path.join(dir, json_file) print(f'Saving {json_file} to {save_path}') with o...
[ "mingo1214@gmail.com" ]
mingo1214@gmail.com
96fc1999f16f81a523dbeef886bf7a8358e170d4
59b24f9e41bd020b378c922508629eae3b1867ad
/vagrant/gregslist/modules/login.py
09edcde63eda116eb3d83a9f88de556d487b40e4
[]
no_license
tdnelson2/Item-Catalog-Application
37ef6bd9fbe5f113defe10f4097fac17b7565c94
a902118621939b8709c410ee3947269ba94bbd55
refs/heads/master
2020-12-03T02:18:17.170361
2017-07-31T19:50:06
2017-07-31T19:50:06
95,924,498
0
0
null
null
null
null
UTF-8
Python
false
false
10,369
py
from flask import Blueprint, request, jsonify, render_template, flash, url_for, redirect from flask import session import random import string import json from oauth2client.client import flow_from_clientsecrets from oauth2client.client import FlowExchangeError import httplib2 import requests from sqlalchemy import crea...
[ "tdnelson@gmail.com" ]
tdnelson@gmail.com
a48fc7b47b8c888ac0173f2c85b6eee2778b957f
eac7f7b96ebce1351dc6b50e45f1fcfa0f930dbb
/python/graphscope/interactive/query.py
b848c3c4251f27b449d1ffbb815dab5ff5b304e6
[ "Apache-2.0" ]
permissive
Jancd/GraphScope
82bc43e02717fc3df1811ccfb73f476649b709fa
e162f11886dc49d68038836b665aa5381cea8d24
refs/heads/main
2023-01-31T18:40:06.995923
2020-12-15T01:24:12
2020-12-15T01:24:12
321,543,831
1
0
Apache-2.0
2020-12-15T03:39:00
2020-12-15T03:38:59
null
UTF-8
Python
false
false
5,129
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2020 Alibaba Group Holding Limited. 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...
[ "linzhu.ht@alibaba-inc.com" ]
linzhu.ht@alibaba-inc.com
07650116b243fdcdc1d07d9421308b6cee3c708e
c4af67db4c523d20f2d55aef90ba77db1fb53c38
/PlonePAS/pas.py
64c88fe9034587bc6f6eee27b0ac545a42c18253
[]
no_license
dtgit/dtedu
e59b16612d7d9ea064026bf80a44657082ef45a3
d787885fe7ed0de6f9e40e9b05d852a0e9d60677
refs/heads/master
2020-04-06T05:22:50.025074
2009-04-08T20:13:20
2009-04-08T20:13:20
171,351
1
0
null
null
null
null
UTF-8
Python
false
false
14,706
py
############################################################################## # # PlonePAS - Adapt PluggableAuthService for use in Plone # Copyright (C) 2005 Enfold Systems, Kapil Thangavelu, et al # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should...
[ "ron@domU-12-31-39-02-65-03.compute-1.internal" ]
ron@domU-12-31-39-02-65-03.compute-1.internal
72d6eb467f7fc49981f649bfc5e3c39dde88d9fc
71900f600c3ebc78223c5604074ad0b29a2e6404
/Tomo_sim/tomo_sim.py
eb0dd862cd5d638fc75d735b5b02b9ea2c5ba62d
[ "Apache-2.0" ]
permissive
ltang320/PXST-Development
753c1287e33959634716129305d73686314df643
0c158bbd958f39c4e03e43f08897588e7a37fe4a
refs/heads/master
2023-02-11T13:02:46.663311
2021-01-13T15:11:32
2021-01-13T15:11:32
298,646,660
0
2
null
null
null
null
UTF-8
Python
false
false
5,010
py
"""Three-dimensional Cone-beam Tomography simulation. The struture study from Nikolay.st_sim.py Generate intensity frames based on Fresnel diffraction theory. :class:`TomoSim` does the heavy lifting of calculating the wavefront propagation to the detector plane. :class:`STConverter` exports simulated data to a `CXI`_ ...
[ "ltang320@gmail.com" ]
ltang320@gmail.com
ed4062b3b9dba0e71e56a70a329d543dd325663d
4f0ceccea62d3c909af88a7e3f5e1d063ed94b2e
/1368_Minimum Cost to Make at Least One Valid Path in a Grid.py
8406191983ad2ec32fef45f5613be51ea9b98894
[]
no_license
0as1s/leetcode
d19c2ec4f96666a03227871b9b21b26adcd6b3b4
c82d375f8d9d4feeaba243eb5c990c1ba3ec73d2
refs/heads/master
2021-05-09T21:30:35.378394
2021-02-01T15:37:37
2021-02-01T15:37:37
118,729,125
0
0
null
null
null
null
UTF-8
Python
false
false
2,661
py
def minCost(self, grid: List[List[int]]) -> int: if not grid or not grid[0]: return True m, n = len(grid), len(grid[0]) directions = [[0,0],[0,1],[0,-1],[1,0],[-1,0]] q = deque([(0,0,0)]) visit = set() visit.add((0,0)) while q: cx, cy, dis = q.popleft() if cx == m-1 and cy == n-1: return dis vis...
[ "still_crazy@qq.com" ]
still_crazy@qq.com
cbeff99019775140c058d93b9025b5e27690147d
df85730050e34f9a168784ec8a897ff6df34eeac
/chalenge-funciones.py
48e1376c945167882c60bb994e03764f3f3ee601
[]
no_license
diegofziegler/chalenge-morse-dz
8826f092a5b3e2bcfb97c8e36914930ea4c539a4
5b1d2693299bf501f2ba26f0c73c30e1af7f51e3
refs/heads/master
2022-12-02T22:38:13.164828
2020-08-16T22:57:01
2020-08-16T22:57:01
288,007,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,846
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 17 13:27:26 2020 @author: DiegoZ Funciones para obtener el código Morse a partir de un conjunto de bits. Y para mostrar la traducción de un mensaje en código morse. Insrucciones: hay que tener python,yo tengo éste: Python 3.6.4 :: Anaconda custom (64-bit) hay que instal...
[ "diego.f.ziegler@gmail.com" ]
diego.f.ziegler@gmail.com
d3734e5c3de0f31201188b5559a8874cb9e3a77c
baa4d96ad0c594f720c38a5bc00097e139098f0c
/experiments/tsp/tuner.py
2e3edec8f904ceb1b771c3209406fe0844c3e12f
[]
no_license
phrb/stochasticsearch-docs
b6970872c99ba69cbf7868917a9ec95472e30a16
87c8745cddd6db65bc86b441179c1123c99b9c6f
refs/heads/master
2021-01-21T05:03:21.060076
2016-04-28T23:23:17
2016-04-28T23:23:17
41,886,252
0
0
null
null
null
null
UTF-8
Python
false
false
2,383
py
import argparse import logging import subprocess from uuid import uuid4 import opentuner from opentuner.search.manipulator import (ConfigurationManipulator, PermutationParameter) from opentuner.search.objective import MinimizeTime from opentuner.measurement import Measurement...
[ "pedro.bruel@gmail.com" ]
pedro.bruel@gmail.com
bbcbd22ec02d9aab00993efbd41a6ceca69521f1
2171068726a5c9769697bb0292edc4370efa6454
/provision-service/provision/db/presetdb.py
a07980f92668c413ad75b388fbb652c891949bdc
[]
no_license
vincentchivas/nautilus
d896e9a6f775fa639fbbbadbdc2a362040afe1f5
fdbec9bba17d4d63092d35b708d82df82d68208f
refs/heads/master
2021-01-22T11:36:53.234945
2014-08-21T14:53:47
2014-08-21T14:53:47
23,190,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Copyright (c) 2012 Baina Info Inc. All rights reserved. # Created On September 12, 2012 # @Author : Jun Wang # Email: jwang@bainainfo.com import logging from provision.db import connect, cursor_to_array logger = logging.getLogger('dolphinop.db') _db = None _preset = None ...
[ "vincent@ubuntu.ubuntu-domain" ]
vincent@ubuntu.ubuntu-domain
4862055b22aec3414a595ac2371953280e5c8c59
6971fe79c7acebb3a5593be925aed9c9a4a7d42b
/chapter_10_codes/seven_dof_arm_gazebo/scripts/pick_and_place_ew.py
4cae9fd5580bf8cbfa0579cfe3a94be03e9c79db
[]
no_license
bigjun/mastering_ros
01805d7a7fb4b26426f416d0aa7d11ee2e07481a
348c334d20bc75c2d4f9403172708911eee0d2ca
refs/heads/master
2021-06-16T05:14:32.897398
2017-04-01T03:43:06
2017-04-01T03:43:06
104,003,261
1
0
null
2017-09-18T23:45:14
2017-09-18T23:45:14
null
UTF-8
Python
false
false
13,759
py
#!/usr/bin/env python import rospy from moveit_commander import RobotCommander, PlanningSceneInterface from moveit_commander import roscpp_initialize, roscpp_shutdown from actionlib import SimpleActionClient, GoalStatus from geometry_msgs.msg import Pose, PoseStamped, PoseArray, Quaternion from moveit_msgs.msg impo...
[ "lentin007@gmail.com" ]
lentin007@gmail.com
f37d7911697c1c966731780295ec78e5e4ef09cb
15b17e429e25170f98b31ba7a9da1f64941541af
/new.py
8b18005c9deefe4a9c2d49f7467343c287cb9480
[]
no_license
brbrteam/rulebase
d0fb7853d0a4a67270fd6068e8d17222d5ae3b08
62cdfea58421b7bb48d9908a4344f3742d7c6d59
refs/heads/master
2020-06-15T06:49:04.285003
2019-07-31T14:50:53
2019-07-31T14:50:53
195,230,763
0
0
null
null
null
null
UTF-8
Python
false
false
11,605
py
from drive_controller import DrivingController import math import numpy # class Car(): # self.steering = 0 # self.throttle = 1 # self.brake = 0 class DrivingClient(DrivingController): def __init__(self): # =========================================================== # # Area for membe...
[ "ligok113@gmail.com" ]
ligok113@gmail.com
c9923efa24c881279a13f57397a90a6c1b858295
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/scripts/ci/pre_commit/pre_commit_check_2_2_compatibility.py
d4fe0ea78d24abc8a7965ec863bd16283ce84c71
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
4,803
py
#!/usr/bin/env python # 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 # "Li...
[ "noreply@github.com" ]
noreply@github.com
60ea8faede03779356d2fbe48b62b1b293086d76
1c0175a77bb5edb1a9d2f9ea795cf15b42e5c5c2
/hackbright.py
93d596be219ac559ef29f834e8d4ef8136720d13
[]
no_license
jengrace/project-tracker-flask2
89fb53a03c0e07a4c25c3ff45be424c03b7e78d2
49125d272537d2dbb8259e2b9b94f8816a3a7d26
refs/heads/master
2021-04-30T07:00:24.470001
2017-01-25T21:03:10
2017-01-25T21:03:10
79,973,913
0
0
null
null
null
null
UTF-8
Python
false
false
5,368
py
"""Hackbright Project Tracker. A front-end for a database that allows users to work with students, class projects, and the grades students receive in class projects. """ from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() def connect_to_db(app): """Connect the database to our Flas...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
a09668a9164f093c7532df6d9b84b0530b421750
7870d31e3efc50d00fed30cd75ae9a0b435f904c
/XOR.py
818472e12d825f5301f5249783fb1b10fe2c021b
[]
no_license
EllaChen103/Cipher
9bcfc94fac59caa7baee3c858fe7c83e0c098482
dad3f858a7d18849ae86167eedee9a1efb001973
refs/heads/master
2020-06-24T06:14:55.278156
2019-07-26T22:46:41
2019-07-26T22:46:41
198,875,636
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
def shift(message, key): answer = [] for element in message: element = ord(element) element = element ^ key element = chr(element) answer.append(element) return "".join(answer) #to encode print(shift(input("What is your message?"), int(input("What is your key?"))...
[ "noreply@github.com" ]
noreply@github.com
b397d88c8bcc621c753c8d54149e1459ca3eec5c
435f79cf136034f86850780796536c82efebc83f
/qa/rpc-tests/merkle_blocks.py
36450a2ac799a1d8c116ac6edf0fa798ee5e5584
[ "MIT" ]
permissive
KazuPay/kazusilver
d7d3946cd677cf0f49c8c0d944544194df8bb0b4
fc81623ed5fd5f9f9fd9ce85139201ece6a2332e
refs/heads/master
2020-04-15T08:55:32.528511
2019-01-13T13:34:41
2019-01-13T13:34:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,967
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test merkleblock fetch/validation # from test_framework.test_framework import KazuSilverTestFramewor...
[ "mike@altilly.com" ]
mike@altilly.com
d3e4733e290dca44b3466f3da4689d539d69f2a2
2e863fd81b27f7e124949edb43ac5045f81ffc19
/Locallibrary/urls.py
d91e1daa9914bd7fa8b3819ff6d4ae61a607fdc9
[]
no_license
guho95/Locallibrary
4c04852f4d43aadb8f8420b6495830e37b63a82c
0f44ecf8bf34c7929ea01cddc1802df407ad20c0
refs/heads/master
2021-09-12T12:41:46.312690
2018-04-16T19:27:21
2018-04-16T19:27:21
112,750,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
"""Locallibrary URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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...
[ "guhoevskij@gmail.com" ]
guhoevskij@gmail.com
6b3a9b662f9fd6b39c8bbcb4c6c7b48de7e88a6c
a0fffa3fbce75b84d221bf44b5ba0b59b607ec1a
/tests/test_automata.py
0809ba9f1373c5632a86e2db10143b02bed59f70
[ "MIT" ]
permissive
Listonoh/Automata
e3bb030c0e7bd769d8b2090837312bd4534c6d0e
c2bdabe6a196ee020edc8507d96f43285bb1a638
refs/heads/master
2022-08-04T04:08:16.893436
2022-08-02T17:05:09
2022-08-02T17:05:09
186,223,494
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
from restarting_automata import BaseAutomaton, Automaton import json import filecmp example_folder = "Examples/" txt_in = f"{example_folder}Example0/Example0.txt" json_out = f"{example_folder}Example0/Example0_out.json" json_in = f"{example_folder}Example0/Example0.json" txt_out = f"{example_folder}Example0/Example0_...
[ "leestackcz@gmail.com" ]
leestackcz@gmail.com
5250d5b0154b1e015ad5e515373767ffd97f946b
0656d57d623e818c7d364bb9acc947a110086c79
/CHATBOT/backend/backend/api/models.py
69179d5b4df36d6e3bcd3aaf190b60f15b56e73b
[]
no_license
ricksaha2000/MEDPLUS-Open-dil-hackathon
30c3867f87cc6dfeb586714a1d42e3a1fc65a9d0
05a398577fc95931bf1ba3ba0ec3c3eaac99ef3d
refs/heads/master
2022-12-16T13:17:57.435888
2020-09-27T15:23:38
2020-09-27T15:23:38
298,908,082
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
from django.db import models import json class Diagnosis(models.Model): def __str__(self): return self.diagnosis def set_input_keywords(self, input): self.input_keywords = json.dumps(input) def get_input_keywords(self): return json.loads(self.input_keywords) input_keywor...
[ "jayitsaha@gmail.com" ]
jayitsaha@gmail.com
b962a13a8df37f7a0f1b12cd1e5ea53d34f476eb
e89969157b30c36b549686a181c83a0ca7d90fb0
/back/abstractData/migrations/0004_auto_20190921_2317.py
893bdc562c2e69cc94991f9f235b42928e34e7cd
[]
no_license
MTETERIN/dp
ae7709392bc9b108da5a258fee357a29f81b8e89
47933b0e783741afe3179e35f5f182ab78955842
refs/heads/master
2020-12-11T13:46:34.150875
2020-01-16T20:23:37
2020-01-16T20:23:37
233,864,609
0
0
null
2020-01-16T20:23:38
2020-01-14T14:51:36
Vue
UTF-8
Python
false
false
1,153
py
# Generated by Django 2.2.5 on 2019-09-21 20:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('abstractData', '0003_auto_20190921_2307'), ] operations = [ migrations.RemoveField( model_name='measurements', name='composi...
[ "marinaoctober98@gmail.com" ]
marinaoctober98@gmail.com
d64a159d3b79847f020f8ccda278f3bd25906ffe
a46b0ecd4c11056badc71b2fbc60fdbe9b720bbb
/sort_version_numbers.py
5102bb709075082f743de580742a8155114ed184
[]
no_license
nitinnagaraja/HackerRank
b2e55cbc01f45bfa3482d8979b950ec30aba3cf5
2b20f4fb1e4152b047c09182373a13544a5f4947
refs/heads/master
2021-01-10T05:43:59.012793
2016-02-24T00:07:08
2016-02-24T00:07:08
52,401,020
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
def sort_version_numbers(v): s = [] for ver in v: s.append((ver.split('.'))) s = sorted(s, key = lambda x:(x[0], x[1])) for i in range(len(s)): v = s[i][0] + '.' + s[i][1] s[i] = v print s v = ["2.3", "3.2", "1.41", "1.06"] sort_version_numbers(v)
[ "nitin.nagaraja@gmail.com" ]
nitin.nagaraja@gmail.com
811d4b3ee04b7828cbc1c09b26fa4f53da40ae09
2b28814e50b036a17afb26cd56accdacb6f38854
/src/api/migrations/0001_initial.py
c91b14a01d4a3367c1fbda7671980d2c60cc7a76
[ "BSD-2-Clause" ]
permissive
Financial-Times/bullet-train-api
c6660965ca5e8f956b7666bde35b5f64bf18f773
a54e0df1c85ff353c1b5c3056ea3e3e4d1fc7006
refs/heads/master
2023-08-03T16:31:06.503907
2021-02-10T09:29:35
2021-02-10T09:29:35
170,123,292
1
1
BSD-3-Clause
2019-10-01T16:26:51
2019-02-11T12:14:35
Python
UTF-8
Python
false
false
4,536
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-04-20 12:59 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ...
[ "matthewe@solidstategroup.com" ]
matthewe@solidstategroup.com
3f8f0146ba7be0ebb15acbb1fddc86a343df559d
74402b0ae768beb8bb88653d23b0697232ded451
/pyvista/core/imaging.py
0b59dc0a312cd4ced705af019d01338ac7ab1bcc
[ "MIT" ]
permissive
jskinn/pyvista
806a1ffd2afaf82df70fa3980f30519bdb775e68
5a2bb7395ad12254a6e71d5632fee6beabce66d6
refs/heads/main
2023-06-15T01:12:32.784738
2021-06-29T23:50:32
2021-06-29T23:50:32
376,659,839
0
0
MIT
2021-06-13T23:33:16
2021-06-13T23:33:16
null
UTF-8
Python
false
false
5,083
py
"""Contains PyVista mappings from vtkmodules.vtkImagingHybrid.""" from typing import Sequence import sys, os import numpy as np from pyvista import _vtk, wrap from .filters import _get_output, _update_alg def sample_function(function: _vtk.vtkImplicitFunction, bounds: Sequence[float] = (-1.0, 1....
[ "noreply@github.com" ]
noreply@github.com
1ce1c226b036e66a4128c738fb794ba8a6a298eb
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/UnitedVoucherDigest.py
215bbce60af562cae3f1e47b250b8e73ca0210bc
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
5,157
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class UnitedVoucherDigest(object): def __init__(self): self._budget_close = None self._ceiling_amount = None self._discount_type = None self._from_amount = None ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
28643ece960fbdb5ec5bf2ab0ecc38b9f974345c
b8fd7e01a7069a0666eb2fe21991753fd5ff7860
/Python Language/Stack/3 . top.py
89b10fca7acd6e331210a9db5f36ac8f9bed3454
[]
no_license
Jafoor/Leet-Code-Solved-Problems
0b6be0f3c82b1bc13c0c484782db65601cefa7b8
935e5679e04bf6f9c9d8a0bdf8b204923a2bc7a5
refs/heads/master
2023-07-02T13:38:59.690783
2021-07-19T16:20:48
2021-07-19T16:20:48
256,105,425
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
class Stack: #declearing stack def __init__(self): self.stack = [] #pushing values def push(self, data): self.stack.append(data) #pop element from Stack def pop(self): if len(self.stack) <= 0: return ("No elemennt to pop") else: return s...
[ "abujafor.cse11@gmai.com" ]
abujafor.cse11@gmai.com
c8be4275c567f1b45a9c30be24e70d5c9f86cb5f
bc441bb06b8948288f110af63feda4e798f30225
/terraform_sdk/model/inspection/metric_group_pb2.pyi
744283cf0fc142859439410d535c139cf855a348
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,951
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
a0d35852e7d5bd9d6f588b16c44de53fe68effd5
f890fb3a8b864f5584cf26df0c28ffe3d4c1a9c8
/removeDuplicate.py
c7d92c52f929acbd27b3efd8c15bccd4f0e27a87
[]
no_license
pku-cs-code/algorithm
7d227c8cdb3afa9b97eaf9190945d5a5c5b39bc4
ba2da4a68be714b358fd79bdeb4ca52d86b789f6
refs/heads/master
2020-04-07T04:13:00.024032
2020-03-30T15:52:22
2020-03-30T15:52:22
158,045,208
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ # __author__ = caicaizhang class Solution: def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ i=0 while i < len(nums) -1: if nums[i]==nums[i+1]: nums.remove(nums[i]) ...
[ "zhangcai@192.168.0.102" ]
zhangcai@192.168.0.102
c09abe9aa4f9b6652ed276cf4df7913d4f2d61bf
7f4eb6468a25c217d4775747937e294493637427
/src/scripts/other/append_classes.py
f3aa3acd8ade9ceb592f5883eac3dea0de9dceb2
[]
no_license
Anirudh-Swaminathan/Ultrasonic_klda_classifier
f56943a9f6e2d76814cecfe2b2e6c8b96431fa31
7c5d61630580f9483f4fa07305cd824c369fcd8b
refs/heads/master
2020-04-26T06:20:47.530266
2018-04-11T17:57:43
2018-04-11T17:57:43
173,361,381
2
0
null
2019-03-01T20:06:32
2019-03-01T20:06:32
null
UTF-8
Python
false
false
471
py
import numpy as np import matplotlib.pyplot as plt plt.style.use('ggplot') def main(): # Load the data data = np.loadtxt('../reduced_data/adi_A_5') N, m = data.shape Ns = [35, 52] y = [] for i in range(1, len(Ns)+1): # print i for j in range(Ns[i-1]): y.append(i) ...
[ "aniswami97@gmail.com" ]
aniswami97@gmail.com
e5e2f907488bbd1e533f57e90d04fbf9ca1a94e9
33ce95a46bad431fb9acde07f10f472c43533824
/functions_advanced_exercise/keyword_argument_length.py
8521f0728b213aa0197f75f270a97e0e6e220239
[]
no_license
ivan-yosifov88/python_advanced
91dead1a44771a46e85cecdfc6b02e11c0cb4d91
21830aabc87eb28eb32bf3c070bf202b4740f628
refs/heads/main
2023-06-29T21:31:30.285019
2021-06-23T20:31:36
2021-06-23T20:31:36
342,571,734
1
0
null
null
null
null
UTF-8
Python
false
false
148
py
def kwargs_length(**kwargs): return len(kwargs) dictionary = {'name': 'Peter', 'age': 25, 'baba': 'Peter'} print(kwargs_length(**dictionary))
[ "ivan.yosifov88gmail.com" ]
ivan.yosifov88gmail.com
44cc9efcbe0e0e4ce1e670a68bb8125fa5dd7a82
8c3df8ab041e48ad4c06d65cd34cb18d4399bcf4
/algos/searching/linear_search/search.py
f2d1df3fd2fc7a398a5c33062e6cfdf35e2dfb3a
[ "Apache-2.0" ]
permissive
kwahome/data-structures-and-algos
2d8576defaf1d6f393305c49fff2fe0498871dd0
535b23c63bf384d63c1ebc08d1c32d3dd808297c
refs/heads/master
2020-06-16T16:55:54.764378
2019-07-30T18:45:21
2019-07-30T18:45:21
195,642,466
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
from algos.searching import UNSUCCESSFUL def linear_search(arr, target): """Implementation of linear search. :param arr: input list :param target: search item :return: index of item if found `-1` otherwise """ length = len(arr) for i in range(length): if arr[i] == target: ...
[ "kevowahome@gmail.com" ]
kevowahome@gmail.com
44100feb95f11808de8028e4aebecbaf1ea5353b
7300272f7ddde003b30fedea5c095e7fb34751f2
/Learn/TaskOOP/task.py
cf7617a974fc4df2063130677afe9993c20f96aa
[]
no_license
zhdankras/Learn
ab9f9ae918b1ea90d95f1ef0e72f724645fe4f54
08aa7acd87f8089327a14d5e411e67abd7c01b50
refs/heads/main
2023-06-10T03:21:27.362534
2021-04-21T14:17:59
2021-04-21T14:17:59
360,196,654
0
0
null
null
null
null
UTF-8
Python
false
false
3,909
py
""" Каждый класс реализовать в отдельном модуле, импортируя их в производные модули. Создать класс Car с полями марка, мощность, год производства. Добавить конструктор класса. Создать производный от Car класс PassengerCar. Новые поля: количество пассажиров, ремонтная книжка (словарь вида запчасти: год замены)...
[ "artem@artem-mbp.local" ]
artem@artem-mbp.local
2bd85aeaee9fcd0cf088a8d4df2949f1992d1a7a
c588fc6e4e9e2ca0a19587487d6b3dd3fa86edb9
/lambda_layers/core_layer/python/core_layer/alembic/versions/69c8e4d86653_status_for_submission_added.py
b6aae617e99da0ef3abc036a5d45c5c3a1a878f9
[]
no_license
alykhan/python-lambda-functions
f81c093b50494d2f875f4045e5432889e0395e98
c7082a6bc181f8ae06bde3c812fcefa6708f4369
refs/heads/master
2023-04-16T10:38:42.959372
2021-04-27T20:23:25
2021-04-27T20:23:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
"""Status for submission added Revision ID: 69c8e4d86653 Revises: 4e67ce1abb34 Create Date: 2021-01-29 15:37:42.173571 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '69c8e4d86653' down_revision = '4e67ce1abb34' branch_labels = None depends_on = None def upg...
[ "patrick96mueller@gmail.com" ]
patrick96mueller@gmail.com
1e75f91cfeb5d9ec5f124aa4adcddf060fb9624d
2329ba07662331526c508e16512eb8c194c2d0c8
/src/measurement/area/imperial.py
6b26952f153010fe609458008baeca02b9c31ad8
[]
no_license
patricknevindwyer/Converto
9265e2c6a7af88f6d2a767baed78ce8e95b83215
8b9a874a63a8fefde3149d8f6c28c338cc20f09f
refs/heads/master
2020-05-18T19:58:49.335100
2010-12-03T13:40:40
2010-12-03T13:40:40
1,091,854
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
''' Created on Dec 3, 2010 @author: patricknevindwyer Imperial measurements of Area. ''' from measurement.bases import Area square_feet = Area( toBaseUnit = 0.09290304, fromBaseUnit = 10.7639104, suffixes = ('square foot', 'square feet') )
[ "patricknevindwyer@gmail.com" ]
patricknevindwyer@gmail.com
d6d07c0cc9c9aea18624478e682f499d73c5f835
667eaaa6b6762800dcbeccae9b84fece83b76c69
/tank_master/migrations/0002_auto_20210625_1734.py
68093bc41e63e3ffed4877f2f214b862fb08b15a
[]
no_license
hetmodi73/Django_PetrolPump_Project
233d1a809ef6656229584396b3d6d00f805c7d66
f15a64af9af20cbf8f3eb9d367a804328d49e734
refs/heads/master
2023-07-05T03:31:40.206905
2021-08-19T09:00:48
2021-08-19T09:00:48
374,619,043
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
# Generated by Django 3.2.4 on 2021-06-25 12:04 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tank_master', '0001_initial'), ] operations = [ migrations.AlterField( model_name='tank', ...
[ "hetmodi48@gmail.com" ]
hetmodi48@gmail.com
0197d9402cdc1c52dd467a270664d926ee884e07
c526a482a0da0ef09d05975c97faae062d1911b6
/Week 8/day 3/test.py
3c019ed44ec1cd8c7dcc403c023f40573d2581a4
[]
no_license
Wdecibel/MyPythonProject1
2958171e80e9aa74af2f1446a624af3183b6e741
4d443091d3df5b3774e490950c5b5e19b18dd149
refs/heads/master
2020-07-02T03:59:19.090917
2019-08-09T06:36:40
2019-08-09T06:36:40
201,409,347
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# __Author__: Han # __Date__: 2019/2/21 def f(): print('ok1') count = yield 5 print(count) print('ok2') yield 67 # print(f()) # <generator object f at 0x000001D8E8ECD678> gen = f() # ret = next(gen) # 也可以用send进行第一次传值,但只能传None # print(ret) gen.send(None) x = gen.send(10) print(x) ...
[ "hanw@cefcfco.com" ]
hanw@cefcfco.com
879cdf55ca3f1f61547f825cbd91ff885eb084e1
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/dossier/content_deleter.py
a165f1f965b4eda76e04acabca72a444e73e2129
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
707
py
from opengever.base.browser.folder_buttons_availability import FolderButtonsAvailabilityView from opengever.base.content_deleter import BaseContentDeleter from opengever.dossier.behaviors.dossier import IDossierMarker from zExceptions import Forbidden from zope.component import adapter @adapter(IDossierMarker) class ...
[ "e.schmutz@4teamwork.ch" ]
e.schmutz@4teamwork.ch
f56c0ce02e6db5d57796bd5f8b4e68bdc838997f
085d2093afce5d61bde4de4ec7c15a5aabe27d0e
/endpoints/excuseme.py
fe2e5950509611b2ee5b3e1e0dea071dd7ec12bb
[ "MIT" ]
permissive
NotII/Shinobu-image-gen
2353feeae428549cfac619e2bffd684ab48a8893
ca83c24264496e6f13ecffb7b8d7f1c630f71e35
refs/heads/master
2023-02-21T05:22:17.019346
2021-01-22T14:48:03
2021-01-22T14:48:03
275,227,499
1
6
MIT
2020-09-04T08:36:11
2020-06-26T19:00:16
HTML
UTF-8
Python
false
false
769
py
from io import BytesIO from PIL import Image, ImageDraw from flask import send_file from utils.endpoint import Endpoint, setup from utils.textutils import wrap, render_text_with_emoji @setup class ExcuseMe(Endpoint): params = ['text'] def generate(self, avatars, text, usernames, kwargs): base = Ima...
[ "gw10lindengerrard@glow.sch.uk" ]
gw10lindengerrard@glow.sch.uk
ace48de966770205436fcc1b58c6cc23c2848599
590b2550be2e25b5335fa552682f0370484fe361
/resources/uiabstraction/components/widgets/breadcrumbs/BreadcrumbsNavigatorExhibit.py
a9688bb9951d89253fe2f1526538e6dab0e3bb82
[]
no_license
mmguzman/Xinet
0e4b1ae7f13467fbb097e387cf49e2a03953168e
e93c5598ed9d130256d51d8c3ae1deb772740958
refs/heads/master
2021-01-18T23:07:37.949988
2016-07-15T22:27:59
2016-07-15T22:27:59
28,088,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
__author__ = 'MarceloM Guzman' from selenium.webdriver.common.by import By from resources.methods.UIMethods import accept_alert_and_leave_page from resources.uiabstraction.components.widgets.breadcrumbs.BreadcrumbsNavigatorBase import BreadcrumbsNavigatorBase from resources.uiabstraction.components.widgets.foldercont...
[ "marcelom.guzman@jalasoft.com" ]
marcelom.guzman@jalasoft.com
e902eec2088a110c55e9d2063a8d882bcd34f49d
0c021e881a2d5507f2dd0600a7bc36fa2b8de112
/turtlecircle.py
31d3b56a4add57cb27afc03411115accd4f46ccf
[]
no_license
Techsrijan/girlspolytechnic
016299f28d808f7628693dec555642463862a537
0eb136632dd37c1e65ac290509ed166144e8d2a0
refs/heads/main
2023-02-03T20:40:30.474711
2020-12-16T10:22:59
2020-12-16T10:22:59
307,243,788
0
6
null
null
null
null
UTF-8
Python
false
false
385
py
from turtle import * import time t=Turtle() s=Screen() s.title("Circle Example") s.setup(800,600) '''t.circle(50) # anticlockwise t.circle((-100)) t.up() t.forward(200) t.down() t.pencolor("red") t.circle(300) ''' t.circle(50) t.up() t.goto(-100,-100) t.down() t.circle(50) t.undo() t.reset() time.sleep(2) t.write("Thi...
[ "aswanibtech@gmail.com" ]
aswanibtech@gmail.com
bc0f1482e7301e5e00ca5ae5e0b5ddd921890f08
ece39cda15325e5e36c959a273fc2aab82a590b1
/lintcode/naive/sort_integers/py/sort_integers2.py
a3d4f72d8ca440ffe6e5d25353607dfa4aad5ab5
[ "MIT" ]
permissive
lilsweetcaligula/sandbox-online-judges
bc60283716f42d43cfc18bbc9a1058e872f8f308
48454a8e6b5b86f80e89eca1b396480df8960cfd
refs/heads/master
2021-06-10T18:06:14.737911
2017-03-07T05:45:57
2017-03-07T05:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
class Solution: # @param {int[]} A an integer array # @return nothing def sortIntegers(self, A): # Selection sort. for i in xrange(len(A)): j = min(xrange(i, len(A)), key=lambda x: A[x]) A[i], A[j] = A[j], A[i]
[ "noreply@github.com" ]
noreply@github.com
b96c46eaaad9c98e4ed8795b32c1d40b44d14a6a
200239bfd98b1bdf4bf19f9aa96007aaada3887d
/ax/core/trial.py
d8e8a130ff8fabcf8927e6711e2e44c19364891e
[ "MIT" ]
permissive
cristicmf/Ax
18cad5a5ea944f03a4e1ae771036dc8e59369996
c940dd0ad3a7d01eec7d68f0e51de8b019a19615
refs/heads/master
2023-04-29T18:30:19.444123
2021-05-13T15:56:03
2021-05-13T15:57:02
367,475,333
0
0
MIT
2021-05-14T21:00:00
2021-05-14T20:43:22
null
UTF-8
Python
false
false
8,740
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from __future__ import annotations from typing import TYPE_CHECKING, Dict, List, Optional from ax.core.arm import Arm...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
03b5607af1f21492181329b404f97991ae7207c6
9d79f364cfc6ed308b1af083933efb9bc8386d21
/project_one/app_one/views.py
1932ca974dfedb8d829bb18e1f7a31b03303596f
[]
no_license
cs-fullstack-fall-2018/django-templates-1-myiahm
130e88974317b78b36abaaad00fba01dc94df298
e9d8712beb1a982316a264b06523ef19d22af0a9
refs/heads/master
2020-03-30T20:43:09.892320
2018-10-04T22:46:34
2018-10-04T22:46:34
151,600,850
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from django.shortcuts import render from django.http import HttpResponse def index(request): return HttpResponse("<em>My First App</em>")
[ "myiahsade@gmail.com" ]
myiahsade@gmail.com
b7c2ba1ef562df11e19607089e595bbc069c386f
19f05c91b991f38eca19275bfcb8a2a27000bb45
/makahiki/apps/components/activities/migrations/0009_populate_slug_data.py
049b4d883d7525c8fda6839f54a537b4397486ae
[]
no_license
keokilee/makahiki
9c40576c73fef2bf11dc22194dbabf98f5e67e64
783db33ed0b38fb4dccc371c426265f7028a2d13
refs/heads/master
2020-04-30T03:44:52.309826
2012-03-17T01:36:19
2012-03-17T01:36:19
543,870
2
3
null
null
null
null
UTF-8
Python
false
false
13,754
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import DataMigration from django.db import models from django.template.defaultfilters import slugify class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." for base in orm.ActivityBase.ob...
[ "keoki.lee@gmail.com" ]
keoki.lee@gmail.com
6b5583b4f27d87956ec13fd2bcd454e38d58cde5
72278d474b3b8fc17e30f46aef9a8c10c8a6f76f
/testers/CIFAR10_tester.py
3fe093e10d2bec33c9e7e95e0fd9bd86f8e3e5bf
[ "MIT" ]
permissive
cuguilke/psykedelic
ff13c7a2d6c86d76a3b8700ec4d5aa1f8ec6cb4f
ecdcd0c4fd1ed1316c4e98f42aae0c1bc38d337d
refs/heads/main
2023-03-18T08:01:32.083523
2021-03-07T19:21:34
2021-03-07T19:21:34
321,920,863
3
0
null
null
null
null
UTF-8
Python
false
false
6,019
py
""" Title :CIFAR10_tester.py Description :Easy CIFAR-10 benchmark Author :Ilke Cugu Date Created :30-03-2019 Date Modified :06-02-2020 version :2.0.6 python_version :3.6.6 """ import keras from overrides import overrides from applications.microresnet.MicroResNet import MicroResNet ...
[ "noreply@github.com" ]
noreply@github.com
1f47f7f47e29e374a0cbf8f8308e273f4e8d7873
7817f578d7241afcf6afc82c00031797afd25fd2
/Daily Exercises/daily_18.py
b82d8946fa9a38f85c50ec53bed56871130f0dca
[]
no_license
LeonVillanueva/Projects
89a7c1c744bc4103ee79a5b30f43ab57f192fd1b
bad431b2d619f216c6723b487b3cbbe10478f530
refs/heads/master
2021-06-25T13:00:11.487551
2021-02-02T23:50:00
2021-02-02T23:50:00
200,046,419
3
0
null
null
null
null
UTF-8
Python
false
false
299
py
''' Given an integer n, return the length of the longest consecutive run of 1s in its binary representation. For example, given 156, you should return 3. ''' def find_length(n): max_length = 0 while n: max_length += 1 n = n & (n << 1) return max_length
[ "noreply@github.com" ]
noreply@github.com
2ff21a4006685c10124c9e5389c38c0bf6df8a09
e315a4bb8847dd9a0ba6c4e1f4ebc21d8bbbfb4c
/classifier.py
d6aeaf40fb118dbed807891db2946d96afdcbcdf
[]
no_license
marco-willi/camtrap_classifier
464f1ad60eaf275fa4dbe077396639a7192d9ab6
10363c18382b86560bfc6c202183ecfd77d4e079
refs/heads/master
2021-05-08T06:52:23.074452
2017-12-01T07:13:04
2017-12-01T07:13:04
106,642,628
0
0
null
null
null
null
UTF-8
Python
false
false
10,695
py
""" Class to provide a Classifier for applying a model on images - takes a folder/folders with images, a model, and model configs as input """ import os from keras.models import load_model from keras.preprocessing.image import ImageDataGenerator from collections import OrderedDict import numpy as np import pandas as pd...
[ "will5448@umn.edu" ]
will5448@umn.edu
6d2c89b1b8e5cadbc2ece4d0d4f8a1e0883f0358
ab5bdb1a28ee70cbec0d84f1dbfafe47733c223f
/pybundler/cli.py
dfa8a51cb6f30c911f214abb1cfb2c6defd8a836
[ "MIT" ]
permissive
BentoBox-Project/pybundler
4f2049072041527da1e09b320846cef724adb13a
30aa266a58a11f4fa5e6d360b070269c6cd2210b
refs/heads/master
2022-12-10T17:42:51.122920
2020-01-24T04:40:28
2020-01-24T04:40:28
172,926,193
2
1
MIT
2022-12-08T05:58:32
2019-02-27T14:02:42
Python
UTF-8
Python
false
false
2,366
py
# -*- coding: utf-8 -*- """ Cli commands This file contains many commands for app managment """ import os import subprocess from pypkg_generator import package_generator def build_source_wheel(version=3): """ Creates a source archive and a wheel for your package Parameters ---------- version : int ...
[ "daniel.omar.vergara@gmail.com" ]
daniel.omar.vergara@gmail.com
a01f9443c22e4e22c3db6a462ca1c40ad91e0bd4
d85fbcf9199a46d7ce43537a6b333e381fd1b868
/argo/workflows/dsl/__about__.py
eb032ad16c682ac31874759e105c26fd5d1f1c5c
[ "Python-2.0", "Apache-2.0" ]
permissive
binarycrayon/argo-python-dsl
78af89ab6a4e522a0bd9b1a28124ce687d544cef
0eb6fcf1c0901c842dd280d8c052981b5b3378ce
refs/heads/master
2021-02-13T15:35:52.177954
2020-03-08T07:41:46
2020-03-08T07:41:46
244,710,162
0
0
Apache-2.0
2020-03-03T18:22:47
2020-03-03T18:22:47
null
UTF-8
Python
false
false
500
py
"""About this package.""" __all__ = [ "__title__", "__summary__", "__uri__", "__version__", "__author__", "__email__", "__license__", "__copyright__", ] __title__ = "argo-workflows-dsl" __summary__ = "DSL for Argo Workflows" __uri__ = "https://github.com/CermakM/argo-python-dsl" __ver...
[ "macermak@redhat.com" ]
macermak@redhat.com
3332f983bbd36c00c645b363557f6c76c1a480f3
16982482f774cc8afc31c27862eab5016145f949
/sccommon/SkillPair.py
fd1366db912fab8d9adc231e9c562be01a768102
[]
no_license
jpaezsa/SkillClusters
6672d3918ba7aca22e627fbe964a1ae7c662dcc6
6c0d250d372999dc8c3910f78274a3f3ce4bf4c6
refs/heads/master
2021-04-03T07:37:55.456649
2018-02-25T04:16:20
2018-02-25T04:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import column_property from sqlalchemy import select, cast from sqlalchemy import Column, DateTime, Integer, Float, Numeric, String, Text, Unicode from sccommon.SkillPostCounter import SkillPostCounter Base = declarative_base() class SkillPa...
[ "elzes@yahoo.com" ]
elzes@yahoo.com
b6a745a815fc0fb704eb702d039e26cec5c989bd
37cb7506735b0ec3a4bcea2d826084eed295188a
/5.py
118f57036999d2ef21733026ea0783336cbc28b7
[]
no_license
Mustafasatir3864/3.DonemGorselProgramalamaVizeOdevi
bd38db921bed93593bc9cf4f4fb90a186e1099ce
1a34fbd0b070861f232a31e4816b525b36900569
refs/heads/master
2023-02-02T13:42:07.543678
2020-12-19T21:17:36
2020-12-19T21:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
ifade = input('ifadeyi girin :') kod_tipi="" sinyal = 0 cihaz = ['Televizyon', 'Çamaşır Makinesi', 'Buzdolabı', 'Fırın'] cihaz_durum = 0 cevap = 0 hata = 0 ifadeler = ifade.split("\\n") ifadeler.pop(-1) for ifade in ifadeler: veriler = ifade.split("-") if veriler[0] == "receive": if len(veriler) != 4:...
[ "48385755+atakanyeniceli@users.noreply.github.com" ]
48385755+atakanyeniceli@users.noreply.github.com
ffa9c4099bf42b49d909d35e8d0ab824c5bd1fcc
5197e8e9e324a08a95010d1e51b596b3b30c5b12
/test/functional/listtransactions.py
778dc608a7a55ebe38f33f2e0245d2c6093e3acc
[ "MIT" ]
permissive
bitcoinx-project/bitcoinx
8bb5144e313c5995c192386b55202a0b4ff45fed
d422a992e7efee1ea1fb82cf7a1e81e04ca716c0
refs/heads/master
2021-07-11T19:03:44.279254
2019-01-24T06:24:30
2019-01-24T06:24:30
116,213,243
159
86
MIT
2019-01-28T09:02:36
2018-01-04T04:08:40
C++
UTF-8
Python
false
false
10,268
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the listtransactions API.""" from test_framework.test_framework import BitcoinTestFramework from ...
[ "hoito.chiu@gmail.com" ]
hoito.chiu@gmail.com
5f5d8b655f1d67e9e900a7c2c8035b4e61c8e94a
e91f216ea2cf9f2ecf2a770ebc6334d7034cbf94
/barkingdog/1.배열/2577_숫자의개수.py
0d429a7839aa31e42fc4c7ae356fe1842e5c84d8
[]
no_license
HelloMandu/OnlineJudge
4c870a737ba8c479adf0f7763ca38afd7761e9a3
2dd0abc4066fd0b1f28346f8913ece88167eee99
refs/heads/master
2023-01-09T22:53:27.036594
2022-12-28T09:38:39
2022-12-28T09:38:39
168,956,239
1
0
null
null
null
null
UTF-8
Python
false
false
165
py
a, b, c = int(input()), int(input()), int(input()) mul = a * b * c arr = [0] * 10 while mul != 0: arr[mul % 10] += 1 mul //= 10 for i in arr: print(i)
[ "tjdals6695@gmail.com" ]
tjdals6695@gmail.com
b0ae8f4bfb739eb24ac9fc0d06617715c46a65d9
e84020108a7037d8d4867d95fada1b72cbcbcd25
/src/chattisgarh/fto/processFTOStatus.py
d660f4fc16006a208a39e4abc60bff1a449ef8b8
[]
no_license
rajesh241/libtech
8384316051a2e8c2d4a925cd43216b855b82e4d9
0105e717357a3626106028adae9bf162a7f93fbf
refs/heads/master
2022-12-10T03:09:00.048841
2020-06-14T09:39:04
2020-06-14T09:39:04
24,629,538
1
1
null
2022-12-08T02:26:11
2014-09-30T07:57:45
Python
UTF-8
Python
false
false
3,182
py
import csv from bs4 import BeautifulSoup import requests import MySQLdb import time import re import os import sys fileDir=os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, fileDir+'/../../includes/') from settings import dbhost,dbuser,dbpasswd,sid,token from globalSettings import datadir #Error File Defina...
[ "togoli@gmail.com" ]
togoli@gmail.com
8ad1b2365fd0f73370ee7ad4155f25b5b13ae2fb
2e4c41bd81acd9bb07ab15bedfba6d4a3940aba1
/orders/migrations/0023_auto_20180518_0338.py
7988d6f228106980450516a59665eede8c0b38df
[]
no_license
PNoryk/Hypermarket
fce0b8af6514640f5ed5c218898d4158cfe3ebc7
6e49786bfceb7b8bf521152ff29f3a570aa5fff9
refs/heads/master
2021-10-22T20:29:13.324500
2019-03-12T19:18:38
2019-03-12T19:18:38
110,754,067
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Generated by Django 2.0.3 on 2018-05-18 00:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0022_auto_20171219_1956'), ] operations = [ migrations.AlterField( model_name='productinorder', ...
[ "pnoryk@mail.ru" ]
pnoryk@mail.ru
4f94b21778eba16259e6ec893024d052e61c4f76
dca48a105eb467c1c92bfe7e49c0f0666ff7d5a3
/python/practice/materials/core-python-getting-started-resources/m08/clip-06/roots-v3/code.py
445954307b05827481c1b4cc78e4c8e82431a7d5
[]
no_license
hbqdev/code
a97233456ad75df5552a003698cfcb99c6f7836d
7012d203aaf8fdc753491603f9a35dc69ca3286a
refs/heads/master
2023-06-25T13:06:01.851720
2023-06-13T00:11:54
2023-06-13T00:11:54
184,701,167
0
0
null
2019-05-03T05:02:08
2019-05-03T05:02:08
null
UTF-8
Python
false
false
332
py
def sqrt(x): # . . . def main(): print(sqrt(9)) print(sqrt(2)) try: print(sqrt(-1)) except ZeroDivisionError: print("Cannot compute square root " "of a negative number.") print("Program execution continues " "normally here.") if __name__ == '__main__':...
[ "tin.tran@split.io" ]
tin.tran@split.io
690f9ceab76f6d7a247f5bc40914f73d5d853a8a
74d177dcaa9375c053ce1ed4db3bc98b612ef1b1
/Limits/htautau/compareList.py
2896104bf5e69e0b02f687a7437f33a71dc081e3
[]
no_license
bianchini/usercode
1eae2b15796af2d9027f45479c1174d9cceb0b55
e8ace1099459ac37201de2f311e3c57a5049393a
refs/heads/master
2020-05-17T17:20:56.094100
2013-11-08T11:13:33
2013-11-08T11:13:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
#!/usr/bin/env python import commands import re import os import sys ########################################### ########################################### def compare( name1 , name2 ): f1 = open(name1, 'r') nEvents1 = 0 nEvents1Matched = 0 for line1 in f1.readlines(): if ( re.sea...
[ "" ]
828057027b4632be7bb08d6d4f830c5e65836a0d
4ec3b043bcc69e0084c0f03c6209ff3d444790a2
/quiz/lib/views.py
dfbe4a1e9cd30f5b522704569bd7e5927861c796
[]
no_license
mylesrverigin/quiz_generator
c34c5d23d8710424c697fe727a3970d8d615c101
d3be75e9c84d82517d1c3086745629bf903b0eaf
refs/heads/master
2023-03-07T07:31:10.994421
2021-02-27T01:43:29
2021-02-27T01:43:29
342,745,024
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
from quiz import app from flask import render_template,request,url_for,redirect import pandas as pd from quiz.lib.data_fetch import DataFetch from quiz.lib.question_generator import QuestionGenerator @app.route('/') def home(): return render_template('home.html') @app.route('/quiz/') def quiz(): datafetch = D...
[ "mylesrverigin@gmail.com" ]
mylesrverigin@gmail.com
976b27db4526645f373efd7633d74c08586b090d
b9fee1cfeb52edefe05f15d684e2a8ba810018c8
/config/urls.py
95e0d9e11cce13d819e2164da6cee3fcf2903d3b
[ "MIT" ]
permissive
kumaraswins/django
33f7dfe3001a61f4bc2a761e248221ded889e181
6903d76e5c55462143b2cf1f10ed5c0bb9f6c468
refs/heads/master
2022-12-11T08:56:20.253867
2020-10-17T12:46:35
2020-10-17T12:46:35
232,583,297
0
1
MIT
2022-12-08T03:24:29
2020-01-08T14:34:09
Python
UTF-8
Python
false
false
2,076
py
from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views import defaults as default_views from rest_framework import routers from rest_framework.authtoken import views from django.urls import re_path,path ...
[ "kumaraswins@MacBook-3.local" ]
kumaraswins@MacBook-3.local
e5d5f3e044c1e0d8282dc5965b73f08832a4279d
6fb1042ddd57fb4140bd9d4993b0ae349bb83379
/deme/apps.py
82e40cc1c01068c8525d61f6e7371d50bd1279dd
[]
no_license
Papi-Kab/djagodeme
70a3845860063834319fc526f427843a640c95e6
d0665c12d8f1e80a8711eded3a965140e0f047bb
refs/heads/main
2023-08-22T11:59:08.804636
2021-10-26T01:23:50
2021-10-26T01:23:50
414,358,402
0
1
null
2021-10-21T20:45:31
2021-10-06T20:20:02
Python
UTF-8
Python
false
false
140
py
from django.apps import AppConfig class DemeConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'deme'
[ "seydou.toloba.st@gmail.com" ]
seydou.toloba.st@gmail.com
200d88c0295030b40ed5aec3171c2f29f9fc4fbc
19121da696463f1eab4bf6895e66526c3a440b90
/scripts/movie_ua.py
9687efc1e5beab2c00c4b97337f1058fd5f68e51
[]
no_license
leucotic/pywikipedia-wikidata
362024a1fd34edd4248dd67157c9919f141ed06b
a43c24c171fab29e127961bec7b79c6b406cad03
refs/heads/master
2021-05-08T05:03:43.281130
2013-07-05T15:48:28
2013-07-05T15:48:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# -*- coding: utf-8 -*- import re import pywikibot from wikidata import Wikidata, GDN Wikidata( site=pywikibot.Site("uk", "wikipedia"), refs={('p143', 'q199698'),}, # from Ukrain Wikipedia template=u'Шаблон:Фільм', #category=u'Категория:Фильмы без IMDb в Викиданных', #sleep=10, rules = { ...
[ "mail@putnik.ws" ]
mail@putnik.ws
21a347c147a0776a230dc184af319b1643c6a013
4b758ca583d2a58d4d711381405e024109a0f08f
/dali/test/python/test_operator_random_resized_crop.py
483d481dbf53a927fd48e58f3eff3b31bc9c649c
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
ConnectionMaster/DALI
76ff07b2fa3f62490b059088c88ade7570130ff4
6b90519d2c209d705e8912a5f00b71a018aeaa52
refs/heads/master
2023-04-14T13:04:57.520421
2021-01-22T16:34:31
2021-01-22T16:34:31
187,683,855
1
1
Apache-2.0
2023-04-03T23:45:28
2019-05-20T17:18:56
C++
UTF-8
Python
false
false
6,577
py
import nvidia.dali as dali import nvidia.dali.fn as fn import numpy as np import test_utils def close(a, b): return abs(a - b) < 1e-5 or abs(a - b) < abs(a) + abs(b) * 1e-6 def analyze_frame(image, channel_dim): def pixel(x, y): return image[:, y, x] if channel_dim == 0 else image[y, x, :] x0, y0,...
[ "noreply@github.com" ]
noreply@github.com
db1017761b8a60f899417552208f0142c854572f
39152b57735b719505bd53188b88fd806b3e49bf
/Web_Book/settings.py
7178de31ca202b70bdb9f9461b642e9517d33e15
[]
no_license
Jamly777/GCDAPIs
5614e2b260788068f3fd7ac2043b02f14051d6a4
344db3dbc184c58d057b2b75a87a8fcf934da21b
refs/heads/master
2022-11-27T17:45:43.376592
2020-08-10T08:25:25
2020-08-10T08:25:25
285,748,535
0
0
null
null
null
null
UTF-8
Python
false
false
3,300
py
""" Django settings for Web_Book project. Generated by 'django-admin startproject' using Django 2.2.13. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "849336620@qq.com" ]
849336620@qq.com
2d80493c4e010cd75ae09fca79b6e683d1b70306
c2ca6b1b2853e6987ac166ddc224c59addf84e61
/registro_matricula/gestion/urls.py
1f3a14b3cab6bacf7797fb2da93a69162c868469
[]
no_license
gqroot/ProyectoAngular
e7eaa43619c4cf0b369ed0f97d585cb8996fd4ef
c425323ab4368406ebc1155901e6a5b0c2c4197e
refs/heads/master
2021-06-01T04:15:25.252505
2016-07-27T14:19:34
2016-07-27T14:19:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
from django.conf.urls import url urlpatterns=[ url(r'^$','gestion.views.administrar'), url(r'^alumnos','gestion.views.alumnos'), url(r'^materias','gestion.views.materias'), url(r'^modificarAlumno','gestion.views.modificarAlumno'), url(r'^eliminarAlumno','gestion.views.eliminarAlumno'), url(r'^modificarMateria',...
[ "gqrott@gmail.com" ]
gqrott@gmail.com
2cf3d032e9fc0f937dcce5f80592ba41b1996758
17c6cf4562825bf91af36ec5e3c1637c3df3e34b
/home/migrations/0006_product_detail.py
83578664abc96e882f1270cec019968a4400796d
[]
no_license
VoThanhHieu/DATN-webnongsan
a004f312b03e144ed982d081318b42448ec88976
236814c5c617223ed353cac3129e06dc647dbe48
refs/heads/main
2023-08-24T00:27:18.913151
2021-10-03T15:46:41
2021-10-03T15:46:41
413,121,207
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Generated by Django 3.0.6 on 2020-05-26 13:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0005_auto_20200526_1927'), ] operations = [ migrations.CreateModel( name='Product_detail', fields=[ ...
[ "vothanhhieu19@gmail.com" ]
vothanhhieu19@gmail.com
a13ba3403a954a805e8bc586f2179587ed19b562
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02843/s696796090.py
05e70395147aa3317b5c278c07796ed013434575
[]
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
348
py
X = int(input()) price = [100,101,102,103,104,105] dp = [[0]*100001 for _ in range(6)] dp[0][0] = 1 for i in range(100,100001): dp[0][i] = dp[0][i-100] for i in range(1,6): for j in range(price[i]): dp[i][j] = dp[i-1][j] for j in range(price[i],100001): dp[i][j] = max(dp[i-1][j],dp[i][j-p...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
04231d91e5d33e957c15c28892b7716bb60a70c1
895dfeb5c6af5e8c66772491d164e9d5b57d4302
/Courses/Full_Stack_Foundations/restaurant_raw/webserver.py
7fa49de6ca38602236c51866bf2598078cc5b8a0
[]
no_license
JPGITHUB1519/FSND-Udacity
753747aac6b727ac7a0e98d95059127bf8a3690d
a7acb4df6ff3b2216da5749e7087b0e254ed80cd
refs/heads/master
2020-12-30T12:11:21.051853
2017-10-05T02:30:22
2017-10-05T02:30:22
91,410,311
0
0
null
null
null
null
UTF-8
Python
false
false
3,540
py
import os import cgi from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from jinja2 import Environment, FileSystemLoader, select_autoescape from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from database_setup import Base, Restaurant, MenuItem ### jinja config config = { "directo...
[ "juanpedro1519@gmail.com" ]
juanpedro1519@gmail.com
3633c7e75bbbbfb62058908d6c2347390b3e5304
181422ac454cee38ed994b221d9ead920dc68654
/git_size_checker.py
372ecfd580a53b232b58663d6c73086233e2e4f0
[]
no_license
arnab-api/AI_project
26c54b82a5d23b9d7cebc78636e8692b9491b8f3
d1b7e62656fd23594e38f2d7d7ee2689d7ed5217
refs/heads/master
2023-02-15T09:40:23.371708
2021-01-10T15:00:20
2021-01-10T15:00:20
328,405,141
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
import os # print(os.listdir("AudioFeatureExtractorV2")) # print(os.stat("AudioClassifierMicro.tflite").st_size) # print(os.path.isfile("AudioClassifierMicro.tflite")) # print(os.path.isfile("AudioFeatureExtractorV2")) def byte2mb(val): val /= 1024 val /= 1024 return val def rec(root_path): if(os.p...
[ "arnab.api@gmail.com" ]
arnab.api@gmail.com
26fcccc1e7e3f84d281cf0fe8be0c918b62128ed
daa023c91dc1fe0fed0033dead8fe75f0e5a1d95
/common/optimizer.py
107bd9ad9e014ef3fd77fa7f263eb2be80ad74b3
[]
no_license
skisa31/learning_deeplearning
d79ab5e292b33714241a56183eefb862c5c68e13
52ae54676bf070223da97e608a229847a1bb8b51
refs/heads/master
2022-11-20T15:05:01.168165
2020-07-21T06:44:18
2020-07-21T06:44:18
265,997,758
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
import sys sys.path.append('.') from common.np import * class Adam: def __init__(self, lr=0.01, beta1=0.9, beta2=0.999): self.lr = lr self.beta1 = beta1 self.beta2 = beta2 self.iter = 0 self.m = None self.v = None def update(self, params, grads): if self.m is None: self.m, self....
[ "skis1031@gmail.com" ]
skis1031@gmail.com
65541bb2162ab7eb6396b7360d71b361b0c419f5
50ba850aa5599c3aa882a11c5df2d860ffb3e5b8
/online_shop/migrations/0001_initial.py
ceb86d1b2d4f4114f0fccd6742327356f48deee3
[ "MIT" ]
permissive
Maaqsadbek/online_shop_git
6973284700ae3800d8c4ee0d688eecae8f053c8b
b9b750e998e1ce7e8ea26ef3ebbf28492477a07a
refs/heads/main
2023-08-23T13:06:19.539813
2021-11-01T20:33:03
2021-11-01T20:33:03
417,265,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,457
py
# Generated by Django 3.2.7 on 2021-09-30 19:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='rang', fields=[ ...
[ "89677902+Maaqsadbek@users.noreply.github.com" ]
89677902+Maaqsadbek@users.noreply.github.com
af48ea781107381732c9646fcee409e6b6bff303
6764133d65c571758a177c70702d12ec536ddf18
/Q1.py
5dff7602602b29d01c97169fdc0c7f6042bdefd6
[]
no_license
crcrazy/ltd-cide
6f34bb2a030b0960285763cf4ac889d96666e359
f9f651799d0a5a5733512600fce4a6794c4851d1
refs/heads/master
2021-07-20T09:32:59.787202
2017-10-30T03:50:45
2017-10-30T03:50:45
108,799,277
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
class Solution(object): def twoSum(self, nums, target): dict ={} for i in range(len(nums)): x=nums[i] if (target - x) in dict: return (dict[target-x]+1,i+1) dict[x]=i
[ "yzh286@g.uky.edu" ]
yzh286@g.uky.edu
2e71d123768a4baaceb7cf78751643f3bc645473
eb8855df9efcaafe7be3c33ac6a9eba09190a802
/article/migrations/0002_articlepost_total_views.py
1afe206df23165b96a38b7402b009dcd70fbdaca
[]
no_license
demo112/Bloging_new
4441b32cde519b8aa6e5fd04a30af09a2e2cbe46
ab8fbf0e33dd91413a707491bfce3e46d4d021c9
refs/heads/master
2020-04-30T00:52:41.741959
2019-03-28T00:08:28
2019-03-28T00:08:28
176,513,462
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# Generated by Django 2.1.7 on 2019-03-22 19:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0001_initial'), ] operations = [ migrations.AddField( model_name='articlepost', name='total_views', ...
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
1aa3752c58335a1b8cb63f5ca192c48180bc3889
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4062/codes/1845_2220.py
3d32d34040dc707ac31d11f0735accdb07b48017
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
131
py
from numpy import * m= array(eval(input("Pagamentos: "))) l = shape(m)[0] c = shape(m)[1] for i in range(l): print(max(m[i, :]))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
cb601b6849d3998b47d3bd029693d9a1e37a592e
b23ee939e04b591542b45615f03192fc12b99a9a
/koans/about_exceptions.py
8f6b86390c1a38170973ee8ec141feec288e89bc
[]
no_license
uneeque/python_koan_test
866cb4f36783769a08cb1edb299094ed7ea71c07
4f00131101fc2cd444d7becb6c6859c322562bc7
refs/heads/master
2020-06-03T14:16:40.325113
2019-06-18T18:47:47
2019-06-18T18:47:47
191,600,797
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * class AboutExceptions(Koan): class MySpecialError(RuntimeError): pass def test_exceptions_inherit_from_exception(self): #Do not understand mro = self.MySpecialError.mro() self.assertEqual('RuntimeEr...
[ "bazarbaevnurz@gmail.com" ]
bazarbaevnurz@gmail.com
a2d9c2d6ca817561f57b28d85dd288c47d184e06
135f267a1c272a7fcd5ba23e9cccc9e7241faef0
/discord_bot/controllers/_bot.py
540018f959cc7437f5791619464bf935cf060b2a
[]
no_license
Skarlett/discord-bot
47b0616f8a2ab8b3bb5526fad5fe6e8ebaec4c65
273b5e7057b222261866a43353d762670dbe3391
refs/heads/master
2023-04-17T08:09:48.233726
2021-05-03T05:49:57
2021-05-03T05:49:57
254,836,783
1
0
null
null
null
null
UTF-8
Python
false
false
554
py
import logging import asyncio from discord.ext import commands from ..config import core from ..utils import parametrized_decorator bot = commands.Bot(core.PREFIX) @bot.listen() async def on_ready(): logging.info("{} Online".format(bot.user.name)) @parametrized_decorator def bg_task(fut, wait=30, bot_ready=True...
[ "zykl@protonmail.com" ]
zykl@protonmail.com
ff6706ef93fb182f91ea4f91a6528b015c9269fd
75aa56d5e955fe5253d1cfe55632669e3d51f3e5
/rento/rento/settings.py
a33c3aa63316cd5667af79c8ad570613cc710979
[]
no_license
tennnmani/rento
922da34e3c2f62a017118e5cb7592ffb47977225
8a9b2558c0ea610fe1923b46b3d90e583a18435e
refs/heads/main
2023-02-25T10:47:44.888519
2021-01-26T18:40:30
2021-01-26T18:40:30
332,638,743
0
1
null
null
null
null
UTF-8
Python
false
false
3,350
py
""" Django settings for rento project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib i...
[ "mani.mhzn.182@gmail.com" ]
mani.mhzn.182@gmail.com
c3d3b70e25b259b22154ba2a2e6aa29eb29097b7
60fcd9a1febe00f2f0dbff8a63e0679080250e47
/class/method_over_riding.py
144bb21c7d11c53049ca53ae8a7d8709ec4f30ed
[]
no_license
Vishnuprasad-Panapparambil/Luminar-Python
71617ce7fc5f3d6de1c151bf473d62ab2ecebb83
d0cb9d1ac197c5e3bb45a003db36e824a04ea68f
refs/heads/main
2023-01-05T05:58:48.798407
2020-11-06T02:05:42
2020-11-06T02:05:42
305,049,511
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
class parent: def phone(self): print("i have nokia phone") class child (parent): def phone(self): print("i have i phone") ob=parent() ob.phone()
[ "vishnuprasad.p19@gmail.com" ]
vishnuprasad.p19@gmail.com
32dca758ec9a855557c0775a0292f703a4a67442
fe6aa1fae438ad04b19b9e69f51175c3692638a8
/B站/【pandas高级应用】Python自动化办公/0801/代码/009/009(matplotlab).py
400b7230fb882adf4ce3417dcc82fa443b9072ac
[ "MIT" ]
permissive
JiafengtTang/python_auto_office
6a90d2792bb08dd0e236a80c78615bbaefbb6a88
3dfb9fb7f00c94dd61221c77c592dc3d749b57d4
refs/heads/master
2023-08-30T13:57:08.296743
2021-11-09T00:05:21
2021-11-09T00:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
import pandas as pd import matplotlib.pyplot as plt students = pd.read_excel('C:/Temp/Students.xlsx') students.sort_values(by='Number', inplace=True, ascending=False) students.index = range(0, len(students)) print(students) plt.bar(students['Field'], students['Number'], color='orange', width=0.7) plt.xticks(students[...
[ "61504442+zhaofeng092@users.noreply.github.com" ]
61504442+zhaofeng092@users.noreply.github.com
3729444001e26cd3ac974a5d067651df3abee8ff
76d36b932c50a8755968addff84443c3dc4f8485
/tools/realty_ui.py
5ad33da1968dcd4ff7473eec1d8ee7f83865c103
[]
no_license
tuapsekad/openLand
35e27dfe2428aa30a5e1d673545420fab04f6aa2
7c418cfb84a228c06ce6838397d38723fb32bec7
refs/heads/master
2021-01-23T21:33:05.799625
2014-07-04T03:57:14
2014-07-04T03:57:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,395
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'realty.ui' # # Created: Mon Oct 28 11:22:38 2013 # by: PyQt4 UI code generator 4.9.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except Attribut...
[ "biryuchkov@gmail.com" ]
biryuchkov@gmail.com
8958ae880a02f986aeae49ecf1ed0c08c362f8fa
8f71fd6ef23f39c891b2b2d4c5039b7cc928cb6c
/course_2_assessment_4.py
3b3d947292413e4ac9e6e7b2f03b8375192d1da2
[]
no_license
CoralieHelm/Python_Functions_Files_Dictionaries_University_of_Michigan
86368b1fdb233288b50742fc805f1dc905b2d1df
f0b1ab6f1e20c4643c81127ce37e226691b73b2a
refs/heads/master
2022-11-14T12:46:07.103730
2020-07-05T20:57:19
2020-07-05T20:57:19
267,418,934
1
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
#June 4 2020 #course_2_assessment_4 print("*****************Beginning of Assessment 4**************") #Task 1: Write a function called int_return that takes an integer as input and returns the same integer. def int_return(integer): return integer print(int_return(5)) print("<<<<<<<<<<<<<<Task 1 Completed>>>>>>>>>>...
[ "helm.coralie@gmail.com" ]
helm.coralie@gmail.com
ccdb7e2bdc5852d77272a77cb14ef144f7da9cd3
bcb88b603c0824681f530fbaea49085340f76fa1
/chap10/02_multi.py
8974ebc9a128a8ddb1b675e0c0155c2cced7b678
[]
no_license
ma-xiaodong/tf_practice
45e2b748d28f732f856b72d00336c21bf54b7b17
a60057f971c6c024d6e670dea8e37e62f69ffb91
refs/heads/master
2020-04-03T09:27:16.862725
2018-11-05T12:08:33
2018-11-05T12:08:33
155,165,285
0
0
null
null
null
null
UTF-8
Python
false
false
5,008
py
import os import time from datetime import datetime import tensorflow as tf import mnist_inference import pdb FILE_NAME = '/home/mxd/software/github/tf_practice/chap10/output.tfrecords' N_GPU = 1 def get_input(): filename_queue = tf.train.string_input_producer([FILE_NAME]) reader = tf.TFRecordReader() _,...
[ "xdma@163.com" ]
xdma@163.com