blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
41049071a2647adb6336450cda3a9208b1d8096e
c5b3b526162b28161191cd17a9183b06c0ead7f9
/test/ontology-annotator_server_test.py
816b57ec9d7947addac89b7e20c5043e9be666b0
[ "MIT" ]
permissive
kbasecollaborations/ontology-annotator
d226f163389b9787b7bf1b4e65e710687398b1b2
85f738b23df02726c1911d794c2befb3cf37da88
refs/heads/master
2020-04-27T19:23:11.101849
2019-04-23T14:55:12
2019-04-23T14:55:12
174,615,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
# -*- coding: utf-8 -*- import os import time import unittest from configparser import ConfigParser from ontology_annotator.ontology_annotatorImpl import ontology_annotator from ontology_annotator.ontology_annotatorServer import MethodContext from ontology_annotator.authclient import KBaseAuth as _KBaseAuth from inst...
[ "rroutson@utk.edu" ]
rroutson@utk.edu
3d0061baa9c05be383c28dd1aa8693d90074cb3c
fb81d9fe47ee681b5a32dc97c693fa220af87400
/FLOWER PATTERN.py
d784d1595bdec44c84c03d505fd46e870beb88d8
[ "Apache-2.0" ]
permissive
adicodingstudio/AMAZING-FLOWER-PATTERN
78ff0c4fc87ec1f97876f2d39c1a281aca8a47f1
d8db8800ba4ce2d8d72200d982f7a425cd17b0d2
refs/heads/main
2023-06-12T20:38:30.680953
2021-07-06T06:00:09
2021-07-06T06:00:09
383,356,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
import turtle wn = turtle.Screen() wn.bgcolor('black') s = turtle.Turtle() s.speed('fastest') s.color('white') rotate = int(180) def Circles(t, size): for i in range(10): t.circle(size) size = size - 4 def ankur(t, size, repeat): for i in range(repeat): Circles(t, size) t.ri...
[ "noreply@github.com" ]
adicodingstudio.noreply@github.com
14304db86538b10a036bff8c1f07028c6fae177d
576fe24003c0a4ef5f8ce60ba297e7621fa6509c
/programmers/kakao 2021/4.py
292f14983e187620de7e1b242397934d283c4c84
[]
no_license
juvelop17/problem_solving
167edd847a1578a02ac8de04d93246def6d4766f
cf57de3f0258f516454c5db47e214148e5a82e77
refs/heads/main
2021-11-17T10:04:05.511857
2021-10-13T14:53:59
2021-10-13T14:53:59
210,004,340
1
0
null
null
null
null
UTF-8
Python
false
false
849
py
INF = 100000000 def solution(n, s, a, b, fares): cost = [[INF for _ in range(n+1)] for _ in range(n+1)] for fare in fares: cost[fare[0]][fare[1]] = fare[2] cost[fare[1]][fare[0]] = fare[2] for i in range(1,n+1): cost[i][i] = 0 for k in range(1,n+1): for i in range(1...
[ "juvelop17@gmail.com" ]
juvelop17@gmail.com
7bcb8fd48d5ffb65b57fc15df4d7345b8a6486d3
84709c695b0b524bf07073f58c577463b08cd862
/pip/req/req_set.py
87bae8de676876722e12f2d4fe1efd501d3967d9
[ "MIT" ]
permissive
sw25sw25/Docker
de33b2518da1ff92bcc65e3e15d5487860413fc6
bd8327e460f5f8132853f82f5fa5187a355e8860
refs/heads/master
2021-01-21T09:23:24.922383
2017-06-26T09:06:17
2017-06-26T09:06:17
91,654,047
1
0
null
null
null
null
UTF-8
Python
false
false
24,628
py
from __future__ import absolute_import import logging import os from pip._vendor import pkg_resources from pip._vendor import requests from pip.download import (url_to_path, unpack_url) from pip.exceptions import (InstallationError, BestVersionAlreadyInstalled, DistributionNotFound, Previ...
[ "sw25sw25@hanmail.net" ]
sw25sw25@hanmail.net
c842d15ef9f21160984957d98e6cf2a8ae0ac72b
9ead5fcc5efaf7a73c4c585d813c1cddcb89666d
/m5/src/cpu/o3/FuncUnitConfig.py
954381f865f2fbd9e3a996484c668c79f13d19ba
[ "BSD-3-Clause" ]
permissive
x10an14/tdt4260Group
b539b6271c8f01f80a9f75249779fb277fa521a4
1c4dc24acac3fe6df749e0f41f4d7ab69f443514
refs/heads/master
2016-09-06T02:48:04.929661
2014-04-08T10:40:22
2014-04-08T10:40:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,699
py
# Copyright (c) 2006-2007 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this ...
[ "chrischa@stud.ntnu.no" ]
chrischa@stud.ntnu.no
2c8ae10e57f05381496c0cf5ea47a88f09f63ed7
5fd3697754fe4c1e9bee5713166a98a20082068e
/ENV/lib/python2.7/site-packages/moesifdjango/middleware_pre19.py
3a131b279483d4fdc86df1d10c1fca6edbbf989a
[]
no_license
isabella232/moesifdjangoexample
770a96a5f3876aca72bdf33e52d6f434140ed170
9e89093ad5098aa784002b285734dd3163345bc0
refs/heads/master
2023-08-02T23:00:50.635281
2021-07-21T23:00:25
2021-07-21T23:00:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,719
py
from __future__ import print_function import requests import threading import copy import json import base64 import re from django.conf import settings from django.utils import timezone from moesifapi.moesif_api_client import * from moesifapi.api_helper import * from moesifapi.exceptions.api_exception import * from m...
[ "xing@usetrove.com" ]
xing@usetrove.com
565266b855d7039287e4042a28519c553237365d
0c5ab5c69ed77ed9a0613e4cefd3fc1b418ceef6
/FinalProject/WordSeg/SylMap.py
060d497164e78364b3b7d61ee8d8eeef063be86f
[]
no_license
Neil-Do/HUS-Python
00831eb1121690f76752867ccfdcb8bd98973af6
630849717bb27b99a9ddfb33ae479485ebb032d4
refs/heads/master
2020-09-13T10:54:50.523791
2020-01-17T06:53:43
2020-01-17T06:53:43
222,749,058
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
class SylMap(): def __init__(self): sylMapDataFile = open("../data/VNsyl.txt", 'r') size_ = sylMapDataFile.readline() self.syl_ = set(syllabel.strip() for syllabel in sylMapDataFile) sylMapDataFile.close() def isVNESE(self, token): return token in self.syl_ # da test
[ "dotatthanhk60@gmail.com" ]
dotatthanhk60@gmail.com
c6ddd545eaaabd7bec57fc86bf3319dc29034f6a
b6ec87d69d678864546e9b789383c3726a7f5df9
/waterqualit_pred/waquapred-master/preprocessing/1_generateInput_GKV.py
60f88eed7e4cc6046838b680c19a4c0553dd3af0
[]
no_license
ram-ravi/Master-thesis
8ff2920bf4a439151fd7300ee373c13b61e54a88
208037dcdb1cb83e5255f5e19353b7c62b8c3e4d
refs/heads/main
2023-04-16T18:23:08.334873
2021-05-02T17:59:09
2021-05-02T17:59:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,055
py
# read GKV data and store it into a useful data structure # some files are handled individually because of their different structure import os import numpy as np import pandas as pd ################################## auxiliary functions ######################### # skip first lines until actual table starts with key...
[ "ramachandranravi96@gmail.com" ]
ramachandranravi96@gmail.com
e49ba62fc48d3a2039832320341d561d0a570f4d
7bafb08f5ac2a29371fae2795ceed18cef9f28ab
/python/module_exercises_to_learn_python_the_hard_way/module_2_solution.py
1ca448c65997c264bb1d964766283413b1971bc8
[]
no_license
gabrieleiannetti/tools_sysadmin_and_softdev
2e5e78f6e35a4fe9ffdc0056061263b14ba50b68
69e1556eac4dc6d735f8388d8c111746130ce8f5
refs/heads/master
2021-10-22T18:55:36.654976
2021-10-11T10:54:36
2021-10-11T10:54:36
148,139,776
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Filename: module_2_solution.py # Practice exercise for exercises 11-14 # from the book Learn Python the Hard Way (third edition) from sys import argv script, arg1, arg2 = argv print(""" Script : %s Argument 1: %s Argument 2: %s """ % (script, arg1, arg2)) inpu...
[ "g.iannetti@gsi.de" ]
g.iannetti@gsi.de
5ad558de0240ce8b827a523e1afc8287c57e15bc
f8492d149d14fb2137b522368f841f22686657fe
/Codi/masp-master/masp/tests/spherical_array_processing/test_evaluate_sht_filters.py
432fe26433f77e044f88c277124423b69d60917e
[]
no_license
MarcFranco/TFG
fdfae5fd30bd9a714986605e523c077d35e88f62
390289f02dc512f38c7a4810fed75d86b826e6ff
refs/heads/Inicial
2022-11-21T10:08:47.498368
2020-07-06T21:34:54
2020-07-06T21:34:54
237,506,523
1
1
null
2020-03-23T11:44:36
2020-01-31T20:00:58
Python
UTF-8
Python
false
false
3,425
py
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Copyright (c) 2019, Eurecat / UPF # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of...
[ "marc.franco02@estudiant.upf.edu" ]
marc.franco02@estudiant.upf.edu
2685be9bebb71c12c8a3a6a0c4af0206ea9d012b
ff7ed554b920bf1871e0e8991e4aa1fb5084f152
/src/scoring/scorer.py
db30a09dca5aec826b5b5fc8c0f9583ce8c5213c
[ "BSD-3-Clause" ]
permissive
uw-bionlp/ards
68bfec52c4b2c2a4b4878acf089709cb1ddebddb
e9fc27f7034cc6b54f0ccdba4a58377948cf0258
refs/heads/main
2023-04-04T19:48:41.375668
2021-04-15T01:05:25
2021-04-15T01:05:25
358,041,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,695
py
import logging import os from collections import OrderedDict, Counter import pandas as pd class Scorer(object): def __init__(self): pass def compare(self, T, P): return None def combine(self, dfs): return None def fit(self, T, P, params=None, path=None): ''' ...
[ "ndobb@uw.edu" ]
ndobb@uw.edu
bb63b87e052b0e6c45282d8c13297279ccce2527
dba1ad37e98756cedcfdb5d7fb68184b29eee2ca
/main.py
82134c349a84be5c7443290d8341b3a16e7526ee
[]
no_license
andricilarisa/Ghosts-RN
c5c1dddf807ee8c283717cbd3c0e713ca893b7ab
aa066d7dae4ef3995c8a87eac9146d4e0bf6ff73
refs/heads/master
2021-09-14T12:24:28.377894
2018-05-13T20:18:37
2018-05-13T20:18:37
113,195,203
0
0
null
null
null
null
UTF-8
Python
false
false
2,244
py
import numpy as np import pandas as pd train = pd.read_csv("train.csv", index_col=0) test = pd.read_csv("test.csv", index_col=0) # Really simple data preparation y_train = pd.get_dummies(train[["type"]], prefix="") train.drop("type", inplace=True, axis=1) train_test = pd.concat([train, test], axis=0) # It looks lik...
[ "larisa.andrici@gmail.com" ]
larisa.andrici@gmail.com
196450c05cebf762582c46904661852744c4960a
d200a54adcec3a254a909b9689f925c1614f6fb1
/backend/core/urls.py
6a071e60621875e2de757a1a6ad7a79bb286993f
[]
no_license
shusaku-ishikawa/binance
1bbe7f4aaf32c0ade4f67da7a4c1972f414bfa19
60bad0848fa4f4666e2476117a79ee8452326ed1
refs/heads/master
2022-01-27T01:35:24.038917
2019-11-30T12:42:36
2019-11-30T12:42:36
204,909,653
0
1
null
2022-01-15T05:20:54
2019-08-28T10:50:13
JavaScript
UTF-8
Python
false
false
137
py
from django.contrib import admin from django.urls import path app_name = 'core' urlpatterns = [ path('admin/', admin.site.urls), ]
[ "ishikawasyuusaku@gmail.com" ]
ishikawasyuusaku@gmail.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
2aa0492f67500e8f05c09b0047fb0eb07767d927
3dddd9fe7ad074edf2a64517564740b15dc6c5e4
/credential/credential.py
cf5bb2c003b20f1e6489eec078b5cc0e5edf07ae
[ "MIT" ]
permissive
Rashik-raj/flask_credential_manager
c8cea6602a349bcb20d022d467ade2aa976605b4
528667348dd439f4ebd8ebce30aa2a43783c79a6
refs/heads/master
2023-07-16T16:48:42.130062
2021-08-30T14:55:44
2021-08-30T14:55:44
344,742,699
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
from flask import Blueprint, app, render_template, redirect, request, session, flash, url_for from sqlalchemy.sql import expression from .models import Credential, User from database import db_session from utils import login_required # from main import UPLOADS_DIR from werkzeug.security import generate_password_hash, c...
[ "rashik123.rs@gmail.com" ]
rashik123.rs@gmail.com
f51cc47d6d29acaa83242fbdec136a77b8f4d32d
9d2d6a718631c581b2ffacd08e57c92637a4a89e
/modelquiz2_task1.py
03aa31a318a08f2be3be7dfe958a44c82c5d9846
[ "MIT" ]
permissive
inwk6312winter2019/model-openbook2-Vijaisriraam
0ad57be86faba986164da2e4d58e49e7d447d35e
e11a1d9e100bf8f94fcd8cb3ad2e5312bdd729f7
refs/heads/master
2020-04-21T09:43:38.342411
2019-02-07T00:58:36
2019-02-07T00:58:36
169,460,102
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
file=open("Street_Centrelines.csv","r") """Tuple of names""" def tuplelist(): for line in file: line=line.split(',') word=(line[2],line[4],line[6],line[7]) print(word) #tuplelist() """Histogram for types of maintenance""" def histogram(): hist=dict() for line in file: line=line.split(',') word=(line[12...
[ "VijaiGopalS@dal.ca" ]
VijaiGopalS@dal.ca
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
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
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
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" ]
kevd82.noreply@github.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
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
f869a2cdf7cb7429f69ef7fcd6d955631a9e40bf
0a0780e677da9aac086c5e5ef650549d809e1cc1
/financial_tests/get_industries_lut.py
f8a1ea27bccf96785b7d78e8142e770940dc6ac9
[ "MIT" ]
permissive
vmalepati1/Stock-Screener-Dashboard
9bd955361d8104d90ff1b97273f946722cfc122f
e346c3dd2c448ead5268b7b9b695db308fcfd9a5
refs/heads/master
2023-03-11T05:46:45.479101
2021-02-22T15:03:29
2021-02-22T15:03:29
298,949,115
1
1
null
null
null
null
UTF-8
Python
false
false
760
py
import sys,os sys.path.append(os.path.abspath(os.path.join('..'))) from app.home.finance.stocks_dict import stocks_dict import yfinance as yf import pprint # creates a dict containing the industry names on Yahoo Finance industries = set() for sector in stocks_dict: print('Checking {} sector'.format(sector)) ...
[ "malepativikas@gmail.com" ]
malepativikas@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
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
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" ]
scbedd.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
67147500d0d0880a4e0124a49231530951a8b190
b23244ca088293d0700334236af5fee973bf1c8d
/user_service/app/controller/auth_controller.py
3bdf5d0f79dc85d65c11d76ea9174e031f749288
[]
no_license
tbjorch/WordAnalytics
b59fb48c8fb3e331af5634f963cc7a826b4bebc3
059d92051e9b1f5db8f9452c351321ecebbddd9c
refs/heads/master
2023-05-24T21:52:19.754588
2020-05-09T12:16:16
2020-05-09T12:16:16
227,184,406
0
0
null
2023-05-22T22:18:00
2019-12-10T18:00:33
Python
UTF-8
Python
false
false
447
py
# Standard library from typing import Dict # 3rd party modules import flask from flask import request # Internal modules from user_service.utils import get_required_data_from_request from user_service.app.service import auth_service as service def authorize() -> flask.Response: data: Dict = get_required_data_fr...
[ "t.bjorch@gmail.com" ]
t.bjorch@gmail.com
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
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
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
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
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" ]
snjazim.noreply@github.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
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
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" ]
woodliwei.noreply@github.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
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
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
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
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
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
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
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
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
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
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
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
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
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" ]
EllaChen103.noreply@github.com
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
358ee85d6ae8a96ab2643f6e3129c566dd0b1ce8
ae449919df32e9e62e608e46a88bbe840f3a17fc
/ML_ColumnHeights/make_test_data.py
84105e2a0b2fda18d50f5afa71b8ecb1fd39c3c1
[]
no_license
anilkunwar/-UIC-MIE-ESCM-ML
c8b0519a3da904148014ad249a82698140ea7cac
3760cb26580b571a35289fb3d13196497ca7a27a
refs/heads/master
2023-01-01T11:20:23.806661
2020-10-29T00:32:47
2020-10-29T00:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
import numpy as np import matplotlib.pyplot as plt import ase from ase.cluster import wulff_construction from ase.visualize import view import pyqstem from pyqstem.imaging import CTF from pyqstem import PyQSTEM from data_augmentation import local_normalize,random_flip,random_contrast,random_brightness,random_blur,rando...
[ "noreply@github.com" ]
anilkunwar.noreply@github.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
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
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
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
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
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
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
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
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" ]
jskinn.noreply@github.com
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
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" ]
ishiis.noreply@github.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
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
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
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
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
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
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" ]
cuguilke.noreply@github.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
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
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
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
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
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
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
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
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
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
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
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" ]
LeonVillanueva.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
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" ]
lilsweetcaligula.noreply@github.com
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
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
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
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
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
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
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
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
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" ]
ConnectionMaster.noreply@github.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
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
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
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
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