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
17aec2e9e4241eb7c8589ae7042a57c2077d973f
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/xpu/test_reduce_max_op_xpu.py
9256b135ba8d04c2c3984633b176dd0a68c66765
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
2,573
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
8b7cdf915356ccea4db3aa8f64482b9db8fd2025
0b95518353f172a0d3f53c3afb0608ab975974d2
/login/001-kgc/001-kgc.py
cb7dc0a736c884bdb998ef386df548563724bc16
[]
no_license
uba888/uba_python
54b19e6483f5daacec6d2e0e5a4d9cf02ca2d7b5
1b63378ab86cda8221c6f7f9bad68c364874ccb6
refs/heads/master
2020-01-23T22:00:05.122331
2016-12-30T10:31:15
2016-12-30T10:31:15
74,717,680
0
1
null
null
null
null
UTF-8
Python
false
false
2,812
py
#!/usr/bin/python3 import requests import hashlib from scrapy import Selector import http.cookiejar as cookielib # 构造 Request headers headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36'} session=requests.session() session.cookies =...
[ "lsqtyihui@163.com" ]
lsqtyihui@163.com
e2496dd0a9cbad7734aac03566419693e16c3549
e848d70881a776c0ced41dcaa5b4bd306546467c
/HackerEarth/basic_neaural_net_hackerearth_challenge.py
103eafb8a65d03c782d8ee88c9d6b74b71ec33e2
[]
no_license
yashchauhan28/deep-learning
10796a415a812b486e6a37ea6684178cbd652438
30049a8a93a1aca3f79d65ad863f7686a21d4302
refs/heads/master
2020-03-19T10:17:07.645808
2018-07-11T19:15:37
2018-07-11T19:15:37
136,358,083
0
0
null
null
null
null
UTF-8
Python
false
false
4,244
py
# coding: utf-8 import os import cv2 import pickle import numpy as np import pandas as pd from tqdm import tqdm from keras.utils import to_categorical from keras.models import Sequential from keras.layers import Activation,Dropout,Flatten,Dense,Convolution2D,MaxPooling2D,ZeroPadding2D from keras.preprocessing.image imp...
[ "yashchauhan281@gmail.com" ]
yashchauhan281@gmail.com
47b06042aeb032ae4e939d3b48da59ba5b47905c
ce083128fa87ca86c65059893aa8882d088461f5
/python/flask-webservices-labs/flask-spyne-fc20-labs/examples-fc20-labs/.venv/bin/pserve
aa6ac24579b1b2bb05f169edd556d6441a8b4c09
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
325
#!/root/NetBeansProjects/fedora/python/flask-webservices-labs/flask-spyne-fc20-labs/examples-fc20-labs/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from pyramid.scripts.pserve import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(mai...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
0716ae0a297c478efb4cabc07dd95d1ade9b0765
0c85cba348e9abace4f16dfb70531c70175dac68
/cloudroast/networking/networks/api/security_groups/test_security_groups_quotas.py
711c5f5a1d12b995b33e7c5f496a7e31ad6fa4c0
[ "Apache-2.0" ]
permissive
RULCSoft/cloudroast
31157e228d1fa265f981ec82150255d4b7876af2
30f0e64672676c3f90b4a582fe90fac6621475b3
refs/heads/master
2020-04-04T12:20:59.388355
2018-11-02T21:32:27
2018-11-02T21:32:27
155,923,262
1
0
null
null
null
null
UTF-8
Python
false
false
7,301
py
""" Copyright 2015 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
[ "leonardo.maycotte@rackspace.com" ]
leonardo.maycotte@rackspace.com
0fdeff39871fc700ab63276af189ae59086ca209
9025fc04844a202f00e691728c87eb10906e87c3
/Python/3/hue.py
47ddef65c29489500d3964a4d7a381559351461c
[]
no_license
felipemarinho97/online-judge-exercices
e046e3fd951f4943c43e199f557d96f82d8ed286
28cff9b31431e1c1edeeba0b66689e871491ac0a
refs/heads/master
2021-01-20T00:33:09.782364
2017-04-23T15:19:04
2017-04-23T15:19:04
89,148,286
0
0
null
2017-04-23T15:21:01
2017-04-23T14:34:29
Python
UTF-8
Python
false
false
580
py
# coding: utf-8 # Melhor Ataque # Felipe Marinho (C) | 116110223 | <felipe.marinho@ccc.ufcg.edu.br> times = int(raw_input()) lista_times = [] lista_gols = [] total_gols = 0 maior = -1 for i in range(times) : time = raw_input() lista_times.append(time) gols = int(raw_input()) lista_gols.append(gols) total_gols += ...
[ "felipevm97@gmail.com" ]
felipevm97@gmail.com
a01b737b6a71793fa94eecea6a2b5828c94e7181
015b726c7c6bec1869fcfdfe3a1d3f46726ec7aa
/generate.py
64f483fa32cf2de9ebf1e1eb8a0a07873471f260
[]
no_license
scdade/homeserver
c886eb218fc90d86a47629f6ca9127b4b28eae2e
66a879bf99b99b3dfee175baf807efa638747cd7
refs/heads/main
2023-05-26T12:56:07.070056
2021-06-06T19:05:52
2021-06-06T19:05:52
373,921,238
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
import binascii; hInnerscript = open("innerscript.py",'r'); data = hInnerscript.read(); base64=binascii.b2a_base64(data.encode('ascii')); base64=base64.decode('ascii'); base64=base64.replace("\n",""); base64=base64.replace("\r",""); module = open("17778.in.hsl",'r'); moduledata = module.read(); moduledata.encode('a...
[ "Daniel.Schmidt@jenoptik.com" ]
Daniel.Schmidt@jenoptik.com
7c24816e0cc78d7f5a050e986f67e531eab4ee7b
0f522fc0b72a4af3f58516a244e88dac8d3bb891
/app/src/libraries/flows/__init__.py
337fb0dec4d4cb8a2c312639f9970ac38dfe1405
[ "MIT" ]
permissive
roguextech/ConDiNozzle
cb7434281934f5c550e50e39ea05efccf305e4c0
c80b084570676882f4f98bb1aaed62b022dd7116
refs/heads/main
2023-08-10T19:12:06.471160
2021-09-10T20:33:12
2021-09-10T20:33:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
# Flows definition package from .flow_funcs import * from .flow_state import *
[ "raihaan.usman@gmail.com" ]
raihaan.usman@gmail.com
583f13f6a538f4ff366e33c72dbb8ea4dcdce36b
ef0bcdea7c0b60748b665a2b3873011b60193b25
/Accuracystatistics/src2mlf.py
77128e6f7c539a7d3a47e1ad2413bfcf35ac511f
[]
no_license
jackyzcq/pythontools
aa27007f9b8e7f6e773d3929b21585897e273615
a2a9e9143fc8bba597c361e782f211c9b3701426
refs/heads/master
2021-04-03T21:58:35.022308
2020-12-08T04:22:41
2020-12-08T04:22:41
248,400,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
#-*- coding:utf-8 -*- import os,sys def to_mlf(xi): dx={ b"0":"零", b"1":"一", b"2":"二", b"3":"三", b"4":"四", b"5":"五", b"6":"六", b"7":"七", b"8":"八", b"9":"九" } d=[] eng=[] tx=[",",".","!","(",")",",","。","!",';','、',':','?','“','”'...
[ "zhangchunqing@youxuepai.com" ]
zhangchunqing@youxuepai.com
6d89e6abceea5512cfe77fb05c1b73cc7bba2fb5
fb3f592360a422a7d5de23552daef8ae84274c4c
/setup.py
097d58d9d4838e49a168d61839c81bc98804ca80
[ "Apache-2.0" ]
permissive
HUMANAMUH/task-executor-py
6e555ff9cdb91eb2d17eebb1ccc02f574b685357
04bb2852b8068e5b26f1df967684e2eab207a9e9
refs/heads/master
2021-01-12T18:25:15.894394
2017-06-27T02:55:42
2017-06-27T02:55:42
71,372,362
2
0
null
null
null
null
UTF-8
Python
false
false
528
py
from distutils.core import setup setup( name="humanamuh-task-executor", version="0.10", packages = ["task"], py_modules="task", author = "Earthson Lu", author_email = "Earthson.Lu@gmail.com", description = "task-executor for task-manager", license = "Ap...
[ "Earthson.Lu@gmail.com" ]
Earthson.Lu@gmail.com
ccfd104c316ff6d373be371b1562c7625f50c37c
41f09c4f9990f8d2ce57aef92be1580f8a541656
/show_lbiflist.py
69778715a9ac37d8e3b06516f36e4ea83cfb6002
[]
no_license
jebpublic/pybvccmds
d3111efe6f449c3565d3d7f1c358bdd36bc1a01a
997eead4faebf3705a83ce63b82d853730b23fbf
refs/heads/master
2016-09-05T18:56:52.509806
2015-02-25T17:41:47
2015-02-25T17:41:47
31,315,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
#!/usr/bin/python import sys import json import pybvc from pybvc.netconfdev.vrouter.vrouter5600 import VRouter5600 from pybvc.common.status import STATUS from pybvc.controller.controller import Controller from pybvc.common.utils import load_dict_from_file if __name__ == "__main__": f = "cfg.yml" d = {} ...
[ "jeb@elbrys.com" ]
jeb@elbrys.com
2ee4f46a9c859debc928757ef69372dd72d0487c
0cb413889b5aa3889a6c36fe8601c2c16477a1c6
/Class/elements/__init__.py
b57d9828f3cf83caffc43260040b9ae7e6735f98
[]
no_license
pierrickdelrieu/RunAndGun
bd77c30d0bf3a9f6ec2b1666e47f62c873521b9f
7017103bab1c63f895c46fc29098f6c218933849
refs/heads/master
2022-12-29T20:11:17.325163
2020-10-21T07:13:56
2020-10-21T07:13:56
246,426,390
1
0
null
null
null
null
UTF-8
Python
false
false
96
py
from .caisse import Caisse from .sol import Sol from .terre import Terre from .vide import Vide
[ "romain.ordi@gmail.com" ]
romain.ordi@gmail.com
0d68ac6e207b37d788e51c89ec289b18727b302d
c22c83592571b64c3da4a3f3c4d1bbaaee50a318
/encryption.py
ea49016c24dde788787f3a42249522bd0f17076a
[]
no_license
tt-n-walters/thebridge-week1
eaef2887122dd4f778ab94ab3c819f1e63a1985f
8598125af12b21794e93f09407984009c36aaf25
refs/heads/master
2023-06-16T14:31:45.955254
2021-07-09T12:14:40
2021-07-09T12:14:40
382,301,941
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
import hashlib password = "password1" encoded_password = password.encode() encrypted = hashlib.sha256(encoded_password).hexdigest() # https://resources.nicowalters.repl.co/hash
[ "nico.walters@techtalents.es" ]
nico.walters@techtalents.es
8c9bfaad4987ae8169db8f362734d87365391cd9
df96ada5da88e4da63b2d8a2e7f45d1df7e04000
/sp_api/api/notifications/models/destination_resource.py
11faa729929f8dfa6c28c92cf68a3d8a833acfc5
[ "MIT" ]
permissive
lionsdigitalsolutions/python-amazon-sp-api
d8d2330e770d2c88fa37eb8f7eca32ed51b096c4
7374523ebc65e2e01e37d03fc4009a44fabf2c3b
refs/heads/master
2023-03-01T13:12:57.839135
2021-02-02T16:49:23
2021-02-02T16:49:23
334,256,038
0
0
MIT
2021-02-02T16:49:24
2021-01-29T20:29:42
null
UTF-8
Python
false
false
4,082
py
# coding: utf-8 """ Selling Partner API for Notifications The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subsc...
[ "info@meine-buybox.de" ]
info@meine-buybox.de
6bdee705a979426573bc0d836de6cc21f8c69502
a14dd601cde67f67d0ba38dfd1362f7c0109cef1
/graphs/past/perfect-friends.py
84d3237c7bc95823da7474a6ccbd297330ad8192
[]
no_license
Meaha7/dsa
d5ea1615f05dae32671af1f1c112f0c759056473
fa80219ff8a6f4429fcf104310f4169d007af712
refs/heads/main
2023-09-03T18:52:41.950294
2021-11-05T09:14:42
2021-11-05T09:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
from collections import defaultdict from graphs.util import build def dfs(graph, src, vis): vis.add(src) count = 1 for nbr in graph[src]: if nbr not in vis: count += dfs(graph, nbr, vis) return count def main(edges): graph, vis = build(edges), set() csl = [] for src i...
[ "nikhilgoyal104ah4@gmail.com" ]
nikhilgoyal104ah4@gmail.com
cc0dc75ea718364f53131f6b626ef7e2304320de
2b05f2e5d40bd45b6db07ffd87eea55d14088499
/experiments/reset-jobs.py
bcb44cafa670da9fc96dfab63ce4eff67ee30a8a
[]
no_license
cobeylab/pneumo-resistance
87d10ef1dc3215fa8558b4c831fa6ce03b60a7e4
aaff3a0ab1df6baffbd66e38eac7ef72c9367229
refs/heads/master
2021-01-19T20:03:41.762719
2017-06-06T02:40:36
2017-06-06T02:40:36
88,480,925
1
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
#!/usr/bin/env python import os import sys import sqlite3 def main(): os.chdir(os.path.dirname(__file__)) print('This script will remove any output files for jobs marked "running", "canceled",\nor "failed" and set their state to "waiting".') print('Make sure no jobs or workers are running!\nAre you s...
[ "ed@edbaskerville.com" ]
ed@edbaskerville.com
501d66055d8f509333e122e8e779ff86394740dc
7fcb9a135db358f105f211be87e4842221747180
/core/migrations/0001_initial.py
01bdb64a8be01c3a0f0a4a5925ac4047f79a10ae
[]
no_license
MaksTresh/tinder
5abc5d4ecbf718cf40cddb07008e6361eab84e67
89fb71275fce6f8a8cfda80ee0f482d6c869fcce
refs/heads/main
2023-03-29T21:14:28.748453
2021-04-05T22:49:55
2021-04-05T22:49:55
354,192,844
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
# Generated by Django 3.1.7 on 2021-03-26 18:34 from django.conf import settings import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import django_countries.fields class Migration(migrations.Migration): initial = True ...
[ "mmakstresh@gmail.com" ]
mmakstresh@gmail.com
95f07028ed1317b33c687e3f152ed408d54accea
0d2f636592dc12458254d793f342857298c26f12
/11-2(tag).py
1baa801108cd7920160b82b12b955e92548f7030
[]
no_license
chenpc1214/test
c6b545dbe13e672f11c58464405e024394fc755b
8610320686c499be2f5fa36ba9f11935aa6d657b
refs/heads/master
2022-12-13T22:44:41.256315
2020-09-08T16:25:49
2020-09-08T16:25:49
255,796,035
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
def mymax(n1,n2): if n1 > n2: print("較大值是 : ", n1) else: print("較大值是 : ", n2) x1,x2 = eval(input("請輸入2個數值:")) mymax(x1,x2) """自己做的 def mymax(n1,n2): print("最大值為:",max(n1,n2)) a = input("請輸入2個數值:") mymax(a,b)"""
[ "kkbuger1523@gmail.com" ]
kkbuger1523@gmail.com
20b4d77c2d1321b4c041e3d56dfbbf3c7c3c57ec
7037d86874af5cc30a6d04cbc330ecc1df9f09ff
/Stevens Pass Weather.py
efe35d65e305f363fcb745ea82da3382b11b7c42
[]
no_license
hwalters361/Stevens_Pass_Weather_Infographic
921c9ee9ff6db88d501d99cf7566c25623deb41b
aa5f07b730f5adf3c797c1ed62c86c2fb43c9868
refs/heads/master
2020-11-30T06:51:56.003861
2020-01-06T04:17:19
2020-01-06T04:17:19
230,338,195
0
0
null
null
null
null
UTF-8
Python
false
false
8,565
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Dec 27 13:05:54 2019 @author: hwalters """ CHANGE_WALLPAPER = True import requests from bs4 import BeautifulSoup import os import re def get_page_content(url): agent = {"User-Agent":'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/5...
[ "hwalters.alt@gmail.com" ]
hwalters.alt@gmail.com
56c0772044ebaf46e5c5c9a019c3695e3cc61185
ad012754c825cfa2a591507b73fc9f4e7e6ec34c
/module01_introduction/part01_helloworld/phone_book.py
32da7f5e5d9f82940bc22e4420ceee21972cf720
[]
no_license
noh-yujeong/Python_activity_UNIST_MGE
4961267fe8ad7d7eed8ec20e06bea78ae6709937
4dd0cd776c9bab846b96f36fd7f7ffbbee61647e
refs/heads/main
2023-06-26T05:11:54.530640
2021-08-01T08:31:49
2021-08-01T08:31:49
391,353,632
0
0
null
null
null
null
UTF-8
Python
false
false
3,673
py
""" Your objective is to implement a simple Phone Book. Phone numbers are stored in a dictionary, e.g. { "Adam" : "010-0000-1111", "Alice" : "010-0011-2233"} See the code in the main for an example of how the phone book can be used """ def add_contact(phone_book, name, number): """ This function allows to st...
[ "noreply@github.com" ]
noh-yujeong.noreply@github.com
a5a6c17c95ae1931b035e24219e5c6d151e18e6e
249cbea53ddfda9cd66486eb197dec8957ab2358
/python/paddle/fluid/contrib/slim/quantization/imperative/qat.py
c5ee9ea6751003c19ef5b43f1af0f09093bded89
[ "Apache-2.0" ]
permissive
Yelrose/Paddle
107df9433cad73d88227674deda29c6fa2115730
c670503220cf8df898f3195d81debde7dcc22ad1
refs/heads/develop
2023-04-08T19:18:29.498548
2021-03-24T12:11:41
2021-03-24T12:11:41
185,934,762
1
0
Apache-2.0
2021-12-15T06:36:37
2019-05-10T06:52:58
Python
UTF-8
Python
false
false
23,992
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
Yelrose.noreply@github.com
d04192355048644b83481659d3d017166e0b80d5
262985ef23f8be4ccfb6f5078417369e85ca3181
/14. DP 动态规划/213. House Robber II.py
c83436bb0b53c016863f6cf71b952a9430fef486
[]
no_license
MaxShi007/leetcode_solutions
4953508f4c08bc3b604dde0b9dd8ca32d947585d
c868a61f145387dbce18244774a87395744ef5bf
refs/heads/master
2023-07-16T11:14:22.480679
2021-08-05T04:13:27
2021-08-05T04:13:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
class Solution: def rob(self, nums: List[int]) -> int: if not nums: return 0 if len(nums) == 1: return nums[0] if len(nums) == 3 or len(nums) == 2: return max(nums) pprev = nums[0] prev = max(nums[0], nums[1]) for i in range(2, le...
[ "dongxiao.huang17@imperial.ac.uk" ]
dongxiao.huang17@imperial.ac.uk
305a306ddc5c1172b759669ae82019a0089a6754
3ce4c02aad370ef52a0466efd85cea48472c6354
/school/Literation/whileBill.py
3f25af0e17396772256e01952371193167b26230
[]
no_license
renasustek/python-files
110ac169371d3480d07a235908834e14d072f97a
4ed64f194dbd9824742a1e20035a93f9191ab2f9
refs/heads/master
2020-03-11T05:16:24.877808
2018-04-19T20:10:24
2018-04-19T20:10:24
129,797,952
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
bill = 0 newValue = 2 while newValue != 0: newValue = int(input("What is price of the current amount:")) bill = bill + newValue print("Bill:", bill)
[ "noreply@github.com" ]
renasustek.noreply@github.com
919204b02732c69b3cdce838f4f06670d71c72c5
5c5e7b03c3373e6217665842f542ca89491290ff
/2015/day25.py
cb3f0bf727f854fd9f2f893b07c4884439f6ee3e
[]
no_license
incnone/AdventOfCode
9c35214e338e176b6252e52a25a0141a01e290c8
29eac5d42403141fccef3c3ddbb986e01c89a593
refs/heads/master
2022-12-21T21:54:02.058024
2022-12-15T17:33:58
2022-12-15T17:33:58
229,338,789
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from getinput import get_input from util import ncr def get_idx(row, col): if row == col == 1: return 1 return ncr(row+col-1, 2) + col def get_val(row, col): mod = 33554393 rat = 252533 startval = 20151125 return startval*pow(rat, get_idx(row, col)-1, mod) % mod def parse_input(s):...
[ "incohatus.none+git@gmail.com" ]
incohatus.none+git@gmail.com
20877f2d672187ee40ac2b5f963110828cccd69d
b5c0d06ad4256aff912b952995f4d62304074a85
/week-05/day-1/cows_bulls.py
18afb6aa629f07c55761f57f32572da41bc98ec7
[]
no_license
greenfox-velox/annatorok
68ad65c0c87b4c68f66bf4e261b319ae8ca2cc70
44eab2cf2b5355422aa878998dc1fff75484ea3f
refs/heads/master
2020-02-26T16:41:52.065164
2016-07-19T13:32:07
2016-07-19T13:32:07
58,053,206
4
9
null
null
null
null
UTF-8
Python
false
false
1,209
py
# Create a class what is capable of playing exactly one game of Cows and Bulls (CAB). The player have to guess a 4 digit number. For every digit that the player guessed correctly in the correct place, they have a “cow”. For every digit the player guessed correctly in the wrong place is a “bull.” # # The CAB object shou...
[ "mail@annatorok.com" ]
mail@annatorok.com
06cd9a6daa432a95245372b518bcf69f3ce1c6b0
e78094417a90f42f01b6cebd4e55ac3ccd532a6c
/cuckoo/cuckoo.py
0f8113943abb2f0d30eb7fa52eae50f2313aee0e
[]
no_license
kiranmehta1981/study
d1065b853c5dbcc8f39f1cd791bf42fcf71a07b9
dde5770860ff6b28c8507d43d96b43c9f55f6068
refs/heads/master
2021-01-16T00:56:42.094138
2017-09-04T06:06:52
2017-09-04T06:06:52
99,986,273
0
0
null
null
null
null
UTF-8
Python
false
false
3,065
py
import hashlib import sys #Number of elements in hash table if len(sys.argv) != 2 : print "Required format: <python> <program> <size of hash table>" sys.exit(0) if int(sys.argv[1]) <= 0: print "Required format: <python> <program> <size of hash table>" sys.exit(0) N=int(sys.argv[1]) F=[hashlib.md5, h...
[ "kiranmehta1981@gmail.com" ]
kiranmehta1981@gmail.com
95edf831f37b676ba3fb2731a59d15664766b478
3c099a78896ca4b775d28fccf38c2bfdf6a1a555
/zMiscellaneous/WebScraping/ScrapingEcommerce.py
91e6ae08778622a1632ba801532cb50101916bff
[]
no_license
anmolparida/selenium_python
db21215837592dbafca5cced7aecb1421395ed41
78aec8bf34d53b19fb723a124ad13342c6ce641c
refs/heads/master
2022-12-03T23:52:32.848674
2020-08-30T19:26:30
2020-08-30T19:26:30
282,207,788
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
import requests from bs4 import BeautifulSoup # Getting Value from the First Page url = 'https://scrapingclub.com/exercise/list_basic/?page=1' response = requests.get(url) soup = BeautifulSoup(response.text, 'lxml') items = soup.find_all('div', class_='col-lg-4 col-md-6 mb-4') count = 0 for i in items: ...
[ "anmolparida@gmail.com" ]
anmolparida@gmail.com
2ddc029faefc58eb0de8e0ede590a8fb248afe04
345c28544bbb723f8b5b5268a6dea3ced4fd92b3
/Chapter 7 Linked Lists/doubly linked lists/doubly_linked_node_before_after.py
eaaed0233beaf31acdeef095a01265fdb5252041
[]
no_license
devinpowers/algorithms
28dbdb467bd2eb2aaf784135c7e9c01b4e300977
582b97f577e537af0b7f8b9f0eb70422b08c7d52
refs/heads/master
2023-03-04T14:12:56.668572
2021-02-20T16:26:27
2021-02-20T16:26:27
279,886,091
0
0
null
null
null
null
UTF-8
Python
false
false
3,997
py
class Node: def __init__(self, data): self.data = data self.next = None self.prev = None class DoublyLinkedList: def __init__(self): self.head = None def append(self, data): if self.head is None: new_node = Node(data) new_node.prev = N...
[ "powers88@msu.edu" ]
powers88@msu.edu
ac6e75aefd97283c37f2d48e7ab6c62e5864f6e2
f825d4972b46adc82afa863c2b6005c7749e5877
/hangman.py
59c65f431f2f478101dd4adf6fd5da76a10c42de
[ "Giftware" ]
permissive
Ashu0204/Projects-in-Python
dbd565786610c0a4805f41951f52b2e1bed7b831
b7ce4e132532fe6be2d4553dbddceccd5e6f3d1d
refs/heads/master
2022-01-08T00:55:37.941155
2018-11-16T04:29:28
2018-11-16T04:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,543
py
# Hangman game # ----------------------------------- import string import random WORDLIST_FILENAME = "words.txt" def loadWords(): """ Returns a list of valid words. Words are strings of lowercase letters. Depending on the size of the word list, this function may take a while to finish. """ ...
[ "noreply@github.com" ]
Ashu0204.noreply@github.com
5bb05fab43f5353a702c4e9a5694f8f08030eda9
c74f234dc478b49f367106b414df2473ac35b93c
/mysite/polls/urls.py
5c7dd5797f18fd2607e2b916de5c2ac36d13007c
[]
no_license
Richiewong07/Django
05994f552cea2cb612c6c1957a0a9a39605fdf5c
09ac06a60c623d79bb8ecafd014ac7dbc74e8535
refs/heads/master
2021-04-15T14:00:00.394201
2018-03-24T00:34:15
2018-03-24T00:34:15
126,238,394
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
from django.conf.urls import url from . import views urlpatterns = [ # r^$ MEANS DON'T ADD ANYTHING TO OUR URL # views.index IS WHAT YOU WANT TO DISPLAY # 127.0.0.1/polls/ url(r'^$', views.index, name="index"), # SET QUESTION_ID TO A NUMBER # 127.0.0.1/polls/1 url(r'^(?P<question_id>[0-9...
[ "richiewong07@yahoo.com" ]
richiewong07@yahoo.com
d47d43472d31e0e542659aeb3cc520cb97087223
1643a5a0d1acd3bdc851718c223ba0b14bbec1c3
/backend/rn_push_notificatio_27417/settings.py
0f648a30594df5a74b623cf3269344d5cfcda383
[]
no_license
crowdbotics-apps/rn-push-notificatio-27417
90c614ad558b2810e2b2cfe55e2dae7b97f1359e
ea9c37615be4e9e872a63d226562e4ca7bc2b6c5
refs/heads/master
2023-05-23T06:29:28.261563
2021-05-27T12:29:04
2021-05-27T12:29:04
370,993,920
0
1
null
null
null
null
UTF-8
Python
false
false
7,141
py
""" Django settings for rn_push_notificatio_27417 project. Generated by 'django-admin startproject' using Django 2.2.2. 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/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
25d572f97c730e74b41e6c7573f86fc6bdc6bedd
96baf02d944f9506c7da08c85a93ac57b7c0dab7
/myvenv/Scripts/django-admin.py
ee69fa000b6b0fef61d859a2948fc4e6f4821fc2
[]
no_license
karina1980/my-first-blog
9dc84119d07432c261ec5180a1c519b52ec66017
bdd7a19e96dcf9615f4f2e8675c27dc5b9a73499
refs/heads/master
2021-04-28T18:21:03.758632
2018-03-06T20:37:42
2018-03-06T20:37:42
121,870,433
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
#!c:\users\karina funegra\djangogirls\myvenv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "f_jessica@hotmail.com" ]
f_jessica@hotmail.com
fd09ba6957272aa078a7cf5e472d66c8d8b52ac6
35be35d9bdcf499b3f8ea13978cbeeccd748561a
/typeidea/blog/middleware/user_id.py
08722a344aadcc1616ea9a53a3b8098b82a2085d
[]
no_license
mmyming/typeidea
897a4fdf06a36584be10b5ab8c1e09cb1b40ed2d
0a18e8220806b5abbf476df09502e89af90ab16b
refs/heads/master
2020-06-22T17:39:55.763580
2019-07-31T08:56:06
2019-07-31T08:56:06
195,151,867
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
import uuid USER_KEY = 'uid' TEN_YEARS = 60*60*24*365*10 class UserIDMiddleware: def __init__(self,get_response): self.get_response = get_response def __call__(self, request): uid = self.generate_uid(request) request.uid = uid response = self.get_response(request) res...
[ "mmy@outlook.com" ]
mmy@outlook.com
7b76e148b73b644e42f7a1abb259e77dad11fdcc
4f4c2e5a8a71a2058069b90eb75e11b1ec80efa9
/euler/Problem_38-Pandigital_multiples.py
3b25e4c08a2411b5567f23fe50c40e8e254addf0
[]
no_license
mingyyy/dataquest_projects
20e234f1d0d3dd8be1f0202b7ed3bce172474e38
885ffe4338300cb9c295f37f6140c50ff3b72186
refs/heads/master
2022-12-11T17:25:44.053404
2020-01-10T09:24:28
2020-01-10T09:24:28
190,170,724
0
0
null
2022-12-08T05:55:21
2019-06-04T09:29:53
Jupyter Notebook
UTF-8
Python
false
false
525
py
""" Take the number 192 and multiply it by each of 1, 2, and 3: By concatenating each product we get the 1 to 9 pandigital, 192384576. We will call 192384576 the concatenated product of 192 and (1,2,3) The same can be achieved by starting with 9 and multiplying by 1, 2, 3, 4, and 5, giving the pandigital, 918273645, w...
[ "j.yanming@gmail.com" ]
j.yanming@gmail.com
b8fd4f4290f8a0877f2b1b3efb49106e25a3f001
43ab33b2f50e47f5dbe322daa03c86a99e5ee77c
/rcc/models/od_mcomplex_type_definition_method_def.py
07a0da5592495c471d676699b1ab4f6c2e885f62
[]
no_license
Sage-Bionetworks/rcc-client
c770432de2d2950e00f7c7bd2bac22f3a81c2061
57c4a621aecd3a2f3f9faaa94f53b2727992a01a
refs/heads/main
2023-02-23T05:55:39.279352
2021-01-21T02:06:08
2021-01-21T02:06:08
331,486,099
0
0
null
null
null
null
UTF-8
Python
false
false
7,896
py
# coding: utf-8 """ nPhase REST Resource REDCap REST API v.2 # noqa: E501 The version of the OpenAPI document: 2.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from rcc.configuration import Configuration class ODMcomplexTypeDefinitionMethodD...
[ "thomas.yu@sagebase.org" ]
thomas.yu@sagebase.org
2be09fed7e8eec78dc13bb44d5549a0f769cc7a0
c550f8aa4de6f3007515c76b9f825fcc4d89692f
/datasetinsights/data/datasets/kitti.py
1ff9ad6e73abe98d61abbaeb626842ac8f7ac067
[ "Apache-2.0" ]
permissive
BlairLee/dataset-insights
7b1a0f47b9b368efd48b7ace9f887b8a9568bac3
892e2ed3a2facf97cfa3a883700830d959a0c49b
refs/heads/master
2022-12-04T02:13:51.843602
2020-07-31T17:44:35
2020-07-31T17:44:35
284,096,108
1
0
Apache-2.0
2020-07-31T17:44:50
2020-07-31T17:44:50
null
UTF-8
Python
false
false
15,062
py
import logging import os import shutil import tempfile import zipfile import numpy as np from PIL import Image from pyquaternion import Quaternion import datasetinsights.constants as const from datasetinsights.data.bbox import BBox3d from datasetinsights.storage.gcs import GCSClient from .base import Dataset from .n...
[ "youcyuan@unity3d.com" ]
youcyuan@unity3d.com
38645d8f0380f2ed1ceb29feb80d9462dfc29c58
1ee674004d27b16dfc5541759c910039ccba4d8d
/src/models/crnn.py
98552f83625c25e03ef04238b1e59fc0f04c6a00
[ "MIT" ]
permissive
JediKnightChan/Adapting-OCR
f9dae4c2ca251fee8746a4ed88e3be1936eb847b
0604fe573e58f3d2e918461bdccece3af8b28059
refs/heads/master
2023-03-26T17:19:53.677279
2020-08-30T07:36:30
2020-08-30T07:36:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,487
py
import torch import torch.nn as nn import torch.nn.functional as F import pdb import numpy as np import random class BidirectionalLSTM(nn.Module): def __init__(self, nIn, nHidden, nOut): super(BidirectionalLSTM, self).__init__() self.rnn = nn.LSTM(nIn, nHidden, bidirectional=True) self.embe...
[ "aniketsinghresearch@gmail.com" ]
aniketsinghresearch@gmail.com
5a7b8942440b0e09640e88480dacb3620fb95a81
0dc288dfaefb5d85db786269c956b8fb17e71b17
/dungeonescape.py
837ea6b889b487affa649ea4e45ca9f3e6281381
[]
no_license
Mrabear79/DungeonMaster
fce10d093464c8156335049ddebde6be8bf4d1b8
e1e362fccbb02d70058cafb12fe286f0d70ad1c3
refs/heads/master
2021-04-26T16:47:04.303778
2016-04-23T03:10:36
2016-04-23T03:10:36
56,897,775
0
0
null
null
null
null
UTF-8
Python
false
false
6,313
py
from random import randint import time def main(): word = "a" sword = 5 intro() while True: sword, word, finished = TakeTurn(word, sword) if finished: break if sword == 1: word1 = "sword" else: word1 = "swords" print("You have...
[ "mrabear79@gmail.com" ]
mrabear79@gmail.com
4058a4aba52d9076ba294a27d437eb8344f2cdb7
668cc2cd1109cf1c207a57ae7decc5ae5edc9728
/backend/users/migrations/0002_auto_20201104_1426.py
d51fe7ac08131e041c8abbbf9f79c5410e4a4133
[]
no_license
crowdbotics-apps/logictech-22290
7538661024c163c16881371468f84c181d1ee93f
f17151874e1fd60a1cc81b247a5e0599421ac6e8
refs/heads/master
2023-01-09T21:14:45.728461
2020-11-04T14:30:13
2020-11-04T14:30:13
310,025,912
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Generated by Django 2.2.17 on 2020-11-04 14:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
eaf3840aa3f8986f9ac5af4ac914a14e080bd347
cc7ad1a2aa5d691c15ff7838d1e5126ab2c2bee0
/basic_notifications/views.py
b7e1ecc497a68ddf9693738e0e033c9b746371b7
[]
no_license
demirantay/lingooapp
9632be8a7d3dd00e7a4ac13618f32975da389729
c842bb032668ef1bd5e7f4282acd4990843c8640
refs/heads/master
2023-03-14T08:00:37.681334
2021-01-09T09:36:48
2021-01-09T09:36:48
285,181,982
1
0
null
null
null
null
UTF-8
Python
false
false
3,688
py
# Main Imports import json # Django Imports from django.shortcuts import render, get_object_or_404, HttpResponse from django.http import HttpResponseRedirect from django.core.exceptions import ObjectDoesNotExist from django.core.files import File from django.contrib.auth.models import User from django.utils import tim...
[ "demir99antay@gmail.com" ]
demir99antay@gmail.com
7c322b783602c646db72f60dc13730327ca512ba
6766380f77c8bf445c10537f186ad51d701f5b4a
/lib/click/testing.py
fe69318b06208adbe451b18be1cbe96c29cd5640
[]
no_license
pskyp/testflask123
9e7b772cc3573ae079b3199797426880e0fad18f
84814580cfe56bb0a440eaa34e75692b7cf55358
refs/heads/master
2020-03-18T16:38:19.952806
2018-05-26T16:23:43
2018-05-26T16:23:44
134,977,504
0
0
null
null
null
null
UTF-8
Python
false
false
11,001
py
import contextlib import os import shutil import sys import tempfile from ._compat import iteritems, PY2 # If someone wants to vendor click, we want to ensure the # correct package is discovered. Ideally we could use a # relative import here but unfortunately Python does not # support that. clickpkg = sys.modules[__...
[ "pierswilcox@gmail.com" ]
pierswilcox@gmail.com
be246e0178441b890f6a27961eb8468ae6dba614
ce33989c493ab4a5b5600c1d49ef7b20d0b34753
/kompendie/kompendie/kap.5/5.1.py
bb2d28b5b8bf4bc3002e017137d6a30983c073ac
[]
no_license
abboliwit/kompendietoliver
7fe28525d0f9e63914f124b9ca72fe17ce5722a4
0ec4fdecedf3f1ca1dd76cf4b6794ad4635f1d23
refs/heads/master
2020-04-27T01:33:53.893613
2019-05-29T20:40:56
2019-05-29T20:40:56
173,969,327
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
class person:# en klass som sorterar varje kändis utseende def __init__(self,name,gender, hair, eye): self.name = name self.gender = gender self.hair = hair self.eye = eye kön = str(input("Ange Kön:")) hår = str(input("Ange Hårfärg:")) öga = str(input("Ange Ögonfärg:")) ...
[ "noreply@github.com" ]
abboliwit.noreply@github.com
d47b3bb24581ca86d9a76530a019eaca62ae8e66
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L2EE/2EE-2J_MD_NVT_rerun/set_4.py
2b3fa06318de66ab34d51136748b9f7c26eaed64
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L2EE/MD_NVT_rerun/ti_one-step/2EE_2J/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_4.in' temp_pbs = filesdir + 'temp_4.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in l...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
027b302179b291c567d46fe925073133d0674226
bbc005856e600ecc7bd2754374c07aa389717cac
/CNNLSTM/datasets/ucf101.py
1e7f02ec3b6c9fe1d9ea28c228aaf0f096113bb9
[ "MIT" ]
permissive
ppujari/bai_labs
8c6bc59a2a2d8ba998b10599eab41fc1e3ad081e
9f5a393f23894a4a13b5819b69ea7bd686487432
refs/heads/master
2022-11-23T23:20:28.028523
2020-11-28T16:47:20
2020-11-28T16:47:20
216,254,003
0
4
MIT
2022-11-22T01:50:20
2019-10-19T18:41:21
Python
UTF-8
Python
false
false
6,437
py
import torch import torch.utils.data as data from PIL import Image import os import math import functools import json import copy from utils import load_value_file def pil_loader(path): # open path as file to avoid ResourceWarning (https://github.com/python-pillow/Pillow/issues/835) with open(path, 'rb') as ...
[ "avi27.999@gmail.com" ]
avi27.999@gmail.com
4226ca451cc47046f757ad10dee6f3eaf2bad42c
1cab2bce0010b75224eeb43af43bf89bd912dff0
/weather/test_settings.py
d89053e34c0a5edad1d1ea2d912b32118aa8a20d
[]
no_license
mehemmelbachir/videobeat-weather-api
12bb28554f51335ec087a46da0983d8ed1e0eb30
4df7184afbe92e4507816d14296a2b120ba4d9a7
refs/heads/master
2022-12-16T23:17:48.296643
2018-06-19T22:59:23
2018-06-19T22:59:23
137,951,671
1
0
null
2022-01-21T19:18:58
2018-06-19T22:21:07
Python
UTF-8
Python
false
false
221
py
from .settings import * import pytest DATABASES = { "default": { "ENGINE" : "django.db.backends.sqlite3", "NAME": ":memory:" } } # EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
[ "mehemmel-bachir@hotmail.com" ]
mehemmel-bachir@hotmail.com
a6638154b86dc17f87da395097eed3f3c4cc710c
65e7052a6be0f0d8e168053d324bd4985724d571
/test.py
4e82632c1d10e769248d91071e67f954900b2188
[]
no_license
BlockSpaceVictor/SudokuSolverKeras
ab147413b432f8ece214fee33d0d8804e29acdeb
4da2637a5127d049d84521965e5230bb254b18dd
refs/heads/master
2021-05-18T20:56:26.990184
2020-04-20T05:55:10
2020-04-20T05:55:10
251,417,023
0
0
null
null
null
null
UTF-8
Python
false
false
6,359
py
import numpy as np import pandas as pd import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers from tensorflow.keras.optimizers import SGD import random import matplotlib.pyplot as plt # sudokuSmall.csv contains 150 puzzles and solutions # sudoky.csv contains 1 million puzzles and...
[ "noreply@github.com" ]
BlockSpaceVictor.noreply@github.com
cbb7090ed85b78de33bfd86918e4421a89733566
bf1ba47a41dfb410d385b4fa8be924a8fd63a85b
/oddoreven.py
c2800a5774c2e1af5317af706b015bd30bbf9bbd
[]
no_license
balajiyogi/Balaji
0d251636b281ff1b348e0fc21e9469c25b098e73
e52d0e31cb541e55c92c241df20590b7cc2343a3
refs/heads/master
2020-07-17T09:28:20.161099
2020-03-19T05:38:35
2020-03-19T05:38:35
205,994,409
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
a,b=input().split() a=int(a) b=int(b) if((a+b)%2 == 0): print("even") else: print("odd")
[ "noreply@github.com" ]
balajiyogi.noreply@github.com
006382d24e3b4338e0703d99f813307cb35f0b1b
3886883f51d4cc661d4e6c2504e47377d1b1c839
/Test/8K_FileSearch.py
3086f44e618073c4c458689620382093abb6493d
[ "Artistic-2.0" ]
permissive
Hoohaha/Auana-P
6a3377ad6054db3d34487ce3c5f477066f1e0f15
f60603468322751682204e42718cc1089a23ac60
refs/heads/master
2021-01-18T22:07:10.163324
2018-06-07T06:26:07
2018-06-07T06:26:07
28,087,332
6
1
Artistic-2.0
2019-07-25T06:14:14
2014-12-16T13:05:13
Python
UTF-8
Python
false
false
581
py
import sys, os __PATH__ = os.path.dirname(os.path.abspath(__file__)).replace('\\','/') sys.path.append(os.path.dirname(__PATH__)) from auana import Auana,Fana print ("Title: File Search Demo") print ("Date: 2015.4.25\n") if __name__ == '__main__': auan = Auana(u"E:\8ksample_music\data") try: File = Fana(auan,sy...
[ "B51762@freescale.com" ]
B51762@freescale.com
abc0019ddefd8d13301ebf5ffbefbe3380f82e90
1ca7f25d3ef16fb2b799ff12d69e7979522850af
/promeds/migrations/0021_ordertab_total_price.py
124079bdccc0797e20db0c2ac3de8bc110464261
[]
no_license
vaashvi/first_blog
2278c5283b3a500f9811ea9f4f0bea5b9fe573a9
7ad2caea2f2b70872836181d774200972be9e8a2
refs/heads/master
2021-01-20T16:55:01.951523
2017-05-10T15:17:31
2017-05-10T15:17:31
90,856,726
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-26 12:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('promeds', '0020_auto_20160925_1744'), ] operations = [ migrations.AddField( ...
[ "aashvi1996@gmail.com" ]
aashvi1996@gmail.com
a0b3baaacb54b0e27beb93b36ee98ef7b92beb83
8654435d89790e32f8e4c336e91f23250da0acb0
/bullet3/examples/pybullet/numpy/humanoid_running.py
d15a68c8b3843917870a8ca017c69d0db13adfdc
[ "Zlib" ]
permissive
takamtd/deepmimic
226ca68860e5ef206f50d77893dd19af7ac40e46
b0820fb96ee76b9219bce429fd9b63de103ba40a
refs/heads/main
2023-05-09T16:48:16.554243
2021-06-07T05:04:47
2021-06-07T05:04:47
373,762,616
1
0
null
null
null
null
UTF-8
Python
false
false
502,206
py
import os, inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(os.path.dirname(currentdir)) os.sys.path.insert(0, parentdir) import sys import numpy as np import argparse import pybullet as p import time gui = True cid = p.connect(p....
[ "m.tym29101998@gmail.com" ]
m.tym29101998@gmail.com
11e267f7a77d902d4b7edf42f9445b93d28e9743
da18cef853c7a2d9d4d9b9cde69c94a01153c902
/TextTab/main.py
cdf66f50c6a94e76f73329759a7f5d07d1002dbb
[]
no_license
alecsaunders/TextTab
093394fc37ab9ae90de13458af70339f9a121e57
e89921e8173dca111965a2fdb34d31dbc0f57b29
refs/heads/master
2021-09-06T00:10:34.822356
2018-01-31T22:00:06
2018-01-31T22:00:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,273
py
from . import Note class TextTabController(): def __init__(self): self.tab = None def format_tab_to_text(self, tab): self.tab = tab measures = self.tab.split('&') all_notes = [] for m_num, m in enumerate(measures, 1): m = m.strip() new_lines = ...
[ "alecsaunders90@gmail.com" ]
alecsaunders90@gmail.com
10b4c59e7f373368fe55aa0194680344776c6738
1471a936d29e96bdc898d1775a0c1955ebe18c94
/flight_booking/ixigo.py
166eb00230b23f3458cb1ef29197bfd4e972c67f
[]
no_license
krish-1409/flight_booking
5e5a428241e4bf27ceb3216370288c980f364acd
26603d9dd1531daa617bae1277f02260e929e64d
refs/heads/master
2023-04-22T00:39:48.232249
2021-05-08T18:42:32
2021-05-08T18:42:32
365,587,219
0
0
null
null
null
null
UTF-8
Python
false
false
5,045
py
from selenium import webdriver from bs4 import BeautifulSoup import requests import pprint import time def generate_codes(source,destination,date,all_flights): url = 'https://www.prokerala.com/travel/airports/india/' response = requests.get(url) data = response.text soup = BeautifulSoup(data,'html.par...
[ "saikrishnalanka75@gmail.com" ]
saikrishnalanka75@gmail.com
2e89f3366c2a90e4aea9cb2e324465fcf75001f0
8fb43093949f61dfff736165198c915962cf7673
/test/createMCPattuple_cfg.py
bdbe07f1e1a144ee59805eb603411db0c59e0b73
[]
no_license
vveckaln/spy_analysis
d85ee5c332308999b551f14d1bb22b41d997b45d
a1d4cdb4c61cd1860b3ed8116fa9151f4ddabbf6
refs/heads/master
2016-09-05T10:19:25.386700
2014-10-02T17:10:18
2014-10-02T17:10:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
import os,sys runOnMC=True runStd=True cfgFile=os.path.expandvars('${CMSSW_BASE}/src/LIP/TopTaus/test/createPattuple_cfg.py') from LIP.TopTaus.CommandLineUtils_cff import configureSourceFromCommandLine inList, outFile = configureSourceFromCommandLine() execfile(cfgFile)
[ "" ]
e6aa223a1ba80168034eed19e3696c9f7a21ee9c
fe119edf256ad6e34b998ed762f7df38d7f8f066
/pythonMods/outputProcessing.py
d4f19d0f994716421e13d42f41caf651f5dc7978
[]
no_license
sdrendall/fishRegistration
77f69a4f0b375cb7c0d577eae1bcf27479b1427f
0fb8af9c754f71e48f7d5d3e3d70db51d5f42c62
refs/heads/master
2021-01-23T03:16:10.473537
2018-09-01T12:10:20
2018-09-01T12:10:20
19,650,316
0
0
null
null
null
null
UTF-8
Python
false
false
5,184
py
import json from itertools import imap, chain class StructureFinder: """ I find the structure in the allen brain atlas corresponding to the given trait """ def __init__(self, structure_data_path): self.structureData = self._load_structure_data(structure_data_path) def get_ids_by_acronym(...
[ "sdrendall@gmail.com" ]
sdrendall@gmail.com
24776263afec138d8c48d67ee7777f562e4c66a4
84fba469db24ed0afdcacf9f09c56c9fb6d4b9a3
/test/generator/test_linear_congruential_generator.py
46372ab6ebefaa45e5e1122ef472cbcc122dcbcb
[]
no_license
czechnology/py-prng
df35ed9fbc8983d5cceea22d5fa9bcbf63a82a23
e7ac66c4ad711405fb5a3e75eb9ca232a055c6d9
refs/heads/master
2021-01-21T18:38:40.431801
2017-06-13T19:49:59
2017-06-13T19:49:59
92,067,096
6
1
null
null
null
null
UTF-8
Python
false
false
2,727
py
import unittest from generator import linear_congruential_generators as lcg from utils.bit_tools import least_significant_bit as lsb class TestLCG(unittest.TestCase): SEQUENCES_PATH = "sequences/linear_congruential_generators" def test_knuth_lcg_3_2_1(self): """Test if LCG correctly generates a simp...
[ "martin.kulhavy@aalto.fi" ]
martin.kulhavy@aalto.fi
cb976630bce714ce1c914b70a450b8fc029e02db
e736a35f5bfbd5ac010d5404ab646d43791d365a
/rooms/migrations/0003_auto_20210622_2226.py
d69d8330dc5a99470f17fa3ef5d0a4654825a658
[]
no_license
hyo-jae-jung/airbnb-clone
2c2e7d13978e37c6b9b9fa71165388955b28850c
7df54ed1ff2f7e6ec438192b2554d8b2402b3119
refs/heads/main
2023-07-03T06:12:49.094559
2021-08-08T05:24:39
2021-08-08T05:24:39
372,468,444
1
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
# Generated by Django 2.2.5 on 2021-06-22 13:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rooms', '0002_auto_20210622_2121'), ] operations = [ migrations.CreateModel( name='Amenity', ...
[ "hyojaejung@kakao.com" ]
hyojaejung@kakao.com
9dbd3b9b253fc242a7b094795d4ec5ba579c3772
a418856e97637a85ebc829630486abfba666fef1
/Python Advanced/Python OOP/Encapsulation - Exercise/02. Pizza Maker/topping.py
7e114bc9a649280148fd04189fccaf3121313fe2
[]
no_license
alkaf499/Softuni
deb27cbffe476fd301ff19cca5849fce59666a4e
41d935183fb96ba8b2fc11967b0fdfa04570b8c2
refs/heads/master
2023-03-16T02:05:23.483359
2023-03-12T19:50:08
2023-03-12T19:50:08
98,043,040
2
0
null
null
null
null
UTF-8
Python
false
false
658
py
class Topping: def __init__(self, topping_type: str, weight: float): self.topping_type = topping_type self.weight = weight @property def topping_type(self): return self.__topping_type @topping_type.setter def topping_type(self, str): if not str: raise Va...
[ "noreply@github.com" ]
alkaf499.noreply@github.com
4da82bb292f9f952a12bc2c01d1d61a90abd358b
3f279f90137aa6a24674378e6c5044293b7680e3
/oposum_scripts/term_weights.py
13827a599fd22a67ba5b2391a00259526060afd5
[]
no_license
kevingeother/ISWD_modified
16108c74f6a1693fcfda58cfc6f9f58c1ceb7e21
378a61389ce26070710fefd69e5a32fd316d775f
refs/heads/main
2023-06-29T21:15:26.300766
2021-08-07T22:22:57
2021-08-07T22:22:57
393,788,757
1
0
null
null
null
null
UTF-8
Python
false
false
3,691
py
#!/usr/bin/env python ''' seedwords are derived from dev dataset ''' import sys import argparse import re import os.path from os import makedirs from pprint import pprint from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extrac...
[ "kevingeother@gmail.com" ]
kevingeother@gmail.com
265d6825cd82f68df2382d418affb36d4224c0cc
7acfc3786be1ff95cf1e4ce821596ea33aedb26d
/google/cloud/dialogflowcx_v3beta1/services/experiments/pagers.py
d01901a52ff83f9208342870d4a2f9ef4210fd5b
[ "Apache-2.0" ]
permissive
CristianPachacama/python-dialogflow-cx
ee483c0bf7e179165ea34dc59c04d9c9e262db95
f7551f73a414ea39df936b02ec2d7112f7922858
refs/heads/master
2023-03-13T04:28:45.095088
2021-03-03T18:00:29
2021-03-03T18:00:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,669
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
CristianPachacama.noreply@github.com
7fc6b81da77121a50cda6fe665daa400518eaf82
9506f274c68f5436d967fbcec6fbcb21842a0568
/scripts/P2 Features/A2DP/A_BX_BT_SRA2DPCFG_0001.py
315158744c6014f622654a9b3f06107a22423315
[]
no_license
txthuong/txthuong
7561e57328ad1ea1b4c4c3a2c47d204a0ae45d8c
edfbf6079807662e6e6fa2791684f9e3d466ee75
refs/heads/master
2020-03-16T21:10:52.228480
2019-07-23T11:45:08
2019-07-23T11:45:08
132,987,797
0
1
null
null
null
null
UTF-8
Python
false
false
5,931
py
# Test Name Description # A_BX_BT_SRA2DPCFG_0001 Check syntax of +SRA2DPCFG command with valid values, invalid values and values out of range # # Requirement # 1 Euler module # # Author: ptnlam # # Jira ticket: #--------------------------------------------...
[ "txthuong@tma.com.vn" ]
txthuong@tma.com.vn
b115f38fdafd6cb3aaa417248fdba813ecf0d6b0
b7cf7906456b46c7afce7efd16866cf01be850fe
/compiler/coding_problems/urls.py
32bcd822e9aa540e2b775581d5153cedc8adc5d8
[]
no_license
Abhishek51882/code_problems
67b0d048d6817f05d67cad704235298e471f6727
d455862a71a2c020d4df3a39f66290e6be642627
refs/heads/master
2022-12-25T01:58:25.292163
2020-10-06T06:39:04
2020-10-06T06:39:04
301,635,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
"""assessment_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "av51882@gmail.com" ]
av51882@gmail.com
c2ea0ec2e21e9047ed990c7351593ad82edc44ad
536bce6ca78a9a151247b51acb8c375c9db7445f
/chapter1/1.5-interest_rate.py
15aba2121680fc7d7fffc673afd05db59b2923ce
[]
no_license
clicianaldoni/aprimeronpython
57de34313f4fd2a0c69637fefd60b0fb5861f859
a917b62bec669765a238c4b310cc52b79c7df0c9
refs/heads/master
2023-01-28T18:02:31.175511
2023-01-23T08:14:57
2023-01-23T08:14:57
112,872,454
0
0
null
2017-12-02T19:55:40
2017-12-02T19:55:40
null
UTF-8
Python
false
false
464
py
p = 5 # Interest rate % A = 1000 # Initial amount years = 3 # Number of years to grow # Formula for calculating sum: A(1 + p/100)^n # To avoid integer division we convert p to float sum = A * (1 + (float(p)/100))**years print("After %g years with %g%% interest rate and an initial amount of %g we have %g." ...
[ "martin@rodvand.net" ]
martin@rodvand.net
7ec56d1dfd873785b0db9c891aacd95142031aa1
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/sQN3Jb43teMbC7rGJ_18.py
795c8a4678747c53bbb24bcd6b59c6e238410b4e
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
def make_transpose(m): dm = len(m) dn = len(m[0]) tm = [[0] * dm for i in range(dn)] for i in range(dm): for j in range(dn): tm[j][i] = m[i][j] return tm
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
de681ef73109deb87e8eca8a85ca41f4a5406653
ffe719712c7e8ddc4619f279f35d8f2c0208cd6f
/conditions_map/migrations/0002_auto_20191221_0604.py
8c06e32e01d5e15df223e459ac8b13782593f35e
[]
no_license
nathangthomas/memd_map
e1524cae909ba6ba9d6774ad4d0ded8b5a96a85b
53eb74e6db9aa67c4befac1b6449dfdb6991dd43
refs/heads/master
2020-11-27T09:48:55.170517
2019-12-21T06:20:27
2019-12-21T06:20:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# Generated by Django 3.0 on 2019-12-21 06:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('conditions_map', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='conditions', name='lat', ), ...
[ "nathan.gordon.thomas@gmail.com" ]
nathan.gordon.thomas@gmail.com
fb6708c5a3ede43aa3e2e030027e0af0cfda6843
e495621ac02e83497f4b738a56c53195d7c8b32d
/archlinuxcn/ciel/lilac.py
335c0b8def533d76c16440010eabcee33b3f10a6
[]
no_license
Degu83/repo
46cd10524ce01dfb387695de18d95f9b7561e8c8
089de35e03813ab2591ba4e7d6964bbd7cb6795f
refs/heads/master
2023-07-11T07:02:48.547031
2021-08-13T08:24:25
2021-08-13T08:24:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#!/usr/bin/env python3 from lilaclib import * def pre_build(): newver = _G.newver.lstrip('v') for line in edit_file('PKGBUILD'): if line.strip().startswith('_pkgver='): print(f'_pkgver={newver}') elif line.strip().startswith('pkgver='): print(f'pkgver={newver.replace("-...
[ "self@origincode.me" ]
self@origincode.me
8689095f309f8f0f06c8210f9d50b4d8741d9f14
337eeee7717762319406e06c9084684f8f705a00
/blog/migrations/0001_initial.py
9abd7007806b47d8c25f63525b73ae4d25c14874
[]
no_license
suntian123/my_blog
aa90700f05cec8d0ff7edc3e417df9fa49e70f40
fcc165fc1f46dbdd92598cbc57b0ed777ffe2520
refs/heads/master
2020-03-19T16:38:54.259239
2018-07-03T02:37:20
2018-07-03T02:37:20
136,723,185
0
0
null
null
null
null
UTF-8
Python
false
false
1,881
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2018-06-09 14:52 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "tians2@uci.edu" ]
tians2@uci.edu
e1f9abb2791d8b1cf13999370c0ad2eb2eb9b3ae
de84d318b7cd51a5ecb05c993539504954008c8d
/oscar/apps/partner/views.py
c0366f2c7a49457facdbb6fa6c90e8b223926a92
[]
no_license
ShaonMahmood/vicommerce
919f6c78371519e5583081257a4cc7f55a34c040
319eff3ebb0478f794f9390a4cb5c450a85263d1
refs/heads/master
2020-03-28T16:09:40.812385
2018-09-13T16:24:01
2018-09-13T16:24:01
148,665,420
0
0
null
null
null
null
UTF-8
Python
false
false
3,082
py
# Create your views here. from django.http import HttpResponseRedirect from django.shortcuts import render from django.views import View from oscar.apps.catalogue.models import Product from oscar.apps.partner.models import StockRecord from oscar.apps.partner.strategy import Selector from .forms import MyForm # class...
[ "mahmood.habib.261342@gmail.com" ]
mahmood.habib.261342@gmail.com
323664148f073262425798de48cacd421a368bff
fe07834f429c8f5692b4dc72ea254cca84abca72
/Email-Campaign-Backend/email_service/campaign/views.py
407f426a004dd8871d6270a1e348526fda30272e
[]
no_license
PS-CR7/Email-Campaign
c8e799a10b8e2752bccef82890c33beee09df014
64996fe4dd57d1df25541df91348987ccc5320e8
refs/heads/master
2023-02-18T14:55:01.565510
2021-01-23T08:48:26
2021-01-23T08:48:26
332,158,663
0
0
null
null
null
null
UTF-8
Python
false
false
6,475
py
from django.shortcuts import render # Create your views here. from rest_framework.decorators import action from rest_framework.response import Response from rest_framework.viewsets import GenericViewSet from .models import EmailCampaign, EmailTemplate from django.core.mail import EmailMessage from django.db import tran...
[ "rks333999@gmail.com" ]
rks333999@gmail.com
ede98906221ceb5af90a8e165e9a48203a10f212
a1dae20db0338e735f0b4eb2804a069533bc5a9b
/render.py
f36dcfdfed83a87bd98faa44c513dbe54b05c932
[]
no_license
thoppe/TwitterSquares
4d78e80680c3b01673d602c2564811bf42090aa6
a01dd65456fa70478a0ed03cd7c994c0a678e3ef
refs/heads/master
2020-03-20T08:17:42.525989
2018-06-19T22:05:20
2018-06-19T22:05:20
137,304,270
3
0
null
null
null
null
UTF-8
Python
false
false
4,058
py
"""Render Twitter Squares Usage: render.py <term> <n_images> [--resolution=<n>] Options: -h --help Show this screen. -r --resolution=<n> Output resolution [default: 1200] """ import glob import os import sys import random from tqdm import tqdm import numpy as np import cv2 from docopt import doco...
[ "travis.hoppe@gmail.com" ]
travis.hoppe@gmail.com
ffea19ab0a9ee990515424ae3b8b5e47593e62f3
17b423540da45db7365e96a79b0bff5b27851b76
/Recsys_Challenge_Trailmix/Recsys_Challenge_Trailmix_CODEONLY/Model_QQ/preprocess.py
11464ec46a7690de375b19a203ef20e6a08ef7f6
[ "Apache-2.0" ]
permissive
VickyYu7/RecSys-Challenge-2018-Trailmix
0174e7b373fbe73b151e80dd24c2c56991da82d7
27a3524c9cd397b62f7c008bd0b79a81fa16a852
refs/heads/master
2023-03-16T15:54:15.425798
2018-07-03T15:35:56
2018-07-03T15:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,301
py
# import json # import numpy as np # # a = json.load(open('PL_TRACKS_ALL.json')) # # x = 0 # '864737' 376 # y = 1000 # '54' 5 # for i in range(len(a)): # if len(a[str(i)]) > x: # x = len(a[str(i)]) # g = i # if len(a[str(i)]) < y: # y = len(a[str(i)]) # k = i # # # name = [] # ...
[ "xing@falcon.cs.tamu.edu" ]
xing@falcon.cs.tamu.edu
5b9bed66fbf25153576ca345829161f68f7c0997
2d50015e74aa3ab74415b870c5dfb47eeea7eb6f
/main.py
bb5e1824234e65c66cea97df3f3bb94b6d721070
[ "MIT" ]
permissive
maliklyu/02-Text-adventure
31ab3aba00e55dac4d813e32a0278e781739fe26
a7dcc2d9bf839cbc7bfbb1862a81e4df78ae24a4
refs/heads/master
2020-12-29T10:36:09.670685
2020-02-10T20:52:56
2020-02-10T20:52:56
238,576,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,894
py
#!/usr/bin/env python3 import sys, os, json # Check to make sure we are running the correct version of Python assert sys.version_info >= (3,7), "This script requires at least Python 3.7" # The game and item description files (in the same folder as this script) game_file = 'game.json' item_file = 'items.json' inventory...
[ "60207595+maliklyu@users.noreply.github.com" ]
60207595+maliklyu@users.noreply.github.com
fea4d5a004cb0d120f3829c1fa2cbf4b2df64e17
046333321b2717c6391a111fc2f74b04bbbeb7af
/chapter13(enumrate function)/sorted.py
cbe84261ffe34d30f366d660bdb7c5115a530460
[]
no_license
jyash28/Python-practice
b0c9df42bc93716d8721a1420ee1f3170b40b18c
cd3a61934618145cbaa20e62194ebb1642ba9941
refs/heads/main
2023-07-03T18:06:38.407491
2021-07-13T09:47:07
2021-07-13T09:47:07
314,485,686
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
guitars= [ {"model1" : 'famaha f310' ,"price": 8400}, {"model2" : 'faith neptune' ,"price": 100000}, {"model3" : 'faith appolo venus' ,"price": 35000}, {"model4" : 'taylor' ,"price": 450000} ] sorted_guitars = sorted(guitars, key= lambda d: d["price"],reverse = True) print(sorted_guitars)
[ "jyash548@gmail.com" ]
jyash548@gmail.com
eb68fe631fd4924c790bd85fc51c56a03ffc596c
361384d3a1ed0058e7b1af1a9a27f595982f774d
/test/unit/session_OverwriteSession.py
1f44c668bf3633cad6517f5b6df4d392c8875984
[]
no_license
xemdetia/telecircle
d515c129b61b2207263eee0faf99477fa4abb6be
84e469a4f53804c050b76af15648086c508036f6
refs/heads/master
2021-01-09T21:51:12.132070
2013-03-06T22:39:32
2013-03-06T22:39:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import unittest from web.session import Session from web.db.db_manager import DatabaseManager class DatabaseManagerMock(DatabaseManager): def __init__(self): self.v = dict({'hello':'goodbye'}) def get_session_dict(self, session_id): return self.v def replace_session(self, session_id,...
[ "xemdetia@808inorganic.com" ]
xemdetia@808inorganic.com
e57bf9dec7e340b0469004ecf5111d0ea081f482
674f5dde693f1a60e4480e5b66fba8f24a9cb95d
/armulator/armv6/opcodes/concrete/ldc_ldc2_immediate_a2.py
c145465c0a7b80a8b878d200a1c3998d5b55001d
[ "MIT" ]
permissive
matan1008/armulator
75211c18ebc9cd9d33a02890e76fc649483c3aad
44f4275ab1cafff3cf7a1b760bff7f139dfffb07
refs/heads/master
2023-08-17T14:40:52.793120
2023-08-08T04:57:02
2023-08-08T04:57:02
91,716,042
29
7
MIT
2023-08-08T04:55:59
2017-05-18T16:37:55
Python
UTF-8
Python
false
false
788
py
from armulator.armv6.arm_exceptions import UndefinedInstructionException from armulator.armv6.bits_ops import substring, bit_at from armulator.armv6.opcodes.abstract_opcodes.ldc_ldc2_immediate import LdcLdc2Immediate class LdcLdc2ImmediateA2(LdcLdc2Immediate): @staticmethod def from_bitarray(instr, processor)...
[ "matan1008@gmail.com" ]
matan1008@gmail.com
47046f64d1580fb3657fc2dbc8ee4592a9bf423b
1ccb5c2611c37318176eb2a5390adf181c071ef5
/resgain_django/day22_django/settings.py
a31c7681f82d4ec7b06dc82fe7f49008ee5c778f
[]
no_license
wangyuncao/resgain_django
525756ccc9aae5634e0a3ae527fb1b29f5dc3071
9f1b227bb515d51fd67becb323802349acc5e2a7
refs/heads/master
2020-04-07T19:06:40.050555
2018-11-23T03:43:54
2018-11-23T03:43:54
158,636,512
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
""" Django settings for day22_django project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import ...
[ "wangyoucao1995@qq.com" ]
wangyoucao1995@qq.com
894ce8e8e276d860b101735cd01a3d9f15b3075b
a201b75da05aae1b322e0535c359651f05def1a7
/apps/log/admin.py
22b09c85d6d1bdc2e3c7af1e1c0d984399b0e855
[]
no_license
Illutron/IllutronDashboard
fe8c58de2a8774f74b8580e035d399a2eb8ecc7e
47c1d8d02159956b653181c27e1e66edb1b40288
refs/heads/master
2021-01-15T21:07:33.063349
2011-10-10T16:02:00
2011-10-10T16:02:00
2,543,258
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# -*- coding: utf-8 -*- from django.contrib import admin from models import Entry, Provider admin.site.register(Entry, admin.ModelAdmin) admin.site.register(Provider, admin.ModelAdmin)
[ "jbl@1calendar.com" ]
jbl@1calendar.com
52bdfe307d90e17145ba2509d6fae7e12d081632
893f77065eb1f300cf48d40b0570f50b12690cb7
/lidar_range.py
88068ef38b8c98935cbd8c04eb59fa567af1657d
[]
no_license
kiddos/icp-slam
47e80be9607a60f2001b149d47f7170051ed5429
7ab88c36a86233d8186c2ac0797bd442b6535e03
refs/heads/master
2020-07-01T02:57:47.956932
2016-11-28T12:05:19
2016-11-28T12:05:19
74,553,423
3
1
null
null
null
null
UTF-8
Python
false
false
5,428
py
from __future__ import print_function import serial import time import numpy as np import cv2 import math import datetime import matplotlib.pyplot as plt import matplotlib.animation as animation def to_binary(char): binary = list() value = ord(char) while value > 0: binary = [value % 2] + binary ...
[ "josephyu831007@yahoo.com.tw" ]
josephyu831007@yahoo.com.tw
9f9dbb0550149bcbe1f76e48f1cc68e259fb5677
d2e400ae4add2041a4c74ef5e86463b700464ed3
/FFNN/utils.py
302bbddecea3653d7c73f726b66abf930404f393
[]
no_license
abiraja2004/awesome_nlp
5fe3818d74bed16881082f0ede3b8478567b0c31
c409f873e16fc3768737a09dec1e9285b4931567
refs/heads/master
2020-03-08T09:34:02.287354
2017-12-18T14:11:34
2017-12-18T14:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
import numpy as np def load_glove_matrix(w2i, glove_file): """ Represent word embeddings in a matrix to initialize the nn's embeddings. """ f = open(glove_file, 'rb') vocab_size = len(w2i) embedding_dim = 0 # Load all glove vectors, put them in a matrix for line in f: split_li...
[ "verna.dankers@student.uva.nl" ]
verna.dankers@student.uva.nl
db79d29536bf051d47169aa446adce646b1cde44
6166216f2a593ea566bfb086e52d2204595821d9
/迭代器生成器/p-iterable.py
a4eb959f0b906618fa3aac96e15d90bf2f89fb95
[]
no_license
hhs44/interview
18ca7b11b03c5cc9a7d06139d42659596cc5f464
3ca122acaf5074d522edbef6651397a9321d6e99
refs/heads/master
2022-12-08T02:21:24.298935
2020-08-26T07:48:31
2020-08-26T07:48:31
270,883,492
0
1
null
null
null
null
UTF-8
Python
false
false
333
py
from collections import Iterable # 解开嵌套序列 def flatten(items, ignore_type=(str, bytes)): for x in items: if isinstance(x, Iterable) and not isinstance(x, ignore_type): yield from flatten(x) else: yield x items = [1,2,[3,4,5,[6,7],8],9] for x in flatten(items): print(x...
[ "1159986871@qq.com" ]
1159986871@qq.com
a9520d4013f01df3a621233c6de34a7732d48832
2a05456121813e2c5c3a0e9a88c0c381a038633b
/euler089.py
b32e61c3f1608a6ae354bef88b3f646d1612cf92
[]
no_license
Octaith/euler
022fab72f7d2a72327694ea1970aa3e13a560673
457676a99013c7c5fd33697b82be998d07c464d9
refs/heads/master
2020-09-26T21:04:08.656499
2014-09-14T07:47:51
2014-09-14T07:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
roman = ( ('M', 1000), ('CM', 900), ('D', 500), ('CD', 400), ('C', 100), ('XC', 90), ('L', 50), ('XL', 40), ('X', 10), ('IX', 9), ('V', 5), ('IV', 4), ('I', 1) ) def roman_to_dec(s): result = 0 index = 0 for numeral, integer in roman: whil...
[ "banteeg@gmail.com" ]
banteeg@gmail.com
afb6f3a40ef4ed4a3849925a6560d09e0ba3b1c0
abc600f27c6d90bccd4d3b40d38ddbe5eb04e228
/scripts/include/pubsub/contextbroker/cbQueryBuilder.py
cb996778b81b6db95bcbd6825f6fc67358673a77
[ "MIT" ]
permissive
Ikergune/firos
945c6c06425e04dc63f9136f4c3c3dbaa52002f1
5713d570c4a99f715b6ce1798527af068ea9cd4e
refs/heads/master
2021-09-09T01:30:15.100540
2015-09-25T09:01:57
2015-09-25T09:01:57
30,751,972
7
11
MIT
2021-09-01T15:51:54
2015-02-13T10:36:21
Python
UTF-8
Python
false
false
2,758
py
# MIT License # # Copyright (c) <2015> <Ikergune, Etxetar> # # 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, m...
[ "ingonza85@gmail.com" ]
ingonza85@gmail.com
e22cf41bebc21fe5ea70c17604946adc4fe9a69e
ef5bde73d58734f5081f127fe344ae85c53b8b68
/config_modify.py
8c8255c6e3156d5372724911ccee779d14d2e548
[]
no_license
ychnlgy/VoxCeleb1
a3a6337f322ec1c78f926e2f529db001f7ec8349
930ce2c5c9f0828705afb096c7ee33bfe4b6b96e
refs/heads/master
2020-06-11T10:40:35.462721
2019-07-09T16:42:24
2019-07-09T16:42:24
193,934,200
1
0
null
null
null
null
UTF-8
Python
false
false
364
py
import argparse import voxceleb1 if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--path", required=True) args = parser.parse_args() config = voxceleb1.training.Config(args.path) del config.param_dict["_dob"] kvs = ["--%s %s" % item for item in config.p...
[ "ychnlgy@gmail.com" ]
ychnlgy@gmail.com
cee7caced2bc83a749cecf518d0afbeac3bf528e
747f759311d404af31c0f80029e88098193f6269
/addons/project_timesheet_contract/project/__init__.py
34aa344afd62fd26763d265b1313036fe1245e01
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
84
py
/home/openerp/production/extra-addons/project_timesheet_contract/project/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
55c29cd4158ba1ea3f86eb45af8fa88b516d4415
c17942b9b9db4081a9b4bc75b44cdf48a926cc94
/ev3_passthrough9_DELETE.py
46a9cb0a4ba65b1ad1e4b9174492e494c9a1889d
[]
no_license
sgordon291us/lego-ev3
fb456401c55211368bdedb731c88eba896cd5073
468b7b8c7a8b2075977d58fb66da126a591049f8
refs/heads/master
2020-06-13T17:20:32.707813
2020-04-17T13:55:44
2020-04-17T13:55:44
194,729,992
0
0
null
null
null
null
UTF-8
Python
false
false
9,599
py
#!/usr/bin/env python2 """ This program is meant to run as a background process. It works with voice_assist_ev3_ctrlx.py. The voice assist program reads the users voice for commands to control the EV3, and records the user's commands to a file. This program continously reads the file and send the commands to the EV3...
[ "noreply@github.com" ]
sgordon291us.noreply@github.com
c33973915a1487aa198d9586d9ef07976496fe35
9c6dcd6964c0bbbc960106736a3adf83f99ae613
/Balatarin/bipartiteMongo.py~
0ac84299fccd071931a5ee43aa4271ca00d40bdf
[]
no_license
Roja-B/Trajectories
5ab065991c34ba74b6951ad090401c0cb14f222b
e1ce1c6ac8095f92853e0ebe7a41eb8a82e7eff2
refs/heads/master
2016-09-05T17:56:45.643404
2013-01-24T03:54:21
2013-01-24T03:54:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
#!/usr/lib/python3.0 # This program extracts bipartite edgelist of users and links belonging to a specific time window (both the link and the votes should come from that time window) # Author: Roja Bandari # October 2012 from pymongo import Connection from PARAMETERS import * import datetime import time import sys ...
[ "roja@ucla.edu" ]
roja@ucla.edu
1b221c07cf894d6c306018d58e54c2921fe4d14b
fd849b1ca1f00df7db78aa185e590201c492a71b
/Kubernetes/py_flask_mysql_app/application.py
9c1b6814e322a5a7b20f2f1ab6a7604a8071627c
[]
no_license
agill17/Infrastructure-as-Code
de82d6017e71332fe08bec941ce683b9f6add172
139f2544b36cd6033ffc3732c7fbc72c70a5846d
refs/heads/master
2022-12-21T09:39:08.911767
2020-10-09T04:26:57
2020-10-09T04:26:57
123,360,170
15
14
null
2022-12-16T08:25:40
2018-03-01T00:36:03
Ruby
UTF-8
Python
false
false
972
py
import os import flask import MySQLdb application = flask.Flask(__name__) application.debug = True @application.route('/') def hello_world(): storage = Storage() storage.populate() score = storage.score() return "Does this work?, %d!" % score class Storage(): def __init__(self): self.db = MySQLdb.conne...
[ "amgill1234@gmail.com" ]
amgill1234@gmail.com
9fca8ba3b59b43a17a00a17f8d571843d28eba97
249af4ed4bd9c97d86baf8fc04856e8ce41c2398
/image_processing.py
cdaab5733319000555d4e335d9e049be1f2435c2
[ "CC-BY-3.0" ]
permissive
robinhad/photoscan
de1d527d3568bc74cb860852a3b23719e524317d
dc90a521baaa7fb37595a0892da97679d6a6dbd5
refs/heads/master
2023-03-02T23:54:37.882915
2021-02-01T19:58:52
2021-02-01T19:58:52
126,396,982
1
0
null
2023-02-27T21:52:08
2018-03-22T21:27:18
Python
UTF-8
Python
false
false
8,076
py
import cv2 import numpy as np import math import base64 MIN_MATCH_COUNT = 10 def rotate_image(image, angle): """ Rotates an OpenCV 2 / NumPy image about it's centre by the given angle (in degrees). The returned image will be large enough to hold the entire new image, with a black background """ ...
[ "mr.robinhad@gmail.com" ]
mr.robinhad@gmail.com
27b1bd461a76dfde7d4e051382e4335b141f508c
a1770df76e0e928f595d022725e6d00d064926ec
/whatsgather.py
7ba6fe6c753cca9c52f7e978c4ba84fbd1e66566
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
blavck/whatsinfoga
59e57b52f4bf88d747f106309aa20cb41fafc52e
fbb32cb562c228edd2f1c36cf2945f6ae9050602
refs/heads/main
2023-04-24T07:37:23.858300
2021-04-30T12:14:50
2021-04-30T12:14:50
363,122,845
1
0
null
null
null
null
UTF-8
Python
false
false
9,208
py
from zipfile import ZipFile from base64 import b64encode from base64 import b64decode import os, datetime, sys, time, random from shutil import copyfile os.system('termux-setup-storage') def pes(cuk): for ewe in cuk + '\n': sys.stdout.write(ewe) sys.stdout.flush() time.sleep(0.06) def pes...
[ "noreply@github.com" ]
blavck.noreply@github.com
edc0a95477f54d4c041075ecc189746cfe39ba68
28425e8655e8275894751751641db9e164351f34
/video.py
f6aabc58518827491e61abc6c2b9201dd30b0b74
[]
no_license
indecent-aardvark/qbot
e4cff42ad64ae1c226f7b49f00745b09e703a0af
66ac093c38bb52ac650b6596fab7d3d959ab4dfc
refs/heads/master
2023-05-08T00:03:57.908115
2021-06-01T15:44:48
2021-06-01T15:44:48
306,070,929
0
0
null
null
null
null
UTF-8
Python
false
false
3,470
py
import youtube_dl as ytdl import discord import re from time import strftime, gmtime from urllib.parse import urlparse from pprint import pprint YTDL_OPTS = { 'default_search': 'ytsearch', 'format': 'bestaudio/best', 'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s', 'restrictfilenames': True, 'socket_tim...
[ "ccoleman@empireaccess.com" ]
ccoleman@empireaccess.com
def7d86f686c9d996392625132e26379342f6314
70dd1a05828fcb923130c31480d7a3003c4bd3f8
/SE final/back/api/migrations/0002_auto_20190429_1811.py
ce8b87bbe0cbc9f8b0d93b673bb7335313ae006a
[]
no_license
itagaev/webdev2019
69e4c5a019e2f1f1c4de80e69ce16ddcb079068f
e2312d8a85ae066f652975816732d692a2b8416e
refs/heads/master
2020-04-19T04:15:48.903665
2019-07-01T16:54:08
2019-07-01T16:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# Generated by Django 2.2 on 2019-04-29 15:11 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AlterField( model_name='competition', name='created...
[ "tagayev.ilias@gmail.com" ]
tagayev.ilias@gmail.com
c8bd56cc841aeb6c72476ff47ec0a7f5cd3f8777
413f57f8fbff85547c0ddc0357133ff6f39c06e7
/AsteriodTracker/Asteriod.py
336f008f0da4423447b59ad2901fc0e509a5ae88
[]
no_license
dhirajthakre21/AsteriodTracker
c9e62d143086effa70fb2ad8cceb895d9728be10
85a6c35bcd0ca2b704d3e17ceb527992757fb28c
refs/heads/master
2022-11-21T13:44:37.142222
2020-07-25T02:18:24
2020-07-25T02:18:24
282,341,971
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
#Tracking Asteroid 2020 LA by using NASA NeoWebService #Importing Modules import requests from pprint import pprint from datetime import datetime date1=str(datetime.now()) api_key="qclKNF4Qk9pTsBDx6yTKR5jY5uOI6hVuPhhzd3hN" #url start_date=date1[:10] end_date=date1[:8]+str(int(date1[8:10])+1) url= f'https://a...
[ "dhirajthakre21@gmail" ]
dhirajthakre21@gmail
66a0abd1634adef7018ed4626cb5f9616c834aa0
35add265514f8a667e71a378f8479f4d5588bb36
/modules/desktop
73182566cecb1eb9247e95c7c3ca7151a90fdad3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pzl/statbar
00cac43832fb26cfc9cc679d1e4785cf25b52d7c
b062ea660426758a101fb35bd59fda6f14ef0bcb
refs/heads/master
2021-01-17T14:51:25.084236
2017-08-19T01:59:10
2017-08-19T01:59:10
45,925,967
19
1
null
null
null
null
UTF-8
Python
false
false
7,917
#!/usr/bin/env python import subprocess import sys import os import json import re e = os.environ def icon(font,codepoint): return "%s%s%s" % (os.environ[font],codepoint,os.environ['F_RESET']) def count_clients(node): if node is None: return 0 return count_clients(node['firstChild']) + count_clients(node['secon...
[ "dan@panzarel.la" ]
dan@panzarel.la
2a66332dbd94525a7a5039ba712550ebe7a1566a
bfff33b62a22e8c84a816ebbf870fc806cea31e5
/cloud-photos/bin/rstpep2html.py
6798917cbcf8f436e1713cdbe65e9c627aa3ad6b
[ "MIT" ]
permissive
xiaolim/cloud-comp-hw2
93abe7b1b50c0768a9f928df45df4e4d873755c2
aded9c25f302e37ceb21e436c6886f5db4fb16da
refs/heads/master
2020-04-09T05:32:52.085653
2018-12-05T22:23:03
2018-12-05T22:23:03
160,068,898
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
#!/Users/limxiaoyu/anaconda3/bin/python # $Id: rstpep2html.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML from PEP (Python Enhancement Proposal) documen...
[ "xl2669@columbia.edu" ]
xl2669@columbia.edu
da21a1af33817260c61028fca15893ff6d4996c8
1049423a40027c2382a80aa03577af2f0bbd6398
/cleaning_phase1.py
961571c922d03dc7e7c5fd732536ad3ec0efb908
[]
no_license
jneitman/Time-Series-Analysis-Outpatient-Pharmacy-RX-Volume
1ba71c94aba0bb20cbed6790e3c6767659b76735
3d4d45aecf7f756064f4edc670214f852983b30d
refs/heads/master
2020-03-28T11:24:44.243621
2018-11-25T17:02:45
2018-11-25T17:02:45
148,210,092
0
0
null
null
null
null
UTF-8
Python
false
false
4,052
py
#Cleaning text files generated from reports in QS1/NRX import re import os import pandas as pd path = "C:/Users/Joel/Dropbox/Capstone/Data/" day_data = os.path.join(path, "MPO/MPO_2009_2017.txt") pattern = re.compile("[a-zA-Z0-9.-]+") all_date = [] all_new_retail = [] all_new_medicaid = [] all_new_thi...
[ "noreply@github.com" ]
jneitman.noreply@github.com
5011a21caf349d8ce94e37300ed1812a3e77ff99
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_25989.py
e0a1a41656b1eecde1b382880dffcadd2189e571
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,842
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
8dfb146210977f3e59d065241592fdfc7e6fa4ce
18b68d7364f4ad912561d446ab15c9eda57b7785
/practice/Lynda_Python/Ch2/classes_start.py
27d107d2377ffbe164c6f43820341b6574005289
[]
no_license
gkalidas/Python
1ae8fb443486a6122727a4ca34faadc02bd8d3ba
7413bd9055e64973b9708e1b5c926efd0e599044
refs/heads/master
2020-04-10T05:08:27.104227
2019-12-15T17:02:10
2019-12-15T17:02:10
160,818,601
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
# # Example file for working with classes # class myClass(): def method1(self): print("myClass method1") def method2(self, someString): print("myClass method2 " + someString) #anotherClass is inheriting the methods from myClass class anotherClass(myClass): def method1(self): #we are inheriting the ...
[ "ganeshlondhe2020@gmail.com" ]
ganeshlondhe2020@gmail.com
b20c6b7ea476c9e864e44c213bd9a008d3a3881f
6f38cf9346360993320d422b8df7a23414cbbb38
/PrjEuler/026/026.py
4a598ad91c3e4cab4e4c6dd45c26be55dcaa7f03
[]
no_license
goldenpython/Contests
8042cec56e9666d7232d86b4d321b4ebc4bea95e
78fa330cf8b522b3f13d0fbcf32e1a28e3dd0f5c
refs/heads/master
2021-07-10T01:28:13.858232
2019-10-05T20:32:08
2019-10-05T20:32:08
5,333,035
1
1
null
2019-10-05T20:32:09
2012-08-07T20:18:48
C++
UTF-8
Python
false
false
956
py
################################################################################ # Cristian Alexandrescu # # 2163013577ba2bc237f22b3f4d006856 # # 11a4bb2c77aca6a9927b85f259d9af10db791ce5cf884bb31e7f7a889d4fb385 ...
[ "cralexandrescu@gmail.com" ]
cralexandrescu@gmail.com
5d63a29f73198d37de548cfa0f47b0028dc6aa21
01265678a724c0be60a9b0f6ead3dd74df748ef0
/evaluation.py
bddc8d3629dcc93de90b4141c0901015eea074da
[]
no_license
sabyasachi-choudhury/Kasey
0b4a364977ab8600d57e181060fe6f5ca5aa2846
a1a6079e1c42dffa43fb1c71d5eec0b7699eba9e
refs/heads/main
2023-06-20T07:04:47.696602
2021-07-14T06:50:19
2021-07-14T06:50:19
385,841,440
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
import random import main as mn chars = 'qwertyuiopasdfghjklzxcvbnm ' def test(epochs): probs = [] correct_detections = [] for x in range(epochs): word = "" for y in range(random.randint(8, 25)): word += random.choice(chars) prediction = mn.classify(wo...
[ "noreply@github.com" ]
sabyasachi-choudhury.noreply@github.com
3b3178710bb1584d794ee1cd7a69dd56e62533e4
4267016f8ea7ce51d7628a9992a97820a0bd305f
/main.py
35c8974559c8077a95f8c6d07e714aa9e49a0ea0
[]
no_license
moiss16/ASISTENTE
9dd345487b71fe77c3a8dd3c00e8292dc416c05b
83b502c0865d298f8ec436674ac15b33748233ff
refs/heads/main
2023-05-01T07:42:49.246277
2021-05-05T00:14:04
2021-05-05T00:14:04
364,419,415
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
import speech_recognition as sr r= sr.Recognizer() import time import webbrowser def record_audio(ask=False): with sr.Microphone() as source: if ask: print(ask) audio = r.listen(source) voice_data ='' try: voice_data =r.recognize_google(audio) ...
[ "noreply@github.com" ]
moiss16.noreply@github.com
fe4480acba5a812f116032631f99921ae72e907e
8366d4e68bcba4bad6e4cdcc0e04b0a8c90652b9
/MRSPPlot.py
3375f85222f8b4e88fe7ea0218f10c8e46db8b0e
[]
no_license
jancervenka/EVCSim
dfacd84ce0e369056f36780b9a5612e6a17da84c
daedeedf76e86db4d6c2651ca9a7c8280c9cbd8d
refs/heads/master
2021-06-18T07:09:31.606064
2017-06-07T08:13:23
2017-06-07T08:13:23
91,266,760
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
import matplotlib.pyplot as plt MRSP = [120 for i in range(0, 2999)] MRSP += [60 for i in range(0, 2000)] plt.plot(MRSP, color = 'b') plt.xlabel('distance [m]') plt.ylabel('MRSP value [km/h]') plt.title('MRSP Test') plt.xlim([0, len(MRSP) - 1]) plt.ylim([0, 150]) plt.show()
[ "cervej23@fd.cvut.cz" ]
cervej23@fd.cvut.cz