blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
52f918a11c4f8b68cbd12ff571b0f79cab91be4e
1f2697ad292791a9f550422b5c7123382c79dc54
/16sender.py
3a0bf0426b4fbd111348bf0ff723610397eb4a5f
[]
no_license
wukainf/PyQt5-
1ec2ced0a7775f0bb3aa5e17d462fb1aeff43fce
31452fc9669b87f74f0b09ad57e45facdcee807e
refs/heads/master
2021-01-11T20:18:44.495971
2017-01-20T10:03:03
2017-01-20T10:03:03
79,086,988
7
3
null
null
null
null
UTF-8
Python
false
false
1,309
py
#! /usr/bin/python # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import QApplication, QWidget, QMainWindow, QPushButton, QVBoxLayout, QHBoxLayout class Myform(QMainWindow): def __init__(self): super(Myform, self).__init__() self.initUI() def initUI(self): btn1 = QPushBut...
[ "gazhi62803805@163.com" ]
gazhi62803805@163.com
2830b96e1dcb39f5d16d310bcf1aa83d9bbd7a2a
4c23f3543384747dd3b30487f97dd0f32f0a111f
/apps/tasks/__init__.py
af192f7e82da3f6076f1517aa3c85fbff4de1a41
[]
no_license
dmallinger/recaster
b57d9ec2ecd7182cc80e03eb63b26f64a7dc5a63
51ece9ab492b077f00809ac2680e4bbb8e0c355c
refs/heads/master
2023-05-12T13:05:11.841044
2019-12-04T21:08:48
2019-12-04T21:08:48
193,429,724
0
0
null
2023-05-01T20:35:08
2019-06-24T03:47:52
Python
UTF-8
Python
false
false
107
py
from .utils import require_cron_job, require_task_api_key from .utils import add_task, get_task_arguments
[ "589101+dmallinger@users.noreply.github.com" ]
589101+dmallinger@users.noreply.github.com
692e67ef96d970b4cb5b65e005a9ffccd3fd0742
1e300a3ec484086b870e560530f901e7515e12cc
/higgs.py
b1169a2bd39b77ba306e66ffb4af9c49df0ab6d0
[]
no_license
samhiggs/ID3-decision-tree-machine-learning-algorithm
0b75cf88d45f2ed1299008ba5879d43f0cc66c1e
3b682d2ea16cd1f4f138f56d52978f191c96913b
refs/heads/master
2022-01-09T16:50:12.258440
2019-05-06T09:02:30
2019-05-06T09:02:30
184,758,360
0
0
null
null
null
null
UTF-8
Python
false
false
17,563
py
import numpy as np import pandas as pd import unittest, random, math, os, sys from matplotlib import pyplot as plt class Node: ''' The Node data structure is used to store the feature and decision for each feature and decision of the binary tree ''' def __init__(self, f, d): self.feature ...
[ "samhiggs@outlook.com" ]
samhiggs@outlook.com
a9c818e98a689655c4b0863e803ddf4d6e232f30
d42dea822871be6027fadbf8b167be1c0b38d9c7
/LinkedList/tempCodeRunnerFile.py
5dd125a654093152da2a6c61508fa4529b8df816
[]
no_license
siddhantprateek/Python-in-Practice
d8412c46dec57d512d8abd87cb0a33b71070c5ee
0ad806f02fecb87de20078ef956f8e23bb38e342
refs/heads/main
2023-06-26T22:34:55.172882
2021-07-29T15:14:09
2021-07-29T15:14:09
354,875,226
0
0
null
null
null
null
UTF-8
Python
false
false
16
py
permute("321")
[ "siddhantprateek@gmail.com" ]
siddhantprateek@gmail.com
20f71d3a82d7b30d19d33379d24bd499c1aaa086
3a53bcfa6bc3dd000e81946b483a838003991815
/projects/migrations/0111_auto_20210610_1427.py
9137bf2a24cc98808743983fb6b2f91fb3b2e035
[ "MIT" ]
permissive
City-of-Helsinki/kaavapino
f15f221d89a0ba18f9ebca203afc6c1160a80f19
d74d15c6bf565e8ea5f7a1221627d76f7459cb81
refs/heads/development
2023-08-26T14:16:03.980268
2023-08-25T11:07:10
2023-08-25T11:07:10
113,177,939
4
12
MIT
2023-08-30T12:52:21
2017-12-05T12:14:15
Python
UTF-8
Python
false
false
608
py
# Generated by Django 2.2.13 on 2021-06-10 11:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0110_ad_integration_model_fields'), ] operations = [ migrations.AlterField( model_name='attribute', nam...
[ "nuppu.eskelinen@nidos.fi" ]
nuppu.eskelinen@nidos.fi
f79fd6689615bef49bb77d7471a18bbaf4a276e1
1da61d4a09ac9407b08a75377a1c506aee9dfd46
/python/cfgmdl/unit.py
71b5f461c579b1d769816bf12ebc7c3d9537cf7b
[ "BSD-3-Clause" ]
permissive
KIPAC/cfgmdl
4e1db8eb9f07a0e676ed135454399e124f568786
ea2903b51594ca1102f812c73ad77228fe51cc00
refs/heads/master
2023-03-22T12:05:53.344198
2021-03-03T21:51:08
2021-03-03T21:51:08
339,553,394
0
1
BSD-3-Clause
2021-03-03T21:51:09
2021-02-16T22:55:10
Python
UTF-8
Python
false
false
1,242
py
"""Small module for unit converision""" import numpy as np class Unit: """ Object for handling unit conversions """ to_SI_dict = {} def __init__(self, unit=None): # Dictionary of SI unit conversions # Check that passed unit is available if unit is None: self._...
[ "noreply@github.com" ]
noreply@github.com
7c788e89c7f8e94cb8a65f127108617060777304
20d040a1a04d0a8cae892c8f90649cdf9101d512
/RS_Fusion_Exp/Model/label/createLabel3.py
4b5aadbc9585e8a31d8e7c205056a7edf27568d5
[]
no_license
PotentialPie/RS_Fusion_exp
add4634d526049ebfc56e51e314fe0a9839100fc
6c3a9b3f9c7d6d5834b8115223cae06ae8e016ae
refs/heads/master
2022-03-27T16:58:14.104059
2020-01-13T08:58:49
2020-01-13T08:58:49
233,552,876
1
0
null
null
null
null
UTF-8
Python
false
false
5,880
py
import numpy as np import matplotlib.pyplot as plt import cv2 import os ''' 255 255 255; % Background 0 0 0; % Roads 100 100 100; % Buildings 0 125 0; % Trees 0 255 0; % Grass 150 80 0; % Bare Soil 0 0 150; % Water 255 ...
[ "17212010050@fudan.edu.cn" ]
17212010050@fudan.edu.cn
b1825f35c41ea617fb138ee56dd1a1879fc74f92
199395a506266cbdd1d6aba5fb2287fb6fb1d127
/src/customer.py
45c3df1b555411380f39d778424c2fb9b0b22326
[]
no_license
heathercking/pub.py
436569bfead928daf5a0bd43b90ba7a1f098cefc
27d5add08219f4c40350b67daab416885a9fe8b5
refs/heads/master
2023-08-16T03:28:09.229600
2021-10-20T14:53:42
2021-10-20T14:53:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
class Customer: def __init__(self, name, wallet): self.name = name self.wallet = wallet def reduce_cash_from_wallet(self, amount): self.wallet -= amount
[ "olly.marsters@yahoo.co.uk" ]
olly.marsters@yahoo.co.uk
84d207972b9e649fd138701b12838984cbc71550
80e1179f3cd9a356784223086d2bdadc6dd139d4
/Files/st_feedback_query_auto.py
b108e4cb0927802955a27f7ae027656cb0f5d57f
[]
no_license
vivek3141/IntellitrakFeedbackTracker
68eb5c6a963bd78481b77edc58823402a121d6c5
fb92f1556a3ad270d2b5a47fed2d5671a354bab0
refs/heads/master
2021-08-30T12:32:16.951094
2017-12-18T00:22:58
2017-12-18T00:22:58
114,575,812
6
0
null
null
null
null
UTF-8
Python
false
false
5,625
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'st_feedback_query.ui' # # Created: Tue Aug 2 15:15:23 2016 # by: PyQt4 UI code generator 4.11.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 exc...
[ "vivnps.verma@gmail.com" ]
vivnps.verma@gmail.com
5d250d65c461d6fb64cf3e41e70a0c70796a948b
9b442c80c497b29a67fbf13ae1e1c10f283175b0
/src/main.py
7a0051943a872c26a267ac80f6bd4a6c0fb8ec84
[ "MIT" ]
permissive
lpsantil/TYOS
0be1b8046fd2a7a1134491eaea363f958431a8b5
488579747d8e0b98920adb5c8c227348359969fa
refs/heads/master
2021-10-02T17:58:14.367466
2018-11-29T22:39:25
2018-11-29T22:39:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,758
py
#main.py #Copyright (c) 2015 Tyler Spadgenske #MIT License ''' Usage: If FONA is powered off, run sudo python /home/pi/tyos/src/main.py --power to turn module on and start TYOS. If FONA is already on, just run sudo python /home/pi/tyos/src/main.py Upgrade: To check for updates go to https://github.com/spadgenske/TYOS/...
[ "tyspadgens@gmail.com" ]
tyspadgens@gmail.com
8db9c19422cd0fe35aecf9f8453a618861cc0cac
a6a8f68673e6f4b75dc66195c7c2d49ddce91e78
/p10.py
a9558c8e645487d80ef592f0857eae341b8a1e2b
[]
no_license
ValerianClerc/project-euler
c4d8d6bf40ac892312e995880bfaf242743baa21
d83bc741ff217cbc7f49b988bcce2760b2fe9844
refs/heads/master
2020-03-22T16:46:27.700892
2018-07-22T22:27:33
2018-07-22T22:27:33
140,350,305
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
def sieve(): n = 2000001 dict = {} for i in range(2, n): dict[i] = "u" for p in range(2, n): count = p mult = 2 while count < n: count = mult*p dict[count] = "m" mult = mult +1 ans = [] for i in range(2, n): ...
[ "valerian.clerc@mail.mcgill.ca" ]
valerian.clerc@mail.mcgill.ca
889cabb901e4edb3cf0c85083b58b1a30ccd1b95
230f757be00fddd13856727f9145675ea526f733
/hello-world.py
a9e088e30f2fe75d421a8909accdce5d20cb3415
[ "MIT" ]
permissive
khangnngo12/astr-119
b425774641f7a018fe687f7aa1d9e34a255cb95a
2728ae9b112f522bcafcd82ff151292d892a3097
refs/heads/main
2022-12-21T07:51:33.025197
2020-10-05T19:46:23
2020-10-05T19:46:23
300,378,934
0
0
MIT
2020-10-05T19:46:24
2020-10-01T18:14:33
Python
UTF-8
Python
false
false
85
py
#!/usr/bin/env python3 #this program will write #Hello World! print("Hello World!")
[ "noreply@github.com" ]
noreply@github.com
ffda1497cfd67bc0111688811bc86deb263485c3
acd9166b0780d01045d055d0b187138deac53457
/train.py
423b34e420eb94585c1ecb63d11843fe90555b38
[]
no_license
xiekuncn/Behavioral-Cloning
41bbda4daebc8f96d08cce1932570b7b8837c10e
17cd73db481620e5d99637c75c95ed0ebf2b3003
refs/heads/master
2021-01-19T19:32:06.794252
2017-04-17T15:22:37
2017-04-17T15:22:37
88,420,915
0
0
null
null
null
null
UTF-8
Python
false
false
6,300
py
#!/usr/bin/env python3 # _*_coding=utf8_*_ import os import csv from sklearn.model_selection import train_test_split import cv2 import numpy as np import sklearn from keras.layers import Dense, Flatten, Lambda, Dropout, Cropping2D from keras.layers.convolutional import Conv2D import tensorflow as tf from keras.models i...
[ "xiekun@cvte.com" ]
xiekun@cvte.com
d4b7a0a364fdc667c3582d44384e6f48a247b0fe
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03464/s336171115.py
4f42109ae769c6dfb2831e74579d5c8aceb6e5c6
[]
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
733
py
#!/usr/bin/env python3 import sys, math, copy # import fractions, itertools # import numpy as np # import scipy HUGE = 2147483647 HUGEL = 9223372036854775807 ABC = "abcdefghijklmnopqrstuvwxyz" def get_max_min_mod(a, minp, maxp): if minp % a == 0: minp_new = (minp // a) * a else: minp_new = (m...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
691b805c06257ec4860f40bf70e4d6899007590d
7c5d3246d866379dc7b6a7152ac61ae5a18b067c
/Figure_2.py
4b3e2eb844ee743bceedc1b0dd130c984302ced0
[ "Apache-2.0" ]
permissive
sunatthegilddotcom/Data-Driven-PV
c601a3c66a81cedf64b652393419a137cebf8b51
4f06d861948de4088131ef72fbab80521140cd8a
refs/heads/master
2022-11-24T15:51:30.779365
2020-07-30T08:11:05
2020-07-30T08:11:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,155
py
# -*- coding: utf-8 -*- #Load libraries import matplotlib.pyplot as plt import numpy as np import seaborn as sns import pandas as pd from scipy.stats import lognorm # Specify font used in plots font = 'Adobe Myungjo Std' math_font = 'cm' #Cutoff function def voef(cut, slope, eff): if eff < cut: return 0...
[ "43591071+fipeop@users.noreply.github.com" ]
43591071+fipeop@users.noreply.github.com
84bb5d529654e19be0e8563ab99ea1631a73031d
343ab5dde66ab0314acdc339c08973e62283631c
/home/urls.py
0c523ced43ab2ff2fb122341228e826b4fbca388
[]
no_license
pdolawat654/Hospital_Management
45e400a9376aa3302ca500d20910859429417c5b
e9ee6fe9c6f6a659f69f0a70aaef875c73a8baf7
refs/heads/master
2022-10-18T19:08:37.741706
2020-06-12T12:35:42
2020-06-12T12:35:42
271,786,980
1
0
null
null
null
null
UTF-8
Python
false
false
102
py
from django.urls import path from . import views urlpatterns=[ path("",views.home,name='home'), ]
[ "36255701+pdolawat654@users.noreply.github.com" ]
36255701+pdolawat654@users.noreply.github.com
bab8cf5bbb562bf33a113be171dba2455f98a23c
198947a1082ff3855a76aabf48c057629ef2f3ef
/ex11.py
e9b25dc5d8be585da017f795fcf81e493912fb49
[]
no_license
mskaru/LearnPythonHardWay
ec71a140bd6d7713629c97cf435b890679613d18
4838f2c38d2ceba954469363db1f98e8d2758a0f
refs/heads/master
2016-08-04T13:26:09.818275
2014-02-09T10:14:36
2014-02-09T10:14:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# -*- coding: utf-8 -*- print "How old are you?", age = raw_input() print "How tall are you?", height = raw_input() print "How much do you weigh?", weight = raw_input() print "So, you're %r old, %r tall and %r heavy." % (age, height, weight) print int(age, base = 2) + int(height, base = 2)
[ "activekrissu@gmail.com" ]
activekrissu@gmail.com
c69d3069c6f96a3344942716ceaee3ab21eb94f3
82ff359caee189eef3744f37dde84a81c8eadb60
/rotate/test_mask.py
f705a5eafeede5814744f731ecca8710b46aec6d
[]
no_license
cycle13/Hagibis
a3e509f7dc4aafb9ff11de58dcce92c0443a2fca
6c8237c75740070def1159ff6962ea0f4203136c
refs/heads/master
2023-01-19T06:42:15.637110
2020-11-24T00:18:33
2020-11-24T00:18:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
from librotate import pi, dtheta, mask_lonlat, rotate_lonlat1d import numpy as np import matplotlib.pyplot as plt lonc = 137.5 latc = 25.0 dcolat = 12.5 lon = np.arange(360) lat = -90.0 + np.arange(180) msk = mask_lonlat(dcolat, lonc, latc, lon, lat) nmsk = np.sum(msk.astype(np.int)) print(nmsk) mlon = np.zeros(n...
[ "nakashita@dpac.dpri.kyoto-u.ac.jp" ]
nakashita@dpac.dpri.kyoto-u.ac.jp
2599514a359bcc1853bb1c1eb4591332d4afeb29
ea6fcda29246a86bdd4b3fc19247b4a3e5ea97dd
/Python & Web Applications/2 Basics/Penetest/main.py
a27031b6bb5c330b86a70002910e7068b8f4a945
[]
no_license
Abbalon/pythons_hacks
d0e4be96dec28bb29c823fd526873edbe58af9cc
607e904fe7f4d0f4173937b2cb29e3067362fa07
refs/heads/master
2020-09-06T04:32:52.446304
2020-05-10T17:13:19
2020-05-10T17:13:19
220,322,905
0
0
null
2020-05-10T17:14:03
2019-11-07T20:25:47
Ruby
UTF-8
Python
false
false
151
py
import requests response = requests.get('https://web.whatsapp.com/') if(response.status_code == 200): print("ok") else: print(response.text)
[ "montbs@gmail.com" ]
montbs@gmail.com
c2a7eb9fb4d719a0c4eca6e4489e155ae0db2dcc
7875dd778108c1aa51abb13d8e5603c82317b4fd
/src/natcap/__init__.py
d9510401c9b1311aab8bd9c9e3d209edef0c509d
[]
no_license
gaybro8777/rios-deprecated
358b9117f91b6523109ef5a4bc098972f8be2c1b
653109a14ad2ee9c01d9f41831aa39668a011916
refs/heads/master
2023-03-19T00:55:59.498872
2020-06-11T17:51:02
2020-06-11T17:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
"""this is a namespace package for natcap""" import pkg_resources pkg_resources.declare_namespace(__name__)
[ "richpsharp@gmail.com" ]
richpsharp@gmail.com
ad37988f989e0ddb53dce8a9ed42adf25063d185
bc9151c9437862b45dbbe3e491c2da0986736980
/2.listas/challenge4_rouillonh.py
fa12aebd0d0fa23d04213b55202a9c23953177af
[ "MIT" ]
permissive
rouillonh/challenge-python
d285eb7ec081e2316bb0177d4448d8bfef653652
759adaf12f6112c5482841a81e53e8438d33b33e
refs/heads/main
2023-09-06T02:14:53.946972
2021-11-24T18:23:26
2021-11-24T18:23:26
432,236,856
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
print("\tWelcome to the Basketball Roster Program\n") #Pedimos los nombres de los jugadores a elección del usuario pg = input("Who is your point guard: ").title() sg = input("Who is your shooting guard: ").title() sf = input("Who is your small forward: ").title() pf = input("\nWho is your power forward: ").title() c = ...
[ "gaxf100@hotmail.com" ]
gaxf100@hotmail.com
e7126106bb6c5d92c93880f93e7b077e87dfe9b9
a37bbd659c17a29204983ef84dcfeeab30d70d0c
/_controllers/google/adsense.py
5af84bc6c2247e0515870569e6c11e68766aa40c
[]
no_license
goosemo/blog
613f2561c48c6d034f4c81ec93806c084fb36521
ffa9738bf2d8bfa8498b1e9c0fac96b104dadb7e
refs/heads/master
2021-01-19T20:28:02.554535
2014-02-27T07:04:34
2014-02-27T07:04:34
948,398
2
0
null
null
null
null
UTF-8
Python
false
false
22
py
def run(): pass
[ "morgan.goose@gmail.com" ]
morgan.goose@gmail.com
c389313c6aee0e663d05983f97db3c7d0b8d3209
6ee2b41e2f5468f6a1f2113b9505c60e97eb4349
/Dotation_solidarite_urbaine.py
e54fcc7cf2126645af8a62e3173a4853daab3ca4
[]
no_license
MikaelMonjour/simulation-dsu
2b25db753318b14c1528a3bd2ed13aa68b9ac243
d6054a01e38db87022dcbad46b3980da0eee1c01
refs/heads/master
2022-09-01T18:51:45.616649
2020-01-25T15:10:14
2020-01-25T15:10:14
236,148,109
0
1
null
2022-08-23T18:18:33
2020-01-25T09:10:50
Python
UTF-8
Python
false
false
7,726
py
#!/usr/bin/env python # coding: utf-8 import pandas as pd import numpy as np choix_commune = input("Tu veux calculer la dotation 2019 pour quelle ville ? : ") departement = input("Numero du département à deux chiffre ex 67 : ") print("[+] Calcul pour une commune de plus de 10 000 habitants") df = pd.read_csv("2019-c...
[ "root@mariguella.kali" ]
root@mariguella.kali
cfdafc9e200313d08f4693b01ef1b3ed12d4a8fd
67320a95b746f76a6ecbacb7e323aef0c4b8c4bd
/Diter_Delivery/FS/FS_billing_amount.py
0b8b403f900c89db97092363f4fabd921474a8cc
[]
no_license
EkaterinaDanilicheva/Project_ivc
68155be84912fe2af3c4caef088ce92d81a13dba
f7de6431f7fef4220b8ba2198e0974d32af450ae
refs/heads/master
2021-01-23T16:43:50.739155
2017-09-07T14:01:08
2017-09-07T14:01:08
102,743,585
0
0
null
null
null
null
UTF-8
Python
false
false
3,473
py
# -*- coding: utf-8 import MySQLdb import string import mysql.connector from mysql.connector import errorcode import logging logging.basicConfig(filename='FS_billing_amount.log', format='%(asctime)s %(message)s',level=logging.INFO) # billing19_002 подключаемся к базе данных (не забываем указать кодировку, а то в баз...
[ "sigekamig@yandex.ru" ]
sigekamig@yandex.ru
98308daf2f91ba233841fae32d27a2e2d09d2207
04843a11bce1247bdcd55526d5e29732d5d2a2e6
/mysite/homepage/models.py
a8ff8302526dd5f66fdadd0e25750365f5911aa2
[]
no_license
mapleyustat/WorkZone
eef19a231a94e18b127e98461756b6ff5a8fe95c
9d44d07b9d1ae82a3f6a03ef3d707346aae7907c
refs/heads/master
2020-12-28T09:32:47.463950
2014-12-02T09:59:36
2014-12-02T09:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
from django.db import models class ThoughtForTheDay(models.Model): thought_text = models.CharField(max_length=255) posted_date = models.DateTimeField('date posted') class ThoughtOpinion(models.Model): thought_text = models.ForeignKey(ThoughtForTheDay) up_votes = models.IntegerField(default=0) do...
[ "vigneshp1990@gmail.com" ]
vigneshp1990@gmail.com
ecc759b1d1ddc6f3dbcc08c45f09cc1e521cae4e
276ab3dc4742f2eab923ab4864923da996e9d994
/kats/tests/models/test_arima_model.py
6faba886ab669733da30466d81086dd43b8ee3f6
[ "MIT" ]
permissive
hyh123a/Kats
071f2a7c80594720dfbfa300a5c279a3ec18266c
f8b3a9603dcb9014f08e83739343124cd4c32ed5
refs/heads/main
2023-07-15T02:08:12.013987
2021-09-02T08:24:19
2021-09-02T08:24:19
402,340,132
0
0
MIT
2021-09-02T08:06:25
2021-09-02T08:06:24
null
UTF-8
Python
false
false
3,143
py
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import io import os import pkgutil import unittest from unittest import TestCase import pandas as pd from kats.consts import TimeSeriesData fro...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
251259e6477fbef29aae030289f231724f2d6123
a608fc3bdef273edc87eb707e294341323c8152e
/config.py
7d61124e0c10730dd251e84480ad78a91af6a945
[]
no_license
Hualin/prams
1faba53b204b3ccee8c8cc03115d2f5139b88f91
467483fc070acf5cfe971233be1731e024808cdf
refs/heads/master
2020-05-19T17:30:03.925334
2013-05-16T00:57:51
2013-05-16T00:57:51
10,082,749
1
0
null
null
null
null
UTF-8
Python
false
false
106
py
# configuration DEBUG = True SECRET_KEY = 'development key' SQLALCHEMY_DATABASE_URI = 'sqlite:///prams.db'
[ "hualin.kou@gmail.com" ]
hualin.kou@gmail.com
4e11f1bdd89a47a0d95835f7605481daba0f366e
924224d9b9b86092f63eb54476f3886adc008a90
/helper.py
7bc5b05b5b7760a0c1cd7bccdecf19e70b57a6ab
[]
no_license
pfespada/Madrid-AirBnB-Analysis
8e12417aff86cca41d580eb18e0c4e0f84f85ef2
2de0903c929dc9935deed8a98055ad82809f19bc
refs/heads/master
2020-05-01T16:16:12.640504
2019-03-26T11:17:32
2019-03-26T11:17:32
177,568,003
0
0
null
null
null
null
UTF-8
Python
false
false
2,137
py
# Investigate the variance accounted for by each principal component. #function to plot the principal components as well as the cumulative variance def scree_plot(pca): ''' Creates a scree plot associated with the principal components INPUT: pca - the result of instantian of PCA in scikit learn ...
[ "noreply@github.com" ]
noreply@github.com
e769b11263a1c2fea3831cc76399e87d0caea22a
8c6b28c62e13f1007ee908d5f283bed3fca54d66
/app/routes/register_equipment.py
f29bad92bbc08a71069f465366e63dcccdbc9fa7
[]
no_license
jvsn19/modec-api
2f6ba0ef03ed2d42baa200a6e92494f7c7ca20d4
a869a7a69515e3b00764bb192c8587ad8917c5d7
refs/heads/main
2023-01-04T08:15:17.166021
2020-11-05T22:06:44
2020-11-05T22:06:44
310,398,719
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from flask import request from . import routes from ..db import CustomDatabase from ..utils import VesselDoesNotExistException, EquipmentAlreadyCreatedException @routes.route('/register-equipment', methods=['POST']) def register_equipment() -> None: response_json = request.get_json() params = { 'vesse...
[ "jvsn19@gmail.com" ]
jvsn19@gmail.com
264b6c57af456663534b23a73353a20cb421322a
416814a6f129400d0802ef334ac7cea6bd3b69e4
/educa/courses/fields.py
5e0a6bbda9fd91738ca0e349d707e91387d65483
[]
no_license
shahparan9988/CSE327
d6c875df3be3c9ca03f25166e7a88c9c43ea7216
f2df19f6213f2ed43360bdc617b8b8c37936dbb9
refs/heads/master
2022-02-12T23:48:26.215266
2019-07-21T12:56:12
2019-07-21T12:56:12
198,091,394
0
0
null
2019-07-21T18:29:18
2019-07-21T18:29:18
null
UTF-8
Python
false
false
1,493
py
from django.db import models from django.core.exceptions import ObjectDoesNotExist # Using PositiveIntegerField we can easily specify the order of objects # custom order Field -> inherits PositiveIntegerField class OrderField(models.PositiveIntegerField): def __init__(self, for_fields=None, *args, **kwargs): ...
[ "sadman923@gmail.com" ]
sadman923@gmail.com
ecc5fcce79e4d79a47ed00b608037a48442a8845
e134c1a98cb9cceaa188fc019ca1a955bf1046b6
/OzoneLUNA/ozone_response_pcuo.py
b21ffd76884a36c9d3ed723f26103395144660fe
[]
no_license
ziu1986/python_scripts
bd36bfd58e136657432331191c9e08fa85b6d8e1
df5d237b68e0143f35c5ff1c58190460692fdac8
refs/heads/master
2022-05-23T19:24:54.643726
2022-04-08T12:17:49
2022-04-08T12:17:49
170,145,851
0
0
null
null
null
null
UTF-8
Python
false
false
10,826
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd from sample_from_norm import compute_cuo from mytools.met_tools import print_all def cuo(o3_mu, o3_sigma, gs_o3, gs_o3_sigma, o3_fumi, o3_days, **kwarg): article = kwarg.pop("article", "general") if (article=="watanabe14"): exp = kw...
[ "Stefanie.Falk@geo.uio.no" ]
Stefanie.Falk@geo.uio.no
36360f49cabe5fb47ab93822cade686107ed8662
626b230317ce6d53f742319ff194c19d6afc8e17
/30_daylearn_spider/4-30.py
8165b89231b51bb5960afb461259d8292e24a466
[]
no_license
myyyy/Spider
d6fac6b4b5973834f01ba82b14980b6179d66d6a
d7a7ae92778c9837caad4020106e4b54a2922ec9
refs/heads/master
2021-01-09T20:52:10.313968
2017-06-09T10:34:01
2017-06-09T10:34:01
57,097,806
1
0
null
null
null
null
UTF-8
Python
false
false
556
py
# -*- coding: utf-8 -*- # URL异常处理 import urllib2 def SpiderDemo(): url = "http://qzone.qq.com/" user_agent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" value = {'u':'name','p':'password'} header = {'User-Agent':user_agent} data = urllib2.urlenco...
[ "you@example.com" ]
you@example.com
4f4711027be00272d70319e9a88009d4d0e8bcc8
3c2fb2221aa68af9f909cea2b15ae883dc5f0bee
/hw5/test.py
e139fa2f5118ddc651f7f729019488f9f7378dfe
[]
no_license
RAYHOU777/ML2017
26c70104a4c8c53d43a56c0399a1988764cd5191
d6bae50984350823e63f6e0692205e3801a0f3b9
refs/heads/master
2021-03-19T16:35:54.539917
2017-06-08T14:53:17
2017-06-08T14:53:17
82,925,627
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
import keras.backend as K import pickle from keras.models import load_model from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences import sys test_path = sys.argv[1] output_path = sys.argv[2] def f1_score(y_true,y_pred): thresh = 0.5 y_pred = K.cast(K.great...
[ "r05943129@ntu.edu.tw" ]
r05943129@ntu.edu.tw
99765317a04672e9d0a7177524447f4636b4014f
5de9e0cba3693e80c9aa10f76a513e39ac413239
/mercantile/contrib/teamspeak.py
9f6cd53c4ce8e4539a36cb938039ddf16d689fe7
[]
no_license
DeadWisdom/mercantile
4ca77ef80f295ef8cf38fb17ae0cd4c52e973bfe
f31ccb38043e54f15ade48d9cef9018a0b8ec8d4
refs/heads/master
2021-01-22T06:48:50.588271
2015-02-19T20:36:01
2015-02-19T20:36:01
18,348,013
0
0
null
null
null
null
UTF-8
Python
false
false
2,003
py
from fabric.decorators import task from fabric.api import env, sudo, cd, settings, local @task def build(): try: import pyquery except ImportError: print "PyQuery not found." return -1 print env.user ## Add User with settings(warn_only=True): sudo("useradd -m -U %...
[ "deadwisdom@gmail.com" ]
deadwisdom@gmail.com
e74775b68c3364a87ea2e36ba0593d5ca14a41c7
7c9e6d7a596c4b948346e56e8a7b0e0428caa307
/homework/2021-01-31/int_to_binary.py
8c7721a203422c228ed28dfced3394cb5b3b09c4
[]
no_license
WebOrGameMaker/LearnPython
b96ea7653d58c5a1a5341ed818b90a729d29a93d
0b1aeefd452242f58808acfb6bbda0649c32ff39
refs/heads/master
2023-06-07T13:09:19.879813
2021-07-04T17:19:09
2021-07-04T17:19:09
293,579,954
0
0
null
2021-07-04T17:19:10
2020-09-07T16:35:26
Python
UTF-8
Python
false
false
460
py
def binary_str(num): """ >>> binary_str(23937495825) '10110010010110010010011001100010001' >>> binary_str(876765) '11010110000011011101' >>> binary_str(213) '11010101' """ digits = [] while num > 0: current_digit = num % 2 digits.append(str(current_digit)) ...
[ "pikachuhappy2019@gmail.com" ]
pikachuhappy2019@gmail.com
5a59e7fb8e998d23f9ac3789fc3c5eec2a7ad2f6
8bd77ab469c1c95e39db31863172fdf238968dac
/ci/cloudbuild/scheduled/reap-gke-clusters/cleanup_load_balancers.py
8a6ab06724bc33bcfb809ea77875346b728d4183
[ "Apache-2.0" ]
permissive
google/kf
4952b9389cc1381a47f9099fc6021f62304a35bf
63b13dbe4e41855cf243605e9190229c4fa56da8
refs/heads/main
2023-09-03T19:47:13.966967
2023-08-29T19:01:36
2023-08-29T19:01:36
184,312,842
404
75
Apache-2.0
2023-09-12T19:01:49
2019-04-30T18:34:38
Go
UTF-8
Python
false
false
6,468
py
# 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
[ "guangyan@google.com" ]
guangyan@google.com
a7357387bb3adfafb8532fab01ed308d44c6ac8f
bda7570bb01ade12f60fec9433795a288dc0de63
/PreetyPrint.py
a25019d1e6f3825ddc413437d21a57dad1dec991
[]
no_license
nayana8/Prep1
e4639decc0218d0026603c084ffca2a11f4f0d7e
0d3e79202de069100fdf73182ca2ddddb663e606
refs/heads/master
2020-03-18T01:06:37.827422
2018-06-28T06:15:00
2018-06-28T06:15:00
134,127,517
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
class Solution: # @param A : integer # @return a list of list of integers def prettyPrint(self, A): if A == 0: return [] n = (A * 2) - 1 last = n - 1 level = A matrix = [[0 for i in range(0,n)] for j in range(0, n)] for k in range(0, level): ...
[ "nayanabidari@Nayanas-MacBook-Air.local" ]
nayanabidari@Nayanas-MacBook-Air.local
039335e1bd05152988f56c87f8fe116621bfa91a
8aeefa27b94bf02f79cc73b7c030d1a7eaa76f53
/myApp/migrations/0007_auto_20210930_0937.py
20276d88ac326cd1e65f350660c9d9d0fcba9f84
[]
no_license
Prasadchaskar/InterviewDashboard
e99d63ec65edfafcb76c2d5512f25b9c3ec5b0eb
aa3b53e2b6125dbbd6bd114caa00a399ba3604ef
refs/heads/main
2023-08-17T13:11:35.183670
2021-10-14T08:49:05
2021-10-14T08:49:05
402,381,063
0
1
null
null
null
null
UTF-8
Python
false
false
1,684
py
# Generated by Django 3.2 on 2021-09-30 04:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myApp', '0006_auto_20210927_1530'), ] operations = [ migrations.AlterField( model_name='candidate', name='company', ...
[ "chaskarprasad2000.com" ]
chaskarprasad2000.com
b49b7e922640e6c806235e56eda6f345abd4b005
3490dbcd3820c6c1745cc3efcf05d14bcb6b8448
/todo/test_forms.py
7f138d00d09f67d38632f7cb585c4dacac88d412
[]
no_license
NgiapPuoyKoh/fs-hello-django
0dc2f41a9999b945589eaf13a58f5a9618a93b10
3a438c76c07b22aa6be3eed27e5d6dd2e24a7b04
refs/heads/master
2023-06-02T11:06:30.445732
2021-06-15T17:34:30
2021-06-15T17:34:30
305,090,727
0
0
null
2021-05-21T09:11:30
2020-10-18T11:55:30
Python
UTF-8
Python
false
false
654
py
from django.test import TestCase from .forms import ItemForm # Create your tests here. class TestItemForm(TestCase): def test_item_name_is_required(self): form = ItemForm({'name': ''}) self.assertFalse(form.is_valid()) self.assertIn('name', form.errors.keys()) self.assertEqual(for...
[ "ngiappuoykoh@gmail.com" ]
ngiappuoykoh@gmail.com
4b7488fe8381ea5e6817663563d6415fae03e8d5
be503c37c064fedc7210696fc5f1ce1666a8ed49
/tools/compute_joint_ll.py
635c25ede8cab65fe10585518c0c60fe1007f283
[]
no_license
Anantha-Ravi-Kiran/learning-correlated-topic-modelling
87aaf43d6327fc1b974f58805bf8a9f0a7e47c19
3dbc3e86f9a1e3e992ec687503c6ac3924e63db7
refs/heads/master
2021-01-13T02:07:40.887944
2013-11-11T20:05:47
2013-11-11T20:05:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
import sys import numpy as np inp_file = sys.argv[1] with open(inp_file) as f: lines = f.read().splitlines() lines = lines[:len(lines)-1] lines = [float(x) for x in lines] lines = np.array(lines) print lines.sum()/lines.shape[0]
[ "als690@nyu.edu" ]
als690@nyu.edu
e95171929db5a433b0db41a29a5797ad04f6ae0a
0f4d9bc794d1b2b87c4b607af735a2819435f991
/TodoApp/Resources/TagResources.py
4cd0139a25ec28bcfcb748a3d625b36027d29cc5
[]
no_license
gamesbrainiac/Pony-Todo-API
daf592461b6021ce4b0b47bda85f6b66968e7c1d
004bcf5807d712571b021213fe5b8823ac847734
refs/heads/master
2016-09-09T17:06:13.982176
2014-10-15T12:53:02
2014-10-15T12:53:02
24,995,619
8
1
null
2014-10-10T01:30:57
2014-10-09T15:30:56
Python
UTF-8
Python
false
false
932
py
# encoding=utf-8 from TodoApp.Models.User import User __author__ = "Quazi Nafiul Islam" import flask_restful as rest from flask import g from pony import orm from TodoApp.Models.Tag import Tag class Tags(rest.Resource): def get(self): """Will show you all tags""" with orm.db_session: ...
[ "gamesbrainiac@gmail.com" ]
gamesbrainiac@gmail.com
06368bd9b6e0d22c1ed9cc5152bc6551053d776e
1b629efe07b2ca138dcfe409320dc1a0b1f89441
/analysis/doubt_count.py
bd527beeaaa2ccc96ea2e3d3e560794a34e6eed1
[]
no_license
zhenhuaplus/svet-wrapper
f88c7939fb14c1c4d90dbe5db8ba6d452d1aed5e
01faa68c7b81297c09610e5ee27db908033f0d3b
refs/heads/main
2023-06-04T06:59:09.040485
2021-06-12T06:17:29
2021-06-12T06:17:29
329,802,303
0
1
null
null
null
null
UTF-8
Python
false
false
14,985
py
import pandas as pd import numpy as np from plotly import graph_objs as go from plotly.subplots import make_subplots from vc_wrap import SvetObject def run_double_count(iso_name, tariff): # Initialize results Finance_customer_tariff_filename = "/Users/zhenhua/Desktop/price_data/tariff_data_fake/{}.csv".form...
[ "zhenhua@zenergy.ai" ]
zhenhua@zenergy.ai
bf8204844134d11fb338976ce96378ae2042d6fb
a4fc0dd8dcda38de3010fac6b851e6cca3b6ee4e
/tests/test_utils.py
c10f1463db2e716a3bcff170bd455e2783e62a50
[ "MIT" ]
permissive
Leticia-maria/funsies
eaaf72bc5a96bc59530cd3cbe99d60fff9834d71
12656f49420e9062edb9dd4c34aa18bcc94880f1
refs/heads/master
2023-08-22T02:07:58.719514
2021-10-02T18:17:47
2021-10-02T18:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,306
py
"""Test of Funsies utility functions.""" # std from typing import List # external import pytest # funsies from funsies import errors, Fun, morph, options, put, take, utils from funsies._context import get_connection from funsies._run import run_op from funsies.config import MockServer from funsies.types import Error,...
[ "clavigne@chem.utoronto.ca" ]
clavigne@chem.utoronto.ca
73cd0d36dba5121d488942cdf8f5fb0037d4ca18
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v6_0_2f/interface/hundredgigabitethernet/switchport/access/rspan_access/__init__.py
0c094df735e4ba5e000dd99a7d7d0802011fc9d7
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,447
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
45a08f7682ead31dfeed72ac54a34dd40082e946
de26d82255c883f197797b2e7d5981b6021f4fd4
/rewrite/pst.py
bd6cc61c9fb276bdabd3e5d68b8a4d795b77ab98
[]
no_license
hofmannedv/python-network-traffic
212022cba54319a3ebeb66c1374713a6b63ea4c5
e46b83d9a70f24c56b96971156367c74b2200123
refs/heads/master
2023-02-06T12:29:20.889459
2020-12-29T11:10:58
2020-12-29T11:10:58
324,977,505
0
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
import pyshark import time import re # define interface networkInterface = "enp0s3" # define capture object capture = pyshark.LiveCapture(interface=networkInterface) print("listening on %s" % networkInterface) # scan for five network packages # print(" ") # print("Scan for 5 packets") # # for pkt in capture.sniff_...
[ "frank.hofmann@efho.de" ]
frank.hofmann@efho.de
31afe073ff484dc3ba5a2e142d00ca193ef49026
e879205ec5f82d73b480594ba7cc58b68b13af7f
/hello_world.py
697cf9a32ba20154116835c67d9b11010a19508c
[]
no_license
BoraMutluoglu/Python-Projects
51456386893bc40838c74899db0a401288c48747
a6076a0f80b3599338b4bd96c644e25028846b26
refs/heads/master
2020-03-08T06:59:24.462668
2019-06-17T18:46:38
2019-06-17T18:46:38
127,984,178
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
#! /usr/bin/env python3 print("hello world")
[ "bailey.andrew4@gmail.com" ]
bailey.andrew4@gmail.com
7ad94a15b350c206a2363e9acbdfee1d65f47637
7f8f307b76e8f429c9ffd72f9e5643720afcc955
/importbidang/import_bidang.py
03b46c1c1d8bcc09bed19ffa96c51da02f1a9e3f
[]
no_license
imseptin/PBB2
01ff59f761b1b35686316f12330fa50b1cb32ae8
4425cd111ec37e9aaacf8ab86a93aff44d88443b
refs/heads/master
2020-09-24T21:12:39.113779
2017-02-10T01:11:02
2017-02-10T01:11:02
67,618,392
0
0
null
null
null
null
UTF-8
Python
false
false
9,846
py
# -*- coding: utf-8 -*- """ /*************************************************************************** ImportBidang A QGIS plugin Import bidang ke Basisdata Bidang ------------------- begin : 2017-02-08 git sha ...
[ "septinmulatsihrezki@gmail.com" ]
septinmulatsihrezki@gmail.com
286843621ff8a3018d6028de68ef2bedb69f2c42
8b76adbe7ae0e66f8954e64da606d472833c8d74
/web/gift.py
c7583a422ab179a09e152c0ad49b6b575daaecb6
[]
no_license
MattHony/YuShu_
b737756144a28293f75a3753d1abc37f89ee49ad
19519288f4580bcc7b6b0b28473c8c6aad36e814
refs/heads/master
2020-03-25T02:44:37.804757
2018-08-02T13:55:28
2018-08-02T13:55:28
143,305,425
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# !/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/8/2 21:08 # @Author : '红文' # @File : gift.py # @Software: PyCharm from . import web @web.route('/my/gifts') def my_gifts(): pass @web.route('/gifts/book/<isbn>') def save_to_gifts(isbn): pass @web.route('/gifts/<gid>/redraw') def redraw_from_gi...
[ "40456207+MattHony@users.noreply.github.com" ]
40456207+MattHony@users.noreply.github.com
90567629b60811dafa7155c58ca4f08b0ee9b164
c763082f876196ae49fb47c2dd1e21aa9d5245e3
/properscoring/_energy_score.py
b1326b663fdd5021f91d4c68ac3c18102da449a2
[ "Apache-2.0" ]
permissive
tozech/properscoring
9e4192f1806aa3cd6fa13306c28cd4c72e955073
bf940c16a738cbbe69c9e65d2cc9655ff50eda70
refs/heads/master
2021-07-14T05:01:11.088138
2020-11-03T09:34:24
2020-11-03T09:34:24
221,425,181
0
0
Apache-2.0
2019-11-13T09:46:48
2019-11-13T09:46:47
null
UTF-8
Python
false
false
3,009
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Oct 15 21:16:18 2020 @author: tzech """ import numpy as np from ._utils import suppress_warnings try: from properscoring._gufuncs import _energy_score_gufunc except ImportError as exc: def _make_import_error(a): raise ImportError('Numb...
[ "tozech@gmail.com" ]
tozech@gmail.com
730584abfa02ef3e2a7640c6b4961314107db4c5
605ef2110da81419772072f2e7b1007b50d04196
/helptutor/services/api/service.py
d0501702d5ee1c167c67f94b90c8df96bf8658be
[]
no_license
kabutoblanco/helptutor_backend
daf441edbc2ee3ad2584e1d62b9195b8f2f4f673
47bd13382dce61327a7ae2f5fb85c883bbc99439
refs/heads/master
2023-04-15T10:09:11.414371
2021-04-28T22:00:13
2021-04-28T22:00:13
347,634,433
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
from rest_framework import generics, status, viewsets, mixins, response from rest_framework.permissions import IsAuthenticated from helptutor.users.models import Tutor from helptutor.services.models import Service, Aggrement from helptutor.services.serializers import * from drf_yasg.utils import swagger_auto_schema ...
[ "mdquilindo@unicauca.edu.co" ]
mdquilindo@unicauca.edu.co
04bac3c4ab7b8005c1c6edd4eb2e71d0fea59c58
dc6c0a0862487ce56c92f0d1e6df597e6fb0272c
/huikaka_API/TestCase_Lib/CustomerQrcode.py
57a3d31645adeba2de9bef44351c2ecd40f3c75d
[]
no_license
youlong533/huikakaAPITest
9d4a72e62141878fa32d62c588ebb1dd08202e8e
fb02f38dacda995ff537bfb84b194d87cbba9baf
refs/heads/master
2020-05-19T19:22:40.876200
2019-05-09T08:27:34
2019-05-09T08:27:34
185,177,590
0
1
null
null
null
null
UTF-8
Python
false
false
236
py
from Api_request import Api_request def customer_qrcode(): r= Api_request() url = '/api/v1/customer/qrcode' data = { 'type':'' } re =r.get_re(data,url) print(re.text) return re.text customer_qrcode()
[ "you533@qq.com" ]
you533@qq.com
592ecce508ee03af00fc02cf063594585424106d
93c749ba37eb8b724c7ce81fec40c315917ced7a
/Exemplo-CSV-Write.py
ce3a79ecc104ec50666c8692e94178140a98d683
[]
no_license
thiagokaiser/aprendendo-python
7027d904045a0cf913114e8db9f787a59573e157
58602e88bbb9e1653d83d90af664f9687ecad907
refs/heads/master
2021-09-24T08:08:00.936799
2018-10-05T11:39:20
2018-10-05T11:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
import csv lista = [] i = 0 while i <= 190: i = i + 1 lista.append(i) print(lista) with open('c:/temp/testecsv.csv', 'w', newline='') as csvfile: arquivo = csv.writer(csvfile, delimiter=';') arquivo.writerow(lista)
[ "thiago.kaiser@hotmail.com" ]
thiago.kaiser@hotmail.com
12b7ed869a00a01b95ee8fd217548779035c0c8a
c5458f2d53d02cb2967434122183ed064e1929f9
/sdks/python/test/test_sigma_boolean.py
717d38d33feb2b8df40cd39dfb9d39217f9f3642
[]
no_license
ross-weir/ergo-node-api-sdks
fd7a32f79784dbd336ef6ddb9702b9dd9a964e75
9935ef703b14760854b24045c1307602b282c4fb
refs/heads/main
2023-08-24T05:12:30.761145
2021-11-08T10:28:10
2021-11-08T10:28:10
425,785,912
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
""" Ergo Node API API docs for Ergo Node. Models are shared between all Ergo products # noqa: E501 The version of the OpenAPI document: 4.0.15 Contact: ergoplatform@protonmail.com Generated by: https://openapi-generator.tech """ import sys import unittest import openapi_client from openapi_cli...
[ "29697678+ross-weir@users.noreply.github.com" ]
29697678+ross-weir@users.noreply.github.com
2c3d685965678dc6963636f6fe53de2d3ed78f5c
ddbe0cf338b65da7b9910cff658b3ccc8547e426
/answer/ps0/ps0.py
7a5ec0bac1beb14f8e630d854812d4440d7867ec
[]
no_license
guoguozy/Python
de455e2084a57a8bf8459a01b86670a6043a62f2
9bdef9305488f6d5897aaae6026f108a7365c545
refs/heads/master
2021-07-07T12:37:05.601156
2020-08-17T04:03:43
2020-08-17T04:03:43
175,205,125
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
""" Author : 郭梓煜 数据科学与计算机学院 Student ID : 17341046 mail : 893050234@qq.com """ import math num1=input("Enter number x:") num2=input("Enter number y:") print("X**y = %s\nlog(x)=%s\n" % (int(num1)**int(num2),math.log(int(num1),2)))
[ "893050234@qq.com" ]
893050234@qq.com
285d66bbd8ef0cd0e03fcceb627acbea8633dd73
983e4c777574e7cdf3181d21c00bb6913a6af77f
/src/chat/consumers.py
21c5e861ec784805b175fde31d1a1518a60aaf6b
[]
no_license
ArunimaKhanna/django-channels
bd45fd6ff09c90a336ca6f5f07a3293a1e05d276
fac7fd04d35ae218b975b96c128906ef27179bbd
refs/heads/master
2022-07-20T01:19:37.510904
2020-05-20T17:06:39
2020-05-20T17:06:39
265,563,953
0
0
null
null
null
null
UTF-8
Python
false
false
4,569
py
# from channels.generic.websocket import WebsocketConsumer # import json # class ChatConsumer(WebsocketConsumer): # def connect(self): # self.accept() # def disconnect(self, close_code): # pass # def receive(self, text_data): # text_data_json = json.loads(text_data) # ...
[ "noreply@github.com" ]
noreply@github.com
500bc23b8f567673adf8a7087e0d61f3f10dfa48
674f2e52a127806305f62ecdbbf49dc74c49957e
/18.6.py
d72a5dfb5c872f546b71efbe3d6911b0f493938d
[]
no_license
Dashylikkkkk/pythonProject3
14365fa1d52d61870e5b3e8c6f342293aec3ac8d
0a816b77f35b02d67b6fc40f9407808c79bcdab2
refs/heads/master
2023-05-13T06:08:37.629703
2021-05-29T12:14:52
2021-05-29T12:14:52
367,468,636
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def line(s, t): if float(t.split(';')[1]) == float(s.split('x')[0]) * float(t.split(';')[0]) + float(s.split('x')[1]): print(True) else: print(False)
[ "solomatina.d2002@yandex.ru" ]
solomatina.d2002@yandex.ru
41cab2ce5452c1cd30e28a37027569807a11c4a5
77fde9e697346dc178f4a84be0fbe948f542d616
/hello_django/hello_django/settings.py
3cd0bfc1feb193be04d8a2591c966ab2b43f868d
[]
no_license
ferreirathiago/hello_django
0c0846c6efc2f211376a8351a00159881000dec0
8d5ada841176cc51be8272851b4e85ae386fd091
refs/heads/master
2020-12-08T19:38:35.373314
2020-01-10T15:38:11
2020-01-10T15:38:11
233,076,318
0
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
""" Django settings for hello_django project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "ferreirathiago@me.com" ]
ferreirathiago@me.com
afb6b1fd48b34dd36ee93a9677980ebe26ad0c20
6c6668d337dae3779e679447bb52648df13601f7
/Miscellaneous/Selection Sort 2.py
a438700e81a5c09aec15d7d4507c0b70e417ccd6
[]
no_license
Suryanshg/Python-2.7
74b812691d1cb453048fb99a915da29e04bc52a0
7f51439e21534d0db70d3bfdc3d7ec32346e12da
refs/heads/master
2020-05-03T17:56:40.835588
2019-04-16T14:44:00
2019-04-16T14:44:00
178,753,144
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
while True: def sort(L,c): for i in range(len(L)): ma=L[i] for j in range(i+1,len(L)): if (L[i]<L[j]): ma=L[j] L[j]=L[i] L[i]=ma if (c=='d'): print L else: L.reverse() ...
[ "47456525+Suryanshg@users.noreply.github.com" ]
47456525+Suryanshg@users.noreply.github.com
198267fe7897a7771e9569fa5b7fb5dc877d1e3e
20174998be9c95bc810f47ad394d64680fbf9438
/bert_train.py
87a783c306e58cb6a5c26555cb37190382c06cf3
[]
no_license
dheeraj7596/metaguide
5370bd02edd42e622da8077275441a870f4ebdbd
168d754fc9bbcbd5f04146d0c7c65e3b1e856f31
refs/heads/master
2020-12-07T14:40:55.804669
2020-10-04T17:38:27
2020-10-04T17:38:27
232,739,789
1
0
null
null
null
null
UTF-8
Python
false
false
16,527
py
from transformers import BertForSequenceClassification, BertTokenizer, AdamW, BertConfig, \ get_linear_schedule_with_warmup from torch.utils.data import TensorDataset, random_split from torch.utils.data import DataLoader, RandomSampler, SequentialSampler import torch import numpy as np import time import random imp...
[ "dheeraj7596.dm@gmail.com" ]
dheeraj7596.dm@gmail.com
35c684815ba14b3ee735f70e4964fb9e0e979cf6
0f81cbd7cc67e1a51a3ce57d13da4d5477c496d4
/pythons/sklearn/learn_SVM.py
20297950c2cf8a37214ec674b12570c75de6e8ac
[]
no_license
Nisoka/somethings
16b7dd897e4ed6a203a0e355be09ba432b6f396b
b72475deb074b093b88d31abfcc23f8dfea911f6
refs/heads/master
2020-04-03T15:54:48.020651
2019-08-22T02:09:29
2019-08-22T02:09:29
155,382,894
0
0
null
null
null
null
UTF-8
Python
false
false
3,027
py
# from sklearn import svm # # def trainSVM(train_xs, train_ys, decision='ovr'): # clf = svm.SVC(decision_function_shape='ovr', kernel='poly', probability=True, C=11, coef0=11) # clf.fit(train_xs, train_ys) # return clf print(__doc__) import numpy as np import matplotlib.pyplot as plt from sklearn import ...
[ "nan@innovem.com" ]
nan@innovem.com
87526ab4de5e25639132b53199bbe9eba15b373b
85e078ee3ceda5091624233ca19ba42f78747499
/LeetCode/smallest_subtree_with_all_the_deepest_nodes.py
879c6a1c4c2fb0ab8bb56f936b3cb6a0ef4572aa
[]
no_license
papayetoo/StudyinPython
d5e6ec0cff0e97fcc4afc8d846e3658c06eb67c2
f686b6e08720ad4d7d57b41d24c63c4bfa64dd90
refs/heads/master
2021-07-22T04:05:38.993123
2021-02-03T14:12:26
2021-02-03T14:12:26
240,009,852
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
# Definition for a binary tree node. from collections import deque class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution(object): def subtreeWithAllDeepest(self, root): # Tag each node with it's depth...
[ "rhkdgus0826@gmail.com" ]
rhkdgus0826@gmail.com
538d071e2c58a84c9e37f5d44356d7df7b7c46b2
3c645f28d89820abfc9fdb82cbe54f034850f6c1
/exeteraeval/import_patients_dask.py
de849f608110d1bb3028d95e7ece03999c1df1dc
[ "Apache-2.0" ]
permissive
KCL-BMEIS/ExeTeraEval
8cc861ad81877df9e10fb54c9cea9c28e1c1e759
c6ef1485aff08fba17cd328a76fcc398c757255d
refs/heads/main
2023-06-03T22:14:16.671092
2021-06-23T08:41:30
2021-06-23T08:41:30
316,761,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
import sys from collections import OrderedDict import json import time import pandas as pd import dask import dask.dataframe as ddf def dtype_from_schema(entry): ft = entry['field_type'] if ft == 'categorical': if 'out_of_range' in entry['categorical']: return 'object' else: # return 'catego...
[ "ben.murray@gmail.com" ]
ben.murray@gmail.com
015a6f53a7b2208d9135e32d9d7b1f24ef8272a4
ca07351db12c08244bd16ed4ea87f20a929a4870
/blog/models.py
88bc5847d751b90cfadece8a3ac7f5c79d0f0a5e
[]
no_license
kassa-diss/dspredictor-master
a90a2533a4c9b65e3989c1a0019d2f669210b601
0e91842c14eec07c6296686abc5e9197cbdbb941
refs/heads/main
2023-06-27T13:47:13.662682
2021-08-01T12:24:51
2021-08-01T12:24:51
355,596,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
from django.db import models from django.utils import timezone from django.urls import reverse from django.conf import settings class PostManager(models.Manager): def like_toggle(self, user, post_obj): if user in post_obj.liked.all(): is_liked = False post_obj.liked.remove(user) ...
[ "kasund28@gmail.com" ]
kasund28@gmail.com
0160e702928416c0796466a1e2b85f9c8dcd39e8
80297c81618831adc72714ca1fa2f172b375b8ea
/pandas/io/parsers/c_parser_wrapper.py
e8909f542f335680cbd31f48c992ee3d3ac2ba32
[ "BSD-3-Clause" ]
permissive
abmyii/pandas
61f852957c54e3517f9ff899f79cfefa4fffbc57
5bf346c7e26ae74c1e02c433cdf370de4adb7ac1
refs/heads/master
2022-08-26T11:13:51.846587
2022-02-12T18:33:18
2022-02-12T18:33:18
228,681,300
0
0
BSD-3-Clause
2019-12-17T18:50:37
2019-12-17T18:50:36
null
UTF-8
Python
false
false
14,933
py
from __future__ import annotations from typing import ( Hashable, Mapping, Sequence, ) import warnings import numpy as np import pandas._libs.parsers as parsers from pandas._typing import ( ArrayLike, DtypeArg, DtypeObj, ReadCsvBuffer, ) from pandas.errors import DtypeWarning from pandas....
[ "noreply@github.com" ]
noreply@github.com
160b2a9bafde75264ce75c06f5673e2489becdf4
30e568f5feccea6c87a284c47d65ade652fe9f61
/blog/views.py
b6d8713a243724b44739a8a3bbb5d42b43cf3267
[]
no_license
lukaszszajkowski/anitablog
c923ec367f76a2e26feb1145cd330628acaf4076
d108379d4266a5e1a4cbbab0c316341f623ebf80
refs/heads/master
2021-01-01T05:39:10.021870
2014-08-19T12:55:12
2014-08-19T12:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
from django.shortcuts import render # Create your views here. from django.contrib.auth.decorators import user_passes_test from django.shortcuts import redirect, get_object_or_404 from django.core.urlresolvers import reverse from django.shortcuts import render from .models import Post, Comment from .forms import PostFo...
[ "lukasz@logicallysoftware.co.uk" ]
lukasz@logicallysoftware.co.uk
ac9274e51003d35b9861619abcc7751dda7e1aaa
e6a0bb9235cf36697fbf41084e4506e785d530ac
/git/Alice-test/alice-redis-backup-op.py
9d939ed23f2bb3f9966ea26a197d46ddd415bc7d
[]
no_license
githkm/playbooks
f1f185ab7185bb32906b3e75618960af5f060714
e00ebeff2654eb2d0b6eb01a6c667dc957e3f414
refs/heads/master
2020-07-24T06:47:26.515251
2019-10-30T03:42:18
2019-10-30T03:42:18
207,834,206
0
0
null
null
null
null
UTF-8
Python
false
false
4,780
py
#!/root/.pyenv/shims/python #coding: utf-8 from tencentcloud.common import credential from tencentcloud.common.profile.client_profile import ClientProfile from tencentcloud.common.profile.http_profile import HttpProfile from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException from ...
[ "876469033@qq.com" ]
876469033@qq.com
af670c7de09800202230e69c4c1e374c784f1b0a
edc4a15788b8c1d11ea0496a588e63f9e7ae2712
/csv_to_blenderspheres.py
d248abd159e686db522157912b2566c097c3e3d9
[]
no_license
BradhamLab/Blender
e716f322f54cfb922cfcf3aa707a665ba3762b30
a3bf8234857b9788a0823715763c6561a5776be0
refs/heads/master
2020-03-25T19:07:22.761071
2018-08-08T20:55:18
2018-08-08T20:55:18
144,065,870
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
import sys def generate_blender_line(coordinates, blenderLayer): # Write a line to generate a sphere object in Blender. varLayer = ["False","False","False","False","False","False","False","False","False","False","False","False","False","False","False","False","False","False","False","False"] varLayer[blend...
[ "noreply@github.com" ]
noreply@github.com
dc014c62864afc9910148aede58f63bbc87f6677
f0b741f24ccf8bfe9bd1950425d83b6291d21b10
/sdk/python/test_data/pipelines/pipeline_with_retry.py
3a2d8a506bc7d2e1e9d3cd667fccdf4249d58f5e
[ "Apache-2.0" ]
permissive
kubeflow/pipelines
e678342b8a325559dec0a6e1e484c525fdcc8ce8
3fb199658f68e7debf4906d9ce32a9a307e39243
refs/heads/master
2023-09-04T11:54:56.449867
2023-09-01T19:07:33
2023-09-01T19:12:27
133,100,880
3,434
1,675
Apache-2.0
2023-09-14T20:19:06
2018-05-12T00:31:47
Python
UTF-8
Python
false
false
1,005
py
# Copyright 2022 The Kubeflow Authors # # 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...
[ "noreply@github.com" ]
noreply@github.com
18afb092fa3604ed28ba2383053af28dc9cd73d5
13d3954b5c26984b5f0d9eb071fff4d3b030c7da
/github/api.py
5c3ff0934b1090cac9a1ce82d5bf71e8f62837c7
[]
no_license
gsdenys/git-stat
e884bfcaa8244675ec52216da03b5c40a9760bd3
2fdfef5a068d7a5e49ab14fa8301530001850397
refs/heads/main
2023-03-17T13:18:07.656343
2021-03-10T17:43:25
2021-03-10T17:43:25
329,178,172
0
0
null
2021-02-08T21:26:34
2021-01-13T03:05:37
Jupyter Notebook
UTF-8
Python
false
false
867
py
import requests as req # from config import Config class Worker: """ Worker class to helps implementation of github API actions """ def __init__(self, config): """Default Builder Args: config (Config): The configuratin object """ self._config = config ...
[ "gsdenys@gmail.com" ]
gsdenys@gmail.com
7a33b8340748fbc641c270e612ef69eba661c3b4
e2bb4e21acf004c9f50fa1446390755dd966fa09
/Tests/test_MathOperations.py
aab7a0183d15844ab6c97534564955f379184259
[]
no_license
HGNJIT/statsCalculator
45f933ab4fb9576b96a4668fbfaf994584caec03
4fc9ac753921e6ac784afe071b84fbabf31c925c
refs/heads/master
2023-03-23T18:13:53.563727
2021-03-23T03:40:25
2021-03-23T03:40:25
343,956,928
1
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
import unittest from Calculator.calculator import Calculator class MyTestCase(unittest.TestCase): def setUp(self): self.calculator = Calculator() def test_instantiate_calculator(self): self.assertIsInstance(self.calculator, Calculator) def test_calculator_return_sum(self): resu...
[ "heg2@njit.edu" ]
heg2@njit.edu
3024d9f2053d0621237ff0d4fa0459671876a57a
5c09a68e01be442e7184e8a40b32305504ad3aae
/src/modules/helper/wscript
3daf05b53462e344ada34db1cf2047789e9bd28c
[]
no_license
jakobluettgau/feign
8178ff99d7fb3da6abc97f5a9715ccffed9ae040
0c735283923253a6cb51a28fe4d3299cc2a2a86f
refs/heads/master
2016-09-10T14:59:51.370767
2015-03-06T12:18:01
2015-03-06T12:18:01
17,636,101
0
0
null
null
null
null
UTF-8
Python
false
false
503
#! /usr/bin/env python def options(ctx): ctx.load("compiler_c compiler_cxx") pass def configure(ctx): ctx.load("compiler_c compiler_cxx") ctx.check_cfg(package='glib-2.0', args='--cflags --libs') ctx.env.LINKFLAGS = [] #TODO: absolute path #ctx.env.append_value('INCLUDES', ['../include'])...
[ "jakob@whatz.eu" ]
jakob@whatz.eu
967c54ebd9e3e7a1f17010694bebc3026a024991
440c2f17a64b718227bbc9ac1f799630d0f3233d
/Chapter01_ArrayProblem/lc796.py
b50332bb95b4ae17e7495e3c834eeac162f62da0
[]
no_license
HuichuanLI/alogritme-interview
6fc84fdbfe1123c1e587eaf2df6b6e9fb2ca7dda
0ac672a1582707fcaa6b6ad1f2a1d927034447df
refs/heads/master
2023-02-05T03:29:14.458783
2020-12-25T14:04:17
2020-12-25T14:04:17
206,583,220
1
0
null
null
null
null
UTF-8
Python
false
false
372
py
class Solution: def rotateString(self, A: str, B: str) -> bool: if len(A) != len(B): return False if A == B: return True for index, a in enumerate(A): if a != B[0]: continue else: if A[index:] + A[:index] == B: ...
[ "lhc14124908@163.com" ]
lhc14124908@163.com
c1fcb8d442f27e99c3ca9c06c6168d39a909e9e7
467a4136897495766b7cbb69890b642ea684d50c
/project/applications/users/serializers.py
732dceac7c6a149bf801fe707de6e88d917b906e
[]
no_license
abheist/django_angular_webpack
1eb4e6d766e86dc9203edb4573a5563497d5eca9
0ec0b532f08eb5fa7094fb3f84b04b756ee6662a
refs/heads/master
2021-06-19T22:49:38.154736
2017-07-21T21:33:37
2017-07-21T21:33:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from rest_framework import serializers from project.applications.users.models import User class UserSerializer(serializers.ModelSerializer): class Meta(object): model = User fields = ('id', 'email', 'is_admin', 'is_active',)
[ "abhishek@kisanhub.com" ]
abhishek@kisanhub.com
f76accf40d09b58d4311d4c39502aaf544b48f91
9da129ec93a6fd2c5f65b57a0faec21d8eb80720
/Term_NSI/devoirs/4-dm2/Corrigé/S5/E10.py
a95413dc1d38cadd7439053c1c59d2d57ee9e86a
[]
no_license
FranckCHAMBON/ClasseVirtuelle
79bd4e4114d27ca3792b46b1fb384c394397b329
48fe9883ee6763e79e561537bc0ed7048339b457
refs/heads/master
2022-08-22T15:35:48.128508
2021-04-28T07:21:04
2021-04-28T07:21:04
249,953,475
3
4
null
2022-08-05T09:28:10
2020-03-25T10:52:47
HTML
UTF-8
Python
false
false
1,310
py
""" Prologin: Entraînement 2003 Exercice: 10 - Solitaire https://prologin.org/train/2003/semifinal/solitaire """ plateau = [] liste_billes = [] for ligne in range(7): entrée = list(input()) plateau.append(entrée) for colonne in range(7): if entrée[colonne] == "1": liste...
[ "franck.chambon@ac-aix-marseille.fr" ]
franck.chambon@ac-aix-marseille.fr
c62111437c9a53952b4d3ee19e7ba5ee43c9e633
b41b996b4a14f11bb3d7676b4539725a93c2d586
/SourceCode/Codesignal-Selenium/SourceNew/Py3/insertDashes.py3
7c90291c8490000fd0d77637d4d36bd37deccab2
[]
no_license
mquandvr/selenium
ee2c0e7febb15f4db4d33a8575726f67c48bde05
d7bb4c95d4d0756c66cbf3c69387318fc07219f2
refs/heads/master
2020-06-05T05:49:57.476867
2019-06-18T10:55:27
2019-06-18T10:55:27
192,335,493
0
0
null
null
null
null
UTF-8
Python
false
false
167
py3
def insertDashes(inputString): words = inputString.split() for i in range(len(words)): words[i] = "-".join(list(words[i])) return ' '.join(words)
[ "11130052@st.hcmuaf.edu.vn" ]
11130052@st.hcmuaf.edu.vn
f76c015d05834771b0bdb2b544881a218625789f
6e1d770c11a94a4f2d5d6f5212da47c5a92f1d46
/venv/bin/wheel
2597eccb6f37b54faebc3ec6b50b96098550937c
[]
no_license
ironstein0/myUIC_portal_automatic_registration
aa76eb8f056d92dfb3e5e3a824c278632a04a394
cb89aa718f9bf845eeb067efe67b5746a7fbc1e1
refs/heads/master
2021-08-23T04:55:44.795736
2017-12-03T12:20:48
2017-12-03T12:20:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Volumes/jarvis/projects_working_directory/selenium_projects/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "riyansh.karani.011235@gmail.com" ]
riyansh.karani.011235@gmail.com
d32998b192faf56572de67cb5f15dc59afc38c2c
25b30786850d0e18502813f088b2779c2132b67a
/venv/Scripts/easy_install-3.8-script.py
eccfd79e85962afb201029e0e0a472c1f9ad1e52
[]
no_license
manisreekar/DetectionOfTwitterBots-MINI_PROJECT
2389ced3e584cd1e4fd52ce7f9251b91381d76a3
71fb0cd7ad394a458676c3e909ea479e57df34bc
refs/heads/master
2022-11-11T21:07:33.232921
2020-06-27T11:41:01
2020-06-27T11:41:01
274,459,076
1
0
null
null
null
null
UTF-8
Python
false
false
496
py
#!C:\Users\manis\PycharmProjects\MachineLearning-Detecting-Twitter-Bots-master\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': ...
[ "50582617+manisreekar@users.noreply.github.com" ]
50582617+manisreekar@users.noreply.github.com
b513d8cf0065d3b86ae611a8e704f4ec381c14d8
97128c3b69666255f5c8583685256db5c61bbe29
/connectz.py
308de00a10806ccd42eb3e362b3554deb2b5f99b
[]
no_license
zeeshanshanu14/Connect4
43f8838630ac1cfa2e2ee6f542d09124f50844f7
7edf05f6fdbc69e37cbe27e52b8f4dcc6515148b
refs/heads/master
2020-08-13T23:26:53.317468
2019-10-14T13:51:12
2019-10-14T13:51:12
215,056,419
0
0
null
null
null
null
UTF-8
Python
false
false
8,182
py
import itertools import sys import numpy as np def execute_player_action(game_board, played_loc, player): if played_loc > np.shape(game_board)[1] - 1: print(6) exit(6) success_flag = 0 changed_board = game_board[:, played_loc] # iterate that column in reverse as checker will be stacke...
[ "noreply@github.com" ]
noreply@github.com
68cedabfbc09a63f6c95ab47625817a4d4f29131
758e34c96569a52b24454311e263d12ef8b0a4af
/socks/__init__.py
e06450c60206faa84f0c1f4f7289cea508ce922c
[]
no_license
devenjarvis/aws-socks
fde00ef0f9e122121dd62dacd2ff74ac117c8186
8e917dcec062bdbfac95b57fd1dbbb9a5f7e810d
refs/heads/master
2022-12-17T05:36:21.682336
2020-09-12T23:56:28
2020-09-12T23:56:28
279,918,200
3
1
null
2020-09-13T00:07:28
2020-07-15T16:19:49
Python
UTF-8
Python
false
false
248
py
# Core AWS Service abstractions #import socks.ssm import boto3 import socks.athena import socks.cloudwatch import socks.dynamodb import socks.s3 import socks.secretsmanager import socks.sqs import socks.ssm import socks.sts import socks.aws_lambda
[ "deven.jarvis@cfacorp.com" ]
deven.jarvis@cfacorp.com
795dbd21792c5f06fc2b33e3ded0ba6d473c4161
bf7959048edc0005e04431a0864c719adc5ea9ea
/python版本/222.CountNodes.py
484d866b66bbde6d0c8250b82279c24b92434a61
[]
no_license
Yohager/Leetcode
7c24f490cfa5fd8e3cdb09e5a2305a134a064a93
585af82ff2c2d534053f6886714406019ed0c7d1
refs/heads/master
2022-12-07T23:51:16.347174
2022-11-28T02:30:53
2022-11-28T02:30:53
178,201,848
1
0
null
null
null
null
UTF-8
Python
false
false
861
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def countNodes(self, root: TreeNode) -> int: if not root: return 0 lh = 0 ...
[ "guoyuhang0921@gmail.com" ]
guoyuhang0921@gmail.com
56057d7e91a6da371c702cdb1b2e71d854c5a446
daf9fc80a6a68fbe620af85a3eeebb3f53a593eb
/app/pru.py
e21b70d5b678b3d6506f2dce9b08435278c76eb9
[ "MIT" ]
permissive
HudsonWerks/visualpru
9625430616fbe9db16d5f50e561b0c32730e104d
5bbb44ebb0798a493ad33f4881fa7845e8aeff74
refs/heads/master
2021-01-18T18:25:57.332862
2014-08-20T18:38:11
2014-08-20T18:38:11
23,190,525
1
0
null
null
null
null
UTF-8
Python
false
false
7,636
py
from __future__ import print_function from __future__ import division import os import mmap import struct import re import pasm class PRU: def __init__(self, id, constants, shared_constants): self.id = id self.constants = constants self.shared_constants = shared_constants self.f ...
[ "mmcdaniels@gmail.com" ]
mmcdaniels@gmail.com
98044cdd44063bb110f6b637a8192e571ea4c3c2
4e362157246306f095a904dced51e16a87d82b79
/ex14.py
bef360bade2068ea51a670f3a968cc3071249a70
[]
no_license
tejaveturi/python
c17fd605c0da6123f0b22d4d70aabee96edd4187
83c117f2d6f6ffc25da35ba2445c4ff3c9afd723
refs/heads/master
2021-01-11T13:47:37.035056
2017-05-19T01:25:35
2017-05-19T01:25:35
86,526,803
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from sys import argv script, user_name = argv prompt = '>' print "Hi %s I am %s" % (user_name, script) print" where do you live %s" %user_name live = raw_input(prompt) print " do you like me %s " % user_name like = raw_input(prompt) print "what computer do you have %s" % user_name computer = raw_input(prompt) prin...
[ "tejaveturi@gmail.com" ]
tejaveturi@gmail.com
a0500d0291da3fd04b167a482f55b0cfb912567c
5ea8be3085b173a5fa006a2d9538ea5d92d08957
/py/settings.py
342080897813d9c04afbb952e4d8ffaa376bb3b8
[]
no_license
amirgraily7/PDFMetadataExtractor
c01d3ab6535edb5a4080a76e3aac1f2d1beb5be3
c15290c44376fcdaa1a1597478f4d27fe44ab45c
refs/heads/master
2021-05-31T07:56:13.479570
2016-02-28T02:15:38
2016-02-28T02:15:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,780
py
import yaml import collections import os import importlib import pattern_builder import re class Settings: """Represent settings and do related things. Settings are stored in a YAML """ def __init__(self, filename=None): """Load settings from a file. Loads the settings from the YAM...
[ "amerberg@gmail.com" ]
amerberg@gmail.com
c4e5a95d799181a421ae69c2a2c1605b7a024145
a932f09ba6c9f5d6086ed70f7311fca41b77ef92
/wbManager/__init__.py
c4b70a893c318cc719c4b275c53b5de3db692727
[]
no_license
N0taN3rd/pywbModules
446b2d69ed4d518e1b439b50d5a61019f8639b5c
d456e3c0006e074dfcc770b4193bd3aa59b22b31
refs/heads/master
2021-01-20T21:12:07.433132
2016-08-27T20:49:39
2016-08-27T20:49:39
65,776,710
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
import sys, os if getattr(sys, 'frozen', False): # we are running in a bundle frozen = 'ever so' bundle_dir = sys._MEIPASS DEFAULT_CONFIG = os.path.join(bundle_dir,'default_config.yaml') else: DEFAULT_CONFIG = 'wbManager/default_config.yaml' def get_test_dir(): if getattr(sys, 'frozen', False)...
[ "n0tan3rd@gmail.com" ]
n0tan3rd@gmail.com
b260f208bb5d54f3c60ebdd94ef44c20c976b2dc
16df28be8eafbb07384c7a1ad7bd686c7e392382
/dispersion_functions.py
c6be3a7db23e005129e3f53724dfade59aa1eb4e
[]
no_license
kd891/TuringPatterns_MRes
a81db5acbb41a7903dc477ad4e46b55dc28e6f66
262cb96b28e326e8249c09b037590c1a2a258397
refs/heads/main
2023-07-13T09:39:18.094876
2021-08-23T22:42:47
2021-08-23T22:42:47
399,262,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
''' This file contains all the functions required to perform the linear stability analysis 1) Finding the steady state values 2) Harmonic diagonal perturbation of the steady state in the presence of diffusion ''' import scipy from scipy import optimize import numpy as np ''' Steady State: Powell's dogleg method N.B...
[ "noreply@github.com" ]
noreply@github.com
ff360813a0192800928a486df1db909c9c890603
e2f5a314f8f3c03acf6452c7648958632b443179
/job/migrations/0003_job_description.py
d9291a0828b7554e83bc1ece159b19be467c6c01
[]
no_license
Anas-Darwish-SB/django-job-board
8c82cff929ddcba0f23cd592aff03e81a11f9dc9
3d65320217d96b6914cbae0ab43a886cd352e1f0
refs/heads/main
2023-03-01T15:32:54.378367
2021-02-05T07:20:50
2021-02-05T07:20:50
335,994,207
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# Generated by Django 3.1.6 on 2021-02-04 17:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job', '0002_job_job_type'), ] operations = [ migrations.AddField( model_name='job', name='description', ...
[ "Silver.Bullet.A.SB@gmail.com" ]
Silver.Bullet.A.SB@gmail.com
f047285cfd37ada2200725af048a79b49b00a69c
13c22985b2062d29e18885f36e64346fad7f63e3
/advertisement/serializers.py
5a064c8ab3ebf2333903959be6f4b1bdcb62a25b
[]
no_license
zozoh94/GivagoAPI
b10e3af40450c5576f25c1de2d3507dccbf0edde
43913479bc1fac9d83d59ada9f829bc431c6b356
refs/heads/master
2020-12-25T14:58:51.643452
2017-06-13T11:42:50
2017-06-13T11:42:50
66,844,100
0
0
null
2019-10-22T20:44:31
2016-08-29T13:02:25
Python
UTF-8
Python
false
false
3,103
py
from rest_framework import serializers from embed_video.backends import detect_backend from django.contrib.auth.models import User from django.contrib.auth.models import Group from taggit_serializer.serializers import (TagListSerializerField, TaggitSerializer) from django.util...
[ "enzo.hamelin@gmail.com" ]
enzo.hamelin@gmail.com
8f4c6030c1dc333a1e1776bfe77cbc9ba9f0bcf1
db9cc680a60997412eae035b257cc77efbcdcb06
/py3/leetcodeCN/competition/2020/2020-3-1-cp-3.py
080ce7ceb567a3597e3ddf364c513a2eb84a902e
[]
no_license
Azson/machineLearning
9630b62c73b2388a57c630644dae3ffa8e4db236
35662ddf39d322009f074ce8981e5f5d27786819
refs/heads/master
2022-05-06T07:03:23.543355
2021-08-20T14:57:25
2021-08-20T14:57:25
179,935,258
3
3
null
2019-11-04T14:26:51
2019-04-07T08:07:08
Python
UTF-8
Python
false
false
1,398
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class ...
[ "240326315@qq.com" ]
240326315@qq.com
c402d92be0fefde5dce06ba3d84f6f68b959e4b1
031be4933b53a382bf5573e1a8c3259ce7be6435
/models/tag.py
96b3562a6d2fdba334272961f4e9327a31128dfc
[]
no_license
ScarlettSamantha/depricated
8f6241bf3d357c1d5a9f561110da0a3d3604bc85
0f4e43398a4a595333371b12bd37cc145bf1ce0e
refs/heads/master
2023-02-20T14:30:19.715146
2018-07-27T14:33:20
2018-07-27T14:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
from uuid import uuid4 from helpers.uuid import UuidField from TransHelp import db from datetime import datetime class Tag(db.Model): id = db.Column(UuidField, unique=True, nullable=False, default=uuid4, primary_key=True) name = db.Column(db.String(255), unique=False, nullable=False) date_created = db.Co...
[ "scarlett@arcane-tech.nl" ]
scarlett@arcane-tech.nl
f3d2d04de7d85a941f4cd9cf4d9eea6843ec645f
d86305121299d4827faa19f3d5d7176e6764f9bc
/modules/bbc/chain/wallet.py
6e6b7c4009b2328617c499b54e9f82c6ab08a9a6
[ "MIT" ]
permissive
pdinkins/pythos
af5d07e7339dc7e39def66d290d7bc54bf1f3713
7cca6ae94090f5179d3e108ded78559c0775535a
refs/heads/master
2020-03-21T12:27:21.031224
2018-07-11T17:01:49
2018-07-11T17:01:49
138,553,400
4
0
null
null
null
null
UTF-8
Python
false
false
7,947
py
# Wallet # stores all functions relating to the user hash wallet # dyanmically stores data for wallet currently in use current_wallet = [] wallet_data = [] _system_architecture_dyna = [] # dumps all dynamic data def dynamic_data_dump(): current_wallet.clear() wallet_data.clear() _system_architecture_dyna....
[ "parkerdinkins@gmail.com" ]
parkerdinkins@gmail.com
531cdbf271adab4283793689ac212bbf31ec34ca
f1e1dd0a7c99045c369700bb912f27b1ef594c38
/reviews/migrations/0001_initial.py
923b221732ca647790232f6712b268d5cd540de5
[]
no_license
gamitarchana/cabdemo1
5a362cc90a4fe373a1a3e3d0c522b5bb4d664593
b9243635716dfa600aeb6d70679022f7b9af9482
refs/heads/master
2020-05-29T14:21:10.623072
2019-05-29T09:19:58
2019-05-29T09:19:58
189,192,223
0
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
# Generated by Django 2.1.8 on 2019-05-20 10:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('outstation', '0001_initial'), ('login', '0001_initial'), ] operations = [ migra...
[ "archanangamit@gmail.com" ]
archanangamit@gmail.com
8ae8ee1ac0d9a92d5f5173c5c6da8ae64d37fb07
a65f6e9eba9fabea9b62b967e057180efe363b1d
/crm/models.py
1f9ff471d1b30ca9d910848e38e4e7a573f5b283
[]
no_license
SiriChandanaGoparaju/Foodservice
7c5f4627b4e7f9d208d76350b2805e09a8edfeb5
57fd12111ed8275c3e52ea47563d3776aedaca51
refs/heads/master
2020-03-28T18:55:31.051779
2018-10-01T01:57:44
2018-10-01T01:57:44
148,927,361
0
0
null
null
null
null
UTF-8
Python
false
false
2,627
py
from django.db import models from django.utils import timezone # Create your models here. class Customer(models.Model): cust_name = models.CharField(max_length=50) organization = models.CharField(max_length=100, blank=True) role = models.CharField(max_length=100) email = models.EmailField(max_lengt...
[ "siri.goparaju@gmail.com" ]
siri.goparaju@gmail.com
347cde7559e5110cbe0a2f1da98c7276860f087f
ebf934fb6fd4e0ebbd870db857897fbb9d8022b7
/test/nlp/hanLP_test.py
bd09b95b9eab1c22f831b1bfdcf0b9498d7ff034
[]
no_license
AidenLong/ai
6ce2bcf5928f8350ba8b440e9032ea4c39dd69ec
0901e6010bbb51a165680e52d9adaeec7e510dc1
refs/heads/master
2020-05-03T13:27:38.698490
2019-08-22T03:18:09
2019-08-22T03:18:09
178,653,209
3
2
null
null
null
null
UTF-8
Python
false
false
5,430
py
# -*- coding:utf-8 -*- # 引入java的执行环境;Jpype是一个让我们可以通过python来运行Java代码的工具包 from jpype import * # startJVM(getDefaultJVMPath(), "-ea") # java.lang.System.out.println("Hello World") # shutdownJVM() # 启动JVM,Linux需替换分号;为冒号: startJVM(getDefaultJVMPath(), "-Djava.class.path=D:\syl\dev\hanlp-1.7.4-release\hanlp-1.7.4.jar;D:\s...
[ "807108578@qq.com" ]
807108578@qq.com
0b8a4d987be1c050c59b6bfd3e16eb59b6970292
343f954b367cf9a7e136c3cf748bdac6b5d40291
/web/docker_addons/provider.py
ed2f64b993c8892a4306c51687891c5645b43ed8
[]
no_license
TigerAppsOrg/TigerHost
e1e6ab69d0691af8fb7a7f22acae275b254b38f6
df2bbc2c0f7b593930a5c5bc038232f66394f8c5
refs/heads/master
2023-02-07T10:21:55.134366
2016-05-25T01:59:57
2016-05-25T01:59:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,923
py
import docker from api_server.addons.providers.base_provider import BaseAddonProvider from api_server.addons.providers.exceptions import AddonProviderError from django.conf import settings from docker_addons.docker_client import create_client from docker_addons.models import ContainerInfo class DockerAddonProvider(...
[ "naphat.krit@gmail.com" ]
naphat.krit@gmail.com
60a5a3b2d88f1b5cfc9138ecdb5aa12bafdb305b
b5b5786665bf242bef93883b3689f4bda192f916
/minimum number of operation.py
7b921a3df547ec96560cf627e68889b20ae4e415
[]
no_license
Manojna52/data-structures-with-python
c9bbd44bbedeb3c4f2d6188e1e0a579ee22d15e9
ae4df664a90ce9df83ca75354c15416d74f86da5
refs/heads/master
2023-03-19T06:02:58.028046
2021-03-20T04:28:40
2021-03-20T04:28:40
349,619,394
0
0
null
2021-03-20T04:28:41
2021-03-20T03:43:45
Python
UTF-8
Python
false
false
176
py
x=input() x=int(x) def target(x): if(x==0): return 0; if(x%2==0): return 1+target(x//2); if(x%2!=0): return 1+target(x-1); print(target(x))
[ "manojna.1si17ee017@gmail.com" ]
manojna.1si17ee017@gmail.com
151e27aa8434d20f0181f26549e74a8f679a726c
119a40ccae50e41ee1b902f06785faa404e4f8e9
/gen_zip.py
6847973b4f6e821ff275c883d668defafff54276
[]
no_license
randomdude999/smwc-preview
ffe8eda8da02b8b801c561c0acbac76f24e1faa2
69d760c7712d5e4e66afe7b3089ff8a6be4c36c3
refs/heads/master
2022-04-04T07:06:09.042427
2017-10-25T21:22:55
2017-10-25T21:22:55
108,280,176
1
2
null
2020-02-17T13:50:38
2017-10-25T14:16:50
Python
UTF-8
Python
false
false
1,843
py
import subprocess import zipfile import fnmatch import os # needed for building the extension chrome_exe = os.environ["CHROME_EXE"] exclude_from_zip = [ ".idea", "settings.json", "gen_zip.py", ".gitignore", "chrome_ext.pem", "install_mode", "smwc_preview.zip", os.path.join("*", "error...
[ "just.so.you.can.email.me@gmail.com" ]
just.so.you.can.email.me@gmail.com
023ece318ab75778e99245e1d84e28a375bf3258
354ebc252c46fa844e1ff93ac554d3a0e1535ddd
/ex30.py
465f243b9a42954578e1282df641779202318d59
[]
no_license
yuliqing16/python_learn
de568e23e57141fe26b6db5e8c9a00899676f232
ba7daa7fda08ea99ea3c1b30be9d18afd07deec8
refs/heads/master
2018-11-05T18:46:20.534032
2018-08-27T06:25:17
2018-08-27T06:25:17
114,659,812
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
people = 30 cars = 40 buses = 15 if cars > people: print("We should take the cars.") elif cars < people: print("We should not take the cars.") else: print("We still can't decide.")
[ "yuliqing16@126.com" ]
yuliqing16@126.com
98d3c9a40cc074f8a5e5e4e336dccf81f7542b34
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_koshers.py
7df1793076be59aa259e7fa5dbfcd802dd19301a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from xai.brain.wordbase.adjectives._kosher import _KOSHER #calss header class _KOSHERS(_KOSHER, ): def __init__(self,): _KOSHER.__init__(self) self.name = "KOSHERS" self.specie = 'adjectives' self.basic = "kosher" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b05a9b35d1dc2bc4a1f6b1502a4d2517cc98fd12
cb6b6ee58dbee4604058a3e44142d0ffb7906ba8
/pypif/obj/common/reference.py
d73228acef181e4c1721f6f402341b3e3a654819
[]
no_license
nad2000/pypif
a3991dab9bf3e0c558a2891b301c3dec494096a6
dc9923792f91c53ac649b403620a387e1d86cb83
refs/heads/master
2020-04-07T07:43:57.980477
2016-01-13T21:54:58
2016-01-13T21:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,256
py
from pypif.obj.common.name import Name from pypif.obj.common.pages import Pages from pypif.obj.common.pio import Pio class Reference(Pio): """ Information about a referenced publication. """ def __init__(self, doi=None, isbn=None, issn=None, url=None, title=None, publisher=None, journal=None, volume=...
[ "kyle@citrine.io" ]
kyle@citrine.io
e365c6caa96ff93ca3ae52f83d2dad7fe420db8a
e8ae11e5017507da59e2e92d423b6a1994490de4
/env/lib/python2.7/site-packages/azure/batch/models/node_agent_sku_paged.py
421f4ce3570b08e498a112d19f4b911761114146
[]
no_license
teopeurt/ansible-ubuntu-server
613d00cea28bc6531acf4a39aeeb9cd0baa2a391
b5b6127d2ee9723c5088443efe2ffb8ae30cfea7
refs/heads/master
2021-06-28T12:49:50.935753
2017-07-31T17:34:33
2017-07-31T17:34:33
98,912,808
0
1
null
2020-07-24T00:05:31
2017-07-31T17:32:56
Makefile
UTF-8
Python
false
false
1,386
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. 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 co...
[ "me@teopeurt.com" ]
me@teopeurt.com