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
d2ab74e47619d9d6edf2602f1e1354117feaf75f
d3f831eb7eb33f5b86f957f6a156fc5c02cddc98
/mainapp/migrations/0010_auto_20201031_2220.py
6fcda1f6028646c6a5ea78cbf91ed8b03f804759
[]
no_license
anujsngh/QUAD-twt_oct
fb1835c95880c27fc0f3ea7d81b5b71cc783170a
12101be1d85fdda9a4bb317e4713de794fd416d5
refs/heads/master
2023-07-21T19:18:09.820788
2020-12-17T11:23:15
2020-12-17T11:23:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# Generated by Django 3.1.2 on 2020-10-31 16:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('mainapp', '0009_auto_202...
[ "yuvrajmotiramani5115@gmail.com" ]
yuvrajmotiramani5115@gmail.com
416f71a810b96bd8c19cec485b09432fb88b9536
949c5eae4bb5057c1ef8db8a34042b87146cd7f3
/03_list_ranges_tuples/03_ranges.py
3118403df72a194d1b49bf97db04a23ef35458ed
[]
no_license
JesusEduardo2028/python01
eb1fbcfce3dbd19c5937ef2563182ac70b996112
d60d67b1629095ec2de0e325bd9da541fc91b7c6
refs/heads/master
2020-05-17T05:07:39.212717
2019-04-25T23:28:42
2019-04-25T23:28:42
183,523,415
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
my_list = list(range(10)) print(my_list) even = list(range(0, 10, 2)) odd = list(range(1, 10, 2)) print(even) print(odd) # Ranges represents sequences that follow a parent, they are not lists but can be used to iterate processes small_decimals = range(0, 10) print(small_decimals) print(small_decimals.index(3)) odd...
[ "omnibnk@OmniBnks-MacBook-Air-2.local" ]
omnibnk@OmniBnks-MacBook-Air-2.local
69010e3b6fdf85acdc542e3cc173cc2efe29689c
784eb69213d850280d468798725578910295b30e
/management/commands/django2hugo.py
942f8832c5b7dbd1d4905bfa6b3af1b64f358a71
[]
no_license
hypertexthero/hypertexthero.com
e2f21e32ab3844c3b9e88f64d55c7fe9197d82db
229abd3e4cbbe4b9d0d91c123b76840ee7810f50
refs/heads/master
2020-04-06T07:04:56.590886
2016-06-29T02:53:58
2016-06-29T02:53:58
7,525,136
1
3
null
null
null
null
UTF-8
Python
false
false
1,848
py
# _*_ coding:utf-8 _*_ # https://github.com/sjkingo/mezzanine2jekyll from django.core.management.base import BaseCommand # http://stackoverflow.com/a/15364584/412329 from django.utils.encoding import smart_str, smart_unicode from hth.models import Entry import os import re class Command(BaseCommand): """ Us...
[ "simon@hypertexthero.com" ]
simon@hypertexthero.com
becc7b68dedd044942e8a0ad78c43194e7a0ec46
130f9e059b5f0341bc9ccfdd50be6e7baf1aaf9d
/Decoratore/property_deco.py
c13e87c000d838af04d37c78a20cf34ed86d3307
[]
no_license
Rschanania/core_python
d331d9fd3537f95570c304a65d2fcdb739567efb
09b32a7eabb53512e98d12ed1db18d0f140bd512
refs/heads/master
2020-12-28T17:16:32.693437
2020-02-05T10:10:03
2020-02-05T10:10:03
238,419,521
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
# class student: # def __init__(self,first_name,last_name): # self.first_name=first_name # self.last_name=last_name # @property # def email(self): # if self.first_name==None or self.last_name==None: # return f"Email is not set please give an valis email" # else: #...
[ "chananias1@gmail.com" ]
chananias1@gmail.com
25c5fd4e74b248a9a197688b3f0f66449b792c87
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/homeassistant/components/devolo_home_network/config_flow.py
23ae1602d965d55f52b04b3d43b5179d950d669a
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
5,280
py
"""Config flow for devolo Home Network integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from devolo_plc_api.device import Device from devolo_plc_api.exceptions.device import DeviceNotFound import voluptuous as vol from homeassistant import c...
[ "noreply@github.com" ]
piitaya.noreply@github.com
9e35c118eeb8e36df7885fa66cc24a4df686446e
827e0c2b46043635c307eb985654afb56efa76d4
/python_stack/django/django_full_stack/LoginReg/apps/login_app/models.py
12fd6f3ee2bd86274eff75a716fa1d90f166e1b9
[]
no_license
efaro2014/Dojo-Assignments
0f51e695a99bcc830de0fa2b56cd4d0f1d32ba97
bcf5150f00ffaf408167cb9357b979dd80b4d509
refs/heads/master
2022-10-29T10:03:00.837990
2019-12-27T05:40:53
2019-12-27T05:40:53
230,378,896
0
1
null
null
null
null
UTF-8
Python
false
false
1,569
py
from django.db import models # from datetime import date import re # now = date.today().isoformat() # used for date time validations in relation to now class UserManager(models.Manager): def basic_validator(self, postData): error = {} first_name = postData['first_name'] last_name = post...
[ "efarkbg@gamil.com" ]
efarkbg@gamil.com
913aa7a2ad32626259822e0e440d680bd21a5078
30678ff7104b26961a535bc8c675c887e63ae233
/ros/src/waypoint_updater/controller_tuning.py
1ce7aa0a93d89b6728f47c36f2e448877d386131
[ "MIT" ]
permissive
jonam85/CarND-Capstone
2b560c689b51a9ed9d698598c7b31aa1577dc078
610f89b1a46660f2c76099aa97792b137246012e
refs/heads/master
2020-03-22T20:21:04.542200
2018-07-28T04:19:56
2018-07-28T04:19:56
140,592,107
0
0
null
2018-07-11T15:06:14
2018-07-11T15:06:13
null
UTF-8
Python
false
false
3,212
py
#!/usr/bin/env python import rospy from std_msgs.msg import Empty, Int32 import itertools import numpy as np from enum import Enum from waypoint_updater import WaypointUpdater class ControllerTuning(WaypointUpdater): def __init__(self): super(ControllerTuning, self).__init__() self.traffic_waypo...
[ "markus.isaksson@gmail.com" ]
markus.isaksson@gmail.com
ce95c4e50326e90750f2820f361a805f818f6e96
58409d01e1d6ac940f7c8c3e72938e1556e42767
/.env/bin/django-admin
d26792b1ffb5fc831f089f8309742cf4e5a1fc42
[]
no_license
almahdiy/hajj_hackathon_2018
f4fadb7d765c842c3d05512d21debaec3bc1b5d1
e4be7a088a6171e92a36d18e223a6e64a63a6add
refs/heads/master
2022-12-09T10:33:44.417170
2018-08-03T05:10:54
2018-08-03T05:10:54
143,181,228
0
0
null
2022-12-08T09:02:06
2018-08-01T16:25:10
Python
UTF-8
Python
false
false
406
#!/home/integration/hajj_hackathon_2018/.env/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'Django','console_scripts','django-admin' __requires__ = 'Django' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sy...
[ "alghanmi_3z@live.com" ]
alghanmi_3z@live.com
5b2dcfdf726452a7a72b1fa68fa90ec4be1b927f
3e611bfeb85bb55efd3054ce86c119a156e1cfde
/decision.py
75b92559abe3cd59fbcccae7b0969b4a43f832e5
[]
no_license
Aynas/14co12
cfebbffc41c594355cd3d2671565c7197204f085
e35997343f5e4a984b8238681c730712115296c2
refs/heads/master
2020-04-15T15:05:08.932861
2019-04-09T10:21:07
2019-04-09T10:21:07
164,778,979
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
# Classification template # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Social_Network_Ads.csv') x = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values # Splitting the dataset into the Training set and Test se...
[ "aynaskhalfe@gmail.com" ]
aynaskhalfe@gmail.com
4401d91cb37fa38397f08d62e957845a10bd0ae2
c637f89e989fea446afda8095a82749a7ea02979
/lab2/main.py
25e2a226e7df761cd0d4e339f24f874cc9439c4a
[]
no_license
Zavxoz/Image-processing
1836b6a0b6e47949452b20ac2f8e39cb1755aeea
9247e497a4ec132643549bd1051b7a013170f500
refs/heads/master
2020-08-05T01:39:48.792816
2019-11-03T19:27:17
2019-11-03T19:27:17
212,350,638
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
from processing import otsuThreshold, filtering from detect import ImageObjectDetector from PIL import Image def main(): image = Image.open('c.jpg') image.show() image = otsuThreshold(filtering(image)) image.show() detector = ImageObjectDetector(image) detector.labeling() detector.kme...
[ "artem.klimec8@gmail.com" ]
artem.klimec8@gmail.com
0b32f526bb7fe26f8b14d0f4ae3ddc90cef00588
29f9bd64230eb5f5ef476a568e648d69ab95fe2c
/Pong/pong.py
20ba7c2cf5f1b0ecf869f1a7685ad5ca03738331
[]
no_license
Navid-Mehralizadeh/Random-Python-Programs
fa2853334566c68fdeb2dcddcbbe94c62a2fd524
9cafe2922879bb819a4ba3561b48005777337336
refs/heads/main
2023-06-25T14:58:09.570020
2021-07-25T19:01:26
2021-07-25T19:01:26
369,648,784
2
0
null
null
null
null
UTF-8
Python
false
false
2,469
py
import turtle wn=turtle.Screen() wn.title("Pong by Navid Mehr") wn.bgcolor("blue") wn.setup(width=800, height=600) wn.tracer(0) #score score_a=0 score_b=0 #paddle_a paddle_a = turtle.Turtle() paddle_a.speed(0) paddle_a.shape("square") paddle_a.color("white") paddle_a.shapesize(stretch_wid=5,stre...
[ "noreply@github.com" ]
Navid-Mehralizadeh.noreply@github.com
bcfac09f499ad3ea7956d399b9bf6b62fd76c736
5ed7170b06a334f118537a356e223b1513f1a09c
/mb_projectt/wsgi.py
1944fd43e9a36f197334f6b7b9d599daa3a1daae
[]
no_license
MarquiseCassar/mb_projectt
4c3274b4bff739875d1add125e5e96259a01e293
6297f72b3afa9203fea9c296fa8a9b5167d24f47
refs/heads/master
2020-04-06T12:08:20.324510
2018-11-13T20:49:23
2018-11-13T20:49:23
157,444,456
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for mb_projectt project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "marquise.cassar@newbury.edu" ]
marquise.cassar@newbury.edu
30ce9c01e676701f1f672e2f0be4607171d8b038
cb9646da51f8ac9b656a8f9bdeaf547927628e58
/manage.py
27b6b21f276706e02904887d88390594dabb67b6
[]
no_license
irmii/hello_music
c3fac82557eece614db3023c7dcf3b1ded56aef6
f8eb365b57ab673f8505510f1e3e11b6bb849a15
refs/heads/main
2023-09-01T11:13:28.256847
2021-10-28T11:44:29
2021-10-28T11:44:29
417,206,983
0
0
null
null
null
null
UTF-8
Python
false
false
667
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', 'hello_music.settings') try: from django.core.management import execute_from_command_line except ...
[ "i.suvorova@x5.ru" ]
i.suvorova@x5.ru
c184b2800b46a011424b199d9348045f1ad8ce4d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/2872.py
923077a412d3f2d3d7f6de71b67a942c571bdc00
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
import math def isPalidrome(num): numStr = '%.12g' % num halfstrlen = len(numStr)/2 i=0 result = True while i<=halfstrlen: if numStr[i] != numStr[-1*i - 1]: result = False break i+=1 return result with open('FairSq-A-large-practice.in.txt') as f: #wi...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c8d4c025b7e8668a98d49c2cdeecf3530ebcc06e
d6a7903f018c155b56f27ac97df746469e36d1f5
/saleor_restfull_api/urls.py
0c3c773f406885323002f065c703d9aca79aa7b1
[]
no_license
danghieuthang/Saleor-gateway-api
2f3ec628a511569a3987783ee8f7d806c4a19819
5176785ed71b1fd212e692f3e72d5906e81a01e4
refs/heads/master
2023-04-10T21:24:48.236447
2021-04-19T17:13:35
2021-04-19T17:13:35
359,535,777
1
0
null
null
null
null
UTF-8
Python
false
false
371
py
from django.contrib import admin from django.urls import path from django.conf import settings from django.conf.urls import include, url # version = getattr(settings, "API_VERSION") # if version is None: # raise("API_VERSION must be config in settings") urlpatterns = [ path('admin/', admin.site.urls), url...
[ "dhthang1998" ]
dhthang1998
77df79a4b8334a9bfd29a676c8016d7d744fabce
47e63488b95d37452a3f7898ef664bb903a7c2fb
/examen/pregunta 8.py
b058c03eb1d1d58c6922b13b72d8e319594d0a42
[]
no_license
Evelyn-agv/Ejercicios.Extra-POO
3450f0778256d5d34fd941561327e93d8fd55bfd
0d92894a0c681fcc149274fceb6b528bca94d855
refs/heads/main
2023-07-30T16:52:23.227577
2021-09-12T04:07:05
2021-09-12T04:07:05
405,534,308
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
class Cadena: def __init__(self, cadena): self.cadena= cadena self.Minuscula= ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q", "r","s","t","u","v","w","x","y","z"] self.Mayuscula= ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K"...
[ "noreply@github.com" ]
Evelyn-agv.noreply@github.com
8481a49249d0f57e1d71117a3d781afc8ab1dc6f
6ac0aeea8229c4e2c7a041e85c3afeeb106c6b01
/string_methods_and_operators.py
fc95a7167f707e4222b807f54446b9ad4c8ed9dd
[]
no_license
waiteb15/py3intro
325dafaaa642052280d6c050eacf8b406b40e01d
68b30f147e7408220490a46d3e595acd60513e9e
refs/heads/master
2020-03-27T10:50:25.928836
2019-02-28T21:47:11
2019-02-28T21:47:11
146,448,412
1
0
null
null
null
null
UTF-8
Python
false
false
963
py
#!/usr/bin/env python movie_star = "Tommy Trotter" print(movie_star) print(movie_star.upper()) print(movie_star.count('t')) print(movie_star.count('Tom')) print(len(movie_star)) print(type(movie_star)) print(movie_star.count('T') + movie_star.count('t')) print(movie_star.lower().count('t')) print(movie_star.startswi...
[ "waiteb15@gmail.com" ]
waiteb15@gmail.com
d2cb920809a7dd60600b739ba7c2ee2357b0a795
d7cf062051ac79cc97111630521861f114762b01
/lib/quantity_code/tools/distribution_collector.py
4272e58091801a2e95ca7bad879fa9e37f1fdc36
[]
no_license
lswzjuer/tensorflow-refmodel
abdd0c48ea6264b9919f18c05b94e67809e1b6cd
d34946d002ac22bb266b932fc5c3911b9ebb6eef
refs/heads/master
2022-01-23T17:56:36.119132
2019-07-17T09:04:37
2019-07-17T09:04:37
197,353,921
3
0
null
null
null
null
UTF-8
Python
false
false
5,020
py
import math import numpy as np import multiprocessing class DistributionCollector: def __init__(self, tensor_list, interval_num=2048, statistic=1, worker_num=1, debug=False): self._tensor_list = tensor_list self....
[ "liusongwei@fabu.ai" ]
liusongwei@fabu.ai
d146fb94afc09c3251f385bfc647c051d76c9618
cb4766dff799a2a094014badcaa6a2da50dfc269
/app/forms.py
45124d90d7f3a5a966aab1bf675a3aaf6b042ffb
[]
no_license
kiranpalkathait/GetAGrip
0c421c67b8ad28eca639fed084d449ec37aaa9f6
cc7bd44995cffd4f6060ebf5b17e6109c531b569
refs/heads/master
2020-12-25T06:23:25.554636
2013-11-04T06:54:23
2013-11-04T06:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
908
py
from flask.ext.wtf import Form, TextField, BooleanField, IntegerField from flask.ext.wtf import Required, Email class LoginForm(Form): openid = TextField('openid', validators = [Required()]) remember_me = BooleanField('remember_me', default = False) class ContactForm(Form): name = TextField('name', valida...
[ "jonbodian@Jonathan-Bodians-MacBook-Pro.local" ]
jonbodian@Jonathan-Bodians-MacBook-Pro.local
e43cb350478d9a1c56e8abf8cd6ab9606f6dea55
3f19365f3e9ce48acb8b6638e4a1161fa025aebd
/docs/conf.py
a25c08094c272cbb4f51fbac6fce42dcf68ea79e
[ "BSD-3-Clause" ]
permissive
Durburz/eMonitor
9f57c51ecf4d68a17803b9fd630faf6d0ec5b4cd
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
refs/heads/master
2021-09-28T23:37:05.778353
2018-11-21T13:06:17
2018-11-21T13:06:17
120,184,604
0
0
NOASSERTION
2018-11-21T12:57:19
2018-02-04T12:52:44
Python
UTF-8
Python
false
false
11,366
py
# -*- coding: utf-8 -*- # # eMonitor documentation build configuration file, created by # sphinx-quickstart on Wed Dec 03 17:00:50 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
[ "arne@seifert-online.net" ]
arne@seifert-online.net
0d1603f4daf6cbf9be08b640866ec0f3d073cc04
ae428b0d9d441dc186aa3409845165cb854279e4
/emaillove/__init__.py
6b2f541619aa63c81e914a8db1fe45fcfb9d39a0
[ "MIT" ]
permissive
ryanrdetzel/EmailLove
afccb1eee5d1afbbe9ebfbf47884855d367dd7e8
643a1e06f68fbb5dc28da1c3fce76faa7f423e78
refs/heads/master
2021-01-13T02:27:36.179028
2012-12-01T11:57:00
2012-12-01T11:57:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
from emaillove.exceptions import NoCurrentProvider class EmailLove: def __init__(self): self.providers = [] self.current_provider = None def get_current_provider(self): if self.current_provider is None: if len(self.providers) == 1: self.current_provider = s...
[ "ryan.detzel@gmail.com" ]
ryan.detzel@gmail.com
d5ce4fa8bae2c918ea1118bd4c7635a0740f3f93
c30cca59b50c65e31ddf3cf1f7d01d1249fefd78
/ip.py
e6fefd33f25247caf7da9140b60d304690371a8a
[]
no_license
BarryAllen001/BarryTelegramBot
149adabae0d699da5ad74cb22487f0d4add0cbd2
ab31713ac4b0a2e27dd747e19de8e81cf6631579
refs/heads/main
2023-03-11T20:59:29.600420
2021-03-03T22:39:48
2021-03-03T22:39:48
344,283,237
3
0
null
null
null
null
UTF-8
Python
false
false
597
py
import requests def IP(message): request = requests.get('http://ip-api.com/json/' + message.text.replace( 'https://', '').replace('http://', '').replace('@nomedoseubot', '').replace('/ip ', '')).json() if 'message' not in request: return f''' *IP: {request.get('query')} Pais: {request.get('...
[ "noreply@github.com" ]
BarryAllen001.noreply@github.com
b6dc77aaa6a868ae685b9c4ad26ed007c8937345
3ac0a169aa2a123e164f7434281bc9dd6373d341
/constructRectangle.py
cbd54a3a9edba9faf918605bfbe63caf2bf84d8e
[]
no_license
sfeng77/myleetcode
02a028b5ca5a0354e99b8fb758883902a768f410
a2841fdb624548fdc6ef430e23ca46f3300e0558
refs/heads/master
2021-01-23T02:06:37.569936
2017-04-21T20:31:06
2017-04-21T20:31:06
85,967,955
1
0
null
null
null
null
UTF-8
Python
false
false
284
py
class Solution(object): def constructRectangle(self, area): """ :type area: int :rtype: List[int] """ from math import sqrt for w in range(int(sqrt(area)), 0, -1): if area % w == 0: return [area / w, w]
[ "sfeng77@gmail.com" ]
sfeng77@gmail.com
16f7b6884be1d60199b52593c50285a3d151b167
3162404355ee85d26091e26f9559d632eb8aeff0
/algorithms/binary search tree level order.py
4d51751f90ab8276f311b372fecea8214eeda9b0
[]
no_license
HopeCheung/leetcode
375f017f4f192ec28b7b15cfd12ecdae06360bb0
2418b3eed1ab85cfd9cac039c6cfdc1a349ad345
refs/heads/master
2020-04-15T00:51:36.153056
2019-02-20T16:00:44
2019-02-20T16:00:44
164,254,396
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def levelOrder(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ if root == None:...
[ "568038810@qq.com" ]
568038810@qq.com
e6ac69914d43b217ab8558fa8f5404bcd9625b7a
3ec46ec9ded40c7072de5df6475bc99932f8aa26
/script/helper/extractor.py
5ffd582348862c2399ab2df9242e7afca1c30320
[]
no_license
iTrauco/READMEClassifier
d4e697ad44e7e156a9fcb455aa127c072368cb1e
090cc4c58377de9536bfbcaff6cb8d8205dd934e
refs/heads/master
2020-12-30T04:59:21.169896
2019-11-15T09:12:45
2019-11-15T09:12:45
238,868,321
1
0
null
2020-02-07T07:40:26
2020-02-07T07:40:25
null
UTF-8
Python
false
false
22,258
py
import logging from script.helper.helper2 import * import sqlite3 from sqlite3 import Error import sys import codecs import pandas from pandas import DataFrame import os import shutil def merge_classes_1_and_2(code_string): code_string = code_string.replace('2','1') code_csv = ','.join([d for d in code_string]...
[ "artha.prana@gmail.com" ]
artha.prana@gmail.com
9154aa2b133d48042c380c3ba3ae1741743c911e
d8e0586e54fec1b8717caca960a565208185537d
/linecook/recipes/python.py
e1c5a1dc65d039ccb3f9d04c6a4258a8a54f212d
[ "BSD-3-Clause" ]
permissive
tonysyu/linecook
2c6443e7cdeaf07e5653bd158fdcdc85d7ef59b9
fa7928347bb103d2ea1b25baefc23e5a11ff5d6c
refs/heads/master
2021-06-09T22:09:43.126376
2019-07-19T01:39:42
2019-07-19T01:39:42
134,798,271
0
0
NOASSERTION
2019-07-19T01:39:43
2018-05-25T03:24:41
Python
UTF-8
Python
false
false
951
py
# -*- coding: utf-8 -*- """ Example of linecook recipe for python code. This is a toy example: Actual syntax highlighting isn't possible since linecook doesn't (easily) store state between different lines, which prevents proper highlighting of things like multi-line strings. """ from __future__ import unicode_literals...
[ "tsyu80@gmail.com" ]
tsyu80@gmail.com
e54f4271094ab99694db7a64bcbaa40a2911fab0
8838d0c162be464ee46c3f8ef1b6c2b35c31aef1
/report/report_benef_inter.py
356c48263e0e2ca1011d49a1ae6eb58a5ba084da
[]
no_license
crakkk/mcisogem_isa
d152c7ef8f459b728eb60fbbba3ea05169a49900
25281e7ffc6fe48f82c33477edf9501adb35b634
refs/heads/master
2020-12-03T20:15:34.356743
2016-09-10T21:27:42
2016-09-10T21:27:42
67,897,054
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "armand.kablan@smile.ci" ]
armand.kablan@smile.ci
a13f11293b8781807d9414d5c6d272a2241cc593
71ef64cc45c3e6ac94d694f0d5ec4a5f2f52015c
/others/char_count.py
9cc9858964cfde79d6f938e429e10757694361dc
[]
no_license
joyc/python-examples
a6dfcf53ba26f2002e7d97bb22be619702617e6e
ee02896cc8c900dc8879c8099a0f71d021a3aa98
refs/heads/master
2020-07-01T19:19:10.873250
2019-03-18T15:56:43
2019-03-18T15:56:43
74,264,555
1
0
null
null
null
null
UTF-8
Python
false
false
160
py
mystring = 'hello' char_count = dict() for char in mystring: count = char_count.get(char, 0) count += 1 char_count[char] = count print char_count
[ "pvh@sanbi.ac.za" ]
pvh@sanbi.ac.za
02014af7fa8fae74ccbdbb56d8e4eaceebaacc21
0e3e1644bfc5b58977484ae88a75cac6b64f0ced
/scripts/optimizeBtagEff.py
25b0330294fa56d201b3668df159b94261820e86
[]
no_license
mdunser/topskim
c05f998744acdb6cbde01489e40b7543522bf2e5
a71ea05e2feabf5fffcb28a3de0ca44a5526efe4
refs/heads/marc_dev
2020-04-30T02:03:08.740389
2019-10-25T15:53:39
2019-10-25T15:53:39
176,547,551
0
0
null
2020-01-08T10:56:17
2019-03-19T15:49:17
Python
UTF-8
Python
false
false
7,144
py
import ROOT import sys import numpy as np from optimizeLeptonIsolation import canvasHeader def getEfficiency(url,flavList,ptRange): t=ROOT.TChain('tree') t.AddFile(url) baseHistos={'csv' : ROOT.TH1F('csv',';CSV;Jets',50,0,1), 'csvdisc' : ROOT.TH1F('csv',';CSV;Jets',20,0,1), ...
[ "psilva@cern.ch" ]
psilva@cern.ch
531af9c3a0cdf5bc80b86783dc49f62e0cfb097b
f8a3662d17abc8f54dc563faafabfc57e7f414de
/13-handles-json-file-with-pandas/analysis.py
3858f6abf09d18e0b9499a11c5eceebd383d2b27
[]
no_license
zengfhui/practice
d5f6f5c2da4dd60c549e510476ee7e984280c1e6
896d8ed15819deee0117da261382ebf5afdb75a6
refs/heads/master
2021-08-19T08:39:58.245583
2017-11-25T15:01:34
2017-11-25T15:01:34
109,463,260
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import json import pandas as pd from pandas import Series,DataFrame def analysis(file,user_id): times = 0 minutes = 0 try: df = pd.read_json(file) df1 = df[df['user_id'] == user_id] times = df1['minutes'].count() minutes = df1['minutes'].sum() except: times = 0 minutes = 0 return times,minutes
[ "1115342730@qq.com" ]
1115342730@qq.com
811b214c40bcecffe5cf15cae4e7d2bd376c6213
fb663edbb89a72152b416d4a67352fa750f2d00b
/5/py14.py
149ab46cb6e525e7cb6f5c892d7ebbb8e08e4a47
[]
no_license
eep0x10/Pyton-Basics
1260396a395b47f6c6778e604a4ec614b6dd4381
607db6349854239702c64078c8b4892af7d75fcb
refs/heads/master
2022-02-22T21:11:53.572887
2019-08-26T18:08:36
2019-08-26T18:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
""" Quadrado mágico. Um quadrado mágico é aquele dividido em linhas e colunas, com um número em cada posição e no qual a soma das linhas, colunas e diagonais é a mesma. Por exemplo, veja um quadrado mágico de lado 3, com números de 1 a 9: 8 3 4 1 5 9 6 7 2 Elabore uma função que identifica e mo...
[ "ericepaulo@hotmail.com" ]
ericepaulo@hotmail.com
c301c003b252af8aab7125ac03bb7faed2de4675
0fc1bc9f5cf22c99cd5c73cfeaa986f5bd454541
/djangoProject6/wiki/urls.py
a5280cedbcc3eec44b75e8552d3e079a586fade4
[]
no_license
sahil1-hue/wiki-v2
bff178417f844d8879d6fa07d5c64d7e3e20ee18
e68187a8d43a865db7ab7b709af9cd067e1a6d50
refs/heads/main
2023-04-01T18:11:49.490361
2021-04-05T15:46:46
2021-04-05T15:46:46
354,885,849
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
from django.urls import path from .views import* urlpatterns = [ path('', wikiSearch,name="wikiHome"), ]
[ "79180872+sahil1-hue@users.noreply.github.com" ]
79180872+sahil1-hue@users.noreply.github.com
412510d4ed717d689c2bceec78aa82ed7e0d9782
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/tests/urls.py
b3d291b5731dc752477c54b07af48367fb2543bd
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
79
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/tests/urls.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
0c0bfb0727717ecdc27c2176203461c375bd6521
019c050973129b153ae0c026e05e1c29b4891d34
/bravo/tests/test_region.py
ffdcbda40938a6b7fe985e7c5278e3b8230fa1c8
[ "MIT" ]
permissive
justinnoah/bravo
c78f0d218c50af6a78fb30abb0f8a709c9edcec6
29c70ece54ac249584cba8279504b1b3a1a00a56
refs/heads/master
2021-01-15T20:29:40.760763
2013-01-02T07:35:55
2013-01-02T07:35:55
6,447,010
0
0
NOASSERTION
2020-01-28T21:17:23
2012-10-29T20:23:24
Python
UTF-8
Python
false
false
480
py
from unittest import TestCase from tempfile import NamedTemporaryFile from twisted.python.filepath import FilePath from bravo.region import Region class TestRegion(TestCase): def setUp(self): self.temp = NamedTemporaryFile() self.fp = FilePath(self.temp.name) self.region = Region(self.f...
[ "MostAwesomeDude@gmail.com" ]
MostAwesomeDude@gmail.com
cb32a6f650e8ab6177d30e164cd632cff236167e
5dccf7ec817ee272694d8cda837ff4a781e31549
/Fraction-Decimal_Conversion.py
a535a1179ebf69d565c90af8461132dcee54f41c
[]
no_license
lvsciagin/M-Soma-Python-Bootcamp
f9fa4d2c853ff127ac32e17d6e283a930171c326
d830772c6806adf75fcc61f5ce27ef049f19c075
refs/heads/master
2021-06-05T01:13:19.103378
2020-05-29T12:37:52
2020-05-29T12:37:52
94,984,253
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
for i in range(2, 10): print ("1/" + str(i) + " = " + str(1.0/i))
[ "lvsciagin@gmail.com" ]
lvsciagin@gmail.com
7dd2bc8ccbbff0da11a6f065e1b1f51172604fa1
c13cbf814ee1ba55aa59ea888f0ca5dcbd80b595
/ecoSys(complete).spec
1124b97f548a98415b00cfdfe225a8a4a7e6dafc
[]
no_license
donganhxauxi/ecoSys
23bdc1c44d826802603bd82bfdd0856bbe61883b
b9eabee261ed42a2f3f1e174cbf44bb892e61b33
refs/heads/main
2023-03-18T12:01:28.322116
2021-03-04T02:00:45
2021-03-04T02:00:45
344,319,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['ecoSys(complete).py'], pathex=['C:\\Users\\ASUS\\Desktop\\Ecosys'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], ...
[ "noreply@github.com" ]
donganhxauxi.noreply@github.com
3e1f44de3ff12e43a9e423fa4fb1515a008a091a
a7a44019214dc7bea530a8c738b9a0901aa5d965
/DjangoPython/app/firstapp/views.py
7041eebd0b541c09054ce5382a313c86af82b485
[]
no_license
loretavila1/djangoAPI
574a1abc3dab0313457818e5e9cda205ebc66cad
b30e918d39941bc33bb1cafd2dd301537d6bfb97
refs/heads/main
2023-04-12T16:15:13.259775
2021-04-28T19:07:39
2021-04-28T19:07:39
362,538,943
0
0
null
null
null
null
UTF-8
Python
false
false
8,583
py
# Create your views here. #IMPORT models #IMPORT LIBRARIRES/FUNCTIONS from django.shortcuts import render , HttpResponse from django.http import JsonResponse import json #IMPORT DJANGO PASSWORD HASH GENERATOR AND COMPARE from django.contrib.auth.hashers import make_password, check_password from .models import Cellphon...
[ "loret.avila0308@gmail.com" ]
loret.avila0308@gmail.com
392de31fc5ee9c7578c078ae0f7d99e76cdbc3b1
9f4b2c058f2c56e2c27004ee9446bd30c3579021
/info/utils.py
e78bab87054c52706adfb6c393ce004a4f4f6874
[ "MIT" ]
permissive
VoltK/COVID19-HelpLine
55806a8e4b80bcaaeb0ccbca08346fc58f299a38
1ed76740dfde49cc5832a41a7e96b8df917d9b23
refs/heads/master
2021-03-24T06:31:07.293456
2020-03-16T22:39:29
2020-03-16T22:39:29
247,526,017
0
0
null
2020-03-15T19:16:52
2020-03-15T18:25:42
Python
UTF-8
Python
false
false
2,070
py
import pandas as pd from datetime import datetime, timedelta from urllib.error import HTTPError import numpy as np def load_csv(): date = datetime.now().strftime("%m-%d-%Y") counter = 1 while True: try: url = f'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid...
[ "khud44@icloud.com" ]
khud44@icloud.com
c21d31b8f33523c994753df77d80db37a0c76812
d8d9c24d61a90b338dfc78ffe098deb5209aa9fc
/core/basics/cards.py
b905eac587ff3b9f1ca799bc9566b5d186cf41f8
[ "MIT" ]
permissive
Maaack/ClusterBuster
8430d934c3f775fec570965fa54f10e39a8bdfd5
6e13cce6f8c0e622dfc087bffc4379adcfbc84f2
refs/heads/master
2020-03-25T09:12:59.061889
2019-04-29T01:13:42
2019-04-29T01:13:42
143,654,015
1
0
null
2019-04-29T01:13:43
2018-08-05T23:09:05
Python
UTF-8
Python
false
false
3,054
py
import random from abc import ABC, abstractmethod from .generic import ObjectList class Card(object): all = [] def __init__(self, value=None): self.value = value if value else "" self.id = len(self.all) + 1 self.all.append(self) def __eq__(self, other): if not isinstance(...
[ "marek.belski@gmail.com" ]
marek.belski@gmail.com
4352e7dcc76837ca9b89c65f62a1d42c6bbf2315
6d27bc7c53cbbad8ee65d833c7736547427e3034
/01-webotron/webotron/__init__.py
893f8d56323034ba7d8f2cf6f7c75ab7da295219
[]
no_license
perspicacity-net/automating-aws-with-python
9fe40eea8e7b9dd8678040607af8f686f9db7bcb
b6f4224bed176cbf95ae194b067da800549d5867
refs/heads/master
2023-02-20T13:29:42.170223
2022-01-21T20:30:22
2022-01-21T20:30:22
220,298,932
0
0
null
2023-02-10T23:11:54
2019-11-07T18:03:41
Python
UTF-8
Python
false
false
59
py
"""Webotron script and modules. Deploy websites to S3."""
[ "57500925+perspicacity-net@users.noreply.github.com" ]
57500925+perspicacity-net@users.noreply.github.com
27d35d6be0b6d0eb60aed7f70b25ad30517b0e78
a8e47b1c682d89708f2ab7b21128aa30a8d1e031
/pages/base_page.py
b30af9e0641bdf01bc42a53d6e77652b689fe876
[]
no_license
snlnrush/stepik-final-project-test-automation
77df29135c2503825acff3d87182a3ea3dd4270a
f4f68742a117027017e7309daf8245923a7ca510
refs/heads/main
2023-06-27T19:45:36.261897
2021-07-28T07:15:37
2021-07-28T07:15:37
380,244,290
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
import math from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from ....
[ "cross-fire@list.ru" ]
cross-fire@list.ru
0514e1e6255a5659438028fdc92c7b2a42d06e55
1d890872181eb88a8e5e3e8e19baa633dd6a06ec
/tools/fetch_allowed_addons.py
065e490261112e7bc663c7a54f947236a297ff09
[]
no_license
JeremyRand/tor-browser-build
afc45eee15c390549f3bd036cee5108521af6ddf
41d0330f0741d6a78fcea050352f03002ca8520e
refs/heads/master
2023-03-04T10:26:39.539400
2020-12-10T18:30:36
2020-12-10T18:30:36
320,384,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
#!/usr/bin/env python3 import urllib.request import json import base64 import sys def fetch(x): with urllib.request.urlopen(x) as response: return response.read() def find_addon(addons, addon_id): results = addons['results'] for x in results: addon = x['addon'] if addon['guid'] == addon_id: r...
[ "acat@torproject.org" ]
acat@torproject.org
381c8951f2181d89b056a8405f2b0d19698cbd03
a08d9599da8efdcf7992551851d85f76119d384d
/main.py
f2a20f7f3ee6ed50201f6f296209e2088bb728e4
[]
no_license
samloik/yandex
87afb5d5f21d0ce1f298beb0ca2f0dc826bccec3
98e10fa8fc5c03bbd8b3b467e299f16a6f22ab56
refs/heads/master
2023-08-27T06:17:24.568564
2021-10-25T00:39:17
2021-10-25T00:39:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
import sys Rn = { } oSum = {} def find_min_R(min, max): if min < max: if Rn[min] < Rn[max]: if Rn[max-1] < Rn[max]: find_min_R(min, max - 1) oSum[max] = oSum[max-1] + 500 return elif Rn[max-1] == Rn[max]: find_min_R(min, max-1) oSum[max] = oSum[max-1] return else: find_min_R...
[ "alexey.loik@mail.ru" ]
alexey.loik@mail.ru
18f08b116bda4773773bd7d94ab7eabefb2bdc0f
647366e0bdaa79972731a87fe7da58a4af2703d7
/BlackScreen.py
85207b3bfbb3e23ebad854064db395f8da230e00
[]
no_license
chandhan-j/Invisible-cloak
fe5def0420e62dacd13578f1e0eba4a878738395
9f4db4ebe3952f93204891e61e43973f478cd5e6
refs/heads/main
2023-04-28T12:26:26.159279
2021-05-25T23:24:17
2021-05-25T23:24:17
370,852,060
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
import cv2 import numpy as np video = cv2.VideoCapture(0) image = cv2.imread("Bangkok.jpg") while True: ret, frame = video.read() print(frame) frame = cv2.resize(frame, (640, 480)) image = cv2.resize(image, (640, 480)) u_black = np.array([104, 153, 70]) l...
[ "noreply@github.com" ]
chandhan-j.noreply@github.com
7f6e52c7e4d26a352c634c83d6f26fa0ddad4af4
c43677ed82377d923d501554d431ab573a6e811b
/Main/AlphaZero/LabelGenerator.py
ef2156248efbf390e388e00d38a892f113266544
[ "MIT" ]
permissive
FreddeFrallan/AlphaHero
cb0b7dcaf34b3f4fd4a912362fcd451592fdf1ea
bda8f78424294a4f52359b6591296abb229611ae
refs/heads/master
2020-05-31T09:06:18.699889
2020-01-21T10:15:36
2020-01-21T10:15:36
190,205,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import numpy as np from Main.Environments.Connect4 import Constants, GetPossibleActions, Utils # Instead of recursively returning elements we just append them to an global list def generateLabels(root): # validateTree(root) # return Utils.state2ConvState(root.state, root.currentPlayer), _createPolicyLa...
[ "freddeFc@gmail.com" ]
freddeFc@gmail.com
eceecb14e8b93521caabd4234411b43e7ff7d170
9e8e37388c81726509085e6f59fd61ca4c383d70
/Server/Maze_Server.py
fcfb97b404411857d71b2f2c1f785af39aa2589c
[]
no_license
JPeck567/MazeScape
ed2a82e015a28d28b8ca72fb30d20a02e09d4cba
706d6d668a8814d188259f9f5ce41d68c601d8e6
refs/heads/main
2023-03-10T18:04:33.086473
2021-02-24T20:05:36
2021-02-24T20:05:36
342,018,435
0
0
null
null
null
null
UTF-8
Python
false
false
17,551
py
from PodSixNet.Channel import Channel from PodSixNet.Server import Server from random import randint from time import sleep import MazeGen import Scoring # send method of class edited so JSON serialised, not rencode # json doesnt recognise tuples, so will sends a lists. need to convert at other end, client or server. ...
[ "61948082+JPeck567@users.noreply.github.com" ]
61948082+JPeck567@users.noreply.github.com
660173d6a93850bc9e023c7d494c5a4ba9a4ab8d
49fa3231ed1811acbd967d95db6f0a8a312ab3c5
/hashes.py
227c5c57570b466ab977ef04728f064cc162ab7f
[]
no_license
smashery/cryptopals-challenges
6d7830bd410b9ca53666a022054c62b299c0a973
3597e0373c521d6b31a690997afc5f7b92188071
refs/heads/master
2021-01-19T16:03:20.145579
2018-01-01T11:23:53
2018-01-01T11:24:21
88,242,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
from sha1 import * from decode_xor import * def hmac_sha1(key, message): return hmac(key, message, sha1) def hmac(key, message, hash_func): blocksize = 64 if len(key) > blocksize: key = hash_func(key) # keys longer than blocksize are shortened if len(key) < blocksize: # keys shorter th...
[ "smashery@gmail.com" ]
smashery@gmail.com
c64643145d446c4d1692c9124c6e5fc0de78c141
5e44aa03dbb1aaac354473189f024e8dbf701536
/Neural_Network/Neural_Network_test.py
d260b5bf3631bb841a1f343b6dea4cb4abc2a3f3
[]
no_license
zwang17/Machine-Learning
b2210f33c0788efa338ccddf819b82b22acf5405
e553bc0513ddf2b1dd847ec5c7e0296749a2d893
refs/heads/master
2020-12-30T18:02:11.011185
2017-08-27T15:54:17
2017-08-27T15:54:17
90,938,183
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
import Neural_Network as NN import sys sys.path.append('D:\Machine Learning\Machine-Learning\Random_Data_Generator') import RandGen import numpy as np Generator = RandGen.RandomDataGenerator() InputData = Generator.GenerateLinearComboData(1000,[1,2,3,4],0.01,normalNoise=True) X = InputData[:,0:4] y = InputData[:,4:] ...
[ "563726573@qq.com" ]
563726573@qq.com
9572daafd1e010b415fefc2d1909dc9bd2d663a9
9786e9f30f576063556b8065e7896606519481f0
/projects/puerto_rico_stoch/fragility_curves/select_fragility_curves_ms.py
22def2da06737dfedc9a5e541f9145fdb5cce520
[]
no_license
aranyavenkatesh/temoatools
ed13e279f90bff7a1feb9f429bccc6e9d7c2b99c
7c62b60152cc1bf5302c158b5b7b134762225da5
refs/heads/master
2022-11-10T00:19:18.480170
2020-07-01T20:36:45
2020-07-01T20:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,714
py
from __future__ import print_function import numpy as np import matplotlib.pyplot as plt import seaborn as sns import temoatools as tt # =============================================================================# # Select Fragility Curves # ===========================================================================...
[ "jab6ft@virginia.edu" ]
jab6ft@virginia.edu
f2ab771741155f1f626cdaac491444998d99371e
ffe350e7a2443d04521b9bdf80634beab06ff4e9
/ndmg/preproc/rescale_bvec.py
23be2121bb1e52bfff52855de14f4dc1c3317d01
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
davclark/ndmg
487af5f8799763144c3eefe9d1e505a5086fa751
2474f33ea589fd36d89e0515f5b25b718242300b
refs/heads/master
2021-01-13T03:45:32.342021
2016-12-16T22:44:35
2016-12-16T22:44:35
77,243,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
#!/usr/bin/env python # Copyright 2014 Open Connectome Project (http://openconnecto.me) # # 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 # #...
[ "gkiar07@gmail.com" ]
gkiar07@gmail.com
d809f07ad8fe1a11816669658b638526b0eb97d9
ab72bf3ea0e15f8b30a88d20babf3de32e4f8aca
/octoprint_lui/test/util_firmware_tests.py
8843beac74bc2d2e67b159f86bdf878110964096
[]
no_license
bmelim/OctoPrint-LUI
ca883174618693bf4885e839750834313fdd200d
fd4d6b1269204b7c0db35762d26ebb1b9d429dd3
refs/heads/master
2021-10-29T02:11:37.522090
2019-04-25T08:41:09
2019-04-25T08:41:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
from __future__ import absolute_import import unittest import os from octoprint_lui.util.firmware import FirmwareUpdateUtility class util_firmware_tests(unittest.TestCase): data_folder = r'C:\Users\erikh\AppData\Roaming\OctoPrint\data\lui' def get_object(self): return FirmwareUpdateUtility(self.data...
[ "erikheidstra@live.nl" ]
erikheidstra@live.nl
e53c11eecb38b9c7028997c4e7267979c021e357
d0b2b287f5295f93535bf75f562df4aaf16da7fa
/image_getter.py
6bf644fabcd4d3dbbc0c476358e43ae6ccfd17bf
[]
no_license
PolyProgrammist/ircman
96e4d1cc433a0ec77630e037c11d276716f4ffbe
cbc2bb8b71a85a2e4ba7c8befad302ddf122b908
refs/heads/master
2020-04-10T02:30:09.380902
2018-12-16T05:30:58
2018-12-16T05:30:58
160,745,918
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
from download_file import download from jpg2ascii import ascii_from_image def get_correct_image_url(urls, file_name): for url in urls: try: download(url, file_name) ascii_from_image(file_name, 50) return url except: continue
[ "pechkin350@gmail.com" ]
pechkin350@gmail.com
47edb1af1f66074b0d6d738f2559031ba8fcedec
22c45c7c5de76818378e562af0f1462586b8dd65
/catkin_ws/build/catkin_generated/installspace/_setup_util.py
c2b8637287ceef9551e8771ef5c9f95d7b19b8e2
[]
no_license
dikayudha90/QMLLeaning
5133cc9267e26cee17b30bf6e659cc021ac3d30c
10c380528b720a003a47bd99685885d39ffeda86
refs/heads/master
2020-04-03T17:04:17.025097
2018-11-02T16:55:23
2018-11-02T16:55:23
155,430,540
0
0
null
null
null
null
UTF-8
Python
false
false
12,460
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistrib...
[ "andika.yudha@ukaea.uk" ]
andika.yudha@ukaea.uk
0c150c9a284c5be68997505461cf2a4b03bcc857
d8001c18ecb699e7708a34f0f3bf278e154f6177
/program69.py
d8762b1647282f347942c5a205b4b703e71454a8
[]
no_license
Juvar1/microstrip-calc-1
b4da8bf8a0f834e2483dd7154f87bcd412f021ca
0415fe9ca136a8dc6a3706be031606f8a3c4da90
refs/heads/master
2020-07-16T22:30:16.007492
2019-09-06T15:02:43
2019-09-06T15:02:43
205,882,018
0
0
null
null
null
null
UTF-8
Python
false
false
16,469
py
#programs from late 60' #https://apps.dtic.mil/dtic/tr/fulltext/u2/708720.pdf #Green's function: #https://apps.dtic.mil/dtic/tr/fulltext/u2/a117364.pdf #IBM System 360 Scientific Routine Package #http://www.ebyte.it/library/codesnippets/IBM_System360_SSP.html import math DIST=[0,[0]*101,[0]*101] XINT=0 #global vari...
[ "noreply@github.com" ]
Juvar1.noreply@github.com
f3cacfe1a5ef7e12b283dc374f680866fd74265a
25a77144c1f08c28cc03074a3b163294ac6319d1
/myvenv/bin/rst2pseudoxml.py
2812616640a85ba167892c06e18e8fcb1061a4bf
[]
no_license
silvablack/kivy-googlemaps
e0c6acaa8ace9487589db5acf79824fe2cf934a7
758606b0d1110d8538f9e28a03177d2319f17a5e
refs/heads/master
2021-01-01T15:33:08.903444
2017-07-18T20:11:23
2017-07-18T20:11:23
97,639,197
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
#!/media/paulosilva/DATA/dev/python/kivy/iapy/myvenv/bin/python3.5 # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing pseudo-XML. """ try: ...
[ "paulosilvadev3@gmail.com" ]
paulosilvadev3@gmail.com
84b9021d08a9de3bff0f7452db343d6f9eff2737
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractFeelinthedarkWordpressCom.py
9249f38f20a8d6c421a2fdeb188b451d178b04c1
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
566
py
def extractFeelinthedarkWordpressCom(item): ''' Parser for 'feelinthedark.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', 'translated'), ...
[ "something@fake-url.com" ]
something@fake-url.com
4c37f8756787f66c89714abf199eafe4472ea8da
a3cbbc30ffa09b1261cba23b39c7b89610ea0882
/代码/BinaryTree/isPostArray.py
d02be8bc7fefb6bec4bc52ad7b569cb7b6c06366
[]
no_license
SemieZX/InterviewBook
239594b94c20f8b5c4b7f55c0f2101f387f28472
e9feda57305ce4b4614ec5c8ab339c41de95a40c
refs/heads/master
2020-03-23T07:19:55.594395
2018-07-24T04:07:27
2018-07-24T04:07:27
141,264,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
#判断数组是不是搜索二叉树的后序遍历结果 def isPostArray(arr): if arr == None or len(arr) == 0: return False return isPost(arr,0,len(arr)-1) def isPost(arr,start,end): if start == end: return True less = -1 more = end for i in range(start,end): if arr[i] < arr[end]: less = i ...
[ "zx18846031359@aliyun.com" ]
zx18846031359@aliyun.com
3a435ff99ea88c70ffbd1a4bd2d9f55e2dda7251
a2f399e2d37cc0db6fe5224658c74273cf93a329
/L2/file_read/file_read1.py
4934796114fdb5d07b51c1fb48ca42779f105a2c
[]
no_license
LuLuuD/Data_Analysis_with_Python
aa282cc192060f899b60525dc0e8b60fb1104f7a
d6ed51ab91a945710b5d58932e492f7a5205ebab
refs/heads/master
2021-05-17T00:06:49.229306
2020-03-27T09:26:17
2020-03-27T09:26:17
250,528,827
1
0
null
2020-03-27T12:29:37
2020-03-27T12:29:36
null
UTF-8
Python
false
false
330
py
# 读取imagenet的分类ID说明 # 读文件 f = open('imagenet_class.csv') text = f.read() #print(text) # 读文件,按行来读取 f = open('imagenet_class.csv') lines = f.readlines() #print(lines) print(len(lines)) print(lines[0]) # 写文件 f = open('temp.txt', 'w') f.write('hello world!') f.close()
[ "noreply@github.com" ]
LuLuuD.noreply@github.com
a75b0a6d1618d4a26675106f1fa18f43587b5694
0df028c081ede62e6ac89cac305a778d0cc69906
/Week_08/146.py
0170797cac0777e91175035a0a18302fe9ceefa6
[]
no_license
szwxj/algorithm014-algorithm014
583b86f0ce37292829bef2efa38c11379f16da22
ba2a51c9122765f696e62a22244db7e57eeb25d1
refs/heads/master
2023-01-07T04:58:41.319823
2020-10-28T05:01:12
2020-10-28T05:01:12
287,697,125
0
0
null
2020-08-15T07:12:20
2020-08-15T07:12:20
null
UTF-8
Python
false
false
2,436
py
class ListNode: #双向链表 def __init__(self,key = None, value = None): self.key = key self.value = value self.prev = None self.next = None class LRUCache: #最近最少使用缓存,采用字典+双向链表 def __init__(self, capacity: int): self.capacity = capacity self.hashmap = {} ...
[ "13501586491@139.com" ]
13501586491@139.com
3fc9e53a229181c9eb2abbbc34e1a1cf657fd95d
01ef56390e9687385df29aede327e6e8ce0c5434
/jxty/__init__.py
7ca58a6e54312e5540426ede46fbb0138c8f8266
[]
no_license
DitS-03/jxty
f8bcb565ddeace6f0dc8cebfccbc9da11fe8c84e
b4282d9afcb5c3702efa8b5a41da7fbed7bbe355
refs/heads/master
2023-04-21T01:25:14.604281
2021-05-05T12:52:35
2021-05-05T12:52:35
364,571,730
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .jxty import load, dump
[ "dits.3rd@gmail.com" ]
dits.3rd@gmail.com
c25cdc7238dd7e4c54ac9483b61d768d5355593a
42c6356db85ac5bb83b3434a4a445b92736eb9c9
/offload.py
0562d398a63b3ae4604704a8c30350559eed0922
[ "Apache-2.0" ]
permissive
atolab/eclipse-fog05-ros2-demo
a2671072c694588285a3574dc4d24dba20cab11c
4414e5eb8d3d98f4dadeca8873bea158adcaa3ca
refs/heads/master
2022-12-04T01:49:08.302497
2020-07-24T10:53:57
2020-07-24T10:53:57
281,626,421
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
from fog05 import FIMAPI import uuid import json import sys import os import time def main(ip): a = FIMAPI(ip) fdus={} nodes = a.node.list() if len(nodes) == 0: print('No nodes') exit(-1) print('Nodes:') for n in nodes: print('UUID: {}'.format(n)) discs = a.f...
[ "gabriele.baldoni@gmail.com" ]
gabriele.baldoni@gmail.com
4ae4beed0304871a2f9f5c63092192fe5c9b6ca9
540afd391a9806c84e9715e9fabbbee34c95bb00
/ptah/cmsapp/actions.py
8a52aa38f39a65c1ab19d632e3d9d21c5a976ecd
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
mcdonc/ptah
c0e496741b88af7229904137d843982cb30da886
b54083b4ba358f70cf7ce473133f1b45d071a10f
refs/heads/master
2021-01-18T10:48:11.862294
2011-10-18T23:06:07
2011-10-18T23:06:07
2,554,198
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
""" default actions """ import ptah, ptah.cmsapp ptah.cmsapp.uiaction( ptah.cms.IContent, **{'id': 'view', 'title': 'View', 'action': '', 'permission': ptah.cms.View, 'sortWeight': 0.5}) ptah.cmsapp.uiaction( ...
[ "fafhrd91@gmail.com" ]
fafhrd91@gmail.com
38ee8d5857ce1363921fa6e4f9f533c95fc72ee9
e1ac46d306eddc0929544690a68dbe4f5931c4ce
/build/lib/japTrans/transCat.py
ddccb65bd48a53610fcaaea548bfef51965e81f3
[]
no_license
mayukhg/mytranscat
f51da6446fe298a39de8bd8f3c9e648aebad205b
0be5405f6cdad1a731e74a21730fcb90f940672f
refs/heads/master
2021-01-21T21:29:18.887925
2017-06-20T05:38:55
2017-06-20T05:38:55
94,853,503
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
# Imports the Google Cloud client library from google.cloud import translate def run_quickstart(): # Instantiates a client translate_client = translate.Client() # The text to translate text = 'My Test' # The target language target = 'ja' # Translates input text to Japanese translatio...
[ "mayukh.ghosh@pb.com" ]
mayukh.ghosh@pb.com
b44e169f60258d75c52f9ffc53104d7a7b59c90e
3260f6b7594417813e8a78ec746e380353d7dcb4
/ex18/ex18.py
53bb656d374d585fdda65b055405ea3e534dd926
[]
no_license
Drewleks/learn-python-the-hard-way
62f317c1b71ce79d981c8de24d9bcad91ae8e878
2074727244d1490aaa5b8c62b0bc1414687e5286
refs/heads/master
2022-12-04T12:42:14.045555
2020-08-24T18:08:03
2020-08-24T18:08:03
278,914,292
2
0
null
null
null
null
UTF-8
Python
false
false
647
py
# похоже на сценарии с argv def print_two(*args): arg1, arg2 = args print(f"arg1: {arg1}, arg2: {arg2}") # ок, здесь вместо *args мы делаем следующее def print_two_again(arg1, arg2): print(f"arg1: {arg1}, arg2: {arg2}") # принимает только один аргумент def print_one(arg1): print(f"arg1: {arg1}") #...
[ "drew.leks@gmail.com" ]
drew.leks@gmail.com
25b68d91f3d56fc02c96b75755170471e8c38473
4d3651a1448848cd991a9e84acb23cb567d4b016
/mh_code/report_gen.py
6bc13ae8d4b81606ba53943594a1884a0b598032
[]
no_license
magentalab/personalization-models
c3bbb1e8885a2be52bec6b5eef404197c841aa9d
a6180a50bbd47068b9046c322d5cdfaaf00cf32d
refs/heads/master
2021-01-25T12:31:54.424168
2018-08-28T21:01:01
2018-08-28T21:01:01
123,478,636
1
0
null
null
null
null
UTF-8
Python
false
false
815
py
from datetime import datetime, timedelta from reports import reports, now import omniture import boto3 def lambda_handler(event, context): #initialize dynamodb tables dynamodb = boto3.resource('dynamodb') table = dynamodb.Table('reports') #log in and get report suite un = "APIteam:T-Mobile USA"...
[ "noreply@github.com" ]
magentalab.noreply@github.com
c2246cf1ebc461f0682810d48c462cee0b921e2d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_confounding.py
8581f71a9ed68951c64d85a8220fd9717c6a7b51
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from xai.brain.wordbase.verbs._confound import _CONFOUND #calss header class _CONFOUNDING(_CONFOUND, ): def __init__(self,): _CONFOUND.__init__(self) self.name = "CONFOUNDING" self.specie = 'verbs' self.basic = "confound" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5f0169bcf640b58c1523063dc47c0a2f4e9f9f7e
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/PutVersionErrorMappingRequest.py
dd766d6417263d42e4c5842c78c5c286848841d3
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
2,131
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
222a80bc4ebc18b5dbf21ff24c91774fece862ad
0e79d785137f091668f25a48e42ba0e3a924988a
/chat/migrations/0001_initial.py
44cece06a69ce9282a9ef5bb8ef4a9f89f963dd8
[]
no_license
OnkeTshaka/realtimeChat
da554145abcf366331303c2cc42a4941ffcb6730
92a178618973291992f02e3e585347c40e7e0c9b
refs/heads/master
2023-06-30T12:22:47.772635
2021-08-11T09:10:02
2021-08-11T09:10:02
389,781,103
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
# Generated by Django 3.2.5 on 2021-07-21 20:41 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Message', fields=[ ('id', m...
[ "onktshaka200@gmail.com" ]
onktshaka200@gmail.com
62158c7dbf0255cd6a0cf4b8b25a85f8ec363ecb
d0b9f796da6487906c18971b3d58b8aa36e05f7b
/meiduo_mall/meiduo_mall/apps/oauth/urls.py
4c8165508caef27f9c0521108059bd4f56491e41
[]
no_license
kristenin/meiduo_25
5144eed885f01147a93f8b8ff18d5358fbd73148
bfbe43eea2466cb4b6dbc26472c9b46e0203b494
refs/heads/master
2020-05-16T09:37:09.650841
2019-05-19T07:48:22
2019-05-19T07:48:22
182,954,747
1
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.conf.urls import url from . import views urlpatterns = [ # 获取QQ登录界面url url(r'^qq/authorization/$', views.OAuthURLView.as_view()), # QQ登录成功后的回调处理 url(r'^oauth_callback/$', views.OAuthUserView.as_view()), # 获取weibo登录界面url url(r'^weibo/authorization/$', views.OAuthWeiboURLView.as_view(...
[ "827406976@qq.com" ]
827406976@qq.com
4c47a9e5a2e7028068843b8cc248f08e68a14e61
18535460ab8ecb84e2861b76e28bc10aa11fce1a
/config.py
d23275afcb5c737c0f578129d7b4c8fe0ad4997d
[]
no_license
jongmok1031/sba-api-3
dab4ba1faaa240ee7b69e894f296d37dfdb09e03
91d030854a525c2ff376d67d0990c03be0304199
refs/heads/master
2022-12-28T19:10:34.547187
2020-10-19T00:52:13
2020-10-19T00:52:13
301,314,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) import mysql.connector basedir = os.path.dirname(os.path.abspath(__file__)) db = { 'user' : 'root', 'password' : 'root', 'host' : 'localhost', 'port' : '3306', 'database' : 'mariadb' } mys...
[ "jongmok1031@gmail.com" ]
jongmok1031@gmail.com
b45aa3b369e51d3af7bdd0e497a40f1b327873a8
04b86e00e6c097f3d29fe1ae133416c77388c4db
/pyfinex/v2/positions.py
2d6a7cc3d04b9ce253c73524b4be925792d58c9d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ddxv/pyfinex
299747fbfe800d34bb059cdbb9828234e83a46ec
2e299c24a38a3299a6feb625d2b3c0be135dcd72
refs/heads/master
2020-03-27T13:03:23.268218
2018-08-16T13:23:44
2018-08-16T13:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
from pyfinex.api import request def active(key, secret_key, **params): """ Get active positions Docs: https://bitfinex.readme.io/v2/reference#rest-auth-positions """ endpoint = 'auth/r/positions' return request(authenticate=True, key=key, secret_key=secret_key, version=2, endpoint=endpoint, method=...
[ "michel.z.gaston@gmail.com" ]
michel.z.gaston@gmail.com
0d9d664b991f9c98271dd520854461b29bb2ccba
45681de2f46bb8712ab65588fc0f8dece7ef97b2
/bipolar/scan_net.py
aac6adc0984fbba388834d40994109ac58d55542
[]
no_license
cleverhandle1/bipolar
3db51315c574367df383d27d24f07d1c645236ca
36b66a7b299ebbc875c8d9263e98a70548b1a1fe
refs/heads/master
2020-04-05T18:14:38.197680
2019-02-12T06:23:51
2019-02-12T06:23:51
157,093,716
0
0
null
null
null
null
UTF-8
Python
false
false
1,316
py
#!/usr/bin/env python import bipolar from celery import group from time import sleep from elasticsearch import helpers, Elasticsearch import sys import json ip_net = sys.argv[1] ips = bipolar.net_explode(ip_net) my_group = group([bipolar.scan_nmap.s(ip) for ip in ips]) group_results = my_group.apply_async(queue='scan...
[ "cleverhandle1@protonmail.com" ]
cleverhandle1@protonmail.com
0370b6175b59970d5d82aa30238319974ee6a517
593df604930c84405fa36f1cd7a12279426ecb7c
/users/forms.py
a1b267cd075f2987e7f544c40d47d24e9b63f07f
[]
no_license
rainy0824/blog_project
f0c55b6af4e623ab6f36eb3d9cf703c8b74161a9
01cc90e3c4901e0208813ff397fee0ff494a16d0
refs/heads/master
2021-01-21T14:57:15.305895
2017-07-02T00:30:34
2017-07-02T00:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from django.contrib.auth.forms import UserCreationForm from users.models import User #自定义用户的form class RegisterForm(UserCreationForm): class Meta(UserCreationForm.Meta): model=User fields = ("username","email",)
[ "564312974@qq.com" ]
564312974@qq.com
422219e68c8fc6b1d9c7665884f7854a5781f89c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/394/usersdata/348/75042/submittedfiles/ex11.py
a86725ac7a49dce4e69e343fad26c23422956c61
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- dia1 = int(input( 'informe dia 1: ')) mes1 = int(input( 'informe mes 1: ')) ano1 = int(input( 'informe ano 1: ')) dia2 = int(input( 'informe dia 2: ')) mes2 = int(input( 'informe mes 2: ')) ano2 = int(input( 'informe ano 2: ')) if (dia1==dia2) and (mes1==mes2) and (ano1==ano2): print ('IGUA...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b99914fd42cf43830dfecd852de8946174cad379
2bdb23e8bebe307039d11519826e05d4744304c8
/Agent5/main_agent_Agent5_rewards.py
7145b73631b8a0d03d220a6fb40eb072dccb6196
[ "MIT" ]
permissive
schigeru/Bachelorarbeit_Code
608b2f9f97a319d6fd4de36e0e244d4d7c148c4a
261b2552221f768e7022abc60a4e5a7d2fedbbae
refs/heads/main
2023-04-10T10:12:20.440503
2021-04-29T14:42:03
2021-04-29T14:42:03
362,824,265
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
#!/usr/bin/env python3 import gym from stable_baselines.common.policies import MlpPolicy from stable_baselines.common.vec_env import DummyVecEnv from stable_baselines.common.vec_env import SubprocVecEnv from stable_baselines import PPO2 from gym_Agent4_rewards import PandaRobotGymEnv import rospy import numpy as np im...
[ "noreply@github.com" ]
schigeru.noreply@github.com
d5393221a951177318a182ebfd77d15eda641d19
a6fc32dcff876ea2d080aa7c83da413880b51917
/test/server.py
3691039f24edf19a07d259363bfc395c7618766c
[]
no_license
penkich/esp32
f6d396d11780e0ff753644b73f2336a9c121c779
82aa0e6e3ed3b2b619cdc3d9271bd9063284c881
refs/heads/master
2021-01-21T17:02:09.332036
2017-05-21T01:31:14
2017-05-21T01:31:14
91,924,708
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
# # socket を使った簡単なテスト 2017-05-20 # サーバー、クライアントとも、sta_ifでWiFiに接続しておく # 時間経過により、サーバ、クライアント双方のNeopixelの色が変わる # タイマーのオーバーフロー問題ありそう # from machine import Pin from neopixel import NeoPixel import socket import time def callback(p): # たぶんこの方法よくない。 global start start = time.ticks_ms() print(p) time.sleep(0.5) ...
[ "noreply@github.com" ]
penkich.noreply@github.com
256120e63c4d5d9ea63f3c11da220556fdff2d99
146bf9e65cd26b1f672323e95e9ad063eed7fcb8
/polympics_server/models/awards.py
5d153073881a1d15234e2804f0e9f2ea5bf67e3a
[]
no_license
polympics/server
e9ad31c672b28d60f252acc24be9545aac0f76c6
1e12ebd512641f8dcabb8730ea786ec235a4726a
refs/heads/main
2023-06-16T22:43:18.321235
2021-07-13T12:27:49
2021-07-13T12:27:49
345,300,709
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
"""Models for giving awards to players and their teams.""" from typing import Any import peewee from . import accounts from .database import BaseModel, db from .teams import Team class Award(BaseModel): """An award given to a team.""" title = peewee.CharField(max_length=32) image_url = peewee.CharField...
[ "artemisdev21@gmail.com" ]
artemisdev21@gmail.com
c79c02c034f54342d85d430c85b53196edaad645
0a82cbec2555404a8db0a0b55c774d939384d528
/website/tempCodeRunnerFile.py
797fe6f6506614b2590dbce9e37162192933296f
[]
no_license
shubham405/notes_app
1ddba7ce59a27bfceb99ecdd5e16095483bf9125
b2d7eb1742382c30c19c86c3685bfea3aa0b6646
refs/heads/main
2023-04-15T05:57:36.595228
2021-05-06T15:55:30
2021-05-06T15:55:30
363,679,107
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
from flask_login import login_user,login_required,logout_user,current_user
[ "noreply@github.com" ]
shubham405.noreply@github.com
47e6bf3e7e36708ee37f165e578633ede9fa3751
07e7444952a97b97212f30d892298efda9b67dd9
/precioussecret/client/tests/test_views.py
9b29a65171e92682a49dfc5d12cffa5e2ee67f06
[]
no_license
lucekdudek/precioussecret
453a06a1b85939b221e02b1c78235cc9d4d44f2c
846a15e1f4f42ae1acd0042ec0f304ce0b4f1665
refs/heads/master
2021-09-27T19:43:35.189468
2020-04-09T11:52:45
2020-04-09T11:52:45
252,746,277
0
0
null
2021-09-22T18:50:49
2020-04-03T13:50:18
Python
UTF-8
Python
false
false
3,128
py
from django.contrib.auth.models import AnonymousUser from django.contrib.auth.models import User from django.contrib.sessions.middleware import SessionMiddleware from django.test import RequestFactory from django.test import TestCase from rest_framework import status from precioussecret.client.views import AddSecretV...
[ "lucekdudek@gmail.com" ]
lucekdudek@gmail.com
417b4a042215ae3af7738115158fe0e36a4ae88c
00c9f5101f326a8eb374fba78c3f3c4589937bb4
/I2provisioner.py
deff7a86273ea348f6af658b7785401f546ab7a4
[]
no_license
w4rc0n/Icinga-2-Provisioner
72b7e5f1b266c06c9d842c4d69539881f0ef27f1
a017a61c87512a0d8785b1c0e4b3a4125419b73d
refs/heads/main
2023-01-23T19:37:20.179179
2020-11-26T07:47:36
2020-11-26T07:47:36
315,475,864
1
0
null
null
null
null
UTF-8
Python
false
false
11,897
py
#!/usr/bin/env python3 import socket import requests import argparse import subprocess # Adjust these variables to your environment. This variable should be your CA master node, as well as your configuration master. master = 'https://yourmaster.com' masterip = 'ip address of the above host' # If you have a second mas...
[ "noreply@github.com" ]
w4rc0n.noreply@github.com
14a522c0b0e3b4d419eb126c4e740041354edf1b
1dede328b31eef387e130a468a4bd928a2ad55d8
/day19.py
6f667756d2fbf76b2833c25eaf5a5eb651e7d230
[]
no_license
Kurocon/AdventOfCode2017
3b21f4241c0dd0c702eb2bc31684d215bb9c3150
af85df23cac2036fd1f425204bf9f29f5a53aebd
refs/heads/master
2021-03-16T05:18:57.787010
2017-12-25T11:34:58
2017-12-25T11:34:58
112,751,939
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
with open('day19.in') as f: inp = [[y for y in x.replace("\n", "")] for x in f.readlines()] start_index = (0, 0) for i in range(len(inp[0])): if inp[0][i] == "|": start_index = (0, i) break direction = "down" current_index = start_index collected = [] stop = False stepcount = 0 dtx = { 'up': (-1, 0), 'down':...
[ "kevin@kevinalberts.nl" ]
kevin@kevinalberts.nl
4406e498e53d36d972223ba8851239a9ce4817d0
ed77872e3a680eb78554d1316f11de4169777d00
/build.py
281e0c21a1e58b20c1ca68e6598efd7a472dac75
[]
no_license
Karthiga1/CICD_Jenkins
70fd547591c766933baacb70fe39e40625b6dd73
da3e7c8eacdd3041ff98be543d4a22246ecf6e85
refs/heads/main
2023-02-01T21:47:02.970737
2020-12-18T04:06:35
2020-12-18T04:06:35
322,308,370
0
1
null
null
null
null
UTF-8
Python
false
false
615
py
import json import os import shutil import zipfile try: with open('Build.json') as f: data = json.loads(f.read()) for x in data: StageName = data[x]['Name'] StageContent = data[x]['Content'] if not os.path.exists('builds'): os.m...
[ "noreply@github.com" ]
Karthiga1.noreply@github.com
29ad22edf618900af13dc410769ed8873085e808
9ae27c38e583982174e07dc1b19507f1d96e4fa2
/cyber_security/util/httpTools.py
1b58a632a6e1d668d20b278bb25a5ba31a5d39b6
[]
no_license
lyx199504/cyber-security-backend
e38c2e690c3ed3d4b8f2c88f4b7b4ab0b18476c3
dbe93143dda36759a0ae4ecbd5c322696f7c15f7
refs/heads/master
2023-01-19T01:51:40.655030
2020-11-22T12:22:42
2020-11-22T12:22:42
312,642,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/11/5 11:59 # @Author : LYX-夜光 from django.http import JsonResponse class RestResponse: SUCCESS = 200 # 成功 AUTH_ERROR = 401 # 认证错误 USER_ERROR = 402 # 用户操作错误 FRONT_ERROR = 411 # 前端操作错误 SERVER_ERROR = 500 # 服务端错误 @staticmethod # 封...
[ "765020742@qq.com" ]
765020742@qq.com
cd84845dcf66c5636243e40470165c0fecc97a32
ed8e1eeda5f5fc5dd9436a90439ae1ef3e69b98c
/s3_manifest.py
18c19ef77fe12255e996d28adf56d9b46ae67894
[ "MIT" ]
permissive
vile8/S3-Version-Utilities
64417da9ce350110ecf5194f92d510ddd195cb3d
a888a9d5f2d5f8199f26df3f43f5966e8764b879
refs/heads/master
2021-01-01T18:30:02.055773
2017-07-26T16:33:49
2017-07-26T16:33:49
98,346,809
3
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
import os import sys import getopt import boto import uuid import time import tarfile import shutil import math import csv import traceback from filechunkio import FileChunkIO from datetime import datetime, timedelta from os.path import splitext, join from os import walk from os import path from pprint import pprint #...
[ "jmcdermott@queuesoftware.com" ]
jmcdermott@queuesoftware.com
25e4af19a5867e04f0a5781eb7c32f8b7ea09009
bdb4bf882ec27984cc8682747843f1ff5c928652
/Tkinter Graph (using mouseclicks)
ea2502b1b7c46503914d6128cd8d6b17a63988cc
[]
no_license
arslanamir8/pervysage
016aaf4ceeb2d25a354ac92039c65329221a57bf
2a0001ffd438d6d58cd069565d46daa8540be91c
refs/heads/master
2022-01-16T12:52:53.193943
2022-01-10T01:38:16
2022-01-10T01:38:16
208,152,792
0
0
null
null
null
null
UTF-8
Python
false
false
2,026
#!/bin/python3 from tkinter import * #varaibles and data radius = 20 nodecount = [] coords = {} graph = {} start = None node1 = None node2 = None #functions def DrawNode(event): canvas.create_oval(event.x - radius, event.y - radius, event.x + radius, event.y + radius, outline="#000", width=1) x = len(nodecou...
[ "noreply@github.com" ]
arslanamir8.noreply@github.com
264323a3ccc30d0b73c69303417ef144f9025d54
a8b17b17f9b2a640013064c50e1cebc27a7a68de
/unsupervised-learning-in-python/03-decorrelating-your-data-and-dimension-reduction/03-the-first-principal-component.py
647a417a9bf9c989e58abcbb84d033e610d11b34
[]
no_license
JohnnyFang/datacamp
20eae09752521f14006cb3fda600b10bd7b12398
0fa8fa7682c23b0eb07bd03e4b75f5b77aeafa75
refs/heads/master
2020-04-18T00:27:37.358176
2020-02-04T20:54:19
2020-02-04T20:54:19
167,078,316
1
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
""" The first principal component The first principal component of the data is the direction in which the data varies the most. In this exercise, your job is to use PCA to find the first principal component of the length and width measurements of the grain samples, and represent it as an arrow on the scatter plot. Th...
[ "fangdejavu@gmail.com" ]
fangdejavu@gmail.com
bcc8798fb5df258fb2fb24949bb32f5ced90b7d0
755fd91e945dbcd2f8f6004b41ac72fe671c90e4
/djangodecoy/djangodecoy/urls.py
5920011cecdf441a334aebb4c5a42750a119996a
[]
no_license
Kurolox/DjangoDecoy
dea9f6b34af9d59ad6d0add902a0e443672da29f
ff6d2e8e52b6aa0b52e26ccce9e61e7f7df066cf
refs/heads/master
2020-03-21T15:43:55.642987
2018-06-26T12:05:25
2018-06-26T12:05:25
138,729,381
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
"""djangodecoy URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "kurolox@gmail.com" ]
kurolox@gmail.com
c779f0537fab2734252534db980e9b435b635669
7d615915304bdeebfd1047dfe40807b877305121
/appblog/config.py
6b5d4a95810579c57385a31bacc5bba365c74d31
[]
no_license
Jaouadeddadsi/My-blog-post
1650bed499c064682431aa47952b4e570bcb8f3c
a89a27935943602d0e29a34eebb5cafb5ec55a18
refs/heads/master
2020-06-01T02:32:01.251560
2019-06-12T15:39:46
2019-06-12T15:39:46
190,598,758
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
import os class Config: SECRET_KEY = os.environ.get('SECRET_KEY') SQLALCHEMY_DATABASE_URI = os.environ.get('SQLALCHEMY_DATABASE_URI') MAIL_SERVER = 'smtp.googlemail.com' MAIL_PORT = 587 MAIL_USE_TLS = True MAIL_USERNAME = os.environ.get('EMAIL_USER') MAIL_PASSWORD = os.environ.get('EMAIL_...
[ "jaouadeddadsi2016@gmail.com" ]
jaouadeddadsi2016@gmail.com
1bea469ce41628300baec647daf2fd0474bdd419
cd29cff9794f8993cb65b7b558f7fe57d5a751e0
/teacherdirectory/views/__init__.py
ca7e5cf153938695013dabf19b19ab4ec891c354
[]
no_license
hamade31/Tech-Test
e974913ec00462bedd921b182ad0ac6feb86e4cc
43e8c77796402baeb43b302e0cffb87f0b5a7d9d
refs/heads/main
2023-03-24T09:49:39.765469
2021-03-13T15:46:18
2021-03-13T15:46:18
347,280,485
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
from .teacher_profile_views import *
[ "phillipsheadset@gmail.com" ]
phillipsheadset@gmail.com
2b36ac1a0cd628cdd8c6be5c39b7366eef994ca5
ab32f2a609249ec2b475a29b9479d444aa44b366
/Fase3Django/Fase3Django/asgi.py
9a36a5803f2aca56fd159a53feed9da94c72c147
[]
no_license
EETS7/FinalDjango
bf787959518f4d99a6f99a8f38feef0ecbf04b51
10cb8bde440cf830eee8a05cc7424b6c2fb6c327
refs/heads/master
2023-05-04T13:39:56.293102
2021-05-16T03:40:27
2021-05-16T03:40:27
367,778,414
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for Fase3Django 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "elmertriquiz@gmail.com" ]
elmertriquiz@gmail.com
477902b7aded01142a3a70e8952435c226af8fde
c3228cb4024a24a1fddcc895effd18708ef31056
/Search Engine/Search_Engine_python/routes.py
75ebc899bb9716fa3ac656343e2c42f112f0509d
[]
no_license
ibtissammoufid/bulletins-search-engine
f4c848177670b2f8105263a54a8db7dfc7f43e57
d7e51d11859874603133550558c6ac3753181367
refs/heads/master
2022-11-19T12:00:42.899632
2020-06-30T17:36:22
2020-06-30T17:36:22
271,137,740
0
0
null
null
null
null
UTF-8
Python
false
false
3,381
py
from flask import render_template, url_for, flash, redirect, request from Search_Engine_python import app, db, bcrypt from Search_Engine_python.forms import RegistrationForm, LoginForm from Search_Engine_python.models import User, Post from flask_login import login_user, current_user, logout_user, login_required from ...
[ "58593102+ibtissammoufid@users.noreply.github.com" ]
58593102+ibtissammoufid@users.noreply.github.com
2e3f80dea7d5403facd335224553023a85a1f183
d5039d4b39e9411444ef6282fe384d72a305cc1d
/catkin_ws/build/robotiq/robotiq_ft_sensor/catkin_generated/pkg.installspace.context.pc.py
6573ae7dc301cf32da9f8a8f15bb440ace50f93b
[]
no_license
iltertaha/pickplace
0daa8f0d3dba6e3c3717bcbd178916beaf46556e
f0cabcb3b99af0c472a8741f2a6e2cc067322f6e
refs/heads/master
2022-06-17T22:34:57.666166
2020-05-20T13:50:12
2020-05-20T13:50:12
265,561,982
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/burak/catkin_ws/install/include".split(';') if "/home/burak/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WIT...
[ "ilteraktolga@gmail.com" ]
ilteraktolga@gmail.com
493640c7a6caa30620ca5d466c147cac7cb2940d
85ccd32aa73eecf274a937f1fc3b6f4d484b77da
/test cases/python/2 extmodule/subinst/submod/printer.py
2a4a61bc995b3277b8870e7d3a99f41f41ee8ac7
[ "Apache-2.0" ]
permissive
mesonbuild/meson
48321cf4235dfcc0194fed90ff43a57367592bf7
cf5adf0c646474f0259d123fad60ca5ed38ec891
refs/heads/master
2023-09-01T05:58:50.807952
2023-03-17T20:27:37
2023-08-31T11:52:41
19,784,232
5,122
1,848
Apache-2.0
2023-09-14T15:47:23
2014-05-14T15:08:16
Python
UTF-8
Python
false
false
48
py
#!/usr/bin/env python3 print('subinst.submod')
[ "eschwartz@archlinux.org" ]
eschwartz@archlinux.org
bfb6d5bffe2d3f4f810f2427e58fbae8e8fbcb6d
5b44a2a1ee9eabf95f8052d5bbce498c79e37204
/src/Expartmanager/utils.py
287740ad720e2437e9acec28351d25a9488444d5
[]
no_license
Shamsulhaq/Emanager
0eafb7c7009c953c851c461959d80c13df203ef7
2174c99904327bb8cbfe75e2cd061160a58080be
refs/heads/master
2021-02-27T00:27:49.956787
2020-03-07T03:52:30
2020-03-07T03:52:30
245,563,445
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
import random import string from django.utils.text import slugify from io import BytesIO from django.http import HttpResponse from django.template.loader import get_template # from xhtml2pdf import pisa ''' random_string_generator is located here: http://joincfe.com/blog/random-string-generator-in-python/ ''' def...
[ "bmshamsulhaq65@gmail.com" ]
bmshamsulhaq65@gmail.com
42e2322a8dffcca4ea82471172f3c53b55d3c365
dbf8d687413e6cc6bbcea45b89aaa258ae1bd08f
/Nasa4plot.py
ca4445542cd8488e614a2123de0ea1ad1aa8fcf9
[]
no_license
mhr75/Nasa_Space_Apps_Challenge_2020_Covid_19
082728086a43c861aadbfbd83bffe38536d0d6ea
1d5352c3562fdcba61e9c9a33815bd517a510c2e
refs/heads/master
2022-10-24T08:29:12.390366
2020-06-12T07:14:53
2020-06-12T07:14:53
268,289,540
0
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
import numpy as np from netCDF4 import Dataset #import matplotlib.pyplot as plt #import cartopy.crs as ccrs #import metpy my_example_nc_file = 'MERRA2_400.tavgM_2d_aer_Nx.202004.nc4' fh = Dataset(my_example_nc_file, mode='r') #data = Dataset('MERRA2_400.tavgM_2d_aer_Nx.202004.nc4', mode='r') print(fh) lons = fh.vari...
[ "49345529+mhr75@users.noreply.github.com" ]
49345529+mhr75@users.noreply.github.com
1003d98d67650cebb39eb7e2386aa52b1c084c11
73b0a65a41ee148c65440881336c9173b22fd767
/Latest_THIS/ADDRESS_EXTRACT.py
a8898b16ce2cbb24996f9a75c8443ad7aed3cae8
[]
no_license
Senthuran100/PYTHON_PROJECTS
2cb05e2a6d576764b1ac1db196a908317b9faeec
06d9f9434c914e670f2098205afe92f003506c04
refs/heads/master
2021-07-14T23:34:14.083645
2017-10-16T11:07:28
2017-10-16T11:07:28
107,116,573
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import pyap test_address = """ Lorem ipsum 225 E. John Carpenter Freeway, Suite 1500 Irving, Texas 75062 Dorem sit amet """ addresses = pyap.parse(test_address, country='US') for address in addresses: # shows found address print(address) # shows address parts print(ad...
[ "32807418+Senthuran100@users.noreply.github.com" ]
32807418+Senthuran100@users.noreply.github.com
22f6a4dedfe49666dd117f26ae66383804b5578a
b7ad4f4071890b7352923f0c1d446e10db7d991c
/wowit/wowit/doctype/items/items.py
c334951bb78025802a115d3dbe61b2a744a7f772
[ "MIT" ]
permissive
ShahzadNaser/wowit
e38a40e1731d6fc25e11be8063ea81000af06116
a50ace8f6d7cc6da470f13d2c04d18d02907430e
refs/heads/master
2022-12-08T22:42:42.001294
2020-08-12T01:18:32
2020-08-12T01:18:32
285,718,643
0
0
NOASSERTION
2020-08-29T10:30:39
2020-08-07T02:31:54
Python
UTF-8
Python
false
false
257
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Shahzad Naser and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class Items(Document): pass
[ "shahzadnaser1122@gmail.com" ]
shahzadnaser1122@gmail.com
0e9c4018769c664f8c1bca77db85d0714e23b5f7
4ca8bf159fd5decfe0bde30fded5a3a7c1624ce7
/server.py
d46c3eebba25c671e67a056baadc298ce21cb1ad
[]
no_license
ivanfoo/wilson
c432f9f5c3e0efb476927fe63ac3391df44cfa8f
4327e84bb437c4d684685f5f3d73b9a21126870e
refs/heads/master
2020-12-05T01:45:40.844720
2016-09-10T17:42:45
2016-09-10T17:42:45
67,885,439
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
from wilson import app app.run()
[ "sanfru.ivan@gmail.com" ]
sanfru.ivan@gmail.com
4b35a2175c927750d9f11295397fddafd1d5a618
21dd1f04868e3e5ee84285b9e7a38fb29f346910
/clases/mostrarArchivo.py
9845e77cd3c78929ff54e9b482a4e99d768b1f56
[]
no_license
melany202/programaci-n-2020
b8428b3978dddd1326178127df8d46cbffd8686f
fa45a2dec278e80faeab41eecededced9a530784
refs/heads/master
2023-01-03T09:29:21.623268
2020-10-28T18:54:54
2020-10-28T18:54:54
283,563,749
0
1
null
null
null
null
UTF-8
Python
false
false
276
py
archivo=open('párrafo.txt',encoding='UTF-8') print(archivo) parrafo=archivo.readlines() archivo.close() print(parrafo) listaRenglones=[] with open ('parrafo.txt',encoding='UTF-8') as parrafo: for line in parrafo: print(line) listaRenglones.append(line)
[ "melanysuarez307@gmail.com" ]
melanysuarez307@gmail.com
753db623e90e5f9aa6a358e9fe53709fe0cf8b24
d2b3108ebc4e413f643b906b1411049317191280
/models/item.py
224ebd95e775faea47093027f62c7ec3c38d3923
[]
no_license
rhwgf34/code
056640fa705a3c36539b9069594e9129af9ced28
49c196b2b97183adba0ebc3db61f9ad952c2f49b
refs/heads/master
2021-07-15T08:11:03.586738
2017-10-20T12:38:06
2017-10-20T12:38:06
107,606,568
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
import sqlite3 from db import db class ItemModel(db.Model): __tablename__ = 'items' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(80)) price = db.Column(db.Float(precision=2)) store_id = db.Column(db.Integer, db.ForeignKey('stores.id')) store = db.relationship('Store...
[ "mjuz1qt93@gmail.com" ]
mjuz1qt93@gmail.com