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
26c28d596fb8b6712cc4ba60a88c42f88de634df
959d6f7027a965f609a0be2885960b63c6dc97bc
/facebook/likers/steps.py
96cfda296f3d581fbb757246dd37896ae0d2495a
[]
no_license
ameetbora/facebook-comments
0bf57f8e5b4a8ef7804aa999fa86d9913b7ee99c
7649c808164f978b147a4410795eadf374e3d3dc
refs/heads/master
2020-04-12T14:39:23.733965
2018-10-30T06:17:42
2018-10-30T06:17:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
import time def login(driver, user_email: str, user_password: str): driver.get("https://www.facebook.com") email = driver.find_element_by_id("email") password = driver.find_element_by_id("pass") submit = driver.find_element_by_id("loginbutton") email.send_keys(user_email) password.send_ke...
[ "lewington@student.unimelb.edu.au" ]
lewington@student.unimelb.edu.au
ba0236d70ba44c3bbd27a29b3e9e66d95c26ab01
d245145b5e54fd1111b9e9a7349fe3aa045e0eeb
/queue-stack/MyCircularQueue.py
05831985759e7a96eb4b53dac1e4d1021ddd736b
[]
no_license
scottfu001/leetcode
680d461d072fe70cb51a1342e98ab0f24f090855
70c43d67f6faae9d92f28da764a1fb32ca564fa5
refs/heads/main
2023-05-05T04:35:18.327905
2021-05-26T05:55:29
2021-05-26T05:55:29
363,279,931
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
class MyCircularQueue: def __init__(self, k: int): self.q = [] # the data self.k = k # the max size def enQueue(self, value: int) -> bool: # check the queue is full if self.isFull(): return False else: self.q.append(value) return...
[ "noreply@github.com" ]
scottfu001.noreply@github.com
0255c053d28e22970556e6a2ff0f3ee1edab6c56
0578b6008faa202291aa23d29648c4b371656f62
/Connect4/Board.py
57fa577504d4298151c86e601c6cb8e306b959a4
[]
no_license
mirzalorena/Fundamentals-Of-Programming
491d7e1ea575554e5ab160aafe3943fcaf4e7997
dbc668da2832bbdab28bc34de637e59e46d2f68c
refs/heads/master
2020-11-27T16:45:47.727316
2019-12-22T07:45:56
2019-12-22T07:45:56
229,533,743
0
0
null
null
null
null
UTF-8
Python
false
false
4,736
py
''' Created on Dec 20, 2018 @author: Lorena ''' class Board: def __init__(self,width,height): self.board=[[" "]*width for i in range(height)] self.width=width self.height=height def clear_board(self): """ clears the board """ self...
[ "noreply@github.com" ]
mirzalorena.noreply@github.com
494251cb3ddb98b1b9da717223066f0ed6b69677
f2f0478171b5e6d2fc1897e4f40b05eba15a36b6
/ex5.py
1d0f78354447d159dfede956b8c7d0695518fb36
[]
no_license
gssakib/python-projects
5930dc612eec8386864ad7b7730642c8155b75ce
70c1a356cb563e4b8040dbee7b46222b2b325cf0
refs/heads/master
2021-09-24T09:49:17.034756
2021-09-10T20:25:42
2021-09-10T20:25:42
57,471,291
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
name = 'Zed A. Shaw' age = 35 height = 74 weight = 180 eyes = 'Blue' teeth = 'White' # my_teeth = "White" hair = 'Brown' in_no_len = 1 in_no_mass = 1 in_cm = in_no_len * 2.54 lb_kg = in_no_mass * 0.45 print "Let's talk about %s." % name print "He's %d inches tall." % height print "He's %d pounds heavy." %weight print...
[ "sakibgazi9@gmail.com" ]
sakibgazi9@gmail.com
12f03aa1dc75eaf7a286d0d8d710da31e00ccb2f
3bbda49b8ec6ca7de57f9ea3b6e26d17cfd2b7aa
/node_modules/fsevents/build/config.gypi
18f8e50cca791052039d23b428f9f450f61a30dd
[ "MIT" ]
permissive
Skytim/Angular-Project
290795b1c1ca8eac6209d2d4903c35fac7960a2c
2e47ec60b5622d853d6cbe474781dca1e2283315
refs/heads/master
2020-07-28T18:29:22.529132
2016-11-13T17:38:08
2016-11-13T17:38:08
73,403,383
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "host_arch": "x64", "icu_data_file": "icudt56l.dat", "icu_da...
[ "蔡宇祥" ]
蔡宇祥
c1c25798337a14a9824606e5595643103dd4f1c4
5c72598be125082f8cd9df3555ff6bcc0cfa906d
/pytorch-semseg-model/ptsemseg/loader/pascal_voc_loader.py
43ff94d21ec7e121c312f4bb6435dc9b646a3e3f
[ "MIT" ]
permissive
yyfyan/fast_segmentation_code
d12b663960033804bde8699e24ef90de1ec350ef
3784a09585e41e384cbc1e0a1ebc1ae05642905a
refs/heads/master
2020-03-30T06:12:40.023843
2018-09-27T07:16:53
2018-09-27T07:16:53
150,845,503
1
0
null
2018-09-29T08:57:18
2018-09-29T08:57:18
null
UTF-8
Python
false
false
5,715
py
import os import collections import json import torch import torchvision import numpy as np import scipy.misc as m import scipy.io as io import matplotlib.pyplot as plt # from tqdm import tqdm from torch.utils import data def get_data_path(name): js = open('config.json').read() data = json.loads(js) retur...
[ "dzha9516@uni.sydney.edu.au" ]
dzha9516@uni.sydney.edu.au
c9f187898d60ce3cc53e084f94baf1419abcf063
ab68f12dbfe8154564c3a10afb7b0cf36d5061d4
/financial_prepp.py
e273fd7387a4ed09072ce70245b4a16c6fe52e58
[]
no_license
esiiol/financial-text-preprocessing
264e736833305beadad3b6f8b301553f5e03e3c6
de6e57cb6ae9a8b4871955472c5c932ab395792f
refs/heads/main
2023-02-22T10:19:09.039142
2021-01-28T14:00:15
2021-01-28T14:00:15
333,775,031
0
0
null
null
null
null
UTF-8
Python
false
false
16,447
py
#### Author: EO #### github: esiiol import string import re import pycountry as pc import pickle NUMBERS_DICT = {'1st': 'first', '2nd': 'second', '3rd': 'third', '4th': 'fourth', '5th': 'fifth', '6th': 'sixth', '7th': 'seventh', '8th': 'eighth', '9th': 'ninth', '10th': 'tenth'} STANDARDS_DICT = {'3g':...
[ "noreply@github.com" ]
esiiol.noreply@github.com
ed6150280bcf84458f2651fbd3fa61ffeb81b29b
20310d2c7708dbcd4ec35cad8937f34f74432059
/Chapter05/goodFeaturesToTrack.py
bd2c8143f0e06aafca9cffb512a62f64f628cc8a
[]
no_license
jCuadra/OpenCVwithPython
69db8d663942edfbf7b39371b2209f90081a3873
ea9c8afcb290083bb62d4dcb0b299187349a7320
refs/heads/master
2021-01-16T18:34:33.192469
2017-06-02T09:04:20
2017-06-02T09:04:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
import cv2 import numpy as np img = cv2.imread('./image/box.jpg') gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) corners = cv2.goodFeaturesToTrack(gray, 7, 0.05, 25) # params # gray: image to detect corners # 7: the number of corners to detect # 0.05: threshold for detecting corners # 25: the minimum distance between co...
[ "huddy1204@gmail.com" ]
huddy1204@gmail.com
3e92f309ef61231db2fa56989217b3ba6eb86326
275a96a33ae1f89e7b2ee0ecdbac7d78abe6d6cc
/swagger_client/models/conflict_error.py
a40924bde282c121008b4b6801a38516e4f056f1
[]
no_license
cascadiarc/cyclos-python-client
8029ce07174f2fe92350a92dda9a60976b2bb6c2
a2e22a30e22944587293d51be2b8268bce808d70
refs/heads/main
2023-04-03T16:52:01.618444
2021-04-04T00:00:52
2021-04-04T00:00:52
354,419,532
0
0
null
null
null
null
UTF-8
Python
false
false
4,439
py
# coding: utf-8 """ Cyclos 4.11.5 API The REST API for Cyclos 4.11.5 # noqa: E501 OpenAPI spec version: 4.11.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.configuration import Configuration class...
[ "dan@leftcoastfs.com" ]
dan@leftcoastfs.com
56de729d7a7b75d2cb74bb8c681c2ba54b94ae29
638558203b38d60b1716f6d87ccc8d01587ed99c
/HeapPriorityQueue.py
92f0f659aae10a37abd99fd585a953cd671bcd7b
[]
no_license
cluntsao/python-learning
b3cb08c527f037cd040a972494b239c32294537a
4e61be66e85d82d63349869a8ee72c7ae6b94ee5
refs/heads/master
2020-03-24T05:55:38.298430
2018-08-10T03:46:52
2018-08-10T03:46:52
142,508,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,138
py
from PriorityQueueBase import PriorityQueueBase class Empty(Exception): pass class HeapPriorityQueue(PriorityQueueBase): """Non-public behaviors""" def _parent(self, j): return (j - 1) // 2 def _left(self, j): return 2*j + 1 def _right(self, j): return 2*j + 2 def _...
[ "tsaochelun@gmail.com" ]
tsaochelun@gmail.com
7e03c5d6aaabd3d4ec2c4061fd2fb4562f4f896f
548a597a800fbe63e63b6d0bae7a0f000f82c3a7
/User/user.py
89b662838fbb87659a71f1398bce23e5df3bf810
[ "BSD-3-Clause" ]
permissive
SaeGot/SaeGot-Engine_pygame
ecd804045915e70f55f95e1ea464f7a7f8f08ce7
e97a81d7eeb079164ecc231f4b9406141e84cb55
refs/heads/main
2023-03-05T15:57:04.201972
2021-02-13T17:59:39
2021-02-13T17:59:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import pygame class User: _id = None _logon = False def __init__(self, id = None, logon = False): self._id = id self._logon = logon def login(self, id): self._id = id
[ "noreply@github.com" ]
SaeGot.noreply@github.com
49091e1f2a89e3e9e7ef5ea6391ee62e7ad44bc5
19e5f32caa685ef994a3412062307ce5ff753d3f
/make_plots.py
e5e4505c64b73e80fc74db22bad76eaf53d9ff15
[]
no_license
jsbridge/spatial_grism
64f21d58ca4fc71340fb6943684d21c799d39d24
7a98b7b64c7e8d5a74ce0f1b3d54228d0e34e270
refs/heads/master
2020-07-07T18:58:55.317728
2019-08-20T20:08:13
2019-08-20T20:08:13
203,446,554
0
0
null
null
null
null
UTF-8
Python
false
false
9,334
py
import numpy as np import matplotlib.pyplot as plt import matplotlib from astropy.io import fits from glob import glob from astropy.cosmology import FlatLambdaCDM from astropy import units as u from astropy.coordinates import SkyCoord from scipy.ndimage.filters import gaussian_filter import matplotlib.patches as patche...
[ "noreply@github.com" ]
jsbridge.noreply@github.com
a3ee575e7318f6ded972fa7288d9b79b53f4f0e7
302442c32bacca6cde69184d3f2d7529361e4f3c
/cidtrsend-all/stage2-model/pytz/zoneinfo/Navajo.py
1b27ae20abe14d05ef0286e1b3a242389516aafd
[]
no_license
fucknoob/WebSemantic
580b85563072b1c9cc1fc8755f4b09dda5a14b03
f2b4584a994e00e76caccce167eb04ea61afa3e0
refs/heads/master
2021-01-19T09:41:59.135927
2015-02-07T02:11:23
2015-02-07T02:11:23
30,441,659
1
0
null
null
null
null
UTF-8
Python
false
false
7,131
py
'''tzinfo timezone information for Navajo.''' from pytz.tzinfo import DstTzInfo from pytz.tzinfo import memorized_datetime as d from pytz.tzinfo import memorized_ttinfo as i class Navajo(DstTzInfo): '''Navajo timezone definition. See datetime.tzinfo for details''' zone = 'Navajo' _utc_transitio...
[ "learnfuzzy@gmail.com" ]
learnfuzzy@gmail.com
6085a2cfbcde968d0ed001eb7a49d5bebfa6aa75
817a97680e85142634c3e7c66a3e0a0e5eceaffd
/sma_cross_vol.py
d1c0f856afe1d5f0f00c0bc6834541cf33e6a4d0
[]
no_license
johndpope/algotrading
4cca78db99af8fef0d1fc57aac3104bd0e8a895c
f2f527f85aad6cce928f1c2e9794f9217efcce93
refs/heads/master
2021-06-24T15:24:53.136691
2017-08-27T16:13:55
2017-08-27T16:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,488
py
from datetime import datetime, timedelta import backtrader as bt class SMACrossVolumeStrategy(bt.SignalStrategy): params = dict( diff=0.01, limit=0.005, limdays=10, limdays2=1000, maperiod_small=30, maperiod_big=30, ) def __init__(self): self.order = None ...
[ "lifanov.a.v@gmail.com" ]
lifanov.a.v@gmail.com
315cb972ca9bd6d4aa858a998327cbe1adc88343
3a7947b96c67d8b9360e7fe8d17511085dd399bf
/ระดับคำ/question_num_ans_predict.py
810958abbe6e47f3c70600f409802aa4abaff025
[]
no_license
noratap09/QA_Question_type_1
97da7b987914928277d989e19d6e2b0d56db4a7e
9d276d26540097603e83abd837865d0e617eda3a
refs/heads/master
2020-11-25T10:06:33.361504
2020-01-29T12:47:04
2020-01-29T12:47:04
228,611,333
0
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
import deepcut import json my_file = open("data_set_fix.json",'r',encoding = 'utf-8-sig') txt = my_file.read() json_obj = json.loads(txt) from pythainlp.tag import pos_tag, pos_tag_sents from pythainlp.tag.named_entity import ThaiNameTagger ner = ThaiNameTagger() def ck_have_num(ans): ans_ne = ne...
[ "noreply@github.com" ]
noratap09.noreply@github.com
018e46a708e7f3628fb3cb3145bd3c952e687e30
702277b0be87a6b2f64e1e3e07194993ca5033e7
/app.py
a5619bcf73e15bc432c93404d49038b3c731ef59
[]
no_license
angiesk/flask-101
03c3124ed2a9b7d6ebef989754de88ba65992839
2aa436a56e85e7fed43e9d2c095f049fa71d712a
refs/heads/master
2020-04-21T16:58:27.101681
2019-02-08T11:27:22
2019-02-08T11:27:22
169,720,536
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
from flask import Flask app = Flask(__name__)#app is the name of the object here @app.route('/') def home(): return "<h1> Hello World </h1>" if __name__ =="__main__": app.run(debug=True,port=8080)
[ "shivangi2197@hotmail.com" ]
shivangi2197@hotmail.com
d51989b8a2d4b06d6222328761a11df153f3d1d5
653fa1ead69f115d458ceb486374a63e240dc298
/ana.py
8dc4c703e74e83dcd8c91623a56904499bf9fbcb
[ "MIT" ]
permissive
CanDenizKas/teksayiguncelleme
ab9d809e6fd7bb7836d5461088349600bb889858
92cc24b2bb2a3933a3f3286f11b4c3db909d4a16
refs/heads/main
2023-02-27T12:34:47.394193
2021-02-06T12:28:22
2021-02-06T12:28:22
335,058,234
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
bos_liste = [] top_sayi = int(input('Toplam kaç sayı olsun ? :: ')) for n in range(top_sayi): sayilar = int(input('Sayi Gir ')) bos_liste.append(sayilar) for j in bos_liste: if j % 2 == 0: continue else: print("Listedeki En Yüksek Tek Sayı :", max(bos_liste)) break
[ "candenizkas@gmail.com" ]
candenizkas@gmail.com
f0d87bc6ed10a1caabc7f8732994e85fec06d724
a416bcbba315b8a407fcd21dee082cceee8a6e5e
/print/print.py
ab0c381ba973a8ce80dcb391d544ecbcd17f8399
[ "MIT" ]
permissive
Devendrabhat/print
f3e05f86fb5627a8b416dc7841c0a6c1b1fa9391
1316e55dcedb58ebd552ea8c5587cf20bec825c5
refs/heads/master
2020-04-12T11:19:57.951634
2018-12-15T22:56:46
2018-12-15T22:56:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
"""ASCII Large Text and ANSI escape sequence print overloading Examples -------- print("Testing", RED, BOLD) print("ASCII Art", BLUE+BR, BIG) """ import sys import os import re from . import putil # Try to import pyfiglet try: import pyfiglet def __pf_render(s, f): return s if f is None else pyfigle...
[ "thetianshuhuang@gmail.com" ]
thetianshuhuang@gmail.com
d82f94f00d325bf9852dbc2c2fa28d95a8432598
a1f8980902374340cbe646a0685135681e2aec28
/BBS/urls.py
2bfc188803720225a010d65f130b283ce472d556
[]
no_license
gaofei207/BBS_SE
99b275fac85de3ff9a2f9acdfe147be53d022cbe
7110c8491c2518b23fbe2895501c5dd2770f200d
refs/heads/master
2023-01-14T03:33:29.837211
2020-11-11T13:17:18
2020-11-11T13:17:18
109,016,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
"""BBS URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based ...
[ "gaofei207@github.com" ]
gaofei207@github.com
adc64da4e00337e98ee27de6675046ea73ffd7dd
0ce9a72c7d66b71f95ce34ac9103b11026a14e4e
/qqzone/analyze.py
32b7bdc00a740e0ad17c2a98998f4e1e8b5f4757
[ "Apache-2.0" ]
permissive
yanqingda/web-crawlers
9eebafdb55cd9d968f8b33d2f835ad905c300cd0
0b4b04e5b432f2bbfd930b11cb71f0e144ad9cfe
refs/heads/master
2020-09-25T13:57:51.417822
2019-09-23T09:02:07
2019-09-23T09:02:07
226,018,013
0
0
null
2019-12-05T04:45:34
2019-12-05T04:45:34
null
UTF-8
Python
false
false
5,458
py
import hashlib import time import random import re import string from urllib.parse import quote import requests import base def __curl_md5(src): # md5 m = hashlib.md5() m.update(src.encode('utf-8')) return m.hexdigest() def __get_params(plus_item): # request timestamp t = time.time() time...
[ "96486d9b@gmail.com" ]
96486d9b@gmail.com
42e05df749e38cf8218a779f4fdd5ae120642485
33170d202d96ae9d6a98f6d9be41e87361ba3bd3
/demo7_tensorboard.py
48f7564472e1b793c2ac3c4ad1607cb8c603b702
[]
no_license
Seancheey/tensorflow-practice
cfdd2338f6d139491c5dda361b74beef64ecec01
a11f1c8f14e4ccf8d92b8e051ac4cf95b0695607
refs/heads/master
2021-01-01T16:18:00.961347
2017-07-24T12:33:55
2017-07-24T12:33:55
97,805,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
import tensorflow as tf import subprocess import numpy as np ### define a neuron network that can be displayed in tensorboard --- a visualization tool supported by tensorflow # define a add layer function def add_layer(inputs, in_size, out_size, activation_function=tf.nn.relu): # define name scope to help visualiz...
[ "adls371@163.com" ]
adls371@163.com
0726b7390ed35387b3d0eef50a1cb7a3d9aa9f8a
3044d26f03f23e8e8c5fcec57b78bfffe0fa0bd3
/case/workflow_FinancialClass_samplepayment_FlowSamplePayment/workflow_FinancialClass_samplepayment_FlowSamplePayment_purchaseleader_return.py
dad86a28c42e2c435c7fe2f5a98f76c2af6bf9d8
[]
no_license
tian848-tim/trunk
de50a153c8cab3c81c79c523256a6f1b4c2f049d
cd52afdd003f094056dc2ea877c823a38e6a26fd
refs/heads/master
2022-11-20T06:43:35.540105
2020-07-20T07:48:26
2020-07-20T07:48:26
281,048,661
0
0
null
null
null
null
UTF-8
Python
false
false
19,324
py
''' 测试用例标题:样品付款测试 测试场景:样品付款业务流程测试——采购组长退回 创建者:Tim 创建日期:2018-11-13 最后修改日期:2018-11-13 输入数据:审批流程各个角色账号 输出数据:无 ''' # -*- coding: utf-8 -*- import sys, os curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] # sys.path.append(rootPath) import unittest from cgitb import text import se...
[ "tim.long@Newaim01.com" ]
tim.long@Newaim01.com
f7ecdb2d699ad87445645dbd7746ea96b41b3189
56b511013e480879810c732f3190f5746b0aa733
/TP2-Agentes Racionales/CODE/randomagent.py
5b93c5573b903541efd6fdc4733554bf1db06a14
[]
no_license
Fabriexe/ia-uncuyo-2021
86e30231aabd07cddebf16b62baba94ef771e3e6
6a32f2f5eb1e281148fbc1c0f6a659fc1e392f04
refs/heads/main
2023-08-23T00:07:40.256247
2021-11-06T05:37:46
2021-11-06T05:37:46
395,062,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,702
py
from enviroment import* class randomagent: def __init__(self,env,life,x,y): self.env=env self.reslife=life self.posX=x self.posY=y self.cleaned=0 def perspectiva(self): acciones=[] X=self.env.sX Y=self.env.sY if self.posX>0 and self.posX<...
[ "fabricioexe54@gmail.com" ]
fabricioexe54@gmail.com
d22c6a57747ea40840a81f5d73cb4e36e344a310
ed84a727dfcde9481668d0317ca3b2c80e58ad0f
/set2_mul.py
c892b8f895e2d69f6fd2168437167d2ccee2363b
[]
no_license
Boorneeswari/GUVI_PROGRAMS
2458c47da89a3cf1450b5b20eea7e34fba7dd051
0f1648f95064043bba93195062954a0afe67ed66
refs/heads/master
2020-03-22T21:15:50.236733
2018-10-03T13:05:47
2018-10-03T13:05:47
140,672,212
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
num=int(input()) mul=5 x=0 for i in range(1,mul+1): x=num*i print x,
[ "noreply@github.com" ]
Boorneeswari.noreply@github.com
d97bc67342b303dfc707649f0473beb996146c1d
58374bb4f0a77aff538c466615ec86273fc7a106
/flight_search.py
8dc1eb5073ceb3d3755b5fafda0dd9bd8db4b702
[]
no_license
cheasingh/flight_deal
d963911511742691c78b939150dbbd47c02dc7a1
b300ccb152116c60c411dddf83e018d5fec794e6
refs/heads/master
2023-03-01T21:16:15.559210
2021-02-06T12:09:21
2021-02-06T12:09:21
335,671,169
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import requests import os class FlightSearch: # This class is responsible for talking to the Flight Search API. def __init__(self): self.param = { "apikey": os.environ["TEQ_API"], "fly_from": "PNH" } self.endpoint = "https://tequila-api.kiwi.com/v2/search" ...
[ "cheasingh168@gmail.com" ]
cheasingh168@gmail.com
2faed508287230ab969292eaf79e86a5f4c970fb
5e9c890f5677aa561f7acdb1b1249dc06d5a166a
/tests/output/timesteptest.py
d613f2dd19d68fdf604ce930488681bdf566445a
[ "Apache-2.0" ]
permissive
fispact/pypact
6690b6d4f8265990e2c238532e57c4c9cf8c88d4
be7723189236de333c44131ca534fb4286b4e3f7
refs/heads/master
2023-01-24T09:36:47.363611
2022-10-23T17:58:40
2022-10-23T17:58:40
118,437,112
20
10
Apache-2.0
2022-10-23T17:58:41
2018-01-22T09:42:58
Python
UTF-8
Python
false
false
9,251
py
from tests.output.baseoutputtest import BaseOutputUnitTest from tests.output.doseratetest import DoseRateAssertor from tests.output.nuclidestest import NuclidesAssertor import pypact as pp class TimeStepAssertor(BaseOutputUnitTest): ds_assertor = DoseRateAssertor() nuc_assertor = NuclidesAssertor() def ...
[ "stainer.tom@gmail.com" ]
stainer.tom@gmail.com
40d4849bbc2eaf4a84128ba8c1fdc12a9548dde1
16450d59c820298f8803fd40a1ffa2dd5887e103
/baekjoon/5622.py
d81981f661aa57dc341a4a724cc55527ebc3158a
[]
no_license
egyeasy/TIL_public
f78c11f81d159eedb420f5fa177c05d310c4a039
e2f40eda09cb0a65cc064d9ba9b0e2fa7cbbcb38
refs/heads/master
2021-06-21T01:22:16.516777
2021-02-02T13:16:21
2021-02-02T13:16:21
167,803,551
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
""" 상근이의 할머니는 아래 그림과 같이 오래된 다이얼 전화기를 사용한다. 전화를 걸고 싶은 번호가 있다면, 숫자를 하나를 누른 다음에 금속 핀이 있는 곳 까지 시계방향으로 돌려야 한다. 숫자를 하나 누르면 다이얼이 처음 위치로 돌아가고, 다음 숫자를 누르려면 다이얼을 처음 위치에서 다시 돌려야 한다. 숫자 1을 걸려면 총 2초가 필요하다. 1보다 큰 수를 거는데 걸리는 시간은 이보다 더 걸리며, 한 칸 옆에 있는 숫자를 걸기 위해선 1초씩 더 걸린다. 상근이의 할머니는 전화 번호를 각 숫자에 해당하는 문자로 외운다. 즉, 어떤 단어를 걸 때, 각 알파벳에 해...
[ "dz1120@gmail.com" ]
dz1120@gmail.com
c5d6b42f2836cb90508dfb929e9c065b433edca9
390ef873925b9a302b31f8904de0a4995cdab4c9
/leerTabla.py
e8dfdab38a6f463336c71ccbc24387295c49dfe3
[ "MIT" ]
permissive
AbeJLazaro/MinimizacionAF
26a1d71713600e344541dbd30185f865814853c9
1fed781e401c9c929618b6641b202cbeba34c1af
refs/heads/main
2023-01-03T17:18:56.365338
2020-10-27T05:53:40
2020-10-27T05:53:40
307,597,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,167
py
''' Autor: Lázaro Martínez Abraham Josué Fecha versión: 26-10-2020 Programa: Implementación de una función para leer una tabla que representa una tabla de transiciones del AF ''' def leerDatos(nombre): '''Función que lee el archivo de la tabla de transición para representa...
[ "noreply@github.com" ]
AbeJLazaro.noreply@github.com
7db34ccaf7b764230d55ed45cdf7469ea3208004
5982c00a0b0a1e46f46881f9fa883259dcc56fc1
/blog/migrations/0005_auto_20201018_0823.py
8b34aa117d4fdc0b70ce78c789800439d0e3f5a1
[]
no_license
k-ken-source/FacultyNetwork
8e8e092b942eac07d957709585f1c27da60d5ac1
ee82473ac7b471026654cbce9384db3e65715961
refs/heads/main
2023-03-03T19:13:05.444697
2021-02-17T06:13:56
2021-02-17T06:13:56
339,133,694
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Generated by Django 2.0.7 on 2020-10-18 08:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_post_overview'), ] operations = [ migrations.AlterField( model_name='post', name='thumbnail', ...
[ "chirag21works@gmail.com" ]
chirag21works@gmail.com
ec88a0da26bc9dce4c08887164b88d20d9e6fa98
a3fd69f7feb476715180d3bd85524d431b56abd1
/pb_logging/syslog_handler.py
4aea54c8731a8ec5de5a8646e3bb6f0dccfa9de2
[]
no_license
fbrehm/py_pb_logging
c22612f953e4f95e1d5ccade32859b91e1b69ea1
e17b4e3c8a4fc22323e1153e5a539c837a529489
refs/heads/master
2021-01-17T10:03:04.098123
2018-06-12T19:48:40
2018-06-12T19:48:40
8,831,477
0
0
null
null
null
null
UTF-8
Python
false
false
4,901
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @summary: wrapping logging handler for logging.handlers.SysLogHandler to avoid BOM errors in syslog messages """ # Standard modules import socket import sys import os import stat import errno from logging.handlers import SYSLOG_UDP_PORT from logging.handlers...
[ "frank.brehm@profitbricks.com" ]
frank.brehm@profitbricks.com
848a6021591e88d0c051325f1028b69b90f99827
1ae6f4ed456ccacf8ae95a6cff20f15add056f3f
/ex.19.py
9537ec1d21f0338b8d0f1431af4090046ec85b20
[]
no_license
KarinaMapa/Exercicios-Python-Repeticao
64db726b58659c10f77929e5ec13b4c329986db8
c1f73a81a4a296f79578ee0ffe79fe8625d7d565
refs/heads/master
2022-10-20T09:28:52.278850
2020-06-16T23:00:42
2020-06-16T23:00:42
272,828,749
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
quant = int(input('Digite a quantidade de números do conjunto: ')) maior = soma = 0 menor = 1001 for i in range(0, quant): n = 1001 while n > 1000 or n < 0: n = int(input('Número: ')) if n > 1000 or n < 0: print('Número inválido') if 0 < n < 1000: if n > maior: ...
[ "karina-mapa@hotmail.com" ]
karina-mapa@hotmail.com
0fa7e3fc6fd950f1f23e646d84d728185e1189c8
b4edc965851727001349d72009bf833443754696
/urls/settings.py
d2026cad2b9a1ffc966fcace37646e5a1b03355c
[]
no_license
codecov-test/urls
50491e56fc2b62cb6d31b9e3fc6dc886ab9e58cc
2762377fd90d5fa77729b796d2687705c7733b4b
refs/heads/master
2020-12-30T19:58:00.122749
2016-04-01T23:24:11
2016-04-01T23:24:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,744
py
# Django settings for urls project. import os ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Dennis Hedegaard', 'dennis@dhedegaard.dk'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', ...
[ "dennis@dhedegaard.dk" ]
dennis@dhedegaard.dk
21ee6ed1bf7eb08ddecbbb10cc3d1e6ec75e5a53
9050a892c73b89a1f92d126f42261fd7ca8fe780
/graph.py
2da5fb067090baff6e14aa1e200574e54d52d339
[]
no_license
MatishaKansal/Pro--107
42050ff149e147f79ab0e89b7cc41db83780d2fc
2b9d7d9a79f47c1225f6a58d16ff9638bdf32001
refs/heads/main
2023-06-19T01:51:25.512222
2021-07-17T16:56:25
2021-07-17T16:56:25
386,993,531
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import csv import pandas as pd import plotly.graph_objects as go import plotly.express as px df = pd.read_csv("data.csv") mean = df.groupby("level")["attempt"].mean() fig = px.scatter(df, x = "level", y= "attempt", color="attempt", size="student_id") fig.show()
[ "noreply@github.com" ]
MatishaKansal.noreply@github.com
b6cdb14de2b229bc4923a7f21f1125f885adb7b4
811aeb74f573da200a1471056b451affc9768ec5
/rnd-graph-gen.py
d421782207655109c051d3008fecbe5115ab8145
[]
no_license
Galahad3x/SAT-Solver-Race
e36b130938bff13f33cac892881e6530542eea4a
ad360e8d857d04853a036d7fb5528be312b3999e
refs/heads/master
2023-04-21T07:37:46.307353
2021-05-16T17:36:59
2021-05-16T17:36:59
350,693,534
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
#!/usr/bin/python3 ####################################################################### # Copyright 2020 Josep Argelich # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of th...
[ "joelaumedes@gmail.com" ]
joelaumedes@gmail.com
3729d9da023e6a5a84cc1c3bac5ff6e4ef5f87db
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stubs/redis/redis/sentinel.pyi
ea13ae681287fa1353217d2e6d217fe0898b122b
[ "Apache-2.0", "MIT" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
2,820
pyi
from collections.abc import Iterable, Iterator from typing import Any, TypeVar, overload from typing_extensions import Literal, TypeAlias from redis.client import Redis from redis.commands.sentinel import SentinelCommands from redis.connection import Connection, ConnectionPool, SSLConnection from redis.exceptions impo...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
0381a8f78160698253492ad282902dea14fda2ef
d9563b4c1aa57ea2f34844f2d9e3c645f7883487
/Project/demo.py
25d7cd0dbc22017caf3e7c94ca619daa44fe024d
[]
no_license
smartinez1/IBIO4490
fb1444650f91a349d40233815f179c7d168085da
b1d9f96b2a38162fb5087004aafa52f848efcf30
refs/heads/master
2020-04-20T08:21:56.389194
2019-06-02T02:18:36
2019-06-02T02:18:36
168,736,816
0
0
null
2019-02-01T17:43:34
2019-02-01T17:43:34
null
UTF-8
Python
false
false
13,178
py
#!/usr/bin/env python3 # coding: utf-8 # import os import os.path as osp import datetime import shlex import subprocess import pickle import pydicom import cv2 from skimage import io from google_drive_downloader import GoogleDriveDownloader as gdd import pytz import torch import yaml import warnings warnings....
[ "s.martinez1@uniandes.edu.co" ]
s.martinez1@uniandes.edu.co
565e730b5c9627c722788a4d7845bd826c4e8e03
449f7f45be6e44a98d6a4eed319da2cf94cc2076
/test001/hello.py
83c22c958f6dd01a22226794c8d4472ad7a672d1
[]
no_license
cis024c/flaskdev
a673412b6ab90a63edbc58cd238a66563e586363
36ecbce665aed9ded0cb9a450e4a6cb1ead51517
refs/heads/master
2020-03-11T16:07:52.107735
2018-04-18T18:43:19
2018-04-18T18:43:19
130,106,887
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" @app.route("/saymyname") def helloname(): return "Hello Bob!" if __name__ == "__main__": app.run()
[ "Sanjay_Dorairaj@cable.comcast.com" ]
Sanjay_Dorairaj@cable.comcast.com
0ca81aac25082737c0a5c15d50d0084496ebc998
e69faa154bd6e4fecacde8ef4365956678924a92
/stk-screen/bin/wheel
94bb4e1318eb3b6b195e0db27b324f648411c5a6
[]
no_license
aman-saha/stk-app
239e7258dbe03d939b56cc2e240bc5b0f179a57a
83bbad871c600c383c1618ed13c6e4f49a32f607
refs/heads/master
2022-04-02T08:11:37.944564
2020-02-13T03:20:16
2020-02-13T03:20:16
229,473,875
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/Users/amsaha/workspaces/git_proj/stk-app/stk-screen/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "aman97ram@gmail.com" ]
aman97ram@gmail.com
d58cb7de2dbd4f821d0407b7ef618003f1f9fc9b
cb4db25a0b13f058f1a31b38d80d76a118d1e2dc
/venv/lib/python3.6/site-packages/google/api/usage_pb2.py
efe4f7945d109abc9613cb147c11bb4917bdf030
[ "MIT" ]
permissive
Hackaton-Dragons/Never-Boils
73df2b65f54a77d961ce53dea350b7d2a4261154
2d43e6e07fb18409d5a964f44f481d28d2352531
refs/heads/master
2020-03-09T20:27:54.554616
2018-10-08T05:52:33
2018-10-08T05:52:33
128,985,616
1
0
MIT
2018-04-15T13:32:45
2018-04-10T19:35:32
Python
UTF-8
Python
false
true
4,244
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/usage.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection ...
[ "contact@noahh.io" ]
contact@noahh.io
dda6c51639fa901688e4f15aa25e7831613e5c0d
dbff0356a195cfa12d0b4d67203b23c2c7008fc9
/forth_project/forth_project/settings.py
1628a35c6597875410abb9095b0daf740f46a41e
[]
no_license
seanjoc/django-deployment-example
8d020b335d05ed9c5e56b9238272e1aba14c6fa6
f5c7ca01341063992e05bafd9d0f00f205afd195
refs/heads/master
2020-07-18T07:41:57.752907
2019-09-15T15:07:05
2019-09-15T15:07:05
206,208,342
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
""" Django settings for forth_project project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "seanjoc16@gmail.com" ]
seanjoc16@gmail.com
df11eb12d02f73346e7096e6039400e85381a2bb
ab5ef28065b0ad3f8d86fc894be569074a4569ea
/mirari/CRYE/migrations/0028_auto_20190406_1344.py
99b9026478cf2c6aaf96926be89b77b7d4bbecdd
[ "MIT" ]
permissive
gcastellan0s/mirariapp
1b30dce3ac2ee56945951f340691d39494b55e95
24a9db06d10f96c894d817ef7ccfeec2a25788b7
refs/heads/master
2023-01-22T22:21:30.558809
2020-09-25T22:37:24
2020-09-25T22:37:24
148,203,907
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# Generated by Django 2.0.5 on 2019-04-06 19:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('CRYE', '0027_auto_20190406_1331'), ] operations = [ migrations.AlterField( model_name='walletcredit', name='walletcr...
[ "g@gustavo-castellanos.com" ]
g@gustavo-castellanos.com
871aee1b131de9d12ca56ce93d8fe0751144a789
520365eb45cc298d0a20b44749482c3fe553d034
/workflows/assembly.py
85796450ea84cf5214f0f286f38c0f1488a2c505
[ "Artistic-2.0" ]
permissive
marbl/MetaCompass
91e8a7f8028b1a719abf595c4389473a6bd0f5d8
2cdeb979ccb5264f0dbac868b4c884687424e3f5
refs/heads/master
2021-07-25T23:45:16.293277
2021-01-31T23:58:48
2021-01-31T23:58:48
31,922,199
35
10
null
null
null
null
UTF-8
Python
false
false
20,564
py
#!/usr/bin/env python3 import os,sys,string,subprocess,signal,shutil #psutil import argparse mcdir = sys.path[0] parser = argparse.ArgumentParser(description='snakemake and metacompass params') group1 = parser.add_argument_group('required') #group1.add_argument("-s",'--snakefile', help='metacompass rules file',defau...
[ "vcepeda@umiacs.umd.edu" ]
vcepeda@umiacs.umd.edu
74be90181e7bca2498ff46ae8c4d3ef026368489
43cdba0d7b6530e0cc3d091affe9d084fe6d86bb
/testing.py
34fe5466b03ec6f69638432197234c1a0a073d4b
[]
no_license
timfelle/OptimisationToolbox
532e00aaa08f64a05f08c9c2bcaca1ed41bd2b83
8853fd0c2cdc1fcc22368fe2ca90bd62a0c809bb
refs/heads/master
2020-04-30T15:25:33.068812
2019-04-16T09:01:10
2019-04-16T09:01:10
176,919,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,702
py
import optimisation import numpy as np sep = '========================================================================' # Define the matrices used in all H = np.matrix([[ 2, 1 ],[1,2]]) g = np.matrix( [-2, -3 ] ).T Eq_A = np.matrix([[ 1, 2]]).T Eq_b = np.matrix([[ 2 ]]).T In_A = np.matrix([[1,-2],[-1,-2], [-1,2], ...
[ "timfelle@hotmail.com" ]
timfelle@hotmail.com
94617181fda33d026f84aa814c8003baa76f717b
8f91a726c40b6c270c5d34077f45dc4ecfbc1aeb
/Envs/venv/bin/python-config
2083d5caca77c3ffd15707ab75d30e52fa007076
[ "MIT" ]
permissive
vaibhav-rbs/git-towards-greatness
08698e3397813e464380f22203250697927e7af6
164214f6482bd016029f2830b56859266311bf5b
refs/heads/master
2021-01-12T14:10:39.227194
2016-10-26T22:14:35
2016-10-26T22:14:35
69,923,871
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
#!/Users/vaibhavchauhan/Documents/python-course.eu/Envs/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('a...
[ "vaibhav@ixsystems.com" ]
vaibhav@ixsystems.com
ecf53647cf9605c57afd26c095cf92ba9f56c670
a6ad23d52020affcfc592865bd5ac8900529ea03
/Exercises/exercise_05.py
1ef15aad726c7e79bec33bb8bcf42051e4187f27
[]
no_license
sanchit411/test_cs696
71c093cd92f8f8c87071d88048b184b4f9931b5d
c689a009d87348434fdce77dc8549f1769ced90e
refs/heads/master
2021-05-10T07:55:16.346400
2018-05-03T20:33:26
2018-05-03T20:33:26
118,864,211
1
0
null
null
null
null
UTF-8
Python
false
false
4,365
py
""" Exercise 5 Word association with Nodes When you type text into your phone, you may notice that a next word is automatically suggested to you before you have even started typing a next word. In this simplified example, we will create a node for each word in a string; the "next" property for each Node wil...
[ "sanchit@localhost.localdomain" ]
sanchit@localhost.localdomain
824bf7aab2b27b626049a70f8b430cc71c11a4c1
0991f11a710c19e61a41a9893613f4d0a1394640
/T3/database/Inserção/Scripts Python/gera_ocorrencias.py
e3128b8be9b8a9314476fa4d4e17519cb35e1c30
[]
no_license
gsalibi/databases-course
a58045619815bfb730aa18cc8da553874a77f7eb
bb89acc8c8b0d88b6a2319d2cc0c7a60632a382f
refs/heads/master
2020-11-27T23:49:33.213511
2019-12-23T01:00:59
2019-12-23T01:00:59
229,652,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
from random import randint, choice out_file = open("insere_ocorrencias.sql", "w", encoding="utf8") out_file.write("use GetLove;\n") ID_USUARIO_MAX = 499 ID_EMPRESA_MAX = 49 ID_MODERADOR_MAX = 9 N = 200 tipos = ["getlove", "empresa", "usuario"] for i in range(N): tipo = choice(tipos) id_pessoa = randint(0,ID_USUARI...
[ "gustavohstorti@gmail.com" ]
gustavohstorti@gmail.com
41dd34f0704e005795cdce0a8ac0c187fc698b90
cd41d350c5e604d37e62265be6fc5116450719b5
/euler_10.py
a902ca4198af89037314c1c055da3e53ba64768b
[]
no_license
avichai/euler_project
9c306094f11b296f9ead7b2c18df7fb10e10b0db
13dcc0db8f18084afad476beec8bda808b7578eb
refs/heads/master
2021-09-08T07:16:45.344618
2018-03-08T09:43:53
2018-03-08T09:43:53
115,800,582
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
# Summation of primes # The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. # # Find the sum of all the primes below two million. # Avichai Ben David import math import eulerlib NUMBER = 2000000 def is_prime(n): for i in range(2, int(math.sqrt(n) + 1)): if n % i == 0 and n != i: return ...
[ "avbendav@microsoft.com" ]
avbendav@microsoft.com
6c54a871cb05593fcccc602e98fba4042fe01291
8473f9f8b9de41af9ee17ac769e85cbd7b4013c2
/feature-extractor/color.py
e515cf0ffdfe7f834d938f5d22cefab49b6326c8
[ "MIT" ]
permissive
rzumer/CICAV
9529623c9d57c093dc451cdd70aafef5ebe6fdb8
c1b84c1e14d5c84e841a2bc61089b70d0a2863bf
refs/heads/master
2020-04-08T20:50:42.471523
2019-06-03T12:20:35
2019-06-03T12:20:35
159,717,666
0
0
null
null
null
null
UTF-8
Python
false
false
4,846
py
# coding=utf-8 ''' Created on Jun 19, 2017 @author: Raphaël Zumer ''' import os import cv2 import numpy as np import peakutils from skimage.feature.texture import local_binary_pattern from scipy.stats import itemfreq from sklearn.preprocessing import normalize import heapq import random def getHisto...
[ "rzumer@tebako.net" ]
rzumer@tebako.net
3f5a302519a5d865bc2825e6bb893d2d6014fef7
be06759270d816171bc576f973fb536e216aef9a
/BioInformatics/GibbsSampler.py
c78f901db91be68e7262f5ad6351d734c92ce716
[]
no_license
espaciomore/my-code-kata
6d6fbeda8ea75813e1c57d45ae1382207e2197fa
6c8e1987648350c880e8ab8a038c69608c680cab
refs/heads/master
2020-12-10T00:31:45.023012
2020-10-12T19:35:07
2020-10-12T19:35:07
18,149,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
from Helpers import * import random random.seed(0) def RandomNumber(probabilities): sum_ = sum(probabilities) numbers = [] normalizer = 1000 for i in range(0, len(probabilities)): weight = int(round(normalizer * probabilities[i]/float(sum_))) numbers += [i] * (weight if weight > 0 else 1) num...
[ "manuel.cerda@introhive.com" ]
manuel.cerda@introhive.com
246d0c5aefaef370f3e696a2d3d9ccaac0b641dc
5c3f49520cdc2c90b22583c4f9bdc230c2553370
/05_Diccionarios/06_DiccionariosPython.py
6ae4535acd97093af7524397aa2ee1a3d8c94675
[]
no_license
fredy-glz/Ejercicios-de-Programacion-con-Python---Aprende-con-Alf
0553def06d6f95031edb7d1fe36f56b0bcd00437
f18b34ef3780dd803d2cfb2046997604c22b8e3e
refs/heads/main
2023-01-14T16:52:30.289609
2020-11-27T06:08:15
2020-11-27T06:08:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
# JOSE ALFREDO ROMERO GONZALEZ # 23/11/2020 d_p = {} while True: llave = input("Que dato quieres guardar? (enter para terminar): ") if llave == "": break d_p[llave] = input(str(llave) + ": ") print(d_p) # SOLUCION DE https://aprendeconalf.es/ person = {} more = 'Si' while more=='Si': key ...
[ "noreply@github.com" ]
fredy-glz.noreply@github.com
d0e3d3aa95dcd753c2756ffd0166b533298215ed
97621883ac33bccb655a12295a1b28f091b5a8fe
/venv/bin/easy_install
313fccefa07aa6bc9bd503ecfad2393bc28ea396
[ "MIT" ]
permissive
olamijinadebayo/blog
1616f06180782575a658f625b0725dc98c2c74d0
b3ae83055d62ea4b09ae621566e3d0cb862da73c
refs/heads/master
2020-03-11T21:12:57.960586
2018-04-25T08:19:24
2018-04-25T08:19:24
130,258,990
0
0
null
null
null
null
UTF-8
Python
false
false
288
#!/home/ola/Documents/moringa-school-projects/microblog/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "consultolamijin@gmail.com" ]
consultolamijin@gmail.com
1299cea4d3943a561d6398304b9ae9e60db0a7a6
9eadbd115634a6f447af4657440fffafbf5648b1
/com/python/learn/crawlertest/dpjsongeneration.py
36c04b988f9c0fe7220fef24cd208011a8f1943a
[]
no_license
awsbigdata/learnpython
910657fe7d178c209992df682bf2a985689f7edb
7d4d4782b07653b47190935eaa269ed6b2ba1cb2
refs/heads/master
2021-10-13T14:52:17.585320
2021-10-12T08:23:18
2021-10-12T08:23:18
161,269,747
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
import boto3 import json datapipeline_client = boto3.client('datapipeline',region_name='us-east-1') pipelineId='df-07575631T1Z9SV9TEGOA' output_file="/tmp/"+pipelineId+".json" output = open(output_file, "w") json_dict=datapipeline_client.get_pipeline_definition(pipelineId=pipelineId) json.dump(json_dict, output) p...
[ "srramas@amazon.com" ]
srramas@amazon.com
38d10d76d3a920996f12ea2a2bb210288491fa42
06ff1c8056cf5408e6acd5396d4c2ea4fb50cd92
/04Prototype/Students/2019/JarzembinskiBartlomiej/prototype/computer_manager.py
b37ed3e44f66fb52314021e0af51f7c14cc7c2d7
[]
no_license
kasa4565/DesignPatterns
b654dc8072940634ffcae52d297dc7da5d93c0b2
56dfac636b49266aa86f5b61cce0f9fb76a2b859
refs/heads/master
2020-08-23T08:10:09.661667
2019-08-15T07:54:30
2019-08-15T07:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from computer_prototype import ComputerPrototype class ComputerManager: def __init__(self): self._registry = {} def get_computer(self, name): return self._registry[name] def set_computer(self, name, computer): self._registry.update({name: computer})
[ "bjarzembinski@yahoo.pl" ]
bjarzembinski@yahoo.pl
2b3eae0338ae6d36f2b0c1814e6da04e9f902df0
ec288bf2f3c9d70cfe9f7e9cb307f151b64addec
/src/F121UdpData/packets/packetData/PacketCarTelemetryData.py
e946014231137d425c6ff174061fdb89533d621d
[ "MIT" ]
permissive
MaximDecherf/F1-21_udp_data
3764a7aab07810dad213ceee67d8d91a534d43a0
e15761d26c9ce9b2b47b04e683f08553ed4568dd
refs/heads/main
2023-07-01T12:52:20.873324
2021-08-08T15:43:14
2021-08-08T15:43:14
390,027,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
import struct from .classes.CarTelemetryData import CarTelemetryData class PacketCarTelemetryData: BYTES_SPLITS = {'car_telemetry_data' : [False, 60, CarTelemetryData ,1320], 'mfd_panel_index' : [True, int, 1321], 'mfd_panel_index_secondary_player' : [True, int, 1322], 'suggested_gear' : [True, int, 1323]} N...
[ "52461982+MaximDecherf@users.noreply.github.com" ]
52461982+MaximDecherf@users.noreply.github.com
4f46ea8ebc196efd8adfb4e87ab6901f2405e443
a961aa2542979965bc4a8511e544218b26b34aad
/deleteByTag.py
b0400c2b1224e300be12decac1079b6bffbe11ee
[]
no_license
alexluckerman/pocket-deleteByTag
39c5c2c4cc38ee55600844e5ab19571c0e8b49f6
6f80243d561585fb77f74db8a82b1e8508b43d05
refs/heads/master
2020-03-07T19:26:42.256699
2018-04-01T20:56:39
2018-04-01T20:56:39
127,670,605
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
# Alex Luckerman, 4/1/18 # Deletes Pocket articles by a specific tag from pocket import Pocket import webbrowser # Consumer key for the desktop application consumer_key= #Check to see if authorization has already been completed token_file = open("access_token.txt", 'a') token_file.close() token_file = open("access_t...
[ "noreply@github.com" ]
alexluckerman.noreply@github.com
c2a51fb029d7cb3847d729fe9af9d409c0094084
1c1741c479a915d37cd8710b633eb860fb4f6498
/test/post_deploy_test/features/steps/steps.py
24c5d81d2c5759655233a3cbf123348697b3e91e
[]
no_license
EmmanuelOgiji/CircleCI_FlaskApp
f3f5dc06979ad3fcd32fdd7140b1bb2b36bc76de
bd297dafc64f8985c452191601e01549db7cffc2
refs/heads/master
2023-05-05T16:50:28.447816
2021-05-27T17:29:07
2021-05-27T17:29:07
370,653,642
0
0
null
2021-05-25T13:44:25
2021-05-25T10:30:12
Python
UTF-8
Python
false
false
1,640
py
""" Requires chromedriver, this should also be approved """ from assertpy import assert_that from behave import * from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as ec from selenium.webdriver.support.wait import WebDriverWait @given...
[ "epiusogiji@yahoo.com" ]
epiusogiji@yahoo.com
26a7ff500f1586c705fe6a6fcaa0c1c82506c37b
f095d8c53e96d6b1f15350c4d4c2c84dac680cab
/area_100x100_grid/100x100_grid 100_nodes/random_point100.py
afb1d4f8dfebfe95cb218e8244c42f93ec747d86
[]
no_license
rubiruchi/wsn_protocol-BEE-MAC
593e3862681d10c76f28909a1843ab1174ebf684
e9f9f58e5a0ea264cb9674ea43e548f76a2bd521
refs/heads/master
2020-06-04T13:58:19.113633
2018-12-28T16:50:05
2018-12-28T16:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
import random factor=4 X=[] Y=[] number_of_points = 100 for i in range(number_of_points): X.append(-50*factor+100*factor*random.random()) Y.append(-50*factor+100*factor*random.random()) file_name='random_points100.txt' with open(file_name,'w') as f: for i in X: f.write(str(i)+' ') f.write('\n') for i in Y: f...
[ "mr.rajatgupta12345@gmail.com" ]
mr.rajatgupta12345@gmail.com
147e003c21d2a29fc5897549545ed467dfb5bd90
43d278d96578ec1bc59954b8d4ddbe82dde39a35
/scripts/ex5p.py
70e34a3440dd793ff5f79c3b02946bb81a7d3d46
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
Teradata/r-python-sto-orangebook-scripts
7a9c02baf78e1c49f9414601bae46d8cd8e378d9
1f54d4ac61df3485f0ddb8a13422ca8dda4d3372
refs/heads/master
2023-08-22T04:54:23.057004
2023-08-09T18:35:25
2023-08-09T18:35:25
233,639,793
3
5
null
null
null
null
UTF-8
Python
false
false
3,964
py
################################################################################ # The contents of this file are Teradata Public Content # and have been released to the Public Domain. # Licensed under BSD; see "license.txt" file for more information. # Copyright (c) 2023 by Teradata ####################################...
[ "alexander.kolovos@teradata.com" ]
alexander.kolovos@teradata.com
06eea92ff092eef3df728b082305ff0eb792b444
1871ab24904127053c9d6c5ffd9b776a61b7495b
/Day004/day4.4_rock_paper_scissors.py
5deeca44e47bc8a79a125cc3b0b59f57782915aa
[]
no_license
izark99/100DaysPython
d857adb08e0186802c766fe6a8bddceb56feed09
cf0b885c2d03e0dbf80a1c825d325e025fe30fe4
refs/heads/master
2023-03-04T02:41:02.119120
2021-02-16T06:02:05
2021-02-16T06:02:05
336,467,714
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
import random rock = ''' _______ ---' ____) (_____) (_____) (____) ---.__(___) ''' paper = ''' _______ ---' ____)____ ______) _______) _______) ---.__________) ''' scissors = ''' _______ ---' ____)____ ______) __________) (____) ...
[ "izarknguyen@gmail.com" ]
izarknguyen@gmail.com
78f993272d394858581bb3c7ad0eba0f8d460217
c7a34a925df7e95ea296a37c40a93a3984810501
/manage/admin.py
7031490a56cd7ac9a39434147f3e96e1b34b4ab9
[]
no_license
croolicjah/next-to-202-project
28d77e30b1310be7ce32ec8d914bc93f9dc1bc07
f0f5ddba5f84f2f7f3ed913e060cacf610eac864
refs/heads/master
2022-12-13T21:55:21.805640
2018-11-19T21:34:51
2018-11-19T21:34:51
153,174,330
1
0
null
2022-12-08T02:59:33
2018-10-15T20:04:22
CSS
UTF-8
Python
false
false
568
py
from django.contrib import admin # Register your models here. from .models import ArtList from publishing.admin import ArticleAdmin from publishing.models import Category, Article @admin.register(ArtList) class ArtListAdmin(admin.ModelAdmin): def formfield_for_foreignkey(self, db_field, request, **kwargs): ...
[ "j.krawczewski@gmail.com" ]
j.krawczewski@gmail.com
236f2f6a95d6fae44b77149fadda0d33ae893743
fd981b47482467291576ae4650d2925d6fa00564
/robot_ws/build/hector_slam/hector_imu_attitude_to_tf/catkin_generated/pkg.develspace.context.pc.py
76e540da7a8c070743b0ac0c7f119166f43c6959
[]
no_license
Forrest-Z/rtcrobot
7337271e726db794ce08953f333ad9a0f8e70027
229ce1d7e77af9348eac870e00a2c4049e4562f1
refs/heads/master
2022-12-16T00:14:17.525845
2020-05-18T09:28:09
2020-05-18T09:28:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "hector_imu_attitude_to_tf" PROJECT_SP...
[ "mtk@mtk" ]
mtk@mtk
283e67dbe46fa60a76f7eeb5e28f4464351f743c
23d2a7cbb710ef6a9458f3aa6818d25afdd1e4a2
/1-Python/PreClass/9-OOP/1-CLASS/4-uygulama-instance.py
5de3119403d717110c4edd7d5f8d097a3bf4bb5c
[]
no_license
m-aykurt/ITF-008-CLARUSWAY
ee8febad952e60ffd1f27211dac9c736766f5110
58d863b205d5b445e472ea3d8611f1f1fc1812ee
refs/heads/main
2023-07-08T21:01:58.542414
2021-08-05T05:30:08
2021-08-05T05:30:08
366,754,134
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
# -*- coding: utf-8 -*- class BankAccount: def __init__(self,name,balance = 0.0): self.owner = name self.balance = balance def get_balance(self): return self.balance def deposit(self,amount): self.balance += amount return self.balance def withdraw(...
[ "maykurt92@gmail.com" ]
maykurt92@gmail.com
c37f7438c8b40540589d7cc283ef83d37f1d00e4
91718445561138814ea70c2ffc5f98b8b826a822
/Trackpad/TestLogTool/trunk/lib/testlogformat.py
34bc7708cb69beb72e8857bea8b0e2f1206efb18
[]
no_license
fanmuzhi/Cypress
5e332236308f1e430f88f0f3f08b1e2252fb9d70
1cca98bafb8607b87b62cc3e97447be4290d8575
refs/heads/master
2021-05-29T07:52:05.337265
2015-04-17T00:58:24
2015-04-17T00:58:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
import re class TestLogFormat: def change_D_to_data(self, file_path): log_file=open(file_path, "r+") #open file for read and write log_string=log_file.read() regex_m=re.compile(r"<D\d+>") log_string=regex_m.sub('<data>', log_string) regex_n=re.compile(r"</D\d+>") log_string=regex_n.sub('</data>', log_s...
[ "pzho@cypress.com" ]
pzho@cypress.com
c4398a387f767786e13fa0ebf8d104429c864d08
3e1aa41a30ce18816789f8d1c5cc57dfc16bab87
/book_qt_designer_app8.py
b657d34200663e35cb16362b51f4f2d25425e699
[]
no_license
iianarmas/pyqt6
241d10f99debff155f028e3ff5da3cf4073f0159
55d91ab3cfd159188186bcc22ffa7a7bd7bf2f18
refs/heads/main
2023-08-14T21:11:23.311000
2021-10-09T11:33:32
2021-10-09T11:33:32
412,493,075
0
0
null
null
null
null
UTF-8
Python
false
false
2,085
py
# ========== MAIN.PY ========== # from PyQt6.QtCore import QSize, Qt from PyQt6.QtSql import QSqlDatabase, QSqlTableModel, QSqlQueryModel, QSqlQuery from PyQt6.QtWidgets import ( QApplication, QMainWindow, QLineEdit, QTableView, QVBoxLayout, QWidget, QLabel, QPushButton, QListView, ) db = ...
[ "noreply@github.com" ]
iianarmas.noreply@github.com
613efd4b6814f097159ee130eeefac65fad03562
5fc0dfa0703a830b58a29ad9526a43f812886988
/wingman.py
dc4f16cd80e7c6d3564f31efe79f930d68e8775a
[]
no_license
liangz678/arduplane_formation_flying
ca652e097167349253705fc734329ebd8f32bf98
11b09a2b046c36a56c58aca014321581abf22aef
refs/heads/master
2022-12-10T11:51:21.930795
2020-09-05T16:16:02
2020-09-05T16:16:02
292,177,558
0
0
null
null
null
null
UTF-8
Python
false
false
2,511
py
from dronekit import Vehicle, Command, VehicleMode from pymavlink import mavutil class Wingman(Vehicle): def __init__(self, *args): super(Wingman, self).__init__(*args) self.max_speed = 35 self.min_speed = 12 self.aspd2thr = [ {"thr": 10, "aspd": 10}, {"thr"...
[ "liangz1991@126.com" ]
liangz1991@126.com
58e80310c3825cd59f6868df5b281737506dd1ef
d5a4f34b6f82a167c973df44093ad5ced0d30ccd
/venv/Scripts/django-admin.py
d443d34793b15686d21799524a9faae1076a6a97
[]
no_license
jayawd02/Lecture
914c8b9a0e5e001ea3c4b596310ef7dfad359498
5fc36b199ea3dc23979142794e3390a129626405
refs/heads/master
2022-11-26T07:29:44.556994
2020-08-10T12:43:25
2020-08-10T12:43:25
286,471,964
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
#!C:\Users\senan\PycharmProjects\Lecture\venv\Scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.p...
[ "jayawd02@myunitec.ac.nz" ]
jayawd02@myunitec.ac.nz
dc06bceff161ff58ede64f0c6360bacc5fdbeee6
6d7678e3d79c97ddea2e2d65f2c2ef03b17f88f6
/venv/lib/python3.6/site-packages/pysnmp/proto/api/__init__.py
d742ecc76dec1386047d3cae28b450a5edff0f52
[ "MIT" ]
permissive
PitCoder/NetworkMonitor
b47d481323f26f89be120c27f614f2a17dc9c483
36420ae48d2b04d2cc3f13d60d82f179ae7454f3
refs/heads/master
2020-04-25T11:48:08.718862
2019-03-19T06:19:40
2019-03-19T06:19:40
172,757,390
2
0
MIT
2019-03-15T06:07:27
2019-02-26T17:26:06
Python
UTF-8
Python
false
false
368
py
# # This file is part of pysnmp software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pysnmp/license.html # from pysnmp.proto.api import v1, v2c, verdec # Protocol versions protoVersion1 = 0 protoVersion2c = 1 protoModules = {protoVersion1: v1, protoVersion2c: v2c} dec...
[ "overlord.lae@gmail.com" ]
overlord.lae@gmail.com
8df4144788164a6ec89107cc0ade23a41752bfe4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_scheduled.py
8a085638d8ee5bfb1423f7fbfc4217347f5939be
[ "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
252
py
from xai.brain.wordbase.verbs._schedule import _SCHEDULE #calss header class _SCHEDULED(_SCHEDULE, ): def __init__(self,): _SCHEDULE.__init__(self) self.name = "SCHEDULED" self.specie = 'verbs' self.basic = "schedule" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1317977d88f7dfc8ca7eec39a944aa1dc13d38fd
a279aa7058dd2f8b9a2f7c2600ae803740007374
/backtracking.py
9e95b89aff71e8345f3963771c2e2420ccf80f88
[]
no_license
priteshmehta/leetcode
ca0e45c16ccf6c081944724e142f1028a4d878b4
c7bc1ca02541a5715eacb023bc87a29981aee9b2
refs/heads/master
2022-07-28T12:59:36.167283
2022-07-14T16:55:05
2022-07-14T16:55:05
247,047,357
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
def permute(list, s): if list == 1: return s else: return [(y,x) for y in permute(1, s) for x in permute(list - 1, s) ] #print(permute(1, ["a","b","c"])) #print(permute(2, ["a","b","c"])) def my_permute(list, s): if list == 1: return ...
[ "mehta.pritesh@gmail.com" ]
mehta.pritesh@gmail.com
23d4b4f8263f3dab3233d3361d31bb2e52192e50
1d67e0a295b3ee9d56a84ced5fb5727852533c80
/Flask/demo/__init__.py
67bf8ab227d21a4d800a8433638bd49032628381
[]
no_license
ab1c740/testgit
4e9a2da80155d62f0c09eac1bd59464c5b611076
09bc9222c6dc4f45f1d1d6f22c8816c38d501874
refs/heads/master
2020-03-30T00:41:29.917247
2018-09-28T03:39:03
2018-09-28T03:39:03
150,537,972
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
__author__ = 'dev11' from flask import Flask app=Flask(__name__)
[ "1724940634@qq.com" ]
1724940634@qq.com
46c5e2b2ed08ba91155f44d266097399816d6ca5
dcce56815dca2b18039e392053376636505ce672
/dumpscripts/atexit_simple.py
cadf7e713067bfdb1023e1a1054adc7c45bab915
[]
no_license
robertopauletto/PyMOTW-it_3.0
28ff05d8aeccd61ade7d4107a971d9d2576fb579
c725df4a2aa2e799a969e90c64898f08b7eaad7d
refs/heads/master
2021-01-20T18:51:30.512327
2020-01-09T19:30:14
2020-01-09T19:30:14
63,536,756
4
1
null
null
null
null
UTF-8
Python
false
false
150
py
# atexit_simple.py import atexit def all_done(): print('all_done()') print('In registrazione') atexit.register(all_done) print('Registrato')
[ "roberto.pauletto@gmail.com" ]
roberto.pauletto@gmail.com
e94f6a0ef46d77df9c8d3ece79519b0d26d16bf7
028d788c0fa48a8cb0cc6990a471e8cd46f6ec50
/Python-OOP/Exam-Preparation/16-Aug-2020/project/software/light_software.py
6182deaf8edbfaa898d0623ff12527b07c73dd0b
[]
no_license
Sheko1/SoftUni
d6b8e79ae545116f4c0e5705ad842f12d77a9c9d
a9fbeec13a30231b6a97c2b22bb35257ac1481c0
refs/heads/main
2023-07-13T15:39:48.826925
2021-08-21T12:51:02
2021-08-21T12:51:02
317,266,200
2
3
null
null
null
null
UTF-8
Python
false
false
454
py
from .software import Software class LightSoftware(Software): CAPACITY_INCREASE = 0.5 MEMORY_DECREASE = 0.5 def __init__(self, name: str, capacity_consumption: int, memory_consumption: int): super().__init__(name, type="Light", capacity_consumption=int( capacity_consumption + (capacit...
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
20f345afae40b45b87b25fa17e45b95c149d222b
1718e5e3ffb1385860aeb48126caf9fece608ccf
/labs/12/objdetect.py
9f9034992a79ffb4ff46cf1cd8328dd80a2c7dda
[]
no_license
kristen-foong/spja
267df57847e01a49354a2f932158ff5a2765857b
082fde2e163c0bb26ce4815d0815e4a0af4a5b83
refs/heads/master
2023-01-06T16:41:54.564429
2019-12-11T10:45:31
2019-12-11T10:45:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
import cv2 import numpy as np import pyyolo darknet_path = 'pyyolo/darknet' datacfg = 'cfg/coco.data' cfgfile = 'cfg/yolov3-tiny.cfg' weightfile = '../yolov3-tiny.weights' thresh = 0.4 hier_thresh = 0.4 delay = 10 frame = 0 cam = cv2.VideoCapture(-1) # cam = cv2.VideoCapture("http://192.168.1.23:4747/video") outputs...
[ "jakub.beranek@vsb.cz" ]
jakub.beranek@vsb.cz
2f9e354a1784f5eaf979f8599925fe45d9fbdaa5
72a91a27a88cc6e41ab3afe89736261bd8ba87c6
/code/testevo.py
a2558dab66054601941becec223d4b2daa7596df
[]
no_license
youcefhd/magisterka
8d1f2c252f7634963db5c144f940e38d55ad7670
13e2c21e989ffed1ba3901affad957d2a6d1bede
refs/heads/master
2020-06-04T21:48:33.150546
2011-05-18T21:09:32
2011-05-18T21:09:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
#! /usr/bin/env python2 # coding: utf-8 from pyfis.struct import * from pyfis.anfis import * from pyfis.evofis import * from numpy import * # FIS with generalized bell membership functions fis = Fis(defuzzmethod="sum") for j in range(2): inp = Input() for i in range(4): inp.mem_func.append(BellMemFun...
[ "swian@post.pl" ]
swian@post.pl
92305e9ebbee824bea7741033cf2a6b1cda3f9e9
9d65e8c566992b53ed164d70f6e07a2618725871
/cmsapp/migrations/0040_auto_20190201_1030.py
cccc2ce84dfa36d1e9ab3fe81e791ccc59c8607c
[]
no_license
akdeveloper0791/green_content
0141b0784a4a58a84429cac5d326f65edbf11921
c04c8d863b90cd2ff4d2e26b4e814f4352251191
refs/heads/master
2022-05-18T09:37:51.475697
2020-10-26T05:27:10
2020-10-26T05:27:10
164,104,618
0
0
null
2022-04-22T21:05:12
2019-01-04T12:25:38
JavaScript
UTF-8
Python
false
false
1,297
py
# Generated by Django 2.0.9 on 2019-02-01 05:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cmsapp', '0039_auto_20190105_1121'), ] operations = [ migrations.AddField( model_name='multiple_campaign_upload', na...
[ "vineethkumar0791@gmail.com" ]
vineethkumar0791@gmail.com
973a8a1b14c329a5c94da274049a59f8ec211b7e
6c4096a4cedbf5c496494e16a521d1d325e7726b
/hw_set2.py
70590f56dad314b671c25c1c11c4b8daed0aaa7f
[]
no_license
bradlyke/astr5490
124b12ac1e6c4924855afd77a3e5adb4c3ae882b
252cf3f82b3d0fce8c55d5c1cc5e6ad9de85ffac
refs/heads/master
2021-06-03T23:48:23.253311
2020-11-28T20:35:28
2020-11-28T20:35:28
147,553,074
0
0
null
null
null
null
UTF-8
Python
false
false
28,270
py
""" By: Brad Lyke All of the code for homework set 2. This requires python 3 and latex (for plots). This also requires that sciCon be in the same folder (or in your PYTHONPATH). It is included in the utilities repository (or submitted along with this program). Parameters ---------- None : :class:'float' The program w...
[ "bradlyke@gmail.com" ]
bradlyke@gmail.com
d7ba142cccb319cecf2c13e412c4320f6675ace1
a60bf4ec6da1dc6226634a74532b3c0967cab4ae
/core/create_db.py
fd9a581376a0d2f3eeb31922896dc6f84341ccf2
[]
no_license
codecyou/finance
0f12b4476d3438ca1890ceee4770a42030eb2014
5103527fa98776878145bf09e70db454a6c764db
refs/heads/main
2023-06-26T13:03:15.492252
2021-07-15T01:14:41
2021-07-15T01:14:41
339,940,830
3
0
null
null
null
null
UTF-8
Python
false
false
9,768
py
# 用于创建数据库 及表结构 及视图 import sqlite3 import os try: from conf import settings except Exception: print("from conf import settings 失败!") # 创建支出表 payments_table = '''CREATE TABLE if not exists payments( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, note_date TEXT NOT NULL, ti...
[ "noreply@github.com" ]
codecyou.noreply@github.com
aac4db2e2f613a796ff33628461587fd26159cfb
db4d56e63c63cd577c3871349ffa2a7c39c80edc
/3.WEB/cxr_project/cxr_project/wsgi.py
b576c8906ada1a87940826b1a379206b6c76b16d
[]
no_license
Lagom92/CXR_AI
33014b7471775e776ed51bfeb88128fd7ca4ce6f
bb4bbaf3fc984938f153bf6b58ed99324f779070
refs/heads/master
2023-06-09T11:20:57.613207
2021-06-20T11:34:21
2021-06-20T11:34:21
293,966,064
0
0
null
2021-06-18T00:09:48
2020-09-09T01:08:43
Jupyter Notebook
UTF-8
Python
false
false
399
py
""" WSGI config for cxr_project 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "jyyt0147@gmail.com" ]
jyyt0147@gmail.com
a2f6d57ad69321fff1bb9c7d283efe37623dfdd0
b0bfbe345426ed89a6c1d576bd6a8533a523ed66
/email_list.py
b71358113fd6ba1201b6cd51f7dec93bf1c08ca3
[ "MIT" ]
permissive
danielhcai/facebook-group-scanner
63266cba717593459abfcb9cdd28f004fb0dd947
453b90a33a247b27963fc74d5b120ab221330736
refs/heads/master
2023-06-05T07:42:39.335288
2021-06-11T19:31:27
2021-06-11T19:31:27
325,150,144
1
0
null
null
null
null
UTF-8
Python
false
false
351
py
import os email_path = "./emails/" if __name__ == "__main__": email_set = set() for filename in os.listdir(email_path): file = open(email_path + filename, "r") for email in file: email_set.add(email) file.close() file = open(email_path + "final_list.txt", "w") for email in email_set: fil...
[ "danielhcai@gmail.com" ]
danielhcai@gmail.com
9b026ba7f48d69b82da9bdfd8f2359d663bc872c
ef92d05ec7e9be461a80b8ea5e6fc3b7c15a2634
/RainbowFileReaders/SOBModelReader.py
657f781b7f1567696c9a1e72345bf57645a69eb4
[ "MIT" ]
permissive
boristsr/RainbowSixFileConverters
dc6fa409f4ca98df50f9db53002b0eddb0111011
1f755f781ee85af068ba7bcc73d4960998363794
refs/heads/master
2022-12-05T14:22:38.024932
2021-06-14T03:30:14
2021-06-14T03:30:14
277,547,547
3
0
MIT
2022-11-22T07:57:23
2020-07-06T13:20:43
Python
UTF-8
Python
false
false
3,293
py
"""Provides classes that will read and parse SOB model files.""" from typing import List from FileUtilities.BinaryConversionUtilities import BinaryFileDataStructure, FileFormatReader, SizedCString, BinaryFileReader from RainbowFileReaders import R6Settings from RainbowFileReaders.RSEMaterialDefinition import RSEMater...
[ "philip@gdcorner.com" ]
philip@gdcorner.com
0df44d191cee41e9c549ca85a17895bbc695134f
7abf6549410dd9aa0fc07097e768e3c68e963e30
/sudoku_solver.py
68167d775712c353c32c8b48cfda437d08290a4e
[]
no_license
Reyansh14/Sudoku-Solver
1be598639d907fe3c6e9a8f512d8204349eb4bdc
45ffdccac651d8ffc4f166cc813ca5f20369ec36
refs/heads/main
2023-03-20T23:08:46.465885
2021-03-13T06:33:36
2021-03-13T06:33:36
328,460,875
0
0
null
null
null
null
UTF-8
Python
false
false
3,779
py
# * This is a Sudoku Solver implemented with a backtracking algorithm. Rather than using brute force, the backtracking algorithm takes a step back # * each time it runs into an incorrect solution and tries another value. # Algorithm: # 1: Find an empty space, denoted by 0 # 2: Try entering digits 1-9. If it wor...
[ "noreply@github.com" ]
Reyansh14.noreply@github.com
674034c2952b3b96cb70d437374061aae365c2bc
995616eeafc92fb80c651c2265cd6bb65126d343
/HEURISTICS/Created_Linked_list.py
04223c8db9b572ebd50fe63bc648d7a5058c4886
[]
no_license
MaestroPravaler/Algoritmos
3eab67b0eefb6e47f93992c8ebbab689c2596f54
60286ada71ede497ab253652dd13ac8099f61924
refs/heads/master
2023-02-23T22:06:10.549598
2021-01-29T00:13:05
2021-01-29T00:13:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
# =============================== DESAFIO ================================================ # Neste desafio você deverá criar uma estrutura de lista linkada com as seguintes funções. # Utilize a classe já declarada ao lado para resolver este desafio. # # insert_node_to_tail(node) => Insere um novo elemento após o últ...
[ "robson_maestro@alumni.usp.br" ]
robson_maestro@alumni.usp.br
9ff464e41f5ae195d170b9eb2eb24289ba97d2f2
cff529b50ab0eddc0df5a5f929170ebb823b6a87
/BinaryTree/bst_min.py
921a7cf2550b86b18ef4ffec44c23f4b5bedcc4c
[]
no_license
kprashant94/Codes
4a4ee26a5f127db94f3473459e3843c9245b2846
ba239475a2d77ca8247e5c9685714372b5311a6c
refs/heads/master
2021-01-11T07:27:23.480847
2017-08-14T11:02:02
2017-08-14T11:02:02
69,662,103
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
######################################################################## # Title: Binary Search Tree # Algrithm: Minimum # Project: codewarm.in # # Description: # 1. Start with root. # 2. Follow the left child untill the leaf node is reached. # 3. return the key stored at that leaf node which is the # minimum eleme...
[ "pkgjnv@gmail.com" ]
pkgjnv@gmail.com
06e44c3cb8063b94be445a2a1321f3db2f6243a2
e5606704ee22c5ac79064472557640824e983101
/manage.py
13fe56687a6da9fbdc62731fd558e8718b3ce9e6
[]
no_license
anandzzz1973/notes_portal
6ad86789e7124ce56d0fe488814bd5c37efa63b8
05d7266b7cbad731cc9b3bee91c670b4a9753543
refs/heads/master
2022-04-23T20:07:54.283871
2020-04-20T09:24:53
2020-04-20T09:24:53
257,230,784
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'notesportal.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "anandzzz1973@gmail.com" ]
anandzzz1973@gmail.com
fb7eb4c9d6fd755f2f34eed4a16bf49710fd62da
4f0b6bcde72cbc7d90ec666657c8bab0c051ad9b
/tests/postprocessing_test.py
155ac5e0d042185ce6f36eb5a74afd05fa2c639b
[]
no_license
arkhn/jpyltime
acc4d10b64a70eb26282f53fdb4f913fb1e5731e
2fcf017bceeb9a0c17ceb31d16443f17eb374188
refs/heads/main
2023-04-02T06:41:52.237342
2021-04-12T12:25:26
2021-04-12T12:25:26
350,370,341
1
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
import json import pandas as pd import pytest from jpyltime.postprocessing_fhir2ds import FHIR2DS_Postprocessing from jpyltime.utils import Attribute @pytest.fixture def map_attributes(): attribute_file = "jpyltime/documents/attributes_mapping.json" with open(attribute_file, "r") as f: map_attribute...
[ "naudin.louise@gmail.com" ]
naudin.louise@gmail.com
6052439ac95c34f6733052b9f660bf3ee5677c7d
c2d267ef8f2f9552499e120fc691936c708c3610
/main.py
a13d3f1749da1f5d684b84fef699c109b7b4f7ec
[]
no_license
mattcoldwater/dreamer
b367969f1d95776989ff1fa0797ecc18f1115e6d
f5873442b30f4bf5c2225e0e53660067d40ad50b
refs/heads/main
2023-05-01T13:35:24.695539
2021-05-19T17:53:28
2021-05-19T17:53:28
368,954,320
0
0
null
null
null
null
UTF-8
Python
false
false
8,586
py
import datetime import os import argparse import torch from rlpyt.runners.minibatch_rl import MinibatchRlEval, MinibatchRl # Runner - Connects the sampler, agent, and algorithm; manages the training loop and logging of diagnostics from rlpyt.samplers.serial.sampler import SerialSampler from rlpyt.samplers.parallel.gpu...
[ "mattcoldwater@gmail.com" ]
mattcoldwater@gmail.com
4137f2cdd8e343b7025f755ff5cdeef1f2386bd5
0294c53a4322440110b2ca34752988949b91f2f6
/code/Experiments-CelebA/label_ablation/main_label_ablation.py
c4474fcd978f91ab4086d1ff1da81ed9475fbb72
[]
no_license
lokhande-vishnu/FairALM
31ee3cbf3505d2b3d15e03d7cd7437685b2cc524
4f188a3fe0839693e3b7380b82d9dda155d9057e
refs/heads/master
2020-09-28T10:20:40.931178
2020-09-25T04:15:02
2020-09-25T04:15:02
226,757,715
2
1
null
null
null
null
UTF-8
Python
false
false
7,631
py
import os import time import numpy as np import pandas as pd import math import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.data import Dataset from torch.utils.data import DataLoader from torchvision import datasets from torchvision import transforms import matplotlib.pyplot as pl...
[ "lokhande@cs.wisc.edu" ]
lokhande@cs.wisc.edu
8016bbcceb350db726511f5b1f6141a2dbd37250
2d8fad815205a008114d9e9848da8eaf477c4d16
/server/server.py
4eb245cf94767dbdbb8829c3b32aae4212cd8a37
[ "MIT" ]
permissive
thesecretlab/burgerthing
558ec884cc1cce91cf1b4dcb81ff51b6cad139d6
d368ec45ff1109eb1265f583dc8a64e0ceb47d64
refs/heads/master
2021-04-12T04:38:07.970485
2014-10-16T22:19:56
2014-10-16T22:19:56
25,182,408
0
1
null
null
null
null
UTF-8
Python
false
false
3,211
py
import os from flask import Flask, render_template, session, redirect, url_for, request from flask.ext.script import Manager, Shell from flask.ext.bootstrap import Bootstrap from flask.ext.moment import Moment from flask.ext.wtf import Form from wtforms import StringField, SubmitField from wtforms.validators import Req...
[ "jon@secretlab.com.au" ]
jon@secretlab.com.au
f937222fd7771c8323cceb1c43e840a9ebbda87b
86b0256a5da9859d91a9bc96ac3bd0c6143e866a
/Clustering and Dimension Reduction/D.py
16d1d20d2b8cb2681a31f06c4adce5f1e09ff987
[]
no_license
abhishekkgp/Machine-learning
69698eb683e7fc713d20f7f267e52793916736e5
63b813ebcff73360d130ec461276c8a5c2ab0fbb
refs/heads/master
2021-12-30T21:15:49.834130
2021-10-08T06:24:52
2021-10-08T06:24:52
254,072,383
0
0
null
null
null
null
UTF-8
Python
false
false
7,969
py
#!/usr/bin/env python # coding: utf-8 # In[1]: # imports import numpy as np import matplotlib.pyplot as plt from heapq import heappush, heappop import pandas as pd from pprint import pprint import math import time import sys import random import copy data1=pd.read_csv('AllBooks_baseline_DTM_Labelled.csv') #importi...
[ "noreply@github.com" ]
abhishekkgp.noreply@github.com
cbf6623877f12fe14c7d0749337d94361c3e3834
03a3cf7c9495612d233eaa362e3c355fb3de445f
/ir.py
f9d4a2d8a30ffe8aefb3f6ec92e5d7232ce789bb
[]
no_license
ijahongirmirzo/raspberry_car
b268169190c138753e6318cd1199bde6e90285a9
b8c155fcc9f4b4666d2c6528a8ad9064c94b39a1
refs/heads/master
2023-05-08T22:43:34.801285
2021-05-30T09:15:24
2021-05-30T09:15:24
349,775,833
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
import time from car_details import get_obstacle while True: get_obstacle() time.sleep(0.5) print('---------')
[ "ijahongirmirzo@gmail.com" ]
ijahongirmirzo@gmail.com
4f0a6cf506689d8331fef6df1a76b147b1ff06ad
82b495a208ebdeb71314961021fbfe767de57820
/chapter-13/sample02.py
5d7d05833306dc085a1573bee83e46cd05ba6b89
[ "MIT" ]
permissive
krastin/pp-cs3.0
7c860794332e598aa74278972d5daa16853094f6
502be9aac2d84215db176864e443c219e5e26591
refs/heads/master
2020-05-28T02:23:58.131428
2019-11-13T13:06:08
2019-11-13T13:06:08
188,853,205
0
0
MIT
2019-11-13T13:06:09
2019-05-27T13:56:41
Python
UTF-8
Python
false
false
1,410
py
import time from sample01 import linear_search_while from sample01 import linear_search_for from sample01 import linear_search_sentinel from typing import Callable, Any def time_it(search: Callable[[list, Any], Any], L: list, v: Any) -> float: """Time how long it takes to run function search to find value v i...
[ "krastin@hashicorp.com" ]
krastin@hashicorp.com
944a8ae56aaf3a8a42991d685ebf10a9b08a1acc
b0a1b7eb6e755fc2f57ea881ab9e662b67e186be
/BS Spider/tutorial/spiders/quotes_spider.py
2c85814a6f2bcbf0250ac14456c5b6afe6fd9e65
[]
no_license
swgleave/BS-Robot
3cbc2b56aeecabb7a5bcb9be909b4f8f5cd1dce3
d3c390e53f550f02cbcb57f092e5b5c4f10e3c1d
refs/heads/master
2020-03-27T09:53:27.215065
2019-03-12T16:41:25
2019-03-12T16:41:25
146,380,633
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
import scrapy class QuotesSpider(scrapy.Spider): name = "quotes" start_urls = [ 'http://quotes.toscrape.com/page/1/', 'http://quotes.toscrape.com/page/2/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'text': quote.cs...
[ "scottgleave@scotts-mbp.lan" ]
scottgleave@scotts-mbp.lan
be7eb1e17935db081cc7d27e08ce40acff95b537
37c360b5446af7d37a1cfdc3fc784faefd2712a1
/listchallenge.py
ede0a79592cef6b2e667f4b97fc54c99a9b33ca9
[]
no_license
slatecas/girlswhocode
1ebe906f17e41f6c700e13b0343916aeaadcefb4
890086d04122379c37492006e98d62bb35eea8bd
refs/heads/master
2020-06-20T05:24:31.301862
2019-08-22T15:52:03
2019-08-22T15:52:03
197,008,873
0
1
null
null
null
null
UTF-8
Python
false
false
506
py
#imports the ability to get a random number (we will learn more about this later!) from random import * #Create the list of words you want to choose from. firstnames = ["Sally", "Nick", "Kirsten", "Lily", "Miguel", "Juliet", "Kim", "Brad"] lastnames = ["Smith", "Rock", "Gomez", "Walker", "Deer", "Romeo", "Bello", ...
[ "slatecas@gmail.com" ]
slatecas@gmail.com
5e50c90e36940a756c0066a4f1a0415e5c585153
bc2a96e8b529b0c750f6bc1d0424300af9743904
/acapy_client/models/v20_pres_ex_record_list.py
637f5f3594379b6fb12a0376417eca62ccdfbc8b
[ "Apache-2.0" ]
permissive
TimoGlastra/acapy-client
d091fd67c97a57f2b3462353459780281de51281
d92ef607ba2ff1152ec15429f2edb20976991424
refs/heads/main
2023-06-29T22:45:07.541728
2021-08-03T15:54:48
2021-08-03T15:54:48
396,015,854
1
0
Apache-2.0
2021-08-14T13:22:28
2021-08-14T13:22:27
null
UTF-8
Python
false
false
1,983
py
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.v20_pres_ex_record import V20PresExRecord from ..types import UNSET, Unset T = TypeVar("T", bound="V20PresExRecordList") @attr.s(auto_attribs=True) class V20PresExRecordList: """ """ results: Union[Unset, List[V20PresExReco...
[ "dbluhm@pm.me" ]
dbluhm@pm.me
21c172b953044d5360e00ceb641b12757fdb8c14
8974cb98b1525f425a095f386f9ed4f43ab166af
/linearregression.py
68cf47b4e0fc9a088978795a552276a6ccbe6b3b
[]
no_license
yogeshnimangre007/python-for-web-access
52dd6c1bb14feb06aad200ab4eab56d07c2f9bf2
7935eee9062f799dea833d3a94cb44d525e8729f
refs/heads/master
2020-08-08T00:25:48.196516
2019-10-11T08:21:21
2019-10-11T08:21:21
213,640,600
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
''' #creating linear regression using skikit learn from sklearn.linear_model import LinearRegression lm=LinearRegression() X = df[['highway-mpg']] Y = df['price'] lm.fit(X, Y) Yhat=lm.predict(X) ''' ''' #creating a regression plot it gives the line made import eaborn as sns sns.regplot(x='highway-mpg',y='price',...
[ "yogeshnimangre@YOGESHs-MacBook-Pro.local" ]
yogeshnimangre@YOGESHs-MacBook-Pro.local
a9a58fa611d25c519139aa2728e61ea88edcabea
99c64332ccadbbf62c55920964af41b7ae337194
/Python-sys/working_with_files.py
68f14af7ea0ea694a29536835ee7620c119d0cba
[]
no_license
ChastityAM/Python
871c979a29f77d68f17ac6f9bed25485e445679c
ab1c0793c36d7bb07926985d167a6b99fa2acea9
refs/heads/main
2023-04-12T19:37:02.591871
2021-05-06T15:03:16
2021-05-06T15:03:16
341,973,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
#This opens a file and then closes file #with open('genericTxtfile.txt', 'r') as f: # print(f.read()) #print(f.read(2)) reads 2 characters in file #print(f.readlines()) reads all lines #print(f.readline().strip()) reads first line removing whitespaces #print(f.readline().strip('\n')) reads second li...
[ "chastity.mascarenas.e@gmail.com" ]
chastity.mascarenas.e@gmail.com
abe426da3a658e528aaf319d1ee2ba20c3ff66c5
fcbd0d7ef2222b08263ba70f2158edad30cc351b
/user/models.py
a9ba8d2b9e2ff9b5ddb2134e4f59f539ffbb0e91
[]
no_license
zlcbs/DjangoEmailVerify
3b0f0c679425bcbcaba018ff05d4162a02d2924c
80d164ac7457238a3b9dba47911bb7ed94a819fa
refs/heads/master
2020-06-22T10:42:11.807381
2019-07-19T04:26:49
2019-07-19T04:26:49
197,700,857
2
1
null
null
null
null
UTF-8
Python
false
false
1,687
py
from django.conf import settings from django.db import models # django密码转换 from django.contrib.auth.hashers import make_password from itsdangerous import TimedJSONWebSignatureSerializer as Serializer, SignatureExpired from itsdangerous import BadSignature, SignatureExpired # Create your models here. class Users(mode...
[ "zlcbs@outlook.com" ]
zlcbs@outlook.com
e758aae3a0cdf6b7aa2f94ab6feb482aa02fcc0d
9288d0af61fb8fdaef6834472cd0085a6e5db61a
/demos/staticmethodsDemo.py
2b5cb6d014496e660580ed6c0d467d921188f5d2
[]
no_license
Xerrex/OOP_python
3ed17dc695a809a2c3e091df8a11b154f51e5a88
1610ec74eac5dac4f07e4a85a3ea2acde9ff5d36
refs/heads/master
2021-09-02T05:17:30.128711
2017-12-30T18:17:30
2017-12-30T18:17:30
115,800,925
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
#! /usr/bin/python from juice.Employee import Employee import datetime myday = datetime.date(2017,12,31) print(myday) print(Employee.is_workingday(myday))
[ "alexkagai@outlook.com" ]
alexkagai@outlook.com
f2515b3ea9d81b413d7f16c3fd76965b099723a9
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Fisher/trend_Lag1Trend/cycle_5/ar_12/test_artificial_1024_Fisher_Lag1Trend_5_12_0.py
cdbf8396fc2e08ebfbdd54ac8c3f8c8a7b230896
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
262
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 5, transform = "Fisher", sigma = 0.0, exog_count = 0, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
f4d2d7900928d741f21df8df26d01ac16b7b4688
03eabd423e813efe497ee7c02889b1a14c12e5a1
/aoc2020/day18/__init__.py
3b9ea28467a9a1c460e451f35716c52f9780b979
[]
no_license
sodle/advent-of-code-2020
fd6b68b2fe9a994588840a9afde837249132a91a
26f5704b063272f8a6128b64d7a60172b0bfaa39
refs/heads/main
2023-02-02T22:05:24.959634
2020-12-20T20:09:49
2020-12-20T20:09:49
317,423,823
1
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
def evaluate_expression(expr: str) -> int: while "(" in expr: l_parens = 1 r_parens = 0 open_paren_idx = expr.index("(") idx = open_paren_idx + 1 while l_parens != r_parens: if expr[idx] == "(": l_parens += 1 elif expr[idx] == ")": ...
[ "scott@sjodle.com" ]
scott@sjodle.com