blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
a103c0f0debc9626589d08b1f3082d1731ac66ec
8f713987a97033b9bc6b75b95220686e943edf67
/web/views/__init__.py
13ffdb59202ba283b37439fdd223fe9942f0a223
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
alexpatel/mvpaas
95adda033dd3722b9fc3fad5528bacdb72d0db60
dbebd71a691dbc2f83e1e16d59c5a9af11c8d873
refs/heads/master
2021-01-02T23:15:06.789339
2017-08-07T17:14:22
2017-08-07T17:14:22
99,492,620
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
# -*- coding: UTF-8 -*- """ BoGO: views Separate view packages are implemented as Flask "Blueprints" See: http://flask.pocoo.org/docs/latest/blueprints/ Copyright 2017, Anonymous Author License: MIT """ from . import admin from . import auth from . import main
[ "patelalex02@gmail.com" ]
patelalex02@gmail.com
06a9ffa33abf6d1042a27b30cae8aaf4f1dbf069
93c079b2d5e7064ec8394b8a9b5f8d5939981f55
/matplotlib/01_hello.py
e56a63a179e88e678b742a45552a05b3a2ae0041
[]
no_license
SmithHZZ/MachineLearning
04cd5215dbe9fc3eca5b7a527ca80481c209e6b6
d5a614c706c19a03449b8111f0dda04203885045
refs/heads/master
2020-12-24T03:13:11.623556
2020-12-08T09:32:36
2020-12-08T09:32:36
237,362,452
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
import matplotlib.pyplot as plt # 创建画布 plt.figure(figsize=(3, 2), facecolor='lightgrey') # 绘制空白图形 plt.plot() # 划分子图 plt.subplot(2, 2, 1) plt.subplot(2, 2, 2) plt.subplot(2, 2, 3) plt.subplot(2, 2, 4) # 设置中文字体 plt.rcParams['font.sans-serif'] = 'SimHei' plt.suptitle('我是Hello') plt.tight_layout(rect=[0, 0, 1, 0.9]) p...
[ "huzz@zumaxmedical.com" ]
huzz@zumaxmedical.com
5b107b578718c9b0aaa2357f326b690954baa459
5a6128dfb3ade793f23e78e3be469e33a65171dd
/Scientific_Expedition/verigy_anagrams.py
425bd0018d819fc71c8253dd6fb460cf17cffdca
[]
no_license
PeriLara/Checkio
f56ca42ebc6dd7221d1979e96409e52e46e1ee37
737effca3c6b5920825178ba5da0d5d2f865ecb5
refs/heads/master
2021-07-04T21:27:43.460203
2021-01-30T12:28:49
2021-01-30T12:28:49
222,951,037
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
""" An anagram is a type of word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase, using all the original letters exactly once. Two words are anagrams to each other if we can get one from another by rearranging the letters. Anagrams are case-insensitive and don't take acco...
[ "perilara@Laras-MacBook-Pro.local" ]
perilara@Laras-MacBook-Pro.local
d066657a658a5b4bcac8e5964f2e917273576be4
a9a8931d6877d6e0f4f11cbd7b50322819e0fe45
/hpc/REBAGG-SMOTER_43.py
b5ee6bdf31673ae698cb31a019f9f71d1437d5cd
[]
no_license
jafetgado/tomerdesign
8517f9f8266bcf1db64fdf00d12294f682cd412d
a0d0961a11d7d84be5343d374198ab0f5084c2b3
refs/heads/master
2022-05-31T18:15:55.045419
2020-04-25T05:49:32
2020-04-25T05:49:32
258,499,679
3
1
null
null
null
null
UTF-8
Python
false
false
9,399
py
""" Template script for hyperparameter tuning with HPC Evaluates the performance of a strategy for a single set of hyperparameter combinations) """ # Imports #============# import numpy as np import pandas as pd import joblib import itertools from sklearn.tree import DecisionTreeRegressor from sklearn.ensemble ...
[ "japhethgado@gmail.com" ]
japhethgado@gmail.com
0bca67d5dbda5c361751fb8d0161f51039842bca
02ed9f1241e14e60772648158b0f3ad97b5cf56e
/Chapter_19/functionCall.py
98b8dd5ffa6736b6db026975b245a20eb5625fe8
[]
no_license
disp1air/Lutc_M
b8e30b194d11562638621ea4ee6006ef422c496a
7057d4c6905c1b97be332fb5b089e2ad0ced5622
refs/heads/master
2021-05-09T18:26:23.890523
2019-03-03T18:55:06
2019-03-03T18:55:06
119,164,877
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def echo(message): print(message) def indirect(func, arg): func(arg) indirect(echo, 'Argument call') schedule = [ (echo, 'Spam!'), (echo, 'Ham!') ] for (func, arg) in schedule: func(arg)
[ "hola-shola@mail.ru" ]
hola-shola@mail.ru
b60649f4c4b736596cca545ed05537059ce0b28b
92ee07fc0547293ed5104af36811f5b8ba1408c9
/envir/bin/rstpep2html.py
9ad82aaf4ef79f06f47c7fae123e25dfa19db1c4
[]
no_license
Samantha853/CV-App
e29135763b8d1e15309738363c7230da277f318b
481926bdf09c573eb1d7406a32ae4665daa57ef9
refs/heads/master
2023-01-04T20:33:43.091678
2020-10-29T14:02:53
2020-10-29T14:02:53
308,311,789
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
#!/home/botlhale/Desktop/CV-App/envir/bin/python3 # $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 Proposa...
[ "athenkosicetyana@gmail.com" ]
athenkosicetyana@gmail.com
89133a725bf8b4dd09c893b7dcf573b8bc55edc6
734f733f017953ae9236c61296a6cb7c0550475a
/non-overlapping-intervals/non-overlapping-intervals.py
4361fdfaf5d3a85a695d18dc7a53b42f9baf5aef
[]
no_license
piercepatrick/leetcode-solutions
24dc0a62f13d0c4e09f945f05548758c991212fb
07fdae302a5e2548bc2c547de1c0b81c3e5ac0e7
refs/heads/main
2023-08-14T18:38:31.150090
2021-10-05T17:28:10
2021-10-05T17:28:10
343,958,307
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
class Solution: def eraseOverlapIntervals(self, intervals: List[List[int]]) -> int: close = float('-inf') counter = 0 for interval in sorted(intervals, key= lambda x: x[1]): if interval[0] >= close: close = interval[1] else: co...
[ "62151779+piercepatrick@users.noreply.github.com" ]
62151779+piercepatrick@users.noreply.github.com
e08424fb63b30b7e4070d6a0b10bf47cf1c65b6b
dbf6aa7fa7ac1f7527231b4f977ceac4b5b5b8ca
/manage.py
bd8047ffba8d993071b46e8ba54d8289cd508564
[]
no_license
smilejay/music-web
c1919f8ab759aebe39fecad79050864e2e07e7b8
dcfa5ee6eb269182ffa5743bb3045b97fe071a6f
refs/heads/master
2021-01-25T08:48:50.179850
2015-03-17T02:25:20
2015-03-17T02:25:20
26,998,776
0
1
null
2015-05-24T10:48:59
2014-11-22T12:54:08
Python
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "music_web.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "smile665@gmail.com" ]
smile665@gmail.com
c6e6f9bd653b30106c5a7b037e27c646eb369115
b666d9a685b4fa43de71c2cbc87fd3cf6c069e8b
/stock_prediction_lstm.py
d5007f78ded2c73dccf7b4db967cf296a9d91549
[ "Apache-2.0" ]
permissive
devangdayal/G-Research-Crypto-Forecasting-1
c514313044ac315219cac23bbc2523ce2b30af96
e78aca0cb56560b2012262ca0b7e94864d67c42d
refs/heads/main
2023-09-01T09:47:48.162378
2021-11-07T18:29:52
2021-11-07T18:29:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,038
py
# Copyright 2020 Jordi Corbilla. 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 applicable law ...
[ "jordi.coll.corbilla@gmail.com" ]
jordi.coll.corbilla@gmail.com
e213299e3e5936a72fb2811c97f9437e373809c7
f473e5e680dbd89837ad52249f609d0f63491c20
/programming assignment 2.py
e69eff87a57e81b722982356de195e91fa231ea1
[]
no_license
charlieirmiger/AlgorithmsHW
8bf261f4d65c187e3eb9bfbd11f9f520bb46eb69
b757f7c53ec62b3b721b5644d6d0c9ff612eb0b7
refs/heads/main
2023-03-05T01:55:27.620125
2021-02-18T22:18:31
2021-02-18T22:18:31
336,408,380
0
0
null
null
null
null
UTF-8
Python
false
false
5,784
py
#Programming Assignment #2 - Charlie Irmiger - 9/11/2020 #bin counter has time complexity of O(n) def bin_counter(n): count = 0 # print("int form: "+str(n)) n = int(n) # print("Binary form: "+str(bin(n))) n = n % 2**64 bin_val = str(bin(n)) for i in range(2, len(bin_val)): ...
[ "noreply@github.com" ]
noreply@github.com
0345cc899d7cdf7bfb3d3ab7997064d559bf8467
b3d85ec6c62e4052f0034c778abd616befcb6f08
/content/venue.py
cbbdd1607e9773d55514785ef9be01db72b67670
[]
no_license
mikejmets/eventslist
de363451751311b730d0bea6fadbc01f0852f012
52717b572cd28ed962ba28b37ebb5efaa6b3df75
refs/heads/master
2020-05-31T01:08:43.801219
2012-02-08T10:15:11
2012-02-08T10:15:11
32,204,266
0
0
null
null
null
null
UTF-8
Python
false
false
10,241
py
# -*- coding: utf-8 -*- # # File: venue.py # # Copyright (c) 2010 by Webtide (C)2010 # Generator: ArchGenXML Version 2.5 # http://plone.org/products/archgenxml # # GNU General Public License (GPL) # __author__ = """Mike Metcalfe <mike@webtide.co.za>, Jurgen Blignaut <jurgen@webtide.co.za>""" __docformat__ =...
[ "mikejmets@900cab63-ccd9-ce39-b999-59782dc24995" ]
mikejmets@900cab63-ccd9-ce39-b999-59782dc24995
d9d0e43141e2b72654fc0332044fd4bd5edfd710
5ff2ed505223d4d496abb86c08f41fdfd0a9be31
/lab1/script.py
da822fcdda441bf634d8ef42677b15839c83a2e7
[]
no_license
fredford/cmput404
bf4d5095106923baff93fbd50b1e1f2e3117c5d3
9f320dd08a0599a05f664fd987c1e4df7428fc38
refs/heads/main
2023-08-28T19:08:00.619563
2023-08-13T07:30:14
2023-08-13T07:30:14
332,294,932
0
1
null
null
null
null
UTF-8
Python
false
false
298
py
import requests print("Requests version: " + requests.__version__) print("Google status code: " + str(requests.get("http://www.google.com/").status_code)) print("GitHub Python Script:\n") r = requests.get("https://raw.githubusercontent.com/fredford/cmput404_lab1/master/script.py") print(r.text)
[ "fredford@ualberta.ca" ]
fredford@ualberta.ca
70cfde39fc00d4c6dbdb49f823c1d203e72aeaa0
d09ad52c0911a83a5e5a03850bb5371d22446226
/metrics.py
c0c926ae23018f66d249ffebc51658a841faf430
[]
no_license
hzfmer/pyawp
88d0ea24b47aa02a8ef4a89e59335b636a5c205b
aff564d59c1f00ada2755ab239980fbfa0a8d9cb
refs/heads/main
2023-05-08T07:37:53.603933
2021-05-27T18:51:56
2021-05-27T18:51:56
371,476,689
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
import sympy as sp def covariant_basis(x, r): """ Compute covariant basis vectors. Arguments: x : List of mappings of physical coordinates to parameter coordinates r : List of parameter coordinates. Returns: a : Covariant basis (list of vectors). For example, `a[0]` gives the...
[ "hzfmer94@gmail.com" ]
hzfmer94@gmail.com
1133302eb839e5951fd8bf790cf8a3f12f2527bb
ec6b0488af24f6ea3f810732dd1c4a7b4a017fec
/AppEngine/cgimain.py
e70a04a282a0d6e390d9c88b2274b5cb164e2f33
[]
no_license
sanyamc/pythonExplorations
40239703e8b012f7dbcd638ec7ef14a3ca707608
bed27cb2b20e5423657f681b8abf13832f0da79d
refs/heads/master
2023-05-20T01:38:33.006806
2019-10-08T03:57:16
2019-10-08T03:57:16
205,612,571
0
0
null
2023-05-01T20:13:00
2019-09-01T00:57:44
HTML
UTF-8
Python
false
false
194
py
import os print 'Content-Type: text/plain' # done so that browser understands the response type and print it accordingly print '' for env in os.environ: print env ,": " , os.environ[env]
[ "sanyamchaudhary@gmail.com" ]
sanyamchaudhary@gmail.com
50aa70d96d4ecf396fa4b2b1408af5b358224895
78ad0cfccf36500af0bf5bbacd45d5a474cc5d64
/runstat/views.py
681bf4ad225c397b45e8e01c8f0b3632ab9f03ea
[]
no_license
dimadvk/runstat
12207cede383424277c69ac07de12ad467f47cac
ab277666d98abfcb5d5540c864c656d5a18f21dd
refs/heads/master
2021-01-17T14:24:15.931172
2016-08-02T11:25:16
2016-08-02T11:25:16
58,715,892
0
0
null
null
null
null
UTF-8
Python
false
false
6,305
py
"""Views for runstat application.""" from qsstats import QuerySetStats from datetime import datetime import pytz from django.shortcuts import render from django.views.generic import TemplateView from django.db.models import Count from django.shortcuts import get_object_or_404 from .models import GroupMember, GroupPos...
[ "ren-kpi@i.ua" ]
ren-kpi@i.ua
94547a2d5945424fe6d0f40934e69eedc44a5cba
86a017dd4c8d4d77c511cc598190aaa9dc0ae3e8
/data structure/mine_tree.py
50c7743ae9b425ddc25d7aea392e1c7f56c1aff7
[]
no_license
sungguenja/studying
fd7459eb9faa6488d7b63bf3884a92513daf3c54
719f4dfbda211c34de2a0c8cf3b9d3001f29fcec
refs/heads/master
2023-08-17T13:46:44.343780
2023-08-10T11:55:15
2023-08-10T11:55:15
232,306,053
0
0
null
2022-12-16T10:53:26
2020-01-07T11:00:28
Python
UTF-8
Python
false
false
1,713
py
import mine_node from collections import deque def preorder(n): if n is not None: print(n.data) preorder(n.left) preorder(n.right) def inorder(n): if n is not None: inorder(n.left) print(n.data) inorder(n.right) def postorder(n): if n is not None: po...
[ "59605197+sungguenja@users.noreply.github.com" ]
59605197+sungguenja@users.noreply.github.com
bde02ad8a8879bcd4db29dacd4ee4365425387e0
1e1eed0ea0b7cd2329cd8b310e3c127565ede4d0
/python_test.py
cc3a8f691c2fd63a3f71fef3731fb0c1ba694a43
[]
no_license
Observatoriolab/ProcesoNoticiasBCInformeDiario
bbb62e263034741af038ab7a287c167c349e70a3
dc715c84aca4fdf25aa664c57e0238d33e0b870b
refs/heads/main
2023-06-18T06:41:54.487240
2021-07-11T15:53:22
2021-07-11T15:53:22
328,668,961
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
# code import sys import requests from bs4 import BeautifulSoup from csv import writer from requests import get def print_to_stderr(*a): # Here a is the array holding the objects # passed as the arguement of the function print(*a, file = sys.stderr) print_to_stderr("Hello World")
[ "leiser.mahu@usach.com" ]
leiser.mahu@usach.com
9724a2b64d22895b19723a1faba558d6c6fa5e86
6096f8b6689fa3c967eb459e0506819a4be3d059
/examples/QKD/qkd.py
6e67eb939df2a18d4b1099cb3bc4691b148a02c8
[ "MIT" ]
permissive
zeroegg/QuNetSim
cefa837000aa94f0099f8e5d44cff0d939162e0e
24239c3881f1d14c6a10e466c2f833b3dc0bd35f
refs/heads/master
2022-12-03T07:22:43.534515
2020-07-16T09:00:57
2020-07-16T09:00:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,762
py
import numpy as np import random from qunetsim.components import Host from qunetsim.components import Network from qunetsim.objects import Qubit from qunetsim.objects import Logger Logger.DISABLED = True wait_time = 10 # !! Warning: this Crypto algorithm is really bad! # !! Warning: Do not use it as a real Crypto ...
[ "AnirbanHFX@users.noreply.github.com" ]
AnirbanHFX@users.noreply.github.com
1b48c2c801138d4194a45b77645531339d867313
2d6847bdd4543a495fcb3acab42d8c0cad93be17
/Problems/A simple expression/task.py
aba5880e00a90dbb39e19cb01e4fcd466cc95cda
[]
no_license
HectorZetino/PythonPractices
9dc2ed3cec14b30b9f7e04eedc1b31ff2f56978f
6fbbcae44e8fd57684b9b8621af7ab2809c60ade
refs/heads/master
2022-11-24T14:09:07.512456
2020-07-31T01:35:37
2020-07-31T01:35:37
279,436,510
1
0
null
null
null
null
UTF-8
Python
false
false
119
py
# work with these variables a = int(input()) b = int(input()) c = int(input()) value = a * b sub = value - c print(sub)
[ "h.rzc.zetino@hotmail.es" ]
h.rzc.zetino@hotmail.es
83da652419481dabdaf24f5404e72bfbfac9a22c
6699b8944b71e86725fdc17bb5f9cd69e254b4eb
/yelp/multipleAnagrams.py
60f739bd5af1aa575d1efe9634c7866e8c50d1db
[]
no_license
jadesym/interview
6099e663090408f548b4f4b0b17ae90bb60a7d46
5b6eecedfa1c7e496bcfe852e2d3896e993ff16e
refs/heads/main
2023-01-07T21:56:59.063542
2022-12-30T20:13:34
2022-12-30T20:13:34
41,118,644
7
2
null
null
null
null
UTF-8
Python
false
false
1,319
py
# test cases 2, 6, and 7 should fail # 20 Minutes was give on this problem # print 'true' if all inputs (could be more than 2) are anagrams of each other. print 'false' otherwise # Example Input: # acme # came # mace # # acme, came, and mace are anagrams because each contain 1 a, 1 c, 1 m, and 1 e # Exam...
[ "kevin.fu808@gmail.com" ]
kevin.fu808@gmail.com
ffe05317dc06d9997163e1418a54c24f60a49031
fb0f6646b2a7972454453907fbdc656b7471f55f
/p260_file_read.py
8c4892ed1674aecd1e9a19996f1fc807b08cae99
[]
no_license
woojin97318/python_basic
6497d5c85369746edfe8ca79ad7f3f47c871ee66
97e9a322a08f1483bf35dc03507ac36af2bf1ddb
refs/heads/master
2023-07-15T03:06:05.716623
2021-08-25T03:46:48
2021-08-25T03:46:48
399,681,125
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
# 파일을 엽니다. with open("basic.txt", "r") as file: # 파일을 읽고 출력합니다. contents = file.read() print(contents)
[ "woojin97318@naver.com" ]
woojin97318@naver.com
92ddf5fae9b43efdb1c307b28dee8ff189c8154d
c2f82f21eb2733a8bf648e0b5fb4c531ba98e6b5
/mysite/mysite/settings.py
21b7e8c45aeb8fa25390fa2dc3795d9ead3f5edd
[ "MIT" ]
permissive
wasp33/BeidaKTV
09e6f7822952142f3ab6f0f7ee5c7c6260573559
f4ee568b82489f5d9de91649814536a1140577f3
refs/heads/master
2023-07-05T08:55:06.871076
2023-07-03T13:31:04
2023-07-03T13:31:04
275,689,302
0
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "drowsy.liu@gmail.com" ]
drowsy.liu@gmail.com
a2da708e8a915c36cec79c4906017ccb3ea8061e
9568292e65670cc295a20f97f20593a3439aef77
/python/cluster_methods/cluster_profile.py
b46fb885a57aea9784368cf030229206d8f7df02
[]
no_license
jodarie/python_lib
c7f707d85111dca4e9d233c39b66311372f1cd24
c6f0ac1b4586691c4b1db80da4d7610daa78fff4
refs/heads/master
2020-04-11T04:25:53.420339
2015-07-08T10:15:52
2015-07-08T10:15:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
## @file cluster_profile.py # # CLUSTER PROFILE FUNCTIONS # # Functions for analysing cluster profile. # # @author Samuel Farrens # @version 1.0 # @date 2015 # import warnings import numpy as np from scipy.stats import chi2, chisquare, ks_2samp, anderson_ksamp from scipy.optimize import minimize, brute from func...
[ "samuel.farrens@googlemail.com" ]
samuel.farrens@googlemail.com
2e5923958751997de7a31f882f59feb24638e206
7430f5ab33deb70eba4e65120a1f118fdfbfed4b
/Perceptron de uma Camada/Perceptron_2.py
5143a2a96bf55c444ef472e8ce5b31cf4d18fcb6
[ "MIT" ]
permissive
filipeaguiarrod/Redes-Neurais-Artificiais-em-Python
9eababd0ba247a0d9aba19d0481afaae502137fe
11d3b27d1f456aae1412e2e333bad3dad6edcc03
refs/heads/main
2023-02-11T07:29:29.633313
2021-01-05T16:18:44
2021-01-05T16:18:44
327,052,061
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# -*- coding: utf-8 -*- """ Created on Sun Aug 9 13:30:54 2020 @author: rodri """ # Otimizando Percpetron com numpy (soma) import numpy as np # Entrada e pesos e = np.array([-1,7,5]) #np.array cria um array do numpy. p=np.array([0.8,0.1,0]) # Simulando função soma do perceptron def soma(e,p): return e.d...
[ "filipeaguiarrod@users.noreply.github.com" ]
filipeaguiarrod@users.noreply.github.com
e45ffa21bf35454f51c22e5d6ecb3e65e31004c0
fdc9cd062021a182900338228f70ca3bb13de9ec
/Lesson5/hw05_normal.py
6aacb2eb17a6cc61fa6dfa4559300259f52b4ec8
[]
no_license
AndreyU123/Python_Language_Basics-Lessons-Home_works
4d7350d6e03ddc256ead8ff3366d63a66c086c57
7c5d7f20a8ab51dc6654ed6bd875f5d452b371a8
refs/heads/master
2020-05-17T14:09:03.168988
2019-05-26T15:24:56
2019-05-26T15:24:56
183,756,099
0
0
null
2019-05-26T15:28:52
2019-04-27T09:56:21
Python
UTF-8
Python
false
false
2,521
py
# Задача-1: # Напишите небольшую консольную утилиту, # позволяющую работать с папками текущей директории. # Утилита должна иметь меню выбора действия, в котором будут пункты: # 1. Перейти в папку # 2. Просмотреть содержимое текущей папки # 3. Удалить папку # 4. Создать папку # При выборе пунктов 1, 3, 4 программа запра...
[ "ukladnikovandrey@yandex.ru" ]
ukladnikovandrey@yandex.ru
ba137e225ffcd1d84491f193ce1d730f525ac753
6781266e8bc647be68c2457a7e0828d8289c5f47
/fnc4ADXF2Shape.py
f258a864834b13de8845d6cbd33c149f9cdc86bc
[]
no_license
EZUSoft/AnotherDXF2Shape
39d4bf7398499eb80b870b798e11a5ae6efbba66
f1bfde2c0db22bbfa5703cce761c706e888f1ccc
refs/heads/main
2023-05-13T22:31:59.149757
2023-05-03T09:05:29
2023-05-03T09:05:29
62,165,883
9
2
null
null
null
null
UTF-8
Python
false
false
2,253
py
# -*- coding: utf-8 -*- """ /*************************************************************************** A QGIS plugin AnotherDXF2Shape: Convert DXF to shape and add to QGIS copyright : (C) 2020 by EZUSoft email : qgis (at) makobo.de ***********************************...
[ "noreply@github.com" ]
noreply@github.com
442688e008074047d9bebfb25ce0c4caee87c561
b6501328e6f871a17cde63e0bfdffcf8ac7043c7
/test_work.py
58c7273d836cea437921f74a2ba32b19baaf47ff
[]
no_license
caoxiaozhidezhi/study-test
e68568670e0aa4814986cc5b09486fd0b0e0cf81
09a4d32529a239f6befbe9335e0f6f4b0ea96333
refs/heads/master
2021-04-03T09:42:34.163393
2018-04-17T01:26:46
2018-04-17T01:26:46
124,985,270
0
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
# _*_ coding:utf-8 _*_ from functools import reduce # ==利用内置函数chr(),ord()以及random模块写一个简单随机4位验证码== import random tmp = "" # 随机码的变量 for i in range(4): # random.randrange(start, stop, step)返回指定递增基数集合中的一个随机数,基数缺省值为1。 n = random.randrange(0, 2) # 成随机数1或0,用来判断下面,是生成随机数字,还是字母 if n == 0: num = ra...
[ "1029565222@qq.com" ]
1029565222@qq.com
4b952cfdba41a29ab3d40ca5b6912061c37405b0
6ba3bc9792e254e0452050425c1aa36d6b2a61f4
/pow_test.py
dcfe053d57ed1e394d4e7194a058a5df749d9872
[]
no_license
uncletong/COMP5311_IIPCion
b0afe062161a2ee11fe4a7661045c7487bce1cbb
27ea7ccd2babcb257fc4cfc98b1dfbedf4b4a2d9
refs/heads/master
2020-04-04T02:06:30.470883
2018-12-04T06:32:40
2018-12-04T06:32:40
155,689,406
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from hashlib import sha256 import datetime print('------start------') start = datetime.datetime.now() a = 0 while True: b = sha256(str(a).encode()).hexdigest()[-6:] if b == '000000': break a = a + 1 print(sha256(str(a).encode()).hexdigest()) print(a) end = datetime.datetime.now() print((end - star...
[ "tong@stumail.nwu.edu.cn" ]
tong@stumail.nwu.edu.cn
9a09f5b51e8fa36263109fb6373db5074e8069e7
a11939df2aeea4e6ff54ac2678c941c2a1a0052b
/.arch/call_flow_charting.py
d48317eb34616a72b36b1281159ef05a59617fc8
[ "BSD-2-Clause" ]
permissive
AXGKl/docutools
70198e596763f126dd009883428fdc8d16b262db
e715c30a87280bf7a8c59f26d0816b73fffdee4c
refs/heads/master
2023-08-10T20:33:52.784679
2021-10-04T22:09:54
2021-10-04T22:09:54
366,191,449
3
0
null
null
null
null
UTF-8
Python
false
false
6,356
py
from theming.formatting import markdown from theming.formatting.viz_sequence import Mermaid, Plant from devapp.tools import write_file, project import json vizs = {'plantuml': Plant, 'mermaid': Mermaid} def make_call_flow_chart(flow, d_dest, fn=None, viz_name='plantuml', ILS=None): """ - flow from original I...
[ "gunther.klessinger@axiros.com" ]
gunther.klessinger@axiros.com
b70fe5fe1aa3a94ea7853606ca9712b4bb96da96
39b4397767371b6f978287e7bae80fc983a1163f
/nebula3/graph/ttypes.py
69c7f9eb1143084a44e853d711ad032b287df7d1
[]
no_license
vesoft-inc/nebula-python
a8fa80a104a70a3ca3ba2cf1dccdc2c67905c2e1
1fe9a44aa7b0f9fdfc35fec12af63e30d7f3546e
refs/heads/master
2023-08-06T02:47:24.445679
2023-07-24T07:42:31
2023-07-24T07:42:31
214,361,893
163
76
null
2023-07-24T07:42:33
2019-10-11T06:37:53
Python
UTF-8
Python
false
false
57,318
py
# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # from __future__ import absolute_import import sys from nebula3.fbthrift.util.Recursive import fix_spec from nebula3.fbthrift.Thrift import TType, TMessageType, TPriority, TRequestContext, TProcessorEventHan...
[ "noreply@github.com" ]
noreply@github.com
36a524eddcd8d89d6f280c017fdc5cccda929a36
ebd1f217d89d9963684dc18b11e38aa90cdf64a1
/hundred_days/admin.py
3e9175e4f9b99e70fb2ad4e00bc2184e47cfeaa8
[]
no_license
emmanuelcodev/portfolio_django
28cf75fa97531735809b86fb274e3ff8b30134f2
535ab838e1e179a255afb5e8fd3ec452e8fdb478
refs/heads/master
2020-03-23T04:14:31.573866
2018-09-06T01:05:43
2018-09-06T01:05:43
141,071,947
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from django.contrib import admin from .models import HProject # Register your models here. admin.site.register(HProject)
[ "emmanuel.adw@gmail.com" ]
emmanuel.adw@gmail.com
8cd6761ddd03ae43a68fa8191fc22e926b2fcefd
016c0feb5e657f0aeb7f93b9b8468d56eb77a72b
/Scripts/CreateEpisodeGUI.py
29b2ad0c72ba7d81c575bef7ebe8238a53141c1d
[]
no_license
nluongo/ShowApp
add026f19ef2d731e2c4e98c4d56b7d0fceb6cf1
dccafb6e1c757c4332191a969016219ba8474e7b
refs/heads/master
2020-04-01T03:42:29.253115
2018-10-20T05:31:34
2018-10-20T05:31:34
152,699,191
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
from tkinter import * from TableTester import * def show_result(): resulttext.delete(1.0, END) resulttext.insert(INSERT, EpisodeFromShow(e1.get())) window = Tk() window.title("Random Episode Generator") label = Label(window, text="Enter your show:") label.grid(row=0, sticky=W) e1 = Entry(window, width=22) e1....
[ "nluongo@gmail.com" ]
nluongo@gmail.com
fc5b92b4ab95fe210cc599056cb9cc793811d72c
d67c252e76ae9f9d6a71d93847a13ba0b296a1bc
/day_2/module_4.py
2f953015be70eede041201e4cf02892ecc45d8be
[]
no_license
ritacoimbra8/day_2
fad3b5d997f96952f3d986bc3c13fd07866a4e2c
6d70ab12fb507ec11fc5f96e0a4ddc2cd1e7196d
refs/heads/master
2021-05-03T06:26:15.527802
2018-02-06T17:30:05
2018-02-06T17:30:05
120,490,005
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
''' Created on 06/02/2018 @author: rita ''' import utils import time def count_down(valor): for i in range(valor, 0, -1): print(i) time.sleep(1) # faz pausa de 1 segundo no ciclo print('final') if __name__ == '__main__': while True: valor = input('Introduz um valor ...
[ "rita@rita-TravelMate-P258-MG" ]
rita@rita-TravelMate-P258-MG
93cdae512cf458fe26263ccfd8795b2587eed450
e074be8c042a872c3c97abe6e01ccaad101f0564
/appr/models/kv/etcd/blob.py
17855f9cedc685bea9cfb1616fc8beca065f1a7e
[ "Apache-2.0" ]
permissive
quay/appr
1a8f80a4a3fcaf92403cae3cba27a5fc29aeea8f
8e3dc3417c3b43eacb6ebe9543155b3586a75146
refs/heads/master
2022-07-13T22:59:24.023665
2022-07-05T20:54:56
2022-07-05T20:54:56
233,668,674
1
2
Apache-2.0
2022-07-05T20:54:56
2020-01-13T18:50:19
Python
UTF-8
Python
false
false
238
py
from __future__ import absolute_import, division, print_function from appr.models.kv.blob_kv_base import BlobKvBase from appr.models.kv.etcd.models_index import ModelsIndexEtcd class Blob(BlobKvBase): index_class = ModelsIndexEtcd
[ "2t.antoine@gmail.com" ]
2t.antoine@gmail.com
75b2c47dd93ebd3ea74f92e4e6b85e046f821ab6
5a34cdf641aceef65a4bcd6a0d347527d978381f
/scratch.py
4c57cb4159c1101dd5289f6a10c6a8cd6a2e1e6a
[]
no_license
grayjac/Controls
2d1b11d624eb433c1a34dd7d547157dea79c31bd
1e3cf8162ee775c43c041abd00c133c244a6567a
refs/heads/master
2022-05-17T10:06:47.618226
2020-04-26T18:29:14
2020-04-26T18:29:14
258,014,967
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from analysis import T_s from analysis import backwards_filter heyo = [0, 1, 2, 3, 4, 5] time_data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] position_data = [0, 10, 11, 8, 6, 4, 3, 11, 3, 2, 3, 3, 3] print(backwards_filter(heyo, 4))
[ "grayjac@oregonstate.edu" ]
grayjac@oregonstate.edu
35950c8356581390bba8855f424cf6e26e3c6bc5
7dc65b6d2e857c807bd2f75e2586af5f8e933fe5
/scripts/securitygroup/test_regression.py
574e5de1f23065be99d681f0425ed5fae7b1fe47
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
vkolli/contrail-test-perf
d6fdc20f4a2004066c5a6316afd915ecdc9366c2
db04b8924a2c330baabe3059788b149d957a7d67
refs/heads/master
2021-01-18T15:36:18.120487
2017-03-30T19:19:30
2017-03-30T19:19:30
86,661,522
1
0
null
null
null
null
UTF-8
Python
false
false
111,564
py
import unittest from tcutils.wrappers import preposttest_wrapper from vnc_api.vnc_api import NoIdError from verify import VerifySecGroup from policy_test import PolicyFixture from vn_test import MultipleVNFixture from vm_test import MultipleVMFixture from base import BaseSGTest from common.policy.config import ConfigPo...
[ "root@5b3s45.contrail.juniper.net" ]
root@5b3s45.contrail.juniper.net
c855d27252c4e9895ee1840feea6785bdd2d0d86
17c8928215e60e57b711e8ebe9bea526e424552a
/server/user.py
2eaa70dec292a06c83e351e7556a5d175f8ae258
[]
no_license
wangfpp/active
e1d0bb4c66acb0a628903b4d02d578cb55b09fa9
31e6394010d12fa65da4a51e37e9d7cb514c4b55
refs/heads/master
2020-04-07T23:19:56.737408
2018-12-07T13:05:51
2018-12-07T13:05:51
158,807,969
6
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
# -*- coding: utf-8 -*- # @Author: wangfpp # @Date: 2018-11-21 15:22:53 # @Last Modified by: wangfpp # @Last Modified time: 2018-11-21 15:24:11 #desc 用户管理 from tornado import web,ioloop import uuid import pymysql import json db = pymysql.connect('172.16.1.60', 'root', 'ddkk1212', 'dinner', charset='utf8') def byt...
[ "wangfpp@gmail.com" ]
wangfpp@gmail.com
68717c72dc0d4f2c33bd500983a9437f5e933a2b
b05b89e1f6378905bbb62e2a2bf2d4f8e3187932
/reverseLinkedListRecursive.py
99ef5fe1734f0dd94fb91ef0d068505c0e4d5a81
[ "MIT" ]
permissive
anishmo99/Daily-Interview-Pro
c959cd336209132aebad67a409df685e654cfdfc
d8724e8feec558ab1882d22c9ca63b850b767753
refs/heads/master
2023-04-10T08:09:46.089227
2021-04-27T07:27:38
2021-04-27T07:27:38
269,157,996
1
1
MIT
2020-06-08T07:09:19
2020-06-03T17:57:21
C++
UTF-8
Python
false
false
471
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def reverseList(self, head: ListNode) -> ListNode: if not head or not head.next: return head else: new_head =...
[ "ani10sh@gmail.com" ]
ani10sh@gmail.com
7f08de5fc9d940f912450c7c8a1c200a3d404b56
21f38f1a9f6d4edfa3b233697e17d86f30b168ce
/janeway/migrations/0002_add_releases_and_credits.py
8046d7841d026120c8fed38e386d74af867f80ff
[]
no_license
m100bit/demozoo
3734d0126a6f0bd9ff98128a4350e40b22cdd8a3
93918da57e7cb96a0d2f724e5a876406d3477891
refs/heads/master
2023-03-14T05:34:20.323613
2023-01-27T23:10:32
2023-01-27T23:23:52
232,933,218
0
0
null
2020-01-10T00:32:53
2020-01-10T00:32:53
null
UTF-8
Python
false
false
2,068
py
# Generated by Django 1.11.8 on 2019-07-11 16:07 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('janeway', '0001_initial'), ] operations = [ migrations.CreateModel( name='Credit', ...
[ "matthew@torchbox.com" ]
matthew@torchbox.com
73446be50d7bc2058cf047559cf8f880901e74ab
8e2136416b393121fcd8560d7e26c392ec80a46a
/main.py
2bccdbca16b06a5b1b29544d536a7d0cd75a079c
[]
no_license
afdaapala/belajartelebot
48f9e28eb77df48c4d81dd51deea8edf1049bd7c
3c8adebbe810103cdda5f325086505ac6e9c92bd
refs/heads/master
2023-04-12T20:37:18.265873
2021-05-08T08:21:41
2021-05-08T08:21:41
365,459,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
import os import telebot import requests from bs4 import BeautifulSoup as bs my_secret = os.environ['api telegram bot'] bot = telebot.TeleBot(my_secret, parse_mode=None) kode = { '0': ' Cerah / Clear Skies', '1': ' Cerah Berawan / Partly Cloudy', '2': ' Cerah Berawan / Partly Cloudy ', '3': ' Berawan / Mostly Cloudy'...
[ "" ]
2213beae53ae1268c27e07236a38326cee905a2b
0654aee8886fa90c392199f033153e153762a4ba
/test_dataset_23June/medium/plot_sr_emh.py
ed33a0bd637a276b7ea138a6a3550367e5b5ff14
[]
no_license
vernwalrahul/WorkSpace_RF_2D
8da0fc43135345c45a5526a7ac3a0103937a30d3
89ec66edef2125ab4eef4680b0f7557b93d064e1
refs/heads/master
2021-09-18T12:02:06.284332
2018-07-13T22:21:25
2018-07-13T22:21:25
137,424,345
0
0
null
null
null
null
UTF-8
Python
false
false
2,307
py
import matplotlib.pyplot as plt import numpy as np p5_rf_h_matrix = np.loadtxt("p5/RF_h_1_pl_matrix_lmbda1.txt") p7_rf_e_matrix = np.loadtxt("RF_e_pl_matrix_lmbda1.txt") p7_rf_m_matrix = np.loadtxt("RF_m_pl_matrix_lmbda1.txt") p7_rf_h_matrix = np.loadtxt("p7/RF_h_3_pl_matrix_lmbda1.txt") sp_e_matrix = np.loadtxt("SP...
[ "vernwalrahul@gmail.com" ]
vernwalrahul@gmail.com
72e2fcfbb76d5a1d4fb73429bfb74f16b9b05390
30f15a184450d6e914ac16375e674cc2f993b9ce
/programming/language/dotnet/gnome-sharp/actions.py
268d7860bace274099fb3b431100d003db3c60c0
[]
no_license
Erick-Pardus/2013
9d0dd48e19400965476480a8e6826beb865bdb2e
80943b26dbb4474f6e99f81752a0d963af565234
refs/heads/master
2021-01-18T16:57:58.233209
2012-10-30T20:35:42
2012-10-30T20:35:42
6,467,098
2
0
null
null
null
null
UTF-8
Python
false
false
861
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get ...
[ "gokmen@pardus.org.tr" ]
gokmen@pardus.org.tr
fb0f05b18193096057a58f016c4df104e5553130
b206aeeb99d27a18f1d5579d1944e3b7a9938194
/utils.py
a30ccf61b7d84b2ed4a5292664adf3850e44db35
[]
no_license
EmmanuelSchaan/cosmic_tunes
2ee4d23649d85f6c9cfe4cd35e697dcb2904016d
97c217c9e322f3bc323566ab96abf1652a220fdd
refs/heads/master
2022-05-20T08:31:48.054029
2022-05-12T20:29:16
2022-05-12T20:29:16
139,657,882
1
0
null
null
null
null
UTF-8
Python
false
false
8,332
py
from headers import * ################################################################################## # Mathematical functions def W3d_sth(x): """Fourier transform of a 3d spherical top hat window function. Use x = k*R as input, where R is the tophat radius and k the wave vector. Input and output ar...
[ "emmanuel.schaan@gmail.com" ]
emmanuel.schaan@gmail.com
7d9c3a846f0339b1848c83692e73bc99db08c445
93360fa3fe34e0765d6402e3183a8a5fa12022cf
/build/lib/pyqq/rest.py
eee7d3914214a2cfda7ab9f589dec303facd22d3
[]
no_license
spaceone/pyqq
a983b753f907f97ebf082e8ed81f6e1157dcd4dd
59b993969311b5deacc3a1f81126dd7d90d128e4
refs/heads/master
2021-01-16T19:10:01.951003
2015-09-18T08:03:41
2015-09-18T08:03:41
42,707,845
0
0
null
2015-09-18T08:00:56
2015-09-18T08:00:53
Python
UTF-8
Python
false
false
490
py
#coding:utf8 import httplib2 import urllib def Get(url,params,headers): h = httplib2.Http() urlparams = urllib.urlencode(params) url = url+'?'+urlparams resp, content = h.request(url,method='GET',headers=headers) return resp,content def Post(url,params=None,body=None,headers={}): h = httplib2.Http() if param...
[ "kulasama@gmail.com" ]
kulasama@gmail.com
4d596629b3b0d191c5676c9dae17d7742f599003
ca304debf183fec1f06286345e1b3309e7138810
/tahoe-viz/setup.py
67fe61cad3d4ba9cb73d2cf6a373da9af25459f9
[ "Apache-2.0" ]
permissive
genolake/tahoe
458af4b72586af2e1855386840595ae007ced73d
c9cab1848f7b2afc8055325f8076d2d60706ea23
refs/heads/master
2022-02-11T05:34:35.904690
2019-11-06T02:37:01
2019-11-06T02:37:01
219,651,510
0
1
Apache-2.0
2022-01-21T20:06:53
2019-11-05T03:40:36
Python
UTF-8
Python
false
false
6,095
py
from __future__ import print_function from setuptools import setup, find_packages, Command from setuptools.command.sdist import sdist from setuptools.command.build_py import build_py from setuptools.command.egg_info import egg_info from subprocess import check_call import os import sys # parse_requirements() returns...
[ "bwang@smsassist.com" ]
bwang@smsassist.com
33de874652b73f8869662976b2648badc2c27863
8d7b408f990025860c1d5cd01db6f07edd72780a
/backend/scrapy_crawl/scrapy_crawl/items.py
3382f4e02dbf9a335bf7135321b1ef8569719111
[]
no_license
tyler-a-cox/recipe-app
7cfcb4acae065e1bc5ffe82b5a869d47ce35c18e
e14de81dc7a51d3bcc6608ad9ffe0104a629ac65
refs/heads/main
2023-07-04T10:16:59.142134
2021-08-02T07:50:26
2021-08-02T07:50:26
388,912,241
1
0
null
null
null
null
UTF-8
Python
false
false
267
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class ScrapyCrawlItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "tyler.a.cox@berkeley.edu" ]
tyler.a.cox@berkeley.edu
d2925dd64958e0c6ac2de96bfa2888302fe822bc
0722301f27bb20ab42400fa90a8a5254d20a421f
/lesson49.py
ac52423513a53d31016a113f98c0469837b668d5
[]
no_license
poliarus/Stepik_Python_course
c21ffa6a9e7736adf824f8839715f3e629f2f8ac
c270d0968028f98455353cbf923883aa5313f7c6
refs/heads/master
2020-09-16T13:20:12.406254
2019-11-24T17:46:31
2019-11-24T17:46:31
223,782,638
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
n = int(input('Enter number:')) count1 = 1 count2 = 0 num_print = () globul_count = 0 while globul_count != n: num_print = count1 while count2 < count1: count2 += 1 print(num_print, end=' ') globul_count += 1 if globul_count == n: break continue count1 += ...
[ "polyarus13@gmail.com" ]
polyarus13@gmail.com
81a2b3a660306d3ce8d1fc1bf3644db2c071812a
b06095216818978adc3f3b47b5d30e0d81393a62
/test_odeintw.py
610f72b15d0cb1a0f35b0d1d6a03be23f5033a3f
[ "LicenseRef-scancode-other-permissive" ]
permissive
ankitsahay02/NetworkSynchronization
f7e114df5bf77451ea794a2290e5250722a249f8
48f0c115626637363dbcd77bcbff977a475d06a8
refs/heads/master
2022-03-04T05:24:35.418966
2019-11-06T14:05:56
2019-11-06T14:05:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ *Copyright (c) 2015, Warren Weckesser* All rights reserved. See the LICENSE file for license information. odeintw ======= `odeintw` provides a wrapper of `scipy.integrate.odeint` that allows it to handle complex and matrix differential equations. That is, it can so...
[ "noreply@github.com" ]
noreply@github.com
14759d6d2f7a03405d7cb584195d3b3f93b8eeeb
4b792af7df1b9444994bb9c08d96046ca826387f
/libs/etc/variable_sets.py
74c8368b6e0ba527eef8d21730e865a7f60f7d42
[]
no_license
JeerapatChula/TrafficControl_HDMPC
83f5715d618916b4d36e8e3a5da41e9f75e53455
e7bea4efe56c2801f0150841996d185bb5053c0f
refs/heads/master
2021-07-07T21:03:49.282622
2020-10-20T11:12:32
2020-10-20T11:12:32
195,510,008
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
class VariableSet(): def __init__(self, key='', amount=1, values=[]): if len(values) == amount: for x, y in zip(range(1, amount+1), values): name = '{}{}'.format(key, x) exec("%s=%s" % (name, y)) else: for x in range(1, amount+1): ...
[ "jeerapat.jitnuant@gmail.com" ]
jeerapat.jitnuant@gmail.com
30fc81e3450db9c9effaf08cd8ee119875de164a
f5627a74bb6b8923b639fad71033b18c047cd32e
/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py
d973bb13b2066ad7063a3f8a711ebea404827206
[ "BSD-3-Clause" ]
permissive
fanarm/catapult
49c02ffede981ef07b13069f5ce7483e17e4c3e8
26750ce5fe46882abb4e72dd488a1a08a2352b0f
refs/heads/master
2021-01-15T13:14:38.301954
2016-09-20T10:28:20
2016-09-20T10:28:20
66,614,707
0
0
null
2016-08-26T03:48:41
2016-08-26T03:48:40
null
UTF-8
Python
false
false
3,845
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging from battor import battor_error from battor import battor_wrapper from catapult_base import cloud_storage from devil.android import battery_u...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
901fe8a813695c550d98496994751d21d9b19980
c462fcabbc7b9c9e54883fbfb94ab8a86b966476
/ps9/repops9.py
189891a077be45e991bde1ef5701f3591567961f
[]
no_license
kendrarepo/SI106
1243ec21a7e7dd983bc6aeb608a172ecc195aae8
2224a7d9e2a57141f6949a689bb3f7be4170eb9e
refs/heads/master
2020-12-24T11:52:43.633202
2016-11-07T18:32:42
2016-11-07T18:32:42
73,108,439
0
0
null
null
null
null
UTF-8
Python
false
false
19,544
py
__author__ = 'Sam Carton and Paul Resnick' import pyglet import random import math debug = True ## Starting with the basepong, make a Breakout game. # 1) Make a 1-player Pong game where the right-most wall just relfects the ball back intead of scoring a point. # We have already changed the ball's start...
[ "kjrepo@umich.edu" ]
kjrepo@umich.edu
3e887f8b0208aa13cfe0c9bd6b32aff3130e5636
9896386125553b98f33259e1ae2f94986e28a941
/elementary.py
33569a01be41b325ed0f2d06804b291aa3fd1e8f
[]
no_license
erdavids/Elementary-Automata
8a24e2634bacddd5313bd75002ae2d64425f662f
ce398e58cf258e284ef402fe3866c1642da09860
refs/heads/master
2020-07-06T14:48:00.084832
2019-08-18T21:07:12
2019-08-18T21:07:12
203,056,380
3
1
null
null
null
null
UTF-8
Python
false
false
2,461
py
import cairo, sys, argparse import math, random, copy float_gen = x = lambda a, b: random.uniform(a, b) # Favorites: 73 rules = { (1, 1, 1):0, (1, 1, 0):1, (1, 0, 1):0, (1, 0, 0):0, (0, 1, 1):1, (0, 1, 0):0, (0, 0, 1):0, (0, 0, 0):1 } pallete1 = [ (112, 181, 171), (220, 109, 7...
[ "erdavids@ncsu.edu" ]
erdavids@ncsu.edu
517bf2cc60166a4812ea13c9e3e2cc801ddb2d14
477bb406839cab47d1ea7f097279e38037a77997
/solutions/day10.py
23b4ef1d6abb78cf2ba1685bc3acac137c93f44f
[ "MIT" ]
permissive
rds504/AoC-2020
3de9d935456fd28e471f14f5894f4d49a3f3f344
3901a22863ed4479a8cd02f2fa5ea55d5f1f5739
refs/heads/main
2023-02-06T07:15:43.466008
2020-12-25T05:37:32
2020-12-25T05:37:32
318,745,233
0
0
MIT
2020-12-25T05:37:33
2020-12-05T09:05:50
Python
UTF-8
Python
false
false
719
py
from tools.general import load_input_ints adaptors = sorted(load_input_ints("day10.txt")) chain = [0] + adaptors + [adaptors[-1] + 3] diff1, diff3 = 0, 0 for i, a in enumerate(chain[1:]): diff = a - chain[i] if diff == 1: diff1 += 1 elif diff == 3: diff3 += 1 print(f"Part 1 => {diff1 * d...
[ "8250802+rds504@users.noreply.github.com" ]
8250802+rds504@users.noreply.github.com
04779e5dbbb536fdd9358dad3fc17f436d3c2771
79b50d5fc3cf673ead3a5b33313504d638269df0
/refSeqAlignment.py
1e749fcfda15f7ec072081a426de6895172c689b
[]
no_license
elliekim312/Python_refSeqAlignment_NGS
af0888bfa69bc76ae9a347a8971abef3efb28b7b
efb3b2023515fbd2d726ce298f4c602ada329adc
refs/heads/master
2023-05-23T13:20:11.340162
2021-06-13T23:47:38
2021-06-13T23:47:38
241,481,954
0
0
null
null
null
null
UTF-8
Python
false
false
16,100
py
#!/cm/shared/Tools/python/anaconda/bin/python ## RefFlat Mission ## Coding by Eunjung Kim ## Date: 2017. 08. 28 from __future__ import print_function from sys import argv from scipy import stats from decimal import* import os, operator ## Open hg19 data cwd = os.getcwd() #start path from the current location ...
[ "noreply@github.com" ]
noreply@github.com
5ebad108aa08b0df88d4179716441bb90bf38f5d
fe982725469f6b43be9f0774dab23f8e46b949a7
/palak/logging_component.py
6e0f7ae9e4a307c3deafec589d7ebf2a2f7e39b6
[]
no_license
Lakshya-droid/Crypto_Trading-Bot
9f4ff9e6b95aa1cfdcae5c39c82dc40ea6b3cb72
3d28a2d6814aa4e892d4c8b6753e75268e81d69a
refs/heads/main
2023-05-09T21:08:35.725049
2021-06-11T14:42:46
2021-06-11T14:42:46
372,944,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
import tkinter as tk from datetime import datetime import pandas as pd class Logging(tk.Frame): def __init__(self,mod, *args, **kwargs): super().__init__(*args, **kwargs) if mod=="on": self.BG_COLOR = "gray12" self.BG_COLOR_2 = "#1c2c5c" self.FG_C...
[ "noreply@github.com" ]
noreply@github.com
9b7d7ff0fef6c8d28943e6e8b4c7ba57787ce5a9
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/implementation/백준_웰컴.py
4ead3ab821977dbf627364ad7c5fb431c2ca1181
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
141
py
# . . . # | | _ | _. _ ._ _ _ # |/\|(/.|(_.(_)[ | )(/. print('. . .') print('| | _ | _. _ ._ _ _') print('|/\|(/.|(_.(_)[ | )(/.')
[ "galid1@naver.com" ]
galid1@naver.com
d4e26cc35c776c42325d073d231414623a4b0b84
e3b05cf8f28fc96e73caa42d5ea986dcd782db00
/src/mapGeneration/simpleByteFileCreator.py
3d5895ebbbe026467a993a6c9f483e4e9477ac9a
[]
no_license
moritztiedje/lionfish
5317e30b857ec72bee9572ca4a1c1df291bf35e3
b16ba9786d4a03deef5b87f470302164e8e2b669
refs/heads/master
2021-01-11T15:29:39.896822
2019-05-24T20:43:55
2019-05-24T20:43:55
80,356,956
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
landSize = 4 area_map = [] coastline = [] for _ in range(landSize + 2): coastline.append(0) area_map.append(coastline) landline = [] landline.append(0) for _ in range(landSize): landline.append(1) landline.append(0) for _ in range(landSize): area_map.append(landline) area_map.append(coastline) dummyM...
[ "mtiedje@andrena.de" ]
mtiedje@andrena.de
c4eb9faf74af67ebaabe3a6c2bc031f08b2670f0
48ca592b7072d37a7d3c8456540c017649e0deeb
/campnative/campnative/index_page.py
afd41c6cfb724f2de31659cc59cb0abc16a4f0e9
[]
no_license
x10hassan/campnative
0c5e12e12d6d01f872a87590bfd98d747cbb7909
717e481221396427387b3424391df986dc5f39bc
refs/heads/master
2016-09-05T20:12:15.381947
2015-03-23T09:28:20
2015-03-23T09:28:20
32,630,884
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
from django.views import generic from campground.models import Activity, Amenity class IndexPage(generic.TemplateView): template_name = "index.html" def get_context_data(self, **kwargs): context = super(IndexPage, self).get_context_data(**kwargs) context.update({ 'activities': A...
[ "k1.hedayati93@gmail.com" ]
k1.hedayati93@gmail.com
68ddb2bb40f0d0776ea854bba259a075495f7171
ae1b589d63074b72507d776c7f35c01f6e38226a
/sum.py
97e6f7bd99cbcc0b42490f2ab79b8a2a4b1e70d0
[]
no_license
Evg3sha/lesson1
c3b4bf2e0eaffb7929b52ac44f277df3966cd259
43abc12d8abd03cbc1fd8c1bcb171869e177bc95
refs/heads/master
2020-03-28T07:57:56.957760
2018-09-08T15:19:39
2018-09-08T15:19:39
147,937,075
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
def get_summ(one, two, delimeter='&'): return str.upper(one) + str.upper(delimeter) + str.upper(two) one1 = 'Learn' two1 = 'python' print(get_summ(one1, two1))
[ "evgeshamsk92@gmail.com" ]
evgeshamsk92@gmail.com
60d6111e08f3df5fb3831ace000ee1baf3841fb0
96b823fb79ccdde43e92bfd13e783e1dacb0fddf
/pygame_widgets/textbox.py
c4d255254989e2e76698fe0aaa7c0a268e72dde7
[ "MIT" ]
permissive
doojinkang/PygameWidgets
72c40cbcb3925d257d0a88925faad25679520a90
ed5ef25014619e89d0c5c148b4f904cf7c55fdf3
refs/heads/master
2022-12-13T19:21:58.208949
2020-09-01T00:40:52
2020-09-01T00:40:52
292,205,558
0
0
MIT
2020-09-02T07:03:19
2020-09-02T07:03:18
null
UTF-8
Python
false
false
9,866
py
import pygame import time from pygame_widgets.widget import WidgetBase class TextBox(WidgetBase): # Times in ms REPEAT_DELAY = 400 REPEAT_INTERVAL = 70 CURSOR_INTERVAL = 400 def __init__(self, win, x, y, width, height, **kwargs): """ A customisable textbox for Pygame :param win:...
[ "21chydra@gmail.com" ]
21chydra@gmail.com
2c325d389c3c5b06a3ea6fbe9a4d35b797db24b5
323f67ef9e312c52c510768baa53b9fd0e7d727b
/ranobetest/applications/ranobe/models.py
60155ba22febe51efdd3d39abece885629e5a695
[]
no_license
unsopgg/django_5_pr
8a78f4718f0d64a5f4b400d74016ae2bc7a94b82
fb51e8795f73e3aa29279cb514ed4d95f0839055
refs/heads/master
2023-08-29T16:56:35.967873
2021-11-07T15:37:15
2021-11-07T15:37:15
425,541,761
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
from django.db import models class Genre(models.Model): title = models.CharField(max_length=50) def __str__(self): return f'{self.title}' class Tags(models.Model): title = models.CharField(max_length=50) def __str__(self): return f'{self.title}' class Type(models.Model): titl...
[ "kimyunsopbi18@gmail.com" ]
kimyunsopbi18@gmail.com
05a6dc50b44a0fa741f092b8ddad671c62f8a292
5ee05e771a97d465048c50a9f9490b8b0eb7c00d
/adminsavingcategory/urls.py
06811381e6f63dddde32d3c2e9e21b9a74276420
[]
no_license
ninsgosai/budget
614bb01ef4a629d3a7e41205e653acadb23984fd
722ae7f957913422f1b77247cec7d3b06156ad43
refs/heads/master
2023-03-26T14:52:30.242868
2021-03-21T07:33:49
2021-03-21T07:33:49
349,928,494
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
from django.urls import path from . import views urlpatterns = [ path('', views.adminsavingcategory, name='adminsavingcategory'), path('addsavingcategory', views.addsavingcategory, name='addsavingcategory'), path('delete_saving_category', views.delete_saving_category, name='delete_saving_category'), pa...
[ "69950933+ninad-goswamy@users.noreply.github.com" ]
69950933+ninad-goswamy@users.noreply.github.com
09b8350283db25c7645cbfa0057a0986cd1eb775
f458506eb20170e99b7f33add730921ee3ed4bdd
/manage.py
a5bf144c84cf56883dd91fca28eb55479f8138d7
[]
no_license
Brogrammer98/IITB-Portal
afd58b9f57f37aabec87ef097972268e3a3a180b
6fddb44697719a6232ab1cea7bb56593cdac7130
refs/heads/master
2022-03-25T07:00:58.638261
2019-10-07T14:45:02
2019-10-07T14:45:02
112,474,387
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "IITBPortal.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "noreply@github.com" ]
noreply@github.com
fdb7ad8a8e4ce79c248ae0daa484e40fe09319b1
737f84e7b6baad2a4c73db7887c8ceb8189dbeda
/utils/provider_shapenet.py
806379bacce10f3e70f04b6e550487b526201801
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
azuki-miho/GeoSceneEncoder
fd0133d170e4cfaa5259b515dbec444af4cc891e
a7645d048bbb532e5116bad0ccb7883926357241
refs/heads/master
2022-12-09T13:26:19.691908
2020-08-29T04:31:41
2020-08-29T04:31:41
289,899,361
1
0
null
null
null
null
UTF-8
Python
false
false
5,247
py
""" Code from SpiderCNN: https://github.com/xyf513/SpiderCNN """ import os import sys import numpy as np import h5py BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) # Download dataset for point cloud classification DATA_DIR = os.path.join(BASE_DIR, 'data') if not os.path.exists(DATA_DIR...
[ "gongjingyu@sjtu.edu.cn" ]
gongjingyu@sjtu.edu.cn
1db078657f0c711795ff840f39385b8af78a06d7
00e77b917e946bebdff1734fe2ce2347dc94a8e9
/setup.py
172035870d6b888ac31acf2f7abcfbecd6b8a8d8
[ "Apache-2.0" ]
permissive
pcolmer/awsprocesscreds
976ac6a9ee2e644886ae26dc36adc45864ab8e80
d66a173925e9b2779ca21d0354756d086de93e8e
refs/heads/master
2021-10-16T07:57:28.554788
2019-02-09T07:35:41
2019-02-09T07:35:41
115,099,222
1
1
Apache-2.0
2019-02-09T07:17:39
2017-12-22T09:20:30
Python
UTF-8
Python
false
false
1,818
py
#!/usr/bin/env python import codecs import os.path import re from setuptools import setup, find_packages HERE = os.path.abspath(os.path.dirname(__file__)) def read(*parts): return codecs.open(os.path.join(HERE, *parts), 'r').read() def find_version(*file_paths): version_file = read(*file_paths) version...
[ "phjordon@amazon.com" ]
phjordon@amazon.com
c65261eda261da0ee9d0e0336a39721e4442d872
938191dd1feb12b771a448a00135f9fb6abca4e3
/example_bptt.py
ea710f5a7fe03a3691420aa6eac1419320d31784
[ "Apache-2.0" ]
permissive
devnag/tensorflow-bptt
df09c0a910c9b7552b3b756eb2b03feacacdf8fb
18b5e0c5ccd5108922feab5ef43d74989e2c08a6
refs/heads/master
2021-01-24T10:52:40.706019
2018-03-21T02:27:47
2018-03-21T02:27:47
70,291,227
32
8
null
null
null
null
UTF-8
Python
false
false
8,701
py
#!/usr/bin/env python import math import numpy as np import random import sys import tensorflow as tf import bptt # See https://medium.com/@devnag/ # Data parameters: simple one-number-at-a-time for now input_dimensions = 1 output_dimensions = 1 batch_size = 1 # Model parameters lstm_width = 5 m = 0.0 s = 0.5 init...
[ "devnag@gmail.com" ]
devnag@gmail.com
0a6c916136fb08225b6df7f75b9a89960aa89725
4c3b5492701676f9e0a770b2d7752c7cd49bbfcc
/Documents/10Jan2021/HRCN49CABG.py
db7140875702f2987c2fe759033d73519a087b85
[]
no_license
Official21A/CommiterTestBench
834ca5c85fb24f9e883d10ba07b030c346779318
60be1ba72131542a597218446dcd98641067f9ed
refs/heads/master
2023-02-14T15:10:47.378508
2021-01-10T05:43:10
2021-01-10T05:43:10
324,303,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
""" LR8YN5LZ831L97E52ZTIZMN681QBGQQO3LILH8MA2P0MOJT154ZRT0HVL2QDQ9GJ86BAQDZ3T9FC9F4H B5QMNN0V9LVWM0HH9598AGL870BL45D2Q106IV0W0YFA3TFFKST3VBNSSX8WAS26J008XAJMKZTOFCC1 6RVA6TA573RPF6RRVU9IWFU98RPOGNXPN24VTE47YVOQEKEPZY1TOSCVAXI6GAF70QYTOXTESKN3E41W 3JVM2ZJ8TOJC4EJSDW9GTG1DZWSJ36LZOWUE7P95J3E0GFDJ4XA8FRK2IEYXW8T7OWCFM0VXA...
[ "officialamirhossein21@gmail.com" ]
officialamirhossein21@gmail.com
a37f9e0105444012358a39913a62c40a1b658de8
fe565da74dad061256513c319ee5e46cf9604ee5
/pyDungeon/dungeon.py
18aad19807266bc01699d8829b7dfbf4d1ab49f5
[]
no_license
alangenfeld/netcave
917b64be1103e02f31dcbd2f4121a0bab68b63af
0cdd3b48b770c69f38c3540bde627a0c57abe465
refs/heads/master
2021-01-15T13:18:22.718462
2011-05-07T03:07:24
2011-05-07T03:07:24
1,542,745
0
0
null
null
null
null
UTF-8
Python
false
false
9,410
py
#!/usr/bin/python # -*- coding: utf-8 -*- import random, numpy import pyDungeon.cellular as cellular # 0 - floor # 1 - wall # 2 - unpassable wall # 3 - open door # 4 - closed door # 5 - trapped door # 6 - inner wall # 7 - stairs up # 8 - stairs down # 9 - spawn def angDungeon(depth,width=128,heigh...
[ "nmitchel@cs.wisc.edu" ]
nmitchel@cs.wisc.edu
9e567a091572b54744008d9eb043669ee4cda949
2aebde5f6ad67fbfed26427b5463036cc752eee4
/model/news_crawler/sina_news/sina_news_daily.py
0176b67554b8f743be47ea51d239af7657f4437d
[]
no_license
L-S-G/duck_prophet
be46d4d8fc63eb9030f55947626ffe056415eb8c
23decf840d1431f0df1bcc8bd647c1ae01adec4e
refs/heads/master
2023-02-23T11:51:32.262971
2021-01-08T10:25:18
2021-01-08T10:25:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# -*- coding:utf-8 -*- import sys from config.news_crawler.sina_news.sina_news_conf import entrance_list import requests import re import Queue reload(sys) sys.setdefaultencoding('utf-8') class SinaNewsDaily(): # 每日抓取新浪新闻文章 pass
[ "nankaizhl@gmail.com" ]
nankaizhl@gmail.com
041fdadfc0f82c1828a1f8516e41fa0410f8185a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/4me7LifXBwj5rhL4n_2.py
65b6056baa34628bd261b66044b68f8b16ed99ad
[]
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
45
py
circle_or_square=lambda r,a:a**.5*4<6.28*r
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1145f96ffedfd8233a52066da714b0bbebe7766a
fde7ebf3bdf7679bbae65f8b07e05ed3a72582c9
/Lessons/M3/M3/ex_modulo_03_1.py
61e7400ba2d46562f37a26db0955df100838bdbb
[]
no_license
helenamagaldi/dataScientist_Mentorama
7c3a0ef7cfec8b938758abd9d307a9e1460d7794
67051d47853cc993757235328283964902f11ee3
refs/heads/main
2023-02-20T01:18:19.968090
2021-01-25T14:06:53
2021-01-25T14:06:53
323,619,424
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
def formata_valor(v_in): s_out = '{:,.2f}'.format(v_in) s_out = s_out.replace(',', '_') s_out = s_out.replace('.', ',') s_out = s_out.replace('_', '.') return s_out nome_arq = 'lista_temp.txt' with open(nome_arq) as farq: # pula o cabecalho linha = farq.readline() saida = ...
[ "helenamagaldi@gmail.com" ]
helenamagaldi@gmail.com
7ae9ce9017302597444d3774d38e13236be0394d
75a3a5a3a5f1ac02feae2d9d83028c11e69f105b
/Tugas_ProjeckPCD/percobaan3.py
92a02ce072692f6a38c8141350387f5eff2fae76
[]
no_license
zidanlagaronda/Zidane
adebf3cce27af819c9f20ec1b4089da1d04a6233
01f2b007159a973ad2c87d358caa424b64493dcd
refs/heads/main
2023-08-23T15:23:30.185898
2021-10-07T15:29:00
2021-10-07T15:29:00
414,654,800
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
import numpy import matplotlib.pyplot as plt from copy import deepcopy from PIL import Image def getGrayColor(rgb): return rgb[0] def setGrayColor(color): return [color, color, color] img = Image.open('Dane.jpg') img = numpy.asarray(img) # copy list not references ct = deepcopy(img) r1 = 1...
[ "noreply@github.com" ]
noreply@github.com
eccc0851425db9c7c58050c30830560536f1b21f
8f98929aa6c5f50b8c84ecc8dcae965616acb06f
/infra/cifuzz/workspace_utils.py
d6a6866524f0ecaf63e701abc80632c53b03a0d7
[ "Apache-2.0" ]
permissive
tstruk/oss-fuzz
44c55fb510c1879b88a525652829e3a4989ee786
e407f54e61a134de43019d69947a72a471bdd7c6
refs/heads/master
2021-08-29T02:21:49.811410
2021-08-10T17:48:16
2021-08-10T17:48:16
250,107,056
0
0
Apache-2.0
2021-08-10T18:57:27
2020-03-25T22:36:46
Shell
UTF-8
Python
false
false
2,315
py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
noreply@github.com
9c940622a9a5a6d6ef7d394bf145e76cebfa314f
ead0c144f5e6aaec724835d6bb58634a70867b8a
/blogproject/blogapp/views.py
4a4b13c95af7c828730fe171508670d2bbd5e518
[]
no_license
jafargithub/repositorylive
3a3086de8a5f7705f81620818b45764bf5bef25c
b79cdc071ccf3aea3d85ff0928651ca36e43056b
refs/heads/master
2022-09-05T11:36:26.716193
2020-06-04T10:07:53
2020-06-04T10:07:53
269,325,492
0
0
null
null
null
null
UTF-8
Python
false
false
2,384
py
from django.shortcuts import render,get_object_or_404 from blogapp.models import Post from django.core.paginator import Paginator,PageNotAnInteger,EmptyPage from blogapp.forms import * from django.core.mail import send_mail from taggit.models import Tag # Create your views here. def Postview(request,tag_slug=None): ...
[ "shaikjafar960@gmail.com" ]
shaikjafar960@gmail.com
03432933f40125fba98a10caa76b8817f552cba1
48a1c21f3b1596acb1e987b73677af65e9f9416a
/packagehashtable.py
8030cf73f09e9a08a4d646c5ba71761d9687cc63
[]
no_license
earthafire/c950
fe982685d91453b157461e2eec385a6b16aeb990
af1116d6ab834a63c9496fa054385970f33b4c1f
refs/heads/master
2023-06-04T07:03:18.427522
2021-06-21T02:54:07
2021-06-21T02:54:07
354,667,745
0
0
null
null
null
null
UTF-8
Python
false
false
1,800
py
class PackageHashTable: # big O: O(1) def __init__(self): self.current_size = 25 self.filled_slots = 0 self.data = [None] * self.current_size # list of packages def get_filled_slots(self): return self.filled_slots def get_hash(self, value): return value % self...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
ad907b621e4556bb8bc2d10680994239155bdbab
5910e0fb1bb18457e3486e723901bbe4a9e9723e
/alteration_stft.py
316cc79467fd71f37181b401e866714b54a91694
[]
no_license
thesujitroy/Audio-Signal-Processing
12121ff01da7c8b91c9b180b26890b6419062b72
f46241a7a0262fc10502d419879f39eab9354f0f
refs/heads/master
2020-05-31T01:14:49.522256
2019-06-25T19:22:34
2019-06-25T19:22:34
190,046,097
0
0
null
null
null
null
UTF-8
Python
false
false
4,061
py
# coding: utf-8 # import Python modules from matplotlib.pyplot import * from scipy import signal import numpy as np import matplotlib.pyplot as plt import scipy from scipy.io import wavfile from scipy.constants import pi from scipy.signal import stft, istft, lfilter from scipy.signal import freqz, convolve from numpy....
[ "noreply@github.com" ]
noreply@github.com
1d3ce470259821bf35869c694651829ffdfd58b5
029637643a5d526f59876e3fac6903ded0037f66
/etc/old/duo2/col.py
5a3dfe152d994521f2b6bead944255c39c0f059d
[ "MIT", "Unlicense" ]
permissive
timm/duo
aa331e5e153236046a8d23f23f3ddce77279be10
c09a43608d4b38b32ea0da3f97b3ec62cbadac73
refs/heads/master
2022-11-03T17:59:30.055920
2022-10-02T17:43:44
2022-10-02T17:43:44
239,056,903
0
0
Unlicense
2022-09-16T18:43:25
2020-02-08T02:24:13
HTML
UTF-8
Python
false
false
3,066
py
#!/usr/bin/env python3 # vim: ts=2 sw=2 sts=2 et tw=81 fdm=indent: """ col.py : summarize streams of data (c) 2021, Tim Menzies, MIT license. https://choosealicense.com/licenses/mit/ USAGE ./col.py [OPTIONS] -t S run demo functions matching S -T run all demo functions -L list all demo...
[ "timm@ieee.org" ]
timm@ieee.org
cbc7ebf03b9a0991ba13aecf655b2c825b52f62a
b47b67268e6f005abd65c4517de438e287d3256a
/src/lexf.py
4b1c1c96e6c2a10c201aaa798e09d1bcc152c30a
[ "Unlicense" ]
permissive
kinow/rosalind-exercises
e9ebafb2f706d46f0e6241b153c6cf7c6fc78622
5984f10226e41a3fffbc7f947e397b0cd84ea5cf
refs/heads/master
2021-01-25T12:07:27.652724
2015-07-13T10:04:21
2015-07-13T10:04:21
13,915,357
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
import itertools data = 'V F K P B O' n = 3 order = [x for x in data.split()] def get_order(char): for i in len(order): if (order[i]) == char: return i return -1 if __name__ == '__main__': combs = [''.join(entry) for entry in list(itertools.product(order, repeat=n))] total = 0 ...
[ "brunodepaulak@yahoo.com.br" ]
brunodepaulak@yahoo.com.br
cdc568f6f8b729c0cb3256a847415ecb9daf8769
78e60a7d8a67ed76244004e8a3ed573fbf396e41
/samples/del_admin_role.py
ad52a172a1488dd2d1f632616ef30fbe40844ca8
[ "MIT" ]
permissive
Crivez/apiclient-python
837a9f7cc0453ccd3121311adc7920b5fe6b3e33
860fc054f546152a101e29b1af388c381075ac47
refs/heads/master
2023-06-08T13:24:09.249704
2021-06-17T12:16:35
2021-06-17T12:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
from voximplant.apiclient import VoximplantAPI, VoximplantException if __name__ == "__main__": voxapi = VoximplantAPI("credentials.json") # Delete the admin role. ADMIN_ROLE_ID = 10 try: res = voxapi.del_admin_role(admin_role_id=ADMIN_ROLE_ID) print(res) except Voximplant...
[ "andrey@voximplant.com" ]
andrey@voximplant.com
2f824c916623204ef58696d0ca1d4a850c29a1fe
780bcd3cd379da193af8ca70ebe24e56622aa1d2
/home/migrations/0002_auto_20200525_0806.py
7e3c508c36ba0ea7f92556a4e07354d2f9044e6b
[]
no_license
himanshu-singh14/Hospital-Management-System
c038f892851f4b2d36884b08d2f44ad2206206a1
5d5a18da5c982323409966173d987ce0a3640051
refs/heads/master
2022-09-03T09:16:04.558109
2020-05-28T20:38:22
2020-05-28T20:38:22
266,850,521
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
# Generated by Django 2.2.2 on 2020-05-25 02:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0001_initial'), ] operations = [ migrations.AlterField( model_name='profile', name='roles', fiel...
[ "himanshusingh1471998@gmail.com" ]
himanshusingh1471998@gmail.com
1a135cb428d9d41dbfada818546a0d07f51aa1da
0e79327a15065c02009721b6fe03d4da34d6fd16
/CxtAppium/test_case/conftest.py
46d3fe65cdfef6e27776e5083d34d3e85b87fb42
[]
no_license
chenwei481/TestSquid
31d4a48fa13223c5b975ed9c88fc5a6316a42f4c
b32ad4c2ae2dfbb1c0b17b005518e387633d1f95
refs/heads/master
2020-09-15T02:48:03.116825
2020-08-26T08:37:51
2020-08-26T08:37:51
223,329,169
1
0
null
null
null
null
UTF-8
Python
false
false
264
py
#Author:chen #!/usr/bin/env python #-*- coding: utf-8 -*- import pytest import logging @pytest.fixture(scope='function',autouse=True) def logRecord(): logging.info('-----开始执行用例-----') yield logging.info('-----用例执行结束-----')
[ "1131982165@qq.com" ]
1131982165@qq.com
fce7f376efcf641f46e9b4e929833f0671a79b2d
b9d6b163f1ce5f681047dc08ab136d4d43c1a740
/src/samples/sample_consumer.py
d8c6caae9b5d82cc87a10b8ac1c5d1277d83eeca
[ "BSD-3-Clause" ]
permissive
Nadi-Data/dataprocessor
0c05d74d4e1297d277fb0653e21b57eaca4da8c6
ea665cef27ede5dbab8f00e8918975333677486e
refs/heads/master
2023-02-19T15:42:01.718231
2021-01-18T22:26:43
2021-01-18T22:26:43
268,939,861
2
1
null
null
null
null
UTF-8
Python
false
false
2,937
py
from kafka import KafkaConsumer, KafkaProducer, TopicPartition import json import pandas as pd from dask.distributed import Client bootstrap_servers_list = "localhost:9092" topic = "sample_csv_file" topic_group_id = "sample_read" client = Client(processes=False) class ConsumeEvents(): def __init__(self, ip_top...
[ "sriyan@Srikanths-MBP.T-mobile.com" ]
sriyan@Srikanths-MBP.T-mobile.com
d335e8ebc38e765fc6771cbf64c0c0dfd9c8c353
b7dd07413c05a13207988535b755b7d28dbc5663
/Chapter_7/7-3_multiples_10.py
895c7529af5c2a587ee9e35165d9f19b3504417c
[]
no_license
GrnTeaLatte/AlienInvasion
b671a87cd730c3d4b31a8e8d760d2d02d576cfb3
d60e8e65adb79e54a1e1c579825827355a7e85ea
refs/heads/main
2023-02-26T03:55:26.799446
2020-11-03T00:42:06
2020-11-03T00:42:06
336,111,408
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
number = input("Pick a number from 1 to 100.") number = int(number) if number %10 == 0: print("This number is a multiple of ten.") else: print("This number is not a multiple of ten.")
[ "audreyfu14@gmail.com" ]
audreyfu14@gmail.com
8aa592e8467b111863e6a42150f12f9a82f89846
81e573cf5d3455899e1699dd74175946d8df0d6e
/dashboard.py
065e1eb31cb6bac7c2b1079ce16b051793b7cbac
[]
no_license
awoziji/sheriffs
13c8346993b9dec7bb985c0951077faceb840965
2e837a5c73917165b6ba1a1feafdbb8c2ca4913f
refs/heads/master
2021-04-20T16:28:04.426843
2018-07-06T05:22:56
2018-07-06T05:22:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
#!/~/venvs/dash/bin/activate python # usr/bin/env python # # @Author: Brian Austin <austinbrian> # @Date: 2018-01-11T21:22:08-05:00 # @Email: austin.brian@gmail.com # @Filename: dashboard.py # @Last modified: 2018-01-13T17:01:31-05:00 ''' Experiments with using dash (by plotly) to build dashboards from data. Here, I...
[ "austin.brian@gmail.com" ]
austin.brian@gmail.com
219dc4c4f6d41723ed69b6c4cf9f5fedb7187881
e5c87f75d2ff8d70ff3cd7757e95259b728cfbf8
/assignment05.py
ba671633807e4c54c99446d9a8add46575928cea
[]
no_license
luisv052/LVintroclassfolder
77dd18669b84bc3388bfaa616230d0b9e147bfda
a7fdb6097a081f53572bf8da1d0ea09b1197f4fb
refs/heads/main
2023-03-06T03:59:24.473039
2021-02-19T04:53:03
2021-02-19T04:53:03
340,259,179
0
0
null
null
null
null
UTF-8
Python
false
false
4,861
py
# --------------------------------------------------------------------------------------- # # Title: Assignment 05 # Description: Working with Dictionaries and Files # This script helps the user create a text file with tasks and # their priorities, it also gives the user the ability to add...
[ "noreply@github.com" ]
noreply@github.com
00f3d017fc33f0dd4f1488fc9569ea6cf67de1ec
885aeea68df73052bc9e9df8efb58ac713f42e29
/InfonetVaccine/normfile.py
f259d660859f850e72e5c782846f4c0556ced2c6
[]
no_license
hyeonjun/InfoVaccine
8bfa1af56d5b8f1508cf218864e41a4ad6f44cf0
17e9cf0761d3d898d2e03e02ba6cc70f0fcc3fa5
refs/heads/master
2023-03-03T10:53:34.105220
2021-02-10T17:13:28
2021-02-10T17:13:28
337,788,377
1
0
null
null
null
null
UTF-8
Python
false
false
2,921
py
# -*- coding:utf-8 -*- # sigtool 옵션에 의해 생성된 파일을 악성코드 검사를 위한 버퍼 형태를 만든다. # 사용방법 : normfile.py [sigtool.log] import sys import re import hashlib # 주석문 및 공백 제거를 위한 정규표현식 p_http = re.compile(r'https?://') p_script_cmt1 = re.compile(r'//.*|/\*[\d\D]*?\*/') p_script_cmt2 = re.compile(r'(#|\bREM\b).*', re.IGNORECASE) p_spa...
[ "zlel175@naver.com" ]
zlel175@naver.com
47eb91749a631a8839cbadb2b1ae5950f56d3da1
2834e05cfb56e16fb4a20a46d713ee3e7393a30a
/mzitu_spider.py
0716848d851bd48611516e87812f40ec2161a5b2
[]
no_license
jayhebe/Python_Data_Analysis
29680f1a13ca5756b8fed96c75f7bf4ee432851e
2bd39ce2688ef7fe4340810529f35799eff7de7a
refs/heads/master
2020-07-04T16:29:59.470195
2020-01-14T15:12:42
2020-01-14T15:12:42
202,339,479
3
1
null
null
null
null
UTF-8
Python
false
false
2,246
py
from bs4 import BeautifulSoup import requests import os import time mzitu_folder_name = "mzitu_images" mzitu_base_url = "https://www.mzitu.com" mzitu_headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) \ Chrome/77.0.3865.120 Safari/537.36", "Request"...
[ "jayhebe1983@sina.com" ]
jayhebe1983@sina.com
9c75ba546c6e58dadfa3efda6d5def2966c6f8c1
2fb0b9123bbeb62bdfb0ec37fb70c2f4c6bdd652
/Grade 4 1st term/0901-1.py
b62ce00badb05059428a0547c2ccbbbdf3b228e7
[]
no_license
Zhijun213/About-Digital-Tech-Architecture
679dade5a949b622c3ebb198d7cc77a0f9f4185e
f94546c831a768c5dc2dda1fc11a77f9a98375c8
refs/heads/master
2023-06-22T14:00:13.590624
2020-02-17T11:10:45
2020-02-17T11:10:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
import rhinoscriptsyntax as rs import math import random import Rhino.Geometry as rg result=rs.GetCurveObject() curveid=result[0] rail=rs.GetCurveObject() def TransformProfile(object,pt1,pt2): normal=rs.VectorSubtract(pt1,pt2) normal=rs.VectorUnitize(normal) plane=rs.PlaneFromNormal(pt1,...
[ "noreply@github.com" ]
noreply@github.com
1db866966f679559ca0efc84ff2d698ba6a16ddb
b88a34b9f96f180c9106be8e8a215c07856d1a39
/constants.py
5a8f764c039f1dc0bb9020bae2955bca11ee06a8
[]
no_license
leongold/moovit-yad2
ad6cf9d08e7b5920fd2eceb49ffe89cb02066301
0b4aec201ac17c883e31a90f8d8f362bc2d55bfa
refs/heads/master
2023-05-10T17:09:45.762485
2018-11-22T10:29:49
2018-11-22T10:30:46
153,251,695
0
0
null
2023-05-03T17:54:46
2018-10-16T08:38:33
Python
UTF-8
Python
false
false
67
py
import os ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
[ "lgoldber@redhat.com" ]
lgoldber@redhat.com
631df4c0f6e1b265b9f3f730196cd1ec0c7ee39d
a7b3501e0cdf2af9a6794a83bb9c446dc275dfe0
/catalog/urls.py
64b612278d716dbeba66e92a11df1b0715ed2112
[]
no_license
Mary230/UniMo
972f5fd331362a1280a6a04d13351ec11c715517
95e9b78f9a5119bde265dfd7909b92fe2d3b1293
refs/heads/master
2023-06-02T09:05:40.402969
2021-06-18T12:29:35
2021-06-18T12:29:35
378,142,704
0
0
null
null
null
null
UTF-8
Python
false
false
3,435
py
from django.urls import include, path from .views import home, students, main, teachers, to_competition # urlpatterns = [ # path('', index, name='home'), # path('students/', include(( # [path('', students.CompetitionView.as_view(), name='competition_list'), # ] # , 'catalog'), namespac...
[ "bmacha@Marias-MacBook-Pro.local" ]
bmacha@Marias-MacBook-Pro.local
f747a0b7858d07b330da964aa0cf66cdf9dc93f0
7282f160950c08730f955a3f153b05ff73530a07
/Code/OneHiddenLayer/test.py
31c5b5d64eb31359279e31d97dedeb8e6a60ee8a
[]
no_license
phvietan/Traffic-Sign-Recognition
64ba3cc6c28a052d7ad1036b14694f868f383874
957ea7a6f721bd2cc695b5bb823c367beadaa43a
refs/heads/master
2021-09-08T22:31:57.444628
2018-03-12T13:23:28
2018-03-12T13:23:28
119,474,216
1
0
null
2018-03-02T12:23:49
2018-01-30T03:01:46
null
UTF-8
Python
false
false
630
py
# import class for test_dataset and train_dataset from test_dataset import * from train_dataset import * # import the neural network from neural_network import * # method for testing from evaluate import * # retrieve test set and train set test_set = TrafficSignTest() train_set = TrafficSignTrain() print("Size of tes...
[ "phvietan@gmail.com" ]
phvietan@gmail.com
ee80f003615f1943cc0c93612686b83872586dc6
d52ee2f7ec5dcd8825f4e221a7f084d488d35634
/new_scripts/baselines/dmass/tensor2tensor_old/models/aligned.py
a6eca3bab94b43e8af18bd325c617f3e1d66d3f7
[]
no_license
rekriz11/sockeye-recipes
9dbf96140e4d9d546210dd1c29801132e1b9201c
644363b92e2f38311cc2b7e926b6558aa41900f3
refs/heads/master
2020-03-29T16:52:52.542574
2020-03-13T18:18:25
2020-03-13T18:18:25
150,131,769
5
3
null
2018-09-24T16:15:47
2018-09-24T16:15:46
null
UTF-8
Python
false
false
17,800
py
# coding=utf-8 # Copyright 2017 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "rekriz@seas.upenn.edu" ]
rekriz@seas.upenn.edu
f68095eab644ceacab3bd51bacd96189f616524a
2d78a3bf411981f6228a000fab02031a1699f628
/puma/tests/test_puma.py
d00b630ba7d44c13cf83566aa3c3d1e5f9c33919
[]
permissive
sqreen/integrations-extras
e892551b79ca18769e4886467ad86fac50cc2909
8bf143448ee483d673e34787a2019851c9fe817b
refs/heads/master
2023-04-24T16:57:03.813971
2021-05-10T09:49:45
2021-05-10T09:49:45
350,674,264
2
3
BSD-3-Clause
2021-05-04T21:47:44
2021-03-23T10:44:36
null
UTF-8
Python
false
false
2,785
py
import time import pytest import requests import simplejson as json from mock import MagicMock, Mock from datadog_checks.base import ConfigurationError from datadog_checks.puma import PumaCheck @pytest.mark.unit def test_config(aggregator, instance): headers = { 'server': 'FakeServer', 'content-...
[ "noreply@github.com" ]
noreply@github.com
a1892745b7cb69da63280b445817b1721df660c4
d1590021cb64d76623c5804d36cab12c24f1cb1a
/2016/aoc2016/day07.py
4aed0f295f70fa85ba4687886af57835deabec90
[]
no_license
evroon/adventofcode
697bff2650cfef2cc96e02aa303a539bfc74e4bd
ceffd754b2723dd3f7141eb754ab4384590e8a14
refs/heads/master
2022-12-13T12:53:45.298040
2022-12-06T21:32:09
2022-12-06T21:32:09
159,942,333
1
0
null
2022-11-09T18:13:25
2018-12-01T12:28:25
C++
UTF-8
Python
false
false
1,528
py
from typing import List from .utils import get_part_in_string def check_abba(sequence: str) -> bool: for i in range(len(sequence) - 3): first = sequence[i:i+2] second = sequence[i+2:i+4] if first == second[::-1] and first != second: return True return False def check_ss...
[ "erik.vroon22@gmail.com" ]
erik.vroon22@gmail.com
bb8daa28856dc458f6d38f1bcbd37fc43fee7731
43cbff554a9b7d06a761cb8e62276b6aaa5e7754
/src/old/numeric_info_inserting_4.py
aa41bfc0cc6cdbb86cea934ff5a26e0e52890b01
[]
no_license
an-seunghwan/vrae
7d0022ec31d2acd267ec38b99072574d60fe7690
6a8b7f7e65b439f89dd9317da3b3ee485bcc4b33
refs/heads/master
2023-01-09T11:52:01.201800
2020-11-09T11:50:18
2020-11-09T11:50:18
281,103,819
0
0
null
null
null
null
UTF-8
Python
false
false
15,006
py
#%% ''' - X token <- replacing with numeric info - template + x = message ''' #%% import tensorflow as tf import tensorflow.keras as K from tensorflow.keras import layers from tensorflow.keras import preprocessing print('TensorFlow version:', tf.__version__) print('즉시 실행 모드:', tf.executing_eagerly()) print('available G...
[ "dpeltms79@gmail.com" ]
dpeltms79@gmail.com
6475170c003315bd497a138e3f06d898ef9b2be9
131241f87f822e5ed95d83495725e4238049a5cb
/python1.py
61949506e4eebc83eec63aa431ca40372cc56005
[]
no_license
romisaakhaled454611/-coursera-capstone
46c6322e62daa79dc7dcdef668af93951b436fdb
6d0a673e358dad0494d9a51412f1131d642122fb
refs/heads/master
2022-11-23T17:39:00.685836
2020-07-19T09:38:41
2020-07-19T09:38:41
280,832,499
0
0
null
null
null
null
UTF-8
Python
false
false
13,569
py
!pip install geocoder !pip install folium import pandas as pd import requests import numpy as np import geocoder import folium import requests import matplotlib.cm as cm import matplotlib.colors as colors import json import xml import matplotlib.pyplot as plt %matplotlib inline import warnings warnings....
[ "noreply@github.com" ]
noreply@github.com
ca9fd7db7af76cf7e25b5898992310a5733c1001
88e06bab1989c81a2dd649bb09b144fa7c958f89
/leet_simplify_path.py
4bcdad7a72949aab1ed4bd7e8b422c4511b91450
[]
no_license
VaibhavD143/Coding
4499526b22ee4ef13f66c3abcea671c80a8f748a
5de3bae8891c7d174cbc847a37c3afb00dd28f0e
refs/heads/master
2023-08-06T21:56:44.934954
2021-10-09T18:31:29
2021-10-09T18:31:29
263,890,286
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
class Solution: def simplifyPath(self, path: str) -> str: ss = [] for s in path.split('/') : if s and s != '.' : if s == ".." : if ss : ss.pop() else : ss.append(s) return '/' + '/'.jo...
[ "vaibhav.dodiya143vd@gmail.com" ]
vaibhav.dodiya143vd@gmail.com
7565fccefc1f94b90892e24e8bc4c59ad706f8ce
601c2b26b115e59002fd0d105daef714aa6803a2
/Problem68.py
de6e4c370c5364a8f9fd371e752b2672507cabb7
[]
no_license
madrury/euler
4be0f28edbfdf5a10de1b3f68336f73dcc73455d
04ad94fe67af09e48bd795a2cc9f229f7c752397
refs/heads/master
2021-01-17T07:40:46.930178
2018-01-21T23:49:21
2018-01-21T23:49:21
15,242,518
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
from itertools import permutations, chain def magic_3_ring(): S = set([1, 2, 3, 4, 5, 6]) for a_0, a_1, a_2 in permutations(S, 3): b_0 = b_1 = b_2 = c_0 = c_1 = c_2 = None s = a_0 + a_1 + a_2 b_1 = a_2 for b_0 in S - set([a_0, a_1, a_2]): b_2 = c_1 = s - b_1 - b_0 if b_2 in S - set(...
[ "matthew.drury.83@gmail.com" ]
matthew.drury.83@gmail.com
0e042a6a418f78275e29bb9fe263d90fa38a2b3c
cf59d92614a3505aeed9455482ef327572578228
/venv/lib/python3.6/site-packages/djoser/urls/authtoken.py
87ed8962570463caffb44de8795bf7e87591014d
[ "MIT" ]
permissive
slarkjm0803/autobets
e1d1a3b00cf94ee90fd1fed7464431677b4f9e11
f92a5d999acaf5d7c83ca2768a260c2282eabbee
refs/heads/master
2020-09-23T21:40:46.057648
2019-11-29T11:42:37
2019-11-29T11:42:37
225,591,526
1
0
MIT
2019-12-03T10:22:21
2019-12-03T10:22:20
null
UTF-8
Python
false
false
308
py
from django.conf.urls import url from djoser import views urlpatterns = [ url( r'^token/create/$', views.TokenCreateView.as_view(), name='token-create' ), url( r'^token/destroy/$', views.TokenDestroyView.as_view(), name='token-destroy' ), ]
[ "mac@macs-MacBook-Pro.local" ]
mac@macs-MacBook-Pro.local
4feefa869c899ab972e4fad181aba25039f5191d
4514789a57728692b64394deddd787f26363f1fd
/ncbi_wgs_downloader.py
a028be981323809dc33af0340032f0a49b59d102
[]
no_license
duceppemo/ncbi
969b34f7c00acb3d14d092e4aa15debd0efb3dba
41b9e0620ca9f8b4f75d440a2f985f70d9adc63b
refs/heads/master
2023-08-17T15:26:41.178729
2023-08-15T00:45:55
2023-08-15T00:45:55
107,134,463
0
0
null
null
null
null
UTF-8
Python
false
false
3,566
py
#!/usr/local/env python3 from sys import argv from Bio import Entrez from Bio import SeqIO import re import http import urllib from time import sleep input_list = argv[1] output_folder = argv[2] email = argv[3] error_acc = output_folder + '/acc_errors.txt' error_acc_handle = open(error_acc, 'w') # Parse accession ...
[ "noreply@github.com" ]
noreply@github.com