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
960ffd5a1114323566d13ce38ba5cf51302f2e5b
e5091c3a8477fa12e1adfdb1f3d826eb6e9bb2be
/Other/intergalactic_bidding.py
f984457c5e665269999ef48ee9d0fb5f7225cee3
[]
no_license
leonardoAnjos16/Competitive-Programming
1db3793bfaa7b16fc9a2854c502b788a47f1bbe1
4c9390da44b2fa3c9ec4298783bfb3258b34574d
refs/heads/master
2023-08-14T02:25:31.178582
2023-08-06T06:54:52
2023-08-06T06:54:52
230,381,501
7
0
null
null
null
null
UTF-8
Python
false
false
356
py
n, s = input().split() n, s = int(n), int(s) bidders = [] for i in range(n): t, b = input().split() bidders.append((int(b), t)) bidders.sort(reverse=True) ans = [] for i in range(n): if bidders[i][0] <= s: ans.append(bidders[i][1]) s -= bidders[i][0] if s > 0: ans = [] print(len(ans...
[ "leonardoanjos.1a2015@gmail.com" ]
leonardoanjos.1a2015@gmail.com
0b2a1b09f993eb6e2b2ef1d40bd379881a10aca3
c788a1ab2fe51ca73fdcf59103691a2836571765
/strong_password.py
ee0d0106f5ceacfd33587bd702b990de5489ec81
[]
no_license
Navyashree008/if_else_2
81da4133e40c2e1be40c2e441c315c88469eb0a7
fcaefc19b37ea654ea8ba9ee219bb3393e83d2ba
refs/heads/main
2023-01-31T07:48:39.592170
2020-12-14T15:00:13
2020-12-14T15:00:13
321,382,295
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
alphabet=input("enter a alphabet") num=int(input("enter a number")) num2=int(input("enter another num")) special_char=input("enter a special character") if alphabet >="A"and alphabet <="Z": if num>=0 and num<=9: if num2>=0 and num2<=9: if special_char== "@" or special_char=="$" or special_char =...
[ "you@example.com" ]
you@example.com
011604ab86feec9546a04148b9cb87f5d86bd5ee
94c01ae8de8dd0fcee5d7ff92d1d41c2fa419eba
/Driver.py
10d5182e1463c859fb05273c8b0728e4d5bac5ba
[]
no_license
sawrov/Ebay-Scraper
19a0de8dba6aba7ae5115c35472bd0191c093fa9
42d087bb112b91c07f6df50670a9e567859e2cb6
refs/heads/master
2023-01-18T21:41:20.109068
2020-11-20T04:19:51
2020-11-20T04:19:51
291,286,158
1
1
null
null
null
null
UTF-8
Python
false
false
810
py
from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.support.ui import WebDriverWait as wait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By class Driver: def __init__(self): self.driver...
[ "sawrov@hotmail.com" ]
sawrov@hotmail.com
d40a00ad19ac0a3ebecd9179e679ea0c18b4bcaa
9f6814e23c49a5afa6d06e7dacbd8e119f72e587
/Labcli/bin/python-config
dddadb47f7ef55b63d97109e17e048701819b680
[]
no_license
solazverULA/Labcli
5bfcf5e1d3664d3c077a2aaee17f3ba153a01625
0738c0c45a69de37c2806ea6675c8fc75d0d7402
refs/heads/master
2020-03-19T00:13:08.687863
2018-06-27T04:50:50
2018-06-27T04:50:50
135,463,274
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
#!/home/astrid/virtualenv/Labcli/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.version_inf...
[ "astrid.rodriguez15@gmail.com" ]
astrid.rodriguez15@gmail.com
01ef188532c003cbc646c055d9eaa0860fbc9e9c
ebfa6975e2951e61cc9e701de482d83c949f65e2
/Batch_Render/TransfromUI.py
45e9cab68221b5188770204dd995d3ec4b40a3b8
[]
no_license
317431629/Nuke_Tool
e6d0bcd30ab34053f9b7ea422cca4d14787a46f9
c44fdd4133dc08c817aaae9751fb3264cb305f11
refs/heads/master
2020-05-16T14:55:32.095363
2019-07-19T09:06:47
2019-07-19T09:06:47
183,116,400
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' @File : TransfromUI.py @Author: Fighter~ @Date : 2019/4/23 22:01 @Desc : ''' from PyQt5 import uic with open("C:/Users/Administrator/.nuke/Batch_Render\MainUI.py","w") as f: uic.compileUi("C:/Users/Administrator/.nuke/Batch_Render\UI\MainUI.ui",f) ...
[ "noreply@github.com" ]
317431629.noreply@github.com
ddaa51e87f3dea75a23e6de7437d498db478de5c
ddd54e481c12104bd53ec7cb2a627fb0646d5f3c
/AI in Healthcare/Project-3D_Hypocampal_segmentation/Model_training/src/data_prep/SlicesDataset.py
22619d9ae0aadd067eea771b4a09c4362898512a
[ "MIT" ]
permissive
abhishekdiphu/AI_for_Medicine_Specialization_Coursera
e811b94914503d4d956da403a23b6a6deb1e3671
75a8fd1effc385a8c5fb34ee2a274a7dfe6580f5
refs/heads/master
2023-03-28T22:05:08.080661
2021-04-07T19:32:47
2021-04-07T19:32:47
266,577,227
1
1
null
null
null
null
UTF-8
Python
false
false
2,363
py
""" Module for Pytorch dataset representations """ import torch from torch.utils.data import Dataset class SlicesDataset(Dataset): """ This class represents an indexable Torch dataset which could be consumed by the PyTorch DataLoader class """ def __init__(self, data): self.data = data ...
[ "abhishekdiphu@gmail.com" ]
abhishekdiphu@gmail.com
bbcc380c2c8e11ce64219feba0f9de012fbe618d
196f04b443e0f79ff131f18baa8c78d1dfa036d2
/tests/updateLength_test.py
2f977b3d6ccde44484b230bdfd0471955cf0c5bf
[]
no_license
Highstaker/Python-LinkedList-studies
b252881cba25813b9b74e9d59ebb26527e49098f
f761a52bac93c4736f210140c510906718ced089
refs/heads/master
2021-01-10T17:49:09.132200
2016-01-25T14:23:46
2016-01-25T14:23:46
50,355,519
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
#!/usr/bin/python3 -u # -*- coding: utf-8 -*- from unittest import TestCase from LinkedList import LinkedList class TestLinkedList(TestCase): def test__updateLength(self): ll = LinkedList() ll._updateLength() self.assertEqual(ll.getLength(), 0) ll.insert("cero") self.assertEqual(ll.getLength(), 1) ll...
[ "heights999@yandex.ru" ]
heights999@yandex.ru
4bb888070e1232caddf94f6d9cd66a889ff46eea
bd327e439bd231efb32a39ce2a0eeb376c015c09
/onlinesalesproject/OnlineSales/app/migrations/0003_auto_20191108_1302.py
c4c439e65dc1b19019cb296a1cf36fb744c17bbd
[]
no_license
rudved/OnlineSales
883f2aa4eb670388e0cf6df2af5e07a96186b2f9
5add27d93be5187bb7a8e7030c79d8aabbaefc58
refs/heads/master
2020-09-26T19:28:39.768904
2019-12-06T12:35:07
2019-12-06T12:35:07
226,326,111
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# Generated by Django 2.2.5 on 2019-11-08 07:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0002_marchentmodel_password'), ] operations = [ migrations.AlterField( model_name='marchentmodel', name='mrt_...
[ "57656235+krudved@users.noreply.github.com" ]
57656235+krudved@users.noreply.github.com
7630d8d78c12533b4d771f6fecc0374ead28fbc5
ce4d87abfc3b6d7a0b6ff82a0d99074cdb317b49
/selectiveHearing/selectivehearing/controllers/audioFiles.py
c62fa6a742489883753c7a3a76cbb44a496031ce
[]
no_license
knorby/shearing
00c6b6fb22a4f20df3277ad9fa92f7189c389fa3
8f05ce802ed3120f8fb201200d64b368e598f182
refs/heads/master
2021-05-15T01:42:26.557661
2012-07-01T08:42:10
2012-07-01T08:42:10
4,848,953
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from pylons import config from paste.fileapp import DirectoryApp class AudiofilesController(object): def audioFiles(self, environ, start_response): app = DirectoryApp(config["selectivehearing.audio_upload_dir"]) return app(environ, start_response) __call__ = audioFiles
[ "kali.norby@gmail.com" ]
kali.norby@gmail.com
562f901ed91f295fdbd2e5d1f0fac070dc8d90f3
f53bdd2b62dae9afd76bbfa983a2853b88d78c97
/dash_obtainer.py
1941efbff476f93243dd4de506a6a3f1b82deea4
[]
no_license
ianbloom/kerry_dash
5cc38975adeb8c8bdf6453cf1e4778b2d0e213f4
cb31c787735d8d61189ac08185f592750ed97523
refs/heads/master
2020-04-01T18:57:13.531593
2018-10-24T18:31:38
2018-10-24T18:31:38
153,525,344
2
0
null
null
null
null
UTF-8
Python
false
false
3,245
py
from api_helpers.super_func import * from api_helpers.lm_api import * from pprint import pprint import argparse import os import sys def DASH_OBTAIN(lm_id, lm_key, lm_company, dash_id): resource_path = f'/dashboard/dashboards/{dash_id}' query_params = '' data = '' # Obtain response return_dict = LM_GET...
[ "ian.bloom@gmail.com" ]
ian.bloom@gmail.com
1d05631df31cdc2d73d8ef2445b26ad916a8fea5
d29b63ff2cbf1aa0441ca88d96d0f959acadee9e
/order/views.py
d35b39dec1bd9defb5a14258913196a50b6bebd7
[]
no_license
AiperiAkhumbai/online_store
5737d2e8f52dcfdfbd15eb9769d9fd9da1a5a717
f4f7e85de5aa116d789324f5adf441f6af7551b4
refs/heads/master
2023-01-19T17:51:17.020575
2020-12-01T11:21:38
2020-12-01T11:21:38
316,841,389
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
from rest_framework import viewsets from rest_framework import filters from rest_framework.authentication import TokenAuthentication from rest_framework.authtoken.serializers import AuthTokenSerializer from rest_framework.permissions import IsAdminUser, IsAuthenticated from .models import Order from .serializers imp...
[ "aiperiahumbaeva@gmail.com" ]
aiperiahumbaeva@gmail.com
3b44a1973c54eba885e0e6267d56783db8b817cc
bda06272e940ea9721b64637011e24f681059f83
/config.py
44307248f003d6002136e6a43a200f654a7af841
[ "MIT" ]
permissive
melisajuma/Pitch
26cdb2760d5f105a8dc68287253fd13324e3928c
eb09d918afdee1541b7a90be1978061d707a3fb9
refs/heads/master
2021-06-14T20:04:22.514001
2019-08-06T12:17:43
2019-08-06T12:17:43
200,617,753
0
0
MIT
2021-06-02T21:49:10
2019-08-05T08:45:34
Python
UTF-8
Python
false
false
982
py
import os #from sqlalchemy import create_engine class Config: SQLACHEMY_TRACK_MODIFICATIONS = False #SQLALCHEMY_DATABASE_MODIFICATIONS = 'postgresql+psycopg2://moringa:mel123\q@localhost/pitch' SECRET_KEY = 'happy' # MAIL_SERVER = 'smtp.gmail.com' # MAIL_PORT = 587 # MAIL_USE_TLS = Tru...
[ "Melisaakinyi95@gmail.com" ]
Melisaakinyi95@gmail.com
d7d8cf1d86e120a7693cff3bc74ec011c58d2ec5
209a7a4023a9a79693ec1f6e8045646496d1ea71
/COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/tests/extension/base/ops.py
23d3baaf3f83c148bcce7453dd98117e1924f28c
[ "MIT" ]
permissive
anzhao920/MicrosoftProject15_Invictus
5e2347015411bbffbdf0ceb059df854661fb240c
15f44eebb09561acbbe7b6730dfadf141e4c166d
refs/heads/main
2023-04-16T13:24:39.332492
2021-04-27T00:47:13
2021-04-27T00:47:13
361,913,170
0
0
MIT
2021-04-26T22:41:56
2021-04-26T22:41:55
null
UTF-8
Python
false
false
6,907
py
from typing import Optional, Type import pytest import pandas as pd import pandas._testing as tm from pandas.core import ops from .base import BaseExtensionTests class BaseOpsUtil(BaseExtensionTests): def get_op_from_name(self, op_name): return tm.get_op_from_name(op_name) def check...
[ "ana.kapros@yahoo.ro" ]
ana.kapros@yahoo.ro
f1295a102241d36828688531a187d86701051309
bbfa02377b18ee606f9d888c6d7f4635889938b8
/manage.py
20a885c4baaa6502165dfdfa79cfe689cd078d6d
[]
no_license
wengyin777/DockerDjangoPostGreSQL
e9e05fb1a478069e65c7b7cb16f8ef53795f0330
4fafc1abac7a598a773c056cfff29bfda32603fa
refs/heads/main
2023-06-08T00:43:15.363513
2021-06-24T14:25:30
2021-06-24T14:25:30
379,948,778
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangodockerBLOG.settings') try: from django.core.management import execute_from_command_line ex...
[ "holeyiho@gmail.com" ]
holeyiho@gmail.com
3e2366528a198804fad9c195c700eb8b647db602
72e45ceed81324cd8d719483fede4c010fca1ccb
/test.py
bbaac87fb02e31e595661b3260fad4fbcc29560d
[]
no_license
jingxm/RssReader
be5bceface2039b99f97ef55b235337fc0a48799
17eca96c3bc386c46b329ac296b974d16faaa789
refs/heads/master
2020-12-30T23:37:06.619081
2017-03-29T18:02:46
2017-03-29T18:02:46
86,613,390
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from werkzeug.security import generate_password_hash, check_password_hash pw = '123456' pw_hash = generate_password_hash(pw) print pw_hash
[ "hzmingjimmy@hotmail.com" ]
hzmingjimmy@hotmail.com
546e6a53e7a616482335e6390aa31a35a8528bfc
9025e719e334557827707e15ae8fcfde4b8151cf
/action-recognition/src/utils.py
5a8f42a64e467221aa0aea858e21d89114d4c87a
[]
no_license
feliferr/computer-vision
01e1423dc57462908e7f21f1c557c69b752277df
a957587e9b09c26a983b887e5a82876b08d4cb9a
refs/heads/master
2021-09-07T14:20:21.203339
2021-09-03T21:03:46
2021-09-03T21:03:46
216,015,742
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
import os from google.cloud import storage BUCKET_NAME = os.getenv("BUCKET_NAME") SPLIT_PATTERN = f"gs://{BUCKET_NAME}/" client = storage.Client() bucket = client.get_bucket(BUCKET_NAME) def download_gs_file(gs_file_path): query_path = gs_file_path.split(SPLIT_PATTERN)[1] blob = bucket.get_blob(query_pa...
[ "feliferrgo@gmail.com" ]
feliferrgo@gmail.com
37a347338614bf509c5ecdd47760cb7ee414efda
0874ecce812388593a34014cad26d3b4959d07ac
/awards/migrations/0022_remove_rate_rate.py
39c6e7f3c27d989ca01d3e057b456dcc8a7ab2a2
[ "MIT" ]
permissive
melissa-koi/awwardsclone
d990f82eb9d1354a54af68d7fa61fe5856bfd2c1
b82447cea82672038ea9fa9d9ca9867bff3c35f0
refs/heads/main
2023-06-01T12:20:05.315928
2021-06-03T15:31:21
2021-06-03T15:31:21
372,236,218
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
# Generated by Django 3.2.3 on 2021-06-02 04:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('awards', '0021_profile_location'), ] operations = [ migrations.RemoveField( model_name='rate', name='rate', ), ]...
[ "melissawangui3@gmail.com" ]
melissawangui3@gmail.com
69c4491d020596e64934f5c8a00289741f8a56d2
75eca2144c3c740c1e1a13b9ecc7670de7dc2b25
/budget-backend/src/services/transactions.py
cacb1da8dca761e0b378c7627cd78241854b312e
[]
no_license
salty-armadillo/budget
66e3aa45cb1e6298378bbe4ed2b405ea16120726
6fab280a41715712d1b71f8cf58e7fba25a66d98
refs/heads/main
2023-03-09T09:17:52.448433
2021-02-14T05:51:55
2021-02-14T05:51:55
321,654,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
from mysql import connector import configparser def fetch_transactions(offset, length): config = configparser.ConfigParser() config.read('config.ini') db = connector.connect( host="localhost", user=config["database"]["username"], password=config["database"]["password"], dat...
[ "kamanchan27@gmail.com" ]
kamanchan27@gmail.com
2d609b843b0027415ca77a5ba27308972efddf2f
d6a87754a86ed91eb3a71c8ec69fdb415a87ac34
/apache/apr_tables.py
46ae0ec9635e80bbd8b641f3001bc1020f86c31d
[ "Apache-2.0" ]
permissive
GrahamDumpleton-abandoned/apswigpy
8505f3bb99c45b75dfe5da6e3a53ff3c7d4fd4cd
b821b94a78ceed5b8991f7c345aeeadca3729a90
refs/heads/master
2021-01-05T11:19:43.498210
2009-12-01T10:41:37
2009-12-01T10:41:37
241,006,887
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
import apache if apache.version == (2, 2): from apache22.apr_tables import * else: raise RuntimeError('Apache version not supported.')
[ "Graham.Dumpleton@gmail.com" ]
Graham.Dumpleton@gmail.com
4516b0662054384e88012bb63a54923c9cb9062f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2501/60586/311798.py
a5059b14e231f288884cef6e4628d790888c410d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
193
py
x=int(input()) input() if x==3: print(1) elif x==5: print(3) elif x==8 and input()=="8 1 2 3 4 5 6 7": print(7) print(input()) elif x==30: print(15) else: print(x)
[ "1069583789@qq.com" ]
1069583789@qq.com
2ae0d10e42b22fb1cb5d6d1517d8248f2646b176
4072be1b88309cd354ffae005fd22d8b56b845ff
/user_test_python/test_case_2.py
3f70836a2d992c15b577e635f21a0f117d4087c9
[]
no_license
chernenko-art/tests_user_api
4bfce916e5e9f1a1f259d1c64f90d45a57e79cd8
adaeec35962d13aba8cb8f77a8ff9cbef556e189
refs/heads/master
2023-06-03T09:28:46.896333
2021-06-18T10:55:07
2021-06-18T10:55:07
372,411,020
0
0
null
null
null
null
UTF-8
Python
false
false
7,883
py
import pytest import logging import time from user_api import * from conftest import * # Конфигурация логов FORMAT = '%(asctime)s,%(msecs)d %(levelname)-8s \ [%(filename)s:%(lineno)d:%(funcName)-20s] %(message)s' logging.basicConfig(level=level_logging(), format=FORMAT, dat...
[ "ac.chernenko@gmail.com" ]
ac.chernenko@gmail.com
df8485b15d3e4486fe165c69ac19f217a8e0386a
3981410f2a5f4911b0cdcfb4731b45aa4e0eb01a
/webapp/getting2.py
63618cb6e8361196d6474f1fb1fecf971b83565f
[]
no_license
shakarbhattarai/MoodLamp
cf945eb99ec290f55d12d129b233ab8bd4bf65c1
eab4cbfa0ad739d9709d2130f624f7951a3a041f
refs/heads/master
2021-01-13T07:04:35.242532
2017-02-11T14:17:08
2017-02-11T14:17:08
81,600,945
10
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
import httplib, urllib, base64,json #This gets emotions from givenurl class imageProcess: def __init__(self,imageurl): headers = { # Request headers 'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': 'a0087b0f5914...
[ "shakarbhattarainp@gmail.com" ]
shakarbhattarainp@gmail.com
1871ae0b900590bb3835539d692b3dfb8c5af04a
7fa4330f2167d25b41485b4fbcee867d5bb85c8e
/n.py
b70600d8c290b8c5bf7ed118e9665a2fda1515e4
[]
no_license
StyleGame/pp.py
923380f095755cc37fce4cfb795ff195b7c0c9af
12b315556901a8bc5b39057395c6df11932ae041
refs/heads/main
2023-08-14T08:00:37.786472
2021-10-02T11:22:35
2021-10-02T11:22:35
349,479,061
0
1
null
2021-08-19T00:14:22
2021-03-19T15:59:51
Python
UTF-8
Python
false
false
3,502
py
import random,string import requests,hashlib,random,string,time import telebot r = requests.session() print(""" -------------------------------------------------- ██████╗ ██╗ ██╗██████╗ ██████╗ ██╔══██╗██║ ██║██╔══██╗██╔════╝ ██████╔╝██║ ██║██████╔╝██║ ███╗ ██╔═══╝ ██║ ██║██╔══██╗██║ ██║ ██║ ╚█...
[ "noreply@github.com" ]
StyleGame.noreply@github.com
c625242064f1cc62043c3d10ce2128fa96f6c215
ede5d010543eb12221a664a6d7fce4d5b277baf3
/apiCentral/manage.py
91d08e339d2d4de987ee667063915991129af5ce
[ "MIT" ]
permissive
tiagopossato/iot.central.interface
d1fa5886b54fe2c4a10f918faf60bcb04c24e987
a3b55aa8a1260a6823998e82b2c6bed9675a4543
refs/heads/master
2021-04-12T15:10:44.577412
2017-06-23T02:03:45
2017-06-23T02:03:45
94,553,984
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "apiCentral.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "tiago@debian" ]
tiago@debian
4e0eafad69109e8c08e62e688f262b2e5bc9f9f6
b38abdc3e28e15d53c9173752421f11ee3f5319e
/users/migrations/0001_initial.py
d33a624c6cd89ae5a104e68e7da9203218487fd7
[ "MIT" ]
permissive
stuartelimu/curly-robot
021b066e5273e131c0af6c8317359ce8369e446d
c170cb95f3fe6c806263edc977f039e11d84fbe0
refs/heads/master
2023-07-09T23:14:27.499624
2021-08-19T13:35:09
2021-08-19T13:35:09
397,565,899
0
0
null
null
null
null
UTF-8
Python
false
false
2,873
py
# Generated by Django 3.2.6 on 2021-08-18 11:17 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_m...
[ "stuartelimu@gmail.com" ]
stuartelimu@gmail.com
8fcd74b148e19229dbb9dfb47b1bbca367df9e69
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnsantissima.py
543cf26c394dc5e4ca24b64951402154862496ac
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('ClarGE2.py', 3), ('CoopJBT2.py', 3)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
6558622836654c5378bd38de0253eb25a5b41d6a
7cf3ebd6c7b365e8e8f791304a4e7ac0095ec362
/src/foreign_if/python/UT/src/gmm/test009.py
5727c5ed42a68cbb1e5849107a506742e5e595ec
[ "BSD-2-Clause" ]
permissive
KhushbooSanole/frovedis
22805039b54b215ca8bf01ab5683c19e1c0a276c
dcbff3609bddb30ceed755028aff4cf4203a4bf5
refs/heads/master
2023-06-19T08:30:16.651958
2021-07-21T05:15:53
2021-07-21T05:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
# Test frovedis lowerbound and sklearn lowerbound import sys import numpy as np from frovedis.exrpc.server import FrovedisServer from frovedis.matrix.dense import FrovedisRowmajorMatrix from frovedis.mllib.gmm import GaussianMixture import sklearn.mixture as sk # initializing the Frovedis server argvs = sys.argv argc...
[ "takuy_araki@nec.com" ]
takuy_araki@nec.com
e7c681e3f1bb4a3a767be6ee771e7ae6b2aa560c
0e6d0db669707edc925897c7bfe4599407d2a5c4
/projects/golem_integration/tests/actions/cookies/delete_cookie.py
0e0305df8ad899f1cb2242148298014eeb8f3d3f
[ "MIT" ]
permissive
kangchenwei/keyautotest2
0f82b0c0811487953551f3a4d7daea5a92f390b8
f980d46cabfc128b2099af3d33968f236923063f
refs/heads/master
2020-04-05T19:41:41.520077
2019-01-18T09:20:58
2019-01-18T09:20:58
157,146,274
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
description = 'Verify golem action delete_cookie' def test(data): navigate('https://google.com') add_cookie({'name': 'foo', 'value': 'bar'}) delete_cookie('foo') assert get_cookie('foo') == None
[ "kangxinxin@testin.cn" ]
kangxinxin@testin.cn
149dc5a5f54885b9b82d6e55af3d65f47f93a215
ef96f648d8ecf10c95c34b578c99001c0e9080f8
/tests/test_cli.py
37365717379121153abd31ae9da03675670e5fc0
[]
no_license
eteeselink/ci-workshop
7314be3bafb148f437e3b406e7201cf71cf99102
b0a8430e856124fe9ea313a5e172295ab3adf54a
refs/heads/master
2021-01-01T05:37:25.645953
2014-10-17T09:51:14
2014-10-17T09:51:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
import unittest import cli class TestParser(unittest.TestCase): def test_hello(self): self.assertEqual(cli.parse([]), []) None
[ "skrebbel@gmail.com" ]
skrebbel@gmail.com
95235e3018bd6e772c58855ce50e8c6d8abe593e
398e3a7e8425a5b16487654d62c77eb2c1881091
/api/models/PaintJobModel.py
6845cd63f0e1f83727932797755038b5bf04843a
[]
no_license
paarshan4800/car-paint-shop
c1b61ba7dbf84846d97b486be937345999974b9d
5c875bfb9637674347240b57d34ba03f6bd736e4
refs/heads/master
2023-06-08T15:07:19.977790
2021-06-25T18:05:31
2021-06-25T18:05:31
365,522,984
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
from api import db from datetime import datetime class PaintJob(db.Model): id = db.Column(db.Integer, primary_key=True, nullable=False) color = db.Column(db.String(100), nullable=False) model = db.Column(db.String(255), nullable=False) painted_time = db.Column(db.DateTime, default=datetime.now(), null...
[ "paargav.shuttle@gmail.com" ]
paargav.shuttle@gmail.com
cbbcb9d8e818cbc600ffcb9dc72505548efffff2
10537e7616456f8c21d0e2c4dc47c1bb92ef4990
/Adapter/Python/RoundPeg.py
a514610da5b6c7da8552b5de5d00bed0a33658f4
[ "MIT" ]
permissive
DanielEIlie/Patterns
85d882bc22226e654113ab92a2f013de08b60f73
5c22674f089b3dd33ee368488a6ec9945defd5d5
refs/heads/develop
2021-12-28T03:10:11.376196
2021-12-09T10:45:09
2021-12-09T10:45:09
173,938,838
0
0
NOASSERTION
2021-12-09T10:45:10
2019-03-05T12:03:55
Fortran
UTF-8
Python
false
false
165
py
class RoundPeg: def __init__(self, radius:float) -> None: self.__radius__ = radius @property def Radius(self) -> float: return self.__radius__
[ "daniel.ilie@woodplc.com" ]
daniel.ilie@woodplc.com
62c32c2afec959c1510c6994c30db096919e9948
0da7a35582a87bcf3375fb7ffd36247dd1253a25
/Python/Day7/RecursionMultiplication.py
a684a4bb19a9ec4ddacd56eea2c179db322c2443
[]
no_license
swapnadeepmohapatra/competitive-programming
08fa4b2894fd0195be9f5b9ef286fd4b61685055
9da873f352ab6551db141f7eed39957dd26143aa
refs/heads/master
2020-06-27T04:31:50.899259
2020-04-22T13:17:04
2020-04-22T13:17:04
199,844,850
1
0
null
null
null
null
UTF-8
Python
false
false
288
py
def multiply(a, b): if a == 0: return 0 elif b == 0: return 0 elif a == 1: return b elif b == 1: return a elif a < 0: return - (b - multiply(b, a+1)) else: return multiply(b, a-1) + b print(multiply(1200000, 365))
[ "swapnadeep456@gmail.com" ]
swapnadeep456@gmail.com
71efced43f44c1d48d6bab770ae7233c299c25c2
ea05e0a23987bf31019ef94108df2cb44147d536
/SingleLinearRegression/linearRegressionTemp.py
0164c4a93406ecbce2dc0bf7ee454f0df7aede0b
[]
no_license
vidyesh95/TemperatureEstimation
1ae24adb72615ad53ab0c7251fd75da9448fe7db
57458adbf6f37e4ff140f22eda893a3a6075c254
refs/heads/master
2023-07-31T21:11:55.893712
2021-09-10T11:45:45
2021-09-10T11:45:45
405,060,190
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. import sklearn import matplotlib.pyplot as plt import numpy as np import random from sklearn import model_selection from sklearn import linear_model # y = mx + c # F = 1.8 * C + 32 x = list(range(0, 30)) # C(Celsius) #...
[ "vidyesh95@gmail.com" ]
vidyesh95@gmail.com
a57704dec76aa98e24a71da7bdb8a1bff8fa307c
fe5dd90085f6cde53aeab68fa6c70eb9a70a1d0a
/task_1_1.py
b6db207aefb97d7a1ece52ef7b506fe0f16bec37
[]
no_license
youngcardinal/MFI_Labs_Robot
0045c373a9797495663292e9a8819052c8db7d26
0ef8697f2e52a963a89ff88642405f7b6a97f19a
refs/heads/master
2023-01-02T06:35:03.644948
2020-10-27T08:22:25
2020-10-27T08:22:25
306,322,170
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
#!/usr/bin/python3 from pyrob.api import * @task def task_1_1(): move_right() move_down() move_right() if __name__ == '__main__': run_tasks()
[ "siberia.on@gmail.com" ]
siberia.on@gmail.com
218eed066a088d623136d6770b4d968334072c16
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_325/ch8_2020_03_02_19_18_22_057001.py
b4916fbd233446feb0c19469831a4bb984024cfc
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
def calcula_posicao(t,s,v): return s + (v * t)
[ "you@example.com" ]
you@example.com
6eb0972b0a6b9800e31f1f1e623a454308a16be4
efde71fc3e296804a9e5cb6bc2ab48ad575b7faa
/applications/ajax/coupon.py
bbc0873798767159e088eb8161fce704f4d0abbb
[]
no_license
denispan1993/vitaliy
597cb546c9d1a14d7abc2931eb71fab38b878ec4
764d703ffc285f13a9f05e4c197bc75b495b5ff7
refs/heads/master
2021-04-29T21:54:45.095807
2018-02-10T19:05:23
2018-02-10T19:05:23
121,627,169
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
# -*- coding: utf-8 -*- try: from django.utils.simplejson import dumps # import simplejson as json except ImportError: from json import dumps # import json from django.http import HttpResponse from django.utils import timezone from applications.cart.utils import get_cart_or_create from applications.co...
[ "alex.starov@gmail.com" ]
alex.starov@gmail.com
701e61b82f89ad94acd32860ae9a5237c8d1a504
a6287d01a2bfb7a846557a049130f4183587eac8
/neurst/neurst/layers/quantization/quant_dense_layer.py
59058303692e9e87ab455c4e2ec4b0fd86c1f365
[ "Apache-2.0" ]
permissive
ohlionel/Prune-Tune
2737145589de5407699f9c6cd383112ec2f6a098
06613a99305f02312a0e64ee3c3c50e7b00dcf0e
refs/heads/main
2023-04-03T06:49:59.502938
2021-04-01T10:13:01
2021-04-01T10:13:01
321,608,509
12
1
null
null
null
null
UTF-8
Python
false
false
1,695
py
# Copyright 2020 ByteDance Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
[ "liangjianze@bytedance.com" ]
liangjianze@bytedance.com
aeaf44071c3f2543f95c49e07c90cf44102e7699
4d84b6991399e597c2b909e50f6cf17c4fc80c15
/courses/nlp/assignment_1/generate.py
30f6770fd4f49f054f34c98ca444b94c53a9b503
[]
no_license
Byron-Edwards/NTU
4af328c75c429414f3283abb1e252efa7dd19ded
f3e5306edc1711f7471cd84f815697a02e97a02e
refs/heads/master
2021-01-03T17:42:15.534926
2020-11-15T09:24:21
2020-11-15T09:24:21
240,173,560
2
0
null
null
null
null
UTF-8
Python
false
false
3,538
py
############################################################################### # Language Modeling on Wikitext-2 # # This file generates new sentences sampled from the language model # ############################################################################### import argparse import torch import data parser = ...
[ "byron_edwards@outlook.com" ]
byron_edwards@outlook.com
345c7a7d5c51a0757e8d4395154aad955a8e5be1
941a5ba27b599553d8d21f12ebc9eeae4677d31b
/app01/stark.py
583ab6324c91eafccf651de9fa91ecab82751291
[]
no_license
AIF333/Mystark
9326b375b86313472508972e1fa052486e15e056
959e5e26c9edd193d8471370f753934d20a14551
refs/heads/master
2020-05-01T13:32:09.033817
2019-03-27T13:12:51
2019-03-27T13:12:51
177,494,298
0
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
from django.shortcuts import render,HttpResponse,redirect from django.urls import path from stark.service.V1 import site, StarkConfig from app01 import models # 自定义UserInfo的配置类 class UserInfoConfig(StarkConfig): def extend_url(self): # 扩展字段方法 path_list=[ path('sayHi/', self.sayHi), ] ...
[ "1606896936@qq.com" ]
1606896936@qq.com
b2555ced9051315bb27cd9fc944627d3f9946d73
0c296aa7a51011416fa1688b92e12f546b80018a
/app.py
a722703b07c82216990496e4f839183c41fd7932
[]
no_license
apoorva2014/rpiwalker
e757d05114354ea653a02502c30658a2d3ca3658
2ee3253e9c82abb3da513c2bca9ab054558faaa0
refs/heads/master
2016-08-12T04:24:55.347590
2015-11-09T06:13:50
2015-11-09T06:13:50
45,809,114
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
from flask import Flask app = Flask(__name__) app.config.from_object(os.environ['APP_SETTINGS']) db = SQLAlchemy(app) from views import * if __name__ == '__main__': app.run()
[ "mahaja2@rpi.edu" ]
mahaja2@rpi.edu
55eb7669469e7a9bdfc29138b1127a490533fec3
d866a082ad836283183a72adc18fe8022d925772
/intersection.py
ece994538c629fdfb580acf13f7c4908882dd9bf
[ "Apache-2.0" ]
permissive
ralgond/SortedListIntersection
8a920dc2ef2ddfb93a7f7eb57dd9e4eb6117843f
1118de51d82f63f6a6536054b6cb1548bcb680a0
refs/heads/main
2023-02-20T03:52:11.974433
2021-01-17T09:26:40
2021-01-17T09:26:40
326,561,659
6
0
null
null
null
null
UTF-8
Python
false
false
178
py
import sys d = {} for line in open(sys.argv[1]): w = line.strip() d[w] = 1 for line in open(sys.argv[2]): w = line.strip() if d.get(w) != None: print(w)
[ "ht201509@163.com" ]
ht201509@163.com
d8810763bbeebc82f38ce67a85bff4cc0449ac5f
a413623cb895eaeddcca92287caa29a49847a2d8
/manage.py
e20392d6d6edf11701d9cdc77d48956586c89efa
[]
no_license
dgomezc1/R-Oil
8aebe9bbd40c6a6f86fc1740d455b9ffddb79263
3eb8ecd21a054572a40d59d56009aea64432c495
refs/heads/master
2023-09-03T12:20:55.650824
2021-11-18T03:06:20
2021-11-18T03:06:20
400,905,258
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Roil.settings') try: from django.core.management import execute_from_command_line except ImportE...
[ "dgomezc10@eafit.educ.co" ]
dgomezc10@eafit.educ.co
7891dc4255d44a33b1a58dc2039f2567e9c41997
f952f548ef0a54afb0d34ee77f4a7914d6c1f9a9
/extract_imagenet_activation.py
c862819cc27c86cc3d6636b03f6971646d547d37
[ "MIT" ]
permissive
helloTC/SemanticRelation
28ae0bad0eb86c46d2f9f49e3d0606d73233e4e8
d8a24ae825cd48c98ac2d4a463b6b46f72f2242c
refs/heads/master
2023-08-21T18:13:02.289528
2021-09-28T14:20:56
2021-09-28T14:20:56
277,487,713
1
0
null
null
null
null
UTF-8
Python
false
false
3,794
py
import torch from torchvision import models, transforms, datasets import os from scipy import stats, special import numpy as np from dnnbrain.dnn import analyzer as dnn_analyzer def pearsonr(A, B): """ A broadcasting method to compute pearson r and p ----------------------------------------------- Par...
[ "taicheng_huang@sina.cn" ]
taicheng_huang@sina.cn
90830dd8e0342d5d9af278ca6d2ecbf56abac769
699f51e33de1e73ccc871d5b473fc30fc015e7f6
/twillo_sms.py
d3ff45ce643b973e78748051ba8dad87a12b0784
[]
no_license
arolson/MachineLearningForStocks
95025d1f212293a16ab490bc007486a7e66efef7
09c8f48a5436b767e4fee05dff848c9c16f63cc6
refs/heads/master
2021-08-30T03:56:24.180856
2017-12-15T23:32:21
2017-12-15T23:32:21
113,937,582
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from twilio.rest import Client # Your Account SID from twilio.com/console account_sid = "AC3f0931dee2fb0698409a1185a150fe86" # Your Auth Token from twilio.com/console auth_token = "369e82850dd35b2f5c577ae2c57d95bc" client = Client(account_sid, auth_token) message = client.messages.create( to="+19512839806", ...
[ "arolson56@gmail.com" ]
arolson56@gmail.com
5542f58f54a21369edbbba27fc812778c4d113d2
34306cc8bab39d1da55479fde38245c3b29d22c4
/Graduate/DS501/vanand_HW2/problem3.py
a9716783c69e61dfb9a99681cc2bd3f6bcf074d8
[]
no_license
vanand23/WPI_Projects
ebba325fa9359155606d815219fa2c75f31ecf5c
4c18cc432ced229bb421a7b21978b8e8a88108b5
refs/heads/master
2023-01-21T10:34:56.783105
2022-01-02T05:57:00
2022-01-02T05:57:00
214,215,289
1
0
null
2023-01-09T11:58:45
2019-10-10T15:12:45
Jupyter Notebook
UTF-8
Python
false
false
10,999
py
import pandas as pd #------------------------------------------------------------------------- ''' Problem 3: getting familiar with pandas package. In this problem, please install the following python package: * pandas Pandas is the library for tabular data analysis in Python. It provides fas...
[ "vandana1anand@gmail.com" ]
vandana1anand@gmail.com
19290029eb01d0c3265d54c055a1f982f4ed1e36
486b3c2a20fcaa266a2ff1616b06d9a705550b27
/regression/single/neural_net.py
f6bcccb91b740974615bedc523671ff78c7b7c9f
[]
no_license
cy18cn/ai_learning
81a82761fb29fa6a1d2eca90be8b1e32d674ad04
c13dbf919fc9bead8044d35acd927d525aa6c820
refs/heads/master
2022-10-11T17:15:50.649602
2020-06-05T08:51:54
2020-06-05T08:51:54
269,578,636
0
0
null
null
null
null
UTF-8
Python
false
false
3,795
py
import matplotlib.pyplot as plt import numpy as np from matplotlib.colors import LogNorm from regression.single.training_history import TrainingHistory class NeuralNet(object): def __init__(self, w, b, params): self.params = params self.w = w self.b = b def forward_batch(self, batch_...
[ "ryan.cao@airparking.cn" ]
ryan.cao@airparking.cn
b9573afae9b48591e7bc0499cea8f203459554d8
ea4567b4388ea97c8ca718d9e331dc796439ee44
/exercise_learn/new_selenium_project/bdd_project/features/steps/simple_register.py
4805d2f7ac88a0148471f082bcb848f14bddf71e
[]
no_license
Kingwolf9527/python_knowledge
ace65470ec706cae195b228b8e8d6ca8db574db8
1ccb3a788c172f3122a7c119d0607aa90934e59b
refs/heads/master
2020-12-04T06:12:49.809020
2020-02-10T18:22:36
2020-02-10T18:22:44
231,647,147
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# ! /usr/bin/env python # - * - coding:utf-8 - * - # __author__ : KingWolf # createtime : 2019/12/5 3:10 import sys sys.path.append(r'F:\GitExtensions_python\project_spider\exercise_learn\new_selenium_project\bdd_project\features') from behave import given,when,then,step_matcher #调用正则处理 step_matcher('re') @when('I...
[ "lccr777@163.com" ]
lccr777@163.com
8e8d4069dc3605e1f533561875aa4d70d189d33b
90d139b4ba5052fcb6a7cd5b36fd25135f8d7d30
/home2/bin/distro-3.8
d5854e2e8486089c3e5d7937a52b648730b4e273
[]
no_license
Rithurajmgclt/flaskProject
7f995bcc13b17fce398e5102b5f9fd90a21b43a7
eb1382e320e2c28dc3ba41a5c6fd3fb1fcba50f4
refs/heads/master
2022-12-12T15:26:02.367309
2020-09-03T05:31:35
2020-09-03T05:31:35
285,311,123
0
0
null
null
null
null
UTF-8
Python
false
false
240
8
#!/home/rithurajmg/Desktop/myproject/home2/bin/python # -*- coding: utf-8 -*- import re import sys from distro import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rithurajmg2015@gmail.com" ]
rithurajmg2015@gmail.com
2bd5a77cd774823656aa9505437757beee47d01e
0191678f9e4bc9bf3487c18304a5b67704b485ae
/private/templates/EVASS/controllers.py
6b29b0f92a04b7022633cc6227949d45788f5593
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
code-for-india/sahana_shelter_worldbank
fba11d93e1af332afb3eb4fc3f62e1cece48ceaa
0034fc69e37f8719e7870e28cc576d9af05fc5b2
HEAD
2016-09-06T13:46:25.994167
2014-05-10T12:22:34
2014-05-10T12:22:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,619
py
# -*- coding: utf-8 -*- from os import path try: import json # try stdlib (Python 2.6) except ImportError: try: import simplejson as json # try external module except: import gluon.contrib.simplejson as json # fallback to pure-Python module from gluon import current from gluon.html import...
[ "claudiococciarelli@gmail.com" ]
claudiococciarelli@gmail.com
ac1491a43c6cbe6bd39017888d5ed97a4f9ffb3a
9900578dc0d8b4012bb5a03dd49a890d7a17ea5a
/keras_retinanet/utils/box.py
77f380dbb6b4b6d90722b0b6af606493d49e4786
[ "Apache-2.0" ]
permissive
Dref360/keras-retinanet
28b86edd1d6694ac935f9efa0d1c0090288c1391
12953b160ccfbe535d73dc0c8be5d628a3cd1c65
refs/heads/master
2021-08-30T16:22:42.292649
2017-12-18T16:22:35
2017-12-18T16:22:35
114,407,190
1
0
null
2017-12-15T20:05:51
2017-12-15T20:05:51
null
UTF-8
Python
false
false
1,032
py
import numpy as np class BoundBox: def __init__(self, classes): self.x, self.y = float(), float() self.w, self.h = float(), float() self.angle = float() self.c = float() self.class_num = classes self.probs = np.zeros((classes,)) def overlap(x1,w1,x2,w2): l1 = x1...
[ "frederic.branchaud-charron@usherbrooke.ca" ]
frederic.branchaud-charron@usherbrooke.ca
21e64dca429efbe840b32f4192b4d23f5381e3a1
b102dc30de767ec3189b38f133fc1f4193e26526
/Python Code/Assignment 7/RoomsInfo.py
79d0e7846c0d5e7cf0898660e02e3cdf10fa51fb
[]
no_license
Ardric/School-Projects
7b2d456bed9f7be146b81c133e6463985cb044dc
9923ae13b1d2a6bcc926f50e695a215671077c6e
refs/heads/master
2020-03-16T21:05:41.660196
2018-11-30T04:51:27
2018-11-30T04:51:27
132,984,531
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
#Daniel Lowdermilk from RoomsFunctions import * roomlist = [ {"number": 100, "name":"Jones Room", "sqft": 150, "seating": 9}, {"number": 105, "name":"Smith Room", "sqft": 550, "seating": 50}, {"number": 107, "sqft": 150, "seating": 12}, {"number": 109, "name":"Thomas Room", "sqft"...
[ "noreply@github.com" ]
Ardric.noreply@github.com
a57ef56195c31db990a6ba23f191faef05f9101a
cb55aa5b76a69399cd9511901ffc4208e486cd1a
/main.py
c806782b235b7cea06bc1e2a6e49afc22f12cb14
[ "MIT" ]
permissive
indmind/AutoTypeRacer
29bc51e863814c4019e93b5d28576f0e579d661b
c9608313bcb5f6b57e5576c882d540917e149efb
refs/heads/master
2020-04-11T11:48:42.296663
2020-02-16T00:29:38
2020-02-16T00:29:38
161,760,273
3
0
null
null
null
null
UTF-8
Python
false
false
7,682
py
from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import TimeoutException from selenium.common...
[ "sattanationmail@gmail.com" ]
sattanationmail@gmail.com
3f7af8186863e30d0b685bdc989acb234eaa86c1
138c4f45483128ac64376cb87c3e66bedffae85b
/pickle_test.py
cc5c970a6a71da0ef2f598ebd7435595814cf552
[]
no_license
lddsdu/Cameratest
6844e5325f34c42b6b69737b9d72b3156782a762
e2de487bd23bec155cbb7d2240eccf93a69e3dce
refs/heads/master
2020-03-10T18:23:42.506341
2018-05-09T13:46:51
2018-05-09T13:46:51
129,524,853
0
0
null
2018-05-09T13:46:52
2018-04-14T14:32:36
Python
UTF-8
Python
false
false
639
py
import pickle class Person: def __init__(self,name,age,gender): self.name = name self.age = age self.gender = gender def intro(self): print(self.name+" "+str(self.age)+" "+self.gender) def main(): """ deal with some type of data :return: """ str2ser = "this...
[ "201500130096@sdu.edu.cn" ]
201500130096@sdu.edu.cn
281c25c74d7881528beaa1d83f626930a80f928b
79f0e12dd8a7aca0ea5afdcd4b259b3daec41765
/blog/models.py
01aa9bb6037c2034c764f3c1062b5ce385eb2ab6
[]
no_license
mbabikir4/portfoliomo
0f35ac55e72e2fd13c2fec3fc15ade6c96c351ff
693e9186b4edbf0c0ef356eaa344e74b149bb7be
refs/heads/master
2022-11-27T19:47:06.354369
2020-08-06T16:31:40
2020-08-06T16:31:40
285,619,440
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
from django.db import models # Create your models here. class Blag(models.Model): title = models.CharField(max_length=60) text = models.TextField() time = models.DateField() def __str__(self): return self.title
[ "mbabiker530@gmail.com" ]
mbabiker530@gmail.com
5dfe3e9d7031248f08542ea207698a79be6ee5f4
2ee46c87820d4f63f207e88ba099ccf042a5cd27
/lib/sibra/ext/util.py
8caa59a85569688feccd629ddf6f7788afeaa90e
[ "Apache-2.0" ]
permissive
marcoeilers/scion
38f4d04a31a116bba945a710a66b15c6a0953628
06f3f0b82dc8a535ce8b0a128282af00a8425a06
refs/heads/master
2022-09-16T00:10:57.258140
2017-06-09T07:51:24
2017-06-09T07:51:24
74,899,812
1
1
Apache-2.0
2021-07-20T14:38:16
2016-11-27T16:29:41
Python
UTF-8
Python
false
false
992
py
# Copyright 2016 ETH Zurich # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, sof...
[ "kormat@gmail.com" ]
kormat@gmail.com
022b31ddccb04273494fa2f2b62023044fc447a9
1ded6c4aeeee677925d3a951b2c85b4f3e8cb772
/Python自动化开发/day16/Django/Django/settings.py
4e72747efa923d27d630f229d5be02038bba431d
[]
no_license
zhangyu-yaoshen/Python
90ec2aafcfaeabcdf2df66688be2d27e7062a021
be7d3e5cc80d4a961fc0fe44e4dbafe318e7fdec
refs/heads/master
2021-01-18T16:37:51.692730
2019-09-16T00:49:51
2019-09-16T00:49:51
100,464,481
1
0
null
null
null
null
UTF-8
Python
false
false
3,238
py
""" Django settings for Django project. Generated by 'django-admin startproject' using Django 1.11.13. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "494167883@qq.com" ]
494167883@qq.com
c08eb5d024ad2583194e20ecffba206e0f2b10bb
f9954c6e9092b3b5d36385ae3e0b6507ea5553f1
/accounts/models.py
98d26d78e8d6261e49a32012e3e34932d001014d
[]
no_license
vixen-python/student_db
a1d1912c5f7f7343de9bb4809d4297e06b2f1e97
d7327638c66de3f1e5fe1c90cbe2161d7a7d55d9
refs/heads/master
2023-06-27T04:52:58.095083
2021-07-24T13:10:14
2021-07-24T13:10:14
389,551,579
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
from django.contrib.auth.models import User from django.db.models import Model, OneToOneField, CASCADE, TextField, ForeignKey, PROTECT, CharField from student.models import Address class Profile(Model): user = OneToOneField(User, on_delete=CASCADE) biography = TextField() personal_phone = CharField(max_l...
[ "dominika.pupakova@localhost" ]
dominika.pupakova@localhost
89dfc85dcf519e47155a9816a032b0c255263dd4
60dc29006d19fa1a7415426c1862aad3022cda68
/CineList/CineList/cinelist/settings.py
9442c59ef71958a0b8ff928cedd67006c54e3b6a
[]
no_license
garyjohnson96/CineList
60db0395370907c110539446e6615e4acd6f414f
c72d7945afa7d35750aa94aec52e2760d8c67ccc
refs/heads/master
2020-05-18T14:20:40.704075
2019-05-01T19:45:51
2019-05-01T19:45:51
184,467,360
0
0
null
null
null
null
UTF-8
Python
false
false
3,694
py
""" Django settings for cinelist project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "gary3450@gmail.com" ]
gary3450@gmail.com
f687983c959fc0273ff0f5d8c7a4813ba0a2a6a3
8c2fd5158db5558adc25b0c230a819841a7b8bbd
/ReversegamAISimulation-CH16/AIsim3.py
cd7fc185fde54f20a8ddd350eae9dcd92385d28e
[]
no_license
OmarAlmighty/Invent-your-game-with-python-4th-edition
cacaa64e2520857ceaedd160e6cf10e387de05f5
8690ccf607963ce657489767cc4ab2b7596a4bd3
refs/heads/master
2020-06-05T07:58:10.589837
2019-08-31T23:53:00
2019-08-31T23:53:00
192,368,322
0
0
null
null
null
null
UTF-8
Python
false
false
11,049
py
# Reversegam: a clone of Othello/Reversi import random import sys WIDTH = 8 # board is 8 spaces wide HEIGHT = 8 # board is 8 spaces tall # Print the board passed to this function. Return None. def drawBoard(board): print(" 12345678") print(" +--------+") for y in range(HEIGHT): pr...
[ "noreply@github.com" ]
OmarAlmighty.noreply@github.com
b73f3c3982b8529e06f018d793b2bf8460f06409
2d7eededd805ba786d529cc49ba5e971f95a2c93
/sphinx_intl/utils.py
2799c5625576301caa861206c057a38f60789e22
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
tychoish/sphinx-intl
aa2dff841253ae93092610deadd066adc3db9e12
6f1acedd8281d1da334b84c6c7779db98677e351
refs/heads/master
2016-09-06T07:28:49.810051
2014-02-25T17:41:31
2014-02-25T17:41:31
17,294,150
1
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
import os from multiprocessing import cpu_count from multiprocessing.pool import Pool def expand_tree(path, extension='pot'): for root, sub_folders, files in os.walk(path): for file in files: if file.startswith('.#'): continue elif file.endswith('swp'): ...
[ "samk@10gen.com" ]
samk@10gen.com
70ff638556ab19a45188805b904fd714427b1743
63a737196ad1b58448e89ab65d72ec6b17fc6232
/cpp/a.py
af245a114cad08aa163e9fa0e9268978e16ff752
[]
no_license
varunragu23/Template
bc4db626742003982e6958110a73997c27d1699a
2620447afee53db3003dea4909b2aa42cb75d7f5
refs/heads/master
2021-06-25T07:22:40.688602
2021-04-03T01:15:27
2021-04-03T01:15:27
219,389,079
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
import sys input = sys.stdin.readline ############ ---- Input Functions ---- ############ def inp(): return(int(input())) def inlt(): return(list(map(int, input().split()))) def insr(): s = input() return(list(s[:len(s) - 1])) def invr(): return(map(int, input().split())) ### Your Code ###...
[ "varunragu23@gmail.com" ]
varunragu23@gmail.com
4b7657c2c6efc0fff42e63dcb8bbc2c3589dfdc7
aca6313e34bdb4a67be1cddbf96bdd020901ecb1
/server.py
1476f55187fd7aa7398917f1a9fd6333097c7f18
[]
no_license
DanielGomes14/Distributed_Object_Detection
311826c79c7d714010a9c72e0917f55dabfeea66
78a324bac3cdaf79a232ce4f527392a8c01b33e7
refs/heads/master
2023-01-07T09:56:38.158701
2020-10-25T21:09:51
2020-10-25T21:09:51
277,298,806
1
0
null
2020-07-08T12:22:37
2020-07-05T12:35:22
null
UTF-8
Python
false
false
4,594
py
import argparse import json from flask import Flask,request, redirect, url_for from flask import render_template import os from collections import Counter from werkzeug.utils import secure_filename import tempfile import requests from worker import recv_Img import pickle import cv2 from threading import L...
[ "noreply@github.com" ]
DanielGomes14.noreply@github.com
f3a8ccb58daf70b7536db1eb9f47ed5b11d88863
329d6f3916154ba78be81e726d5a7aced93f8cb1
/leprikon/cms_plugins/courses.py
b458eda18994e4f3820517fe4a73476f974eb82d
[ "BSD-3-Clause" ]
permissive
misli/leprikon
0ef4f5430cb773e48cd87a6676448ecfcc099365
f8c70a73897dc2dfa661a151688228b87d2aac0d
refs/heads/master
2022-12-29T23:08:17.613658
2020-10-18T07:47:34
2020-10-18T07:47:34
63,190,910
0
0
null
2016-07-12T20:39:53
2016-07-12T20:39:53
null
UTF-8
Python
false
false
1,107
py
from cms.plugin_pool import plugin_pool from django.utils.translation import ugettext as _ from ..models.courses import ( CourseListPlugin, CoursePlugin, FilteredCourseListPlugin, ) from .base import LeprikonPluginBase @plugin_pool.register_plugin class LeprikonCoursePlugin(LeprikonPluginBase): name = _('Cou...
[ "jakub.dornak@misli.cz" ]
jakub.dornak@misli.cz
83f21c82e5aa27e69b1832cd8594a6d0dc3cc8f4
daf8abfcbbbff0dfe0425608af291f4be0a6bea7
/depot_tools/git_footers.py
3df4f82a6ad0594c3b7551b87a3ff319e41ca913
[ "BSD-3-Clause" ]
permissive
mvines/cef
68389e7b0cfe0caf5cd61c80055b01382d34000d
a3faf18e55dc258ce7783c39c7ed22d7cecd4e74
refs/heads/master
2022-10-24T17:06:15.960761
2017-01-13T19:01:58
2017-01-13T19:06:55
78,868,621
0
1
null
2022-10-22T09:12:09
2017-01-13T17:05:59
null
UTF-8
Python
false
false
6,329
py
#!/usr/bin/env python # Copyright 2014 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 argparse import json import re import sys from collections import defaultdict import git_common as git FOOTER_PATTERN = re.c...
[ "mvines@silklabs.com" ]
mvines@silklabs.com
e85b526dfe87681dd0b50c48dc746005e90ef526
717f5324f8d4ce44a94e2c0b654a2d2a4f0a3c74
/dwi_ml/models/projects/stacked_rnn.py
3773e99c3447328f360a6f70f3489c4955bc40fb
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jhlegarreta/dwi_ml
3ac7ef28f3bba13f34a8f38a9f910cf2946dcc7b
a7c03f26780677e4eaccff9b381d5a8ec6120293
refs/heads/master
2023-03-04T07:22:15.737775
2023-02-23T18:20:53
2023-02-23T18:20:53
242,525,253
0
0
MIT
2020-06-10T00:53:06
2020-02-23T13:49:01
Python
UTF-8
Python
false
false
11,527
py
# -*- coding: utf-8 -*- import logging from typing import List, Tuple, Union import torch from torch import Tensor from torch.nn.utils.rnn import PackedSequence keys_to_rnn_class = {'lstm': torch.nn.LSTM, 'gru': torch.nn.GRU} # Note. This logger's logging level can be modified trough the main mo...
[ "emmanuelle.renauld@usherbrooke.ca" ]
emmanuelle.renauld@usherbrooke.ca
fb0b11da96cba44f0143963cff2fba448d91ca69
8fcae139173f216eba1eaa01fd055e647d13fd4e
/.history/scraper_20191220145250.py
77934478bcb784eb070135bbdbd1526238341e03
[]
no_license
EnriqueGalindo/backend-web-scraper
68fdea5430a0ffb69cc7fb0e0d9bcce525147e53
895d032f4528d88d68719838a45dae4078ebcc82
refs/heads/master
2020-11-27T14:02:59.989697
2019-12-21T19:47:34
2019-12-21T19:47:34
229,475,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Module docstring: One line description of what your program does. There should be a blank line in between description above, and this more detailed description. In this section you should put any caveats, environment variable expectations, gotchas, and other notes abo...
[ "egalindo@protonmail.com" ]
egalindo@protonmail.com
4ef0b0b47c1614f2b84ff94635894f71988ece90
1852be4726dc1d83780740678819192277159e0f
/LC/398.py
31a847bbec409721c4f60cdb00f2601a3a0177b2
[ "MIT" ]
permissive
szhu3210/LeetCode_Solutions
f0a32e30df54b655fdb9c7d48622382f29781409
64747eb172c2ecb3c889830246f3282669516e10
refs/heads/master
2020-06-30T05:45:40.550146
2017-08-11T04:10:25
2017-08-11T04:10:25
74,389,515
2
0
null
null
null
null
UTF-8
Python
false
false
340
py
class Solution(object): def __init__(self, nums): self.nums = nums def pick(self, target): c = 0 for i, num in enumerate(self.nums): if num != target: continue c += 1 n = random.randint(1, c) if c==n: res = ...
[ "troy@Troys-MacBook-Pro.local" ]
troy@Troys-MacBook-Pro.local
bbc04c1a859ea9c13a40dd1dbbbd963a17e8088c
991a62edfd8f4acba6dbe5213a51be33702c3d74
/tests/10-deploy
8447817a63cda4f9458ae6028e6a42e0fa29fc3f
[]
no_license
isabella232/cka-ubuntu-cni
d1d2e2cdd6a525f8ebbe2920043934a073ab7f29
d1b51091829d76c8c93f65a6b8add745b570d915
refs/heads/master
2023-03-17T14:50:25.355495
2017-05-19T01:17:40
2017-05-19T01:17:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
#!/usr/bin/python3 import amulet import requests import unittest class TestCharm(unittest.TestCase): def setUp(self): self.d = amulet.Deployment() self.d.add('cka-ubuntu-cni') self.d.expose('cka-ubuntu-cni') self.d.setup(timeout=900) self.d.sentry.wait() self.un...
[ "ryeterrell@ryeterrell.net" ]
ryeterrell@ryeterrell.net
340ae959c6b00d971f8f4050a2db26eca1f59498
da5c15b48a307aa6f849c3f1de4eb95c686ea714
/LRCphonebook_main.py
d11e3b77a3f44b75eddd15dfc818777484abd000
[]
no_license
lenniecottrell/tkinter-Phonebook
c5f68448790425530c085bc2a7783d52c5b7f84f
41da0026f70eab968d0506a3567fc442e8773cf9
refs/heads/main
2023-02-18T10:13:25.765980
2021-01-21T16:22:04
2021-01-21T16:22:04
329,700,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
from tkinter import * import tkinter as tk from tkinter import messagebox #import other modules to make sure we have them import LRCphonebook_gui import LRCphonebook_func class ParentWindow(Frame): def __init__ (self, master, *args, **kwargs): Frame.__init__(self, master, *args, **kwargs) ...
[ "noreply@github.com" ]
lenniecottrell.noreply@github.com
bddb42ee8969f6b771690e3a872b74642d430ee9
7ff5767f2e249948f958facc86a92151f899617d
/python/测试.py
2b24ec2463a03f5fb1ef64a590f2ef881f0d6f0c
[]
no_license
fairyang/01
3ba8026f0e6f3caa883f395f353270a19c36926b
5bb96ba9a3fa40a55289fff8a8c38554f6d9c495
refs/heads/master
2020-08-01T12:40:18.518522
2019-11-20T11:46:59
2019-11-20T11:46:59
210,999,872
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
chars=set() for i in range(26): chars.add(chr(ord("a")+i)) chars.add(chr(ord("A")+i)) a = input() for word in a: if word in chars: print(word,end="")
[ "3345660949@qq.com" ]
3345660949@qq.com
383ca50a8e75c8d8d520dafd5915341662956e4b
9bd76957feae4b01f961a968c6d89eda0c704a5d
/locations/api/views.py
6856a6a75f1f705578150d1a2a0692f12f1650d8
[]
no_license
deepakkumar96/flirtjar
4312e64f6d87d9810d96724e0b766521a3a7d8bf
349e65b1b5f994b1efa2829600fbec150c5cf961
refs/heads/master
2020-05-02T22:09:38.316047
2019-04-01T03:36:33
2019-04-01T03:36:33
178,243,629
0
0
null
null
null
null
UTF-8
Python
false
false
8,473
py
from django.db.models import Q from rest_framework import views, viewsets, generics, status from rest_framework.exceptions import NotFound from accounts.models import Account from profiles.serializers import UserInfoSerializer from locations.serializers import UserLocationSerializer from accounts.serializers import Use...
[ "deepakkumar21120.dk@gmail.com" ]
deepakkumar21120.dk@gmail.com
75e9270bd3c7116428f73f0fa3140d49cfbe75c0
7250fee18d67327d53aed964bef24f68178f6954
/problem_1/Fellow Codes Go Here/lena_bartell.py
5767b881715b67cf40ffb5554852d76f80ea5f75
[]
no_license
mlpaff/insight_bos_coding_challenges
c154832acc7a7072405b13abe37f4e2f7f7d1284
4eeed843b66f3f1246c1ad8a6ff652c2f0c11076
refs/heads/master
2021-05-02T08:01:53.141603
2018-02-11T22:57:01
2018-02-11T22:57:01
120,843,554
2
0
null
2018-02-09T02:07:18
2018-02-09T02:07:17
null
UTF-8
Python
false
false
1,860
py
""" Odd Even Linked List Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes. You should try to do it in place. The program should run in O(1) space complexity and O(nodes) time complexity. Example:...
[ "lenabartell@gmail.com" ]
lenabartell@gmail.com
f166cfc951ed9447469d351c36478a9aa96458ac
8d490df45de03ac7e22a1bbd8adb75acc4efca5b
/data_upload/model/isbcgc_cloudsql_mock_model.py
c9f4ca42dfa4e13460ec1a12cc0d4522aaf28573
[ "Apache-2.0" ]
permissive
snamburi3/ISB-CGC-data-proc
0f0e6cadc766f54c363a653f192a0934a1dc1d4c
32de04f22c356bbceb27344822ad5e7df1f861f0
refs/heads/master
2020-06-29T12:21:53.327380
2016-11-21T23:31:29
2016-11-21T23:31:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,183
py
''' a mock wrapper to google cloud sql. Copyright 2015, Institute for Systems Biology. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required b...
[ "mmiller@systemsbiology.org" ]
mmiller@systemsbiology.org
d92eebf8f6dc3ad2e9788be0a4dcddf2163da147
f41309da5e0d26b24d974a009fa309a02fcaa20c
/aws_s3_policies/aws_s3_bucket_logging.py
1bd470dc1f5c59a7f31c6700e2b878afece7d8bb
[ "Apache-2.0" ]
permissive
georgeSkoumas/panther-analysis
2e1e87f83c6533cb6d62ecb62e3f61b2ff4b5ed4
30b21c270504bf7c84f99207c9c6c2f6110843ae
refs/heads/master
2022-09-14T13:22:31.786275
2020-05-26T16:18:58
2020-05-26T16:18:58
267,569,230
1
0
Apache-2.0
2020-05-28T11:15:05
2020-05-28T11:15:04
null
UTF-8
Python
false
false
71
py
def policy(resource): return resource['LoggingPolicy'] is not None
[ "noreply@github.com" ]
georgeSkoumas.noreply@github.com
05b2e1238630e79e414eea73dae7aed0432327db
69b37d49e010efb0191d96cda1a0361473077cb8
/app/authentication/forms.py
37c7d354f5ff2c87b94730da99305d8b197420bb
[ "MIT" ]
permissive
abhishek70/django-tdd-crm
4f06276c495e055a87102b922d6e3f50ca7c9998
e2a0ee03cbea5de237ce7f247a89c2bdd413effc
refs/heads/main
2023-03-23T23:03:44.995761
2021-03-17T07:06:53
2021-03-17T07:06:53
343,277,256
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.forms import forms from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserCreationForm, UsernameField User = get_user_model() class CustomSignupForm(UserCreationForm): class Meta: model = User fields = ("username",) field_classes = {'username'...
[ "abhishek.desai70@gmail.com" ]
abhishek.desai70@gmail.com
f6fa69130099a5cb0936d72a06768ced4d37f9f2
b5cc6d7b5f7ccea36fce4eab961979404414f8b0
/spectral/sandbox/mass_matrix_gl.py
29a48a0b594287760493555bca03e5b0f75737f4
[]
no_license
MiroK/cutFEM-beam
adf0c925dbe64b370dab48e82335617450675f5d
2fb3686804e836d4031fbf231a36a0f9ac8a3012
refs/heads/master
2021-01-21T23:54:32.868307
2015-02-14T13:14:59
2015-02-14T13:14:59
25,625,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
import sys sys.path.insert(0, '../') from points import gauss_legendre_points as gl_points from functions import lagrange_basis as l_basis from quadrature import GLQuadrature from sympy import lambdify, symbols, integrate import numpy.linalg as la import numpy as np x = symbols('x') # If I N points have points N = 10...
[ "miroslav.kuchta@gmail.com" ]
miroslav.kuchta@gmail.com
5c87d7e598faeed6b443d8f383eb36aac452a5d0
1aeb5a1fb033d2c3379256121b42e1b8b9a5264f
/hackerrank/python/Text Alignment.py
444f1fbd6483b01698a6e7da0b021a2bf9838b42
[]
no_license
mf4lsb/Algorithms
9d1622f563209e86c76294b186adca1043d33b61
33ae9f7bf03935a78fbefc3e1670c1af43aa7aac
refs/heads/master
2021-01-01T09:57:51.746248
2017-05-19T06:33:24
2017-05-19T06:33:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
# https://www.hackerrank.com/challenges/text-alignment/submissions/code/14417013 thickness = int(input()) #This must be an odd number c = 'H' #Top Cone for i in range(thickness): print((c*i).rjust(thickness-1)+c+(c*i).ljust(thickness-1)) #Top Pillars for i in range(thickness+1): print((c*thickness).center(th...
[ "johnjullies@users.noreply.github.com" ]
johnjullies@users.noreply.github.com
b9d5ed86f5b5062fe18fffada8e72ca3ffddae10
d366d192f668ecaa0b70b454d7a9866c2888d600
/src/transformers/models/unispeech_sat/modeling_unispeech_sat.py
58ba244ade0f924d992254e75705da628dd0c6dc
[ "Apache-2.0" ]
permissive
matrogersmtl/transformers
2bb853dd11907280f667661909ed31825d0b104b
7e71eb2ef77b0200cd079d0d0383342ed1da2df5
refs/heads/master
2023-06-22T10:30:14.688699
2023-06-19T14:23:29
2023-06-19T14:23:29
281,486,776
0
0
Apache-2.0
2020-07-21T19:32:17
2020-07-21T19:32:16
null
UTF-8
Python
false
false
85,992
py
# coding=utf-8 # Copyright 2021 The Fairseq Authors and the HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
[ "noreply@github.com" ]
matrogersmtl.noreply@github.com
f1267a7802801874908f75a47237e375a12075ab
5478ec3c49bb4812849897a5050fc74149dcb6c1
/15-Find and Draw Contours .py
152cfd2bea0ce7720b56ae416ebc5cc1abec2605
[]
no_license
UdayKiranPadhy/OpenCV
96ebffb82801041b1a503d6cb02943a857631b66
fb81ea9a148e79f67ac88abeb1176b52cbd8e9ed
refs/heads/main
2023-07-01T19:24:21.807742
2021-08-12T04:28:00
2021-08-12T04:28:00
395,193,811
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
# Countour is defined as the curve joining continous points which has the same colour # used for object or shape detection from typing import Counter import cv2 as cv import numpy as np from matplotlib import pyplot as plt img = cv.imread('opencvlogo.jpg') imgray = cv.cvtColor(img,cv.COLOR_BGR2GRAY) # Fo...
[ "noreply@github.com" ]
UdayKiranPadhy.noreply@github.com
8641c37a5a132782ae60a999f89d1a590e6e76b6
97ce880b48a7156c965d6bbd3cb7df7a1cd4c0e6
/main.py
86a65a6cfe099c38a3af62a1695e8c335b2125fa
[]
no_license
merveyubogluu/music_recommendation_system
2a77c9724cb1d8f32e38ec7dcfa1dfbcb8b34332
e255bb000726b7365d313fc65726144ad759f3a9
refs/heads/main
2023-05-31T12:09:22.338571
2021-07-05T08:28:05
2021-07-05T08:28:05
342,528,319
0
1
null
null
null
null
UTF-8
Python
false
false
2,699
py
import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.preprocessing import OneHotEncoder from scipy.spatial import distance data = pd.read_csv("SpotifyFeatures.csv") data = data.drop(["track_id","key","mode","time_signature"],1) # Song finder with song name and artist na...
[ "noreply@github.com" ]
merveyubogluu.noreply@github.com
65a83a58c3e2b3d68719305a6fc7e24db803f398
33f4b82df582f0e372358c38148de556c30015c0
/bin/epylint
201e7ed30f9fc3d621d1e8708142d99a84671de3
[]
no_license
waltergar/onlinepython
0cd3b2c92f6fee6507aad7e70d73efa30c7494ca
e6ffbca49513cd82bf432b0d36b8139bdf8d8065
refs/heads/master
2021-06-21T18:36:34.937686
2019-07-30T18:10:51
2019-07-30T18:10:51
199,703,209
1
0
null
2021-03-20T01:25:27
2019-07-30T18:06:32
Python
UTF-8
Python
false
false
269
#!/Volumes/MAC-DATA/Develop/PriceOptimization/Flask/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "apple@Apples-iMac.local" ]
apple@Apples-iMac.local
1225096b6591b99d7d639025aca73c85e2cf413f
9036e22d7da8141e05012b8a25a3aa9e8028c95a
/HackerRank_Challenges/Simple Array Sum.py
c1c24dca21a169c216969821c3ccbe9fa7043a31
[]
no_license
sarveshdakhane/Python
2500bc5fc1e9d447f9ed4527161a59db18fe668f
f9ef202c5758971d943d2d60cf9abeda36be59b1
refs/heads/master
2022-01-03T08:18:14.411362
2021-12-24T13:36:44
2021-12-24T13:36:44
251,586,887
0
0
null
2021-12-24T13:36:45
2020-03-31T11:46:23
Jupyter Notebook
UTF-8
Python
false
false
423
py
import os import sys # # Complete the simpleArraySum function below. # def simpleArraySum(ar): i=0 t=0 for i in range(len(ar)): t=t+ar[i] return t if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') ar_count = int(input()) ar = list(map(int, input().rst...
[ "sarvesh.dakhane@hotmail.com" ]
sarvesh.dakhane@hotmail.com
df060491348d6f647078f3f9b2f7746d26d948f9
50f679273c36d45b740afe0a9254b64b72a0b1bb
/acessarBlastTerminal.py
248b503582485bb6784ad3a5211c43bb689c451c
[]
no_license
rodrigorochag/scriptsBioinfo
fbbf57fdb0b7b45bbe734889dcd33218d1b7fac9
4155279a0ebbfb7ae9aef2d9a83e839de3e9f30f
refs/heads/master
2022-02-03T14:04:45.656260
2019-08-02T19:11:49
2019-08-02T19:11:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
from Bio.Blast import NCBIWWW from Bio import SeqIO #Compara as sequencias com o banco de dados NCBI arq = SeqIO.read('/home/ivan/Documents/bioinformatics/aedes.fasta', format='fasta') print('Buscando no banco de dados....') result = NCBIWWW.qblast('blastn','nt', arq.seq, format_type='Text') print(result.read())
[ "noreply@github.com" ]
rodrigorochag.noreply@github.com
2f48b86b98696ad8ea524ebc687ad19b1d7dca40
d9fb6c246965cbf290186268298859ddb913ee6e
/190819/ladder.py
fcb76fc06ebc1f5a4e1d93de8835e7e3f5a107c2
[]
no_license
91hongppie/algorithm
1ca6d54de6eab252c708bf83835ace8a109d73fc
4c2fa8178e0ef7afbf0b736387f05cbada72f95d
refs/heads/master
2020-07-20T22:17:40.700366
2020-06-29T00:06:11
2020-06-29T00:06:11
206,717,677
1
0
null
null
null
null
UTF-8
Python
false
false
664
py
import sys sys.stdin = open('input_ladder.txt', 'r') board = [[] for _ in range(100)] for num in range(10): num = int(input()) for j in range(100): board[j] = list(map(int, input().split())) first = board[99].index(2) i, j = 98, first while i >= 0: if j < 99 and board[i][j+1] == 1: ...
[ "91hongppie@gmail.com" ]
91hongppie@gmail.com
08e05c1a666cdefa4e9f91780880c51b03938fc0
2055cdd8c7dc9c5c9253836091a18af0e55065d1
/app/tests/test_support.py
e5e2db6b5c426ab50f43d68dceab832c0d9591a8
[ "MIT" ]
permissive
eugenerbl/flask-aws-template
6e37822f885384e41f7c6faa3cfaadcdd1b57aa4
913f4f55aba3a3fa906a8b8390be3f4a0e65140f
refs/heads/master
2023-03-07T17:17:52.014482
2021-02-24T23:54:51
2021-02-24T23:54:51
342,068,933
0
0
null
null
null
null
UTF-8
Python
false
false
3,019
py
import glob import os from unittest.mock import patch from app.models import User from app.tests import conftest def delete_test_file(): files = glob.glob("*bobby.json") os.remove(files[0]) def test_contact_us_logged_in_user(test_client_csrf, init_database): u = User.query.filter_by(username=conftest....
[ "35496054+eugenerbl@users.noreply.github.com" ]
35496054+eugenerbl@users.noreply.github.com
8d14840ff520ee9b058a38fea78d1f7043dd9b71
e9de427c184d518b8230ce0a87ea45b19374869b
/silvia/11_class/coche/model.py
450391d9e3a9fb06cf588fc232b47d55d4e6c722
[]
no_license
andresalbertoramos/Master-en-Programacion-con-Python_ed2
a78eea1ee2d5545384f6bc351369e75631f04e6c
a5ec6418fadedfab6f6cc56e581b41ca61d5215f
refs/heads/master
2022-03-23T14:17:27.038061
2019-12-18T18:16:43
2019-12-18T18:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
class Car(object): def __init__(self, marca, modelo, color): self.marca = marca self.modelo = modelo self.color = color def __repr__(self): return (f'Marca: {self.marca}. Modelo: {self.modelo}. Color: {self.color}')
[ "sarnaizgarcia@gmail.com" ]
sarnaizgarcia@gmail.com
dcf60cde5a653561e24ac6476c0ca78ab82f6068
7385fcddd2bf160dc65688c06ac1d15ef941a23f
/i_preprocessing.py
7f24d637f4e1f6805145b423e088a96d3b35ab0d
[]
no_license
MathLaci08/my-kaggle
082d7cb876e770c78f3b11dc7249ae49a49e62bc
4474e1f1c24b26822bbf86f76ed75fd8ad7eb9e9
refs/heads/master
2023-01-20T20:42:00.719292
2020-12-01T12:56:04
2020-12-01T12:56:04
244,465,883
0
0
null
null
null
null
UTF-8
Python
false
false
8,262
py
import abc import logging import pathlib import importlib from typing import Tuple import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt from sklearn.preprocessing import StandardScaler from sklearn.decomposition import PCA from scipy.stats import skew from scipy.special import...
[ "laci.szilas@gmail.com" ]
laci.szilas@gmail.com
123d59a28954c31a3bc71c2027f41417fd8f536a
18a29196e0e958ca8ab6ae0565917f8e690cac69
/client.py
31b17793a69e3f6db2101029ab4f0d602634b79f
[ "MIT" ]
permissive
Joee1995/PTTS-WebAPP
df3745cc430ee450c9d0b33d8c37a2d5fd450707
e5a25707e45b5b603e49529a9f0ce5c65eaa79ab
refs/heads/main
2023-04-03T06:37:33.033296
2021-04-12T10:10:01
2021-04-12T10:10:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
import os import os.path as osp import requests from urllib.parse import urlencode import json, time, uuid import numpy as np from scipy.io.wavfile import write url = "http://127.0.0.1:5000" payload = { "text": "To install precompiled package of eSpeak NG on Linux, use standard package manager of your distributi...
[ "atomicoo95@gmail.com" ]
atomicoo95@gmail.com
02c2173deed3b68a30b4cff87343685963c96958
e0aa52e8c070fe33abf2c01a067b8a5b31da827a
/Packages/LiveReload/__init__.py
3aebef06ad886cf835c500b5b3cdf523e8a98d73
[]
no_license
ashed/ST-my-settings
b2f0ed90135e994fd4c3d66aa2efbd94dec017b9
8b61fac8107d17d21b7eeb054174fdece805b9e7
refs/heads/master
2023-07-10T18:45:34.177128
2021-06-16T05:05:45
2021-08-16T23:09:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
#!/usr/bin/python # -*- coding: utf-8 -*- try: from .LiveReload import * from .server import * except ValueError: from LiveReload import * from server import *
[ "jfcherng@gmail.com" ]
jfcherng@gmail.com
81a7ec08ade9b3863913143bf961cb17756f5e8d
93b6823589c9f58aecf6dc819cbbed4247c7b022
/django_header_auth/models.py
7e40d1ccba68d2b44c080d9a16ada21c642c3bd8
[ "MIT" ]
permissive
paiuolo/django-header-auth
25ddc1a8681609f175341a2a0b08a26a2235ba15
279d41c125445183ce29bad373b88cd17e2e0e82
refs/heads/master
2021-07-17T20:17:53.061807
2017-10-24T19:13:14
2017-10-24T19:13:14
103,425,895
0
0
null
null
null
null
UTF-8
Python
false
false
2,389
py
from django.db import models from django.contrib.auth import models as auth_models from django.utils.translation import ugettext_lazy as _ from django.utils import timezone from django.conf import settings from .functions import create_uuid, domain_email_extract class ConsumerManager(auth_models.BaseUserManager): ...
[ "paiuolo@gmail.com" ]
paiuolo@gmail.com
850826193bd88e83601ef9de6ed50645d745c700
7e6ecf52e90d618ebb2df7be864e1370543540a8
/32/onlyaccounts/message/models.py
cefd277962ffafb887b021668a79d47847d7c2af
[]
no_license
rangai/draft_0
76be571d40043b98c9faa830a5924b4886e9d975
bf7ff892b167ebae0ad9378f9aebd0b3cf3c8e48
refs/heads/main
2023-08-27T03:58:49.876422
2021-11-03T07:22:31
2021-11-03T07:22:31
397,608,738
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
from django.conf import settings from django.db import models # Create your models here.
[ "fibo.112358132134@gmail.com" ]
fibo.112358132134@gmail.com
4d1f75bdf7142fa391f263f38bed19200aa5562b
46aa44ec8afc1128883d3807b179104f34342fc7
/lab6/untitled8/app/admin.py
19681c93d1ee27d7aa260d2398ac8441192b45a1
[]
no_license
Lisobol/lab
639010c431579479fd8a6d74e0188e686bbcde77
8c0eb3ee403747fd629edb5fcd5ad3a500ae1125
refs/heads/master
2021-09-26T23:50:14.102419
2018-11-04T20:42:51
2018-11-04T20:42:51
105,984,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
from django.contrib import admin from .models import * # Register your models here. @admin.register(User1) class UserAdmin(admin.ModelAdmin): empty_value_display = 'null' list_display = ('last_name', 'first_name', 'email', 'phone', 'passport', 'birthday') list_filter = ('last_name',) search_...
[ "ls1997@yandex.ru" ]
ls1997@yandex.ru
a9d4319c57ebadc1c7eee898ed1ce3ab67813f74
eeaa8b6e081ed0f6e9e8eda5e44a717615bb6232
/salesforce_api/models/retrieve.py
c5c264eb8effe897d228ecd886726a6f77898143
[ "MIT" ]
permissive
felixlindstrom/python-salesforce-api
3e0db77a59157ca9b5049296ba035733efd09569
37ed67bc46648a102c74f5d6fec0f45a9db79601
refs/heads/master
2021-11-21T16:17:45.137594
2021-06-23T18:25:33
2021-06-23T18:25:33
170,099,881
30
16
MIT
2021-11-17T08:44:39
2019-02-11T09:14:02
Python
UTF-8
Python
false
false
627
py
from typing import List from . import base class Options(base.Model): def __init__(self): self.single_package = True self.unpackaged = [] class StatusMessage(base.Model): def __init__(self, file: str, message: str): self.file = file self.message = message class Status(base....
[ "felix.lindstrom@bambora.com" ]
felix.lindstrom@bambora.com
c2b188f8e938f833a46055227a40ee3981a8ce20
9eeff5ad1aa3b8982326015df0f0adc62011c732
/get_ids.py
9735e076ef3b07a035873bd08a532a0d45ead382
[]
no_license
gkuwanto/page_id_pair_extract
6788226cd64b1725ec3f54058261eab9b0aeebeb
bc0196e4a092b4da0fb7dab9e0ce4bf94d79f4a9
refs/heads/master
2022-11-30T17:19:40.018330
2020-08-10T09:40:31
2020-08-10T09:40:31
286,238,001
1
0
null
null
null
null
UTF-8
Python
false
false
620
py
import requests import pandas as pd import tqdm import sys def get_id_from_title(title): posibility = list(requests.get(f'http://en.wikipedia.org/w/api.php?action=query&titles={title}&format=json').json()['query']['pages'].keys()) if len(posibility)>2: print(title) return int(posibility[0]) df = pd....
[ "gkuwanto@gmail.com" ]
gkuwanto@gmail.com
0527e4a7f8bf195dad7c6801f9d564aa1bc20e32
9f1d78698e6f5588caf9ee8241fac2739339417b
/scripts/gen_barcode_params.py
eb6578e6a064b20dafe52ecc217a5730e822c492
[]
no_license
rstickels/slideseq-tools
172de9768944617ecd0e902544ead08cedf8e4d4
61e8b95b102e7f7b562d2c7a926f91990c3c3199
refs/heads/master
2023-02-20T10:34:30.816529
2021-01-05T19:12:14
2021-01-05T19:12:14
327,094,423
0
0
null
null
null
null
UTF-8
Python
false
false
2,138
py
#!/usr/bin/python # This script is to generate barcode_params.txt that is needed by extracting Illumina barcodes import sys import getopt import csv def main(argv): inputfile = '' outputfile = '' lane = '' try: opts, args = getopt.getopt(argv,"hi:o:l:",["ifile=","ofile=","lane="]) except ...
[ "noreply@github.com" ]
rstickels.noreply@github.com
d010d2bce8a7ddf52123b43dd5dc2fff707ccf9c
f7ec0c3a56773d213ccd1a87c479c9afd6b3f6ed
/sabz/Scripts/django-admin.py
4b4cda2d2fa38c749822c5b5966290581ae4314b
[]
no_license
kimiya-ab/Armsghsn-Sabz
1736f07e639e064340a2bbce256d3e866471a5b6
4abf675d2b0034e57ea3e117141b075c56663d36
refs/heads/master
2023-08-21T03:34:51.472447
2021-10-31T16:04:34
2021-10-31T16:04:34
408,550,695
0
1
null
null
null
null
UTF-8
Python
false
false
706
py
#!c:\users\asus\desktop\swan tech\armaghan sabz\sabz\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-...
[ "kimiyaabdollahi@yahoo.com" ]
kimiyaabdollahi@yahoo.com
4bb9d20ca5b30eaa77f4944cafb8edd46792cbfa
2b21259e183426e86660b71a9b8f11c13bd452ab
/Python/func.py
597a3e680e407b04b8fd6556b8d0f1c6e990f3b5
[]
no_license
D3nii/Random
68f67aaedbfa0edda7d2541465d75670ac0fa2cd
e6ce3acb9c4e373faca264001012a1468a73915b
refs/heads/master
2021-01-03T01:08:13.087455
2020-07-08T14:14:06
2020-07-08T14:14:06
239,850,442
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
def uppercase_and_reverse(text): stru = text.upper() stru1 = stru[::-1] return stru1 print(uppercase_and_reverse("Banana"))
[ "danyal.jcc@gmail.com" ]
danyal.jcc@gmail.com
bac173615703f2fcbf60f550a41931b31c1e0afd
eab4f0fa4b726455c3a3b246d30e2417472a9d09
/Part4/example4.7.1.py
24130a287b3fec26ab4ef0be01c742021c70d9c5
[]
no_license
bigMathGit/Naver_scraping
11c5d7a1c98de1c47558b8159e016b4baaf22169
97371cb77a7444c735c375f4e0394b96ea8fa631
refs/heads/master
2020-03-22T04:46:52.713860
2018-08-07T03:02:21
2018-08-07T03:02:21
139,520,750
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
import json jsonString = """{"arrayOfNums":[{"number":1},{"number":2},{"number":3}],"arrayOfFruits":[{"fruit":"apple"}, {"fruit":"banana"}, {"fruit":"pear"}]}""" jsonObj = json.loads(jsonString) print(jsonObj.get("arrayOfNums")) print(jsonObj.get("arrayOfNums")[1]) print(jsonObj.get("arrayOfNums")[1].get("number")+j...
[ "wkdrl9569@gmail.com" ]
wkdrl9569@gmail.com
31f167447802fe56f8855461d347bd71c52bfbf5
96ec573d8117ac4a6df15c1229a99aa26fb20b8f
/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestRecognizeBreakpoint.py
c112c588625814ab7d2b9d5c1eff106526e3d20e
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
ponsheng/llvm-project
72d808e1547635996b2d9c6cb9a0b57e5fe35254
b72664fd21cc1e25cd8420eb37eae3a701976394
refs/heads/master
2022-12-23T20:25:14.173521
2019-06-29T01:53:26
2019-06-29T01:53:26
194,372,301
0
1
null
2019-06-29T06:24:23
2019-06-29T06:24:23
null
UTF-8
Python
false
false
5,370
py
from __future__ import print_function import lldb from lldbsuite.test.lldbtest import * from lldbsuite.test.decorators import * from gdbclientutils import * class TestRecognizeBreakpoint(GDBRemoteTestBase): """ This tests the case where the gdb-remote server doesn't support any of the thread-info packets,...
[ "jingham@apple.com" ]
jingham@apple.com
34deffc77accfae3728f39824821f3ad812c61a9
ad3fb446d310e7de5f929ca788a3c955ca521e62
/binary-tree/max-depth.py
64933cbc4d369af9cab46179d1b6a597b542979f
[]
no_license
markplotlib/data-structures
7c9491f09375a381ca13428818c1f1bc9dbdd716
247c252cde612072e6889d5fdd80f3ae39e36250
refs/heads/master
2023-03-02T22:38:04.186089
2021-02-18T06:04:18
2021-02-18T06:04:18
272,804,268
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# https://leetcode.com/problems/maximum-depth-of-binary-tree/ # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def maxDepth(self, root: TreeNode) -> int: """...
[ "mark.chesney@gmail.com" ]
mark.chesney@gmail.com