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
eed81b2148a2b0356abbbe232009aeb5e85a1bb9
f1aebfea678dbcb8b35e5497df07a81c7380dc34
/pyside2_hige/multithread/Qtimer.py
12ee7c7a852cabf52a3c443d589daa95720bd576
[]
no_license
wangcoolc/Python_For_Qt
ffd911be11d9db9dcfecc7f745781508265810e3
a87a680940163102ee900c641e5e00888c4fc373
refs/heads/master
2023-04-10T00:34:57.812109
2021-04-08T11:17:21
2021-04-08T11:17:21
333,057,739
4
2
null
null
null
null
UTF-8
Python
false
false
1,501
py
import sys from PySide2.QtWidgets import QWidget, QPushButton, QApplication, QListWidget, QGridLayout, QLabel from PySide2.QtCore import QTimer, QDateTime class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setGeometry(500,500...
[ "595355940@qq.com" ]
595355940@qq.com
54f716d5da661b1b58e15774668eaf90fafa5b34
bd04d6c138665d01349f62d912514c5a7343a6d0
/algorithm/SW_expert_academy/5431.py
9809e4e26493dcaa1ec72fa0cb932d15861c1873
[]
no_license
gvg4991/TIL
fe6209c21a228d3500ca64615df2f1066a5d0f11
ada8fbdc88555d327beae2ae8eee16b4739240aa
refs/heads/master
2021-06-08T06:44:37.554473
2021-06-06T09:06:47
2021-06-06T09:06:47
162,512,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
# ๋ฏผ์„์ด๋Š” ๊ต์ˆ˜๊ฐ€ ๋˜์—ˆ๊ณ , ์ด๋ฒˆ์— ์ฒ˜์Œ์œผ๋กœ ๋งก์€ ๊ณผ๋ชฉ์— ์ˆ˜๊ฐ•์ƒ์ด N๋ช…์ด๋‹ค. # ๋ฏผ์„์ด๋Š” ์ฒ˜์Œ์œผ๋กœ ๊ณผ์ œ๋ฅผ ๋‚ด์—ˆ๋‹ค. # ๊ทธ๋ฆฌ๊ณ  ์ œ์ถœํ•œ ์‚ฌ๋žŒ์˜ ๋ชฉ๋ก์„ ๋ฐ›์•˜๋‹ค. # ์ˆ˜๊ฐ•์ƒ๋“ค์€ 1๋ฒˆ์—์„œ N๋ฒˆ๊นŒ์ง€ ๋ฒˆํ˜ธ๊ฐ€ ๋งค๊ฒจ์ ธ ์žˆ๊ณ , ์–ด๋–ค ๋ฒˆํ˜ธ์˜ ์‚ฌ๋žŒ์ด ์ œ์ถœํ–ˆ๋Š”์ง€์— ๋Œ€ํ•œ ๋ชฉ๋ก์„ ๋ฐ›์€ ๊ฒƒ์ด๋‹ค. # ๊ณผ์ œ๋ฅผ ์ œ์ถœํ•˜์ง€ ์•Š์€ ์‚ฌ๋žŒ์˜ ๋ฒˆํ˜ธ๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ถœ๋ ฅํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ž‘์„ฑํ•˜๋ผ. # [์ž…๋ ฅ] # ์ฒซ ๋ฒˆ์งธ ์ค„์— ํ…Œ์ŠคํŠธ ์ผ€์ด์Šค์˜ ์ˆ˜ T๊ฐ€ ์ฃผ์–ด์ง„๋‹ค. # ๊ฐ ํ…Œ์ŠคํŠธ ์ผ€์ด์Šค์˜ ์ฒซ ๋ฒˆ์งธ ์ค„์—๋Š” ์ˆ˜๊ฐ•์ƒ์˜ ์ˆ˜๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜ N(2โ‰คNโ‰ค100)๊ณผ ๊ณผ์ œ๋ฅผ ์ œ์ถœํ•œ ์‚ฌ๋žŒ์˜ ์ˆ˜๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ์ •์ˆ˜ K(1โ‰คKโ‰คN)๊ฐ€ ๊ณต๋ฐฑ์œผ๋กœ...
[ "14.73oo6o19@gmail.com" ]
14.73oo6o19@gmail.com
c45e8bb0619854d3cc813b61ba0657f76f32ff0d
5ef2e82476e5e6e1527ddcf368ac687f0dc4e457
/ex2_reg.py
06a1f0c2e7beb70a751b9079726eff729900b1e7
[]
no_license
subsoontornlab/telluriumClass
ba84fe24233b5c46505fd49c53a5899a987c8424
8cadf999a066d2e8f7b1116667a828db102bbded
refs/heads/master
2021-01-20T06:58:02.851266
2017-08-27T01:27:10
2017-08-27T01:27:10
101,522,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
# Simple constitutive gene expression model import tellurium as te import numpy as np import pylab as plt # set simulation time timeBegin = 0 timeEnd = 50 timePoint = 100 r = te.loada (''' J1: G -> G + X1; a1*G; J2: X1 -> ; b1*X1; J3: R1 + G -> R1G; kf_rg*R1*G J4: R1G -> G + R1; kr_rg*R1G ...
[ "noreply@github.com" ]
subsoontornlab.noreply@github.com
5c533c8f2bac4d0bbe001d9a67eaa360fe0cb4dd
630216fc466083829783a525b958b69223e2e29e
/adk/src/site_scons/site_tools/rulegen.py
71a3384eb4196557af2e3712836d56cd17838657
[]
no_license
litterstar7/Qualcomm_BT_Audio
43c67dc69ff3ee868c3af755147435d9251d99fc
bff2d8c9e5e1ead4018f63098c1adea0e0c28184
refs/heads/master
2022-12-19T03:21:12.052733
2020-09-24T10:25:09
2020-09-24T10:25:09
297,954,877
4
1
null
null
null
null
UTF-8
Python
false
false
1,556
py
""" SCons Tool to invoke the Type Definition Generator. """ # # Copyright (c) 2020 Qualcomm Technologies International, Ltd. # import python import os import SCons.Builder class RuleGenWarning(SCons.Warnings.Warning): pass class RuleGenNotFound(RuleGenWarning): pass SCons.Warnings.enableWarningClass(RuleGe...
[ "wang.lei@excelpoint.com.cn" ]
wang.lei@excelpoint.com.cn
8624ea031318323b8be1483300e89462f7399bc3
2b0e566b33ede6d013dfcf516e2ea00fe2dc2dbc
/folder.py
0537215cbeaf23dce667f9708ab823da31718647
[]
no_license
MrCuteJacky/study-python-3
a567fb0295c0e81ef3781a124d3dfbf279c696da
99913e7ba607ef124bf569f2f2720cae26c1eca4
refs/heads/master
2020-03-31T21:22:08.326925
2018-10-11T13:33:35
2018-10-11T13:33:35
152,577,648
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
import os def create(directory): try: if not os.path.exists(directory): os.makedirs(directory) except OSError: print("Create folder fail: " + directory)
[ "mrcutejacky@gmail.com" ]
mrcutejacky@gmail.com
e65c425d903af0df43dc99757e3e3776c2bd382d
877b96128ac6f9794ebbe8c4d84a8063c1d2e2e7
/scm_toolkit/scm_toolkit/views.py
0e0fe0f868e4541233e771dbcb1e1c3ce6adcb4e
[]
no_license
rupanisantosh/Projects
453e8cad0731206cec1feae359f7f6dbc5e1f529
067c9675fadb8bc1cb781e97879ec8913a4c355a
refs/heads/master
2021-01-21T11:00:02.583884
2017-03-01T04:28:38
2017-03-01T04:28:38
83,511,642
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
from django.shortcuts import render from django.contrib.auth.decorators import login_required # Create your views here.
[ "rupanisantosh@gmail.com" ]
rupanisantosh@gmail.com
9341db0b7e85741440b3a079df063e7bc498a88f
131fc58c361bfcf02c2661e7fc1bc27b77336894
/SP LAB/viewdemoapp/views.py
171bbbe06aa434308b3c574da4e647b563718290
[]
no_license
Kaushal77777/Dairy-Management-System
5af290585dfcddc3321a7965b4647241aa982c1b
5d1157acf082a9a9872bcbc0c466c276173853f2
refs/heads/main
2023-04-01T13:50:00.052292
2021-04-02T10:31:34
2021-04-02T10:31:34
329,264,123
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
from django.shortcuts import render from django.views.generic import TemplateView # Create your views here. def index(request): return render(request,'viewdemoapp/index.html')
[ "patelkaushal736@gmail.com" ]
patelkaushal736@gmail.com
170e400cb1db719d1be568316b9c488c5e7400c7
a20dd0ad56832296608c9c412ad9ea2f15b44197
/calculator.py
19047638ec7bc52cc3d48ca7b8d2d8eb66e7f1be
[]
no_license
volhaTaler/hyperskill
69041141b893a454559540964e22bfc754474b27
ee6b576635f252f1f9414f88a83278ff955ccbb6
refs/heads/main
2023-01-19T18:45:13.690565
2020-11-18T20:16:27
2020-11-18T20:16:27
300,963,535
0
0
null
null
null
null
UTF-8
Python
false
false
9,421
py
# write your code here DONE = '/exit' HELP = '/help' OPERATORS = ['=', '+', '-', '*', '/', '^', '(', ')'] HIGH_POS = ['*', '/', '^'] BRACKETS = [' ', '+', '*', '/', '^', '(', ] def help_info(): print('The program calculates the sum and subtraction of numbers.' ' \n Letters and other signs are not suppo...
[ "noreply@github.com" ]
volhaTaler.noreply@github.com
3ac0873222c68b9b4bd767d75897c67f07a5de72
9b71e865bc884cf8a7264a691dc2b6f2b279d8e4
/basketball_app.py
5fad50d1366ed673684a8068030698ca7c6a764e
[]
no_license
caiosainvallio/app_data_science
80859d57e69b1bb17af0f8748fe981475c006bdb
b77be485b3754d3d59f2be2cc5b5b65d893bee4b
refs/heads/main
2023-03-25T23:13:25.696949
2021-03-20T21:20:56
2021-03-20T21:20:56
329,068,423
0
0
null
null
null
null
UTF-8
Python
false
false
2,453
py
import streamlit as st import pandas as pd import base64 import matplotlib.pyplot as plt import seaborn as sns import numpy as np st.title('NBA Player Stats Explorer') st.markdown(""" This app performs simple webscraping of NBA stats data! * **Python libraries:** base64, pandas, streamlit * **Data source:** [Basket...
[ "noreply@github.com" ]
caiosainvallio.noreply@github.com
64656f9126527b92b08c9749a69df7860f1a8fdb
bcaf48a06377d5b8210bed0de3982e42e2f43473
/scripts/kuski_raznogo.py
ed1ba144491f06a0d64366f9d4c18f31055f6656
[]
no_license
Keslerdk/ppl
d6bd01382f4d30acd47fd0d34e1ca72a1add6f09
d6891556a8164701b4726a2c75562a8970ac4767
refs/heads/master
2020-07-26T00:56:47.549977
2019-09-14T17:59:59
2019-09-14T17:59:59
208,479,013
0
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
'''image = cv2.imread("/home/trinity/ะ—ะฐะณั€ัƒะทะบะธ/line2.jpg") gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) ret,thresh1 = cv2.threshold(gray_image,164,255,cv2.THRESH_BINARY) #viewImage(image, "lol") #viewImage(thresh1, "lol2") viewImage(gray_image,"gray")''' '''image = cv2.imread('/home/trinity/ะ—ะฐะณั€ัƒะทะบะธ/line2.jpg')...
[ "kd7614@yandex.ru" ]
kd7614@yandex.ru
79e778ecf93fc5556cbe217dd71e2df87040b463
dd9d7ebb14109ecbc311448a56e6bb6a0a61bc67
/PiDriver.py
a2cc7adc03f846845a6ae756e6a41765ecd542d2
[]
no_license
flyingtoaster0/PiZeroWLightSwitch
3c542ad3174804a2a14f5f1df02eae4ebe9169e5
49f9a8cf3566bd7e890eb70e74fbdf9b9642e847
refs/heads/master
2021-09-28T03:41:46.092105
2020-04-09T14:28:56
2020-04-09T14:28:56
248,535,476
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from PiSwitch import PiSwitch from display.PiRenderer import PiRenderer from input.GPIOInput import GPIOInput sub_renderer = PiRenderer() sub_input = GPIOInput() pi_switch = PiSwitch(sub_renderer, sub_input) pi_switch.begin()
[ "timothy.schonberger@gmail.com" ]
timothy.schonberger@gmail.com
81f6dd8ec1ef238bb0f5f7e23186773580ba41f5
480548c3750cf37228b400d04651ecaa4d104b59
/sgs/__version__.py
b30a1dfe4bed248683277257f6f52576ead0d80a
[ "MIT" ]
permissive
gustavofiod/pySGS
9c6679cb40984a9d0c32b611b6464adda77306aa
d16c1d0b2e2bcef4bbfcf29f8252bf0bbb7db642
refs/heads/master
2020-06-13T15:51:40.586176
2019-06-13T03:46:37
2019-06-13T03:46:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
__version__ = "1.30.2"
[ "rafael.alves.ribeiro@gmail.com" ]
rafael.alves.ribeiro@gmail.com
25d6f84f79f09d31baf1869decda80e7050c75c9
2fc4147e155bfb7d986720fd2f325087e19d37dc
/8kyu/litres.py
fcb4ed45b1b32b36cfed926bd971170577d51bc7
[]
no_license
da8865892q/learn_python_code
379c7e0eaa7dddd078bc32fbe2307f63411ca856
264dbfe9ee0dc4ceb502c0b819d1427ea2912754
refs/heads/master
2021-07-03T23:23:16.504535
2020-09-07T09:44:37
2020-09-07T09:44:37
161,859,389
1
0
null
2020-02-26T09:21:56
2018-12-15T01:44:42
Python
UTF-8
Python
false
false
147
py
# Keep Hydrated! # https://www.codewars.com/kata/keep-hydrated-1 # My code litres = lambda time: time//2 # best code # litres = 2..__rfloordiv__
[ "da8865892q@gmail.com" ]
da8865892q@gmail.com
009c737d76fe45c5fc9334cf16830952a8f291b0
de4edd556f810ed8173c20c3c2ca0c665fa0f966
/datacomplex.py
4207980c465cfacc2662c44e3a990bc451ab4662
[]
no_license
MajidAbdolshah/CA-MOBO
97bb6e86b9b92195d0d734301872540e2280c3ea
7275e4e23a7fc7ca23abf754c835d1ed1cd89372
refs/heads/master
2021-01-03T15:45:17.597148
2020-02-12T23:33:22
2020-02-12T23:33:22
240,137,205
1
0
null
null
null
null
UTF-8
Python
false
false
4,207
py
from __future__ import division import numpy as np import time import sys import random from termcolor import * from function import * from matplotlib import pyplot as plt import matplotlib.lines as mlines import math import copy from termcolor import colored from parameters import * class DataComplex: data = np.e...
[ "noreply@github.com" ]
MajidAbdolshah.noreply@github.com
48624fd75c84119e54815fc8de9984a850331bd0
d126e844b38faac13d9706e0a0bfd02a5135eec7
/reports/05_gamma_coeffs/exact_gamma.py
1fb214060c80c2c86087127d016931005c66c3c8
[]
no_license
olegrog/latex
17093be391a8a85f095e23dba54ba1327ed578b8
7513bea58cf2a3c4401487e2bb3812dc84bcb21f
refs/heads/master
2022-08-19T07:03:44.646954
2022-07-16T14:41:05
2022-07-16T14:41:05
22,062,721
1
0
null
null
null
null
UTF-8
Python
false
false
2,398
py
#!/usr/bin/env python import sys, os, time import numpy as np from scipy.optimize import curve_fit from scipy.interpolate import interp1d ### function: ipow, coeff problems = { 'A': (6, 2), 'B': (6, 1), 'B1': (6, 2), 'B2': (6, 1), 'B3': (6, 1), 'B4': (6, 1), 'T0_1': (6, 5), 'T0_2': (8,...
[ "o.a.rogozin@gmail.com" ]
o.a.rogozin@gmail.com
e786dbc4925876a7ccddb3489b68d7cbb9033719
7e5330cac76da2670f77a72ce5b262f21569921b
/binance/cli.py
3cb54145d3f2bf18d399ddf1e5b9317023ee406d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lvcz/binance-downloader
875296de4dd447e26fd3596f9bb2793d49262b5c
d502b338eca8e3778531a8f874152ceb628eeb3d
refs/heads/master
2020-03-11T15:04:50.505921
2018-04-09T17:56:18
2018-04-09T17:56:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
"""Command Line Inteface""" import argparse from datetime import datetime from binance.api import BinanceAPI from binance.utils import date_to_timestamp def main(): parser = argparse.ArgumentParser( description="Python tool to download Binance Candlestick (k-line) data from REST API" ) parser.add...
[ "andersonoanjo18@gmail.com" ]
andersonoanjo18@gmail.com
f9bc498770638fd11dfbfe4c6fb8526500fc39c9
9e0957e1b29b4bb749591cdaafe6518d4dc8f0c3
/P4HW2_fensom.py
a7e8f9fda6fb934be8579b78feb92bdc54e036c6
[]
no_license
fensoms7343/cti110
18af3728c9fcd8360f95dbdc52248d15740ed69b
c9cc7a14fb3b4ab3f9b46249c32b697376823893
refs/heads/master
2020-04-01T21:20:12.359841
2018-12-12T01:25:30
2018-12-12T01:25:30
153,650,178
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
#CTI110 #P4HW2-Celsius to Farenheit Table #Scott Fensom #11/27/18 #Write a program to display a table of celsius temps 0-20 and the farenheit equivalents #The formula for celsius to farenheit is F=(9/5)C+32 def main(): celsius = -1 while celsius < 20: celsius = celsius + 1 farenhei...
[ "noreply@github.com" ]
fensoms7343.noreply@github.com
3279e2e251fd57cfa0752f3491920689422bf888
a83d8bdd6fd0f7de95648bac1e6d9103878feca7
/OwnPrograms/Kaggle_Program/testSentiment_classifer.py
34cbd8f6041e684a692a162dc0c7c3bb6622ac4b
[]
no_license
parkerburchett/NaturalLanguage
88a0db083f6ed8ba3213de3af626710a0d83af27
35a8231ca7a1c67dcc725c34e47b5e4fefa5a2bc
refs/heads/main
2023-03-21T09:51:59.644145
2021-03-11T21:35:52
2021-03-11T21:35:52
308,505,122
0
0
null
2020-12-22T20:48:20
2020-10-30T02:33:56
Python
UTF-8
Python
false
false
296
py
from NaturalLanguage.custom_NLTK_Utils import SentimentClassifier as s str1 = "ur mum is boring and I left mid way through" str2 = "The only word I can think of to describe this movie is AWESOME. It's amazing work and everything I had hoped for and more." sent = s.determine_sentiment(str2)
[ "parkerburchett@gmail.com" ]
parkerburchett@gmail.com
2012732fffd9a125aebf6914e55d7d26e36c7518
6754b42d0e053db8b73b47ecee02f5c973c83cfd
/airportapihelper.py
f1fde2263bc802f5b07a79aea022c3eda085b106
[]
no_license
idawatibustan/ChangiX
0c359dd2b75ca2fe3596b817a9e363326bbd66a5
b0046d27b6dbb39c69d1dd0155bc320c06037792
refs/heads/master
2021-03-27T13:52:51.962250
2016-09-25T20:47:42
2016-09-25T20:47:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
import requests # Read the api key with open('sitakeys/airportapikey.txt') as key: sitakey = key.readline().strip() url = 'https://airport.api.aero/airport' def get_airport_details_by_code(airport_code): url_path = '/' + airport_code headers = {'Accept': 'application/json'} params = {'user_key': sita...
[ "chlee0925@gmail.com" ]
chlee0925@gmail.com
85f5f58961646233414de23e6e6abaef9b4edd8d
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/dialogflow/cx/v3beta1/dialogflow-cx-v3beta1-py/google/cloud/dialogflowcx_v3beta1/services/entity_types/pagers.py
77181a320556dc3a73a9a0fcf72704235feeaac7
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,889
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
dde1df171b1a22c362d8c95cc8ff50c48c41c827
26dea88616684d3246bcbe720f32dff1b6f46469
/day13.py
7ebb7297b4b7eef7fb835c922c3eabe7e472dfc2
[]
no_license
nedbat/adventofcode2019
358c8724a6c7d0280d320deb79aee73f1a0ff2fb
e537ff9e6bcb493b4086485f2059b9ab58cdbadf
refs/heads/master
2023-08-25T07:50:32.166629
2021-12-29T18:05:25
2021-12-29T18:05:25
225,184,919
9
1
null
null
null
null
UTF-8
Python
false
false
2,217
py
# https://adventofcode.com/2019/day/13 import time import blessings from intcode import IntCode, program_from_file class ArcadeCabinet: title = "Intcode Arcade Cabinet. Score: " title_y = 1 start_y = 2 pause = 0.005 def __init__(self, mem0=None): program = program_from_file("day13_inpu...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
2f89921fd24ea130bb2a5fd42fef4cc9b6d658d4
9387e6a645c4418f3812c100d431a655a334a5a5
/regapp/migrations/0001_initial.py
e3debf64f972a78e1c20370c218170791cd89955
[]
no_license
Jatin666/registeration
21496fbe59ac207b26a28a4faae69adbf5cbab87
111ae641e3957488bce65e98c88a72f5d4ce8b83
refs/heads/master
2022-11-17T03:24:39.437561
2020-07-18T13:16:26
2020-07-18T13:16:26
280,659,853
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
# Generated by Django 3.0.8 on 2020-07-18 07:11 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "59907081+Jatin666@users.noreply.github.com" ]
59907081+Jatin666@users.noreply.github.com
89b31035e333638798fda2b5011a58c3d09cbf04
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02835/s081248452.py
88d88e59260d41ba00d1920c5e9b7f3119236013
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
a=list(map(int,input().split())) if a[0]+a[1]+a[2]>=22: print("bust") else: print("win")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d000fce9206622c75964aa4980b7c719e82a1dba
de7f417bb86db000183addf0036e80d03a61d44a
/plants/serializers.py
e947b6a563c6d0582d4e80b2f779041483100f1b
[]
no_license
qlimaxx/energy-plants-dashboard
4b8315d3a81d4d49b24bf91148c8950b4e1eae11
670972ae86e1d37cbc3ea98f1989e60bae1b180b
refs/heads/master
2022-05-04T12:46:26.677478
2019-11-25T14:32:59
2019-11-25T14:32:59
223,969,294
0
0
null
2022-04-22T22:50:35
2019-11-25T14:34:56
Python
UTF-8
Python
false
false
446
py
from rest_framework import serializers from plants.models import DataPoint, Plant class PlantSerializer(serializers.ModelSerializer): class Meta: model = Plant fields = ('id', 'name') class DataPointSerializer(serializers.ModelSerializer): class Meta: model = DataPoint field...
[ "samirxallous@gmail.com" ]
samirxallous@gmail.com
ac9addaeab69845f26d01fff08a9c424f51d87d8
26eb818572061109b55e498ab4f123a4ff9b9499
/Social_Distance/Archive/Reputation_Distance/groupsize_8/One_Dimension.py
4893a4e23dc93fd658731a33f36886c49954aab0
[]
no_license
Dcomplexity/Researches
550e49b5a5951dca11df062aae1f86e2c12945c5
4eb55e2550970223c2f4006d289d8f4ba70a611a
refs/heads/master
2022-04-04T02:13:56.976901
2020-02-01T14:34:44
2020-02-01T14:34:44
147,739,403
0
0
null
null
null
null
UTF-8
Python
false
false
11,647
py
import numpy as np import random import math import argparse import os class socialStructure(): """Classify a social strucutre Attributes: groupSize (int) : The number of individuals in every group. groupBase (int) : The number of groups in one level, for example: 2. groupLength (int) ...
[ "cdengcnc@sjtu.edu.cn" ]
cdengcnc@sjtu.edu.cn
d92a5c44c32fbdc5c52461f80b06e5bb5c5580d1
11788e627b8c2d3927e21f37cf24a31b767ab453
/visualize/resnet.py
d53988679ed33d1b97533e09a26e1da5ff7fe66e
[]
no_license
arasharchor/driver-action-kaggle
780778dbc40cc856dd60222991ad7c94e505d135
939e6e8c7370de0248d00e4480cfe823c322a5fc
refs/heads/master
2021-06-03T18:55:08.490969
2016-06-22T17:51:17
2016-06-22T17:51:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,836
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import math import chainer import chainer.functions as F import chainer.links as L class BottleNeckA(chainer.Chain): def __init__(self, in_size, ch, out_size, stride=2): w = math.sqrt(2) super(BottleNeckA, self).__init__( conv1=L.Convoluti...
[ "kchnk0@gmail.com" ]
kchnk0@gmail.com
91a9014d9bd4c7777153b37a6d2afafb979dfa2c
cfdbfaf82cbecef9bcdb01ba267effdbf724f2df
/pythonProject2day3/day3.8.py
1ab45ce6567be948db3f7d3b812046f3d8e12b31
[]
no_license
14021612946/python_all-hedengyong
16c4eb597b197a9b64da1886878bc5290f3722de
9b9225fbf077fe45f2bd5e01b3f16bb693876764
refs/heads/main
2023-02-03T13:39:56.178040
2020-12-17T13:53:43
2020-12-17T13:53:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
# i=0 # while i < 3 : # password=7890 # num=int(input("่ฏท่พ“ๅ…ฅๆ‚จ็š„ๅฏ†็ ")) # if num ==password : # print("ๆ‚จ่พ“ๅ…ฅ็š„ๅฏ†็ ๆญฃ็กฎ") # break # else: # print("ๆ‚จ่พ“ๅ…ฅ็š„ๅฏ†็ ้”™่ฏฏ") # i=i+1 # else : # print("ๆ‚จ็š„ๅฏ†็ ๅทฒ่ขซๅ†ป็ป“")
[ "noreply@github.com" ]
14021612946.noreply@github.com
c5c3d5883ce2f66061c90eb540ab9ba578099666
f176ef892169febe75533c698379183fd553f3d7
/cogs/music.py
a2befcfaf923148c33322abbe1a09a2276e2ae7e
[]
no_license
dwqdqdq/SuperSonicBotCanaryTeam
90dd3625104c04e2a13a337d0be02771d0e2ebe1
3cfb75af4e4d149f5555d61625753c01a385ba50
refs/heads/master
2023-04-09T17:48:13.291882
2021-04-18T14:28:20
2021-04-18T14:28:20
359,166,079
0
0
null
null
null
null
UTF-8
Python
false
false
15,499
py
import discord from discord.ext import commands import asyncio import itertools import sys import traceback from async_timeout import timeout from functools import partial from youtube_dl import YoutubeDL from discord import FFmpegPCMAudio ytdlopts = { 'format': 'bestaudio/best', 'outtmpl': 'downloads/%(extr...
[ "" ]
93407609f6a365cf19dc341794193609492e6e5b
994c859a4be6b2885b109bef83ad696d414a3cbb
/tests/test_utils.py
ad5c3b6f621fa3ed746c1b13756bba12bb426925
[]
no_license
BoboTiG/pombo
d65391b18b47c91bf3523677342d12c94f2f0b11
3a14a32d8410791f5fff2439b237fac5ff2ceb79
refs/heads/master
2023-09-03T17:50:33.076292
2023-08-26T03:30:20
2023-08-26T03:30:20
5,206,723
113
27
null
2023-08-26T03:30:22
2012-07-27T16:27:34
Python
UTF-8
Python
false
false
1,457
py
# coding: utf-8 """Test Pombo helpers function.""" # pylint: disable=import-error import pytest from pombo import sizeof_fmt, to_bool @pytest.mark.parametrize( "size, result", [ (0, "0.0 B"), (1, "1.0 B"), (-1024, "-1.0 KiB"), (1024, "1.0 KiB"), (1024 * 1024, "1.0 MiB...
[ "contact@tiger-222.fr" ]
contact@tiger-222.fr
1eac71f10500b0bf13b13bf9d4033d428b74469c
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/appplatform/custom_domain.py
01be0761d015724c3c9ec30045ed20cc8c9245c4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,117
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
c6fa3beac4ac0cef19853ffde843bba2743db061
bc61aaee0d714f54d27ca94c245f60c18e4dc924
/terrascript/ovh/r.py
1fe2cb3b5da3c16374826aea9486d3cf4a73e25d
[ "BSD-2-Clause", "Python-2.0" ]
permissive
nbommu1/python-terrascript
23c63a8f55eac17813c54c664344986a251f50f8
478bbc88823a192517e502594022c981f0e3ebd7
refs/heads/master
2020-03-21T16:13:12.574817
2019-01-29T19:19:12
2019-01-29T19:19:12
138,757,729
0
0
BSD-2-Clause
2018-06-26T15:28:46
2018-06-26T15:28:46
null
UTF-8
Python
false
false
497
py
from terrascript import _resource class ovh_publiccloud_private_network(_resource): pass publiccloud_private_network = ovh_publiccloud_private_network class ovh_publiccloud_private_network_subnet(_resource): pass publiccloud_private_network_subnet = ovh_publiccloud_private_network_subnet class ovh_publiccloud_user(_r...
[ "markus@juenemann.net" ]
markus@juenemann.net
5687a84d55f1d386260136daf285326877c9d1b6
a33fb906ed700a22ed4f6068aefa6aa05584fd2c
/minmax_sum.py
98cb36b3fe8eb19c52a4885df245c1c2d02af699
[]
no_license
ansariimran/small-python-programs
19318730b5af093b4ddb0601941f1bbe456c9ace
23f32d3428104e082a6ea67ae388e9877a19bab1
refs/heads/main
2023-01-13T14:33:14.637660
2020-11-09T02:11:21
2020-11-09T02:11:21
311,243,009
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
arr = list(map(int, input().rstrip().split())) def miniMaxSum(arr): n = 5 minsum = 0 maxsum = 0 arr.sort() for i in range(1, n): maxsum = maxsum + arr[i] for i in range(0, n-1): minsum = minsum + arr[i] print(f"{minsum} {maxsum}") miniMaxSum(arr)
[ "62640532+ansariimran@users.noreply.github.com" ]
62640532+ansariimran@users.noreply.github.com
71fb2d28dc353333f3c9339903fad599f5943bb1
4ad8a92ec6a8c09e579b84210a435f6eff8386c8
/tests/compute/test_hetero_basics.py
c68734f86d74ddcb6014f04ca4a61ad7e3693498
[ "Apache-2.0" ]
permissive
Chenlonw/dgl
680edfe835274a2aff63e7a4e3bda5e41d67caf9
0c313e51e6fe3cb135196744a12aa0777fef3c43
refs/heads/master
2022-10-08T09:02:43.659974
2020-06-11T08:01:05
2020-06-11T08:01:05
271,506,760
1
0
Apache-2.0
2020-06-11T09:34:20
2020-06-11T09:34:19
null
UTF-8
Python
false
false
29,646
py
"""Test from `test_basics.py` but for heterograph. Merge this with `test_basics.py` once DGLHeteroGraph is compatible with DGLGraph. """ import backend as F import dgl import networkx as nx from collections import defaultdict as ddict import unittest import pytest import inspect from utils import parametrize_dtype D =...
[ "noreply@github.com" ]
Chenlonw.noreply@github.com
b2b5fbcc7a894fd645f2ca5331b3d30265d7c28d
90db84ab0d1c042ecedb89257234f5362de803d2
/@Resources/py/lb_library/game_launch_handler.py
65e11b84aaf8c9274c51929ee95cd479f672f962
[]
no_license
LTSchmiddy/LaunchBoxLibrary
f72b452a71ea6b5c931cc596ff4bf4ccb2fea9c5
f38938bed7fd276b5db8feab78a706e6083a75e1
refs/heads/master
2023-02-17T04:59:29.665769
2021-01-20T20:20:28
2021-01-20T20:20:28
331,419,094
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
import os, subprocess, webbrowser import xml.etree.ElementTree as ET from . import launch_handlers handlers = sorted([i() for i in launch_handlers.LauncherHandlerBase.__subclasses__()], key=lambda x: x.priority, reverse=True) def handle_game_launch(game: ET.Element): global handlers print(f"Lauching {game.fin...
[ "schmidalex1996@gmail.com" ]
schmidalex1996@gmail.com
ada0a46f8fed7e6d84ef9b8f145e8390fadda15b
2c868471c7e138023b8f64ecf268eb6a61edd929
/tests/test_eraserhead_output.py
9a8927fc4b5f9188cfa784cd00bf8d6ae3c87ef6
[ "MIT" ]
permissive
yozlet/django-eraserhead
3051adc654a1bc2bb43971d1d17ed28830380feb
75daa0444c8edc8973c0638dde1367703cbf45de
refs/heads/master
2020-03-26T07:00:39.307311
2018-07-26T07:57:38
2018-07-26T07:57:38
144,632,367
0
0
MIT
2018-08-13T20:52:36
2018-08-13T20:49:17
Python
UTF-8
Python
false
false
3,279
py
# encoding: utf-8 import sys import os import re try: from cStringIO import StringIO except ImportError: from io import StringIO from django.test import TestCase, override_settings from django.apps import apps from django.conf import settings import term from bar.models import Article def capture_stdout(com...
[ "dizballanze@gmail.com" ]
dizballanze@gmail.com
02437aef906cb8721b2da428589019f35d474e2f
fd926aa249dd716be8a417d774d406963f9883ed
/thirdparty/mrp_request/models/mrp_production_request.py
764af0e47c91b11a9cdb3579ac741ee65a4368fc
[]
no_license
abdallamhafeez/arabia_press
b6d3db39613c15a4796d47d8dd8016be2d9c2efa
b97da5866d29c1d1a6b66135055cca5cbf60a4d5
refs/heads/main
2023-07-31T23:30:52.294506
2021-09-26T06:10:20
2021-09-26T06:10:20
398,328,664
1
2
null
null
null
null
UTF-8
Python
false
false
12,072
py
""" Initialize Mrp Production Request """ from odoo import api, fields, models, _ from odoo.exceptions import UserError, ValidationError from odoo.tools import float_round, float_compare from itertools import groupby class MrpProductionRequest(models.Model): """ Inherit Mrp Production Request: ...
[ "abdalla.mhafeez@gmail.com" ]
abdalla.mhafeez@gmail.com
b1f19caf4d20200843040134d62785c1173aa575
ceaf1eeeb4bca01c4f46983eb3c5cb0fbba233ee
/training/scripts/pytorch_to_keras.py
594f24608e346b175c05e5c09017cb85419be78a
[]
no_license
GiscardBiamby/labelar-det-demo
40cb5f2b2c97c7d48e6be548e71bd4cd397b9190
958ea71980981ffd63f37e265f50229bacad87da
refs/heads/master
2022-03-18T06:30:23.749019
2019-11-01T00:20:38
2019-11-01T00:24:29
203,871,339
0
0
null
null
null
null
UTF-8
Python
false
false
11,391
py
# Standard Library imports: import argparse from pathlib import Path import sys # 3rd Party imports: import keras.backend as K from keras.layers import * from keras.models import * import numpy as np from pytorch2keras import pytorch_to_keras import tensorflow as tf import torch from torch.autograd import Variable imp...
[ "giscard@gmail.com" ]
giscard@gmail.com
2755f48640fd38109cafa9c6dacfef149b9e99a1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2573/60825/238523.py
925e5d4117e34e4bb22d1d261834b1fefa69414d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
317
py
N=int(input()) for x in range(N): i=int(input()) if i<=2: print(2) elif i==3: print(4) elif i==4: print(8) elif i==6: print(512) elif i==7: print(256) elif i==8: print(134217728) elif i==9: print(65536) else: print(i)
[ "1069583789@qq.com" ]
1069583789@qq.com
84a9a90326a3a6c1800aef2b4ee91fc73e3c36f9
ce6585b9a8b193ab12ef2aebd28a844df9b30990
/text.py
0b921b65f99e6aaebbdc726734f4ad71ca854acf
[]
no_license
sheetal101/File
aaf053914fbeb35d6b560c50a345e613130171b2
0988a2aaa4a97348611b0e3eb6be365d831bb402
refs/heads/main
2023-08-19T21:34:57.490975
2021-10-12T17:59:48
2021-10-12T17:59:48
416,443,663
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
f = open("question3.txt", "r") f1 = f.readlines() for x in f1: a = x.strip("\n") if "delhi" in x: delhi_file=open("delhi.txt","a") delhi_file.write(a) delhi_file.write("\n") delhi_file.close() elif "shimla" in x: shimla_file=open("shimla.txt", "a") shimla_fil...
[ "noreply@github.com" ]
sheetal101.noreply@github.com
fb192ec3c9fb95c861bd62a34e771e18352ab921
596f4792c35e65a0a84f4dbd5ac1fc543fd02d2e
/service/restaurant.py
e345236e69d759b5715670001cfb24f5f1dd4ff1
[]
no_license
junmo1215/jmAssistant
8e63d92499a9be1c557037dd85c9317298d57f54
95a9b4e12a543d5af7e28ccbab360498bfc29adb
refs/heads/master
2020-03-30T19:18:29.371488
2019-01-06T16:44:10
2019-01-06T16:54:14
151,536,809
0
0
null
null
null
null
UTF-8
Python
false
false
4,579
py
# coding = UTF8 import os import random import numpy as np from pony.orm import commit, db_session, select import globalVariable from core.common import interface_function, read_json_data from entity.restaurantEntity import Restaurant INIT_SCORE = 5 MAX_SCORE = 10 MIN_SCORE = 0 @interface_function def install(with...
[ "997128120@qq.com" ]
997128120@qq.com
204dc0fda10a761ae7a488dabdd0b1ad0900b08f
3b4985bce298225916081134fa2aeec5ef2e680e
/main.py
5ffa9a7b8010a2e7a8e758a8e021f430b0fadfbb
[ "BSL-1.0" ]
permissive
aman9080/pygame-project
a34a165ed7500cc23d44d24a12245bde351e5dff
aec9ad183c9087585e64017fbcc6ede3911f5e5f
refs/heads/main
2023-08-12T19:31:42.102841
2021-09-16T12:58:49
2021-09-16T12:58:49
407,158,398
0
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
import pygame, math, sys from pygame.locals import * pygame.display.set_caption("car driving") TURN_SPEED = 7 ACCELERATION = 10 MAX_FORWARD_SPEED = 3 MAX_REVERSE_SPEED = 2 car_x=45 car_y=55 BG = (0, 75, 100) disp_x=1200 disp_y=600 screen = pygame.display.set_mode((disp_x,disp_y)) car = pygame...
[ "noreply@github.com" ]
aman9080.noreply@github.com
cb55ffca9358c57f8ef5d0fe48e992b55b1b7f2c
6d726d9b531618d89b674d221f6f21c6462e6490
/blog/admin.py
5b52e6f950ab1edb10f23e7045a89097c6235b13
[]
no_license
naginagi146/boys
53e3b8216fd6ddc3be099c9881816c2fa127437b
a75f6ae26e3f2dbee579315d9a49479e1f03e796
refs/heads/master
2022-12-22T16:21:36.841684
2020-09-30T10:34:52
2020-09-30T10:34:52
294,897,431
0
0
null
2020-10-02T13:15:05
2020-09-12T07:53:34
Python
UTF-8
Python
false
false
188
py
from django.contrib import admin from .models import Post, Comment, Image admin.site.register(Post) admin.site.register(Comment) admin.site.register(Image) # Register your models here.
[ "naginagi146@gmail.com" ]
naginagi146@gmail.com
892aecb9aaffb616075b54e86694231eafc2a58a
fe02d244f0a64e26794794b7d6c5e1030329b277
/subjectivity/data/wmd/wmd.py
763bba5faf8c19cfe7484223e519aaf67cccfe73
[]
no_license
allansales/bias-in-brazilian-elections
8702a2678fad69f0bd1a9683c3832a65f0bfe227
a07edfff2f44e28d59efe3a60099e05bead66432
refs/heads/master
2020-04-07T10:39:59.395066
2019-07-26T18:22:36
2019-07-26T18:22:36
158,295,422
2
1
null
null
null
null
UTF-8
Python
false
false
9,317
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import re import nltk import numpy as np import sys from sklearn.feature_extraction.text import CountVectorizer from gensim.models import KeyedVectors from scipy.spatial.distance import cosine from sklearn.metrics import euclidean_distances from p...
[ "allan.sales.89@gmail.com" ]
allan.sales.89@gmail.com
83a9c1bf4ae9c627a455d69f1a0c47f158920df0
f159e2eed6a4825a3bdb4c18193886796b30ef0f
/lab4/carMPGFunction.py
2eb59ab5e54bf7c6681048e6482ed456cb22f040
[]
no_license
dena0034/pythonAssignments
a66deedd80f82856a364389bd5fdb90251b66853
70290550325a146610895809b0e417f44c11459b
refs/heads/master
2020-07-28T13:46:47.531354
2019-11-30T18:04:15
2019-11-30T18:04:15
209,430,176
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
import dena0034Library milesDriven = float(input("How many miles were driven?: ")) numberGallons = float(input("How many gallons were used?: ")) m = dena0034Library.carMPG(milesDriven, numberGallons) print("The car MPG is: {}" .format(m))
[ "dena0034@algonquinlive.com" ]
dena0034@algonquinlive.com
fc2d20feaa5a83acc4040e78821b2d5d12164eb8
46f1bb17b5b4c288a1e965cf9e9166d015df6e6c
/BrainNet/GDNetworks.py
474d7115bb3fd344f4a59016a223d204e1e2917a
[]
no_license
saykartik/assemblies
27d790cce1e78618cd7583e2cc1a046c8b55e5a5
2621bf34319d8047f43e928dca9fc02f1b9f4454
refs/heads/master
2023-02-02T09:17:38.476253
2020-12-23T19:08:02
2020-12-23T19:08:02
301,543,330
0
1
null
2020-10-05T21:23:41
2020-10-05T21:23:40
null
UTF-8
Python
false
false
1,973
py
from torch import nn import torch.nn.functional as F class Regression(nn.Module): def __init__(self, input_sz, hidden_sz, out_sz): super().__init__() self.hidden = nn.Linear(input_sz, hidden_sz) # hidden layer self.predict = nn.Linear(hidden_sz, out_sz) # output layer def forward(...
[ "bvh@outlook.be" ]
bvh@outlook.be
ed9bb517fdb5e808a569f3089fb34264826648a3
6046253eaae6f296c858e11279a2f1c283d63f18
/count_letters.py
a91873548e31c404d04ba73a8a0bcfb9ca48dae8
[]
no_license
SebastianFernandez19/version-2019
a750e3a7cc405cd599d042dc8b11591b49ad1a19
a346b1ce2e00555a4605d6d183ca57f82b7aaf9b
refs/heads/master
2020-05-16T06:48:37.295408
2019-04-20T01:11:57
2019-04-20T01:11:57
182,859,419
0
1
null
2019-04-22T20:04:33
2019-04-22T20:04:33
null
UTF-8
Python
false
false
199
py
def count_letters(palabra): dict_mio={} for letter in palabra: if letter in dict_mio: dict_mio[letter]+=1 else: dict_mio[letter]=1 return dict_mio
[ "noreply@github.com" ]
SebastianFernandez19.noreply@github.com
b49a519c196c48183b812b8703adce7f2ba57828
d9103433ccba69906b0679dfcbdf417c3cc61ca2
/shelter/urls.py
3e4b202188c38072b8fed0c0d1d5a1e799d4bf7f
[]
no_license
Soulusside/StudyGO
e4ad82da836f4c7a6b1d43ef8fe86b5a920134af
d118379a694423e5effff3a78ea491cea61603f8
refs/heads/master
2023-01-30T16:37:56.863330
2020-12-16T08:43:49
2020-12-16T08:43:49
321,918,883
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from django.urls import path, include from shelter import views urlpatterns = [ path('', views.index), path('shelter/<int:id>', views.shelter, name='shelter'), path('download_report/<int:id>', views.download_report, name='download_report'), ]
[ "70377494+Soulusside@users.noreply.github.com" ]
70377494+Soulusside@users.noreply.github.com
af5c01379633a161dcae01e0a8ab4062c95bccfe
d38358268e305a46f1e7215d9b3f1e1712b5ad79
/setup.py
6341a4d5cf46564bb37d2a9cbea4afb1d16dd14b
[]
no_license
HaonTshau/ttskit
16c0ddaa63779669aaf9dff155166cc181f98ea2
a121997006c89b9251d8ff0b4033df972b631889
refs/heads/main
2023-04-11T08:58:14.936399
2021-04-26T06:34:45
2021-04-26T06:34:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,378
py
#!usr/bin/env python # -*- coding: utf-8 -*- # author: kuangdd # date: 2019/12/15 """ ่ฏญ้Ÿณๅค„็†ๅทฅๅ…ท็ฎฑใ€‚ ็”Ÿๆˆwhlๆ ผๅผๅฎ‰่ฃ…ๅŒ…๏ผšpython setup.py bdist_wheel ็›ดๆŽฅไธŠไผ pypi๏ผšpython setup.py sdist upload ็”จtwineไธŠไผ pypi๏ผš ็”Ÿๆˆๅฎ‰่ฃ…ๅŒ…๏ผšpython setup.py sdist ไธŠไผ ๅฎ‰่ฃ…ๅŒ…๏ผštwine upload [package path] ๆณจๆ„๏ผš้œ€่ฆๅœจhome็›ฎๅฝ•ไธ‹ๅปบ็ซ‹.pypirc้…็ฝฎๆ–‡ไปถ๏ผŒๆ–‡ไปถๅ†…ๅฎนๆ ผๅผ๏ผš [distutils] index-servers=pypi [p...
[ "kqhyj@163.com" ]
kqhyj@163.com
d6e653a2b935d802abc91f1209720cda29d5b88c
c814c135e84f5f24d3a701de73a654727342ad47
/projects/social/social2.py
b5e0779348859c15c1cf5b223e516957049ddf51
[]
no_license
shweps13/Graphs
998d0805fc696599f9c65c7ce58cf5f1d9455060
0580be076bf50fb0eaa2efedf9dfb338319f7315
refs/heads/master
2021-01-06T03:05:05.235465
2020-02-20T20:09:42
2020-02-20T20:09:42
241,207,095
0
0
null
2020-02-20T22:22:58
2020-02-17T21:01:09
Python
UTF-8
Python
false
false
5,943
py
import random class Queue(): def __init__(self): self.queue = [] def enqueue(self, value): self.queue.append(value) def dequeue(self): if self.size() > 0: return self.queue.pop(0) else: return None def size(self): return len(self.queue) ...
[ "g.siburov@gmail.com" ]
g.siburov@gmail.com
19af39db2419b05b2bc1e89a84b94682cfa65d46
4ce268d30a53592b9892e986f948155af23fd213
/prog1.py
e6f694db56e4750355f27113de332d6384f87531
[]
no_license
rohitvernekar/Newprogrampython
8bf116279b8471958c8e6309da3e74aaef69cede
b50581735104024dbea21f000c0c6055e655bcb1
refs/heads/master
2021-01-10T20:17:52.212936
2014-01-13T15:26:36
2014-01-13T15:26:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
"""hiii everyone""" print 'hi friends' for i in range(10): print i
[ "rohitvernekar007@gmail.com" ]
rohitvernekar007@gmail.com
a023b17c54f15bdafecb47c220c2f932a389e468
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02999/s632456981.py
af635ad88fc3c8b0387eb78c17dc0bf3fff70761
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
#ABC130 A X,A = map(int,input().split()) if X < A: print(0) else: print(10)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a8b1abd344fed98853d3b3db8af7b920eaed8330
49704a87cc1fa8d50b93beca641ced5c49bfc679
/blogsite/urls.py
2ef6d48cb5c01a1e268fa4a8652d26cb894ce687
[]
no_license
pman06/Blog-Project
7355ca1e58c313ec34a27fd3e9bcde8c08d93907
bc92e5fb170310bad4d2caf04e8d4d2161e29edf
refs/heads/master
2023-01-10T11:04:52.380423
2020-11-11T19:24:53
2020-11-11T19:24:53
303,816,005
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
"""blogsite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class-base...
[ "paul@paulshoremekun.com" ]
paul@paulshoremekun.com
40c34554790039c091c85f9f05193c9b894f52e8
695df986e4f6213abd057b26c4a1c2b3daf475de
/xmlrpc_client.py
f71161ca17d38c1dd04659c07978db4f1cf365c2
[ "MIT", "CC-BY-3.0" ]
permissive
AJMartel/tknk_scanner
0c6a5965fe7f376a8db9e4b074a8de8b6bdb5260
5b3c67ed98651d12c93127efca5b4fe64e3f0607
refs/heads/master
2020-09-25T06:07:27.683738
2019-12-01T01:48:30
2019-12-01T01:48:30
225,934,734
0
1
MIT
2019-12-04T18:47:05
2019-12-04T18:47:04
null
UTF-8
Python
false
false
7,909
py
#!/usr/bin/env python3 import xmlrpc.client import os, sys, shutil, json, subprocess, time, yara, hashlib, datetime, requests, magic, redis, socket, pefile from pathlib import Path from pymongo import MongoClient from rq import get_current_job, Queue from read_avclass_report import run_avclass from redis import Redis ...
[ "cobhc.pinksawtooth@gmail.com" ]
cobhc.pinksawtooth@gmail.com
86c753bc167705733b5647d8cfa79e9a29117f54
89bc32d7d6aa2e961d041b4ba46d4bc2194bfa3f
/blog/models.py
b59c083b5ea675bde5bcf6ca139d26927bae9886
[]
no_license
ChayseMcGuyer/MSI
b778dc970b04459626c3df4f1c90d429a258e104
61a32958f2428bbff3d4091dbf0000dfbba726dc
refs/heads/master
2021-07-16T18:30:04.747564
2017-07-07T00:33:12
2017-07-07T00:33:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField(default=timezone.now) published_date = m...
[ "mcguyerchace@gmail.com" ]
mcguyerchace@gmail.com
77d456404021c4cbf674a858d2079e4bf66065be
b104e744dea9bfd996b4b8ba16fa9eefc6fa70cd
/mart/admin.py
8a672bffcc5659959f9e3394604fa4638a55ef4c
[]
no_license
ramannv/bookmart
90365008c06028e3f868ca671900875e7d4c04f7
294ba1b6c4c370e9cb8571e3b3679d0565187142
refs/heads/master
2021-01-21T11:37:16.906059
2017-08-31T16:17:11
2017-08-31T16:17:11
102,020,423
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import * # Register your models here. admin.site.register(Item) admin.site.register(User)
[ "rnvnoc@gmail.com" ]
rnvnoc@gmail.com
8b08204a0dee7fc2a2323d2e1fc1764d80df13d6
433bd037c29df65c9ec512ef130bde34e7c6378e
/migrations/versions/54295dd49b35_add_email_column_to_user.py
a6d7af9cbb88bc0e946c6dea4ffda85dfbbeca91
[ "MIT" ]
permissive
SharonFaith/one-minute-pitch
6285841866f5196719f92d73301115914c1ea6ee
1b7244f67bc76d5f87e57a34f2b5d091c57b7fd5
refs/heads/main
2023-01-01T16:06:11.088028
2020-10-26T10:07:02
2020-10-26T10:07:02
306,604,863
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
"""Add Email Column To User Revision ID: 54295dd49b35 Revises: 2722dfd74c5c Create Date: 2020-10-22 22:37:50.898017 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '54295dd49b35' down_revision = '2722dfd74c5c' branch_labels = None depends_on = None def upgrad...
[ "sharonfaith15@gmail.com" ]
sharonfaith15@gmail.com
0280b2f561b4c4b7c78646ebc2c9ec89c73c5987
73012d82d4d549d4c73060abc7a10b0b9344ef47
/library/python/envoy_engine.pyi
03c02645e176817e4512625afad7cb6481289a9e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
siggisim/envoy-mobile
124a84bee38354954cafeae319899bec5ed5f9a9
ce87d0166a9c294a4c9931fd5ebd1554a27c5432
refs/heads/main
2023-06-14T13:20:53.704733
2021-06-28T18:05:21
2021-06-28T18:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,393
pyi
from typing import Callable from typing import Dict from typing import List from typing import Optional from typing import overload class EngineBuilder: @overload def __init__(self, config_template: str): ... @overload def __init__(self): ... def add_log_level(self, log_level: "LogLevel") -> "Engi...
[ "noreply@github.com" ]
siggisim.noreply@github.com
a21bd0342bd27e952396567a0e270355980cfd01
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-alidns/aliyunsdkalidns/request/v20150109/UpdateDnsGtmInstanceGlobalConfigRequest.py
0251a57f9c6c73b6efae624d31f003182880ad94
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
4,357
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
8b7e1a31006c2e3b5113551e6bb5b5fdfa7bbee2
1d51dbef820fa6af127900ee0d1d712f0c0d7264
/Utilities/__init__.py
ae9c8541cc44c45f289829b0ab3b7542dd62e74f
[]
no_license
MahmoudYounes/ExpensesTracker
d7210f8962c5a6fe7e210db5088da01aca1bcaf3
152f823510d9ab84c8f10beb89d2a489c886cb81
refs/heads/master
2020-04-16T13:01:51.197809
2019-01-14T20:33:45
2019-01-14T20:33:45
165,607,132
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
from Utilities.Utilities import * from Utilities.Validations import *
[ "m.younesbadr@hotmail.com" ]
m.younesbadr@hotmail.com
20ae6c9d4f9f8cbffa75de49d46c4877fd01e42d
4f53887fb099f9e165a0a811069a6d5b0b3ac6dc
/camera_cal.py
c1678086ca395ca992e471c4f4db475a6722e75a
[]
no_license
wangzizhao/ball_tracking_and_batting
5e2a89edf9bc424b275d04083b7513c4bf695270
564b19786684f960ed0b38a8a8aaccb20547422d
refs/heads/master
2020-04-15T00:32:07.847380
2019-01-05T21:56:44
2019-01-05T21:56:44
164,243,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,878
py
""" FILE: camera_cal.py OVERVIEW This is a simple example for using python OpenCV bindings to calibrate a point grey camera using a checkerboard. The code must be modified to match your camera and checkerboard specifics USAGE Run, and move the checkerboard in the field of view and hit <space> to capure ...
[ "zzwang@umich.edu" ]
zzwang@umich.edu
2922a8f4fdf859e501bfeb87feeacede535950e5
c82587d3e94a24e32e4a8021d01ba908a29ccd0a
/Messenger-BackEnd/messenger/auth.py
59f8c7d53453e704f5607293047d61c52b3e5bdc
[]
no_license
devanob/Messenger-Appllication
6655781ecd39c6b3480bb6dbb84565d0380c0ec2
5f72c2671a786426620a0c039cb84c0b44fd1f39
refs/heads/master
2023-01-21T16:08:48.759654
2019-10-20T16:48:09
2019-10-20T16:48:09
199,459,940
0
0
null
2023-01-05T21:43:29
2019-07-29T13:37:32
JavaScript
UTF-8
Python
false
false
774
py
from urllib.parse import parse_qs from channels.auth import AuthMiddlewareStack from rest_framework.authtoken.models import Token class TokenGetAuthMiddleware: def __init__ (self, inner): self.inner = inner def __call__ (self, scope): params = parse_qs(scope["query_string"]) if b"token...
[ "browndevano@gmail.com" ]
browndevano@gmail.com
13035f6e207bf23e53b1d97d632b505a7727d1d9
678578ac0cb61900f61bb31cefcef40cbb525f09
/pset6/credit.py
54414de0de070ffe3592e398b20ad43e2df4aa16
[]
no_license
VysockyStan/cs50
f539e6df8ee3bc18c78c541082e6add954d4ddc0
e4b9f49dea3bfc2b3b9b91745cc8e01e3de3fc24
refs/heads/master
2020-01-28T15:40:13.681760
2016-11-27T13:55:41
2016-11-27T13:55:41
67,524,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
import cs50 def main(): card_number = get_card_number() length = len(str(card_number)) if length != 13 and length != 15 and length !=16: print("Invalid") num_array = [] for i in range(length): num_array.append(card_number % 10) card_number = card_number // 10 ...
[ "noreply@github.com" ]
VysockyStan.noreply@github.com
abb122a5039798211f75160ba4260679e5e51c80
8b3f1f10a032e812e5d997817ca25079e78da105
/posy.tg/posy/tg/config/middleware.py
98f79b002cb05e8f4444dcff9bca977e75021c7a
[]
no_license
Turante/posy
f321b07768af88c27e627ae48e0b7f37ee3e7a50
c43001a07c42df3ee324f67fadbdc281e30cc10f
refs/heads/master
2023-01-07T06:23:49.865472
2022-07-12T16:18:23
2022-07-12T16:18:23
41,894,652
0
0
null
2022-12-24T04:08:14
2015-09-04T02:49:45
Python
UTF-8
Python
false
false
555
py
"""TurboGears middleware initialization""" import logging from posy.tg.config.app_cfg import base_config from posy.tg.config.environment import load_environment #Use base_config to setup the nessisary WSGI App factory. #make_base_app will wrap the TG2 app with all the middleware it needs. make_base_app = base_config...
[ "timochka@9f567caa-ae82-11dd-872e-17ce28d58b44" ]
timochka@9f567caa-ae82-11dd-872e-17ce28d58b44
713219cb910a85054374118bd5c7ac709affa913
819ff9b165795e2eb91b497d016bcebd5770d1d6
/buildlet/runner/baseparallel.py
1a4050398a8a62bbc61bdcd2691665614f4a6f17
[ "BSD-3-Clause" ]
permissive
tkf/buildlet
62d123f0716b6a65c94a5f3baf4a27f5bf4616ed
ab1e272c0db4be24f7ec6efa98d26c2bc1a15c68
refs/heads/master
2021-01-10T21:00:47.739763
2012-10-01T22:37:58
2012-10-01T22:37:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
import itertools import networkx as nx from .base import BaseRunner class BaseParallelRunner(BaseRunner): def run(self, task): self.create_graph(task) self.submit_tasks() self.wait_tasks() def create_graph(self, task): self.graph = graph = nx.DiGraph() self.nodetask...
[ "aka.tkf@gmail.com" ]
aka.tkf@gmail.com
999160b2aec5d4bdef0c01296de03aa38b125250
548a7164224866c8ce853416c9a82f9e70b54b53
/checkerboard.py
1a67e1bab79a804020449e35e7e6147ef0cced6c
[]
no_license
FelixMayer/checkerboard
3fc44a61c766235166ebefed328448e03425a3c6
44e48926faf7196ae84904e130600fbd8a1b75cd
refs/heads/main
2023-04-20T02:45:21.123257
2021-04-12T17:10:31
2021-04-12T17:10:31
357,276,765
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def welcome(): return render_template('board_standard.html') @app.route('/<int:row>') def squares(row): return render_template('board_only_row.html', rows = row) @app.route('/<int:row>/<int:column>') def multiply(row, column): ...
[ "felix-mayer@gmx.de" ]
felix-mayer@gmx.de
aa0ba55407d2b9b36ccf0b4748e77929d7637206
5c3730351d1dd714ce44c25e322cb7f091cc6855
/Book-Recommendations-From-Charles-Darwin-master/notebook.py
48e07594b9962ba3aeabc5ce776faedd9df888d1
[]
no_license
gutaors/DataCamp
af3a14b1b0e9b5cd00bf17bdea4333f72aae0728
d98e1d884eaf9870d191e1382d99fdb6c9439f17
refs/heads/master
2022-10-18T18:20:51.925686
2022-10-01T15:21:44
2022-10-01T15:21:44
197,390,188
0
0
null
null
null
null
UTF-8
Python
false
false
15,993
py
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.13.8 # kernelspec: # display_name: Python 3 (ipykernel) # language: python # name: pyt...
[ "gutaors@gmail.com" ]
gutaors@gmail.com
4af0d11e90927d8d8930b8d142f7adf6a610b457
c4fd14f928adf9fe162ed2fc8f000e157bd8d523
/NETlib_v0.2.py
ab80a93725f96b5a3188d8d89496fea42fcbefa9
[]
no_license
jmert/NET_forecast_python
2fca8660e2a5e1f214b38742442a7b191092b718
4c19ab5bc8fe01a9fdd1f8cd6afdddb4027804ef
refs/heads/master
2020-06-01T11:04:31.896912
2019-06-07T14:31:43
2019-06-07T14:51:21
190,758,281
0
0
null
2019-06-07T14:34:50
2019-06-07T14:34:49
null
UTF-8
Python
false
false
24,541
py
#import matplotlib as mpl #mpl.use('Agg') from pylab import * import os,sys import traceback from constants import constants (h,k,c,Tcmb) = constants() class NETlib(): """ class with all necesary libraries to compute bolometer NET """ def __init__(self, verbose =True): """ symlin...
[ "dbarkats@cfa.harvard.edu" ]
dbarkats@cfa.harvard.edu
18bbaf63394443cfa71303d7ec4f8207f146e962
1ebcbad9f5f980343ecf9b6bb560a0cac7f0fe8e
/userlogin/migrations/0007_passwordreset.py
b9767153400a613b345bff95c2544b3877c87064
[]
no_license
chailstorm/quadrantcodev
aee7d09f98bb0b498c9f4f3d2213171d2726c872
68d336ee34d31440d7f2716d50d76f735710b47a
refs/heads/master
2023-06-03T19:31:18.259984
2021-06-13T00:11:41
2021-06-13T00:11:41
330,322,027
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
# Generated by Django 3.1.5 on 2021-03-13 20:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('userlogin', '0006_delete_passwordreset'), ] operations = [ migrations.CreateModel( name='passwordreset', fields=[ ...
[ "coltonjameshail@gmail.com" ]
coltonjameshail@gmail.com
7d69544ec87d59bef5b36adee72481ed27105661
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN6-M-203.py
bf02d517fd53ec749fe2ffeae152d0f9a7571f72
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
import re from collections import Counter, OrderedDict, defaultdict import operator def besedilo(tvit): return tvit.split(": ", 1)[1] def zadnji_tvit(tviti): a = {} for tvit in tviti: b = tvit.split(": ", 1)[0] c = tvit.split(": ", 1)[1] a.update({b : c}) return a def prvi_tvi...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
b85968440e838b87844a538d04ea59049d6f0594
7135c762ff69adbcad1576f5345f0a87c4f9d764
/setup.py
87978a1ff17b419279e7c681f81280b8a70c4413
[ "MIT" ]
permissive
PhilipeRLeal/teleconnection
5115aee05e9a7c5cde1600ad3b63c51cbd90ae85
01c1e5f8e8c63e0e2223711e8a78654549145b0b
refs/heads/master
2023-01-08T12:02:28.776685
2019-11-08T20:40:21
2019-11-08T20:40:21
217,376,971
4
0
MIT
2022-12-26T20:48:02
2019-10-24T19:19:57
Python
UTF-8
Python
false
false
2,161
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages from version_file_seeker import find_version with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() Ver...
[ "leal.philipe@gmail.com" ]
leal.philipe@gmail.com
c8a4203f31ffac5c7d6de8db127c0fd108ded4f1
5e108c0cae5eeb2073c6a8a5ece52a304fd30647
/examples/webkit_methods.py
e9067490d6afd268b3d9e52937c05b73d5ba206b
[]
no_license
kiorky/spynner
5ed92db887b9f13ce067e6229c0f0a48ed58e848
882cf3f40b900fbe52f895edf0ac18b4db068038
refs/heads/master
2023-08-16T17:51:34.932992
2018-11-02T11:37:48
2020-09-01T14:43:02
1,872,254
188
23
null
2020-09-01T14:32:42
2011-06-09T18:25:45
Python
UTF-8
Python
false
false
801
py
# -*- coding: utf-8 -*- __docformat__ = 'restructuredtext en' from time import sleep from spynner import browser br = browser.Browser( # debug_level=4 ) br.load('http://pypi.python.org/pypi') br.create_webview() br.show() br.wk_fill('input[id=term]', 'spynner') br.wk_click("input[id=submit]", wait_load=True, timeo...
[ "kiorky@cryptelium.net" ]
kiorky@cryptelium.net
697eea23d7e644a7501182a06f53210da0aa58e7
2ca88d41f1bb5042338faec50b2af11931db0bdd
/src/gluonts/nursery/SCott/pts/modules/flows.py
4dbd1a846ff15e5199a18c4071ed3fcb152acfe2
[ "Apache-2.0", "MIT" ]
permissive
canerturkmen/gluon-ts
2f2d46f9b01f5ee07a51a11e822b1c72c2475caa
57ae07f571ff123eac04af077870c1f216f99d5c
refs/heads/master
2022-09-10T23:30:26.162245
2022-04-20T12:44:01
2022-04-20T12:44:01
192,873,578
1
2
Apache-2.0
2020-08-04T16:58:48
2019-06-20T07:43:07
Python
UTF-8
Python
false
false
14,158
py
import copy import math import torch import torch.nn as nn import torch.nn.functional as F from torch.distributions import Normal def create_masks( input_size, hidden_size, n_hidden, input_order="sequential", input_degrees=None, ): # MADE paper sec 4: # degrees of connections between laye...
[ "noreply@github.com" ]
canerturkmen.noreply@github.com
cc966d1ffc7477ab7663cd38cd2ac8375d656434
514a7c7f0c15bbbce44a2c738f987397371a3305
/fresher/migrations/0001_initial.py
9295acd536f4aa7b5d801a81ec8837dc1ef0d8c7
[]
no_license
AhmedElatreby/web-final-v1.1
de05a9197f6242ad9ab07fa2854ca061fceb38af
43243f5bfadc437e7cab0ca5bcc6f7fa8fb0b697
refs/heads/main
2023-05-21T05:31:09.861580
2021-06-11T19:46:03
2021-06-11T19:46:03
375,152,566
1
0
null
null
null
null
UTF-8
Python
false
false
2,153
py
# Generated by Django 3.1.4 on 2021-06-08 20:49 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "ahmedsport@hotmail.com" ]
ahmedsport@hotmail.com
fde704735684fbee5f008268aafb30b616e44961
d26e4c92c0effabeaaad360517efda82c43d86e5
/BOOK_CODE/Chapter 9/getdata.py
8471e819f6a153959aad845708bc6b64631881bf
[]
no_license
LinXueyuanStdio/PythonDataMining
b0cbc3132cbecf7e58fecd56929c4766875f36b3
3840610aa0e1110b44b1ac428d141f982f75aedb
refs/heads/master
2022-02-18T18:14:24.407372
2019-09-06T02:37:49
2019-09-06T02:37:49
104,485,065
635
223
null
2018-04-12T17:19:36
2017-09-22T14:41:09
Jupyter Notebook
UTF-8
Python
false
false
3,746
py
# Downloads the books and stores them in the below folder import os from time import sleep import urllib.request titles = {} titles['burton'] = [4657, 2400, 5760, 6036, 7111, 8821, 18506, 4658, 5761, 6886, 7113] titles['dickens'] = [24022, 1392, 1414, 1467, 2324, 580, ...
[ "761516186@qq.com" ]
761516186@qq.com
50a193dc4c4781f755ee7d5983540072af6e6639
831796db742bf2fbf86a5d67ff0acbd6fca3f51b
/project_04/plugins/operators/load_fact.py
bf52cce1b4a0b6d41a03fc72f925e7623296d6b4
[]
no_license
peternagy96/data_engineering_nanodegree
e24100b20e9876b2d1c66b2f3149bffeeb564d60
cbb29a09f2768acab389b5eff56e262196d1489d
refs/heads/master
2022-06-14T02:23:15.522071
2020-05-07T19:39:10
2020-05-07T19:39:10
259,088,573
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults class LoadFactOperator(BaseOperator): ui_color = '#F98866' @apply_defaults def __init__(self, redshift_conn_id="", table="", ...
[ "peternagy96@gmail.com" ]
peternagy96@gmail.com
927014a3cf909c75bd2bbe32f4e9f958068efbda
08c6dead362282aefa6bf865324c51df18c0de46
/image/video_to_image.py
33200cd6f9b469c201525530e15001bb24ae5afa
[]
no_license
gl-coding/MiniProjects
e0d908870ae790404de4a1b7a53b65cec1ced1e9
b1e57afa614ec0423f4b720ae3deb2cbbaf51e98
refs/heads/master
2020-09-29T13:02:47.457414
2020-02-05T13:32:38
2020-02-05T13:32:38
227,042,939
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
#encoding=utf8 # ๅฏผๅ…ฅcv2ๆจกๅ— import cv2 # ๅˆฉ็”จVideoCaptureๆ•่Žท่ง†้ข‘๏ผŒ่ฟ™้‡Œไฝฟ็”จๆœฌๅœฐ่ง†้ข‘ video_path = "/Users/guolei08/Downloads/1.mp4" images_path = "/Users/guolei08/Downloads/images" cap = cv2.VideoCapture(video_path) # ่ฆๅˆ†่งฃ็š„่ง†้ข‘็š„่ทฏๅพ„ flag = 0 if cap.isOpened(): flag = 1 else: flag = 0 i = 0 imgPath = "" if flag == 1: while Tru...
[ "1451607278@qq.com" ]
1451607278@qq.com
3fc384795c0b6bd2c3b3520b51a46dcc42c567c1
7b2ede74f21a9d5be3b794ec0953f6539ea6c144
/model/ShuffleNetV2.py
c44ecd23890d8f85ff0de1f2879f8872a22ae916
[]
no_license
Jujube-sun/diseaseRecognition
9fa8086fef4eef47f22c9c04bd672cb37b36588d
e28caee4a4684980cce6ec5801895a8cb4990dfc
refs/heads/master
2023-03-27T10:19:37.721313
2021-03-27T12:29:47
2021-03-27T12:29:47
257,609,941
9
1
null
null
null
null
UTF-8
Python
false
false
6,859
py
#-*- coding:utf-8 -*- #''' # Created on 18-8-14 ไธ‹ๅˆ4:48 # # @Author: Greg Gao(laygin) #''' from keras import backend as K from keras_applications.imagenet_utils import _obtain_input_shape from keras.models import Model from keras.engine.topology import get_source_inputs from keras.layers import Activation, Add, Concate...
[ "yyb631830346@163.com" ]
yyb631830346@163.com
6b5f11d768f6eb39497383de478bc7673956853a
ded1c41d7e22fd0a6591d41223804db10aeeb631
/python_scripts/blue.py
f17815d988c8cd88e84bfc995e24fed404170b70
[]
no_license
EvanSays/steam-trunk-theatre
b5948a4939a5476cf10425508e97acf18d3d8531
ccba148bcd290796acdaf1eacce0a84b55437cee
refs/heads/master
2021-05-10T15:07:21.802423
2018-01-23T01:58:29
2018-01-23T01:58:29
115,370,103
0
0
null
null
null
null
UTF-8
Python
false
false
2,602
py
#Written by Max Kolanz, Jonah Embry, and Griffin Malm import time from neopixel import * LED_COUNT = 95 LED_PIN = 18 LED_FREQ_HZ = 800000 LED_DMA = 5 LED_BRIGHTNESS = 255 LED_INVERT = False LED_CHANNEL = 0 LED_STRIP = ws.WS2811_STRIP_GRB #This is the necessary stuff to set up...
[ "evansays@Evans-MacBook-Pro-2.local" ]
evansays@Evans-MacBook-Pro-2.local
7e3edfefde7b7bdb0806163c1d34592218e5660d
f3bce7ac6ee7d4345960daf084d8ee3e47246014
/hackerrank/Python/Set Mutations/solve.py
67c52f65d3967d523ae99c96ebc0e510fc33028d
[]
no_license
kessyus/Algorithms
9f02fc38a6c6c0df3f5c02203e9dcfcc6ee06ab3
53591aaccd2acabb03b4a0e24f0eb950277aba33
refs/heads/master
2023-06-01T01:58:37.924805
2021-07-09T20:49:23
2021-07-09T20:49:23
373,328,179
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
k = int(input()) a = list(map(int, input().split())) lista = set(a) n = 2 * int(input()) for i in range(0, n, 2): funcao = list(input().split()) b = list(map(int, input().split())) if funcao[0] == 'intersection_update': lista.intersection_update(set(b)) elif funcao[0] == 'update': ...
[ "kessyus@gmail.com" ]
kessyus@gmail.com
89a73811042337c16e1840332d6ef452d32e1e1f
0fb7bb6aa7639ad124b77047906b01d6e9221a39
/user_operations/urls.py
d77f710b50023f83e6db81eb73c7209b37f1ea49
[]
no_license
Allvik/django57
474b8a9d94f5b7a3160becbb75ec433f6786e6e3
b4dd719fb9907ee069492722330b6a15d12053df
refs/heads/master
2023-08-02T00:34:41.477995
2021-09-17T08:16:48
2021-09-17T08:16:48
403,146,887
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
from django.contrib import admin from django.urls import path from user_operations import views urlpatterns = [ path('', views.index), path('create_account', views.create_account), path('enter_account', views.enter_account), path('menu', views.get_menu), path('add_super_user', views.add_super_user)...
[ "allvasiliev@yandex.ru" ]
allvasiliev@yandex.ru
74cb70d200243e4edd548b9c7973b8c8a44df91f
ab05f394b48db733fce260682d61d0096604c881
/social/controllers/friendships.py
66aeaad2bca59af7ebb5972bd86d4e3252dd085f
[]
no_license
zefciu/social
08ea6ef96feabbbd7ac6b442c66f8cf31bf683d2
6d1811f1dd382d40757615b93aa930214c04fc1a
refs/heads/master
2016-09-06T17:00:12.629590
2011-02-15T13:07:00
2011-02-15T13:07:00
1,369,389
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
import logging from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect from social.lib.base import BaseController, render log = logging.getLogger(__name__) class FriendshipsController(BaseController): def index(self): # Return a rendered...
[ "zefciu@gmail.com" ]
zefciu@gmail.com
9b48fb2b2763a7ea92ca9063590b5234edc830e3
38381d40f225cd2f0823f89d8c4ea8605d2ea027
/platform/problems/web/iphone/grader/grader.py
c27f504b3371b92970fc55f328afaf8097111e47
[]
no_license
Warchant/innoctf
c4cf0d54921636d222e35cb761d407d487931952
b75ef5075a1f4d0fe411772be70295c9e6ff0ff5
refs/heads/master
2021-03-24T12:50:54.406600
2017-04-06T16:34:59
2017-04-06T16:34:59
71,154,253
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
#!/bin/python def grade(arg, key): if "InnoCTF{1ph0ne7_w45_5ucc35fu11y_b0u6h7}" == key: return True, "Right!" else: return False, "Hmm, maybe some other time?"
[ "rodionov12@gmail.com" ]
rodionov12@gmail.com
ff17c95f69d5e98b1b685f13c2d73c2299002c29
8252bdd867441411b1c7c650382f969d45f3fcdd
/CodeForces/A_Police_Recruits.py
c6cfc425850b1a28c0331a5740827674b5fea4d7
[]
no_license
mohamed265/Online-Judge-Python-Solution
4c31d50259c699a0c3bb53ad4922b3a3204a0d09
745d4a321f2fc342444d97a3da6deee6944a7728
refs/heads/master
2016-09-16T09:37:16.068735
2015-03-02T09:09:58
2015-03-02T09:09:58
31,531,819
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
''' Created on ู ูงโ€/ูกูขโ€/ูขู ูกูค @author: mohamed265 ''' n = int(input()) t = [int(x) for x in input().split()] slon = 0 off = 0 for x in t: if x == -1 and off == 0: slon += 1 elif x == -1 and off > 0: off -= 1 else: off += x print(slon)
[ "mohamed_fouad265@yahoo.com" ]
mohamed_fouad265@yahoo.com
cb98e7bd269da7a27b58df69701e1e99201c0258
26ad1d28f189baa6a7d80a9ecd2ca6b7125346b7
/small_task/user_login/models.py
e12fe2d63d0d5f7e7bda881156cfc22adcc2b520
[]
no_license
sakil-islam/Task-in-brainstem
c820f5440549a3d643b12c5dbc741ff5dbc0b744
fe1841219ac26becd40cd0f9f90fb78bd0cb2eec
refs/heads/main
2023-07-13T02:38:53.982959
2021-08-23T05:08:01
2021-08-23T05:08:01
398,978,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,403
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. class MyUserManager(BaseUserManager): def _create_user(self, email, password, **ext...
[ "sakilislam1080@gmail.com" ]
sakilislam1080@gmail.com
45971d307fbd91b702da62d19420bd7cb84413d7
44721a145e7e6177cd2f358e66452cf7136f91a7
/generate_one_file.py
df6931f621386ccf3e3c8d53195a72e6aeff1983
[]
no_license
FateFaker/HammingIPv6Scanner
9f977ed4ada3b9d6642331ae0331a4a24100ce50
3588d10d5815a7ffea401398bc29bb14cdd62902
refs/heads/main
2023-04-26T02:52:59.661677
2021-05-25T07:32:12
2021-05-25T07:32:12
358,150,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
import os import sys def hamming_dis(a,b): res = 0 for i in range(32): if a[i]!=b[i]: res+=1 return res def contain(a,b): flag = True for i in range(32): if a[i]!="*" and a[i]!=b[i]: flag=False return flag def extract_pattern(a,b): res = "" for i in range(32): if a[i]!=b[i]: res += "*" else: ...
[ "noreply@github.com" ]
FateFaker.noreply@github.com
d791ec0ffaaad3f1797e237aae9b7d9473b39a80
a87d121c8d655b899ff9bed673dab9216b91dd1b
/RenameFakeJPGsToPNG.py
1505d92dde80f683da2bc93d91eea24410e12098
[]
no_license
Orangeman69/RenameFakeJPGsToPNG
7f8976db28fbc2672a40608da8d68013cceb905a
fbafcc910c48d9f113f03995915854f58cdadcd2
refs/heads/main
2023-04-23T04:16:17.945860
2021-05-12T09:37:16
2021-05-12T09:37:16
339,849,524
1
0
null
null
null
null
UTF-8
Python
false
false
878
py
import os DIR = os.getcwd() def IsPNG(filename): with open(filename+".jpg", "r") as file: row = file.readline() if "PNG" in row: return True else: return False def RenameJPGToPNG(filename): os.rename(filename+".jpg", filename+...
[ "noreply@github.com" ]
Orangeman69.noreply@github.com
6e09d102b1fb5aed53c2758ab0611b9c177f9d98
8ac3fe3d861a222210912a02effea2110456d052
/django_for_beginners/project_3_mb_app/project_3_mb_app/settings.py
a95c3614db038b175e0216b5ec343286be9f5dd9
[ "MIT" ]
permissive
rednafi/django-unchained
40446960f52f0c905a6ba3e318154ca11a31188b
0f71c8d056699496d4af3ab049f9b2f9d057486b
refs/heads/master
2022-12-10T10:11:52.906880
2020-09-01T17:43:58
2020-09-01T17:43:58
282,356,752
1
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
""" Django settings for project_3_mb_app project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import...
[ "redowan.nafi@gmail.com" ]
redowan.nafi@gmail.com
12d75b0423534e647578eadc09cdbbff9f13caa2
5aee5e9274aad752f4fc1940030e9844ef8be17d
/HeavyIonsAnalysis/JetAnalysis/python/jets/akVs3CaloJetSequence_pp_mix_cff.py
b2fb262c4f0beabeb003a6fb92fb18effc4641d9
[]
no_license
jiansunpurdue/5316_dmesonreco_hiforest
1fb65af11ea673646efe1b25bd49e88de9bf3b44
a02224ad63160d91aab00ed2f92d60a52f0fd348
refs/heads/master
2021-01-22T02:53:43.471273
2014-04-26T16:10:12
2014-04-26T16:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,504
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * akVs3Calomatch = patJetGenJetMatch.clone( src = cms.InputTag("akVs3CaloJets"), matched = cms.InputTag("ak3HiGenJets") ) akVs3Calopart...
[ "sun229@purdue.edu" ]
sun229@purdue.edu
81144d915f427bac9ddcf2b5d66b3d3ec8b2ecc3
cbdd52764e28cd17faa8c105f28bffaa657aad28
/tests/testFacePoints_img.py
e61a7fc74de664fcb99681a7fc5add277f819784
[ "MIT" ]
permissive
kkmtmkl/newlandface
f7facaebd062f64c6295bee98e07a005eb034649
f7d2444cb20d3309e833c61d1466e56ca900c4e2
refs/heads/main
2023-01-05T11:04:36.001472
2020-11-02T11:54:09
2020-11-02T11:54:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
from newlandface import nlface import cv2 cv2.namedWindow("test",0) image = cv2.imread("test2.jpg") faceObjs = nlface.detect_face(image,detector_backend = 'opencv') if faceObjs is not 0: for idx, rect in enumerate(faceObjs): left = rect.left(); right = rect.right() top = rect.top(); ...
[ "844180474@qq.com" ]
844180474@qq.com
59f62e2bb041d4782d4a670cdd547ecc3c0cf2b5
a6ff5be50b499ffb36294e1e93ce59b138bfe622
/talon_one/models/integration_entity.py
15b6576bdc7cb9f5160f08b0362197d8e2e16b83
[ "MIT" ]
permissive
MostafaSalah222/talon_one.py
7221ebc54831dce33f1724fe0856093145d7add8
f863bb3c2cc5ddc94d9227adcf14947b2ea7db41
refs/heads/master
2023-07-27T06:03:43.849686
2021-09-07T08:56:41
2021-09-07T09:01:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,337
py
# coding: utf-8 """ Talon.One API The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. #...
[ "noreply@github.com" ]
MostafaSalah222.noreply@github.com
fcc0416f226d15a45f96d9a2c8615e90f28561f3
f2235bcf47f0c80c01ab7a12b34ec6912c08ef45
/lib/python2.7/site-packages/plumbum/colors.py
709722563dac2f04a0682667c696a7660b2b592d
[]
no_license
bragatrosco/flexget
0e5d92352152e0654dafafa133b21250d453aa09
529f024a4395566c737e176b2d558e2927bdbf81
refs/heads/master
2020-04-01T05:50:28.668349
2018-10-13T23:10:44
2018-10-13T23:10:44
152,921,853
4
1
null
null
null
null
UTF-8
Python
false
false
646
py
""" This module imitates a real module, providing standard syntax like from `plumbum.colors` and from `plumbum.colors.bg` to work alongside all the standard syntax for colors. """ from __future__ import print_function import sys import os import atexit from plumbum.colorlib import ansicolors, main _reset = ansicolors...
[ "braga@HP-SERVER.taxivip316.com.br" ]
braga@HP-SERVER.taxivip316.com.br
fa9a35992a6a815114a628bd7c771e023ac7e09e
40c8f72ef58038e00dc372b83f093b9b27f0587e
/StatisticManager/migrations/0001_initial.py
38a514798c9f96b94a9e1e6f07bd8d11ba2dc30f
[]
no_license
ytserilo/Test
2465d50a4991cb64c8215210594d88a78037222f
c484e6f4aae16b02c2a4407c6d5f8fa53a59f7fc
refs/heads/master
2022-01-15T17:20:51.509186
2020-01-14T06:05:36
2020-01-14T06:05:36
233,767,148
0
0
null
2022-01-06T22:41:09
2020-01-14T05:55:00
Python
UTF-8
Python
false
false
1,444
py
# Generated by Django 2.1.2 on 2020-01-13 14:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CustomUser', fields=[ ...
[ "acemirskija@gmail.com" ]
acemirskija@gmail.com
a8c8594c76d560d2000116129b39956eadbeda45
c8c854ead676941bb95ef3980184b2c938e3be75
/aoc_2015_1.py
efc876d9861a4181e543f6773747794e9f8b0ddd
[]
no_license
EvansWinner/math-and-coding-exercises
2b33bcfd696e1761963b3c8541e84da15386bbf0
853cb0aeba155dd33b1c46cca8d98e6dff7a074f
refs/heads/master
2022-10-22T18:53:38.824684
2022-09-23T15:08:43
2022-09-23T15:08:43
20,980,498
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
""" Advent of Code 2015, number 1, interactive.""" import sys floor: int = 0 command: str = '' while True: print('You are currently on floor ' + str(floor)) print("Type '(' to go up and ')' to go down. 'q' to quit.") command = input() for char in command: if char == '(': floor+= 1 ...
[ "ewinner@goodwilldenver.org" ]
ewinner@goodwilldenver.org
e4cdd53648252d4c696f56ec7af1e0dcb4d62e87
8c1120301a68c60e6eaa757d79d0f89267e92f74
/backend/event/api/v1/urls.py
cfe774da21c2a88911c876da2812aaac27a892af
[]
no_license
crowdbotics-apps/cyber-jungle-live-20392
cb0f7800381e8565628e62aea20adc3b50598ff9
e5e734731ab667b5f032cb9b49383a732f2ee17d
refs/heads/master
2022-12-19T05:42:11.589865
2020-09-17T20:57:19
2020-09-17T20:57:19
296,440,277
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import ( VendorViewSet, LocationViewSet, FavoritesViewSet, VendorDetailViewSet, CategoryViewSet, FaqViewSet, PresenterViewSet, ScheduleViewSet, MyScheduleViewSet, SponsorViewSet,...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
18c78414ecdb615c1e3e6b72d91b962b88283792
3ea63fcf7b8c547cdb911945c75fc0a6103d67ba
/config/schema.py
cf2811fc2dc117da215cd6af610aae1c64d2a696
[ "MIT" ]
permissive
plusbeauxjours/pinner-backend
81c1a0a9c3dbf9dd7492c69707099f8f1c4f1ba7
a0e95ddef6cb8be6ea107e40330b1f8d2f5c76ac
refs/heads/master
2022-12-10T07:03:21.014618
2020-07-06T07:20:11
2020-07-06T07:20:11
165,533,180
0
0
MIT
2019-08-22T17:31:04
2019-01-13T17:22:39
Python
UTF-8
Python
false
false
710
py
import graphene from users import schema as user_schema from notifications import schema as notification_schema from verifications import schema as verification_schema from locations import schema as location_schema from matchs import schema as match_schema class Query( user_schema.Query, notification_schema...
[ "plusbeauxjours@gmail.com" ]
plusbeauxjours@gmail.com
e0e08998e702841af03c44fc05ad5534b6f9b6e0
c1dcc25ef45054e7ba66389d7c150164e900cc02
/presentation/interpmodel/plotseed.py
d4d25535e0775f615fa574ecd573924d78e2b61f
[]
no_license
leouieda/sbgf2011
784789b38a5d2f60f3be4eeb7464053ced46bd6e
cff2a2bacb551ed7f0fff8ba32c95278c632455f
refs/heads/master
2021-01-20T08:46:31.371244
2014-01-15T16:23:47
2014-01-15T16:23:47
15,940,756
0
2
null
null
null
null
UTF-8
Python
false
false
1,597
py
import cPickle as pickle from enthought.mayavi import mlab from fatiando import mesh, vis, utils with open("mesh.pickle") as f: res = pickle.load(f) with open("seeds.pickle") as f: seeds = pickle.load(f) x1, x2 = 0, 3000 y1, y2 = 0, 3000 z1, z2 = 0, 3000 extent = [x1, x2, y1, y2, -z2, -z1] # Plot the adj...
[ "leouieda@gmail.com" ]
leouieda@gmail.com
648975913d9d49a4195b346a279b0c80332bb0f1
d056fdbc6e81749ed400c030ed48bad5ff8fa36d
/Kata 3/Prime Streaming (PG-13)/Prime Streaming (PG-13).py
b898642f0f0383dc2fafd362d719440ee3347b21
[]
no_license
Eddie02582/CodeWars
a1e47d28f46ad84839cf066af8ae904e1bcbb8c4
94bc285678baca37b23e754060d46a9858bd55d9
refs/heads/master
2022-07-23T05:16:28.841741
2022-07-07T08:30:12
2022-07-07T08:30:12
188,003,390
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
class Primes: @staticmethod def is_prime(n): for i in range(2, int(n**0.5)+1): if n % i == 0: return False return True @staticmethod def stream(): x=1 while True: x+=1 if Primes.is_prime(x): ...
[ "38853252+Eddie02582@users.noreply.github.com" ]
38853252+Eddie02582@users.noreply.github.com
d073bcfbcfb495b35d8ae74677e2f6f30bc01f9b
e859e07de52c125388982183bfe469e2d1de7366
/groups/models.py
fbb3293e666908d718652071a1b556a7f1946b0f
[]
no_license
aashiqms/supersocial
8083ccc3142f6f2f866fde7ee67272e014077907
f90df96bf52e439fb241116342d403d1b9e0e78d
refs/heads/master
2022-07-27T17:02:44.392611
2020-05-20T17:37:41
2020-05-20T17:37:41
258,806,567
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from django.db import models from django import template from django.contrib.auth import get_user_model from django.urls import reverse from django.utils.text import slugify import misaka # returns user model currently active in this project, allows us to call things from current user's session User = get_user_...
[ "aashiqms@outlook.com" ]
aashiqms@outlook.com
f4b9901a49b4f80013c03d840ad3cbdf6f9427ea
9260c8e994199b04ec67f8dd9c289727b65fc043
/elections/elections/wsgi.py
e66845083149f75e4ed0126ae9de1eb5981b4d7c
[]
no_license
SyntaxError2013/The-CodeMarines
8372be0135a014864de16035c79c6f65860b9a9f
4b53e701599b80caeb6dbaee4a8d3519338bfb8e
refs/heads/master
2021-01-01T15:59:56.527410
2013-10-20T10:32:11
2013-10-20T10:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
""" WSGI config for elections project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`...
[ "ayushtiwariiitr@gmail.com" ]
ayushtiwariiitr@gmail.com
0482b0b141840d3eedd30eadda786ed6d466df9a
8355de9d9e29d8c265e7855b901a925c4a1ab8a9
/03ๅ›พๅƒๅฝขๆ€ๅญฆๆ“ไฝœ.py
211f144a67893c9b764939fcb5023cf26f893064
[]
no_license
chenzhaojun1996/test2
0be49362bc9b6e193d8581cf0d12ee0525ed4099
6ddf8f86fcaa50458af09ad665c93edd2beed5ec
refs/heads/master
2022-10-24T14:28:57.150765
2020-04-26T03:27:08
2020-04-26T03:27:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
import cv2 import matplotlib.pyplot as plt import numpy as np img = cv2.imread("dige.png") cv2.imshow("img", img) cv2.waitKey(1000) cv2.destroyAllWindows() # ๅฎšไน‰ๅท็งฏๆ ธๅคงๅฐ # ไฝฟ็”จerode่ฟ›่กŒ่…่š€๏ผŒiterationๅฎšไน‰่ฟญไปฃๆฌกๆ•ฐ kernel = np.ones((5,5), np.uint8) erosion = cv2.erode(img, kernel, iterations=1) cv2.imshow("erosion", erosion) cv2.wait...
[ "1246171094@qq.com" ]
1246171094@qq.com