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
1e91a803b328bd034654bf41ee0e6eb97faa69de
298776e160c57d27a924228ef4054e9b72802630
/Hard/continuous-median.py
8dfd9bf45b9542887362529662435b080aec2833
[ "MIT" ]
permissive
kckotcherlakota/algoexpert-data-structures-algorithms
60bf1643dd912ae0dd4a6ff9f3390d75f5edde7c
f79eb5f23ebf941078014b917dc840af4e524dbb
refs/heads/master
2023-07-06T19:31:32.281102
2021-07-25T04:46:02
2021-07-25T04:46:02
389,708,228
2
0
null
null
null
null
UTF-8
Python
false
false
2,892
py
# CONTINUOUS MEDIAN # Do not edit the class below except for # the insert method. Feel free to add new # properties and methods to the class. class ContinuousMedianHandler: def __init__(self): # Write your code here. self.median = None self.lowers = Heap(MAX_HEAP_FUNC, []) self.greaters = Heap...
[ "das.jishu25@gmail.com" ]
das.jishu25@gmail.com
9785fb2c0135be8679c353ef40dc3735bf458e70
8b427d0a012d7dbd3b49eb32c279588f9ebd4e6e
/03 基本数据结构/base_converter.py
8a4adf70b5ec39d287b7bffb06c679cc84b2064d
[]
no_license
chenyang929/Problem-Solving-with-Algorithms-and-Data-Structures-using-Python-Notes
e9f1b324d86963333edaf855fdb9e126e59e8542
aed976e020147fe30a8e0bb708dfbe4bab4c15f7
refs/heads/master
2020-03-18T02:46:12.385967
2018-07-24T08:24:41
2018-07-24T08:24:41
134,206,437
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
# base_converter.py from stack import Stack def base_converter(decnumber, base): sk = Stack() while decnumber > 0: decnumber, rem = divmod(decnumber, base) sk.push(rem) bin_str = '' digits = '0123456789ABCDEF' while not sk.empty(): bin_str += digits[sk.pop()] return b...
[ "chenyang929code@gmail.com" ]
chenyang929code@gmail.com
1b04623916bf10e940e6aad684e3be6f45ce291f
69ef637ffa5739c368bc3a2da935f084203b56b6
/exercises/en/solution_02_29.py
9bc1817296e57d17bda520b44493983f2ca1cf2b
[ "MIT" ]
permissive
betatim/MCL-DSCI-011-programming-in-python
3e03734abb5af49b3dfc0b127e65b3573911afb0
b51f43a6bb1bedf0db028613d48d6566309ec44a
refs/heads/master
2022-11-08T06:03:56.190181
2020-06-25T16:20:30
2020-06-25T16:20:30
275,013,051
0
0
MIT
2020-06-25T20:53:13
2020-06-25T20:53:12
null
UTF-8
Python
false
false
786
py
import pandas as pd pokemon = pd.read_csv('data/pokemon.csv') # Create a plot by chaining the following actions # Make a groupby object on the column type and name it pokemon_type # Use .mean() on the new groupby object # Use .loc[] to select the attack column # Sort the pokemon mean attack values in descending orde...
[ "hayleyfboyce@hotmail.com" ]
hayleyfboyce@hotmail.com
d0b980e1382c60d7095dd6b4453c79ca59557889
3b0ea7976e59068e9964464f145eb8ba94879c60
/Euler_14.py
1e30ddf1f7492a5cafab5b2ffc16ec8668b47ec1
[]
no_license
Hawkqwerty/euler_project
a6e30c3ac72b947d1789fd719573cbb9e4500ae3
b87125374307fb72b3ccf2ccc0b72b9e7c2704ac
refs/heads/master
2021-01-23T04:44:46.157006
2017-05-31T11:53:46
2017-05-31T11:53:46
92,940,966
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
b=range(1,1000000) ko=[] k=[] for a in b: while a!=1: if a%2==0: a=a/2 else: a=3*a+1 ko.append(a) if a==1: k.append(int(len(ko)+1)) ko.clear() #print(max(k))
[ "alexeygrigorenko59@gmail.com" ]
alexeygrigorenko59@gmail.com
fc7602b854c8047f9e2b39feb62c070dca7154af
52b5fa23f79d76883728d8de0bfd202c741e9c43
/kubernetes/client/models/v1_api_group.py
92e0cdebde10702fa4255463874479a99acdfee0
[]
no_license
kippandrew/client-python-tornado
5d00810f57035825a84e37ff8fc89a7e79aed8da
d479dfeb348c5dd2e929327d800fe033b5b3b010
refs/heads/master
2021-09-04T13:01:28.275677
2018-01-18T23:27:34
2018-01-18T23:27:34
114,912,995
0
0
null
null
null
null
UTF-8
Python
false
false
10,458
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.8.6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "andy@rstudio.com" ]
andy@rstudio.com
4091a90290709e34b556d9ffc2b3d64e5efac4d3
d31417af94c4b5b55be931b7d057d1a487fbbf50
/newspaper_project/articles/admin.py
18df7879786bafea02acd0d65d4ccd40b5021fdd
[]
no_license
masayamatu/django-newspaper-app
ebd17737959bd5917c232bcbb99b3b9ffddc99ff
4aad35b09dd51bae3c2b0a6da8ac2f249b42a3d0
refs/heads/master
2023-01-10T19:29:37.144887
2020-11-01T03:53:14
2020-11-01T03:53:14
309,019,327
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
from django.contrib import admin from .models import Article,Comment class CommentInline(admin.StackedInline): model = Comment extra = 0 class ArticleAdmin(admin.ModelAdmin): inlines = [ CommentInline, ] admin.site.register(Article) admin.site.register(Comment) # Register your models here.
[ "m.masa1104@outlook.jp" ]
m.masa1104@outlook.jp
6eb415507e1387c599338135ef762cab2f9d1cc1
5cedadbcc0561edb4db13b709c0afddc5a206b6e
/modules/tweety.py
22b7929c9a80f49a8671231ce932be413d7d4277
[]
no_license
harryd/Boteh
1fdddf4e83dce7d2b5b07ba119a07f27a1533f17
38cbf1e54c76a674d23032da01b19ededed24ac3
refs/heads/master
2020-04-06T07:07:09.997641
2011-05-12T20:13:38
2011-05-12T20:13:38
1,740,961
2
0
null
null
null
null
UTF-8
Python
false
false
890
py
import twitter import urllib def getpost_clean(user,c_key,c_secret,a_key,a_secret): api = twitter.Api(consumer_key=c_key, consumer_secret=c_secret, access_token_key=a_key, access_token_secret=a_secret) statuses = api.GetUserTimeline(user) return [s.text for s in statuses] def getpost(user): api = twitter.Api(con...
[ "b1naryth1ef@gmail.com" ]
b1naryth1ef@gmail.com
e24457a4ef65eef362c97665ea32d700f6822765
5819ce30b9aa2fe6b520d654670af56680676469
/01_code/prj197_chessGame.py
f7597ce48e8e8eabd6d65c98935a0047db9fdec7
[]
no_license
bendell02/nowCoder
e54b87d83f71c441f3df6cb5501dccc6993df533
1f7cc7788c6827bef1734414743e45f317a11991
refs/heads/master
2021-01-17T19:21:30.715814
2019-07-25T12:04:06
2019-07-25T12:04:06
58,054,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
#!/usr/bin/python #-*- coding:utf-8 -*- #Author: Ben # 按照 牛客673854 的思路写得 import Queue chessSize = 6 direction = [[-1, 0], [1, 0], [0, -1], [0, 1]] class Point: def __init__(self, x, y, s): self.x = x self.y = y self.s = s def BFS(cost, chess, sx, sy): cost[sx][sy][1] = 0 q = Q...
[ "1203029076@qq.com" ]
1203029076@qq.com
9a5283934e3371fe8b848b1b2777b3d8943216da
a5747577f1f4b38823f138ec0fbb34a0380cd673
/16/sig_jecr/analysis.py
33c3bc602a8201f897082773665ca19b3800080d
[]
no_license
xdlyu/fullRunII_ntuple
346fc1da4cec9da4c404aa1ec0bfdaece6df1526
aa00ca4ce15ae050c3096d7af779de44fc59141e
refs/heads/master
2020-08-03T07:52:29.544528
2020-01-22T14:18:12
2020-01-22T14:18:12
211,673,739
0
3
null
null
null
null
UTF-8
Python
false
false
32,777
py
import FWCore.ParameterSet.Config as cms process = cms.Process( "TEST" ) #process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True)) process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True),allowUnscheduled=cms.untracked.bool(True)) #, # SkipEvent = cms.untracked.vstring('P...
[ "XXX@cern.ch" ]
XXX@cern.ch
4941ab29e5f3fd24693b2873e422eef222697ebf
994b1e91d0a7a0c2b2cb8122ed9d48e47dfea85b
/Cameron_Marshall/django/survey/apps/survey/urls.py
9e206806abce14f85334f62ecb8dc32d323bdb07
[]
no_license
cmarsh940/python_july_2017
1d5d01459e5a7f5a5d16e83d5e75b5407bb33eb5
a569e48e8087ee591cbc4956c98d12d926d1db0f
refs/heads/master
2020-06-27T03:46:54.542984
2017-07-20T17:19:52
2017-07-20T17:19:52
97,045,055
0
0
null
2017-07-12T19:32:04
2017-07-12T19:32:04
null
UTF-8
Python
false
false
185
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^handle_survey$', views.handle_survey), url(r'^result$', views.result) ]
[ "cam.marshall940@yahoo.com" ]
cam.marshall940@yahoo.com
f782445dc6543a9b0c2b933d85039dfb7a9ed1a4
9c44c1b431abcdb1f7b85039dfddc6e6ae21e1c0
/ZanataRpm.py
a19cecc8b80fcf3a49615c9c2cab9e5f2d6544a1
[]
no_license
zanata/zanata-scripts
b996956e0f3d75d631fa6833463b701ce59db5d9
0cc14fd346a94b412409d339d3f2728b0c5bf875
refs/heads/master
2021-04-09T16:43:31.403084
2018-09-05T04:10:41
2018-09-05T04:10:41
3,624,269
2
4
null
2018-09-05T04:10:42
2012-03-05T05:41:48
Shell
UTF-8
Python
false
false
5,364
py
#!/usr/bin/env python2 # encoding: utf-8 """ ZanataRpm -- RPM manipulate ZanataRpm mainpulates RPM and spec files, such as version bump. It defines classes_and_methods @author: Ding-Yi Chen @copyright: 2018 Red Hat Asia Pacific. All rights reserved. @license: LGPLv2+ @contact: dchen@redhat.com """ from ...
[ "noreply@github.com" ]
zanata.noreply@github.com
77a5ba73badb49f85b070d438eba5578e8a70322
b1beed3e97f3b6d2a29f8c101b804401e5e0fce1
/test/test_p2p_buf_matched.py
65561fd2b500736e58dd98e32f09f2f21b6c6205
[]
no_license
Mathislu/mpi4py
476cf09aa89b5b88051a048f0d599cb3d9050592
ddefbb790d14777cb322ea9007d61345f81f2099
refs/heads/master
2023-09-01T03:07:46.102593
2021-10-06T19:13:12
2021-10-06T19:13:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,658
py
from mpi4py import MPI import mpiunittest as unittest import arrayimpl @unittest.skipIf(MPI.MESSAGE_NULL == MPI.MESSAGE_NO_PROC, 'mpi-message') class TestMessage(unittest.TestCase): def testMessageNull(self): null = MPI.MESSAGE_NULL self.assertFalse(null) null2 = MPI.Message() sel...
[ "dalcinl@gmail.com" ]
dalcinl@gmail.com
c5a31eb41580dc0adfdf2d07d1e4a5c2ca3d23a8
a6be90df65e2369dbd0a4b64af078dc49aa5b7fa
/game/Tic-Tac-Toe-Game-in-python-3-Tkinter-master/my tic tac 2.py
b31c59089b64aac4e14331a1b95ee1a39d91ee96
[]
no_license
realshantanu/EDITH
4ebaee5d92081c01750959db98adfe5f7c8db1d7
b26526948969880e0dbd3d6da0fe42d4c20452d8
refs/heads/master
2023-02-17T21:17:53.745321
2021-01-19T14:15:49
2021-01-19T14:15:49
263,513,910
2
0
null
null
null
null
UTF-8
Python
false
false
5,014
py
from tkinter import * import tkinter.messagebox tk = Tk() tk.title("Tic Tac Toe") pa = StringVar() playerb = StringVar() p1 = StringVar() p2 = StringVar() player1_name = Entry(tk, textvariable=p1, bd=5) player1_name.grid(row=1, column=1, columnspan=8) player2_name = Entry(tk, textvariable=p2, bd=5) playe...
[ "noreply@github.com" ]
realshantanu.noreply@github.com
8aa35327a104aaf28be1592dcef0bc1d3efceae4
712d28ae06cc50243e73857cdb9e785adbc2d8cc
/02 - Styling and Templates/main.py
cfd2fa1f81993e3c3ef4685209b236de6b8ea3f4
[]
no_license
ahmedgarip/fastapi-selling-site
a307f447305239c06893e8437b21dd6080867832
3e38c4f50de4867155b6363a77f1696e62bf8833
refs/heads/main
2023-08-20T17:19:21.706948
2021-11-01T20:06:22
2021-11-01T20:06:22
421,097,058
1
1
null
null
null
null
UTF-8
Python
false
false
471
py
from fastapi import FastAPI, Request from fastapi.responses import HTMLResponse from fastapi.staticfiles import StaticFiles from fastapi.templating import Jinja2Templates app = FastAPI() app.mount("/static", StaticFiles(directory="static"), name="static") templates = Jinja2Templates(directory="templates") @app.g...
[ "noreply@github.com" ]
ahmedgarip.noreply@github.com
357128be50191ca533d29da79f303dd2c85ea059
73d9488c6a6f2bc0f72dd486c764ac5fc0d9b78f
/remove_dropout_layers.py
f6ced66908c485713b5cd18e5671ffbc398256cc
[]
no_license
slanab/TensorRT-Inference
c1c7fe97c48ed7eb04de5c46141baef8c6501bc4
8f9f012ddaceba068758a9399b53c6cbf0a606d9
refs/heads/master
2020-03-22T10:29:36.714068
2019-07-08T20:02:17
2019-07-08T20:02:17
139,906,802
3
1
null
null
null
null
UTF-8
Python
false
false
2,684
py
# This script accepts a frozen tensorflow graph and attempts to remove dropout layers so the model can be used for inference # Usage: python remove_dropout_layers.py frozen_graph_input_path.pb frozen_graph_output_path.pb # Based on answers from https://stackoverflow.com/questions/40358892/wipe-out-dropout-operations-fr...
[ "noreply@github.com" ]
slanab.noreply@github.com
fb019146cfa244ddce5f8c32f072dd14944c5472
7c9e71c98b4e92cccba088ccaa3233d8baebb898
/server.py
ffcde13e67196d77097014607fc512f689232115
[]
no_license
FDELTA/Project---The-Ranking
051f97205174f676529db7caf99af736263791d0
c1d7c65c2dfe6d667b73a29f17b4e497514efa42
refs/heads/master
2022-12-21T13:57:18.589409
2020-09-25T11:44:47
2020-09-25T11:44:47
297,354,957
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from src.app import app from src.config import PORT import src.controllers.labcontroller import src.controllers.studentcontroller app.run("0.0.0.0", PORT, debug=True)
[ "f.delgadoteran@gmail.com" ]
f.delgadoteran@gmail.com
8a48c7164ddd11a7e14ea9d326f9e25c45dd55e8
0c2e2ffaba7cd14ba2fdcccad9bcde21d37d147e
/flambeau/misc/logger.py
4d8d3cf9741cf576f7c6d904d2452b85ddcec828
[ "MIT" ]
permissive
corenel/flambeau
c14fdee22ef79333eef6abb1892dffc5d013b201
3e90f37ba3d692af6df02da39907132ff9a490da
refs/heads/master
2020-04-13T01:49:25.245971
2019-09-21T16:26:40
2019-09-21T16:26:40
162,884,868
1
0
MIT
2019-01-25T13:48:40
2018-12-23T11:26:46
Python
UTF-8
Python
false
false
1,890
py
import sys class OutputLogger(object): """Output logger""" def __init__(self): self.file = None self.buffer = '' def set_log_file(self, filename, mode='wt'): assert self.file is None self.file = open(filename, mode) if self.buffer is not None: self.fil...
[ "xxdsox@gmail.com" ]
xxdsox@gmail.com
3312de3b9a157d63fb85218c40fb32dbe741b541
7a8746cec8df0d5b4c57de5fe5a67c4fb49f0f42
/python/katas/delete_nth.py
559e8191a05ad87ac2479501f133bc8f01377047
[]
no_license
b-ju/learn_cs
664cf4bd4655c68371365dddcb905ae2c0f23cb4
a9b60e56590c3e4c564cf9314de5bb122d490752
refs/heads/main
2023-07-10T09:34:33.538161
2021-08-27T20:38:49
2021-08-27T20:38:49
389,750,481
0
0
null
2021-08-23T15:16:18
2021-07-26T19:46:30
C
UTF-8
Python
false
false
594
py
from collections import Counter def delete_nth(arr, most): counts = Counter(arr) arr.reverse() for num in counts: if counts[num] > most: for i in range(0, counts[num] - most): arr.remove(num) arr.reverse(); return arr def delete_nth_bp(order, max_e): ans = [] for o in order: if ans.count...
[ "benjurenka@gmail.com" ]
benjurenka@gmail.com
aa0a1e0348c6eeb05b735bb4747002d570839727
56b5b42b90f8ace3f5650da41b2d29c00af7436a
/pybuild/packages/kiwisolver.py
b482ceebde622b91a5a5f9140dbaf8dfe43eb8ec
[ "WTFPL" ]
permissive
qpython-android/qpython3-toolchain
566870072b5e2017c9cc4b026310f5c71703af1c
a6ac41866879f8f8626811151964480f0705d769
refs/heads/master
2021-06-03T16:20:30.834934
2021-01-06T09:54:04
2021-01-06T09:54:04
21,027,839
22
8
WTFPL
2021-01-06T09:54:05
2014-06-20T06:32:00
C
UTF-8
Python
false
false
1,611
py
from ..source import GitSource from ..package import Package from ..patch import LocalPatch from ..util import target_arch import os class Kiwisolver(Package): source = GitSource('https://github.com/QPYPI/kiwisolver.git', alias='kiwi', branch='qpyc/1.0.1') patches = [ #LocalPatch('0001-cross-compile')...
[ "riverfor@gmail.com" ]
riverfor@gmail.com
0d2ce50facb8242c3a5c312772e5faa2d3e231bd
108e8ad726e1a8cb2f641198467e817745ccd061
/Data Structure/Problem Siang/5 - Initial Group Descending.py
8885a39e5d5c1b56c1b289b71e1accc50cc6fc01
[]
no_license
aralfaruqi/alteraproject
ab96a93c19c0238c12655cb38456b8a2bc40adb3
4d5df9f73e1db85a91e89eed3f230baae487291c
refs/heads/master
2020-12-09T05:15:12.798098
2020-01-13T13:05:45
2020-01-13T13:05:45
233,200,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
def initialGroupingDescending(studentsArr) : huruf_awal = [] for student in studentsArr: huruf_awal.append(student[0]) set_huruf_awal = set(huruf_awal) list_huruf_awal = list(set_huruf_awal) list_akhir = [] swapped = True while swapped: swapped = False maxIter =...
[ "rafiq@alterra.id" ]
rafiq@alterra.id
1e4e48a0da6ec7cb32601bfa55fff371d73ef203
9f74b821f2abaaf5ad389a86c13e46373fc7cd65
/Day05/Demo03/Demo04Singleton.py
e7b830a79da22c8869f2857aec4553f9a43f8306
[]
no_license
Shanchance/PythonLearnDemos
3a63d0141f82758fffe0ea4539b6fc919cbea02e
9c368baf3aff735a76c7d69756e61c176640bf6f
refs/heads/master
2022-11-18T14:43:11.774923
2020-07-12T10:23:47
2020-07-12T10:23:47
279,038,057
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
class MySingleton: __obj = None __init_flag = True def __new__(cls, *args, **kwargs): if cls.__obj == None: cls.__obj = object.__new__(cls) return cls.__obj def __init__(self,name): if MySingleton.__init_flag: print("init……") self.name = na...
[ "17865569208@163.com" ]
17865569208@163.com
b1815d13249bea04e6f3837dcd916561911be094
17e2f25e7e2dce27e7c5ce0c011f7a917c410b24
/Root_Finder/graphPlotter.py
8e3c39f1dc7273bc1621bcdf55f0ef36615f2143
[]
no_license
Minashraf/RootFinder
b30ae5b2f264a2689480f24e92a1fd9cdc20ddcc
db81a3c772b12b846a9ea189f72cfe687cef6576
refs/heads/master
2022-09-06T08:42:09.836279
2020-05-13T09:28:56
2020-05-13T09:28:56
261,712,917
0
0
null
null
null
null
UTF-8
Python
false
false
10,743
py
from time import time from tkinter import ttk from matplotlib import style import numpy as np from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk from matplotlib.figure import Figure from matplotlib.backends.backend_pdf import PdfPages try: import Tkinter as tk except ImportError...
[ "hossam_elkordi@yahoo.com" ]
hossam_elkordi@yahoo.com
7c04fc30c9c186f579bf4d7de988aebe3f5e7d9c
b95c5e20d47f36dc94d2cda4e0d084ec772c0229
/hsreplaynet/billing/utils.py
97e44ef4c19d559df1e25f90680635707400962e
[]
no_license
omni5cience/HSReplay.net
dd6cec1308c0970f6ae9fa1e3280b6de9fbe9146
a983721059dc3173bad64c659231711238949f0e
refs/heads/master
2020-09-16T07:53:25.792779
2017-06-15T21:00:14
2017-06-15T21:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
from hsreplaynet.analytics.processing import PremiumUserCacheWarmingContext def get_premium_cache_warming_contexts_from_subscriptions(): result = [] from djstripe.models import Subscription for subscription in Subscription.objects.active(): user = subscription.customer.subscriber if user: context = PremiumU...
[ "andrewmoorewilson@gmail.com" ]
andrewmoorewilson@gmail.com
e388f07861577b270ce24534a25c4d32cac1b885
350ecc8259bcad075bd376423335bb41cc8a533e
/__init__.py
9a0908b587ed6a532cc0936c6f481455748edc8c
[]
no_license
CodedQuen/python_begin
39da66ecc4a77b94a5afbbf0900727c8156b85e1
1433c319b5d85520c50aee00dd4b6f21a7e6366a
refs/heads/master
2022-06-10T10:30:28.807874
2020-04-25T03:34:03
2020-04-25T03:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
class Array(object): def __init__(self, length = 0, baseIndex = 0): assert length >= 0 self._data = [None for i in range(length)] self._baseIndex = baseIndex
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
86fca4c2b0fa08521bb57b377c36eae361e89cc2
7c2ea365f20ff3eaec12b7a5289c21f345373d40
/share/lib/python/neuron/rxdtests/tests/hh_cvode.py
ac256a455311c85e26ef545cd81d5dcffe7a9dc2
[ "BSD-3-Clause" ]
permissive
wwlytton/nrn
95892cb08b993d0cc9377d7136304bc9196723ef
32b01882064583582a7ac2b563c4babf874b14ea
refs/heads/master
2020-06-17T05:59:34.145205
2019-11-15T20:26:20
2019-11-15T20:26:20
195,821,881
1
1
NOASSERTION
2019-10-02T11:45:39
2019-07-08T13:51:17
C
UTF-8
Python
false
false
5,128
py
from neuron import h, crxd as rxd from neuron.crxd import v from neuron.crxd.rxdmath import vtrap, exp, log from math import pi from matplotlib import pyplot h.load_file('stdrun.hoc') h.CVode().active(True) # parameters h.celsius = 6.3 e = 1.60217662e-19 scale = 1e-14/e gnabar = 0.12*scale # molecules/um2 ms mV g...
[ "adam.newton@yale.edu" ]
adam.newton@yale.edu
26b4c9df430f32e84591c3cf5fd9e91d0e605b04
d1ef145c7b51b694e59ed26894ef12e1026e9e78
/data_samples/aio-libs/aiohttp/tests/test_web_websocket.py
afcb7bed08e123d16c472274812438db82929898
[]
no_license
rkdls/tensorflow_new_seq2seq
2afc12b9e28626d351e4849c556a9f2320588a26
82ab66a79cc3f6631970ba2b2b349792b1aac7e4
refs/heads/master
2021-01-01T15:43:48.902079
2017-07-20T17:10:02
2017-07-20T17:10:02
97,688,888
0
1
null
null
null
null
UTF-8
Python
false
false
13,446
py
import asyncio from unittest import mock import pytest from multidict import CIMultiDict from aiohttp import WSMessage, WSMsgType, helpers, signals from aiohttp.log import ws_logger from aiohttp.test_utils import make_mocked_coro, make_mocked_request from aiohttp.web import HTTPBadRequest, HTTPMethodNotAllowed, WebSock...
[ "rkdls9@naver.com" ]
rkdls9@naver.com
e2ddd7b1f73bdd2609559ef2da7450c998f84263
20a24a0296308ba14318556a749c7a2f0eea0df1
/exercise-6.py
8ade018aaa7e838295d4eb12efa1ba9e74dabcb8
[]
no_license
geedtd/python-control-flow-lab
4604f6f2af7a207cc3a5381ec0ec66a762c9e69e
3e49421254a045b60f14b6b97ec43cbf03b324dc
refs/heads/master
2023-07-11T21:06:13.137437
2021-08-19T19:08:31
2021-08-19T19:08:31
397,521,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,417
py
# exercise-06 What's the Season? # Write the code that: # 1. Prompts the user to enter the month (as three characters): # Enter the month of the year (Jan - Dec): # 2. Then prompts the user to enter the day of the month: # Enter the day of the month: # 3. Calculate what season it is based upon this chart: ...
[ "grcazares@gmail.com" ]
grcazares@gmail.com
a7ad22fbcc203b0880252839c8e371bcbecd096d
60a8566f36bcab9dbca6179e38e7c8d71b3c64ff
/easyleetcode/leetcodes/Leetcode_141_Linked_List_Cycle.py
929752fd6e9ad9e29a3f98d9f63de3a97fcbce04
[]
no_license
MuXTing/easy_leetcode
8a0e6729a1cdb018a16216275d58e2417a988c0d
270bb9ea7125be2f985f2058fb722ad16d524b57
refs/heads/master
2022-11-08T14:35:30.256234
2020-06-19T10:50:20
2020-06-19T10:50:20
273,611,176
2
1
null
2020-06-20T00:33:37
2020-06-20T00:33:37
null
UTF-8
Python
false
false
1,085
py
class ListNode: def __init__(self, x): self.val = x self.next = None def make_list(arr: list): head_node = None p_node = None for a in arr: new_node = ListNode(a) if head_node is None: head_node = new_node p_node = new_node else: ...
[ "425776024@qq.com" ]
425776024@qq.com
7694b975971781a1dfeef12ac3a43da2fed03bce
c2d81f300c795ca3b5c31a47df60d0f488893183
/storage.py
2334efc490e217b069a92629fd882b08d929811b
[]
no_license
ethancaballero/ENAS_GAN
eaf68ecde016b62bafb79339b8e7d4848f71d2e1
6d1bf5cf2e372d575d4e24eb145ff3a355705ba4
refs/heads/master
2021-03-27T15:26:45.238425
2018-09-13T08:26:32
2018-09-13T08:26:32
112,182,744
0
0
null
null
null
null
UTF-8
Python
false
false
2,598
py
import torch import numpy as np class RolloutStorage(object): #def __init__(self, num_steps, num_processes, obs_shape, action_space, state_size): def __init__(self, num_steps, num_processes): #self.logprobs = torch.zeros(num_steps, num_processes) #self.ents = torch.zeros(num_steps, num_processe...
[ "noreply@github.com" ]
ethancaballero.noreply@github.com
da7c8c5fbc52f861d008af6c3f3db2ec98f84a06
a61e6860750fe4dab157a50335da2d46a7094b89
/backend/test_flaskr.py
d2b0bb357fd66b914997820d2da791bd81568019
[]
no_license
Tevinthuku/trivia
d96e54ba53ae9b4c7be3bdb7b03de11637c35ba4
44fe1ae56c5af210f8b0a6d132334dcca7a85e56
refs/heads/master
2023-01-12T02:54:15.926661
2019-12-26T10:26:27
2019-12-26T10:26:27
230,002,643
0
0
null
2023-01-05T03:38:07
2019-12-24T20:55:51
JavaScript
UTF-8
Python
false
false
5,372
py
import os import unittest import json from flask_sqlalchemy import SQLAlchemy from flaskr import create_app from models import setup_db, Question, Category class TriviaTestCase(unittest.TestCase): """This class represents the trivia test case""" def setUp(self): """Define test variables and initiali...
[ "tevinthuku@gmail.com" ]
tevinthuku@gmail.com
fbdcb9589ba842729ae4d22fd59dcf43629cf782
b88dd050c8c90974e0e702cf2c1c28e4c0ae7315
/signup/wsgi.py
1d9a0120d462e6acfb9ac19f2fd1f7bb7e433c7b
[]
no_license
shivamgupta1319/signin-signup-web
a94d63f1cc6e4a3d0cd5c676e166a4e1c6057267
3ee9ae953184fb7f3ee1b3ce72bb25625d81d78d
refs/heads/main
2023-05-05T21:06:44.181950
2021-05-25T09:48:32
2021-05-25T09:48:32
369,480,947
1
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for signup 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('...
[ "noreply@github.com" ]
shivamgupta1319.noreply@github.com
91eeaf34fa16c48154032e68a62fbf9f2e700e2b
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/250c5be8-5cc5-11e4-af55-00155d01fe08.py
2aee8561433065ca77ef70183312da311e12c807
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
#!/usr/bin/python ################################################################################ # 250c5be8-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
1d267f12bc30c1301e0835471600d1303f6da9e5
ff34c33d648f2fe31f37bfd6955eb24a78085119
/d3b/d3b/wsgi.py
df02f125d438a99aae9adcdd1cec3936806a9753
[ "MIT" ]
permissive
sferanchuk/d3b_charts
42c2e6a8bfb680c2ff66aa1d22792b3be8487db1
93352e360650de14765e25702bfa4c20cf95898b
refs/heads/master
2020-03-19T19:19:12.947998
2019-08-24T14:01:20
2019-08-24T14:01:20
136,849,771
0
1
null
null
null
null
UTF-8
Python
false
false
384
py
""" WSGI config for d3b project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS...
[ "sergey@feranchuk1.localdomain" ]
sergey@feranchuk1.localdomain
2ed11d08b3447f2b86fb61d41aa32622f485a3b1
4fed2e41870646fef108a369215111e3de0aecc9
/catan2/experiment/plot.py
384d0a55f6dc7d4e24f6bc4f6d26d7760423519c
[]
no_license
BradenC/Catan2
6107c162e960e07ffa4c3f1130295ff5a5273f97
edd9aa4c015950eeaf188aeff090f2c609317e92
refs/heads/main
2023-02-09T04:25:12.597837
2021-01-05T11:11:52
2021-01-05T11:11:52
326,974,336
0
0
null
null
null
null
UTF-8
Python
false
false
4,278
py
import numpy as np import matplotlib.pyplot as plt from catan2 import config, log """ These graphs show statistics about the experiment from many games played between two opponents. experiment = { config: { logging: ... training: ... ... } games: [ duration_seconds: 1, ...
[ "bcok@marshallzehr.com" ]
bcok@marshallzehr.com
48124ed358f067933316a35ad95b494341423030
6e24dab6442976b5d5255c63273a3900d1389ddd
/PythonOOP1.py
c686011aab371378fb15ed507a21ced995204d29
[]
no_license
Kakashi-19/PYTHON
870a856cc7c3c481af3f21a479cf1c66324e35b1
2488b106d1442624c1a9cddc205e2e9d2a0ff66b
refs/heads/master
2022-12-04T07:59:50.231225
2020-08-27T07:00:11
2020-08-27T07:00:11
290,700,555
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
# study of classes # python object oriented programming # instance variables class student: def __init__(self, name, email, id): self.name = name self.email = email self.id = id def printidCard(self): print("Student Name: " + self.name) print("Student Email ID: " + self.email) print("Student ID: " + str...
[ "wizzywoo19@gmail.com" ]
wizzywoo19@gmail.com
791ff957978b5f9103ef5f1046e89102cd6d7cd0
cf8dfec4ca3f93dd59457446ef6d4b524ebd15f0
/day_07/day7.py
c7fe680d5ba17766c101e6a18fcbb81926d0fb13
[ "MIT" ]
permissive
calvinbaart/advent_of_code_2020
a53393d32f29406452e5286e471b50a1a0e84a44
5e0cd40251d6aa463ef33d12b4794cb8d467c680
refs/heads/main
2023-01-31T01:52:43.977248
2020-12-12T02:17:38
2020-12-12T02:18:01
319,462,486
0
0
null
null
null
null
UTF-8
Python
false
false
2,730
py
def part1(graph): shiny_gold_bag = graph.get_node("shiny gold bag") num_bags = 0 open_list = [shiny_gold_bag] closed_list = [] while len(open_list) > 0: current = open_list.pop(0) closed_list.append(current.identifier) for x in current.back_links: if x in close...
[ "calvin.baart@gmail.com" ]
calvin.baart@gmail.com
9db68d92da8b08a66e63c88f485495b7235d86f6
22a15cd6bb61e5dbf188161ffd8afb092502e793
/python/GraphicDraw.py
87721277e6e131b13784e27414f2e405cd0ddf33
[]
no_license
unspoken666/Code
9e27ac81d748357673930121ee56b6b61183a0c6
7a3581a8f4d0c7161443a7ffe04e3a778d2c9bbd
refs/heads/master
2022-05-17T14:41:27.326758
2022-03-16T01:32:46
2022-03-16T01:32:46
181,900,850
0
0
null
2022-02-23T01:36:13
2019-04-17T13:46:31
Java
UTF-8
Python
false
false
1,295
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: #等边三角形绘制 import turtle as t #引进turtle库,绘图,并起了一个别名 t.fd(100) t.seth(120) t.fd(100) t.seth(240) t.fd(100) #叠加等边三角形绘制 import turtle as t t.fd(50) t.seth(120) t.fd(50) t.seth(0) t.fd(50) t.seth(-120) t.fd(50) t.seth(0) t.fd(50) t.seth(120) t.fd(100) t.seth(-120) t.fd(100) ...
[ "906462762@qq.com" ]
906462762@qq.com
fa613c7016fde80d3ae780139e1b7154f59a7324
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/puzzles/minesweeper.py
eaee546729defe2659cca39047e5ade770af7531
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
4,761
py
# https://leetcode.com/problems/minesweeper/ """ Let's play the minesweeper game (Wikipedia, online game)! You are given a 2D char matrix representing the game board. 'M' represents an unrevealed mine, 'E' represents an unrevealed empty square, 'B' represents a revealed blank square that has no adjacent (above, below,...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
345bd1e203ee3a3953f29ba2ee5ab3c0c81b37f7
75fb75ffc7874b0a38712fe208535e2bc868631e
/myvenv/bin/pip3
08bc7cc56051bbac31edca340f6c40cdd5591730
[]
no_license
yksoon/django2
ca0182ab1d6de9ad6d0cbf1325c03c14be2fcaf9
f641c397bb27a5b0b6fd1d05168974e8c348f374
refs/heads/master
2022-04-26T05:56:21.014815
2020-05-02T15:04:10
2020-05-02T15:04:10
259,873,965
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Users/yong-kwangsoon/Desktop/YKS_project/django2/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ksyong1990@gmail.com" ]
ksyong1990@gmail.com
77ca8f9133574a51556dd6ec8a205d6906340c8c
0a8a08a88e4c393e460f87c6336e5e76f23bb774
/CRM_pro/crm_app/migrations/0001_initial.py
83b8048c15556d06ce259a13d7f168d0e6cbad6f
[]
no_license
Ashok-SMS/Django_CRM
83a7dc4996629c645267e688baec327bb3ba970a
246fb08fc5ec6a5b2ad46a2a6c5ede3dc2b34917
refs/heads/master
2021-02-14T15:19:20.891012
2020-03-04T05:32:45
2020-03-04T05:32:45
244,815,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
# Generated by Django 2.2 on 2020-02-07 07:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Customers', fields=[ ...
[ "palakiashokkumar@gmail.com" ]
palakiashokkumar@gmail.com
e4dcae2af72c3fbe8cea6ba2b07d1f7d7cd8ecce
503d2f8f5f5f547acb82f7299d86886691966ca5
/ahc/ahc017/ahc017_a_sub.py
a673051ad3671d5e38f64706eef867069957afa1
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
# https://atcoder.jp/contests/ahc017/tasks/ahc017_a import sys input = sys.stdin.buffer.readline # sys.setrecursionlimit(10 ** 7) INF = 1001001001001 import random import time import heapq start = time.time() N, M, D, K = map(int, input().split()) G = [[] for _ in range(N)] to = [] for i in range(M): u, v, w = ma...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
54bc57d52ef231983f566811e922901471074589
8184c3a69e9cb173408478b434a2f96fef36a144
/training/utils/util_cate.py
c53b002b4dc6ae89bca420a7620643ff4f9a1da6
[]
no_license
etxyc/emotion-recognition
5e59518949eee5fafa2e54383c937dbeecc54ee1
3ea5030ad373e350b841eb37b4b671eb0b631ebe
refs/heads/master
2020-07-10T20:28:08.311499
2019-08-25T23:54:35
2019-08-25T23:54:35
204,363,187
0
0
null
null
null
null
UTF-8
Python
false
false
2,436
py
import keras.backend as K """ metrics utils for category emotion training. The codes are copied from old Keras vervions, because they are removed from the current version. """ def precision(y_true, y_pred): """Precision metric. Only computes a batch-wise average of precision. Computes the precision,...
[ "ethanxia@EMB.local" ]
ethanxia@EMB.local
349827b0cba0745615c3f69fb1bc90f9b61b7ed1
7449f87a1dc11302ed6b9fcc19b5fa736a5dc0e6
/objectGenerator.py
3b2bc94dc294394c77ee96459b8ec17ecea3d0cc
[]
no_license
Nosferatu/ZombieJumpNew
3fbcaa681e5ae93ced271dc704d093acb4c82423
0525d2d54d62655e86284d0cbb7922875d145b2b
refs/heads/master
2021-01-02T09:02:36.437806
2015-07-13T16:59:09
2015-07-13T16:59:09
38,773,964
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import pygame import os from pygame.locals import * from random import randint from player import * from zombies import * from specials import * def spawnRandomZombie(x): type = randint (0,100) if type <= 50: #60%-Chance, dass normaler Zombie spawned zombie = NormalZombie((x,370),0.01) e...
[ "Cvalenta@freenet.de" ]
Cvalenta@freenet.de
56579644a7b9182ad9138725764c84f6330494db
a7122df9b74c12a5ef23af3cd38550e03a23461d
/Home/Pawn Brotherhood.py
c903a6f6664ec3ef67101fc7aadcfeba47d7782b
[]
no_license
CompetitiveCode/py.checkIO.org
c41f6901c576c614c4c77ad5c4162448828c3902
e34648dcec54364a7006e4d78313e9a6ec6c498b
refs/heads/master
2022-01-09T05:48:02.493606
2019-05-27T20:29:24
2019-05-27T20:29:24
168,180,493
1
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
#Answer to Pawn Brotherhood - https://py.checkio.org/en/mission/pawn-brotherhood/ def safe_pawns(pawns: set) -> int: pawns = list(pawns) #Changed the set to list length = len(pawns) #To get the full length of list result = [] #To store the result for each pawn. This is done, so that even if a pawn is saved...
[ "admin@remedcu.com" ]
admin@remedcu.com
babbe9b364dd461cc7af6793f8c411e7b783d9bb
4c82b8f946dd18daea30adf3b2e0d8f20eb0616b
/Day_4_Class_vs_Instance.py
fb9ba40f488478c286045bea350b480f071b163e
[]
no_license
yyzz1010/hackerrank
2a323e4491e44c9de876fc1dd5e8102d4f66fbbb
2b0d1faa39cf948f5b38cdbb8c01d92fd14b68f3
refs/heads/master
2020-08-04T05:27:09.821959
2019-11-26T14:44:46
2019-11-26T14:44:46
212,022,258
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
class Person: def __init__(self, initialAge): if initialAge < 0: age = 0 print('Age is not valid, setting age to 0.') def amIOld(self): if age < 13: print("You are young.") elif age >= 13 and age < 18: print("You are a teenager.") ...
[ "noreply@github.com" ]
yyzz1010.noreply@github.com
d57c5d2280e29b27290d36b73798f81515e851fc
27c2109f285073cae0a1adbb6f0bf3e7669691a8
/resources/flutterwave/__init__.py
be1e33d8805b5f14bcc74dcb66f36fd1d250a04c
[]
no_license
patrickf949/payout-apis
c572374efb1f2831684f10e601c239a1c8a380c9
e346e5cb872eff25cde3985b3d608951088fed4a
refs/heads/main
2023-08-23T21:46:01.608645
2021-10-18T13:33:58
2021-10-18T13:33:58
418,485,097
0
0
null
2021-10-18T12:50:53
2021-10-18T12:11:53
Python
UTF-8
Python
false
false
51
py
from resources.flutterwave.urls import flutterwave
[ "noreply@github.com" ]
patrickf949.noreply@github.com
699c354b2fa10c22f2d4f92f094d53f336bdc776
bcc66a1f1ac123d8be089763dfe936466dc8fb9b
/drivhire/__init__.py
81fc9b927b729ce7570227808a3fda2ac53c5207
[]
no_license
0xajay/drivhire
e4697de334e8df12aeb66a8c11361903f3d17247
7a3eb8da528267b52dffc40de6a2e5a9b35d949f
refs/heads/master
2023-01-05T00:45:29.991890
2020-10-30T05:24:17
2020-10-30T05:24:17
272,996,870
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from fastapi import FastAPI, Header, HTTPException, Depends from mongoengine import connect import os app = FastAPI() db = connect(host=os.environ.get('MONGO_URI')) from drivhire.modules.drivers.routes import router as driver_routes app.include_router(driver_routes, tags=["drivers"])
[ "0xajaykumar@gmail.com" ]
0xajaykumar@gmail.com
c16d11af15da2fec18b99fcca057d5801cc629f4
9d84b2861a2e3631153c9965e050062ec2a143a2
/clog/exceptions.py
7c768879d3edc17cfa1b2df83a6c6b2301c4eacc
[]
no_license
micaleel/clog
556812e542f49b76f40d3081e840033e592468cd
ed7374052a963ca9a7c0cfbd2725d29e6a5355bd
refs/heads/master
2021-01-05T21:07:03.229401
2020-03-21T21:51:24
2020-03-21T21:51:24
241,137,683
2
0
null
null
null
null
UTF-8
Python
false
false
221
py
class CLogException(Exception): ... class InvalidSite(ValueError): ... class MissingContent(ValueError): ... class GitException(CLogException): ... class GitPermissionDenied(GitException): ...
[ "micaleel@users.noreply.github.com" ]
micaleel@users.noreply.github.com
ca5f4630c195d1ad846a27c22a0b15bf19a1f760
18079758e1adaa6f46369847b7403e1969fd1400
/creglist_clone/my_app/migrations/0001_initial.py
8bf9d7ffe1ac026842e0565b061a225962f984b8
[ "MIT" ]
permissive
Reeju2019/CreglistApp_Clone
de44ccfd4555cd7e9563a97a31ddc6a834a3400d
1bf2763f4b330aef09744447038028063a034b02
refs/heads/main
2023-03-28T01:29:04.025311
2021-03-25T13:39:18
2021-03-25T13:39:18
351,312,682
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# Generated by Django 3.1.7 on 2021-03-25 05:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Search', fields=[ ('id', models.AutoField(a...
[ "reejubhattacherji@gmail.com" ]
reejubhattacherji@gmail.com
1898d9f40809eb25834ed6c585154245dbd7b80e
cc9a2632742b43feaf8fcf787a365792fb6ecad5
/_Tools/platform-tools/systrace/catapult/systrace/systrace/util.py
797d6756bc85d30dbff3a8da63b26b0acacea742
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
winest/ApkTools
1bc3212346ac42912df487cb26fa225b1b120264
349557ffe5aa65e64324b75b0777a775e384b832
refs/heads/master
2023-01-11T01:38:00.711072
2021-12-02T15:03:38
2021-12-02T15:03:38
179,802,183
1
0
BSD-3-Clause
2023-01-06T01:36:11
2019-04-06T07:27:31
C
UTF-8
Python
false
false
6,548
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import optparse import os import sys from devil.android.constants import chrome from devil.android import device_utils, device_errors class OptionParserIgn...
[ "winestwinest@gmail.com" ]
winestwinest@gmail.com
a96a4d07bf19a9110c9b3333b24b0faf4840cb1a
4639143fac6ac71b71f6f7c5d1557c335d303487
/src/python_implementation/annbn_griewank.py
9c3dcbba6384ad8c0cd60b5d9c44dcdba8fc1cd7
[ "MIT" ]
permissive
nbakas/ANNBN.jl
233c5bd4dfa041d699feb8fff4e22676a4dfcd80
0658709f07cf3110266a862af63ee185e131eeaa
refs/heads/master
2022-07-17T01:48:41.139590
2022-06-18T11:56:26
2022-06-18T11:56:26
211,259,568
7
1
null
null
null
null
UTF-8
Python
false
false
2,301
py
import numpy as np from copy import copy import matplotlib.pyplot as plt from sklearn import linear_model import time from numpy import random,linalg,corrcoef,ones,float32,float64,c_,exp,log,zeros,mean t=np.atleast_2d r=np.repeat plot=plt.plot sort=np.sort fit=linear_model.LinearRegression().fit cor=np...
[ "noreply@github.com" ]
nbakas.noreply@github.com
a15b99f5029fbcef3be37b96c679f9557c902144
94fdf59a169d75d7e5a9f6f71a13d6d9bc27313b
/cogs/command_error_handle.py
4a0712ee6d3104a9b63f79873c93e03730ade4c2
[]
no_license
iotanum/iotabot
44dcc874618bb1f804b9909b17d2a8df43050726
9c44e6ac773e8b78351b1d9f6e2e1919e470cf04
refs/heads/master
2022-10-07T05:10:17.489463
2022-10-01T12:17:13
2022-10-01T12:17:13
150,031,980
2
0
null
2020-09-29T09:23:13
2018-09-23T22:45:04
Python
UTF-8
Python
false
false
1,530
py
import traceback import sys from discord.ext import commands import discord class CommandErrorHandler(commands.Cog): def __init__(self, bot): self.bot = bot async def on_command_error(self, ctx, error): """The event triggered when an error is raised while invoking a command. ctx : C...
[ "evalduuk@gmail.com" ]
evalduuk@gmail.com
d2f4e0a31e16fb17c648a88c4c070fa5fd2b1f65
2c7184b3f4d8224e31693a6fc04764dd95eac641
/RESTAPI/truestcaller/views.py
42b49f95023af36bf3328b136c9bb6720455db0c
[]
no_license
vaibhavmathur13/Truestcaller
fb51ee40967465e75b37831a827899a092695c4c
182691555b75a4dd3bdc967ceb199f68e8aa3a0b
refs/heads/master
2023-07-19T23:06:36.015753
2021-08-23T15:55:30
2021-08-23T15:55:30
399,153,966
0
0
null
null
null
null
UTF-8
Python
false
false
6,223
py
from django.db.models import Q, Case, When, Value, Count, F from rest_framework import generics, status from rest_framework.authentication import TokenAuthentication from rest_framework.authtoken.models import Token from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.permissions import Allow...
[ "mathur130699@gmail.com" ]
mathur130699@gmail.com
efb4f8698221067b58b05fed45ebe5404532d5b4
bdf5ee86d1b9c49964d22139af1c8ec1a436889f
/polls/views.py
e80fd9aab4d2594732ad2bbb6dd071ff7f14cae2
[]
no_license
zhouyuyong/mysite
5d2f9638a222e563e243a437f6e411b5dba4a0e6
5af9cb019516c324a172422a9201e131a4b5db4f
refs/heads/master
2021-01-10T19:57:48.178941
2014-12-02T01:55:50
2014-12-02T01:55:50
25,450,211
1
2
null
null
null
null
UTF-8
Python
false
false
1,646
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from django.views import generic from polls.models import Choice, Question class IndexView(generic.ListView): template_name = 'polls/index.html' context_object_name...
[ "zyy.bobo@gmail.com" ]
zyy.bobo@gmail.com
2920e203fc11befa607533797fa0a869e256256c
0bd465e3365ee99e9272562baf8fd1a61edd158b
/P-Uppgift/main.py
1ca5adb5431708747177e47f2519e279686b10e9
[]
no_license
FlyHighXX/Darwin
e6ea43c684aaeb386208f005c0511c149d3795e4
974392fcdbc70429f77a706bcc58b9fed7a2024d
refs/heads/master
2020-05-02T13:55:11.430396
2019-03-27T13:05:25
2019-03-27T13:05:25
177,995,537
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
import Player def read_data(): player_list = [] file = open("data.txt","r") lines = file.read().splitlines() file.close() line_count = 0 for l in lines: line_count = line_count + 1 count=0 while count<line_count: name = lines[count] chance = float(lines[co...
[ "diacouthman@gmail.com" ]
diacouthman@gmail.com
3d00516d849973dd2fd3f65ddf205e06d57a0f36
2d27b88d6e9655708b091e5999637a1b4e685697
/petugas/urls.py
fc02dc693e21373091ba4b04b369a394620463a0
[]
no_license
wahyu-ramadhan69/sistem_inven_tes
276c89aed5a8d8cb0b1717aec4fa1861db19bfb2
49351353a5429981c6a546d9659ac17ca2b23df5
refs/heads/main
2023-06-11T08:20:50.124486
2021-06-27T15:34:09
2021-06-27T15:34:09
380,743,148
0
0
null
null
null
null
UTF-8
Python
false
false
2,786
py
from django.conf.urls import url, include from django.urls import path from django.contrib import admin from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ path('', views.dashboard_op, name='dashboard_op'), path('pegawai_op/', views.pegawai_op, name=...
[ "wahyu.ramadhani6969@gmail.com" ]
wahyu.ramadhani6969@gmail.com
616f3614b5aa6ab1b0ecc700b5cc7011614107ee
f07e2dd5d8dc613846958acfbbed3c8aa31a55a6
/0x11-python-network_1/3-error_code.py
58cd62ec833c7bb9f5240c93b47b2cb131dbea0d
[]
no_license
Andrecast/holbertonschool-higher_level_programming
5067e446a5e4bc9241135382f982d6a2f27f6250
c5a4c79ad01fd120dd08037f29bdf7a5c2e1f035
refs/heads/master
2023-08-14T02:40:15.805407
2021-09-23T00:52:17
2021-09-23T00:52:17
361,873,483
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
#!/usr/bin/python3 """Error code""" import urllib.request import sys if __name__ == "__main__": try: with urllib.request.urlopen(sys.argv[1]) as url: s = url.read() print(s.decode('utf-8')) except urllib.error.HTTPError as e: print("Error code: {}".format(e.code))
[ "acastrillonpuerta@gmail.com" ]
acastrillonpuerta@gmail.com
0d19d3a14832ac71fed5dc4b702fe30b7ee26c06
0d63f253b6a1c8d5fa69d7cf794c9a370e85fb73
/preprocess/script/rename.py
e2526fad3e25ada611efaf62770d09bb0769fe7c
[]
no_license
MitsukiUsui/genome
b457b5c1ec631baca51d0cfa220ec7af9c79ce53
fa2458a86c6258105b7630287222e62fa6d9e42d
refs/heads/master
2021-01-19T22:23:36.402965
2017-11-05T09:16:14
2017-11-05T09:16:14
88,808,081
2
1
null
2017-11-05T09:16:14
2017-04-20T01:41:17
Jupyter Notebook
UTF-8
Python
false
false
1,371
py
import sys import subprocess sys.path.append("/home/mitsuki/altorf/genome/helper") from dbcontroller import DbController from myutil import myrun """ !!! UNTESTED with myrun !!! """ def main(): directory_lst = ["/data/mitsuki/data/refseq/genomic_fna", "/data/mitsuki/data/refseq/genomic_gff",...
[ "mitsuo.com.mu@gmail.com" ]
mitsuo.com.mu@gmail.com
2875602ac590e999b46721b79edf9aa554bcda98
3db6aac7c295de17fbe879349ac066b2f37328e2
/apps/course/migrations/0001_initial.py
72afe2a98baaf8a637b8638a3af78d470ca98690
[]
no_license
sabyrbekov/catalog_of_courses
629fed26eb1e18cdcc7e1a7d62b958d5b2ae3d3a
b96e264f7c757828bb4de54b7beea43742c8b36e
refs/heads/master
2023-01-20T14:34:48.309356
2020-12-04T21:49:48
2020-12-04T21:49:48
318,638,262
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
# Generated by Django 3.1.3 on 2020-12-04 19:26 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CourseModel', fields=[ ('id', models.AutoFi...
[ "aza10k@mail.ru" ]
aza10k@mail.ru
11d3461e2e4a73fcf8b10009c351751829506064
4ae3b27a1d782ae43bc786c841cafb3ace212d55
/Test_Slen/PythonSelFramework/tests/ex_5.py
ddc1761ab33da8a4af2aa9fca9c69f4566747e79
[]
no_license
bopopescu/Py_projects
c9084efa5aa02fd9ff6ed8ac5c7872fedcf53e32
a2fe4f198e3ca4026cf2e3e429ac09707d5a19de
refs/heads/master
2022-09-29T20:50:57.354678
2020-04-28T05:23:14
2020-04-28T05:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
from selenium import webdriver import io # io.StringIO or io.BytesIO from PIL import Image driver = webdriver.Chrome() driver.get("https://www.lambdatest.com/") # 1. use relative path driver.save_screenshot('..\screenshot_1.png') # 2. driver.get_screenshot_as_file('screenshot_2.png') # 3. # screenshot = driver.ge...
[ "sunusd@yahoo.com" ]
sunusd@yahoo.com
af36b5d687b4d21a51051f3af63cb8e58446f9ce
2a3743ced45bd79826dcdc55f304da049f627f1b
/venv/lib/python3.7/site-packages/matplotlib/backends/backend_qt5.py
b4562db7f207f89ef4e24d801dd4acd4bfb6a9fe
[ "MIT" ]
permissive
Dimasik007/Deribit_funding_rate_indicator
12cc8cd7c0be564d6e34d9eae91940c62492ae2a
3251602ae5249069489834f9afb57b11ff37750e
refs/heads/master
2023-05-26T10:14:20.395939
2019-08-03T11:35:51
2019-08-03T11:35:51
198,705,946
5
3
MIT
2023-05-22T22:29:24
2019-07-24T20:32:19
Python
UTF-8
Python
false
false
40,230
py
import functools import os import re import signal import sys import traceback import matplotlib from matplotlib import backend_tools, cbook from matplotlib._pylab_helpers import Gcf from matplotlib.backend_bases import ( _Backend, FigureCanvasBase, FigureManagerBase, NavigationToolbar2, TimerBase, cursors, T...
[ "dmitriy00vn@gmail.com" ]
dmitriy00vn@gmail.com
50af001fda531249a70452aea587a1eb3c199ced
bc56efb9dc901501b8675b0a6e549b10a206934d
/tst.py
82d76815638e81739cd3b6863fbedffe38403fab
[]
no_license
fogcitymarathoner/python_cherrypy_proxy
a35d13a1f8ba4c6bbc2ceed65f7711d621179f48
d822c544a9724b62429cba096a8863ad88ab8dc1
refs/heads/master
2021-01-19T13:01:40.589377
2015-02-12T18:49:08
2015-02-12T18:49:08
30,224,643
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
import requests payload = {'url': 'http://ebay.com'} r = requests.get('http://69.181.224.185:8081', params=payload) print r.text
[ "marc.f.condon@hp.com" ]
marc.f.condon@hp.com
5c2e698e5e46d53efc1f6abca6bd3909ba0f59c8
439b5668cedf50840f35eca34710cb767ddcb278
/list1.py
aad20403cf3212f4551c78b2aa260f4c880903da
[]
no_license
mjhiremath/Practice
4840f5e588522d38c98b99d17c337107b2e03359
332294ac0ff60917efc92e676697811884408c0c
refs/heads/master
2022-05-26T08:05:07.486311
2020-05-02T08:10:06
2020-05-02T08:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
list1 = [10,9,3,7,2,1,21,1,561,1,1,96,1] list1.sort() print(list1) list1.reverse() print(list1) list1 = [1,2,3,4,5,6] list2 = [] for each in list1: if each%2==0: list2.append(each*each) print(list2) port = [[80,'http'],[20,'ftp'],[23,'telnet'],[443,'https'],[53,'DNS']] port1 = dict(port) for key in port...
[ "MJ.Hiremath@MoviusCorp.com" ]
MJ.Hiremath@MoviusCorp.com
2962546557c72373f1a398c3a9edf065e418bbc2
8bf260274799b0b162694100346a12a09e33d3f6
/asp_scanzip/aspscan_zip_package/tasks/scan_data.py
5ab8a7ca34d6f4d46ac18ab830980dcb7b9c6885
[]
no_license
galaxyLiu/File_processing_tools
df6cf4f0d80123338045ff614df3222c67797314
278692261e3c6a00b4120e74a21224479cfaf13a
refs/heads/main
2023-03-27T19:40:28.470395
2021-03-29T07:20:42
2021-03-29T07:20:42
352,238,219
1
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from utils.es import ElasticObj from utils.scan import ScanObj from utils.xls import XlwtObj from common.handler_data import get_xls_data, get_scan_data from config import * from urllib.parse import unquote def taskjob(task, xls_outfile): esobj = ElasticObj(es_addres...
[ "1183682032@qq.com" ]
1183682032@qq.com
bcfbacb0b1e224b592e8ab8306f8fabddbb89fd5
abc3c06ca144334fd85daee4750a6381e807e331
/src/specktre/utils.py
15307738db2ce3261bbb8edfc251f30750472c97
[ "MIT" ]
permissive
alexwlchan/specktre
fd5e1f58fbb812e89a7c983a89c1488b8128f097
dcdd0d5486e5c3f612f64221b2e0dbc6fb7adafc
refs/heads/development
2023-02-07T11:04:27.778883
2019-04-07T05:44:04
2019-04-07T05:44:04
71,328,631
13
7
MIT
2019-04-07T11:57:26
2016-10-19T07:04:36
Python
UTF-8
Python
false
false
1,040
py
# -*- encoding: utf-8 -*- """Utility functions.""" import os import random import string def _candidate_filenames(): """Generates filenames of the form 'specktre_123AB.png'. The random noise is five characters long, which allows for 62^5 = 916 million possible filenames. """ while True: ...
[ "alex@alexwlchan.net" ]
alex@alexwlchan.net
f4cbe8768b6b892341f1b65d50ed02c9b5bce84c
e78f7584f5326b855cbd635001fd21977280ffcd
/ECI/primitive_datatype/key_methods.py
4eec9f0f7c0cbb6da475853f32718c548c1ec7c5
[]
no_license
alle-zhinzher/Books
ca039a5ecc3df443f7f73c9bd1a11cd428ecda5f
4c3dcbac60b7a5777431b2f4f5a7827b5cd4bd2d
refs/heads/master
2020-04-19T03:57:02.776733
2019-04-22T03:22:50
2019-04-22T03:22:50
167,948,837
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
import random "The key methods for numeric types are" import math abs(-34.5) math.ceil(2.17) math.floor(3.14) min(8, -4) max(3.4, 6) pow(2.7, 3.14) "Unlike integers, floats are not infinite precision" float('inf') float('-inf') "The key methods in random are" A = ['5', '6', '9'] random.randrange(28) random.randint(1,...
[ "sanches2000009@gmail.com" ]
sanches2000009@gmail.com
1966da1430249c115859159fdb6358ee67e4c05c
8ac9ead261b79e107fd8889e7df0beb2e59abfdd
/bitwise-XOR/examples/single-number/python/MainApp/app/mainApp.py
f22167b6792551278b3699e5cd64cc43365e710a
[]
no_license
nikhilbagde/Grokking-The-Coding-Interview
866cf7a6a12ded74900d2235c59af9bccedfafdd
35bf0b4ee31b958f6c1ab0159d4465c5ee27ddc6
refs/heads/main
2023-04-16T03:11:38.087172
2021-04-30T07:10:13
2021-04-30T07:10:13
370,174,345
1
0
null
2021-05-23T23:02:59
2021-05-23T23:02:59
null
UTF-8
Python
false
false
496
py
class MainApp: def __init__(self): pass ''' Given a non-empty array of integers `nums`, every element appears twice except for one. Find that single one. Follow up: Could you implement a solution with a linear runtime complexity and without using extra memory? Example 1: Input...
[ "adikid1996@gmail.com" ]
adikid1996@gmail.com
a47e4fa2e79a89fce7694cbce9923eee00dbfad9
e802499fa5c6cdde7ee239b198a2d59a2d93b22c
/7_whileloop/mountain_poll.py
e4d50ff060ed02781bbc30491c7b97607c24ba70
[]
no_license
michaelzh17/python_crash
a4a76efd042aa664757ba659f218a053a4eb8350
193957ad621ccf17b9ca77a9db9a2bbdea8b96ed
refs/heads/master
2020-04-04T20:29:49.604165
2018-11-13T02:07:24
2018-11-13T02:07:24
156,248,846
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
# -*- coding: utf-8 -*- responses = {} # Set a flag to indicate that polling is active polling_active = True while polling_active: # Prompt for the person's name and response. name = input("\nWhat is your name? ") response = input("\nWhich mountain would you like to climb someday? ") # Store the response in th...
[ "macalzhang@gmail.com" ]
macalzhang@gmail.com
406d3124a354ad1297c9973de5f7b22c8d7fa4e4
a425e5921254936869ae43efc55ad317e9b7c91e
/RIdwan Ilyas/part 5.py
3cf402491eaefaad25178567bb01d29765a08081
[]
no_license
Pythonjowo/Fundamental_banget2020
72071718f9b3fa47b2584a45239aeadbbe3acb28
5c19892361ff87b4743e4825101847ffc44840c5
refs/heads/master
2023-02-09T14:38:33.020898
2021-01-05T23:54:23
2021-01-05T23:54:23
296,386,642
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
a = 1 if a > 5: print('Benar') elif a > 1: print('Sedang') else: print('Kecil')
[ "psfauzi@gmail.com" ]
psfauzi@gmail.com
e1201756d49e5ae6e7e0e9a55b9aaccd104f6658
85186196b2ad25919667fea7733be4e92dd973a1
/migrations/versions/cda3560efe7b_migration.py
276cf5749552d8a149f758c53530a02ad5d337ce
[ "MIT" ]
permissive
WILLGENIUS15/-pitch-
73b14e5a6b33f105b978d4be9ceb53f17d9a8cd4
2d91834a03ed0fe9ceb4491c93e5f8d2eb7c5437
refs/heads/master
2022-12-15T12:25:46.943182
2019-09-20T05:13:30
2019-09-20T05:13:30
208,209,684
0
1
null
2022-12-08T02:34:45
2019-09-13T06:39:24
Python
UTF-8
Python
false
false
2,029
py
"""migration Revision ID: cda3560efe7b Revises: Create Date: 2019-08-06 15:41:39.852407 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'cda3560efe7b' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generate...
[ "willgenius@gmail.com" ]
willgenius@gmail.com
e8c62c117de3ea36c017a311ec5bd784ade3bae7
907f255b6b51b97f6cc7cda1bd38fa689e933dab
/project_2020/project_2020/asgi.py
be5963ad23e1e35c928287652bfd1a35c75267f5
[]
no_license
nandaanumolu/Project-2020
4175e95c26af814f0e852228b4faa78b7e072fe9
b650a095821d9498591f60f15830bb55737a57c8
refs/heads/main
2023-02-18T12:46:26.350858
2021-01-03T15:02:18
2021-01-03T15:02:18
326,430,818
1
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for project_2020 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_...
[ "nandakishore087@gmail.com" ]
nandakishore087@gmail.com
f7a407549d3796908aeec72dd3c1c10271ab2051
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/leetCode/Tree/208_ImplementTrie.py
8d9387fe2eeb4a660c9e6c9a2872e6531d306164
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,453
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # @Author: xuezaigds@gmail.com # Refer to: # https://leetcode.com/discuss/49529/my-python-solution c.. TrieNode o.. ___ __init__(self self.children _ # dict self.is_word = F.. c.. Trie o.. ___ __init__(self self.root = TrieNode() __...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
4b0027aba10550f8e210dfd5e46a51f834e1b9d5
363b8f40cfa26a8269b57998f8397f430767fc2d
/src/lib/mine/task/config.py
473f218524f00fbfb3d874ebbd0d728d58679349
[ "MIT" ]
permissive
rdw20170120/build
f1cadf1b0f4f932305d22d030b2deb327b07a573
f1bbaed94dbac55437cad09aca62a7fea8051f59
refs/heads/master
2023-07-25T08:39:58.935112
2023-07-12T17:31:20
2023-07-12T17:31:20
263,498,700
0
0
null
null
null
null
UTF-8
Python
false
false
4,153
py
#!/usr/bin/env false """Manage configuration.""" # Internal packages (absolute references, distributed with Python) from sys import maxsize # External packages (absolute references, NOT distributed with Python) # Library modules (absolute references, NOT packaged, in project) from utility import environment from uti...
[ "x299424@mac-jf4j397k.lan" ]
x299424@mac-jf4j397k.lan
dbb911125b94c50c5cb9bb85dec1b7a99417c658
80cd5c8c19c96f7eac2dbe6f8a1fb4186de9f0ac
/multWords.py
c633e3a9a5fbef18b8a5630a6ab5f007dd387085
[]
no_license
kjm5723/basicblackout
a90b1bbe8e233c77416df09b4862351a8b99ba33
3f33eb661ea6d7f3fdf14dcf727449a94f1dc2e4
refs/heads/master
2022-07-31T20:16:35.665802
2020-05-24T17:45:17
2020-05-24T17:45:17
266,592,566
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
import re def multWords(): l = [] newW = '\u2588' i = 0 while i < 5: newW += '\u2588' i += 1 s = str(input("Enter plaintext:")) w = str(input("Enter word you wish to censor (type STOP to end entry mode): ")) while w != "STOP": l.append(w) w = s...
[ "noreply@github.com" ]
kjm5723.noreply@github.com
28f86e134af496e71a7090fdcb99788cc2569b30
8a1269ad6127d79124720feadd4fce7283333ff4
/python_scripts/intersectionSpreadsheet_UIDs.py
3d4532bf910aac6f2c5a71dec56f93c89022ba36
[]
no_license
DavisLaboratory/Db_Compare
9bdab9f974b6a0d6b966e1b98b4bf96ac592d6a5
fd21885c4bc0a14817195b179ac758e016115738
refs/heads/master
2023-03-11T23:38:36.114000
2021-02-25T06:28:22
2021-02-25T06:28:22
290,677,904
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
import os import glob import sys # input the file containing the UIDs for the databases HPRD, BioGRID, Reactome, KEGG, WikiPathways PhosphositePlus, and SIGNOR, in that order # outputs a tsv file containing the UID intersections of each database with all qphos 'samples' def intersectionFunction(fHPRD, fBG, fRXM, fKEG...
[ "huckstephannah@gmail.com" ]
huckstephannah@gmail.com
74a7ac8c9244c9882044fd031b38b2096874d4a8
186b6e386d9ddaa9232aaf1f73ee8be7275a1e56
/fio-resultados/k8s-rbd/bk4-rtx/plot.py
908677c07bf04b1294001af955e8b6400a1983a5
[]
no_license
gemoya/memoria_exp
316844ae2373a7cf047639098c1508e841ab7d8c
74886010c6c21de036de4df3c9aa0a6ceb8f3d17
refs/heads/master
2021-05-16T01:19:12.252667
2018-03-04T21:09:27
2018-03-04T21:09:27
107,055,338
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
import matplotlib.pyplot as plt import json plt.xlabel("")
[ "gemoya@AirdeGonzalo2.home" ]
gemoya@AirdeGonzalo2.home
8aedd48cba8c490675b376065a3f58df2297b510
a8e7db522b98b4e4c497079b752b70d4a4c1d215
/Cracking the coding Interview/Arrays&StringsPg90/URLify.py
325183834e52098cd6cc77346e594c66492c08ee
[]
no_license
zkoebler/Zephrom-DSA-solutions
3d5f75cf91805be4a862a1ef3d3204d791be435c
41531f10aa3dc5f2f25b116c3b4b04019e1114ad
refs/heads/main
2023-07-04T18:54:08.804519
2021-08-24T03:27:33
2021-08-24T03:27:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
#O(n) algo for inserting def URLify(string): elements = string.split(' ') newList = [x for x in elements if x != ''] idx = 1 while(idx < len(newList)): newList.insert(idx,'%20') idx += 2 return newList print(URLify(" Mr John Smith is happy! "))
[ "zkoebler@gmail.com" ]
zkoebler@gmail.com
b34080942f8a3571ef47e9b4d282fdaa292e6e3e
fcf4bccb11838cc7b526a3a1fdde4a8b1fac03df
/cloud_computing/src/aviation/rank_airline_per_route.py
f8e3f34a74c62d808251df972b8175ee5105e053
[]
no_license
beaglebagel/mooc
ee09120be29dd2728dd0a9dc93d98e56a00332c2
02603a10060a21fa4f48798838ae2d98fa515329
refs/heads/master
2016-08-11T21:53:22.696539
2016-04-28T01:26:33
2016-04-28T01:26:33
44,508,371
3
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
from mrjob.job import MRJob, MRStep class RankAirlinePerRoute(MRJob): """ Group 2.3 For each route(origin -> destination), rank the airline by on-time arrival performance. Capstone: Top 10 airlines per routes based on on-time arrival performance. Each file line is composed of the followi...
[ "jblee@riseup.net" ]
jblee@riseup.net
de974b7c9e890ef6b0c1f3a7373d12bb1340ed99
6483506612126ffbde6ca9b788f6f6569e834811
/patterns/precip.py
deb59d0227683021f15cf329a5125232b924dde2
[ "MIT" ]
permissive
imedgar/bot-assistant
94b2505cd3f45879631dfa3a4021c8a11f8eb0e6
13ba3320cd4ff1f89bfd051fd80fc44a3ead6c38
refs/heads/master
2020-06-03T10:28:00.873336
2019-06-12T09:07:43
2019-06-12T09:07:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,340
py
#!/usr/bin/env python import argparse import random import time import scrollphathd def generate_lightning(intensity): """Generate a lightning bolt""" if random.random() < intensity: x = random.randint(0, width - 1) # generate a random crooked path from top to bottom, # making sure ...
[ "ed.ga.ru90@gmail.com" ]
ed.ga.ru90@gmail.com
9c2eb8f2f1811beb52ba4d6f7c54cb4dd7553edb
a9b02b162949fe75170afaee1068dd2342402ff7
/C123/0992_subarrays_with_k_different_integers/solution_1.py
78642c25091c3885433e74f3eaabe31555e7e51d
[]
no_license
asymmetry/leetcode
d0c0f7f61f72699bdfffc8a17f5746991bb4103c
3232620c73175dcf4cfef31a07319e7cc032d224
refs/heads/master
2020-03-22T15:58:16.945882
2019-02-10T21:04:18
2019-02-10T21:04:18
140,293,077
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
from collections import Counter class Solution: def subarraysWithKDistinct(self, A: 'List[int]', K: 'int') -> 'int': c_l1 = Counter() d_l1 = 0 c_l2 = Counter() d_l2 = 0 result = 0 l1, l2 = 0, 0 for aa in A: c_l1[aa] += 1 if c_l1[aa]...
[ "guchao.pku@gmail.com" ]
guchao.pku@gmail.com
9a91982f4aa04eb7363bce546a761edd1724927c
2b14cb46428ff4867798cae6e2b5a4d711373dd2
/vanya_and_lanterns.py
77df91e8ec13003544d1506ab461f7dd933ed909
[]
no_license
fali007/competetive-coding
2847db3e8205bd0483950211b05a59b658ae836a
22fa9056f942be3ae1e9104a132e26c670820dc3
refs/heads/master
2022-08-20T04:09:29.027017
2020-05-10T22:10:40
2020-05-10T22:10:40
262,882,620
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
a,b=map(int,input().split(' ')) array=map(int,input().split(' ')) array=sorted(array) max_gap=max(array[0],a-array[-1]) for i in range(1,len(array)): max_gap=max((array[i]-array[i-1])/2,max_gap) print("%.9f"%(max_gap))
[ "noreply@github.com" ]
fali007.noreply@github.com
40024c309610ede8fb4fa74e21f50acdc682c14d
ea9d07e01407af824e1cc8b59a48375002cd4e79
/scripts/deploy_mainnet.py
340e4ff9249506bb07ce9e00ff0e52eb1f54c9ad
[ "Unlicense" ]
permissive
xiaojay/alpha-vaults-contracts
787dcc5d86930b9d1c837260cf22292eb09f0c35
bcbcbcb45d2479f6294b8af80065481be6579887
refs/heads/main
2023-05-29T11:20:29.257997
2021-06-12T05:24:11
2021-06-12T05:24:11
372,115,542
0
0
Unlicense
2021-05-30T03:34:21
2021-05-30T03:34:20
null
UTF-8
Python
false
false
1,207
py
from brownie import accounts, AlphaVault, AlphaStrategy from brownie.network.gas.strategies import GasNowScalingStrategy # POOL = "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8" # USDC / ETH POOL = "0x4e68ccd3e89f51c3074ca5072bbac773960dfa36" # ETH / USDT PROTOCOL_FEE = 5000 MAX_TOTAL_SUPPLY = 2e17 BASE_THRESHOLD = ...
[ "72396409+mxwtnb@users.noreply.github.com" ]
72396409+mxwtnb@users.noreply.github.com
d3f2bab7bd79b27aedc275c1c5c01e4c9de5aebb
56522f4280d3c5c69e0af95f32e354c5c820a066
/json_generator.py
d4eaca0b1085c3a927671ef7a885236cae9b263d
[ "Apache-2.0" ]
permissive
ligi/android-drawable-importer-intellij-plugin
ba61a05f4cb8243964261e376ac7d7f71ffecf34
5bb2363eea9d4c5bd19a1ba0e8457c0fee0672eb
refs/heads/develop
2020-11-30T16:21:40.287785
2015-12-29T19:14:22
2015-12-29T19:14:22
52,488,365
0
0
null
2016-02-25T01:48:33
2016-02-25T01:48:32
null
UTF-8
Python
false
false
5,186
py
import json import os import io from itertools import izip, islice from os.path import join from PIL import Image root = 'src/main/resources/assets/' android_icons_url = 'http://www.androidicons.com/' material_icons_url = 'https://www.google.com/design/icons/' def convert_image(file): pil_img = Image.open(file)...
[ "marcprengemann@web.de" ]
marcprengemann@web.de
6259072bc09c65a130a23d473503f56f9ae8f7b0
a2211f0ef8297a77200a0b2eec8ba3476989b7e6
/itcast/02_python核心编程/02_linux系统编程/day01_进程/demo04_创建子进程.py
c236a108071be71b8f33da98ba163ba4dd2f4094
[]
no_license
qq1197977022/learnPython
f720ecffd2a70044f1644f3527f4c29692eb2233
ba294b8fa930f784304771be451d7b5981b794f3
refs/heads/master
2020-03-25T09:23:12.407510
2018-09-16T00:41:56
2018-09-16T00:42:00
143,663,862
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
import os, time ret = os.fork() # fork a child process, 仅适用于类Unix平台 print('fork函数返回值 = {}'.format(ret)) if ret == 0: print('当前进程(即子进程)pid---{0}父进程pid---{1}'.format(os.getpid(), os.getppid())) else: print('当前进程(即父进程)pid============{0}父进程pid==={1}'.format(os.getpid(), os.getppid())) '''https://baike.baidu....
[ "1197977022@qq.com" ]
1197977022@qq.com
fba2d76f95aefa09b611da75e7484df3a4299f6f
a2e19fd174bedd860297bcc72032dce0f1ea2339
/graphs/experiments/train.py
3cbff03d38f1c1b20cfff14fe5eaddc11e2a1f0e
[ "MIT" ]
permissive
Cyanogenoid/fspool
29772ea76fa96c35b59e1c0cdb7581b3714028ee
a9f93cc774610c6d96c2c3095a1ab16f53abbefb
refs/heads/master
2023-08-03T10:58:16.139258
2022-11-22T23:16:32
2022-11-22T23:16:32
190,535,015
47
8
MIT
2023-07-22T07:41:22
2019-06-06T07:25:24
Python
UTF-8
Python
false
false
6,308
py
import os.path as osp import argparse import torch from torch.nn import Sequential, Linear, ReLU import torch.nn.functional as F from torch_geometric.datasets import TUDataset from torch_geometric.data import DataLoader from torch_geometric.nn import GraphConv, FSPooling, GINConv from torch_geometric.nn import global_...
[ "cyanogenoid@cyanogenoid.com" ]
cyanogenoid@cyanogenoid.com
b8623d7d3896192cae8214c6fafbcef332a1c310
23117aabee7f76648ec88b083191f336ece61de8
/Customers/migrations/0008_order_status.py
5c7cd5b1fbd9f3b90a6f26dc3b67ccf47fc943a1
[]
no_license
smanjot27/Order-Tracking-System-
49236656de87893309d6fdb0a576348681e0fc28
65d0c432c0233b4cd7ee843a51fb9e22f2f33de5
refs/heads/master
2023-06-28T00:02:22.649004
2021-08-03T12:02:21
2021-08-03T12:02:21
371,034,842
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 3.1.7 on 2021-04-28 14:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Customers', '0007_order'), ] operations = [ migrations.AddField( model_name='order', name='status', fiel...
[ "chughsaloni27@gmail.com" ]
chughsaloni27@gmail.com
ed0ca9df220b85c5cd4fccfd803e005bc515f4b4
33633b89288e8b46ce2ce13e1b29a3f2ca79d188
/Athens/online/views.py
b691677665f6344ca71150f191e8b7656ab0248e
[]
no_license
moon-seong/athens
b5e3557d69c13f63afec92e69e65de013240e0df
9dc33c7c1aa84f3e840abb65f2f7327d3fb29bbe
refs/heads/master
2023-01-29T21:31:24.545716
2020-12-14T02:27:47
2020-12-14T02:27:47
311,843,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,936
py
import os from os.path import basename from django.core.paginator import Paginator from django.http import HttpResponse from django.shortcuts import render, redirect from django.utils.http import urlquote from admin.models import * from django.utils import timezone def select_lecture_teacher(request): teacher = ...
[ "anstmdgks123@gmail.com" ]
anstmdgks123@gmail.com
ce59728b7dddf9a1fd6620e26ae3115249116443
44d8cbe0bf7a0eecb09838fee29c0c06d08d9aef
/realtors/models.py
edf467afa4590c3f71873a1f1788ce2ddac18bf5
[]
no_license
MohamedJamaal/BT-Real-State
63c16af969fd3c6000a61b9442ddb1822f353e17
449496e00f95605f4a41d64703df9e0e5d7b1311
refs/heads/master
2020-09-29T00:41:13.625623
2019-12-18T12:55:16
2019-12-18T12:55:16
226,904,125
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
from django.db import models from datetime import datetime class Realtor(models.Model): name = models.CharField(max_length=200) photo = models.ImageField(upload_to='photos/%Y/%m/%d/') description = models.TextField(blank=True) phone = models.CharField(max_length=20) email = models.CharField(max_len...
[ "mohamed_gamal19@hotmail.com" ]
mohamed_gamal19@hotmail.com
a153664582c7e9c5d5301d14a5f8f29d49160003
03625cc0ffeddb5246e7686c76988889cda30854
/app.py
d2aaace6dbf5ea16a41244cd3abdfd489a08e415
[]
no_license
John-byte62/AI-School
29c3c73943cb2a81f5c46bb7902a1b9aeded2a5c
a383afb0be02a085ff446a0b291c965b9234fb8a
refs/heads/main
2023-05-23T16:47:21.868293
2021-06-13T14:18:59
2021-06-13T14:18:59
375,472,289
0
0
null
null
null
null
UTF-8
Python
false
false
45,802
py
import numpy as np import os import pickle import streamlit as st import sys import tensorflow as tf import urllib from PIL import Image sys.path.append('tl_gan') sys.path.append('pg_gan') import feature_axis import tfutil import tfutil_cpu # This should not be hashed by Streamlit when using st.cache. ...
[ "noreply@github.com" ]
John-byte62.noreply@github.com
a8c460d4f7a3a8a53695a5600917c8c78c8340a6
638693af6683c491a1bd9e7402dc6dfdb1fb71ae
/Lesson 2.1.py
0b108b8a75b34e994acf306ef8df793dcac988c7
[]
no_license
BandS-Y/GB-inter-in-Python
efec8616e7a20527389dd9446de75b340220d754
049b466a1c4aa2a634e87c75c3c040a30b2d72bb
refs/heads/master
2023-06-15T04:09:51.641912
2021-07-12T16:18:09
2021-07-12T16:18:09
323,373,280
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
my_list_1 = [2, 5, 8, 2, 12, 12, 4] my_list_2 = [2, 7, 12, 3] new_list = set(my_list_1) - set(my_list_2) print(new_list) print(set(my_list_1) - set(my_list_2))
[ "yuverch@gmail.com" ]
yuverch@gmail.com
204c0c46eb52f0d484a7ee8fc26fbd3cd6aeb9b0
1bbb518e911a84d02042b5b1b4824df2b5d9e46c
/tests/unused_test_shell281.py
72741f653c3071a834137d041e97e20eafa5c99d
[ "MIT" ]
permissive
AdrlVmadriel/pyansys
d6f47273d0e242088ba0d21ed07473a5b59ef7e7
3f97f970546f7cdf1f301f683c9a6bdcd92357c2
refs/heads/master
2020-05-09T10:49:13.887290
2019-04-10T09:41:36
2019-04-10T09:41:36
181,059,354
1
0
NOASSERTION
2019-04-12T18:01:32
2019-04-12T18:01:31
null
UTF-8
Python
false
false
5,433
py
""" In PyAnsys I type ``` test_result = pyansys.open_result('sample.rst') estress,elem,enode = test_result.element_stress(0) print(estress[23]) print(enode[23]) ``` And get ``` [[nan nan nan nan nan nan] [nan nan nan nan nan nan] [nan nan nan nan nan nan] [nan nan nan nan nan nan]] [ 1 82 92 8] ``` And in Ansys I ...
[ "akascap@gmail.com" ]
akascap@gmail.com
8e3b17e0ec77e9c8fc55297372223b9924b29451
814fc89eed73852b33da2f5a1a1a508a42fe0b66
/github.py
12c1d9153934dd89ce213c18943841eb12631809
[]
no_license
sunil9768/Automatic-social-media-login-by-face_recog-using-selenium
10a779bcdb560bdf47e053dab3408e9157266d74
995ba8608149b7f93eec0bb8342c3ac4a1aef053
refs/heads/master
2020-04-23T06:19:49.189825
2019-03-02T09:41:54
2019-03-02T09:41:54
170,969,700
1
0
null
null
null
null
UTF-8
Python
false
false
583
py
import selenium from selenium import webdriver from getpass import getpass from time import sleep use = "9928686341" pwd = "********" #message=input('Enter your message for status:') browser = webdriver.Chrome('/home/sunil/Downloads/chromedriver_linux64(1)/chromedriver') browser.get('https://github.com/login') u...
[ "noreply@github.com" ]
sunil9768.noreply@github.com
115fd421627ac2c6795ee1bf300c863c52e55f1e
29e57d7de7e2ac762553df61d6fca0b5744620d7
/tests/test_chebtech.py
425f34f9df607737e7fe32579242d61cb705eb6c
[ "BSD-3-Clause" ]
permissive
nbren12/chebpy
a5a26f59c092cf9dd46fab428efc037a1f1266ea
b7df7a0367750836644208c55455e07c351142c1
refs/heads/master
2020-07-13T07:24:23.873572
2016-11-16T06:09:02
2016-11-16T06:09:02
73,889,570
0
0
null
2016-11-16T06:08:29
2016-11-16T06:08:29
null
UTF-8
Python
false
false
24,893
py
# -*- coding: utf-8 -*- """ Unit-tests for pyfun/core/chebtech.py """ from __future__ import division from operator import __add__ from operator import truediv from operator import __mul__ from operator import __neg__ from operator import __pos__ from operator import __sub__ from unittest import TestCa...
[ "mrichardson82@gmail.com" ]
mrichardson82@gmail.com
6a6424b36571b772e02240b83645ca0e666bc507
1d42fda48e152fc4bc06ebff73ef5560da192880
/DT-Tours-Backend/dt_tours/wsgi.py
66ebe450274d2c0b6459db2e91d8f206187a1e4e
[]
no_license
digtaltech/Hack123
ce6b7d86f7df5cf1acfd764d51f2bd3b39e07139
6e73706c941646b2a6fb26e12da387d1cdae3d65
refs/heads/master
2023-06-10T00:30:19.162096
2021-06-20T09:42:29
2021-06-20T09:42:29
378,513,845
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for dt_tours 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "kirill.bodunoff@gmail.com" ]
kirill.bodunoff@gmail.com
deff27ffbeed2cb9da0b98ccb70b61f889a99bf2
2b390e9d541b75784cf743cb14355157f00f81ef
/docs/conf.py
4388b0e9bcbbcea7e651ccfa8a9ef0c57910c878
[]
no_license
pickmylight/docker-selenium-python
f64dbd976908041aa92cf0a43f11acd37b1140bc
39cfbeb09dcf5a11ef0457ac60f960f8128f990b
refs/heads/main
2023-07-18T04:21:21.039193
2021-07-09T12:01:11
2021-07-09T12:01:11
317,457,192
0
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "paul_schmidt@mail.de" ]
paul_schmidt@mail.de
798ac583a3c35cf33ed0c7eb34306cb302348e0e
7922dd41be02e9b0246774f6af5c55f8ab599a96
/demo/knndemo1.py
51a07a9488cd0aea3531a6d236af6a9678bde0dd
[]
no_license
song-hm/machineLearning
a5d057fd067039ddb16d9f3b211d8bbed6602cf6
b9312778594967a632eb0b15299c1aa848099daf
refs/heads/master
2020-05-23T13:08:10.564429
2019-06-18T14:28:00
2019-06-18T14:28:00
186,770,506
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
import numpy as np import collections as c data = np.array([ [154,1], [126,2], [70,2], [196,2], [161,2], [371,4] ]) # 输入值 feature = (data[:,0]) # 结果label ,-1表示取最后一列 label = data[:,-1] # 预测点 predictPoint = 200 # 计算每个投掷点与predictPoint的距离 distance = list(map(lambda x:abs(pred...
[ "2516107012@qq.com" ]
2516107012@qq.com
68c1abdeff6e2d3abeb950bffdabb091288a58d4
06f118ffe64655cf608865435e0ea01de195a964
/my_memory_card.py
f44a4025956ebd4daafae8012518daab277b67f3
[]
no_license
strvlad96/MC
2c2d9689a892717d7c652241cd19c8e8c05cd209
54412fb0e984120b8aae324025ca8cc6a3e8c202
refs/heads/main
2023-08-27T20:13:39.830043
2021-11-14T10:22:42
2021-11-14T10:22:42
427,896,501
0
0
null
null
null
null
UTF-8
Python
false
false
9,826
py
from PyQt5.QtCore import Qt from PyQt5.QtWidgets import ( QApplication, QWidget, QHBoxLayout, QVBoxLayout, QGroupBox, QButtonGroup, QRadioButton, QPushButton, QLabel) from random import shuffle, randint class Question(): def __init__(self, question, right_answer, wrong...
[ "noreply@github.com" ]
strvlad96.noreply@github.com
c8b1a7655087184602bc4d1404cd9d2c9991c5c9
711b6812486d98eb4d21dacaa4381810ae82506d
/main.py
cce1c189268a12b9fd6474c59ee738a79f7ddd06
[]
no_license
nico9695/Demo
b50308b69e5f01477624080d91e09ccaf816cf50
cca9f751852101d14517d8b6154d57a012b0dfcf
refs/heads/main
2023-03-23T08:37:02.317425
2021-03-05T13:38:40
2021-03-05T13:38:40
344,810,484
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
print('Processing the order for {target} shares') if delta > 0: buy_quantity = min(abs(self.position), buy_quantity) print('Buying {buy_quantity} shares') self.current_order = self.api.submit_order(self.symbol, buy, _quantity, 'buy', 'limit', 'day', self.last_pr...
[ "noreply@github.com" ]
nico9695.noreply@github.com
05d2925545dae1edc329935ae160993cd856cb5c
d6c117812a618ff34055488337aaffea8cf81ca1
/git/github/GitignoreTemplate.py
06df576cfdd5fd0dd58ae1d7e25a837559c462c0
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
1,946
py
# -*- coding: utf-8 -*- # Copyright 2012 Vincent Jacques vincent@vincent-jacques.net # Copyright 2013 Vincent Jacques vincent@vincent-jacques.net # This file is part of PyGithub. http://jacquev6.github.com/PyGithub/ # PyGithub is free software: you can redistribute it and/or modify it under the terms of the GNU Less...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
70b059dbafbdc6db2f797168a4997c28029b7c38
0efd4df5872e49dcd98345593760d08505a84b1a
/flasksql/main.py
6313004adf07ea54beb2001614af0f91010d59a5
[ "MIT" ]
permissive
Kwargers/AiLearning
6077cbb9e8a03f4a008c88698ebeae3330975fc3
dbbbcdbbc528109458300288cb5839054f9dec34
refs/heads/main
2022-12-20T08:06:24.356934
2020-10-16T00:57:35
2020-10-16T00:57:35
304,327,870
0
3
MIT
2020-10-16T00:57:36
2020-10-15T13:02:27
Jupyter Notebook
UTF-8
Python
false
false
3,321
py
from flask import Flask, render_template, request import sqlite3 database = 'music.db' app = Flask(__name__) @app.route("/") def index(): return render_template('index.html') @app.route("/createArtist", methods=["POST"]) def createArtist(): #artistID = request.form.get("artistID") artistName = request.f...
[ "noreply@github.com" ]
Kwargers.noreply@github.com