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
a46442916b41bb43efc65236b85e65474c9b6cbc
4058934db71013da9e5ccaaeb7e169dacc588b49
/cli/tests/test_validators.py
922f4062da4918b43eec378dbd12f26031c458eb
[ "MIT" ]
permissive
zabaweb/lime-comb
c594f35724cc46f853f5a18a1310d9870610ba04
38c72b2f3ee1d9113d82e67c946a82d9d606dea8
refs/heads/master
2021-02-19T01:57:53.258141
2020-03-05T21:08:48
2020-03-05T21:08:48
245,265,936
0
0
MIT
2020-03-05T20:55:19
2020-03-05T20:55:18
null
UTF-8
Python
false
false
1,524
py
import builtins from collections import defaultdict from unittest.mock import MagicMock, patch import lime_comb import yaml from lime_comb.validators.bool import validate_bool from lime_comb.validators.email import lc_validate_email from lime_comb.validators.file import validate_filepath from .conftest import * cla...
[ "marcin.niemira@gmail.com" ]
marcin.niemira@gmail.com
8f370c96ccec3c3c4700881357f9a8ae1539b793
d6931f8347729ccff8535c90f5bd7f3a7ec331ee
/server.py
620ad22ddd3a227fbe30bac5d010f001810cfdb1
[ "MIT" ]
permissive
vilmarzti/deepwriting
b237105d907a3eb702263c0d3a014e939fc8b181
9ba1feb7e472fea727761bc57d03b4f6cf417022
refs/heads/master
2021-07-14T05:04:23.924526
2020-10-17T15:23:48
2020-10-17T15:23:48
217,344,425
0
0
null
2019-10-24T16:29:13
2019-10-24T16:29:12
null
UTF-8
Python
false
false
2,553
py
from flask import Flask, escape, request from flask_cors import CORS from data_scripts.json_to_numpy import fetch_sample_from_dict, scale_zero_one from data_scripts.preprocessing import process_dataset from classify_hw import getModel, getConfig, process_result import numpy as np from source import data_utils app ...
[ "villavicencio.martin@protonmail.com" ]
villavicencio.martin@protonmail.com
fa49c7e396c61962996bf2618fcf092a10a9836f
793ea0a09f52886641f0eea5098f90235264726f
/Python weekend class_sindhuja.py
aa1587249129e3bb6a5fa18bb48aabd5ce8ff182
[]
no_license
sindhujasankar/Weekend-python1_sindhuja
346f398700de03ab930d20b08c53f5ce00c524d2
4bbba73deda1a410726828c9dc497cf29e7c0eaf
refs/heads/master
2020-06-25T00:16:33.882482
2019-07-27T08:13:27
2019-07-27T08:13:27
199,136,395
0
0
null
null
null
null
UTF-8
Python
false
false
1,959
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import sys print sys.version # In[2]: import sys print (sys.version) # In[3]: x=5 y=10 print(x+y) # In[5]: Description="Python is a interpreted language" print(description) # In[6]: Description="Python is a interpreted language" print(Description) # In...
[ "noreply@github.com" ]
sindhujasankar.noreply@github.com
f9913f3556b1abaf280deef537f25348894732c1
bfc6aaa19134348e91501b6063c8cb79c9caa5d2
/quiz/fibonacci.py
80ef06bf2713b3a7a9d345858b16bf601ada1d70
[]
no_license
siblackburn/python_bali
e6c590b8f98639379dc5d3aef7e36b3608bce7e9
2a13eae0cc983f09c364c8649397183cdf4bf600
refs/heads/master
2022-12-20T21:25:34.942452
2019-11-10T04:42:37
2019-11-10T04:42:37
215,207,276
0
0
null
2022-08-23T17:55:27
2019-10-15T04:33:23
Jupyter Notebook
UTF-8
Python
false
false
246
py
sequence_length = int(input("how many fibonacci numbers do you want?")) fib_numbers = [1,1] while len(fib_numbers) < sequence_length: new_numbers = fib_numbers[-2] + fib_numbers[-1] fib_numbers.append(new_numbers) print(fib_numbers)
[ "siblackburn@gmail.com" ]
siblackburn@gmail.com
10661efc67a870bbba43ee9b9b447baf6e640a26
735bc64c867542c7494e8243e85f97397c81133d
/day6/puzzle1.py
66e33ed742c48de78686edcf8d039a91ab4e316e
[]
no_license
SBird1337/sbird-aoc-2020
917910acf367396db3aa4034560801d2101f462c
f8d9d8567020fe313f1cad0b475e523740630681
refs/heads/master
2023-01-27T15:47:42.717262
2020-12-08T03:28:01
2020-12-08T03:28:01
318,240,756
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#!/bin/env python3 import os groups = [] with open('day6/input12.txt', 'r') as f: for group in f.read().split('\n\n'): group = group.replace('\n', '') groups.append(len("".join(set(group)))) print(sum(groups))
[ "philipp@karathan.at" ]
philipp@karathan.at
48ba67277d3c5ef2ef26260e41518199f006f2c3
4aa971f59634c3e6aca66d9afa32a0dc12af246b
/suning/settings_test.py
bbf24e9285975203f9d30dadb86e43f13a881461
[]
no_license
cash2one/wancloujia-o3m
613889779dd0c46e8444aed7e5a249a23e7c37aa
94645f103f4a366eb37a12be8634f0d61dd2a2f2
refs/heads/master
2021-01-19T12:35:18.581918
2015-10-02T11:27:11
2015-10-02T11:27:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from suning.settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3' } }
[ "yangchen@jiaoyin.cm" ]
yangchen@jiaoyin.cm
eff8bfc151e7d12e6301e1900b0daefd3667cd2c
4ca8df3a127e9b15cbfecea6505928741f685a63
/case_crawler/utils/common_tools.py
ef618a3b95e404c080d7df456778d067ac19dd4d
[]
no_license
gongfei6644/gongfei
2beb082c56197bc23ca20a6927ff6c10d8beaa83
bfdd5e6a3a8d76ad1e43cf54df186b944cad29e4
refs/heads/master
2022-11-30T20:49:22.213040
2020-08-16T12:52:28
2020-08-16T12:52:28
286,283,597
0
0
null
null
null
null
UTF-8
Python
false
false
5,210
py
# coding=utf-8 import hashlib import re import time from functools import wraps from w3lib.url import canonicalize_url from setting import config from utils.common_mysql import get_pagesize_config website_pagesize = {} log_path = config.LIST_LOG_DIR def get_rand_guid(url, unit_price, ym): # ym = datetime.datetime...
[ "1" ]
1
3d138cb891362f309c9f1e0a25474de6ede5b5bf
6d9795fa1aafc0fa5316020aaa0eaa4f68b76229
/dashboard/admin.py
0cc378351808cb988c751a50626303004d51f468
[]
no_license
icerahi/immolists
02d379a22c193e793b26e35828b5eebff33bf888
813333c3923385861f111bb7aa715aeb04108c3a
refs/heads/master
2022-12-15T15:00:39.844142
2022-01-06T10:06:44
2022-01-06T10:06:44
196,600,572
0
0
null
2022-11-22T04:14:43
2019-07-12T15:12:33
JavaScript
UTF-8
Python
false
false
129
py
from django.contrib import admin # Register your models here. from accounts.models import Profile admin.site.register(Profile)
[ "zanjarwhite@gmail.com" ]
zanjarwhite@gmail.com
e5181625fe4c0c87d3fabc860eb6ed72d2377e55
1b405f2181960f63da9ea176be1ff9145b98d0d8
/webempresa/blog/urls.py
31f7b49977e5b76222d1e72a8028275658961476
[]
no_license
mariogonzcardona/web-empresa-curso-django-2
15d5005eb639e1534e98b0bf1b0f3dae68a1fda5
f0b05bc9a1432b72a6b999df9b29545feefc0765
refs/heads/master
2020-12-12T15:15:32.978703
2020-01-15T21:35:43
2020-01-15T21:35:43
234,159,170
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django.urls import path from . import views urlpatterns = [ # Paths del core path('', views.blog,name="blog"), path('category/<int:category_id>/',views.category,name="category"), ]
[ "alejandrogonzalez@uadec.edu.mx" ]
alejandrogonzalez@uadec.edu.mx
e00478f3ddb13e96aa3763bd2c854ff524a10299
2541edec51e7947a43546d5aaed9406b863d2968
/data/scraped/top_400_books/bestreads/spiders/bestreads_spider.py
68f309dffdf04582eb4161d532cf88707da3db36
[]
no_license
claire-vk/GoodReads
55dca9ca510ac3bd7ada5274696fedab0f767ff0
4a44899fd0ab65e886a637c91ead0d59b0ddb677
refs/heads/master
2021-07-10T14:41:32.488455
2020-03-29T21:46:34
2020-03-29T21:46:34
90,575,384
2
1
null
null
null
null
UTF-8
Python
false
false
5,509
py
from bestreads.items import BestreadsItem import scrapy import re from scrapy.selector import Selector class bestreads_spider(scrapy.Spider): name = 'bestreads' allowed_urls = ['https://www.goodreads.com/'] # 'best books ever' list includes more than 48,000 books - will focus on top 500 for analysis rootURL = 'ht...
[ "claire.emmanuelle.vignon@gmail.com" ]
claire.emmanuelle.vignon@gmail.com
d662c5c1d517d4f8392df31a97a092976af330d8
d66818f4b951943553826a5f64413e90120e1fae
/hackerearth/Algorithms/El Nino !/solution.py
7ae3ddfd098634f2b9eecc6f17cbdd95c51f04b9
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
838
py
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here from itertools import accumulate n, m = ma...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
fbf42987cfcf599e54f64fd155b682121131248b
018c69e6bfa85a509f6c4ced89d9ecc39c695612
/dockerAPI_Exploit.py
a5624786b4628e95f51abe6d56c9b8dea08e2554
[]
no_license
comahax/Docker-Remote-API-Exploit
13f2e3e672bb123e9824e9e4f809499c74ecbc46
0275e2ef65df332ce2c4374ab49e74a8cec7fe38
refs/heads/master
2020-05-23T08:00:09.829117
2016-09-13T15:08:32
2016-09-13T15:08:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,447
py
# -*- coding:utf-8 -*- import requests import urlparse import argparse import json import socket import time import sys class scan(): def __init__(self): self.VulnerabilityIp = [] def Check(self,url): Check_Url = url+'containers/json' try: TestRe = requests.get(Check_Url,timeout = 5) except: print "C...
[ "1123302584@qq.com" ]
1123302584@qq.com
498da4533e4674142210175eb4143f97f45fb56d
bb1c9216868de6244a72d3fc1d4f6be0d7dc4ea4
/UpdateFactorDatabase/FundamentalFactors/FactorAlgos/Profitability/CashFlowMargin_TTM.py
9b2fba6225722035391ab0ed83320c7c222568e1
[]
no_license
wusf/MyQunatLib
9e430c4be101f470a66c5faa38b9a082a9b4f7a5
5156d9b18dd37c5cda6bf8169497a8432fe083a1
refs/heads/master
2021-01-21T04:55:39.147432
2016-07-22T05:26:17
2016-07-22T05:26:17
48,779,521
0
1
null
null
null
null
UTF-8
Python
false
false
929
py
#!/usr/bin/env python #coding:utf-8 """ Author: Wusf --<wushifan221@gmail.com> Purpose: Created: 2016/1/12 """ #---------------------------------------------------------------------- def Calc(cur,acctPeriods,p,s,date,stkCode): """ 计算过去12个月CashFlowMargin cur:内存数据库cursor date:查询当日的日期和数据有效的最早日期 ...
[ "wushifan221@gmail.com" ]
wushifan221@gmail.com
ea8abfa4667e8e810e2e912a2070a29eace34964
29372d402db9293e28c51b620b9f98dacbaf6260
/Processing/Section 3/Listing3/Listing3.pyde
fd8ec1b6e79927339f18259734371fdfdc5ccbe3
[ "MIT" ]
permissive
Grigory526/2019-fall-polytech-cs
9cfb053084657da3e337f413c66f9ac36466b0ca
1e87472fa128f6d69a3b99118e04ce4cce9ac70a
refs/heads/master
2020-07-27T03:37:54.677364
2019-12-21T17:11:10
2019-12-21T17:11:10
208,854,212
1
0
MIT
2019-09-16T17:07:01
2019-09-16T17:07:01
null
UTF-8
Python
false
false
271
pyde
def setup(): size(500, 500) smooth() background(255) noLoop() fill(50, 80) stroke(100) strokeWeight(3) def draw(): ellipse(250,200,100,100) ellipse(250-50,250,100,100); ellipse(250+50,250,100,100) ellipse(250,250+50,100,100)
[ "bakaenko.gi@edu.spbstu.ru" ]
bakaenko.gi@edu.spbstu.ru
529802340e8ded3a16e40bd4da845392f90caa2f
eb9e5f950f567458deb7ac6a958e9e07eec8211c
/Python/Projects/dbtest/people/migrations/0002_auto_20161204_1710.py
0dafaaee79bea0c99b52161d0c3317aec9b33cc8
[]
no_license
hyteer/ytest
b32402f4a85af2cba298729b81ae73ccedbe6013
98234f88e923a705ce08673a269904ca81117f03
refs/heads/master
2020-01-23T21:47:40.100472
2017-01-23T10:12:21
2017-01-23T10:12:21
74,676,200
0
0
null
2017-01-23T10:12:22
2016-11-24T13:34:34
JavaScript
UTF-8
Python
false
false
824
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-04 09:10 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('people', '0001_initial'), ] operations = [ mig...
[ "hyteer@qq.com" ]
hyteer@qq.com
0804c050636b0238be93856f4924ef5b5e6e7afb
0f51a8ef5caf757cbbfe0a3624b6ba10251193f8
/warehouse/packaging/interfaces.py
cfd2a042685b61630bc25a3759f05e279febda1b
[ "Apache-2.0" ]
permissive
cuiqiang/warehouse
a2bd83b9a5de9ede0c3c1052f5d9087e4dd9af10
c7a5174b90f6a4e70c9e7c4723d1fce5cb22d9b1
refs/heads/master
2020-12-26T03:45:02.616887
2015-05-10T13:59:15
2015-05-10T13:59:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
# 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, software # distributed under the Li...
[ "donald@stufft.io" ]
donald@stufft.io
5a0fd84ce2aa02ed1b842c00529489bfbbf556c4
04b5ff9b8e8c64b3150667c6c59172432d28999c
/wireshark/wireshark_dns_capture.py
4c3de291a8b470df3ec5e052d2dd31d74ccaeac0
[ "MIT" ]
permissive
jeffrade/python-collections
d910be280760c18b021b6ad1b099110c74f23b93
f40bbd4f3f1ceb1d688e9938b0c0aaa98b7f72f4
refs/heads/master
2021-07-15T12:09:21.600610
2021-03-10T15:16:18
2021-03-10T15:16:18
101,828,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
import sys import re def main(filename, args): print('starting...') capture = WiresharkDnsCapture(args[0]) capture.find() print('DONE!') class WiresharkDnsCapture(): __dns_file_location = None __out_file = None __dns_domain = [] def __init__(self, dns_file_location): self.__d...
[ "jeffrade@users.noreply.github.com" ]
jeffrade@users.noreply.github.com
cd563ed6215b53d734e3d8c511ab618f732371e7
4e2dbf2b255a40f06c0490c6ce62d53f61a865ee
/Praktikum/Modul 5/QDateEdit.py
6ab8fc5e892ab2de1a68a3488a9875ba396984c1
[]
no_license
NabilahSharfina/PEMROGRAMANGUI
7a3947e94fd2dc0dd2e5e9ad79e8899814e3e088
8b67cbd13c176b24c5238ebd9087c68b42762af2
refs/heads/main
2023-08-21T23:58:16.885539
2021-10-15T00:05:27
2021-10-15T00:05:27
358,811,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,945
py
import sys from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * class MainForm(QWidget): def __init__(self): super().__init__() self.setupUi() def setupUi(self): self.resize(400, 100) self.move(300, 300) self.setWindowT...
[ "noreply@github.com" ]
NabilahSharfina.noreply@github.com
b402fedd165b97de4032cb90d940543aff9f9d3b
5c5b34f6f598a43ddfbd473228737a27c26d1d8e
/22_括号生成.py
214e398a4ac5e763162057d30f752d405069e313
[]
no_license
lovehhf/LeetCode
34a1bc140b10dc83a32ef9a70f9c73176948a9c4
5d3574ccd282d0146c83c286ae28d8baaabd4910
refs/heads/master
2021-11-04T04:52:34.518621
2021-10-26T15:34:47
2021-10-26T15:34:47
173,673,492
0
0
null
2020-03-03T14:54:09
2019-03-04T04:26:15
Python
UTF-8
Python
false
false
2,370
py
# -*- coding:utf-8 -*- __author__ = 'huanghf' """ 给出 n 代表生成括号的对数,请你写出一个函数,使其能够生成所有可能的并且有效的括号组合。 例如,给出 n = 3,生成结果为: [ "((()))", "(()())", "(())()", "()(())", "()()()" ] n = 2: ["()()","(())"] """ class Solution: def generateParenthesis(self, n): """ dfs添加所有有效括号 剪枝: 1....
[ "853885165@qq.com" ]
853885165@qq.com
2d34a43c3b4450c07e06545c33f29a7ef89ab745
bf59746b818fae750ed8f21c66d1fb184da1aecc
/p3-avaliacao/resultado.py
851c3724274cda08423f1d99ee37c92486c4754c
[]
no_license
bpoliana/praticas-minicurso-ml
cf29eb08f0795d38e62094543a0e1eea8cddf23b
b9fa6de24101ae0d123efbb614013bcbd8f2b3dc
refs/heads/master
2022-12-10T16:13:08.871630
2020-09-02T12:11:46
2020-09-02T12:11:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,108
py
from sklearn.exceptions import UndefinedMetricWarning import optuna import numpy as np import pandas as pd import warnings from typing import List class Resultado(): def __init__(self, y:List[float], predict_y:List[float]): """ y: Vetor numpy (np.array) em que, para cada instancia i, y[i] é a classe...
[ "prof.daniel.hasan@gmail.com" ]
prof.daniel.hasan@gmail.com
fb1f8e94a653194037e6c712b7c8613a7f8f23c8
9a4fb95d07b41c3a9b30971f97f88f279192cd2d
/DevelopmentFiles/mag_start.py
687c793ffb3c44e479726c5da3ea97249df63604
[]
no_license
matheucampbell/RealtimeMelodies
5cf527651ef4ee122aad0870f0a363be554d1ceb
7bdb07a75867d6f0c8c994033b06455768abc0ed
refs/heads/main
2023-07-01T21:15:39.778398
2021-08-13T23:22:46
2021-08-13T23:22:46
344,292,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
import magenta # Google's ML for Art and Music Module import note_seq # Serialized input for notes based on frequency and duration import tensorflow # Generalized machine learning package print("Starting...") # Creating Sequence (Melody A: C# Minor 4/4) mel = note_seq.protobuf.music_pb2.NoteSequence() # Initializ...
[ "noreply@github.com" ]
matheucampbell.noreply@github.com
5cfc48c150ed0cce679cfff781322b5e69a63722
d0792d43fad5a607d232d76d2337e0043bb6ba72
/test_ingress.py
3804e571227e49ad29f984fe4bd897119e9ac6b1
[ "MIT" ]
permissive
tebeka/ingress
0add5003ade060e8bf5d579f77bb233de75a4dd7
aa19ed9a95b7a784629ad71f0dddc84017d897ba
refs/heads/main
2023-08-07T15:38:53.545488
2023-06-14T12:05:00
2023-06-14T12:05:00
157,278,670
6
1
null
null
null
null
UTF-8
Python
false
false
1,794
py
from socket import error as SocketError from socket import socket from time import sleep, time import re import ingress def free_port(): sock = socket() sock.listen(0) port = sock.getsockname()[1] sock.close() return port def wait_for_server(port, timeout=10): start = time() while time(...
[ "miki.tebeka@gmail.com" ]
miki.tebeka@gmail.com
ecf1cc3de1218708a5d736282e9bbcb9d5202ac1
d4ee3c7f4a3e5d9d9a9ed9c3cc83ca7e27f4c114
/LinearSVC/analyze_hyperparameters.py
c0a4479abdc8eeaf11dee46d3bd1553fb0dfaf5b
[]
no_license
anuprulez/sklearn_hyperparameter_analysis
963217ca550c33f371d441ed37c28d6fb21fb917
d986c57a29184b7cbd446430f5f04d14e765d804
refs/heads/master
2020-03-26T12:11:25.784854
2018-09-20T16:58:25
2018-09-20T16:58:25
144,880,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
""" Analyze hyperparameters of sklearn machine learning algorithms """ import sys import numpy as np import time import os from os import listdir from os.path import isfile, join import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from mpl_toolkits.mplot3d import Axes3D # file paths CURRENT_WOR...
[ "anup.rulez@gmail.com" ]
anup.rulez@gmail.com
3356162bea19609ee75fb123fdd0be02180f93b3
d498630988c48046d71fb80d3851c571e96d59a5
/os.py
cff6c856d2e00891a8eff75c05b025d95753fd30
[]
no_license
khatriharsh28/harshalkhond.github.io
7fbfb54917f8b78492f54e77e515f3d7cfeb9d98
d50dc472cb0b33a3a02c7eb5a84624daeee894f3
refs/heads/main
2023-08-24T02:51:59.018114
2021-10-24T14:12:50
2021-10-24T14:12:50
413,125,019
0
0
null
2021-10-03T16:07:18
2021-10-03T15:59:33
HTML
UTF-8
Python
false
false
488
py
from PIL import Image,ImageEnhance,ImageFilter img1=Image.open("ph1.jfif") max_size=(1500,500) img1.thumbnail(max_size) img1.save('ph1.jpg') #import os #for item in os.listdir(): #if item.endswith('.jpg'): #img1=Image.open(item) #filename,extension=os.path.splitext(item) #img1.save(f'cab33.jpg') #im...
[ "86038877+harshalkhond@users.noreply.github.com" ]
86038877+harshalkhond@users.noreply.github.com
6c8279bcc600b8aa085d7863a045ad03ab736f3a
083ca3df7dba08779976d02d848315f85c45bf75
/RepeatedSubstringPattern3.py
0f9bf90bef96e168810a12031264881ddf073304
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
class Solution: def repeatedSubstringPattern(self, s: str) -> bool: i, j = 1, 0 n = len(s) dp = [0] * (n + 1) while i < n: if s[i] == s[j]: i += 1 j += 1 dp[i] = j elif j == 0: i += 1 ...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
201a8caa2ac0e35c9721887f358f1fafa9e92878
deb939988a000a87e3145f283b57a3b3f128d4bd
/activity/admin.py
2858af38ba7a1b73619b19ab4c75e44aecb6d489
[]
no_license
Satendra124/cht-backend
abd18ed3bc4241acd6aadbb6ad60906199bf2241
d353f98c36e574c62ab91f75574dfa16bbabda55
refs/heads/main
2023-08-16T03:33:59.388814
2021-09-30T14:00:52
2021-09-30T14:00:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from django.contrib import admin from .models import Activity, SleepEvent, Survey, UsageData # Register your models here. class SleepAdmin(admin.ModelAdmin): readonly_fields = ('time_end',) admin.site.register(Activity) admin.site.register(Survey) admin.site.register(UsageData) admin.site.register(SleepEvent,Sl...
[ "satendra.raj1241@gmail.com" ]
satendra.raj1241@gmail.com
62c4578335124006470ede4c2761da6bf679eb64
93c9e3697c9e17b52561d54dfbb31cc8c5a765eb
/cool_django/wsgi.py
f641d39713a8b95b4a89578ee21a645e880d8447
[]
no_license
minar09/cool-django
d065976dcf1d1e191bc3f4bfb2b66b47d41cf637
7ad1d04882f7d6e8b177ee99354d5c7ad3c97ed6
refs/heads/master
2021-01-12T10:58:39.483361
2016-11-05T06:02:38
2016-11-05T06:02:38
72,778,880
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
""" WSGI config for cool_django project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "minar09.bd@gmail.com" ]
minar09.bd@gmail.com
38e603282b78b3b541f33eda526c3cda85a1015a
765ac31545ea443f406493615603dd973b6a27f1
/pycode/restSrv.py
73e8611448f9ad4ac08de07c7dffd86087aab9c4
[]
no_license
aleksandarkovacevic30/smv-blueprint
6ffbc370bc20228e8eab9640871b2e9b41a7859f
22dc97a26161928a031889a06ada6bc900249e74
refs/heads/master
2022-08-22T08:22:49.459038
2020-01-17T10:45:35
2020-01-17T10:45:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
from flask import Flask, json from flask import request import random states = ["DEVICE_INACTIVE_STATE","DEVICE_ACTIVE_STATE","DEVICE_ERROR_STATE"] api = Flask(__name__) @api.route('/api/device/status', methods=['POST']) def post_device_status(): if not request.json: abort(400) print(request.json) resp...
[ "akovacev@intersystems.com" ]
akovacev@intersystems.com
7edfcbe3571033cb681c2f534078ce61f178fea9
f7ec5c267111ffee58711586471d602c45166d0b
/FreqSeek.py
89501e73ef1aaef966761340f19defef72ce43fd
[]
no_license
ManeshNarayan/GenomeAnalysis
6bbc8c4d297b26643f94f3d438372d13401c4f90
3b76bc2d2247469e1c7b0c7ba8cc8bc335effb43
refs/heads/master
2021-01-01T03:50:35.988683
2016-11-08T19:30:59
2016-11-08T19:30:59
57,366,724
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import itertools import os,sys import xlsxwriter from multiprocessing import Pool def spacerCountWrite(motif1,motif2): Files = [open("gen.txt","w")]*30 workbook = xlsxwriter.Workbook(motif1+"-"+motif2+"/"+motif1+"-"+motif2+".xlsx") worksheet = workbook.add_worksheet() worksheet.write(0, 1, "A") workshee...
[ "noreply@github.com" ]
ManeshNarayan.noreply@github.com
0d4fd0289193ebb58c6326e031b53ce58d6882c1
34ce81ba8764f3c5ac14ab8194bd40ba4039d368
/LeetCode/85_maximalRectangle.py
7b348c1afb9cf342889ea38b50b55e9b91bb1ece
[]
no_license
Una-zh/algorithms
b06a7292da7ce914795fdd14c0e9332aa74d5e65
24cf4bb2496c4901aa000ff692a58396ff45589a
refs/heads/master
2020-07-24T18:23:57.073470
2019-09-12T13:56:48
2019-09-12T13:56:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
# -- coding: utf-8 -- # author: una # datetime: 2019-08-15 15:55 from typing import List class Solution: def maximalRectangle(self, matrix: List[List[str]]) -> int: if not matrix or not matrix[0]: return 0 def largestRectangleArea(heights): if not heights: ...
[ "994521950@qq.com" ]
994521950@qq.com
5c6a74ca2440defc0e3aa24f241551b7899aec5a
c2af84d93b1c160ab90a580949247eeb9f0f6bc3
/src/game.py
67c0f9bf5fcc4e139debccf8bebdc6bb4e5dcbae
[]
no_license
jhnkim23/SnakeAI
06bff316a91d88d090e6f1a3c0a6f013ee00fe34
e21603934c8b507d8d182e3549a2ed1f23b6598a
refs/heads/master
2023-08-17T00:10:08.474112
2023-08-13T17:46:56
2023-08-13T17:46:56
285,366,744
0
0
null
null
null
null
UTF-8
Python
false
false
3,323
py
import pygame import random NORTH = 1 EAST = 2 SOUTH = 3 WEST = 4 cols, rows = (15, 15) block_size = 30 snake = [(0, 2), (0, 1), (0, 0)] prev_direction = SOUTH direction = SOUTH food = (random.randint(0, cols-1), random.randint(0, rows-1)) while food in snake: food = (random.randint(0, cols-1), random.randint(0,...
[ "junholee6a@gmail.com" ]
junholee6a@gmail.com
c21baec84c2ca56107d83dc562391ea5f739d031
24e321fb4b36af3cf38090e6a1c3ded8c4d2c678
/grammar-basic/Day40/5_3.2.py
6716bfc833763dea2344197696cbd39e8d1b8493
[]
no_license
zhent1106/python-learning
027635b23bfa36074fa3683e6db98cfe8446def2
06302db66fc9a3aeb57528aa921baa9849219857
refs/heads/master
2021-04-17T16:37:54.351257
2020-06-06T05:05:22
2020-06-06T05:05:22
249,459,773
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
""" 元组是不可变的,所以没用插入和删除方法 """ from numpy import random a = () # 空元组对象 b = (1, 'xiaoming', 29.5, '17312662388') c = ('001', '2020-05-04', ['三文鱼', '电烤箱']) # 从[1,5)区间内随机选择 10 个数 a = random.randint(1, 5, 10) print(a) at = tuple(a) print(at) # 统计 3 出现次数 at.count(3) print(at.count(3))
[ "1299088269@qq.com" ]
1299088269@qq.com
91724e3cf1d2a293e5ba66f794160dbad8996b76
e4c3653fe09b0ac6e4f8450be111a7988ac5b405
/data/small.py
39c06c88beede54e41f865fea2b4bedbb8bad99b
[]
no_license
Maronato/NGP
75a8ca7b80df1e9b37b497f04189cc18e93bc2a0
3fd2c3c3eb77fe081e9a262224f420f79cbe09cf
refs/heads/master
2020-07-06T00:51:34.072938
2017-04-21T23:53:53
2017-04-21T23:53:53
73,972,542
3
0
null
null
null
null
UTF-8
Python
false
false
125
py
X = [ [5, 3, 0, 1], [4, 0, 0, 1], [1, 1, 0, 5], [1, 0, 0, 4], [0, 1, 5, 4], ] def load(): return X
[ "gustavomaronato@gmail.com" ]
gustavomaronato@gmail.com
a1aab4298b55a5e3cb7d2463a99b436ac2d74f5a
c78e67c6eb74e505fbcbbb38d2f7c17daaf72b60
/leetcode/609. Find Duplicate File in System.py
0b99a10cbb5474d3d2aed453ffc7df556bd8a429
[]
no_license
CapSOSkw/My_leetcode
8af706066a464ebeb91888048ee296e8c5f4d195
32c37aee41e6fdd5b95f639239b9d72d22d7541c
refs/heads/master
2021-07-10T02:35:36.501353
2020-07-01T12:40:43
2020-07-01T12:40:43
141,933,204
0
1
null
2018-09-26T00:57:35
2018-07-22T21:51:14
Python
UTF-8
Python
false
false
2,823
py
''' Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of duplicate files in the file system in terms of their paths. A group of duplicate files consists of at least two files that have exactly the same content. A single dire...
[ "wky0702@gmail.com" ]
wky0702@gmail.com
583352fdd34769d14f54b7a5a431215c19c362da
baf90325a6f0b0633895dcd184c4c5c088531ee6
/models/__init__.py
eb0d3517bc14316b026b51c0e341bfcb52d30895
[ "MIT" ]
permissive
wo984c/multi-user-blog
7b78fd5d029d7ea1825c3283cd6f6de9912701df
15bff1eee6d13b97ab4b526f7bf5eb383fc4a788
refs/heads/master
2020-03-20T16:48:12.439013
2018-09-08T18:15:36
2018-09-08T18:15:36
137,546,033
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
# Python will know that this directory is a Python package directory # other than an ordinary directory
[ "williamortiz@Williams-MacBook-Pro.local" ]
williamortiz@Williams-MacBook-Pro.local
7e7beb1ec8cd79af6e18720e40d20054f6e8dfb1
ba83e0c274597cab7c5ca3f089f6a2b841cd2820
/Authorize/apps.py
2280c85d0fc3e4429f0d516a55fc910c9fdbffdc
[]
no_license
u1456168/random
814fbabbd200022548e8c9d9c2fe59bb238ffe83
1b9984ff47bcfb9a70c5127e01135c3a2f22ab49
refs/heads/master
2021-01-06T03:57:46.252360
2017-05-08T19:12:44
2017-05-08T19:12:44
90,662,900
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class AuthorizeConfig(AppConfig): name = 'Authorize'
[ "noreply@github.com" ]
u1456168.noreply@github.com
ae32b4f702bc089d454ca0abbbde7f6fcdb4e387
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/basic/servicegroup_lbmonitor_binding.py
66fe42dff6c016224ea1e6bca3ab49cdf79478be
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
13,641
py
# # Copyright (c) 2008-2019 Citrix Systems, 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 l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
910cf1056b16c60ffd537ab2d22a1b09f7182cc2
d8f5a5f3a8b597765df1fcaaf112b9d5eaa3ae2c
/Raspi_I2C.py
c5d1d77e3805ed34f16ccb5ae13679ee3bdfd038
[]
no_license
andy-pi/berrybot
427174478ab2280451251d937160ea34091c5a30
c05f05394090eb51d54124d403ac5dc7f790d775
refs/heads/master
2021-01-01T03:44:05.094852
2016-05-19T23:31:34
2016-05-19T23:31:34
58,291,070
2
1
null
null
null
null
UTF-8
Python
false
false
5,505
py
#!/usr/bin/python # by UKonline2000 import re import smbus # =========================================================================== # Raspi_I2C Class # =========================================================================== class Raspi_I2C(object): @staticmethod def getPiRevision(): "Gets the versi...
[ "info@andypi.co.uk" ]
info@andypi.co.uk
effc1a47e9c10e8be30971f66c7a6ff5d013ef58
5594de0c0417d792265a7f0ef6bd90d10ca4e9fb
/04-进阶语法/05-2-tdp.py
1bc8059a08734ad2764948c77042f7568079df17
[]
no_license
ZHANGSTUDYNOTE/s_python
f0862a7e903ec5d88675743c49e5834365a4feab
0cd29c4bf2dc691705f79be6cf1e599cc8374fbf
refs/heads/master
2020-03-18T03:10:14.263514
2018-07-20T03:00:59
2018-07-20T03:00:59
134,225,952
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
import socket # TDP服务端 def receiveData(): serverSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serverSocket.bind(("", 8899)) serverSocket.listen(5) clientSocket, clientInfo = serverSocket.accept() recvData = clientSocket.recv(1024) print("TDP服务端") print(clientInfo) print(...
[ "zhangpeicheng@kobox.tv" ]
zhangpeicheng@kobox.tv
e035a1a7e3bac97d9b630bf4111fd496fab954b6
74b975adbda2c1ed2fd27c408a3efd805f90d428
/modules/remote_monitor/producer.py
eeca1cc02a0627def58b881869c14c28196e79f2
[ "BSD-3-Clause" ]
permissive
bijbis/GMU
4fa19658633a71fbb3dea07d59bedfc2210db304
aabac6af5f070f6314223298c10eeeda0eedf7a5
refs/heads/master
2021-01-02T09:18:48.402817
2017-08-02T06:58:42
2017-08-02T06:58:42
99,192,084
0
0
null
2017-08-07T10:25:32
2017-08-03T04:54:10
Python
UTF-8
Python
false
false
3,011
py
import threading import struct import time from modbus import Modbus from pymodbus3.exceptions import ModbusException from plc import hotlink import sys import os class ProducerThread(threading.Thread): def __init__(self, group=None, target=None, name=None, que=None, args=(), kwargs=None, verbos...
[ "mayukh2012@hotmail.com" ]
mayukh2012@hotmail.com
63d8c16ac32d0421456ac272c279a8206acf14a7
c9bf4827148182056f50d61fa1488122858b06b5
/Python/Act_05/08.py
321a8edc4c74c6ddfc1a8211fb4f1c6b6598cd23
[]
no_license
borjamoll/programacion
6501bfe8aa84e70e23a7d4dcf7c6292ae0f95d6a
279dd5434b4021fd12d4ddf59eb03151bc5bc8bb
refs/heads/master
2020-09-14T18:29:16.141150
2019-12-11T16:00:50
2019-12-11T16:00:50
223,214,669
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
h=int(input('La altura, crack. ')) halt=1 for i in range (h): asteriscos=halt*"*" halt=halt+1 print (asteriscos) halt=halt-1 for i in range (h-1): halt=halt-1 asteriscos=halt*"*" print (asteriscos)
[ "alumnedani@gmail.com" ]
alumnedani@gmail.com
70e6763a7167494af1c8fa99208ce394137e55b8
0b0d3246d39974cb8faff7d269da2d539415afab
/problem_python/p99.py
948d0f8a4a30b16af95eec8908145aaf64df0eff
[]
no_license
xionghhcs/leetcode
972e7ae4ca56b7100223630b294b5a97ba5dd7e8
8bd43dcd995a9de0270b8cea2d9a48df17ffc08b
refs/heads/master
2020-03-07T17:18:08.465559
2019-09-29T11:11:26
2019-09-29T11:11:26
127,607,564
1
0
null
null
null
null
UTF-8
Python
false
false
977
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 recoverTree(self, root: TreeNode) -> None: """ Do not return anything, modify root in-place instead. """ ...
[ "xionghhcs@163.com" ]
xionghhcs@163.com
b40bfde73e320dcb6f3a2b87ac5dceae370b147e
89c06ba007070ad07bd98798194d496c06f99fc9
/content/migrations/0002_content_author.py
9ca0e322587d2983ff04c2ca0bdd7f0f08801d4a
[]
no_license
srcemre/Django-HotelResarvation
ac21bab7ef6f9162b6a127837dc18b4f523ee275
71731b09a30e51197a0b93f07dd0096534638e0d
refs/heads/master
2022-12-08T01:33:12.897852
2020-09-06T20:03:06
2020-09-06T20:03:06
251,089,317
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 3.0.3 on 2020-05-15 05:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('content', '0001_initial'), ] operations = [ migrations.AddField( model_name='content', name='author', fi...
[ "45533044+srcemre@users.noreply.github.com" ]
45533044+srcemre@users.noreply.github.com
12a4fd41cd8308535a4ab2aae60f7a30b29dd050
5a3ec63587a3948928d735dca46792cadcb14170
/bofh.py
7f0d7859544348d8436e8732193a50f18665e818
[ "MIT" ]
permissive
andrsd/discord-bofh-bot
9b9818a13d2e80f840f65d4f7a18eea41a75df9e
59b6d3f36086b127b13bf9e3891f9cc21009b67f
refs/heads/main
2023-01-21T22:53:56.270532
2020-12-05T15:34:07
2020-12-05T16:06:16
316,242,347
10
0
null
null
null
null
UTF-8
Python
false
false
748
py
""" BOFH - Bastard Operator From Hell Bot for Discord """ import os import random import discord from discord.ext import commands from dotenv import load_dotenv from excuses import excuses load_dotenv() TOKEN = os.getenv('DISCORD_TOKEN') bot = commands.Bot(command_prefix='!') @bot.command(name='bofh', help='Respon...
[ "david.andrs@inl.gov" ]
david.andrs@inl.gov
3d66ab6e1d1bc37c7984efb9fb66543357e2d7b5
d75cb3c2c5e06ab4057c60bb311c367c8f299a0a
/ctest.py
079d82bc4ebaac105a6f88604054be7b02be2ce2
[ "MIT" ]
permissive
kmckiern/AMBER-FB15
2d7c8b2e19ad1d3abaf04437a16b6fcf01d6d206
9ef44ac2e03bdc0280d986bd220dea741d68d4df
refs/heads/master
2020-03-28T21:01:31.324309
2015-08-18T01:56:50
2015-08-18T01:56:50
39,044,777
0
0
null
2015-07-14T00:38:45
2015-07-14T00:38:45
null
UTF-8
Python
false
false
25,088
py
#!/usr/bin/env python """ Test ParmEd's ability to process a Gromacs position/topology file by comparing Gromacs energy/force to OpenMM-via-ParmEd energy/force. This script contains bits of ForceBalance to obtain the Gromacs energy/force and also reads parts of the Gromacs .mdp file to set up the system. There are a...
[ "kmckiern@stanford.edu" ]
kmckiern@stanford.edu
1a9c0582881aadedc8e4ddbfe2db0f031c65bf04
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210202115145.py
2ec490dc5b008658f27f3b4bf5b19dc59224777f
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
20,153
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # 东方财富网 首发申报 import re import pickle from datetime import datetime, timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup import configparser import os.path from utils import save_pickle,load_pick...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
f905ba677261eb44247ee0d2cae42ade3f0e3697
bbcb57ec37b81e566dfb27936dbf71c544776a11
/eventkit_cloud/tasks/migrations/0017_auto_20170623_0011.py
f9f5fb33171ef484f85b24a15d35eaebffaf8992
[]
no_license
bradh/eventkit-cloud
8bfa85ccff4aaed879f3fac1e48025053b719615
7238e5e33fcef29a12cc50328a52afa1292e23aa
refs/heads/master
2020-03-07T12:51:34.994546
2018-03-28T13:03:31
2018-03-28T13:03:31
127,486,879
0
0
null
2018-03-31T01:04:18
2018-03-31T01:04:18
null
UTF-8
Python
false
false
762
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-06-23 00:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0016_auto_20170622_2359'), ] operations = [ migrations.RenameField...
[ "joseph.svrcek@rgi-corp.com" ]
joseph.svrcek@rgi-corp.com
1a95ca5c5a371e2fdc0ceba339b688dedd2ee9e0
0a82a05be26aa10aba5968cd9d07fb83e76877e0
/orm_relationship_demo/urls.py
037c92143399ab3935fe85fcb43c0af0c52bc528
[]
no_license
RubbishBird/orm_relationship_demo
5179a83488cb43a1988734770b576547889f17cc
ab29c98b52eb6230d99a399a67827b152de522a0
refs/heads/master
2020-04-07T16:45:40.368680
2018-11-27T00:22:42
2018-11-27T00:22:42
158,541,900
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
"""orm_relationship_demo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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...
[ "1158784496@qq.com" ]
1158784496@qq.com
d47affe9a305639d964aacb372d3479ab318e72a
80600ef7dfc21fc13e1e91aa96f989e143dc8fc8
/tests/test_users_routing.py
2a7d8f35ed8af93db16770bbe0cfe6f17f935cf2
[]
no_license
TooTiredOne/movies-rating
eb6ae4c7c98e820755519263ccb02b8b96aebdb1
c94876a3cc438b9ca873d85e594edb8e6320437d
refs/heads/master
2023-04-04T04:58:16.045862
2021-04-27T13:22:18
2021-04-27T13:22:18
362,119,325
0
0
null
null
null
null
UTF-8
Python
false
false
4,465
py
import json import pytest from app import models, schemas from app.utils import make_password_hash # pylint: disable=unused-argument # pylint: disable=too-many-arguments def test_registration(unauth_client, session, db_users): response = unauth_client.post( '/users', json={'username': 'new_user', 'pass...
[ "kamaliyevkamil@gmail.com" ]
kamaliyevkamil@gmail.com
1cea20b10c1c9935a7f33d90947c6af0f674d65e
2e16e1a986f20deaf35eb5d649a93cc093e246f6
/light/light_types.py
6ce316876908bf367c827f3eedd2e21aba0f5752
[ "MIT" ]
permissive
crits/light
77569688c71d98f7fdc23a406656b608e269297c
ae2fdc51c2666338d7a17a43f34873c6849c57a4
refs/heads/master
2020-03-23T08:09:37.045784
2018-09-30T03:16:54
2018-09-30T03:16:54
141,310,970
5
3
MIT
2018-09-30T03:16:55
2018-07-17T15:45:24
Python
UTF-8
Python
false
false
3,674
py
import bson from . import backend class LightField(object): def __init__(self, init=None, required=False, pk=False, unique=False): self.required = required self.pk = pk self.unique = unique self.assign(init) self.field_name = type(self).__name__ def val(self): r...
[ "ckane@colemankane.org" ]
ckane@colemankane.org
b10bd2955078b3d0376df93af01e66898e23f7bc
7015c9e091adfc90822706d78a066ae780266e43
/college_football_scraper/spiders/pro_football_spider.py
9bb88df7171dc5b2aade22d94385a5c3db0b00f3
[]
no_license
Nemesisesq/crawlers
bf97523f4f57b7eef58e7f8ce04bd5a8fc98688e
0c7924a968b8525a0df7d11e64ba373daecf2a3e
refs/heads/master
2021-03-16T05:30:14.834286
2016-08-19T01:34:57
2016-08-19T01:34:57
66,019,523
0
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
from datetime import datetime import scrapy from scrapy.shell import inspect_response from college_football_scraper.items import ProFootballScraperItem class ProFootballSpider(scrapy.Spider): name = "pro_football" allowed_domains = ["espn.com"] start_urls = [ "http://www.espn.com/nfl/teams" ...
[ "Nem@Carls-MacBook-Pro.local" ]
Nem@Carls-MacBook-Pro.local
1439f8a0bd6e39194e12cf014e1b345a92b08fee
1e0de646b9f291ace218c3cf8e37b4631c8add79
/src/mudsling/options.py
b776bdf0793f3fc229ba0ae8a8ab6eb6614724ed
[]
no_license
joshbenner/mudsling
ede02460c0cf3023590713741088c1016f8982bf
ed0f00c2a47779ee7df5cf7945fb028d9358bd80
refs/heads/master
2021-01-17T19:13:31.464822
2017-06-18T00:56:39
2017-06-18T00:56:39
60,486,472
1
1
null
null
null
null
UTF-8
Python
false
false
2,163
py
""" Shared options for the twisted plugins. Since the custom app runner basically passes the commandline arguments through, both proxy and server should both parse the same arguments. """ import os import sys from pkg_resources import resource_exists, resource_filename from twisted.python import usage class Options(...
[ "josh@bennerweb.com" ]
josh@bennerweb.com
0e9e64e1b194555091af23e06be2294e7766906a
8c6469dbf424c8f8afac562ef0ad4b99f77d1afb
/venv/lib/python3.5/site-packages/keras_model_specs/model_spec.py
fdc84e2aa7702b851f6c3bfcec9a5d1f4a8eb14c
[]
no_license
KIM-jihye/Ganre_classification
819b1fcfcf9a5e913db7d4e62b3891367e9980db
3274faa0b0f9a2d150fc3d1ac50c048344304f05
refs/heads/master
2020-03-27T00:59:15.845532
2018-08-22T07:52:25
2018-08-22T07:52:25
145,672,435
0
0
null
null
null
null
UTF-8
Python
false
false
2,731
py
import os import json import numpy as np import importlib import copy from six import string_types from keras.preprocessing.image import load_img def between_plus_minus_1(x, args=None): # equivalent to keras.applications.mobilenet.preprocess_input x = x / 255. x = x - 0.5 x = x * 2. return x de...
[ "wore03@naver.com" ]
wore03@naver.com
11e9bc424f9fe9fd08fcc4a0342973d46855481b
ce2bc16ac803434be57c7813732c97ca0b6bd6c7
/lab03/exercise_1.py
281d3c3ac017e9a7f1de21e9ce96d3ac97068b51
[]
no_license
mathana96/dev-ops
0600b22b39d7b619d7f6e303d6d7366b068fb98e
c5eb00294bdcd4965e409b17f62e904ffd17b239
refs/heads/master
2021-07-15T22:01:27.180601
2017-10-19T17:59:32
2017-10-19T17:59:32
104,484,013
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
def miles_to_feet(miles): return miles*5280 print(miles_to_feet(13), 'feet')
[ "mathana96@gmail.com" ]
mathana96@gmail.com
170eb15dd108319e3dd7d98ee27b9c4fe775a40c
91f853597f03898415878e1b2f1c3086880c5369
/dictionary.py
ceed421d4b2d4cbd188f9cf3acc81da6bb372dcb
[]
no_license
crakama/Python-Playground
0b7c6826c536f81d1ab23e4e07a0181c05ec19c6
a044d690c7e63c1e3b74383e1426d07d04c103fc
refs/heads/master
2021-01-17T16:00:20.546879
2016-06-20T20:42:03
2016-06-20T20:42:03
58,690,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# Enter your code here. Read input from STDIN. Print output to STDOUT def dictionary(dictlist, dictlist2): dictMap = dict(s.split(' ') for s in dictlist) keys = dictMap.keys() for x in dictlist2: if x in keys: print "{}={}".format(x,dictMap[x] ) else: print "Not...
[ "crakama89@gmail.com" ]
crakama89@gmail.com
5ac0b2762aefba1170831c34bd85f611ef70882b
f6597a4ff486091aa0f12999a793a61f70a5e7e6
/common/game/config.py
046daeee0e2ca32b772e055ce93e27d3095677b8
[]
no_license
Voldy87/battleshippy
775e2ffb7446556ed087ec50bc1611092e16ae34
4e51bd51f45abec91933dd5418d92b7b17dafcf4
refs/heads/master
2021-09-06T22:02:52.735354
2018-02-12T10:11:57
2018-02-12T10:11:57
113,707,497
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
import common.utils.enums def buildTerminalCodes(): res = { "Reset":, "Void":, "Ship": "Sinked": "Shot": "LastShot": } class GameConfig(): def __init__(self,interface:InterfaceType , storage:StorageType, shipDistance:int, shotRadius:int, LetCol:bool, output...
[ "ing.orlandi.andrea@gmail.com" ]
ing.orlandi.andrea@gmail.com
242e1932b6c0ce135a1f29cac19fa16670a1c91e
0ae860c93319e6f02dacc9f6aca03faca3e612ce
/train.py
eeb554b5e7b2ac9ce59dcdb75848528eabffa2e4
[]
no_license
cenchaojun/basic_detector
52f50bdae717537828312720ed6bbb48922b88db
09f388f79a634347b4cd0ccb870c2d1d52c52033
refs/heads/master
2022-02-01T23:30:02.930967
2019-05-21T08:20:47
2019-05-21T08:20:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,512
py
import InfoManagement import BuildModelpy import BuildDataLoader import torch from Mnist_Net import test_if_cuda_ok import numpy as np # 一些参数 train_index_file = './PIE_DATA/train_index.txt' log_file_path = './model/log.txt' info_file_path = './model/info.info' from torch.autograd import Variable from torchvision.utils...
[ "35644942+floatingstarZ@users.noreply.github.com" ]
35644942+floatingstarZ@users.noreply.github.com
988f5a199dc0023d57a799d494c2ff084c671857
207d8dfb55521fc872e719d51dc9888f53d37c02
/apps/Skill/config.py
11ee7291a7cb5a54213efc36c2555fcda18a6018
[ "MIT" ]
permissive
Gaganabbot/DigiMateApp
8eb75efc073770ad40eb8847f24693206f4f4f79
96bbc581eca46421dad2bc28333030f556b22be9
refs/heads/main
2023-08-18T14:07:20.849086
2021-10-09T04:31:03
2021-10-09T04:31:03
415,201,638
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.apps import AppConfig class SkillConfig(AppConfig): # default_auto_field = 'django.db.models.BigAutoField' # name = 'Skill' name = 'apps.Skill' label = 'Skill'
[ "abbotgagan.vasu@gmail.com" ]
abbotgagan.vasu@gmail.com
2d649ccf72a307bdb505a8e40c224565c08e1435
ceb2ef3dcb89ebda8a56623d1e76a43e4094aaf7
/blog/views.py
5ebd15d473640a00f22c3695d3bfed538a12d550
[]
no_license
Kagati-Incorporation/demo-api
13565a58b21a395e6fa638179a3f603deaa9c8ca
52f8afeceacc9ad4ccf2b002c90175f75e765e9d
refs/heads/main
2023-05-07T11:55:34.531710
2021-05-19T08:39:20
2021-05-19T08:39:20
368,797,214
0
0
null
null
null
null
UTF-8
Python
false
false
4,563
py
from django_filters.rest_framework import DjangoFilterBackend from rest_framework import filters, viewsets, status from rest_framework.response import Response from common.permissions import IsAdminUserOrReadOnly from .models import ( BlogCategory, Article, ) from .serializers import ( BlogCategorySerializ...
[ "ajaykarki333@gmail.com" ]
ajaykarki333@gmail.com
e286a7fae6c77f9c18bb9c0f7ca4a85580e0e8cf
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/override/overriddenMethodRaisesNotImplementedError_after.py
75e07e08f875187bf0e1ff426642397036a7e7df
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
168
py
class A: def m(self): """Abstract method.""" raise NotImplementedError('Should not be called directly') class B(A): def m(self): pass
[ "mikhail.golubev@jetbrains.com" ]
mikhail.golubev@jetbrains.com
f0b454bac4434f77a0742f80849f5e4ca6fc0574
4ee39c4c0ff2038f7834abdae82e74647bdcb596
/Lesson3/time_example.py
9f67681629355400addb3059b6dd575ae4abcae6
[]
no_license
michaeldelcid/Design6
994a42d027080c7cb3413dd2cbba7a939b376b5f
cfd4080fcef6688d899c6af9a099f4e3a68dc40f
refs/heads/master
2021-05-24T15:40:36.722511
2020-05-10T23:51:06
2020-05-10T23:51:06
253,636,153
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
#Displays current time every 10 seconds import time while True: try: nowtime = time.time() print(time.asctime(time.localtime(nowtime))) time.sleep(10) except KeyboardInterrupt: exit()
[ "DiegoOrnelas@Diegos-MBP.home" ]
DiegoOrnelas@Diegos-MBP.home
8b03ceae0eed2e323a4dda60dc65d17b7bce4ae3
27cc9a0797304ee837b899805deb9a3b8ba98fe8
/recognizer/settings.py
70d2d18bc94674bf1f7d13ad58a7e298dac49c6d
[]
no_license
ivanpobeguts/celebrities_recognizer
ef20ebf073fb05bd5f1557f85703f396d7751caa
a1a259ea2d4f42e08d82264d1c096339e377d50a
refs/heads/master
2020-03-30T06:35:28.066632
2019-02-26T12:16:44
2019-02-26T12:16:44
150,873,124
1
0
null
null
null
null
UTF-8
Python
false
false
468
py
import cv2 import dlib import logging recognizer = cv2.face.LBPHFaceRecognizer_create(threshold=95) detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") face_cascade = cv2.CascadeClassifier('opencv_files/lbpcascade_frontalface.xml') logger = logging.get...
[ "Ivan.Pobeguc@gmail.com" ]
Ivan.Pobeguc@gmail.com
1e860576902d08e2ba1bdeef159021e45fde7caf
d18fe449ca37dca20c420b5a5e3f236dd4671f1f
/main.py
ea3023706d48149ac9aa16e253f80098547007d2
[]
no_license
makhtar-sarr/python-projet
db55afb156972fe65893d02a1c1efd099433aa0f
b0d8bbd1ce0c2566e32b3c09f97faaa3f59d3c97
refs/heads/master
2023-06-13T02:37:36.745837
2021-07-01T20:21:23
2021-07-01T20:21:23
382,161,401
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
# Import des modules from point import* from cercle import* from cylindre import* # Teste de la classe Point print("**** Teste de la classe Point ***") point1 = Point(4, 0) point2 = Point(1, 2) point1.afficher() point2.afficher() print() # Teste de la classe Cercle print("*** Teste de la classe Cercle ***") cercle = ...
[ "makhtar.sarr@univ-thies.sn" ]
makhtar.sarr@univ-thies.sn
76d685a1fbc238802b19c89e2a55dae3af5f6355
e47b1cd94c3cefa4a44ebdfcc87050896d14a8f4
/Points.py
fc74bdb86938bc992469a111cb9f1671b494df0b
[]
no_license
thesonofpaul/Cribbage
ce8715c3860007954f1cf1ed20480f611613e1ff
e415a2e69e798c72d9921dbe29f8b2bd91c8c1e1
refs/heads/master
2021-01-19T18:42:13.629803
2017-04-22T00:38:36
2017-04-22T00:38:36
88,375,608
1
0
null
null
null
null
UTF-8
Python
false
false
4,108
py
class Points(object): def __init__(self, cards, top_card): self.cards = cards self.cards.append(top_card) self.cards_only_rank = [] for card in self.cards: self.cards_only_rank.append(card.rank) self.cards_only_rank.sort() self.top_card = top_card ...
[ "zip822@gmail.com" ]
zip822@gmail.com
15e54e2df375dea9ea57b03a8e8b762aeceba27f
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/cloudhsmv2_write_f/cluster_modify.py
4f98bd4495101541c02e7be7ac34b2aecfad03bd
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
8189d9b62eaf50260c9bf25002b16465287e537d
f0117325b7a40779965b35ec6cefc8d12353d779
/python_exercises/py_part1_ex/9_one_to_ten.py
b4663a6bc10c31703648a4cfcc871ba081b263fc
[]
no_license
joshwestbury/Digital_Crafts
4188e71ad631439dcb2cca9eea63d29400c37dc0
66c06f198d110388781a30c0ecb7902d3a8daf5a
refs/heads/master
2021-07-24T05:37:02.370341
2017-11-04T14:36:39
2017-11-04T14:36:39
103,189,666
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
count = 0 while count < 10: count +=1 print(count)
[ "joshwestbury@gmail.com" ]
joshwestbury@gmail.com
d207853ea6fce05a1527e4ac9cc1b8ee1c66a4c9
345b6cfbb505076afc2593da0d834a468d6fb4e4
/projects/curling/python/dc.py
921e1b2a62089f3e6b5a97e415320321b3941aa2
[]
no_license
u-tokyo-gps-tanaka-lab/gpw2016
880d6f8ec097c122ba758767c97e668a8de255d4
2760930ec1cacdd7d78f86268beac693a537582b
refs/heads/master
2021-01-13T09:44:59.200368
2017-05-10T08:34:47
2017-05-10T08:34:47
70,134,358
0
0
null
null
null
null
UTF-8
Python
false
false
8,893
py
# -*- coding: utf-8 -*- # dc.py # Katsuki Ohto import math import numpy as np # constant BLACK = 1 WHITE = 0 N_ENDS = 10 END_LAST = 0 N_TURNS = 16 TURN_LAST = 0 def to_turn_color(t): return t % 2 N_COLOR_STONES = 8 N_STONES = N_COLOR_STONES * 2 SCORE_MIN = -N_COLOR_STONES SCORE_MAX = ...
[ "a.a.b.a.b.c.a.b.c.d.abcd1234@gmail.com" ]
a.a.b.a.b.c.a.b.c.d.abcd1234@gmail.com
c5fdfda86e2d27b77113ba406c7a91ed91ea85d5
bfa12b1960addbf4c026ae2f1e65c185363ba21e
/resident/migrations/0005_auto_20190417_0238.py
bd8d0f6f0a0c916e2a0f90ec3a98923e99a8c567
[ "MIT" ]
permissive
vitorh45/residential
387aedc1f030caf210d3e2f41f0c60fae3000cb4
d36b29a72b9d1d79efab7e8549aec39eacce10d7
refs/heads/master
2022-12-08T13:57:00.579798
2019-06-07T04:20:13
2019-06-07T04:20:13
178,983,759
0
0
MIT
2022-11-22T03:51:05
2019-04-02T02:32:12
JavaScript
UTF-8
Python
false
false
744
py
# Generated by Django 2.2 on 2019-04-17 02:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('resident', '0004_auto_20190414_0518'), ] operations = [ migrations.RemoveField( model_name='resident', name='lot', ...
[ "vitorh45@gmail.com" ]
vitorh45@gmail.com
a004b9cdc6536c22f94e37b236230d27699337ff
266599ee7c19e7e38fce660010ec9e443e418d3b
/day15/day15.py
5c5916cfb3d9018c631566d2b0ef3ab674cbaf2d
[]
no_license
Lisafiluz/Advent_of_code_2020
07c02d318903d1572fb4700278b154b67867e55c
cc86af482e0f50200a037b262c5225364633ab94
refs/heads/main
2023-02-06T17:36:27.151685
2020-12-18T10:26:44
2020-12-18T10:26:44
319,744,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
def get_file_data(path): with open(path, 'r') as file_handler: lines = file_handler.readlines() lines_without_spaces = [line.strip() for line in lines] return lines_without_spaces def get_final_number(first_inp, turns): game = {} # Start of the game inp = first_inp.split(',') j = 1...
[ "liluz@ebay.com" ]
liluz@ebay.com
3f6698f81463d89c8041d67f7e261bbe1a62c573
5b59318f8a4908e9ca39665f9171dddc635f4b06
/python/paddle/static/nn/common.py
687e4545e305ba7dce97593f76430833e102b4fb
[ "Apache-2.0" ]
permissive
chenwhql/Paddle
e85a6f9013e40601c11c214a323cf0d010283cd2
12473236a71e3b5c40a5b41f35fce5a115231a82
refs/heads/develop
2023-08-22T23:31:53.165184
2022-12-15T09:21:01
2022-12-15T09:21:01
137,726,910
0
2
Apache-2.0
2022-10-21T09:57:33
2018-06-18T08:24:29
C++
UTF-8
Python
false
false
123,422
py
# Copyright (c) 2022 PaddlePaddle Authors. 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/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
chenwhql.noreply@github.com
80446453507804feccaab2b1c877c8202883ba81
20daf183a06760a61dfb0e0269050659f7fc21e5
/cmake_笔记/cmake_生成动态链接库/pytest.py
f0081263703b13e6212a9982ec1601bc92355dd2
[]
no_license
qiuzhuangshandian/SmallTools
d2205b1c9eed9943a14ac9cb18a6d63d1d65f24a
026eedcf2b3d1d32753892ea49993a854870d1c2
refs/heads/master
2022-02-14T10:34:19.284676
2021-12-29T08:23:33
2021-12-29T08:23:33
129,028,808
2
0
null
null
null
null
UTF-8
Python
false
false
381
py
from pyfunc import sayhello,testfunc,convfunc import numpy as np X= [[0, 1, 2], [3, 4, 5], [6, 7, 8]] K = [[1, 1], [1, 1]] X_np = np.array(X).astype(np.int32) #注意参数类型要和c++函数里的参数类型一致 K_np = np.array(K).astype(np.int32) result = np.zeros(shape=[4,4]).astype(np.int32) sayhello() testfunc(X_np,3) convfunc(...
[ "noreply@github.com" ]
qiuzhuangshandian.noreply@github.com
1f8c7106b72a53e8bdc19e6d5d0048f0f20df93a
66167c31e42dd2c642557c6b58e599a84d504229
/Batelada_Alimentada/Modelagem/Alimentacao_Taxa_Constante/Inibicao_pela_Biomassa/Modelag_ag_alm_bat_alim_vaz_const_Lee_et_al_corrigido.py
377375a5b688f7f0e1fa39a210213314d00ee02b
[]
no_license
BrunaAQ/Projeto_Iniciacao_Cientifica_FAPESP
ab26a299fd7718f53b405bf73e962094679694d5
6a9131ad90ce095c8863c76370b6238f9585ec95
refs/heads/master
2023-03-17T19:22:09.925701
2021-03-09T18:15:27
2021-03-09T18:15:27
276,701,946
2
0
null
null
null
null
UTF-8
Python
false
false
23,341
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 12 17:02:12 2020 @author: Bruna Aparecida """ ## MODELAGEM BATELADA ALIMENTADA À VAZÃO CONSTANTE CINÉTICA DE LEE ET AL ## # Importação das bibliotecas necessárias para as partes não modulares: import Modulos_Lee_et_al_bat_alim import Modul...
[ "noreply@github.com" ]
BrunaAQ.noreply@github.com
2d3c42d80962b8ac92822559e4ee520b78fc17e7
534f2777f413ddd1179c959d370fd8aaaa70b615
/manage.py
44936832baf7941595ad04e4ddfbfa639e9cf628
[]
no_license
cnf/MarkedImp
363ccee61a9f4311cfd2b7ac37ee5053882d434c
5518c62174c57ac6392ac80cf56e16b022b5f7e5
refs/heads/master
2020-12-24T15:22:12.447719
2012-05-29T20:26:00
2012-05-29T20:26:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
#!/usr/bin/env python from flaskext.script import Manager, prompt_bool from marked import app # import fixtures as _fixtures from marked.database import init_db import os manager = Manager(app) @manager.shell def make_shell_context(): from marked import models return dict(app=app, mod=models) @manager.comm...
[ "frank.rosquin@gmail.com" ]
frank.rosquin@gmail.com
90fdd31968443ff7eb5b493e7141dd22fae266ee
9cbee0c3fbc22172d38d28f18e24c37a4c9e7eee
/ps1c.py
fa4d2b9200fcda048be1abfafb406bc526e1c9bd
[]
no_license
samconstans/wwcode_mit_spring2017
7ffa4e475f394dada60853b56e92a0b3c0d6efd8
44de041f5cd689f09b3b8ab420361d8cf3286cd5
refs/heads/master
2021-01-19T12:08:54.531748
2017-05-24T10:09:31
2017-05-24T10:09:31
88,020,522
0
1
null
null
null
null
UTF-8
Python
false
false
1,168
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 24 13:26:07 2017 @author: Анастасия """ annual_salary = int(input('Enter your starting annual salary:')) down_payment = 250000.0 error = 100 semi_annual_raise = 0.07 r = 0.04 all_months = 36 left = 0 right = 10000 saving_rate = 0.0 steps = 0 while left + 1 < right: ...
[ "nastia-vovk@ukr.net" ]
nastia-vovk@ukr.net
ecddf43835fc02570ec7293ef59cf49e0c1c47f9
916de4fe646dc8e6dea4afb07e928633fed4687d
/nettool/hostname.py
0353882dce3623d0dfe3690bad8c5d235ecdcf5f
[ "MIT" ]
permissive
dirkakrid/nettool
b96f83fbc98f6d537083814ebe06df0f629e93d5
378a58da2bc405d6dd0c5bcead4b35427c0778a1
refs/heads/master
2021-01-21T15:42:54.144014
2016-05-13T07:06:22
2016-05-13T07:06:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,127
py
# -*- coding: utf-8 -*- # import ipaddress from nettool.address.ipv4address import IPv4Address from nettool.nettest import NetTest as nu class Hostname(object): def __init__(self, name=None, ip=None): if name is None and ip is None: raise ValueError('Must specify a name or ip') if is...
[ "glencharmon@gmail.com" ]
glencharmon@gmail.com
0528f183fd22997fff41c8d1a3a520f182da6500
83bbd8a625d25eca5176e3f74edf293ab0eaec52
/produksi/migrations/0037_transisi_user.py
f36285aebc377e8d26175385bc44afd9858eb744
[]
no_license
dimasrizqi/simfutami
1256ba1d064183c84e0ea60b7e41b9f9fb03086a
ea2c6309aab739e600bac9e25a8ce3083351f955
refs/heads/master
2020-04-23T03:21:39.940856
2019-04-12T00:30:20
2019-04-12T00:30:20
170,876,004
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-07 14:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('produksi', '0036_remove_transisi_update_time'),...
[ "dimasrizqi@Jhonny.local" ]
dimasrizqi@Jhonny.local
619d39f280fe2348eecace2659e44c6bf767d8f9
b1dd2d0f777404633790589776bcabaf9e0c94c0
/company/migrations/0012_internshipapplieddb.py
d3d299776c26756dda795574919a18d14c1e9e8d
[]
no_license
BItishree/InternshipRecommendation
93ba38777271c12d752453bbf9bcb0de7ca46e18
c6cad5ad1f5a84b236e65f85bd257b5b55a6f9c5
refs/heads/master
2023-05-06T08:09:00.044493
2021-06-03T13:18:11
2021-06-03T13:18:11
373,477,955
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# Generated by Django 3.1.7 on 2021-04-14 11:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0011_internship_apply_by'), ] operations = [ migrations.CreateModel( name='InternshipAppliedDB', fields=[...
[ "56443929+BItishree@users.noreply.github.com" ]
56443929+BItishree@users.noreply.github.com
0c0a8d0dc3afe1db01d8470f909b4f3489a52720
1a19b0129770c3f60b8a6af39c708dd9075a61ae
/DiceDropOne.py
01f722dacce4dba3bbd53a936a5082c5a1fbd8d9
[]
no_license
Iampineapple/Little-Mathematical-Problems
643875c933abbc31a70dee0bbd71817eac13f4bf
944ce13dbd73d0c249f1dba8dda11d6e9e5c22d4
refs/heads/master
2020-12-24T13:44:20.387265
2015-08-16T20:01:41
2015-08-16T20:01:41
40,141,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
#!/usr/bin/env python #made by Cory on 18 Aug 2014 #This program will take ndp (as in, n dice with p sides on each die) #and calculates the average of ndp, drop the lowest #We do this by summing up all the possible die combinations, #and then dividing by the number of die combinations #This function checks if we've ...
[ "kori.haight@gmail.com" ]
kori.haight@gmail.com
371d6010629dada431dc7b327500474c445e4d21
61fd46efd8efc8af52604ef977a4fe0802c9d566
/journal/migrations/0021_auto_20180415_1122.py
db3019ba31bbff7c774df437f078b854cd2a7c23
[]
no_license
zrmartin/WebApp
daf035f2dc4baf9b0baab18c1bb47c656de1491f
fe76ad2d9fea25939b3826711015efd5c961c7fa
refs/heads/master
2021-05-09T21:07:57.372652
2018-07-12T17:43:50
2018-07-12T17:43:50
118,720,246
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Generated by Django 2.0.1 on 2018-04-15 19:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('journal', '0020_auto_20180414_1940'), ] operations = [ migrations.AlterField( model_name='conce...
[ "zrmartin@calpoly.edu" ]
zrmartin@calpoly.edu
00dc56be07011f9c0232bff19be22aef55335885
70cb2608ed49589f08f2bef04cf4d3b7f5aef2c1
/Python/model_Dummy_regroup.py
6bae7b657de85a7d48b4b8d20f65a8fd1ba529c5
[]
no_license
Rav830/DiscussionTrackerCollaboration-LREC2020
b61180fc8a915bf9c7500b4a2267fb125c0efc7f
af20cf0079e4416ecd9aaf7ae2e085a6a5ee0616
refs/heads/master
2022-06-02T10:08:38.910707
2020-05-05T21:53:50
2020-05-05T21:53:50
223,023,383
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
import config tee = config.Tee('../Results/%s/Dummy%s%s_regroup_model.txt' % (config.args.dataset, config.args.tf_idf, config.args.remove_non), 'w') from header_model_data import * from sklearn.dummy import DummyClassifier print("Regrouping the labels") for i in range(len(yDF)): if(yDF[i] != pr.y_conversion('new-...
[ "ravneetsingh830@gmail.com" ]
ravneetsingh830@gmail.com
27618d86d240c352487bc98038672bf9b88f2853
f9dd12b580207cbd7387a6fd2506175f284c96f2
/160-Intersection of Tow Linked Lists.py
7d79ed26581d5803be8238b9a941d8a563e9cc70
[]
no_license
Damon0626/Leetcode-
c2e8ced0f2e6da3d3116aa33415bca691bb57217
0fb8fa7d9ef65bee816a8aa35326b975d6fb7844
refs/heads/master
2020-04-03T03:05:00.090478
2019-04-15T15:10:05
2019-04-15T15:10:05
154,976,056
1
0
null
null
null
null
UTF-8
Python
false
false
2,435
py
# -*-coding:utf-8-*- # @Author: Damon0626 # @Time : 19-4-9 下午10:09 # @Email : wwymsn@163.com # @Software: PyCharm ''' Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to intersect at node c1. Example 1: Input: inte...
[ "2404448093@qq.com" ]
2404448093@qq.com
b0924b59c0c9b65d85d8a024b94bb2563bfa590f
693d42b5891560ce301dc02335d2ebca9cca60bd
/String Reduction.py
991288b044b2200ea435a80a4de8ca76fd09d2f9
[]
no_license
jananisairam/Hackerrank-Solved-Programs
37e6caeedf626399e1a4874aa45f4e7db7ea3ba7
8155d0aa9b3150dce5f70f70c2e85e45c69a1305
refs/heads/master
2021-01-18T17:52:32.932116
2017-04-02T12:56:11
2017-04-02T12:56:11
86,821,554
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
from collections import deque def stringReduction(a): queue = deque([a]) min_length = len(a) while queue: a = queue.popleft() if len(a) < min_length: min_length = len(a) for i in range(len(a)-1): substring = a[i:(i+2)] if substring == "ab" or subs...
[ "noreply@github.com" ]
jananisairam.noreply@github.com
9dcb2ba52e5b69c9e273e4abb9b53b12f2a9053f
972762e02b2a2c93b6421644c2336d472ca38dcc
/alternative.py
514488fc5e6adfc02cf44cddbe834894a90f9bd2
[]
no_license
nicolas1805961/Markov-chain-image-denoising
b622f797dce92d9c4b2fbc543585073d7cfba0cd
eb276fa478dd3586d0b70a24812cd2550a45ffbf
refs/heads/master
2023-02-16T21:03:32.620432
2021-01-15T20:35:40
2021-01-15T20:35:40
310,937,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
# To add a new cell, type '# %%' # To add a new markdown cell, type '# %% [markdown]' # %% from skimage.io import imread import numpy as np import matplotlib.pyplot as plt image = imread('peppers.jpg') fig, ax = plt.subplots(1, 1, figsize=(10, 10)) ax.imshow(image) # %% from skimage.color import rgb2gray image = rg...
[ "nicolasportal92@gmail.com" ]
nicolasportal92@gmail.com
d8c1a0c3c78c52141206c624cab6d5f68155c424
0be960f5e7d443698f5fa26a23dd2259c5c8ad05
/1清洗数据.py
5b180529836b4c7272c2a2123dc7e41258779f01
[]
no_license
102757017/lstm-multi
e88f129f43f5bc1317e6c7b38fdd239c95cef57f
eeb4074a9416af6f567854e082ba1dd6f0e98a18
refs/heads/master
2022-07-09T23:12:02.310606
2020-09-06T15:17:07
2020-09-06T15:17:07
126,478,981
12
3
null
2022-06-22T03:48:45
2018-03-23T11:58:21
Python
UTF-8
Python
false
false
1,010
py
from pandas import read_csv from datetime import datetime import os import sys os.chdir(sys.path[0]) # load data def parse(x): return datetime.strptime(x, '%Y %m %d %H') # 从csv文件载入数据 #parse_dates:这是指定含有时间数据信息的列 #index_col=0表示将第0列作为索引列 #date_parser:指定将输入的字符串转换为可变的时间数据。Pandas默认的数据读取格式是‘YYYY-MM-DD dataset = read_csv(...
[ "sdf63fg@yeah.net" ]
sdf63fg@yeah.net
0f52bf017c0980dee607b98226646995ae4e8b27
725e48574f6dbf9ddb4220e81b75926e8a382a3e
/surf_sift.py
bb849e6e48cd530e50435907875f3d22639fbf6e
[]
no_license
erdustiggen/ImageMatching
562e9af7a93253d0487c087d0df408adaabac4f9
ac83e6d7cc458686700b1650e1f22fa883081bda
refs/heads/master
2020-04-11T18:46:43.485386
2018-12-16T14:56:28
2018-12-16T14:56:28
162,011,287
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
#!/usr/bin/python3 import numpy as np import cv2 from matplotlib import pyplot as plt # img_path = "NoiselessSatelliteImage.png" # img_path2 = "NoiselessSatelliteImage2.png" img_path = "sat_img.png" img_path2 = "noiseless_img.png" # sift = cv2.xfeatures2d.SURF_create(800) sift = cv2.xfeatures2d.SIFT_create(800) fla...
[ "erdustiggen@gmail.com" ]
erdustiggen@gmail.com
bb5c459af5b5ab58cff9c8bab944ef7d0b44df25
8ef3f36d842216aa183e90fba1b8aaf7e7cc3eb6
/elpheba/migrations/0004_transfer.py
c87e64c87f2607a8f43cea500f8dec23a8322630
[]
no_license
kmugglet/django
11f3ae7873bc1e4a0de6d3334588e878ba470c64
4d0af8b43901867d94c79a3cf8287f851f3b5bc5
refs/heads/master
2020-03-28T18:36:20.349994
2018-09-15T11:21:35
2018-09-15T11:21:35
148,894,872
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-08 11:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('elpheba', '0003_account_banked'), ] operations = [ migrations.CreateModel( ...
[ "kmugglet@gmail.com" ]
kmugglet@gmail.com
2ee0a9eaff8bf9d9de4f083fbc505de0679dc1f2
2c644a4a0e1eaf8373e4a84a5044a33384668b59
/new/new/urls.py
87259ccce5cc5b8c4c5b44bf29dcc45231948063
[ "BSD-3-Clause" ]
permissive
pralakxavier24/Django
99ec9ba12fb0f726028098901ca9d2cb74e2a5b8
988708fa6f6efd401b93b9c2f051b93fe64191ff
refs/heads/main
2023-04-16T18:46:02.119606
2021-05-03T09:04:39
2021-05-03T09:04:39
363,873,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
"""new URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-based vie...
[ "pralakxavier@gmail.com" ]
pralakxavier@gmail.com
7acabc3d4816f58683c1adc1855b5d22b9f65da9
22e41be57f6c8b6475451e3581ca3ebfe4eee229
/app02.py
aa8b5bdef856e827be09a19180ddde124c2f14d2
[]
no_license
LaisviToliai/PyConLt2019DashExamples
9ddb88e130d1a56d2dd3365bd7a58e518b23b4f2
1c3d0d4d6bf1c4b37fbdf14957c7284961a3b5b6
refs/heads/master
2020-05-27T23:59:32.770816
2019-05-26T07:44:05
2019-05-26T07:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
"""Example of poor global state management.""" from pathlib import Path from typing import Iterable, Mapping import dash import dash_core_components as dcc from dash.dependencies import Input, Output import dash_html_components as html import dash_table import pandas as pd # create the app app = dash.Dash(__name__) ...
[ "dom.weldon@decisionlab.co.uk" ]
dom.weldon@decisionlab.co.uk
10d54c73b4fe7139233fbda6f0e168b8595b5719
e8e98d5125425fb6ff21d9a3609b05278b19c10c
/setup.py
f958bcff40a72d039429854e76c0a29e0a49a1a7
[ "MIT" ]
permissive
ipdae/nirum-python-wsgi
76974b909be4de235e8ea78d098a8cdaf1467df8
e9a6867f73c2bcde658c8a73a34afb4267c6e13a
refs/heads/master
2021-08-24T07:21:41.949849
2017-12-08T08:12:16
2017-12-08T08:12:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
import ast import os import re import sys from setuptools import setup, __version__ as setuptools_version def readme(name='README.rst'): try: with open(name) as f: rst = f.read() return re.sub( r'(^|\n).. include::\s*([^\n]+)($|\n)', lambda m: m.group(1) + (rea...
[ "hong.minhee@gmail.com" ]
hong.minhee@gmail.com
d2dc638524f6e35f32122cb463a2fab665e80b9e
5491f4b600f7ecd1d0848d60d7b017e5e407d4c7
/servicios/migrations/0001_initial.py
c1a04f0e87a898b641e7e4ecdd948ec0fcbb176e
[]
no_license
GustavoPMex/web-inventario
409456dd356bbfcadd735cc9b8e2aae7605a0e37
d0ac36ee791ff0262f9390497da1dd990581a4fd
refs/heads/master
2023-06-10T10:08:39.029666
2021-06-30T23:40:19
2021-06-30T23:40:19
296,677,352
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
# Generated by Django 3.0.8 on 2020-08-27 05:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('registration', '0002_remove_profile_correo'), ('cliente', '0001_initial'), ] operations...
[ "gustavoppymex@gmail.com" ]
gustavoppymex@gmail.com
5735e0eea55f32b3e9089d7447093ed6bc72b14a
12f50dac1c5fbdae726e1fe83f31d3e24b9bf0e6
/hyperlpr/finemapping_vertical.py
11870f31e754c2f46e5e295b173550394247b5ed
[]
no_license
HannaRiver/HyperLPR
e9611d763a1cda018cdf83a7dd8e9f142c379e11
28e900ee666afce738127a7125743dd5d3817865
refs/heads/master
2021-07-03T19:40:05.802473
2017-09-26T01:37:57
2017-09-26T01:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
#coding=utf-8 from keras.layers import Conv2D, Input,MaxPool2D, Reshape,Activation,Flatten, Dense from keras.models import Model, Sequential from keras.layers.advanced_activations import PReLU from keras.optimizers import adam import numpy as np import cv2 def getModel(): input = Input(shape=[12, 50, 3]) # cha...
[ "455501914@qq.com" ]
455501914@qq.com
0d8b4c467eac9dc88297679578b72230e93a2a6b
3d9d193673cd1e3b5c10f824b7bbde6ecaf8e67f
/migrations/versions/19e377378700_.py
7b481b20b3496e3fd7cf6913effe1fbb82b4202c
[]
no_license
n0thingness/cs446-api
696b6ef742863eecb9bf63a475654ced547364f8
071f0016b2f049d32e5f97466d57aaef0dbb0fe1
refs/heads/master
2021-09-10T20:34:25.841174
2018-04-01T22:20:36
2018-04-01T22:20:36
125,778,068
0
0
null
2018-04-01T22:20:37
2018-03-18T23:42:17
Python
UTF-8
Python
false
false
831
py
"""empty message Revision ID: 19e377378700 Revises: 526868857b1f Create Date: 2018-03-31 16:36:24.905609 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '19e377378700' down_revision = '526868857b1f' branch_labels = None depends_on = None def upgrade(): # ...
[ "daniel.briskin@gmail.com" ]
daniel.briskin@gmail.com
805148e822a48ceaa86904ea3e2f94559d77c994
623833fd87ca9638780adeef55d1a25525bc2f4e
/PRACTICUM--Oral_Microbiome_Browser/read_info_parser.py
c3ac13d0fa99aa16fd48de4d8f5d332f9167d46c
[]
no_license
BryanChim/Python--Bioinformatics
c2816eb34b52237bdded717900331e23c52f4fee
ad42909a16127d70c62725ba43b76a12387926e8
refs/heads/master
2021-01-22T18:28:16.113133
2014-11-17T07:07:08
2014-11-17T07:07:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
__author__ = 'Bryan' import re import argparse import os read_dict = {} parser = argparse.ArgumentParser(description='Get reads and read info') parser.add_argument('dir_of_fasta_files', type=str, help="directory to input fasta files") parser.add_argument('output_file', type=argparse.FileType('w'), help="output file ...
[ "bryanchim88@gmail.com" ]
bryanchim88@gmail.com
e8aa570ea9409224e1b9f7a069063dba75362eb2
3a8110706a67e111305a943ab7590d94782b0f6a
/Matplot/matplot1.py
1c7d45579e9e1a44d0f63f6e3d252cf6245c53d6
[]
no_license
pawwahn/python_practice
41fac14f7107fd8f7c8a33fa7e09561f24bf9376
9e6564582abeb9f65c95de86121199939d0ee388
refs/heads/master
2022-10-04T10:32:49.952690
2022-09-15T09:43:18
2022-09-15T09:43:18
223,134,205
1
0
null
null
null
null
UTF-8
Python
false
false
135
py
import numpy as np from matplotlib import pyplot as plt x = np.arange(0,8,0.1) print(x) y = np.sin(x) print(y) plt.plot(x,y) plt.show()
[ "pavan.skt@gmail.com" ]
pavan.skt@gmail.com
c2b41d27d310d8292e93ff05e9da0d88f018702f
4fc120bf5d63dd81916663b8f6ec76e5f9f1f59e
/Python/django/books/apps/book/models.py
3bf1922d7e8c8c766cb3c951dbe36674859dc051
[]
no_license
mjnorona/codingDojo
3e8e31853131904922de256f20fd22afaab47194
5864d4b5d30f3edca5e20506d24970edc33a8c50
refs/heads/master
2021-01-23T12:48:24.549638
2017-08-22T07:19:57
2017-08-22T07:19:57
93,197,487
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from __future__ import unicode_literals from django.db import models # Create your models here. class Books(models.Model): title = models.CharField(max_length = 30) author = models.CharField(max_length = 30) published_date = models.CharField(max_length = 30) category = models.CharField(max_length = 30...
[ "marcusjeremynorona@gmail.com" ]
marcusjeremynorona@gmail.com
61edd1db2587c0fed59a6ff24856b1d33d604218
05322cd9503df62700ebc7cfe4f1dab460e00f45
/api/app/v1/resources/queries/models.py
3aba61e092d257ed6ffe38b1d0549ec7520ed5e0
[]
no_license
duanribeiro/serasa_exercise
6650a2ebf1e75c4a14519848c5f315b7b03e3c2f
aaea66e8736ce8d99d778a192fafc8115149182c
refs/heads/master
2021-03-18T03:07:50.914790
2020-03-21T12:29:38
2020-03-21T12:29:38
247,041,284
1
1
null
null
null
null
UTF-8
Python
false
false
791
py
import json from app import mongo from flask_restplus import abort from bson.json_util import dumps from quotes.helpers.auth import AuthEncrypt class Auth: @staticmethod def change_username_password(payload): username = payload.get('username') password = payload.get('password') pass...
[ "duan.ribeiro@hotmail.com" ]
duan.ribeiro@hotmail.com
2c0e4f4423d882ea7287ddc5578297c8f614d352
61826d69a04391ba99c26e207aa7273055977d59
/291project.py
65afe78ce0f55dddb254bfe96e7c02a44a8444d8
[]
no_license
dbsigurd/291Project1
2e4f8c1156eb8c5905694e32ce3dcd198d09e486
95a0e237891d52fa1b1c24fc16b500bb57a33dbb
refs/heads/master
2021-01-15T13:45:06.022482
2014-10-27T16:41:38
2014-10-27T16:41:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
import sys def enter_prescription(): print("entered prescription") main() def medical_test(): main() def edit_patients(): main() def search(): main() def main(): print("########welcome to 291 mini project menu########") print("###please enter 1 for entering a prescription###") print...
[ "dbsigurd@ualberta.ca" ]
dbsigurd@ualberta.ca
1c5b4aba1da2d58321dacc07ca25c917990c0020
52b5773617a1b972a905de4d692540d26ff74926
/.history/countingValley_20200625160352.py
0822a0291a7f41887b2fe1725ddb17cb8c8fe49a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
def countingValleys(str): # no need to split cause you can traverse throught a str # how to differentiate between mountain and valley # mountain you go up then down # valley you go down then up valley = 0 seaLevel = 0 mountain = 0 journey = 0 i = 0 while i < len(str)...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
ebd350a092cb9bb83ac006844baa08e4d6d66277
eb500d165a7f4234c8cff93a1b39b99d14b7a9e8
/list_github_repos.py
a83edc1eca361020b4fa820db6a4ecefc0fe28d8
[]
no_license
boredants/list_github_repos
a4ef58baad440b7c64c6507dff25e5d1a1598c31
6014eec27c1732f5aca3a5b4ef321e020a7892c2
refs/heads/master
2020-12-01T22:29:40.237480
2019-12-29T19:15:01
2019-12-29T19:15:01
230,792,756
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
import requests print("\n################################") print("# LIST GITHUB REPOS FOR A USER #") print("################################") while True: githubUser = input("\nEnter a username or 'q' to quit: ") print() if githubUser == 'q': print("Exiting\n") break else: ...
[ "noreply@github.com" ]
boredants.noreply@github.com
7026f58d5b2a95af765eb6ac76900dd21f59464a
a780e9ce2b33fd00e15dd66a826c6eb8e0afbd13
/tuition/migrations/0009_post_user.py
dce735ae6ae295f283e225d6f918ef1aa292fcfd
[]
no_license
litonbairaggi/djtestproject
dfa2ea40557dd37fc705f80b9b20115b6d9328a9
c9504a4aaa3f5638087f4ce976916b21bd290130
refs/heads/master
2023-04-27T11:26:52.414889
2021-05-18T15:41:06
2021-05-18T15:41:06
366,428,699
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
# Generated by Django 3.1.7 on 2021-05-11 21:06 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), ('tuition', '0008_post_med...
[ "litonovi2013@gmail.com" ]
litonovi2013@gmail.com