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
61511f49964ca71e6a0f6d8c8c5023828b810084
55909fd5282ea210f2221fc467f71f9ed41b0bef
/Aula 13/ex056.py
5a65082bf9d2352ec7ab655f7557494215f5ccf6
[ "MIT" ]
permissive
alaanlimaa/Python_CVM1-2-3
163ecd8c9145f2d332e6574d8923373b87a2e1f5
6d9a9bd693580fd1679a1d0b23afd26841b962a6
refs/heads/main
2023-06-18T16:07:59.930804
2021-07-20T16:22:01
2021-07-20T16:22:01
387,841,441
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
midade = Hmaior = nomevelho = contM20 = 0 for p in range(1, 5): print('-=-' * 10) print(f'{p}º pessoa ') nome = str(input('Nome: ')).strip() idade = int(input('Idade: ')) sexo = str(input('Sexo [F/M]: ')).strip()[0] midade += idade if p == 1 and sexo in 'Mm': Hmaior = idade n...
[ "alanlimabusiness@outlook.com" ]
alanlimabusiness@outlook.com
b2bfe60fd2757ea1c81ebdbf993288df5d87aa51
b98e5b36afde16824ff7f24394a13db33498ab13
/Ensaio_RAW.py
19770e03d752ae6a95b7447be944fad7cdd0b333
[]
no_license
GuilhermeMPPython/Calculab.py
2ed15c675c72c71fe734a83e8cac0c3fe1649ad2
f76fff1f205177f81baa054d3b03c443b870dfdf
refs/heads/master
2020-07-01T07:22:04.177569
2019-08-09T14:53:59
2019-08-09T14:53:59
201,088,157
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 7 13:55:44 2019 @author: Guilherme MP """ import celula_p import leishmania_p import virgula def ensaio_infeccao_RAW(): print (' ','='*38) print('\t CÁLCULO LEISHMANIA') print(' ','='*38) leish_poco = round(leishmania_p.leishmania(),2) print (' ','=...
[ "53872837+GuilhermeMPPython@users.noreply.github.com" ]
53872837+GuilhermeMPPython@users.noreply.github.com
927b2fe90bc09f83f8e059e2b52cb49cb5721c15
d72e5bd9da5089b889ff4a02b3e7d0c3135e3aa4
/googleAudioProject/userManagement/UserManager.py
ec008b740ad2dec7474609cfe1e95d9178fa51a3
[]
no_license
BU-NU-CLOUD-F19/Google_Photos_for_Audio
b07c28827fdf50f913d11ee498ad41db57ad7be3
28e3c42ff10c1740af99d8924326958345406427
refs/heads/master
2022-12-17T00:26:38.681841
2019-12-08T03:12:42
2019-12-08T03:12:42
207,849,309
3
3
null
2022-12-08T06:42:28
2019-09-11T15:45:29
JavaScript
UTF-8
Python
false
false
2,928
py
from __future__ import print_function # Python 2/3 compatibility import decimal import boto3 import json from boto3.dynamodb.conditions import Key, Attr from botocore.exceptions import ClientError import hashlib, binascii, os import re regex = '^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$' def hash_password(password...
[ "martina.song@outlook.com" ]
martina.song@outlook.com
b7a39781da795ef517cb03964f9dde5fd7e01f70
376a1b1be24210e8860662f3d499124ab25b30a7
/src/Semestre_2019_2/2019_09_17_Underfitting_Overfitting.py
d51a59c9e3e524c6cafd95a9704fd9e2225451fe
[]
no_license
nocyamribeiro/EEL891
0aabcc456374c9b9005251d0342460c3eea1f5db
2e265d71a2fba661843662047a83837e4aecf10d
refs/heads/master
2021-01-06T05:35:57.075806
2019-11-19T03:42:16
2019-11-19T03:42:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,131
py
#============================================================================== # Underfitting e Overfitting #============================================================================== polynomial_degree = 3 # grau do polinomio usado no modelo number_of_samples = 20 # numero de amostras de dados dispon...
[ "heraldo.ufrj@gmail.com" ]
heraldo.ufrj@gmail.com
780d129680d02e195525b521a06e2740039f7066
34aee9d503a16b5645b7a0057f5713d862076552
/chap_4/c4_36_2.py
10877b09e0410681888dcb931b766996c6e2b3d4
[]
no_license
meshidenn/nlp100
05724788429325f0fe83997c175feeca070f2d7b
aa1543240595e84f7a125a80774d8b345308c1bc
refs/heads/master
2021-01-13T07:55:07.732976
2017-04-17T15:16:49
2017-04-17T15:16:49
71,709,977
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
import c4_30_2 as p30 import csv def mk_set(sentence): buf = [] # for sentence in sentences: for line in sentence: buf.append(line['base']) wset = set(buf) return wset def w_dict(wset,sentence): wdict = {} for word in wset: wdi...
[ "hiroki@Hiroki-no-MacBook-Air.local" ]
hiroki@Hiroki-no-MacBook-Air.local
f4779c12abf558854539a29d85de3a7952d33d97
f59ea6a59360c3ee35e3bcc977279c505524df9c
/02-arrotondamento-fibonacci-pert.py
f85e6b8943713ce24271eaff0c085402fa6b989d
[]
no_license
WohthaN/MNS
e04de7409a2fe1155cb6907daea24bc836a2bdab
e3bb9011e527d7bd22cf42b71574d60383defcb9
refs/heads/master
2021-09-09T08:13:42.339718
2016-06-02T10:19:34
2016-06-02T10:19:34
125,193,078
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
from env import * from bigfloat import sqrt, precision z1 = (1+np.sqrt(np.float64(5)))/2 + 2e-15 z2 = (1-np.sqrt(np.float64(5)))/2 c0 = np.float64(1.) c1 = (1-np.sqrt(np.float64(5)))/2 C = np.array([[1., 1.], [z1, z2]]) c = np.array([c0, c1]) Cinv = np.array([[-z2/(z1-z2), 1/(z1-z2)], ...
[ "carlisamuele@csspace.net" ]
carlisamuele@csspace.net
91a3a764327f1035a70607756d25158415b24c6d
327238868408aef99fb4342a8349b9e52f926db2
/diya-stack.py
bd7dc0be8b1896110a99bdb7aa3dac0acb2c6aef
[]
no_license
veitsi/algomix
7f8142f5b1808988431fa68a426790af86e4cc9d
a349239ec6068d1c85289174b84d579d70c7540f
refs/heads/master
2016-08-08T23:25:13.906076
2016-02-26T12:14:07
2016-02-26T12:14:07
52,602,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
class Stack: def __init__(self, size=10): if size < 2: return None self.size = size self.__stack = [None for i in range(size)] self.__position = -1 def __str__(self): return str(self.__stack[:self.__position + 1]) def push(self, x): if type(x) !=...
[ "xtfkpi@gmail.com" ]
xtfkpi@gmail.com
26d7c06f88ff8b77fb6eb704335b28197ac7b3ac
49c2492d91789b3c2def7d654a7396e8c6ce6d9f
/ROS/vrep_ros_ws/build/vrep_skeleton_msg_and_srv/catkin_generated/generate_cached_setup.py
063f8efb2e5b20ed1335dd677a45fae2675a3513
[]
no_license
DavidHan008/lockdpwn
edd571165f9188e0ee93da7222c0155abb427927
5078a1b08916b84c5c3723fc61a1964d7fb9ae20
refs/heads/master
2021-01-23T14:10:53.209406
2017-09-02T18:02:50
2017-09-02T18:02:50
102,670,531
0
2
null
2017-09-07T00:11:33
2017-09-07T00:11:33
null
UTF-8
Python
false
false
1,508
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.p...
[ "gyurse@gmail.com" ]
gyurse@gmail.com
84234c762e51c88b858dc53f8d5fe2e9486ed289
897bd4c42d285478ba00712d746712c91bae4d6c
/elgraiv_fbx_export_utils/properties.py
6b56f61a7bf1d2ec8edcddc2f859c92b5aed47ad
[]
no_license
elgraiv-take/BlenderAddons
5721dfd9bf941d26b0300ba332b8a672f5ef8b1b
d413abd1efb9bd0c4fcbba681f47da8021bb48b6
refs/heads/master
2021-07-01T04:11:28.051329
2020-12-01T17:42:02
2020-12-01T17:42:02
201,735,526
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
''' Created on 2019/08/11 @author: take ''' import bpy class FbxExportItem(bpy.types.PropertyGroup): item: bpy.props.PointerProperty(type=bpy.types.Object) class FbxExportSet(bpy.types.PropertyGroup): name: bpy.props.StringProperty() save_path: bpy.props.StringProperty() active_object_index: bpy....
[ "4583273+elgraiv-take@users.noreply.github.com" ]
4583273+elgraiv-take@users.noreply.github.com
1a4b4f6a75b6fc31635917956efcfeab557469c3
c251ab19f18cb53ab04cbac49ee7d1028955e997
/PYSE_Lab2_part3.py
e0b6f355d5dbf59316d58eb607bed03f9afe99df
[]
no_license
MathiasGrun/ntnu
6fd748cc7a212398aaaae8895280c8429c8657dd
f7a862b1349faa778b4c99f1df315a4dd487bbfb
refs/heads/main
2023-01-02T12:57:55.328572
2020-10-23T16:21:32
2020-10-23T16:21:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,426
py
import simpy import numpy as np import random import matplotlib.pyplot as plt env = simpy.Environment() scheduled_interarrivals = [] actual_interarrivals = [] my_delay = 300 # Giving the delay a constant, this varies as we would like t_landing = 60 t_takeoff = 60 my_ta = 45*60 e_weather1 = 3600 e_w...
[ "noreply@github.com" ]
MathiasGrun.noreply@github.com
22e4fd2f20807aa7d66e4e2d2f5ec4b4c33fde8a
32b1e7ad31be02fd70ea8aec551a60933e5d4946
/ICP_6/SVM_RBF.py
90c24ed4756e5e5fb781c6242a3ef902f90ea0ae
[]
no_license
maturivinay/python_lee
4a026b99ac5f151cfc5552fc9e62e3cbfbcad736
2cb223fe331616aba66f7a78acc6c4fe31389746
refs/heads/master
2021-07-22T04:05:39.246068
2018-12-11T00:31:05
2018-12-11T00:31:05
146,038,727
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
from sklearn.naive_bayes import GaussianNB from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import LinearSVC from sklearn.svm import SVC from sklearn.datasets import load_iris from sklearn.naive_bayes import GaussianNB from sklearn.model_selection import train_test_split from matplotlib import pyplot...
[ "31376403+maturivinay@users.noreply.github.com" ]
31376403+maturivinay@users.noreply.github.com
f135349869cce6877593dc177603adef88a8dd07
8eb2e7d0b82e26b8999c1e2f14b4fe0f7dfeab65
/scripts/run_slim_bpr_cython_baesyan.py
8262e9aefd632f8690b346aca92562dd0f270d73
[ "Apache-2.0" ]
permissive
edervishaj/spotify-recsys-challenge
c8d66cec51495bef85809dbbff183705e53a7bd4
4077201ac7e4ed9da433bd10a92c183614182437
refs/heads/master
2021-06-28T14:59:02.619439
2020-10-03T09:53:50
2020-10-03T09:53:50
150,008,507
0
0
Apache-2.0
2020-10-03T09:53:51
2018-09-23T17:31:20
Jupyter Notebook
UTF-8
Python
false
false
7,642
py
from personal.MaurizioFramework.ParameterTuning.BayesianSearch import BayesianSearch from personal.MaurizioFramework.ParameterTuning.AbstractClassSearch import DictionaryKeys from utils.definitions import ROOT_DIR import pickle from personal.MaurizioFramework.SLIM_BPR.Cython.SLIM_BPR_Cython import SLIM_BPR_Cython from ...
[ "scarlattitommaso@gmail.com" ]
scarlattitommaso@gmail.com
1a13ca652346bb8acc24d400245201aa9439116b
af0d4f18b32cfc8f5d492eb0f8def373da318571
/review.py
1e1455183d8db667010f15639861908f17fd9d0c
[]
no_license
chbae/gitlab-review
e254beb61a646c031143332d2466227eace989c4
107fcfe5013695bf369642b698491d6b7c89a514
refs/heads/master
2020-08-11T02:10:22.792614
2019-10-11T15:16:43
2019-10-14T11:56:09
214,468,845
0
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
#!/usr/bin/env python import sys import json import gitlab def main(uri): gl = gitlab.Gitlab.from_config('swfactory', ['/Users/chanbae/gitlab/gitlab.cfg']) try: gl.auth() except Exception as ex: print('Error: ', ex) url = uri.split('/') prj = gl.projects.get(url[3]+'/'+url[4]) ...
[ "changhyeok.bae@daimler.com" ]
changhyeok.bae@daimler.com
20a4283830b333bc30651ce8b8c49605032f23df
cb20aa7ca2d807d038d5e3c536a768f160d517f1
/remove_motif.py
168758d18d3760d7f109a9baaf9d68da5369d2d5
[]
no_license
mathii/spectrum
dc393e3e1e425183112f7fc2a814fd3cd416936a
e9f0f990e8c0e5aac598886109bc5e89b15c3bc0
refs/heads/master
2021-01-10T07:15:47.871805
2020-06-02T15:02:15
2020-06-02T15:02:15
54,673,436
7
1
null
null
null
null
UTF-8
Python
false
false
1,021
py
# Read a fasta file, and remove a motif # Side effect of making everything uppercase from __future__ import division, print_function import argparse, re, sys from pyfaidx import Fasta motif="CC[A-Z]CC[A-Z]T[A-Z][A-Z]CC[A-Z]C" motif_length=13 #############################################################################...
[ "iain_mathieson@hms.harvard.edu" ]
iain_mathieson@hms.harvard.edu
9121aa7623fa31fd8cad9ac6cd3485cb1656a44d
a36501f44a09ca03dd1167e1d7965f782e159097
/app/modules/auth/params.py
c7dd1d359b51eb056962e44c9b871c1d299d8c4b
[ "Apache-2.0" ]
permissive
ssfdust/full-stack-flask-smorest
9429a2cdcaa3ff3538875cc74cff802765678d4b
4f866b2264e224389c99bbbdb4521f4b0799b2a3
refs/heads/master
2023-08-05T08:48:03.474042
2023-05-07T01:08:20
2023-05-07T01:08:20
205,528,296
39
10
Apache-2.0
2023-08-31T00:18:42
2019-08-31T10:12:25
Python
UTF-8
Python
false
false
2,162
py
# Copyright 2019 RedLotus <ssfdust@gmail.com> # Author: RedLotus <ssfdust@gmail.com> # # 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 # # Unles...
[ "ssfdust@gmail.com" ]
ssfdust@gmail.com
4cc745dedd64bfe8e4037da4f3c4b8f946bf51af
14416ce6e18f3a456ce8a197ccfe7a3772959e01
/used_car_price_prediction.py
cb28daad1632215077880b3dbf323efce0c1bfc8
[]
no_license
tanya-suri/car-price-prediction
0b08b00993c3b33734d63f22dc5d1f9bfd26d595
16e222c33c8851a99e28a3e36ba3e8d24ced5a7b
refs/heads/master
2023-06-08T23:19:25.154160
2021-02-04T20:30:46
2021-02-04T20:30:46
336,060,981
0
0
null
null
null
null
UTF-8
Python
false
false
9,975
py
#!/usr/bin/env python # coding: utf-8 # # By - Samiksha Bhavsar # # USED CAR PREDICTION PRICE # <img src="https://www.marketingdonut.co.uk/sites/default/files/styles/landing_pages_lists/public/usedcardealer1.jpg?itok=lSSEdwpY"> # # Problem definition # # This is the first step of machine learning life...
[ "tanya@invoid.co" ]
tanya@invoid.co
3b31d861b09cc17c98b649bb782694b94f71ca7c
93c52ebe87f878e7fdfdf7132d8b1e0351985a73
/predix/security/acs.py
5ed5032f9bbd10dc54b9654c5ae4e91c37abfbc0
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
8Mobius8/predixpy
3811ee2884ef771452c8f3e666a7f954327e4129
26c712439d57c6a292f3c06c6977132ac7ec1974
refs/heads/master
2020-12-02T18:15:04.684916
2017-07-19T16:40:14
2017-07-19T16:40:14
96,503,734
0
0
null
2017-07-07T05:52:52
2017-07-07T05:52:52
null
UTF-8
Python
false
false
12,354
py
import os import uuid import urllib import logging import predix.config import predix.service class AccessControl(object): """ Use the Access Control service to provide a more powerful authorization framework than basic User Account and Authorization (UAA) service. Access Control service provides a...
[ "jayson.delancey@gmail.com" ]
jayson.delancey@gmail.com
94ebb85f7e1d639046a1fbace4b86ac3803e0d57
1118d761c307a6861e3469176a12a8cf7f9d440a
/forms.py
bc1e8eecf491633f3d5fc8f4cdf42518937b4847
[]
no_license
Bendricks40/FlaskSocialNetwork
be2fac6a3fdb95c3870d0f6b9ebe6a0c74c6942a
7ed8b197132d8127c533a0ea08bce42cfb0ce003
refs/heads/master
2020-08-05T14:02:40.798267
2019-10-03T12:56:56
2019-10-03T12:56:56
205,247,338
0
0
null
null
null
null
UTF-8
Python
false
false
1,779
py
from flask_wtf import Form from wtforms import StringField, PasswordField, TextAreaField from wtforms.validators import (DataRequired, Regexp, ValidationError, Email, Length, EqualTo) from models import User def name_exists(form, field): if User.select().where(User.username == field.data).exists(): raise...
[ "bendricks40@gmail.com" ]
bendricks40@gmail.com
23e77f8d02e5d307347f08baca5d033626e01412
51b7b81cce1e8943926c531ad8763af8fd4074dc
/1260.py
8280b9c478f211dddcdc27f39f47b057c9ca1dae
[]
no_license
goodsosbva/BOJ_Graph
f65598591b07ea2f637cba2644bdc81386afb36e
34fe8bfec0543d9884869fe5ebbb536c6fcc3fbf
refs/heads/main
2023-03-22T08:14:53.735351
2021-03-07T09:22:39
2021-03-07T09:22:39
338,587,428
1
0
null
null
null
null
UTF-8
Python
false
false
790
py
N, M, V = map(int, input().split()) matrix = [[0] * (N + 1) for i in range(N + 1)] for i in range(M): a, b = map(int, input().split()) matrix[a][b] = matrix[b][a] = 1 visit_list = [0] * (N + 1) def dfs(V): visit_list[V] = 1 # 방문한 점 1로 표시 print(V, end=' ') for i in range(1, N + 1): ...
[ "noreply@github.com" ]
goodsosbva.noreply@github.com
a2d5408b706e5474559c179247f09e0d735eb299
9c1d96b350b9d372a801962e99d7b86f36693ca5
/Project Euler ~ Python/Euler015.py
7c3e21f188d0bf5d7f68b3ca98e2d8e1b59ee980
[]
no_license
CruzJeff/ProjectEuler
a4a7b6f5d2fa659c6153ee3a8a512791e3598d25
cd4962847c8b68e0a789a264b781070b14153a78
refs/heads/master
2021-05-08T08:41:37.167457
2019-01-22T05:51:53
2019-01-22T05:51:53
107,064,737
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 20 01:15:08 2017 @author: User """ '''For number 15, for the 2 x 2 grid we have to go down 2 times, and right 2 times to get to the opposite corner. From this we can see that for an N by N grid, you would have to go down N times, and to the right N times. So for a 20x20 ...
[ "shadowburai@yahoo.com" ]
shadowburai@yahoo.com
d82de8f764febc64cf530f2dc46b710cd433c73d
e05f8d36c70336a8714cc260c02fe85ecee2e62e
/subject/tests/functional/v1/test_api.py
cfca2ac0204a25f545c1ca0124f77b4b5b32a902
[ "Apache-2.0" ]
permissive
laoyigrace/subject
eafa442b5d9ebf83c78a01ce3bb5d088d08d620d
e6ed989fdc250917a19788112b22322b73b3550f
refs/heads/master
2021-01-11T00:06:54.790751
2016-10-24T02:13:32
2016-10-24T02:13:32
70,754,470
0
0
null
null
null
null
UTF-8
Python
false
false
37,886
py
# Copyright 2011 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
[ "yibo_grace@163.com" ]
yibo_grace@163.com
c70fc9e56b15f82e28bb7112b30e33ba26b542dc
be11a2e3ba05fc6073a7a12eddc23b1f85608517
/brainlit/utils/__init__.py
7b55a77314a0e10791f2f62647b339a25dddce39
[ "Apache-2.0" ]
permissive
DevinCrowley/brainlit
d2ac02e897b5932e9c013ac32c2e47ffaea7b14d
b206efe4a407bd96158ca8e664790267c2776cba
refs/heads/master
2022-11-24T21:15:27.352637
2020-07-09T20:57:05
2020-07-09T20:57:05
278,587,299
0
0
null
2020-07-10T08:59:29
2020-07-10T08:59:28
null
UTF-8
Python
false
false
172
py
from brainlit.utils.ngl_pipeline import * from brainlit.utils.upload_skeleton import * from brainlit.utils.swc import * from brainlit.utils.upload_to_neuroglancer import *
[ "bvarjavand@gmail.com" ]
bvarjavand@gmail.com
b321289a8645a6f9e9af0dad8ea7b4e5903efac1
3980ffc200867875e2dffaef5551397e99a434b0
/PythonSem1/lista10.py
a8dd236a2faff6a4e8ac94a7bf2ed6a9f4fc78fd
[]
no_license
wiphand/git-repo
10ff056d7f6048246c628a28360b2a85e36f9c3d
03599508506e383e36d70c890439f53d3b1b3a72
refs/heads/master
2021-04-18T21:31:20.282174
2018-06-04T00:26:03
2018-06-04T00:26:03
126,590,890
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
s="send + more"# = money" cyfry=[9,8,7,6,5,4,3,2,1,0] dictMain={} def analyze(s): functions=[] s=list(s) iter=0 for x in s: if(x.isalpha()): dictMain[x] = dictMain.setdefault(x,cyfry.pop()) elif(x!=" "): functions+=x print(dictMain,functions) return ...
[ "piotrus.kuczynski@gmail.com" ]
piotrus.kuczynski@gmail.com
e13f4165f0a7f3a7ad7b1cd021765f7c007adcc7
1973805c584194e97d5a5c152778d7b3bffa5f21
/Entertainment_Center.py
e5221c179b361643794cf47b0f93c6ba48c3cc29
[]
no_license
cgscreamer/FreshlyTomatoes
d09769b89f941b42b520f448bd6b188deab523e9
a2479c791d0dd5445eef5d3350fada2dd0d2cebc
refs/heads/master
2020-03-23T14:18:56.333355
2018-07-20T09:07:54
2018-07-20T09:07:54
141,668,207
0
0
null
null
null
null
UTF-8
Python
false
false
2,064
py
import media import fresh_tomatoes toy_story = media.Movie("Toy Story", "A story of a boy and his toys that come to life", "https://images-na.ssl-images-amazon.com/images/I/91q0UP6%2BUTL._SY606_.jpg", "https://www.youtube.com/watch?v=KYz2wyBy3kc" ...
[ "31764109+cgscreamer@users.noreply.github.com" ]
31764109+cgscreamer@users.noreply.github.com
c867bd9e02a9a83c26a20ce87ccafeab9d03df8d
e1ee812a873da2f1aeba893f36d842ea4a8ea4b4
/test.py
6113e3f2d7725b4d4d394bbcecda68a492788ac8
[ "MIT" ]
permissive
CanDenizKas/FizzBuzz-Game
26125c018b56c7bf571e1e43deea88f286215429
d1198d602bce8393c991867bdd1b011aba6ad785
refs/heads/master
2023-03-04T05:46:47.267568
2021-02-06T12:27:34
2021-02-06T12:27:34
335,057,636
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
i = 0 while i <= 99: i += 1 if i % 15 == 0: print("Fizz") continue if i % 3 == 0: print("Buzz") continue if i % 5 == 0: print("FizzBuzz") continue print(i)
[ "candenizkas@gmail.com" ]
candenizkas@gmail.com
63a2bb85fdf0fe9f7bfdb8230c87617f54d240cd
d24aba61db9f0a2bfd3d2c417d873b0e60529fd9
/commands/images.py
4a3153ce3b609aadf53a39a4a0cf2601a0782995
[]
no_license
rafarafa200/DiscordBot-TocaMandelao
8fb428808fc10d154f1c5b4244684cd169bd67ae
6edf1b48ae16f4a8b8cc1576a1ef8cf7de1d05ae
refs/heads/main
2023-08-30T12:19:54.781446
2021-10-31T14:11:05
2021-10-31T14:11:05
423,175,152
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
from discord.ext import commands import discord class Images(commands.Cog): """Works with images""" def __init__(self, bot): self.bot = bot @commands.command(name="foto") async def get_random_image(self, ctx): url_image = "https://picsum.photos/1920/1080" embed_image = discord...
[ "rafa_menucci@hotmail.com" ]
rafa_menucci@hotmail.com
c59ac3a4809a364611d8766dc31cc489c9434b3a
d261596c67a3ce9bae2373a321015fe62b088c5b
/BVE/BVEfd.py
7af140139d6c757fed10a9d8d74a85ae08734606
[]
no_license
mintDan/FluidDynamics
ada943d990a0301cce4d945a114b86abba9a0d4f
5fc0a7be3eb1c4551c2918b2c3d3bbea643afc56
refs/heads/master
2021-07-21T04:07:02.680043
2021-02-13T08:54:23
2021-02-13T08:54:23
67,929,444
0
0
null
null
null
null
UTF-8
Python
false
false
21,023
py
""" Dan Krog Numerical Solution of Barotropic Vorticity Equation vorticity, Holton page 101, Absolute vorticity eta, eta = zeta + f f is coriolis parameter, zeta is relative vorticity, zeta = nabla x (u,v)' dzeta/dt + J(psi,zeta+f) = 0 where J is Jacobian operator Barotropic fluid, pressure depends only only de...
[ "dankroga@gmail.com" ]
dankroga@gmail.com
59d68b168bc022dcb37e44d8200e565c72a8f89a
7dd1d47c99d1b4485f96c53b79049a342795fb6b
/app/core/migrations/0004_recipe.py
414d3a799d601268beb68890d5d5d977ed26647c
[]
no_license
klaudiakryskiewicz/recipe-app-api
1966f09c5c7d8e9364797b70f034d30f0170c167
19db17d6710f39ab98e0a19b8032aa54f54eff12
refs/heads/main
2023-06-01T04:35:13.359488
2021-06-08T14:14:09
2021-06-08T14:14:09
369,801,500
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
# Generated by Django 2.1.15 on 2021-05-26 16:57 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0003_ingredient'), ] operations = [ migrations.CreateModel( ...
[ "klaudia.sandra.kryskiewicz@gmail.com" ]
klaudia.sandra.kryskiewicz@gmail.com
71bed782d65e16e57cce9c58488bb482bc0bb31b
5a651475ccf9f56174516bc8fee7c9b76bc83677
/tableread/writer.py
159de878a217ee9eeb16e7dc0f39259e5e9d4c7e
[]
no_license
bradsbrown/tableread
43a9ae5015060d6f288d5b66525a05c222318cab
566507bbf090a187695cf4c3f9dca6bc04488711
refs/heads/master
2020-06-24T08:03:41.287935
2019-07-24T16:09:31
2019-07-24T16:09:31
191,936,188
1
0
null
null
null
null
UTF-8
Python
false
false
3,270
py
"""Tableread module to write a text file from a Python object.""" import io import os from typing import List, Tuple RowData = List[dict] class SimpleRSTTableWriteable(object): """Single rST table object to be written.""" divider_char = "=" title_marker = "~" def __init__(self, title: str, row_dat...
[ "brad@bradsbrown.com" ]
brad@bradsbrown.com
463e8250d430cbb2b5411ccf886fc6006e203cb9
9ca223ad566c40efc0917f2a33bf13446102c5ae
/Prueba.py
4f2ef40ec8589fd8714f917276f42a7bb1ca3148
[ "Unlicense" ]
permissive
EstebanRiso/Python-IA
b1e65d7ab6e829e1c87e2308b348822830ae9de3
352186ae74fcdc3b1252918999413d0e11b7ae26
refs/heads/main
2023-01-15T15:31:47.371728
2020-11-18T20:54:34
2020-11-18T20:54:34
312,214,800
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
import Nodos def principal(): Nodos.nombre='silencio' print(Nodos.nombre) principal()
[ "SteveRiso.2000@gmail.com" ]
SteveRiso.2000@gmail.com
932c5570972676c8cbfdbea5edf2b2aa4bb2b139
49cf9d25147d2d87fb84fd52b5404bfffec36626
/split.py
ed548305dcbc35fe7a3b46cb9f03a44ea5694790
[ "MIT" ]
permissive
broxeph/ameryn
5963a3bacf631440ea61de750154e881af9b0acf
e1289c280ca865ec84625b712adc52c536b4b174
refs/heads/master
2021-01-10T12:54:02.736411
2017-03-07T00:18:47
2017-03-07T00:18:47
47,580,201
0
0
null
null
null
null
UTF-8
Python
false
false
19,011
py
""" Splits wave files based on cues (markers) in header, optionally exporting to mp3/FLAC with ffmpeg. (c) Ameryn Media LLC, 2015. All rights reserved. """ import struct import warnings import wave import os from sys import byteorder, version_info, exit import multiprocessing import logging import csv import numpy fr...
[ "alex@ameryn.com" ]
alex@ameryn.com
2afc98c9ae3f4253082cbcb99c14ea995ba0522c
2c4ed4e0c582ca7366d5a94b2776c8d282e3de5c
/intranetcinepel/intranetapp/migrations/0018_auto_20200713_0947.py
31c7646a5a245cc1d27d818928c3588ac8f7c700
[]
no_license
LoicJu/IntranetCinepel
3c96897cde92f31de95e1741863c799177adf73c
d5db31f3b0e1874f12982a859699e1c7261e3e8a
refs/heads/master
2022-12-11T04:08:51.862568
2020-07-24T07:47:01
2020-07-24T07:47:01
292,315,640
1
0
null
null
null
null
UTF-8
Python
false
false
11,971
py
# Generated by Django 3.0.8 on 2020-07-13 09:47 from django.db import migrations import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('intranetapp', '0017_auto_20200713_0916'), ] operations = [ migrations.AlterField( model_name='template', ...
[ "loic.jurasz@he-arc.ch" ]
loic.jurasz@he-arc.ch
43569dfdaa6bacdb0b558ab38c03f2020ef7bfec
8d1c7cc1e66c5ea717a876116424c4f1029fb21f
/pollster/polls/admin.py
8b4709b2ca2f3c8c407167e7228e11e74b80f168
[]
no_license
NickFoden/pollster
a5d58d78ae476f3576d54b384ac8900880ea1ee7
1cf327783af1bee4960c21c4728192ff3da26a6f
refs/heads/master
2020-07-25T14:24:31.083072
2019-09-13T18:20:11
2019-09-13T18:20:11
208,322,052
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
from django.contrib import admin from .models import Question, Choice admin.site.site_header = "Pollster Admin" admin.site.site_title = "Pollster Admin Area" admin.site.index_title = "Welcome to the Pollster admin area" class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(ad...
[ "nickfoden@gmail.com" ]
nickfoden@gmail.com
913947a5c6adf7a1e73a1da9ff5898b07a1e6405
22cc26c10943bc25f50f36cb2b36a28948ef885b
/alphavantage01.py
70ddefb04ababbf652d48fe5de6d746ff920d825
[ "MIT" ]
permissive
jpsura/pyapi
aef4c74d7e916f2fb00ac1b4ab2af3041091d421
4dce3eede001abd217ff9ff5101219e13efb6a3d
refs/heads/master
2020-06-26T02:07:58.104760
2019-08-01T20:15:15
2019-08-01T20:15:15
199,493,225
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
#!/usr/bin/env python3 import requests import alpha_vantage from pprint import pprint API_URL = "https://www.alphavantage.co/query" data = { "function": "TIME_SERIES_DAILY", "symbol": "vz", "outputsize": "compact", "datatype": "json", "apikey": "NJTO68R6JE6UHSO0", } response = requests.get(AP...
[ "joshua.p.sura@verizon.com" ]
joshua.p.sura@verizon.com
30d323492b66e275e6cd4f00ff0c36c3b7b6df57
33e8dd262bd52681eae5f79b9424a09733d1591c
/swetha/Tutorial_2/Operator_Precedence/app.py
ab051c0ee038fc1c5bf5543c35e059d10ef8e811
[]
no_license
pradeep122/LearnPython
50e2dd1b5b4c300a0d8b60b8cdea53bc3426375f
2cd5c4b0845bfa5f8daee778d69cb01ca077eee9
refs/heads/master
2020-03-19T00:07:07.973077
2019-05-18T17:51:47
2019-05-18T17:51:47
135,454,354
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# Operator Precedence which means order of operations # Order of Operations # 1. Parenthesis takes higher priority # 2. Exponentiation 2 ** 3 # 3. Multiplication or Division # 4. Addition or Subtraction x = 10 + 3 * 2 print(x) # 16 first multiplication and then addition(10 + 6) x = 10 + 3 * 2 ** 2 print(x) # 22 # ...
[ "iswetha522@gmail.com" ]
iswetha522@gmail.com
c3ad296986ee71c397a1a7186f93d3b260045db8
44c85fd2786ae79b11f709b5b02296f158214e9f
/katahack/settings.py
deb583c5a38fc4ded5f71e566dec9558c41cec19
[]
no_license
bagus-aulia/img-to-text
377261bcf9c15da93d3805b84c019895d8deac7b
4485f14dd1f5771c24b0c1871691a4a581b3e638
refs/heads/master
2020-08-14T19:23:58.245403
2019-10-30T00:42:06
2019-10-30T00:42:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ # SECURITY WARNING: keep the...
[ "bagusaulia40@gmail.com" ]
bagusaulia40@gmail.com
463b39f9e721b88b41a491bba21489eef81fe2d8
ba63a484cf8859c0f46da90390cc23d7c4a85673
/ur5_run_moveit_cpp/launch/ur5_run_moveit_cpp.launch.py
93c8532c0550b357588cf720326dff9550148fee
[]
no_license
migueelnery/ur5_moveit2_demo
da9ade878742bd1492f652cebc526f76f520ea3f
230a8773b3700f2ae9f218852867a6287e60d174
refs/heads/main
2023-03-06T19:06:18.684993
2021-02-19T06:06:49
2021-02-19T06:06:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,318
py
import os import yaml from launch import LaunchDescription from launch_ros.actions import Node from ament_index_python.packages import get_package_share_directory def load_file(package_name, file_path): package_path = get_package_share_directory(package_name) absolute_file_path = os.path.join(package_path, fil...
[ "floris.erich@aist.go.jp" ]
floris.erich@aist.go.jp
5bef409a74c946f0c10245a3696fedcf2ea6717c
198e4e500f308978008374619cfd3b6d4e9ab3d9
/pes/migrations/0004_player_manager.py
b1beeeb4cf3c43e0a5a623da82fafad355a2e0c3
[]
no_license
UditChugh/pml
4ffec91759d0b0e1cb00ad9ef73ef1a5c2fa7931
d41cc8461876301e2bb25ea2870ca0bec39fcc4a
refs/heads/master
2023-08-03T20:54:47.940878
2021-09-16T12:16:13
2021-09-16T12:16:13
289,675,466
1
1
null
null
null
null
UTF-8
Python
false
false
402
py
# Generated by Django 3.1 on 2020-09-11 18:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pes', '0003_player_total_goal_diff'), ] operations = [ migrations.AddField( model_name='player', name='manager', ...
[ "23udit@gmail.com" ]
23udit@gmail.com
06a9fdc73d9799df7dacc77be61a90f5f6e0389e
645d86b54a777f2b3762206c4fdfaa276acbf30c
/gui.py
2b54ac36ccf352dfb0e3f3b5c700214b648829a0
[]
no_license
jacobgb24/airport522
15218004ce1eab1290f9f04fba17c535244d4782
d6bc37797bcde8d342573128009ad011286c9995
refs/heads/master
2021-03-28T20:16:07.687928
2020-04-21T22:54:11
2020-04-21T22:54:11
247,892,266
0
0
null
null
null
null
UTF-8
Python
false
false
9,399
py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.graph_objects as go from dash.dependencies import Input, Output, State import utils import logging from typing import Union, List import time from radio import BaseRadio from message import Message from aircraft import Ai...
[ "jacobgb24@yahoo.com" ]
jacobgb24@yahoo.com
3ce09fb2ccef610d6748908940c731ae6bd65fc4
3758a30f9e7dceed1eb3f1bc5624324384b1e795
/augmentation/mask_morph_question.py
73c7ee0212326c77a2aad9f670616e835fd38562
[]
no_license
boostcampaitech2/mrc-level2-nlp-05
6682134c45f545126c724d09d0d5527530b854d8
e648d5ec6dd2af5aa2b463c4960511a1f69ec230
refs/heads/master
2023-09-04T18:36:01.213469
2021-11-10T15:31:09
2021-11-10T15:31:09
416,144,706
1
6
null
null
null
null
UTF-8
Python
false
false
1,820
py
from transformers import AutoTokenizer import numpy as np from datasets import load_from_disk from pororo import Pororo import logging logger = logging.getLogger(__name__) model_name = "klue/roberta-large" tokenizer = AutoTokenizer.from_pretrained(model_name) MASK_TOKEN = tokenizer.mask_token MASK_RATIO = 0.2 MAX_M...
[ "kkmjkim1528@gmail.com" ]
kkmjkim1528@gmail.com
ed1a80133b79485d1c7d0125da7309754e321eea
d922b02070c11c19ba6104daa3a1544e27a06e40
/DSA_Project/venv/Scripts/easy_install-3.8-script.py
d71594c04a3b333adb75b4777054c951680c802e
[]
no_license
viharivnv/DSA
2ca393a8e304ee7b4d540ff435e832d94ee4b2a7
777c7281999ad99a0359c44291dddaa868a2525c
refs/heads/master
2022-10-15T15:26:59.045698
2020-06-17T15:55:33
2020-06-17T15:55:33
273,020,116
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
#!C:\Users\vihar\PycharmProjects\DSA_Project\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__': sys.argv[0] = re.sub(r'(-script\...
[ "52350934+viharivnv@users.noreply.github.com" ]
52350934+viharivnv@users.noreply.github.com
ef40ec48bf2a0cb2ff75da74ffa77734efd92e46
7e34f45c4c046f01764583b6317f85200ddf2bcf
/tests/settings.py
6b203371768fca78fd5a3bcd4c863f83fbb1ae04
[ "BSD-3-Clause" ]
permissive
MarkusH/django-jellyglass
3953de9fb840320db23a8b748df089da2aeb1013
2b7c8fcaac76f8833f2880b10f687552530a3ccb
refs/heads/master
2021-01-18T15:09:08.904899
2018-12-03T16:41:06
2018-12-03T16:41:06
49,637,243
2
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
ALLOWED_HOSTS = [] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ":memory:", } } DEBUG = True INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', ...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
531c6a581cba14a68fb47c94fa6e897915406f86
cb802b802e26d037c93f38f74a4b8cc4931b8e64
/cart/admin.py
ecd02cb09153465d65bad46f56c01b014f9f9376
[]
no_license
aadhil06/ecommerce
c3e2acc55c2808fc9daecd2ed91b79aa46c60455
52707eb7b1b205d4d3a6b7b336164736a008f65c
refs/heads/master
2023-07-02T04:38:21.262112
2021-08-11T08:42:06
2021-08-11T08:42:06
394,891,300
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
from django.contrib import admin from.models import * # Register your models here. admin.site.register(cartlist) admin.site.register(items)
[ "aadhilks007@gmail.com" ]
aadhilks007@gmail.com
854b2d6ef9b6a28a86fbd279304f53ccb47bc58f
428a163914797f736f6010a7122c713ec808735d
/main/foodcourt/migrations/0007_auto_20210709_1314.py
ba90b79de3952ae62ae20cbe755c3abee7e03a2e
[]
no_license
jasshanda1/foodcourt
04f4cd18900fdfcf8a2adaeea0c48cb10b61e5c9
230dd5a43a2eafde13ad92a0e1790d6d82689ca6
refs/heads/main
2023-06-20T01:01:43.737378
2021-07-13T17:32:55
2021-07-13T17:32:55
384,517,088
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
# Generated by Django 3.2.5 on 2021-07-09 13:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('foodcourt', '0006_alter_order_name'), ] operations = [ migrations.AddField( model_name='order',...
[ "jaskaranhanda3099@gmail.com" ]
jaskaranhanda3099@gmail.com
c757d357b25a4544e138f19d00005eba273480de
cc32c03739d4692a9e60a6cc178fbad75e15d735
/src/fib_common/fib_msg.py
defc5028bbb6e3bde725d99b99fd75550728d536
[]
no_license
lvrixp/fib_service
3431210236b322815fe1e0a1ccab0496380fc8c7
82970b2864fc29d93a45c6c36ee9acf0eb33f019
refs/heads/master
2021-01-10T07:39:25.690998
2015-06-04T05:43:10
2015-06-04T05:43:10
36,613,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
'''Simple message definition for the client-server communication TODO: Add more sophicated schema for the message Eg, for server-client message, add return code, error mssage. ''' import json class FibMsg(object): '''Base message class placeholder ''' def serialize(self): pass class FibC...
[ "lvrixp@163.com" ]
lvrixp@163.com
8f204d1087c6d7598468d38b33dfb2e66a262381
c78957074e53fa4bcf58f9c609fb95741707b0fc
/catalog/migrations/0003_book_description.py
863cdf8cbd3c7d09a49fa31bfe390d9aab83c86b
[]
no_license
nutakoooye/django_local_library
07a61e97caaddbf1df3b6c0d93aaff5cd7292507
470992039248b0e38182bcd60c2721c0e0264f61
refs/heads/master
2023-08-11T14:08:06.923049
2021-10-09T18:24:29
2021-10-09T18:24:29
415,385,131
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 3.2.7 on 2021-10-06 10:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_auto_20211005_1751'), ] operations = [ migrations.AddField( model_name='book', name='description', ...
[ "andrkool151@gmail.com" ]
andrkool151@gmail.com
26617b9cdb5592690aa2142c5ca215abaa4c7587
b40c4c8478c86a8b1ac792429a385523d9e27f77
/Python Spider/pyquery/6 pyquery foreach.py
575af2e78cc59bcb67869e66d7ae534fafc9c040
[ "Apache-2.0" ]
permissive
CodingGorit/Coding-With-Python
2f100a393b8222354cf319b5e1ea0c3ffe7351df
b0f1d5d704b816a85b0ae57b46d00314de2a67b9
refs/heads/master
2020-12-19T13:17:28.129447
2020-05-31T12:29:43
2020-05-31T12:29:43
235,744,210
1
0
null
null
null
null
UTF-8
Python
false
false
438
py
#!/usr/bin/python # -*- coding: utf-8 -- #@File: 6 pyquery foreach.py #@author: Gorit #@contact: gorit@qq.com #@time: 2020/5/27 0:03 ''' 遍历 pyquery 的选择结果可能是多个节点,也有可能是单个节点 ''' from pyquery import PyQuery as pq doc = pq(filename="test.html") # 通过 items 获得每一项, 得到一个生成器 lis = doc('li').items() print(type(lis)) for...
[ "gorit@qq.com" ]
gorit@qq.com
bdf1103898da8016469f1560497ec30b9ef7d229
6d2b0400ff1673619cdf050625d9e2f14a0c8c2b
/Algorithms/Directed_Graph.py
80d238b3d176c0906f758cd76b4e30a20ebd28bb
[]
no_license
Anekjain/Programming-Solution
1ec1f868eda600608488a4cbbe2f76c03257167d
b8c2073021c7ddac1271e32ba817c8be63d7a3a4
refs/heads/master
2022-11-24T21:59:01.996337
2020-08-04T18:19:19
2020-08-04T18:19:19
280,907,250
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
#GRAPH IMPLEMENTATION [DIRECTED GRAPH] USING ADJACENCY LIST def add_vertex(v): global graph global vertices_no if v in graph: print("Vertex ", v , " alreadu exists.") else: vertices_no += 1 graph[v] = [] def add_edge(v1,v2,e): global graph #global vertices_no if v...
[ "jainanek@gmail.com" ]
jainanek@gmail.com
fef6724427f4484ae33fcae3bc0446018c9f46c8
8bf3706b166a780b1257190c7c04b3c715ed9bb9
/prikaz.py
f0fac7413dc2c8fb8863a014fdc8becc141c3eb9
[]
no_license
filipbartek6417/cviceniaMaturitySEN
8ae1a38b7ecff4b4ed9801fa11881540fb6d6427
e99b428b4ae8f7ef9bce4725cf604817cfef5758
refs/heads/master
2023-03-29T20:55:53.675486
2021-04-04T07:21:48
2021-04-04T07:21:48
351,505,308
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
class Prikaz(): def __init__(self,**kwargs): for key in kwargs.keys(): self.__setattr__(key,kwargs[key])
[ "66736221+filipbartek6417@users.noreply.github.com" ]
66736221+filipbartek6417@users.noreply.github.com
a42609d3d57b7e0f3298e6dee88c7531e8b4df7b
32c915adc51bdb5d2deab2a592d9f3ca7b7dc375
/Chapter_11_programming_tasks/task_2.py
57291c7a43269738ae347bef625ced59459b1aa2
[]
no_license
nervig/Starting_Out_With_Python
603c2b8c9686edcf92c1a90596d552b873fe6229
d617ee479c7c77038331b5f262e00f59e8e90070
refs/heads/master
2023-02-25T07:14:12.685417
2021-02-02T18:45:00
2021-02-02T18:45:00
335,391,362
2
1
null
null
null
null
UTF-8
Python
false
false
725
py
import employee def main(): name_of_employee = input('Enter a name of employee: ') number_of_employee = input('Enter a number of employee: ') annual_salary = input('Enter an annual salary: ') annual_bonus = input('Enter an annual bonus: ') data_of_shift_supervisor = employee.ShiftSupervisor(name_...
[ "solide@yandex.ru" ]
solide@yandex.ru
8d1e038e0f78317b6d28ea2cc9af6ca9ec4a162f
d61420b44407ada9cf9dd469621f57e945c86f96
/ubuntu18-helper-scripts-from-gitlab/helper-scripts-master/speedTestDataScripts/networkDataGatherer.py
60aed7034084bca575aeac41f100b23312c605d5
[]
no_license
lowkeyop/helper-scripts
892ed8dd0722ce958e86233411c84e0f3204d6b9
046026b89a2c7a93873dd6d4ea8fa2f82597c402
refs/heads/master
2021-10-20T15:44:55.163679
2021-10-17T19:18:45
2021-10-17T19:18:45
112,807,756
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
import subprocess import os #this is used to concatenate file path import subprocess #to envoke the speedtest-cli command import time #get the timestamp for the file timeStamp=time.strftime("%m-%d-%Y") baseDir="/share/data/networkData/" fileName = "speedTest" + timeStamp + ".json" filePath = baseDir + fileName print...
[ "ckennerly9@gmail.com" ]
ckennerly9@gmail.com
9735e43307e1d83c7caaae220326c7390fa42417
2662d3a5d2f19248089d346850197f47d09ed80d
/LevelEditor/scripts/world/layer.py
5259ac5a6938bbe85be68e5d0bd05ecbfbb86c03
[]
no_license
pratripat/Zombie-World
c5ad1dbf5aad61dfbee68c81b2a5548fd1825ae5
166cb9878ef148d338bf84a90684ed151a093b95
refs/heads/master
2023-03-31T17:30:01.531287
2021-04-09T08:01:11
2021-04-09T09:51:43
352,869,435
1
0
null
2021-04-09T09:51:44
2021-03-30T04:25:55
Python
UTF-8
Python
false
false
2,742
py
from LevelEditor.settings import * from .image import Image class Layer: def __init__(self, n): self.images = [] self.updates = [] self.undo_cooldown = 0 self.initial_undo_cooldown = 50 self.n = n def show(self, surface=screen): #Renders images for image...
[ "pratyusht2006@gmail.com" ]
pratyusht2006@gmail.com
2c5521c3de850327de5dcd01344f18bbb8b19f26
260a46e010562fd49386cf4fe831c5a3e13aff8f
/Logistic/logisticRegression.py
33be4bcb01f1b02edf2b68a0897d53ec0becf0a8
[]
no_license
NanWangAC/MLCoding
bfc15807b3db49cccce53cc358e169d508779eba
1517ce45956907b6a4cc63f7ece35fa40f7193da
refs/heads/master
2020-03-10T13:21:26.442020
2018-10-02T14:23:48
2018-10-02T14:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,650
py
from numpy import * # 加载数据 def loadDataSet(): # 创建初级与标签列表 dataMat = []; labelMat = [] # 打开文本数据集 fr = open('testSet.txt') # 遍历文本的每一行 for line in fr.readlines(): # 对当前行除去首尾空格之后按空格进行分离 lineArr = line.strip().split() # 将每一行的两个特征x1,x2,加上x0=1,组成列表并添加到数据集列表中 dataMat.app...
[ "794202109@qq.com" ]
794202109@qq.com
801d95f3536632bed21bd2dd124eb95aae92e76c
d0c66cfc37d0f7652874fc95cf1c4fef348169e1
/chembase/migrations/0003_auto_20170728_1055.py
fcb9ef24fbb89ec1184ba54188dacdc97ca1d714
[]
no_license
mpustula/ChemBase
1b9c56ea5f988d27f13e099be0f5294419f3cc9c
4171d99e176464ff451cb26d8fdebf2de1204e2d
refs/heads/master
2020-03-12T22:50:16.351950
2019-07-10T20:10:21
2019-07-10T20:10:21
130,854,464
3
0
null
null
null
null
UTF-8
Python
false
false
684
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-28 10:55 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('chembase', '0002_auto_20170728_0645'), ] operation...
[ "pustula.marcin@gmail.com" ]
pustula.marcin@gmail.com
723adae948b66dc0086ffea876f8075c4c995a52
95a8d3b8448f40303541c463eb930b6d74348c9d
/Updated_encrypt.py
288257085d94fb0d38b71c431cf8417595bda57f
[]
no_license
empero6/CyberSecurity
9aedf54c81abc2a466b06c71be47150a9460acb9
ca392395bad4565b028ef3a92cb6ad38aafea766
refs/heads/master
2020-07-29T00:20:38.182700
2019-12-16T20:36:32
2019-12-16T20:36:32
209,595,009
0
1
null
2019-11-21T14:21:06
2019-09-19T16:01:15
Python
UTF-8
Python
false
false
10,316
py
from PIL import Image from scipy.integrate import odeint import numpy as np import random as rand import os, hashlib def encrypt(filepath, key): dbImage = np.array(Image.open(filepath)) luImage = np.array(Image.open(filepath)) outputfile = os.path.join(os.path.dirname(filepath), "(encrypted)"+os.path.basen...
[ "noreply@github.com" ]
empero6.noreply@github.com
fb5386db562a566e74bd8eb37a6cae500e17cb19
821e093f396a675a2c141ec4c5b510870ce58841
/image_classifier.py
d63719d08a1d5c5e63d00261f2c9c493ad2680b2
[]
no_license
cyrusclarke/sad
5a7ceec2dd9c5b31625342042c3b483e8f3da906
0d5b0826cf3346ec94663a2e9e4bdf3475be023f
refs/heads/master
2021-08-07T18:21:38.835382
2017-11-08T18:06:52
2017-11-08T18:06:52
109,606,065
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
import numpy as np import base64 from flask import Flask, abort, jsonify, render_template, request, make_response import cPickle as pickle from io import BytesIO import vgg16 from vgg16 import Vgg16 from skimage import io as skio from skimage.transform import resize app = Flask(__name__) my_model = pickle.load(open(...
[ "cyrusjclarke@gmail.com" ]
cyrusjclarke@gmail.com
f2ab4a4f65e8c7144dc70fe2702bc225a23aa402
54be402879d53a484ac22ba283ee87aeb602f5ec
/src/lab1/nodes/pursuer.py
dc8fcdccba56d389b0e77c7dcdfd72e634631613
[]
no_license
fazildgr8/robot_algorithms_projects
15924a20ccf55f1cc6ef161bbff5d8e8bad7b5a6
b5489a96d9275644f92bc73abf2beda8bf3f145a
refs/heads/main
2023-07-19T14:45:19.001534
2021-09-08T04:58:02
2021-09-08T04:58:02
305,238,567
1
1
null
null
null
null
UTF-8
Python
false
false
6,042
py
#!/usr/bin/python import roslib roslib.load_manifest('lab1') import rospy import tf import math import random import geometry_msgs.msg from sensor_msgs.msg import LaserScan import numpy as np import time from nav_msgs.msg import Odometry from tf.transformations import euler_from_quaternion, quaternion_from_euler lef...
[ "mohamedfazilsulaiman@gmail.com" ]
mohamedfazilsulaiman@gmail.com
573cb4a3fb8baf2bee9bb13770e07a47308e1816
c404669933e62c085f8c0c9f765b1ccc199be5bd
/MyWebsite/read/migrations/0001_initial.py
5016507dce65b5d1993cf04fa7dcd99d7e65f8aa
[]
no_license
fenghuoxiguozu/Django
c32d14f6762a29b7cacd998ac19bba61322397f9
de240c89eeb21b3463d84f40f4f18260981d6dcd
refs/heads/master
2022-10-01T09:40:15.745046
2020-06-09T16:42:12
2020-06-09T16:42:12
263,092,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,751
py
# Generated by Django 2.2.1 on 2020-06-06 22:10 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ] operations = [ ...
[ "1058247664@qq.com" ]
1058247664@qq.com
c6866ffcb6663df60970fd0041ee61d604f921a5
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Differential_Pressure_Load_Shed_Status.py
4f44b20dc9c3108fb3505cc8f10804105b148f22
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
428
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Load_Shed_Status import Load_Shed_Status class Differential_Pressure_Load_Shed_Status(Load_Shed_Status): rdf...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
b6878adbe31ff098d212e885005ceb7b80104e5d
f99240b18be16cce9b01704948fb670ddea9a100
/main.py
3b20512c66ec7a656be4ddc473eb2934aca0f6c6
[]
no_license
dogusural/trade-summary
419972f93a97d60eb08831be866dc544c468ca4a
e7be5c35b1930cbbc66f6d4dea5fdbf81d28aa51
refs/heads/master
2023-02-13T21:32:39.502217
2021-01-04T22:53:14
2021-01-04T22:53:14
326,517,608
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
import hmac import hashlib import time import requests import json import configs setup = configs.setup() API_URL="api/v3/myTrades" PAIR="ETHUSDT" TIMESTAMP=int(round(time.time() * 1000)) AVAX_BODY="symbol="+PAIR+"&recvWindow=60000&timestamp="+str(TIMESTAMP) signature = hmac.new(setup.get_api_secret().encode(...
[ "dogusural@gmail.com" ]
dogusural@gmail.com
74c1f4bbb34d65beac68174e7c7ab0e18c3f36e6
f63c4eb29ce57319441f5469d1d049b63bc220de
/swu_cycle_variance/run333.py
96b5bc1ea46f182e5b80cfcab1a1271e253d1f12
[]
no_license
a-co/diversion_models
0237642153668b16035699e9e734ff0538568582
69eed2687b1cd2b48f5717d15919eccd24a0eabc
refs/heads/main
2023-05-02T19:04:26.333677
2020-06-18T20:50:18
2020-06-18T20:50:18
216,904,337
0
0
null
null
null
null
UTF-8
Python
false
false
6,361
py
SIMULATION = {'simulation': {'agent': [{'name': 'deployer_military', 'prototype': 'military_deployer'}, {'name': 'deployer_civilian', 'prototype': 'civilian_deployer'}, {'name': 'deployer_shared', 'prototype': 'shared_deployer'}], 'archetypes': {'spec': [{'lib': 'cycamore', 'name': 'DeployInst'}, {'lib': 'cycamore', 'n...
[ "acaldwel@wellesley.edu" ]
acaldwel@wellesley.edu
15b02c9afb099bd7fd8c150df2fecd2731735b0c
05513b528119d92863c092bfa836508998cb92be
/theory/truthtable.py
c6ce2563be6658234daef0a719114bde4e0764d0
[]
no_license
lola-lambda/Sprint-Challenge--Hash-Theory
62e10c458beb52cf870cc79643435693dd27775a
812d3705414bcdd4ef692b2c0445203c940493fb
refs/heads/master
2020-05-15T06:45:43.604726
2019-04-01T21:25:34
2019-04-01T21:25:34
182,129,253
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# !(A || B) || ( (A || C) && !(B || !C) ) # not (A or B) or ((A or C) and not (B or not C)) for A in [False, True]: for B in [False, True]: for C in [False, True]: print(f"A: {A} B: {B} C: {C} ---- {not (A or B) or ((A or C) and not (B or not C))}")
[ "lolahef@gmail.com" ]
lolahef@gmail.com
9d7cf6aff297506f636428324119d19515dbf1c1
4a5999ce904734a0d7beeeec04edf63f92bc1ddf
/CodeCraft-2019/src/data_temp.py
17e6ce9d0f8e0718cf1b7613655faed5c24d041c
[]
no_license
xixiU/HuaWeiCodecraft
746b47e0cf2c0de232c2d7b802e5c3c291e01ae0
21bcd94c3c59fc96ee465951904b43a29fda31d5
refs/heads/master
2023-01-23T10:09:33.904085
2019-04-20T02:35:03
2019-04-20T02:35:03
176,402,042
0
0
null
null
null
null
UTF-8
Python
false
false
9,141
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2019-03-20 09:29:45 # @Author : yuan # @Version : 1.0.0 # @describe: # -*- coding: utf-8 -*- """ Created on Sat Mar 16 09:35:21 2019 @author: ym """ import pandas as pd #from dijkstra import DijkstraExtendPath import numpy as np from io import StringIO c...
[ "2086774733@qq.com" ]
2086774733@qq.com
032be5db944974a1f32618e9395669e88e00c17e
5dfbfa153f22b3f58f8138f62edaeef30bad46d3
/old_ws/build/catkin_generated/order_packages.py
e6748be72199deb25e033f5d33a964cf1bf10700
[]
no_license
adubredu/rascapp_robot
f09e67626bd5a617a569c9a049504285cecdee98
29ace46657dd3a0a6736e086ff09daa29e9cf10f
refs/heads/master
2022-01-19T07:52:58.511741
2019-04-01T19:22:48
2019-04-01T19:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/bill/ros_ws/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/bill/ros_ws/devel;/opt/ros/kinetic".split(';') if "/home/bill/ros_w...
[ "alphonsusbq436@gmail.com" ]
alphonsusbq436@gmail.com
376cb7e68c7bab2659ec8cc35ce8928d99e1644e
6004fd6067f49b2eb74c650fb847ab1a8799788f
/codepkg/Charting/weixutu.py
05ea79d12b57adc3d71949cb0c57ebee55994007
[]
no_license
zhongxiangpku/python_gradproj
4bf2d41f4075160cc1f84f7dfca6c3901517e3f2
a4f1f2d8a4dc55f1ee3e8488945ab080b60c2f45
refs/heads/master
2020-07-19T11:28:15.640497
2017-06-20T02:08:36
2017-06-20T02:08:36
73,766,945
0
0
null
null
null
null
UTF-8
Python
false
false
2,424
py
# encoding: UTF-8 import codecs import os import sys import MySQLdb import string from codepkg import mod_config reload(sys) sys.setdefaultencoding( "utf-8" ) def mappingUserCountRankPlot(file): fs = codecs.open(file, 'w+', encoding='utf8') db = MySQLdb.connect(mod_config.dbhost, mod_config.dbuser, mod_config...
[ "zhongxiang@pku.edu.cn" ]
zhongxiang@pku.edu.cn
32deaed41a4e6581445f42876563cf802299ebe7
da7149f3182d2421e046828d30fc1c91c14d496d
/chapter16/coro_exc_demo.py
c9aa826582f4e4609e85504e132a7eb87f93559b
[]
no_license
tangkaiyang/fluent_python
6db2825cfadccb70a886cb822026d69be4b03cc9
5f07072d8db5ddf43bfe913b3262b325a8f1ad35
refs/heads/master
2020-05-02T20:21:00.404872
2019-04-18T02:35:55
2019-04-18T02:35:55
178,188,495
1
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2019/4/12 16:18 # @Author : tangky # @Site : # @File : coro_exc_demo.py # @Software : PyCharm # 示例16-8 coro_exc_demo.py:学习在协程中处理异常的测试代码 class DemoException(Exception): """为这次演示定义的异常类型""" def demo_exc_handling(): print('-> coroutine star...
[ "945541696@qq.com" ]
945541696@qq.com
9444d9f3d6dc9cbef1fc27bece5d2b1d18411707
dbc543e60bea327f32fd1549fe0ccf090e82952f
/tests/drawing_test.py
521fe7e0b96366a27ce6252c42ae07cc4da572da
[ "MIT" ]
permissive
kcdbaba/consoledraw
22dc772e4f98057652c7a3ef4806ac77ba397918
bb5524743d7980ab877b7ed5d7d3677300984d42
refs/heads/master
2021-08-24T02:07:29.309627
2017-12-07T15:37:44
2017-12-07T15:37:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,023
py
from drawing import * import unittest class TestDrawing(unittest.TestCase): @classmethod def setup_class(cls): cls.C = DEFAULT_COLOUR cls.E = DEFAULT_EMPTY @classmethod def teardown_class(cls): del cls.C def setUp(self): self.canvas_5_5 = canvas(5, ...
[ "kunal.chowdhury@gmail.com" ]
kunal.chowdhury@gmail.com
382095ec11a67627f57ad1c851361509c9a2110d
1fdf153c14eb70eba8ad59b41ac0e53cf7611bd0
/backend/scholar/settings.py
bf15410d2201d4650f825e1a4f37869f823929eb
[]
no_license
kegeer/xsv2
b0814ff853e54c260701b6945f1e3083d66169f1
1a8bdea0fe946727ae8283c5a5346db88ddeb783
refs/heads/master
2022-12-15T00:22:24.467965
2018-04-12T23:48:52
2018-04-12T23:48:52
129,317,782
0
0
null
2022-12-08T01:00:45
2018-04-12T22:27:28
JavaScript
UTF-8
Python
false
false
5,660
py
""" Django settings for scholar project. Generated by 'django-admin startproject' using Django 1.11.10. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "zhangkeger@qq.com" ]
zhangkeger@qq.com
d76c92d2e6fa470195d605267db18d17b85826d6
f16341f66d467cf21e4ff9826e508267770080b3
/tasks.py
84e3e3a5293ca05fcb8a18e0f06729a282f1d4c0
[]
no_license
ianonavy/celery-redis-example
37b27ebbe43ae63cf6bafbd2309a1d15a68439ad
6bf873ffa81048cee5fa89c22baff504886dbaf2
refs/heads/master
2020-03-11T15:22:32.768660
2018-04-18T15:21:04
2018-04-18T15:21:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
import celery celery_app = celery.Celery() celery_app.conf.broker_url = 'redis://celery_redis:6379/0' celery_app.conf.result_backend = 'redis://celery_redis:6379/1' @celery_app.task def add(a, b): print("Starting task 1") import time; time.sleep(5) print("Finished task 1") return a + b @celery_app...
[ "ian@everquote.com" ]
ian@everquote.com
a1b11d09ddf6368b66e674379e2446e23184d0ec
9e536df5a2f8fc79e2e7f813dd3f53d77c18f1c7
/python/excel/bankRecSecondary/bankRecSecondary3.py
d234e24fdfb378ba7f6fc48a3dbe0ee04bc70796
[]
no_license
creednaylor/publicProjects
4b2d82b2c7aa5fbd6afbcf8bf1c911c0c4c89265
3a9498f5df023d9f857e6352028f361444c5e63f
refs/heads/master
2023-03-16T01:21:49.483451
2022-09-06T04:54:17
2022-09-06T04:54:17
217,166,925
0
0
null
2023-03-06T07:49:12
2019-10-23T22:47:20
Python
UTF-8
Python
false
false
4,219
py
#on comparison sheet, could write only the necessary columns #local application imports from pathlib import Path import sys pathToThisPythonFile = Path(__file__).resolve() sys.path.append(str(pathToThisPythonFile.parents[3])) import herokuGorilla.backend.python.myPythonLibrary._myPyFunc as _myPyFunc startTim...
[ "16467643+creednaylor@users.noreply.github.com" ]
16467643+creednaylor@users.noreply.github.com
78532231f0563364803c38e1461c1364b169d31a
e25dc1f801ff9ae8d2baaffc9c726339437a7ff8
/dbms_submissions/dbms_assignment_004/query.py
92ac497b519520830a1f12d678bca3e0f6a3152e
[]
no_license
naresh508/dbms
e724636fb26f493b1e61eeaf5182e5c98dd3c0e7
d0733743137a86ca0c1101a7ae6527e39b12d393
refs/heads/master
2022-08-24T07:34:00.634978
2020-05-27T11:56:45
2020-05-27T11:56:45
267,305,391
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
Q1="SELECT COUNT(id) from Movie WHERE year=2002 AND name LIKE 'ha%' AND rank>2;" Q2="SELECT MAX(rank) from Movie WHERE name LIKE 'Autom%' AND (year=1983 OR year=1994);" Q3="SELECT COUNT(id) from Actor WHERE gender='M' AND (fname LIKE '%ei' OR lname LIKE 'ei%');" Q4="SELECT AVG(rank) from movie WHERE (year=1993 OR ye...
[ "ec2-user@ip-172-31-22-170.ap-southeast-1.compute.internal" ]
ec2-user@ip-172-31-22-170.ap-southeast-1.compute.internal
bd953c2791a25f282deb6ac1ef7635111c439e37
9109eac9b0907a9e586129b49fd1d84d6bb9dc16
/baseline.py
fe540177edd6f2f524b8612d32c2f82abbe44a8d
[]
no_license
mjp92067/text-generation
5d34edcb9b1e4a7039fc3916695eefacf1d84424
20000eb95d776cc17dba607c983be37f38264a6c
refs/heads/master
2023-05-24T08:41:13.504014
2019-07-05T18:02:52
2019-07-05T18:02:52
195,446,016
0
0
null
2023-05-22T22:16:31
2019-07-05T17:28:42
Python
UTF-8
Python
false
false
2,244
py
import os import json import fire import numpy as np from scipy import sparse from sklearn.model_selection import PredefinedSplit, GridSearchCV from sklearn.linear_model import LogisticRegression from sklearn.feature_extraction.text import TfidfVectorizer def _load_split(data_dir, source, split, n=np.inf): path ...
[ "woomniazhko@gmail.com" ]
woomniazhko@gmail.com
d57bafa6b041e14b363221f5424fcc938e2a081a
4d21da5a3d07f4d05b997e80119cd79692ac0d25
/Leetcode/201-300/259. 3Sum Smaller.py
fc6828a904244248c20e44b9f93c23460bea2b66
[]
no_license
ErinC123/Algorithm
92b2789ec3b36c49f9e65f2e7a702bb4b732e8ba
4544fee91e811a6625000921c32ad054df550f1e
refs/heads/master
2021-06-17T14:03:33.955233
2017-06-18T21:20:55
2017-06-18T21:20:55
75,894,724
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
class Solution(object): def threeSumSmaller(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ nums.sort() ret = 0 for i in range(len(nums)): j, k = i+1, len(nums)-1 while j < k: if ...
[ "zhencao93@gmail.com" ]
zhencao93@gmail.com
c284691cf68ff52a518de0b7adbd913d0ce9e4b4
953d68ce72a8b4fd82280a00361cec3848769a79
/code/17_decision_trees_nb.py
566835ef8ed0584c0219e2cdbe11213b6382671a
[]
no_license
JamesByers/DAT8
b28256c04d4b26c61d107a2c6501013a509cee66
d7cc9d044b32ffbadaa5db1d11f28a99e0785a0d
refs/heads/master
2021-01-20T01:35:34.214391
2015-10-09T14:57:29
2015-10-09T14:57:29
43,983,236
0
0
null
2015-10-09T22:32:54
2015-10-09T22:32:54
null
UTF-8
Python
false
false
18,518
py
# # Decision Trees # # *Adapted from Chapter 8 of [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/)* # Why are we learning about decision trees? # # - Can be applied to both regression and classification problems # - Many useful properties # - Very popular # - Basis for more sophisticate...
[ "justmarkham@gmail.com" ]
justmarkham@gmail.com
7935285b6302c1b7277f4c9d4939535c9636fe0d
159da3fc63ccf20b80dc17bb44b53e9a5578bcfd
/arkav_is_api/arkavauth/migrations/0005_refactor_auth.py
f92058d0d724b71e6dab65b111c6f5e8e2a4a7d7
[ "MIT" ]
permissive
arkavidia5/arkav-is
4338829e7c0a9446393545316e46395e9df111fd
6c6e8d091ead5bfff664d86f7903c62209800031
refs/heads/master
2021-07-16T03:49:15.900812
2019-02-08T18:08:32
2019-02-08T18:08:32
149,406,261
3
2
MIT
2018-11-09T16:49:17
2018-09-19T06:58:16
Python
UTF-8
Python
false
false
2,458
py
import arkav_is_api.arkavauth.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('arkavauth', '0004_user_email_confirmed'), ] operations = [ migrations.RenameModel('Ema...
[ "jonathan.christopher@outlook.com" ]
jonathan.christopher@outlook.com
20f656e4053fc210247251dfcef186225ccfd050
a08ea65c1ef699171e11c10da75f8291cb0c743c
/Numpy code/numpy1.py
de5eae1343112cb085c004920070b96f1d5495af
[]
no_license
hussainMansoor876/Numpy-And-Falsk-Exercise
476551257d940965eadbea27f5c61d978475ed1f
1930dee5ac07dc9a18c30c45e196060cf73095d0
refs/heads/master
2020-03-28T19:23:50.718360
2018-09-16T07:17:39
2018-09-16T07:17:39
148,971,926
2
0
null
null
null
null
UTF-8
Python
false
false
362
py
# import numpy as np from functools import partial # def numpysum(n): # a = np.arange(n) ** 2 # b = np.arange(n) ** 3 # c = a + b # return c # numpysum(10) # print(numpysum(10)) # a = np.arange(5) # print(a.dtype) # # print(a) # n=[1,2,3,4,5] # a,b,c,d,e=n # print(a) # print(b) # print(c) # print(d) # p...
[ "“hussainmansoor876@gmail.com”" ]
“hussainmansoor876@gmail.com”
75f03f05b3f59195d3d3e9487faea50be5eac82f
c28b86c750612e88deb1de6fc43d2a340d09f5ed
/s2lib/forcefields/eam.py
fa6bf922a13f8a1471b28f20752da4c558869e54
[]
no_license
vlcekl/s2lib
db2e99ae05cf9148215a93fddaf731be8e5b2e5d
47f70ec27e917c41ce63c2f6ca15b235878e7ce3
refs/heads/master
2022-11-04T11:58:02.302899
2020-06-21T03:11:55
2020-06-21T03:11:55
273,824,581
0
0
null
null
null
null
UTF-8
Python
false
false
20,476
py
from __future__ import print_function #, unicode_literals from __future__ import absolute_import, division try: xrange = xrange # We have Python 2 except: xrange = range # We have Python 3 """ Collection of EAM functions """ import copy import numpy as np from .potentials import f_spline3 # Functio...
[ "lukas_vlcek@yahoo.com" ]
lukas_vlcek@yahoo.com
c1a244e9a04e199b2cb55cf64972a4d7cd9cc23e
2350760b49f2e3120ad2d998f5cf854c600367c7
/utils/enhance.py
92baa841c2399580ad0eff21ac378b264fa05bc7
[ "Apache-2.0", "Apache-1.1" ]
permissive
aishu-123-4/Automatic-License-Plate-Recognition
b7bd2e0af63574161dc13d8b9bcc8cc7dbd03a1b
310797715d2705d302aeae55042b6415469785ed
refs/heads/master
2023-04-22T22:52:07.919753
2021-05-14T06:18:17
2021-05-14T06:18:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,970
py
import streamlit as st import cv2 import numpy as np from PIL import Image,ImageEnhance crop, image = None, None img_size, crop_size = 600, 400 # noise removal def remove_noise(image): return cv2.medianBlur(image,5) #thresholding def thresholding(image, rate): return cv2.threshold(image, rate, 255, cv2.THRE...
[ "udaylunawat@gmail.com" ]
udaylunawat@gmail.com
f872ee5f774e2e558b2c18dfd74ac182fe9c8e89
fc6d68e54506f285a8b537a3e3a10f6645301ac2
/fixture/mail.py
5abf23d2bd0de65285df193f979682606c06c517
[]
no_license
alpikin63/pyton_lessons
94df17a7456ae3efdf8d63dfa843d165f3aba59c
c6fce6f9d2884ef79ee80d43d10acb6709951ea5
refs/heads/master
2020-04-09T20:07:47.997333
2019-02-02T09:52:52
2019-02-02T09:52:52
160,564,777
2
0
null
null
null
null
UTF-8
Python
false
false
3,221
py
from __future__ import print_function from googleapiclient.discovery import build from httplib2 import Http from oauth2client import file, client, tools from apiclient import errors # If modifying these scopes, delete the file token.json. class Gmail: SCOPES = 'https://www.googleapis.com/auth/gmail.modify' S...
[ "alpikin63@gmail.com" ]
alpikin63@gmail.com
bcf22f01407a86941d648b53d961048f0bed20bc
397f7b9f3e2381a1e6726cc2704c137ce86289a6
/scripts/original_submission_scripts/z_old_sgv.Fig2C.py
1e341832317f9af2e161d76c4eb7188c9512b93c
[]
no_license
Ken-A-Thompson/SVS
f7f0c9e39d86e9c1d33b8e21d68a5701ea9a5283
93562c2fce3769df4390f65034408b6b2dd3e969
refs/heads/master
2021-01-22T19:54:24.785353
2019-07-25T21:21:14
2019-07-25T21:21:14
85,253,057
1
0
null
null
null
null
UTF-8
Python
false
false
15,984
py
#Authors: Matthew Osmond <mmosmond@zoology.ubc.ca> & Ken A. Thompson <ken.thompson@zoology.ubc.ca> #Description: The role of standing genetic variance in speciation #Function: This script has populations adapt in parallel while varying d and n. Goal is to determine the value of n that minimizes variance load for a give...
[ "ken.thompson@zoology.ubc.ca" ]
ken.thompson@zoology.ubc.ca
cdd5a31a1454daea675c492521e6a22eed8d06bc
8997a0bf1e3b6efe5dd9d5f307e1459f15501f5a
/unistream_examples/get_agent_point_info.py
0278d0f98ae5b4b9aca91d42c4b6f9d5fe4f01f8
[ "CC-BY-4.0" ]
permissive
stepik/SimplePyScripts
01092eb1b2c1c33756427abb2debbd0c0abf533f
3259d88cb58b650549080d6f63b15910ae7e4779
refs/heads/master
2023-05-15T17:35:55.743164
2021-06-11T22:59:07
2021-06-11T22:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' """ Получение информации о точке предоставления услуги. GET https://test.api.unistream.com/v1/agents/{agentId}/poses/{posId} """ if __name__ == '__main__': from utils import get_today_RFC1123_date, get_authorization_header from config ...
[ "gil9red@gmail.com" ]
gil9red@gmail.com
01d3691dce55255c364bb881f05bb97a3c770ca9
5982cd8db693927e83cd99f8ea1acf4fc90b8b9b
/Configurations/ControlRegions/WgS/torqueBatch/configuration1.py
7d9ce4b429ce76b6bac43226395ae897e4ab9636
[]
no_license
cedricpri/PlotsConfigurations
61fc78ce9f081fd910a25f8101ea8150a7312f25
5cb0a87a17f89ea89003508a87487f91736e06f4
refs/heads/master
2021-01-17T09:46:55.026779
2016-09-01T09:30:09
2016-09-01T09:30:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
# example of configuration file tag = 'WgS' # used by mkShape to define output directory for root files outputDir = 'rootFile1' # file with list of variables variablesFile = '../variables.py' # file with list of cuts cutsFile = '../cuts.py' # file with list of samples samplesFile = 'samples1.py' # file with l...
[ "d4space@gmail.com" ]
d4space@gmail.com
e70c2c624145508c69b85b1532869a38a84ba988
5ea4d0bcb8d493f37cc1d04bdec6a99b9afd38ed
/django_config/settings.py
5dfa2afce3733969d20e13e1f52f2a29fa271052
[]
no_license
youssriaboelseod/ERMS_Django_Web_Multi_DB
e5042ae20d42855143a9f3b3ecd28913cdae99f8
8f2354c095412859a15b3f5072c193fa74e3c6e3
refs/heads/master
2022-04-19T22:33:31.243690
2020-04-16T09:23:38
2020-04-16T09:23:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
""" Django settings for django_config project. Generated by 'django-admin startproject' using Django 3.0.4. 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...
[ "lalithaprasad@Lalithas-MBP.domain.name" ]
lalithaprasad@Lalithas-MBP.domain.name
8d3122e20690347d74a45893dbb6e1f218b56713
5474939d012128f31f1df0516cfa3af856bc5691
/ProjMgmt/wsgi.py
6c20ff12d0f4fcb7abe3ed01edd8dbf233dee72a
[]
no_license
Ckirk617/RemProjMgmt
aa765ed225372b2e830c637e32770f416596be68
7aa87665c58c79669dc58384677e103d38f0a150
refs/heads/master
2020-04-06T16:17:17.933760
2018-11-14T21:35:30
2018-11-14T21:35:30
157,610,798
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for ProjMgmt project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "cmariekirk@Christinas-MacBook-Pro.local" ]
cmariekirk@Christinas-MacBook-Pro.local
fad12f4564f15cf7dbae7692278ba828cd5fd714
efb6c4b02f29d164bc66f07eeda3c8026c797899
/ec2stuff/email_when_fin.py
651ef541bf5251f54dc6552296acb4887408161e
[]
no_license
swederik/AmazonEC2scripts
6e2c7742300e077c68b8e205ea732696ee8a3fd6
b74504388d6b937c9dbf27c345609b38ae04eab2
refs/heads/master
2016-09-05T17:38:34.579620
2013-07-14T23:26:14
2013-07-14T23:26:14
11,410,111
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
import smtplib #itisfinishedprocessing@gmail.com. def send_email(TO=["erik.ziegler@ulg.ac.be"], SUBJECT="DONE", TEXT="Finished"): SERVER = "smtp.gmail.com:587" username = "itisfinishedprocessing" password = "throwawaypassword" FROM = "itisfinishedprocessing@gmail.com" #TEXT = "This message was se...
[ "erik.ziegler@ulg.ac.be" ]
erik.ziegler@ulg.ac.be
a8fa9cda3bebfc92ff9f07a8a13bbb90dcc9400b
b1df343d5dbc1066913e6133b191f05706c71f0e
/17.9.1.py
10f9696c1b51a72e09aa3bef9ac32d61d7209d38
[]
no_license
artemovalex/pubic_qap-13
c41958a737e8fa753c6138e15b84ce2d741d89b1
7d444fdbe24cef989f940f1624cada8e60479432
refs/heads/master
2023-04-25T11:39:24.675277
2021-05-24T10:12:07
2021-05-24T10:12:07
323,099,153
2
1
null
2020-12-24T08:21:41
2020-12-20T15:08:35
null
UTF-8
Python
false
false
1,924
py
string = input("Введите числа через пробелов:") my_list = list(map(int, string.split())) # cписок чисел element =int(input("Введите любое число:")) def sort(array): # функциия сортировки массива по возрастанию for i in range(1, len(array)): x = array[i] idx = i while idx > 0 and arr...
[ "noreply@github.com" ]
artemovalex.noreply@github.com
2068e5ba0f55d91f5d12e1ef5b42fb4d6fbf661d
f03394e5840ee71ef9d1471718375d076d8e7ead
/wiki/encyclopedia/views.py
371ac0333d52261f84793b994e858ba905835137
[]
no_license
kane090/project1-cs50
bef230d91dce573063cee3e2c5d22c40fc6235a8
8133d99cdbd70ed54efee46929d6345d22aa1726
refs/heads/master
2023-06-05T01:41:31.610041
2021-07-03T21:06:01
2021-07-03T21:06:01
371,736,244
0
0
null
null
null
null
UTF-8
Python
false
false
2,544
py
from django.http.response import HttpResponseRedirect from django.shortcuts import render from markdown2 import markdown from django.urls import reverse from random import randrange from . import util def index(request): page_name = request.GET.get('q') if page_name != None: return search(request, pa...
[ "rishu.ks@gmail.com" ]
rishu.ks@gmail.com
7f3905346e32c93dbb08ca229d4d8268b9dfdb00
7f71d8ee1fbb15b44e202230ddde32133b9f386a
/backend/backend/stock_api/builders/__init__.py
c0e756957d428896e89b90526ecf315d6f0b2aee
[]
no_license
exe01/vkstock
358229405694a75584a463dcdbbc975e3f84ac56
2711ddf11d6c2a071940405060c26f4c8878efde
refs/heads/master
2023-04-04T14:36:34.438216
2021-04-18T15:11:41
2021-04-18T15:11:41
273,328,152
0
0
null
null
null
null
UTF-8
Python
false
false
12,978
py
from PIL import Image, ImageDraw, ImageFont from backend.stock_api.utils.censor import PartialCensor from backend.stock_api.constants import * from backend.stock_api.models import ( Post, Comment, RenderedPost, RenderedImage, ) from django.core.files import File import io import random import string i...
[ "skupov2d@mail.ru" ]
skupov2d@mail.ru
6a7750d3d923482fa6bc1912c5e162ef293f28e1
74a4d13ad5228cfe8cc2ffeb4c795a8ca16ed960
/Apriori/apyori.py
2543aa8cb9cb58faa2a7a9833f2a4be3a20b0de7
[]
no_license
kaustubsinha/Machine-Learning-Basic
6e18e4cdc8b5a7100400cec0e831d4ef226b363f
e3b4639c70e800c2e85f04884a7d6edd78aa8dc5
refs/heads/Linear-Regresssion-Algorithm
2020-03-21T10:01:16.159560
2019-12-19T11:08:15
2019-12-19T11:08:15
138,429,935
1
0
null
2019-12-19T10:56:18
2018-06-23T20:02:20
Python
UTF-8
Python
false
false
14,995
py
#!/usr/bin/env python """ a simple implementation of Apriori algorithm by Python. """ import sys import csv import argparse import json import os from collections import namedtuple from itertools import combinations from itertools import chain # Meta informations. __version__ = '1.1.1' __author__ ...
[ "noreply@github.com" ]
kaustubsinha.noreply@github.com
d55719fc88b337b0fec3f2afbaeb087d1156c0a9
316dbb3baac4a2084dfc5693677fa4baaa8b76b5
/DSandALGOs/DP/edit_distance.py
d24c79ecc72ef7a49615020cddcaaaf4c325ad11
[]
no_license
nsjethani/Python
27748ff5e420823c6a1a73183aead612e3e6db4d
7d1cf6382d18942bd5ddd91b476fae009060b961
refs/heads/master
2020-03-10T02:14:19.836172
2019-03-05T21:58:46
2019-03-05T21:58:46
129,131,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
def minDistance(word1, word2): """ :type word1: str :type word2: str :rtype: int """ # from one word to another if not word1: return len(word2) + 1 if not word2: return len(word1) + 1 buffer_array = [[0] * (len(word2)+1) for i in range(len(word1)+1)] for i in rang...
[ "neha.jethani6627@gmail.com" ]
neha.jethani6627@gmail.com
fcdcbeba752542d4e128ddebf54c68d5df123be8
385c01f7337cf5031093147f6731251bfbf17430
/lms/level/containers/get_by_id.py
d7e05c88e2f38349997208a7d052eb38bf54862a
[]
no_license
lucassimon/lmswebaula
23a73d6d2d43c78a2f9e3b552113cf50a11a3587
671276426685968458f240faa93b313427fa32d9
refs/heads/master
2021-01-19T13:26:12.352308
2017-08-16T21:07:43
2017-08-16T21:07:43
88,088,474
1
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import six class GetByIdRQ(object): _level_id = None _lms_level_id = None def __init__(self, lms_level_id=None, level_id=None): if lms_level_id: if not isinstance(lms_level_id, six.integer_types): rais...
[ "lucassrod@gmail.com" ]
lucassrod@gmail.com
ae734d529bcbe273e29551f3ccd8c250513c04ad
f0aba1aa9949cc6a8d3678c0b3ecb5503b470c17
/dtc/__init__.py
d9f20e7ca90c628c2cccd70a6d6bceb53e2bd4f4
[]
no_license
hugosenari/dtc
788eafc1a92701332ae54e2f2d74491566d635dd
9bb2e6f4f9180b7291a5daf6a35903e5c59e3fc4
refs/heads/master
2020-12-24T17:44:45.474422
2012-08-03T20:02:28
2012-08-03T20:02:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
''' Created on Jun 30, 2012 @author: hugosenari ''' import plugnplay import logging from os import path from dtc.core import interfaces from dtc.core.interfaces.module import _CoreModule from dtc.core.interfaces.mainloop import MainLoop from dtc import modules class Dtc(object): def __init__(self, dirs = []): ...
[ "hugosenari@gmail.com" ]
hugosenari@gmail.com
05f1381ac472766b4cd06fbd8153c99cc502c0e1
84d891b6cb6e1e0d8c5f3e285933bf390e808946
/Demo/PO_V6/TestCases/test_login_pytest.py
174dcfab88ddcee38ccb2eb6b5ea51c6f4e0d99d
[]
no_license
zzlzy1989/web_auto_test
4df71a274eb781e609de1067664264402c49737e
3e20a55836144e806496e99870f5e8e13a85bb93
refs/heads/master
2020-05-24T10:37:29.709375
2019-10-28T06:14:31
2019-10-28T06:14:31
187,230,775
2
0
null
2019-06-20T11:06:32
2019-05-17T14:29:11
null
UTF-8
Python
false
false
2,400
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Name: test_login_pytest # Author: 简 # Time: 2019/6/20 from Demo.PO_V6.PageObjects.login_page import LoginPage from Demo.PO_V6.PageObjects.index_page import IndexPage from Demo.PO_V6.TestDatas import login_datas as ld from Demo.PO_V6.TestDatas import Comm_Datas as cd import...
[ "394845369@qq.com" ]
394845369@qq.com
807c84ca2a5d2e55897e76ad73c802210aa7bde3
2764319f07b328d0c0bb4bf7300d8b499621b121
/Missions_to_Mars/scrape_mars.py
bd128cfe23fc2a09536dda2e8dd0e6fdcdd1cf5f
[]
no_license
erik-hernandez-25/web-scraping-challenge
8a098fc62474544ed98e72d69002f15090a27ae4
d086059035ba143e7642d892d1b147f8313132f2
refs/heads/main
2023-04-06T23:57:17.983696
2021-04-10T23:46:21
2021-04-10T23:46:21
356,629,427
0
0
null
null
null
null
UTF-8
Python
false
false
4,211
py
import pandas as pd from bs4 import BeautifulSoup from splinter import Browser from webdriver_manager.chrome import ChromeDriverManager def init_browser(): executable_path = {'executable_path': ChromeDriverManager().install()} return Browser('chrome', **executable_path, headless=False) def scrape(): ...
[ "erik.hernandez.enriquez@gmail.com" ]
erik.hernandez.enriquez@gmail.com
f68e80676e72be2e4597cabb98f6e8312c69fc60
d9cd697f76565e8230a98909204a5c516437f977
/tutorial/tutorial/settings.py
7b7807db8743db25310455fe110dcac0eed68dba
[]
no_license
huazhicai/webspider
be20d0d3a248ef8cbfaab8e3d1fd0e8ac7551352
a1defa3778956accbb7617c9a3798d02e0b175f6
refs/heads/master
2020-03-22T09:00:23.518744
2019-07-11T14:53:37
2019-07-11T14:53:37
139,807,092
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
# -*- coding: utf-8 -*- # Scrapy settings for tutorial project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topi...
[ "936844218@qq.com" ]
936844218@qq.com
67ddb0e2a54f5eb15dcef4077a242b6570051ce6
c1887805b9cfc7fbe495579151e099727ec5e7e1
/lib/python2.6/site-packages/tw.jquery-0.9.9-py2.6.egg/tw/jquery/samples.py
e19ed82a9c4b333531d8d87063e82fb8d24a57df
[]
no_license
desarrollo1/tg2env
2b684ed15c4a946ade343c12c6ab045e89d10539
6f8fa6517d7201c38a0769d5e253c70899be3413
refs/heads/master
2021-03-12T19:20:32.848029
2011-01-31T04:48:26
2011-01-31T04:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,469
py
# Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copi...
[ "jaglame@gmail.com" ]
jaglame@gmail.com
53014b08b5a0417f9cdad166774bd2d3dddbf4a7
c0a1da7cd7bcc987f28d746679664a163ea84e6a
/app/forms.py
0cef18f88bc9b986212729252be10ed4a9698605
[]
no_license
pavan19a97/flask-todolist-login
fcbf1d96dd0f586d5e399645e1faedfd3cb4f28f
e05a2e7bdaae8bcf4567a3ae3e90aab62ef068d6
refs/heads/master
2023-02-26T03:06:58.972469
2021-01-30T16:51:56
2021-01-30T16:51:56
333,224,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import ValidationError, DataRequired, Email, EqualTo from app.models import User class LoginForm(FlaskForm): username = StringField('Username', validators=[DataRequired()]) password...
[ "pavan19a97@gmail.com" ]
pavan19a97@gmail.com
3e108d215330ee3c14ab7f7957e3cbc55dfcb5f9
aecad2b0e89d72aca6c80bf63c424ee7904257ce
/pending_deletes/named_entity_recognition/NER_co_occurrence.py
deeeaa377fae611e679786374f32a94ecd4dcd2c
[]
no_license
humlab/text_analytic_tools
fdf4ba814263672b05ec188aac9a059b55d085b6
32fc444ed11649a948a7bf59653ec792396f06e3
refs/heads/master
2022-03-02T06:56:29.223039
2019-10-28T13:06:49
2019-10-28T13:06:49
74,679,680
2
1
null
2019-10-26T21:33:23
2016-11-24T14:19:46
Python
UTF-8
Python
false
false
2,705
py
import pandas as pd # %% writer = pd.ExcelWriter('C:\\TEMP\\papacy.xlsx') # %% #pope = 'benedict-xvi' #pope = 'francesco' pope = 'john-paul-ii' #df = pd.read_excel('./Data/' + pope + '.xlsx', 'Data') df = pd.read_excel('C:\\Users\\roma0050\\Documents\\Projects\\papacy_scraper\\data\\' + pope + '.xlsx', 'Data', dtype=...
[ "roger.mahler@hotmail.com" ]
roger.mahler@hotmail.com
6da75afc662601dd4bc0b2aaf0413dede6a4ac94
6df18031547b1fde808944b4c8f83d2766c95251
/UoM_databases_with_python/assignment_2/tracks.py
094f7bf6650220142fd1d777f5317ba3710277e3
[]
no_license
skreynolds/UoM_data_science
6edce9b3d3bf03b6dab6471346e40965464d6adb
9636c0a784079445f585b830a1d093acea608d6a
refs/heads/master
2020-05-20T23:06:36.560299
2019-06-01T02:30:09
2019-06-01T02:30:09
185,794,803
0
0
null
null
null
null
UTF-8
Python
false
false
2,719
py
import xml.etree.ElementTree as ET import sqlite3 conn = sqlite3.connect('../databases/sqldb_5.sqlite') cur = conn.cursor() # Make some fresh tables using executescript() cur.executescript(''' DROP TABLE IF EXISTS Artist; DROP TABLE IF EXISTS Genre; DROP TABLE IF EXISTS Album; DROP TABLE IF EXISTS Track; CREATE TABL...
[ "shane.k.reynolds@gmail.com" ]
shane.k.reynolds@gmail.com
f1b9d705860e3e5f69e290b188025d10c52789f1
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/python/autograph/core/unsupported_features_checker.py
9ecab32e6c5f01db35c77233cc55c757a9f80212
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:d0644b74e1e6d4d41084b1c1d32d62fc2a1adb15cd7c6141bd2a62448c182854 size 1815
[ "github@cuba12345" ]
github@cuba12345