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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
0e17285b254162dcbc6ef22c3ee57ec790c39cd6
436b90b49fac7a3f8312f4716336552ce7452d30
/run_novosort.py
c999ad96e9e5ba36ee7010f3f1911e3c9f7a578e
[]
no_license
djf604/PsychENCODE_RNAseq
1d2160e5d327b390c420d1c5c71d44c05ccb41c7
773c3a945d45f8b611fd96cf49fa8b9443f210f1
refs/heads/master
2021-01-13T00:16:04.843683
2015-10-06T15:25:19
2015-10-06T15:25:19
43,759,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
import subprocess import sys input_file = sys.argv[1] bids = [] bams = [] with open(input_file) as _: for line in _: if line.strip()[0] == '#': continue bid_type, bid, bam = line.rstrip('\n').split('\t') bids.append(bid) bams.append(bam) #bids = ['2015-17', '2014-1456',...
[ "ubuntu@rnaseq2015aug12.novalocal" ]
ubuntu@rnaseq2015aug12.novalocal
91e2f09a920b96ad5419030191939df0f1d3bf8c
e1fb4f1e599983facdc1510ad8c57de4ba6460b3
/Holdy_Blog/Holdy_Blog/settings.py
6d0a1196e50edaa138afff04e4a4202e259c2435
[]
no_license
sandeepcse2004/Django_Bloging_App
eaa8d570e54cda916873068b092b19da75ce4782
7cbd18a79095f73494845d4ab49dd30ef70bea96
refs/heads/master
2023-03-18T04:26:21.510435
2021-03-08T15:16:45
2021-03-08T15:16:45
262,552,022
0
0
null
null
null
null
UTF-8
Python
false
false
3,403
py
""" Django settings for Holdy_Blog project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os...
[ "58394871+sandeepcse2004@users.noreply.github.com" ]
58394871+sandeepcse2004@users.noreply.github.com
fe5af079ed018584ffb250f1a2f08f5b1a5f1071
5cddb0aa131ec9f3d31ffab45932006be209e080
/blog/views.py
a43c8a9aebd0f1b3a477cf974ffa3606f9036099
[]
no_license
infinitejest/my-first-blog
2fed568b4f7afa7d60dd11fd9bc5fdf2bda0f484
30ef5ca7419060405e1c156be7fcbd2a6cba4dfc
refs/heads/master
2021-01-24T03:12:39.067490
2018-02-28T02:28:02
2018-02-28T02:28:02
122,882,247
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from django.shortcuts import render, get_object_or_404 from .models import Post from django.utils import timezone # Create your views here. def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(request, 'blog/post_list.html', {'posts'...
[ "rodriguezandr@gmail.com" ]
rodriguezandr@gmail.com
8036266ccbef0327a21e8d4fcd949ac354764b82
a9b4c4298599310123245ea90730a5bcfd6108a8
/NewOne/NewOne/wsgi.py
14409221b2094ae61f439e709affaef84ed098bb
[]
no_license
Foxtrot983/DjangoNew
338edfb0d0c4b9cc97b90b9e1920e90e1512aa3e
4b4eef7b7cdd8866451e3eeb6cd576849c7f043a
refs/heads/master
2023-08-17T18:15:18.850371
2021-10-09T06:41:32
2021-10-09T06:41:32
417,080,482
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for NewOne project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "wladiksan@gmail.com" ]
wladiksan@gmail.com
b9909582d05dccb31f82877fae7a30a999ad3b4d
893126714c188c906a2d43301294e5126f466de7
/app/notifications.py
97baa25b8bcb7c3cf1f2109b775e0d2252487b47
[]
no_license
patnaa2/waterbud
d5339cd90b0fd7f48bb941dc70f8c2530e16be1a
dbf2d506d622d2f8f0462fbeb1e8bb5e36828662
refs/heads/master
2020-12-25T13:45:04.154588
2018-03-26T18:58:17
2018-03-26T18:58:17
62,075,051
0
1
null
null
null
null
UTF-8
Python
false
false
3,614
py
from __future__ import division import calendar import datetime import pymongo import sys class Notifications(object): MONGO_LOCATION = "127.0.0.1:27017" DB = "waterbud" def __init__(self, db=None): self._db = db self.coll = 'notifications' # Try connecting to db, if failure (br...
[ "anshuman.patnaik2008@gmail.com" ]
anshuman.patnaik2008@gmail.com
aa8a70b270c71c4b86bc4e741363c6707ccad445
9fa4dc0461ccbe8365ec2ec686e28896cec90f85
/src/eval.py
7f99f50bd393214b5581b62ba96823223a8ec855
[]
no_license
ahwang16/senior-thesis-2019
537be007e32bf072c66d5b76db378c94aad02fa7
4db3825e5726775050eccb03f763dcd037f073e2
refs/heads/master
2021-07-15T03:01:45.247186
2020-10-20T16:08:06
2020-10-20T16:08:06
215,397,637
0
1
null
null
null
null
UTF-8
Python
false
false
8,073
py
# eval.py from gensim.models import Word2Vec import itertools import json from mittens import GloVe from nltk import bigrams from nltk.cluster import KMeansClusterer from nltk.cluster.util import cosine_distance from nltk.corpus import wordnet import numpy as np import pandas as pd import pickle as pkl import re from s...
[ "ahh2143@columbia.edu" ]
ahh2143@columbia.edu
75f976ce151aefde1fa3d404c7209b7ddf72d743
6c82017287ada42e7705542e6dc43ed04dbebaab
/rep/01-第一个爬虫.py
ab8e4c660099f2afe4202a0df82b918c98447a13
[]
no_license
lubensh/rep
e211c13a8ae9ac558776fed457c6b6f5c8013afe
84309c739fa24f15b3ae55720bb39e17cba24453
refs/heads/master
2020-04-07T05:10:50.250659
2018-11-21T13:00:57
2018-11-21T13:00:57
158,085,662
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from urllib.request import urlopen url = "http://www.baidu.com/" #发送请求 response = urlopen(url) #读取内容 info = response.read() #打印内容 print(info.decode()) #状态码 # code = response.getcode() # print(code) # #真实url # urls = response.geturl() # print(urls) # #响应头 # info = response.info() # print(info)
[ "13521811669@163.com" ]
13521811669@163.com
e7f079a24da8675233f657282768daa52802bbed
e919655b0bf47085ea70cbe0826c870e782a630c
/docs/doxygen/doxyxml/doxyindex.py
2de577e1ad81ee97444528467336b84df05430a7
[]
no_license
zhoushiqi88/phylayer
7dc5ea21d2658b494e07847259d8db8b490dd011
95ba2b59eb65f8873eca36ae6912a0cc6bb35d88
refs/heads/master
2020-11-26T21:42:05.114099
2019-12-27T07:56:02
2019-12-27T07:56:02
229,210,308
0
0
null
null
null
null
UTF-8
Python
false
false
8,898
py
# # Copyright 2010 Free Software Foundation, Inc. # # This file was generated by gr_modtool, a tool from the GNU Radio framework # This file is a part of gr-phylayer # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free So...
[ "zhoushiqi_uestc@163.com" ]
zhoushiqi_uestc@163.com
746189a6a31b7800c0ae04e188a38f2aef70a6b3
3783123732851d3306265fd2299474372dccc8a1
/main_folder/models/sample/sample.py
8b1f17c721c9abff0a285020250fa869130d841d
[]
no_license
davevs/pyTM---addendum
94308b01e51da95e28cd394d8eece2c6abe7af12
f86a3c2881da328a55f0748a1dbc54485e6c545b
refs/heads/master
2020-05-04T17:05:15.580547
2019-04-03T13:50:25
2019-04-03T13:50:25
179,297,853
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
# !/usr/bin/env python3 from pytm.pytm import TM, Server, Datastore, Dataflow, Boundary, Actor, Lambda tm = TM("my test tm") tm.description = "another test tm" User_Web = Boundary("User/Web") Web_DB = Boundary("Web/DB") user = Actor("User") user.inBoundary = User_Web web = Server("Web Server") web.OS = "CloudOS" w...
[ "dvanstein@xebia.com" ]
dvanstein@xebia.com
f80eb72afaa6b99fa30979777eea4dcb73b0b439
fb2c19e1677c18e74898ac69aa05e66688723b70
/DenseFisher/models/densegan_complete.py
450ed6e4ecc0956a4fe6f28a7e3fb21214dbebbd
[]
no_license
Columbia-Creative-Machines-Lab/Dense-Generators
337abe164e90649b1462eab90e1e7a1b63835eb4
3cc3b8b6501b03a63e52cfdd7098a721f0f6e4a9
refs/heads/master
2021-09-01T05:42:30.300764
2017-12-25T05:53:12
2017-12-25T05:53:12
103,167,449
2
0
null
null
null
null
UTF-8
Python
false
false
12,106
py
import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from torch.autograd import Variable import torchvision.datasets as dset import torchvision.transforms as transforms from torch.utils.data import DataLoader import torchvision.models as models import sys import math clas...
[ "noreply@github.com" ]
Columbia-Creative-Machines-Lab.noreply@github.com
ad76218731310f5bab8bac3e309be9460465a613
1d480ec0807eee561405a94b0a77ffc11974728d
/app/services/decorator.py
4bfe42513c0a673029675d4d00c33f6c0d8ed491
[]
no_license
dot190997/youtube_video_fetcher
40a04266533e966801d18719cdc9f6c41dc0a5f6
27e5aae7b1280ffc5932468f0e4c4e83c89c6b9e
refs/heads/main
2023-05-15T00:16:19.821285
2021-05-29T17:14:15
2021-05-29T17:14:15
371,778,295
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
import functools import inspect import logging import time log = logging.getLogger(__name__) def func_time(func): """Print the runtime of the decorated function""" @functools.wraps(func) def wrapper_timer(*args, **kwargs): func_args = inspect.signature(func).bind(*args, **kwargs).arguments ...
[ "abhishek@nference.net" ]
abhishek@nference.net
2cc201cf266ff314089da1d203b0b3d0cc31fdfd
1b862f34c125ce200244dd79e4fda4b5b605ce2e
/.history/images_20210218000603.py
0a459524a8dabc3b90e7a0501798a67b7e4b69cb
[]
no_license
edwino26/CoreImages
26085a49cf1cb79442ae563a88354b2fdceace87
6bf6e68cac8ab36c87b1e6ea702bfe6882b0f40e
refs/heads/master
2023-06-22T12:53:37.344895
2021-07-21T04:31:44
2021-07-21T04:31:44
309,553,247
0
4
null
2021-04-29T23:23:15
2020-11-03T02:45:07
Lasso
UTF-8
Python
false
false
2,563
py
import os clear = lambda : os.system('cls') # # %% import glob import cv2 import os.path import numpy as np import matplotlib.pyplot as plt # %% cores_per_image = 6 uvFiles = glob.glob('./Photos/*.jpg') print(uvFiles) # Picture path img = cv2.imread(uvFiles[0].replace('./Photos/','')) print(img) a = [] b = [...
[ "ortega.edwin.y@gmail.com" ]
ortega.edwin.y@gmail.com
7aaf30d580238668767fc362313bb0f9006f72eb
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci/_configuration.py
b419fc134f8d50033f2cbf5f5c9a6e3c66cd4704
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
3,264
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
55b225247ae7cc5e0604abd8fa51ce0e8b166907
feb61d29901a5dfd9cf301097757b36ce4d727e9
/mysite/plants/models.py
d4934b8350ac18c5bf258c14d70776cd3b3f9a3f
[]
no_license
wwq345556/spa
c52253188e0b420368bc804e173c8fdba0a95931
6b785abe0874ae25dee21351e849671f24bab93d
refs/heads/master
2022-12-14T17:59:12.764977
2020-05-26T02:42:06
2020-05-26T02:42:06
248,178,626
1
0
null
2022-12-12T05:54:06
2020-03-18T08:40:10
JavaScript
UTF-8
Python
false
false
874
py
from django.db import models import time # Create your models here. class PlantsInfo(models.Model): plant_name = models.CharField(u'名称', max_length=256) flora_id = models.IntegerField(u'种类ID', default=0) introduction = models.TextField(u'简介', blank=True, null=True) photo = models.ImageField(upload_to='i...
[ "1175134755@qq.com" ]
1175134755@qq.com
f5c150f8f7a29c8e620c52c635db78aa0c5f0b1f
6799458993640f8e9345b245af87f1ef8057149f
/Super.py
1714991b098fcf758b3adedcce676d5b8e7339a5
[]
no_license
bmkearne/DRoP
0626a24524ea82952fceb9d762cdd9f775a2de78
303ecc56381951f838cca3105992cb7840f87c30
refs/heads/master
2021-01-01T19:19:38.869750
2014-09-18T09:55:10
2014-09-18T09:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
#!/usr/bin/python #********************************************************************************* # Super.py # Feb. 26, 2012 # Bradley Kearney # Superimposes protein structures that have been preprocessed by DRoP. #********************************************************************************* import sys import t...
[ "bmkearne@gmail.com" ]
bmkearne@gmail.com
e0a1f5a316d34042d099a185a757946ab5667625
3f99756553008745dcac63da942c8afe189a0bbb
/src/common/debug.py
2c2a20b77c88f20d2287098df133eea0833a9ebc
[]
no_license
hekaistorm/DQN_wechat_jump_AI
b34e1d15486e4f6884221e68cb110f4b5f8fcaa6
2dc71f22e234bc17dd280d309103e84596754588
refs/heads/master
2020-09-06T09:05:59.478004
2018-02-04T05:28:06
2018-02-04T05:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,185
py
# -*- coding: utf-8 -*- """ 这儿是debug的代码,当DEBUG_SWITCH开关开启的时候,会将各种信息存在本地,方便检查故障 """ import os import sys import shutil from PIL import ImageDraw # 用来保存每一次的图片 screenshot_backup_dir = '../data/backups/' def make_debug_dir(screenshot_backup_dir): """ 创建备份文件夹 """ if not os.path.isdir(screenshot_backup_dir...
[ "50673223@qq.com" ]
50673223@qq.com
ee4e5ba67072d17cb87c3d167e85dfec37495d32
bac37a96ead59a3c4caaac63745d5748f5060195
/第9章 异常/异常4.py
7086b6c235bbdfbd54433b2b3796687261036263
[]
no_license
pod1019/python_learning
1e7d3a9c10fc8c1b4e8ff31554d495df518fb385
a15213d33a253c3a77ab0d5de9a4f937c27693ca
refs/heads/master
2020-09-14T11:11:53.100591
2020-04-11T04:00:27
2020-04-11T04:00:27
223,112,718
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
# 多个except结构 try: a = input("请输入被除数:") b = input("请输入除数:") c = float(a)/float(b) print("两数相除的结果是:",c) except ZeroDivisionError: print("异常:除数不能为0") except TypeError: print("异常:除数和被除数都应该为数值类型") except NameError: print("异常:变量不存在") except BaseException as e: print(e) print(type(e)) fina...
[ "pod1019@163.com" ]
pod1019@163.com
bbaf94fa20ef4ef4ced2a6bb7d0acbf80bb074dc
42d5c2735887f05434c7eb9be25e476dc1f7f53c
/board.py
2f4a4f5e2f900cf8b266cb6709c989aa81ccec3d
[]
no_license
JosephReps/Python3Chess
e28b31a5d05f28c4e7000a30fff0016127275d44
a7dd5f2257974cb04e2c4a6c6cd519dd1915f754
refs/heads/master
2020-06-26T10:49:32.656518
2019-08-13T09:14:40
2019-08-13T09:14:40
199,611,968
0
0
null
null
null
null
UTF-8
Python
false
false
2,147
py
import pygame class Tile(object): ''' Tile object which makes up the board. ''' def __init__(self, tile_x, tile_y, tile_size, tile_colour, tile_number, occupant=None): ''' Parameters: tile_x <int>: X-position of tile. tile_y <int>: Y-position of tile. ...
[ "josephreps@users.noreply.github.com" ]
josephreps@users.noreply.github.com
8336f14eb60ba8b70f687a50cfcfb4356b0cb70a
9360aeefb3605a3fe0c5e512e52ec3bc0942903f
/app.py
7527e6647e891d5f6706d20edee3162f0ce7496d
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
eliaswalyba/facebound
1ff7dc32cc4bf50d14f2e6434af2adfb14300245
92500e61b1bc50702ea339563ee8b38b55a31169
refs/heads/master
2022-07-01T17:42:02.360416
2020-05-08T15:23:03
2020-05-08T15:23:03
262,851,606
0
0
MIT
2020-05-10T18:37:03
2020-05-10T18:37:02
null
UTF-8
Python
false
false
3,484
py
import cv2, os import numpy as np import streamlit as st import matplotlib.pyplot as plt from PIL import Image, ImageEnhance @st.cache def load_image(img): im = Image.open(img) return im FACE_CASCADE_PATH = '/algos/haarcascade_frontalface_default.xml' face_cascade = cv2.CascadeClassifier(FACE_CASCADE_PATH )...
[ "fodesdiop@gmail.com" ]
fodesdiop@gmail.com
92abd0930e4243edf86846e7a20659a052c6f246
8dab94de494d1c9e3b3dd2c00b7afaa8fdbeefe2
/python_bootcamp/Lambdas/filter.py
9183dec07e9a9929333ce2ae49376023d2be152e
[]
no_license
lis5662/Python
58cf5d05834930eece413b92c7562a273b4d8e56
ff208b8ca3d3ec12b9ef8326cef3f21cc5cc00e8
refs/heads/master
2020-06-14T02:26:24.553686
2019-08-05T12:00:44
2019-08-05T12:00:44
194,855,640
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
users = [ {"username": "samuel", "tweets": ["I love cake", "I love pie", "hello world!"]}, {"username": "katie", "tweets": ["I love my cat"]}, {"username": "jeff", "tweets": []}, {"username": "bob123", "tweets": []}, {"username": "doggo_luvr", "tweets": ["dogs are the best", "I'm hungry"]}, {"username": "gu...
[ "lis5662@gmail.com" ]
lis5662@gmail.com
cc9ec9446a5d1a83664b1a695845250e6048e2a9
a8aa060d2369133b0677c640de3d8da179678316
/9.Numbers.py
5b469db52006d4cf132fc0a5c38b7db04f6acc37
[]
no_license
YashikaNavin/BasicsOfPython
5061df7f3d6962e45e84b421d1dc1efb0532b35c
9db6d134302df76087ba703acde0408ee0b80e23
refs/heads/master
2020-06-19T02:16:22.071856
2019-08-10T17:43:58
2019-08-10T17:43:58
196,529,245
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
# Numbers a=56 b=32562709545676454456373412084736272839 c=75.9 d=complex(3,7) # complex() is a function in python to convert real number into complex number e=9-6j print("a=", a, "of type", type(a)) print("b=", b, "of type", type(b)) print("c=", c, "of type", type(c)) print("d=", d, "of type", type(d)) print...
[ "noreply@github.com" ]
YashikaNavin.noreply@github.com
ec33133b88d9860ea6fbe67ba5f1f112d915e2bd
72816e34e5c3cf0b8ab781529465a4f3a526d4d4
/leetcode/maximum_69_number/main.py
ed627ad6430f8c724ae14e2def9679ad2cc58bc4
[]
no_license
ervitis/challenges
db2ce944f3d7c3fc38271d8194bc3938bb42f3a2
a3fcdb0d5c373c4704387acf73b8a5120e344783
refs/heads/master
2021-10-26T18:38:07.583788
2021-10-15T07:52:36
2021-10-15T07:52:36
205,415,272
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
""" Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 9, and 9 becomes 6). """ def maximum_69_number(num: int) -> int: ns = list(str(num)) if '6' not in ns: return num for i in range(len(ns)): i...
[ "vitomarti@gmail.com" ]
vitomarti@gmail.com
078ae056149920ea0a5f14a81bc7ea95b97d1715
b2c13561bd33bd5b924f99409e3871e9bf4af267
/python/ray/tune/tests/test_tuner.py
f3973bee175d0b87d6d61451a9951cc435d73ce9
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
shiyi23/ray
9218370fe804f7d6cc3d1e51673bae654aa840d5
c847433c1ecd429833f552dc968a3fa0ef6b732f
refs/heads/master
2022-11-14T19:19:43.172264
2022-11-04T23:34:16
2022-11-04T23:34:16
256,953,524
0
0
null
2020-04-19T08:47:36
2020-04-19T08:47:36
null
UTF-8
Python
false
false
14,790
py
import os from pathlib import Path from unittest.mock import patch import pytest import shutil import unittest from typing import Optional import ray.air from sklearn.datasets import load_breast_cancer from sklearn.utils import shuffle from ray import tune from ray.air import session from ray.air.config import RunCo...
[ "noreply@github.com" ]
shiyi23.noreply@github.com
fd07de3d5d3a2288f381e55246f4331593b092d8
f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41
/test/test_room_space_inventory_status_item.py
832bf42dbe4715ab3e1fb79003804c3340495d2d
[]
no_license
CalPolyResDev/StarRezAPI
012fb8351159f96a81352d6c7bfa36cd2d7df13c
b184e1863c37ff4fcf7a05509ad8ea8ba825b367
refs/heads/master
2021-01-25T10:29:37.966602
2018-03-15T01:01:35
2018-03-15T01:01:35
123,355,501
2
1
null
null
null
null
UTF-8
Python
false
false
1,152
py
# coding: utf-8 """ StarRez API This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501 OpenAPI spec version: 1.0.0 Contact: resdev@calpoly.edu Generated by: https...
[ "fedorareis@gmail.com" ]
fedorareis@gmail.com
12bc7081611f0cf4e76ac1ca7877c8802cf8993e
61673ab9a42f7151de7337608c442fa6247f13bb
/pyqtgraph/TextItem/main.py
cee6f112509d051cd992e54fb2b7de2352ab1089
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
268
py
from PyQt5 import QtGui import pyqtgraph as pg app = QtGui.QApplication([]) x = [1,2,3,4,5] y = [0,3,1,2,0] plotWidget = pg.plot() plotWidget.plot(x, y) text = pg.TextItem("Hello World", color='f00') plotWidget.addItem(text) text.setPos(3, 2) app.exec_()
[ "furas@tlen.pl" ]
furas@tlen.pl
564dcce09583b1d203fcc397678e7a5c480c8f17
dc1a0ebe87b13e79fc0bb47c53ae61822e1184ca
/app/core/management/commands/wait_for_db.py
e8b210a911a83d70efffe949e2c3976ae2f56ce1
[ "MIT" ]
permissive
wewe15/recipe-app-api
4b5a7dc4705aada28cdb62aa09d1a77b5e299f0e
0b491d4e33a5113703b2856c8e5845e3ec621636
refs/heads/main
2023-08-29T09:03:39.505835
2021-10-13T10:28:14
2021-10-13T10:28:14
409,936,889
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
import time from django.db import connections from django.db.utils import OperationalError from django.core.management.base import BaseCommand class Command(BaseCommand): """Django command to pause execution until database is available""" def handle(self, *args, **options): self.stdout.write('waitin...
[ "ahm.sami.271@gmail.com" ]
ahm.sami.271@gmail.com
86c01d24c8a65bb62895d8f7fd5b4121e6227f36
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_032/ch15_2020_03_09_16_43_39_394880.py
d97f1bf48a978c5d3d9d2f3b83f3fff684be1147
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
NOME=input('Digite o seu nome:') if NOME == 'Chris': print('Todo mundo odeia o Chris') else: print('Olá, {0}'.format(NOME))
[ "you@example.com" ]
you@example.com
4c72dff9feb8f888dc02a1444ab2161d5d33c6d4
e00d41c9f4045b6c6f36c0494f92cad2bec771e2
/multimedia/graphics/geh/actions.py
d0075a3227e29e19e28050c575c1f7c6ff2bd63b
[]
no_license
pisilinux/main
c40093a5ec9275c771eb5fb47a323e308440efef
bfe45a2e84ea43608e77fb9ffad1bf9850048f02
refs/heads/master
2023-08-19T00:17:14.685830
2023-08-18T20:06:02
2023-08-18T20:06:02
37,426,721
94
295
null
2023-09-14T08:22:22
2015-06-14T19:38:36
Python
UTF-8
Python
false
false
484
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): autotools.configure("--disable-gtk2"...
[ "icu7c1@gmail.com" ]
icu7c1@gmail.com
a96abf1bde0e271c2e15dd0cad6e0e9dd88e12a0
7ccbf3eb810bdbba4ffb65c20e7c0eaac6ddb66e
/rtt_analyzer.py
943ec3b4e735273702442c0cc947b4252fba7ab1
[]
no_license
ntc-netmesh/netmesh-rfc6349-server
5264de18d02f9a244080ae0ead26e8e9c578903a
dbd6e2006cd8dcbe18767bd52f3f9d82dc94c119
refs/heads/master
2021-09-26T19:32:10.719831
2020-08-28T06:24:30
2020-08-28T06:24:30
231,306,093
0
4
null
2021-09-18T04:26:36
2020-01-02T04:13:30
Python
UTF-8
Python
false
false
3,523
py
from scapy.all import * import traceback import sys import time ''' Gets the average rtt of a network trace file provided with the client and server IPv4 add. The average RTT is computed from the perspective of the client host. @PARAMS: filename : filename of the pcap/pcapng file ...
[ "jcvaldez1@up.edu.ph" ]
jcvaldez1@up.edu.ph
a0ed7cbed9ef438cd2a8f009ffb45f28b0f19996
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-1515.py
fd70e3a1a249fdf5f31490f6386c64d3a7cd4f0b
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
226292d87f9041ea7a86f8d84b6f3280dad920ad
08c8d45937e3b9db5ebb714089ac688876c14c0d
/Day4/Day4.py
86e70f332b155cbca055adf61e02ec3fd85ac5cc
[]
no_license
alexanderfast/AdventOfCode
3745d03ea4b4f6970e098bcacf30fd2a7ff4c206
89e4934312348c694964ad870f5f4df0932c7f3d
refs/heads/master
2021-05-30T04:28:53.332128
2015-12-21T19:20:55
2015-12-21T19:20:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import md5 numberOfZeros = 6 def test(s, i): m = md5.md5() m.update(s) m.update(str(i)) d = m.hexdigest() return d, len(d) - len(d.lstrip('0')) #print test("abcdef", 609043) #print test("pqrstuv", 1048970) i = 0 while True: d, c = test("iwrupvqb", i) if c >= numberOfZeros: print ...
[ "mizipzor@gmail.com" ]
mizipzor@gmail.com
c9d2286497bb35b93516dcc297c320d2f96cfc57
53885f6a7d91d725a902619355d31a717954a885
/Paralelno programiranje/src/Connect4.py
c0a0db26ca8e674eec37c2c45b1b117b578c397e
[]
no_license
miabarzic/FER-labosi
68c7e93972996d6e1bf2e6cf945cb7142ffc6939
f3422f335c1fd704e6fca4438bddd9a5c73456ff
refs/heads/master
2023-03-03T21:33:20.115307
2021-02-19T14:22:21
2021-02-19T14:22:21
340,382,418
0
0
null
null
null
null
UTF-8
Python
false
false
7,394
py
# ako nije postavljena zastavica NASTAVI_IGRU, program izračunava samo prvi potez računala i prekida s radom # mjerenja su provedena za dubinu 7 import sys from statistics import mean from mpi4py import MPI from Board import * import time from queue import Queue DUBINA = 6 NASTAVI_IGRU = True comm = MPI.COMM_WORLD si...
[ "mia.barzic10@gmail.com" ]
mia.barzic10@gmail.com
95b99eeeb62fe5d5845a1d7211ce8f29cf1115e8
64d1211404c89da4e09d77d859f2cdf6609a057e
/models/official/nlp/bert/model_training_utils_test.py
1940a764e46a11fba48b6faab7706797c15bace1
[ "Apache-2.0" ]
permissive
Nerfertili/Deep_learning_learning_udemy
f375209e0675ab8f4da9551d8a5bdee4f2948ed8
0fe6c1f36019b29151acb17a1f248b34d6089aeb
refs/heads/master
2023-02-17T10:10:52.536426
2021-01-19T02:48:23
2021-01-19T02:48:23
330,823,730
0
1
null
null
null
null
UTF-8
Python
false
false
12,085
py
# Copyright 2019 The TensorFlow 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...
[ "leal.afonso@outlook.com" ]
leal.afonso@outlook.com
7158389b398eb38e4631bb45f0697e767a5deb83
cab065ad6c2e754584c2c32c8ac27b283538045f
/question_voting/temp.py
a0de2013baefcfc6567534bd2a9dedfac84f525c
[]
no_license
Nasdin/Streamlit_Public_Question_Voting
548d3e496ae403dd65133f4f423d50cdeac2fb66
2261e87511567c47b702ba744cb424802a61152f
refs/heads/main
2023-07-17T23:04:54.378569
2021-08-24T07:37:33
2021-08-24T07:37:33
378,585,349
0
0
null
null
null
null
UTF-8
Python
false
false
5,935
py
# import hashlib # import time # import datetime # from dataclasses import dataclass, field # import uuid # # import streamlit as st # from enum import Enum # from collections import deque # from operator import attrgetter # # from typing import List # # st.set_page_config("Anonymous questions voting") # # # @st.cache(...
[ "Nasrudin.Salim.Suden@gmail.com" ]
Nasrudin.Salim.Suden@gmail.com
098ece09a8cf8faf5fc39bbc98ef1bc12039261d
41b8f4284e4caef9f06539eb0926d41c37c2457a
/ss_folder_plot.py
75cc4cc4684c197011333bb6639bb6d9c934e587
[]
no_license
spel-uchile/SeismicScripts
019ee34b9cced2401f17549c1a662d3bb75faf10
cad533721a4dd3b7e934c2bda6a6749d37fb6efb
refs/heads/master
2021-01-18T22:51:24.562043
2016-07-28T15:05:21
2016-07-28T15:05:21
65,047,952
2
2
null
null
null
null
UTF-8
Python
false
false
5,902
py
#!/usr/bin/env python __author__ = 'toopazo' import os # import argparse # from obspy.core import read # from os import listdir # from os.path import isfile, join import ss_plot import ss_utilities import subprocess class ApplyToFolder(): def __init__(self): pass @staticmethod def apply_to_folde...
[ "tomas.opazo.t@gmail.com" ]
tomas.opazo.t@gmail.com
f05afaefedd21c8a8362d23218c7eb4c9d7ffa0f
1ffc17893d9e15fd939628bbc41c3d2633713ebd
/docs/tests/test_documentation_tutorial.py
d607bf9a8a7c3372aaf0f4fa1cdc37a04f40be05
[ "Apache-2.0" ]
permissive
xadupre/sklearn-onnx
646e8a158cdded725064964494f0f8a760630aa8
b05e4864cedbf4f2a9e6c003781d1db8b53264ac
refs/heads/master
2023-09-01T15:58:38.112315
2022-12-21T01:59:45
2022-12-21T01:59:45
382,323,831
0
2
Apache-2.0
2023-01-04T13:41:33
2021-07-02T11:22:00
Python
UTF-8
Python
false
false
3,935
py
# SPDX-License-Identifier: Apache-2.0 """ Tests examples from the documentation. """ import unittest import os import sys import importlib import subprocess def import_source(module_file_path, module_name): if not os.path.exists(module_file_path): raise FileNotFoundError(module_file_path) module_spec...
[ "noreply@github.com" ]
xadupre.noreply@github.com
49c6cbd957b72bbe58f4d43230aeb3420ad6a399
fad392b7b1533103a0ddcc18e059fcd2e85c0fda
/install/px4_msgs/lib/python3.6/site-packages/px4_msgs/msg/_ulog_stream_ack.py
70bef6edd37055221ffb8d9a6fa0096b1b9e0d97
[]
no_license
adamdai/px4_ros_com_ros2
bee6ef27559a3a157d10c250a45818a5c75f2eff
bcd7a1bd13c318d69994a64215f256b9ec7ae2bb
refs/heads/master
2023-07-24T18:09:24.817561
2021-08-23T21:47:18
2021-08-23T21:47:18
399,255,215
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
/home/navlab-tx2-4/px4_ros_com_ros2/build/px4_msgs/rosidl_generator_py/px4_msgs/msg/_ulog_stream_ack.py
[ "adamdai97@gmail.com" ]
adamdai97@gmail.com
d9918150ac573b71d76f30a0003d5f85cfd22438
b76f7cd15857016c9b7d7a444488f0e122d90109
/dongyeop/2020.07.29.py
cf15c73be6e0f913cef857e2272ff3985ff1f911
[]
no_license
eunjin917/Summer-Algorithm-Merge
705e5a8837898a27911d8270799a37e6360262f5
d2e11873dac7745e8d662c3d7b4ff34570e1286d
refs/heads/master
2023-03-23T22:02:18.957706
2020-08-29T14:00:50
2020-08-29T14:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#개인 퀴즈 서울에서 김서방 찾기 def solution(seoul): return ("김서방은 {}에 있다".format(seoul.index('Kim')))
[ "ckehdduq95@gmail.com" ]
ckehdduq95@gmail.com
5fdf1941c40bcd68ef7d3c47bee5241f87b9daa3
191525bc567cc024674409235452a9b25fa3eda3
/website_test/utils/Incorporation.py
57d90ba9e3b6e8f66186f5cac8b6d403ad3ddfb7
[]
no_license
wangzilinwzl/largedata
80636d312e3f8872bcd7470d36bbe80981bae707
90e11ae96971f3df94ca715e24c5d1479949f6aa
refs/heads/master
2020-03-11T10:43:09.888339
2018-04-25T04:00:22
2018-04-25T04:00:22
129,949,712
0
0
null
2018-04-25T04:00:23
2018-04-17T18:40:26
Python
UTF-8
Python
false
false
1,109
py
# -*- coding: UTF-8 -*- from collections import OrderedDict import re import ast class Incorporation: def __init__(self): self.tripId = None # unique trip identifier, both trip_update and vehicle have self.routeId = None # mainly for trip_update self.startDate = None # trip_update self.direction = None # from...
[ "noreply@github.com" ]
wangzilinwzl.noreply@github.com
aacd4d9f8e9e86ba2ae0a5c0d5aed7be182347ba
2fd2aeda6e15fd8b4f9550aec2bed9699b5c8482
/4 Convolutional Neural Networks/Week 3/Car Detection for Autonomous Driving/Autonomous_driving_application_Car_detection_v3a.py
fe14b74dc8237576ac04c4ce62e8ae70831885a2
[ "CC-BY-4.0", "MIT" ]
permissive
saadashraf/Deep-Learning-Specialization
92ddf01a83431f5c02878e88b729d2b716c9d729
46f9a4762ad7c99b736cf683bf0c299a4dc413fc
refs/heads/master
2021-02-07T03:00:09.663607
2020-06-20T16:56:54
2020-06-20T16:56:54
243,975,042
0
0
null
null
null
null
UTF-8
Python
false
false
44,948
py
# coding: utf-8 # # Autonomous driving - Car detection # # Welcome to your week 3 programming assignment. You will learn about object detection using the very powerful YOLO model. Many of the ideas in this notebook are described in the two YOLO papers: [Redmon et al., 2016](https://arxiv.org/abs/1506.02640) and [Red...
[ "saadbinashraf14@gmail.com" ]
saadbinashraf14@gmail.com
dfad5f6ea7eb74e5d4322d0071934b582395383f
0bf3d0c1c3498ab1b83d97db4952473961c1b7b3
/model.py
5ab133e48d6165234a1d80c7d0d66cc2fbdeee50
[]
no_license
francislata/Qualitative-Bankruptcy
9c1eeddbe2df6d56763397937ef9faec8c75137d
d67d88a3027d68ec516322ca4209dbfe3cb05a17
refs/heads/master
2020-06-06T04:40:21.972153
2018-05-01T13:04:52
2018-05-01T13:04:52
192,640,069
0
1
null
null
null
null
UTF-8
Python
false
false
770
py
#### #### #### Creates, trains, and evaluates the performance of the model #### #### from sklearn.linear_model import LogisticRegression from sklearn.metrics import accuracy_score from sklearn.svm import SVC ''' Creates a logistic regression model ''' def create_logistic_regression_model(X_train, y_train, C=1.0): lr...
[ "francisalbertlata@gmail.com" ]
francisalbertlata@gmail.com
f2b90c51b49583857902826574b0babfede18352
074815153c80531087cc95d20c5e74678a74140b
/voice_with_gtts.py
eae05542cc9da2f9116520e18b73b09b2b71cfd2
[]
no_license
yosshor/generator_iterator_oop
2f51c07445c3c08df510716b77e9ce78ff881d11
c17b67811f07c91ac12a3ea8de9386d36f0367c7
refs/heads/master
2021-01-03T19:02:47.463329
2020-03-15T12:27:06
2020-03-15T12:27:06
240,201,057
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
""" @author: Yossi """ import pyaudio import os from gtts import gTTS import time import playsound import speech_recognition as sr def speak(text): tts = gTTS(text = text, lang = 'en') filename = 'vo1e.mp3' tts.save(filename) playsound.playsound(filename) def get_audio(): ...
[ "noreply@github.com" ]
yosshor.noreply@github.com
6c581520c0a8ff756de56610a2aa4c7bfb50f4cd
8622480303d72c305e0674355372fbca2ca77056
/models.py
f77d12d50a27c6b67ed22d7a0cc22398249f4ce6
[]
no_license
Deepaknkumar/book-reviews-goodreadsAPI
000a780be340420249c746f712fc8ba207c280e2
9f0aa0aeff213750760f63aa7fea29b3d45556e5
refs/heads/master
2020-03-27T19:00:36.457603
2018-09-12T09:13:16
2018-09-12T09:13:16
146,959,792
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import os from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Book(db.Model): __tablename__ = "books" isbn = db.Column(db.String, primary_key=True) title = db.Column(db.String,nullable=False) author = db.Column(db.String,nullable=False) year = db.Column(db.Inte...
[ "Deepaknkumar@users.noreply.github.com" ]
Deepaknkumar@users.noreply.github.com
6894a6b396ff574611bbaab9f07d5bb7b3b63a6c
063082a1edc9b4b99e1f3d617b8629aad409927b
/manage.py
23000f6e486c30052ab7e8b67cdafc7083212465
[]
no_license
vijay-pal/dj-cricket
13c1f2729b5db6e5667d30f5b24083e6a0024ba2
3a5a601cde00d9d2f2ba9b4c8d08e36cdc9b9045
refs/heads/master
2022-11-25T14:26:05.478216
2020-01-30T10:09:55
2020-01-30T10:09:55
237,181,358
0
0
null
2022-11-22T05:16:47
2020-01-30T09:39:18
Python
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cricket.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "vijaypal.vishwakarma@careers360.com" ]
vijaypal.vishwakarma@careers360.com
d724ffcb1a40b3d90ae5e185e3cb7e2963d67e4e
b833e195b0ffa18f7aec56b7ff89995743d70559
/app/__init__.py
d2a92b649d97e5e2fe19e1d82f0bb00c39bab700
[]
no_license
y-himanen/english_finnish_coding_dictionary_website
00c291b76b84bc0fd5ee3107f71736fd1f1de5b4
c29a4dab4029fc264074e70b9ed2171008f4ac67
refs/heads/master
2023-04-01T20:32:49.099766
2021-04-16T07:19:11
2021-04-16T07:19:11
358,505,601
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config.from_object('config') db = SQLAlchemy(app) from app import views, models
[ "y.himanen@gmail.com" ]
y.himanen@gmail.com
25eb28da4c15af658689383ec67271d21e30711e
2e145222a18d4509d937951f5cec4df0e26ee86f
/vas/sqlfire/AgentInstances.py
c7014e3358ef52496bfff95762d437cb06c53a4c
[ "Apache-2.0" ]
permissive
vdreamakitex/vas-python-api
7627b7e3fcf76c16b1ea8b9fb670fdb708eff083
ce7148a2044863e078e78b47abbaafc426f732ee
refs/heads/master
2021-01-18T05:13:25.459916
2012-11-05T09:58:45
2012-11-05T09:58:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,711
py
# vFabric Administration Server API # Copyright (c) 2012 VMware, Inc. 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 ...
[ "bhale@vmware.com" ]
bhale@vmware.com
5768fb03e448aa751461332c7f06eb6eb3c301ff
6e9960a37c4aac87e5677eff1ab8b2dcde6a43c8
/ecommerce/settings/local.py
c81bf4f59835727498139a169ba44363ee6714ed
[ "Apache-2.0" ]
permissive
ferdyrod/basic-ecommerce
57fe6cc7f0cfc2da41e733d98f5c985b5f5eb9cb
46f4be17be09cbd7b80486f39ebf5eb745157a48
refs/heads/master
2021-01-19T16:24:26.724187
2013-10-08T05:09:14
2013-10-08T05:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,918
py
# Django settings for ecommerce project. from os.path import dirname, abspath, join PROJECT_ROOT = dirname(dirname(dirname(abspath(__file__)))) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django....
[ "ferdyrodriguez@gmail.com" ]
ferdyrodriguez@gmail.com
60cca0554fc391c8910a0b8c969b20ba3d55b93c
0799209af0ad6f1c675d1128f3acfc7fba6d44e4
/leetcode_offer/55_balanced_BT/bbt.py
44449f53aacba0f465eeb3c68dfbb7af18210792
[]
no_license
qq714412541/leetcode
27398351b9dd428f5bbb4835e437fabe36aa6251
cf10aa55a65da250926cc31e9f170625f73ae62d
refs/heads/master
2020-07-21T19:06:16.661100
2020-03-03T15:28:10
2020-03-03T15:28:10
206,950,777
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
class Solution: def isBalanced(self, root: TreeNode) -> bool: res,deep = self.re(root,1) return res def re(self,node,deep): if not node: return True,deep-1 else: #print() l,deepl = self.re(node.left,deep+1) r,deepr = s...
[ "noreply@github.com" ]
qq714412541.noreply@github.com
6a025822293d280b363c8ee09b8d2aaa45d207cd
9c9874dcd52819b5c79cdc063d32d544aa73977e
/MindLink-Eumpy/real_time_detection/GUI/FaceFeatureReader.py
9bf4fe8a9e2753373d721d85aac82253ac027962
[ "MIT" ]
permissive
wozu-dichter/MindLink-Explorer
cbfe1e1a55a6cdccb7f040e90b2faa8c3d94880e
531f646dcb493dce2575af3b9d77403ebc1f4a35
refs/heads/master
2023-06-27T10:57:58.411387
2021-07-24T11:09:46
2021-07-24T11:09:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,662
py
# encoding: utf-8 ''' Created on Dec 23, 2018 @author: Yongrui Huang ''' import keras import keras.layers as L import cv2 import random import string import os from bokeh.themes import default # In which cases should I use bokeh in Eumpy? From Ruixin Lee import queue # class FaceFeatureReader(object) class Fac...
[ "41141489+Breeze1in1drizzle@users.noreply.github.com" ]
41141489+Breeze1in1drizzle@users.noreply.github.com
83e2c440565a02e41fd9bbf9131108e3ed884e3c
5e1f1364ea41e8e687772b4d6240bfa457324550
/quantity.py
7760ab13dbd602862aa27c2be0b8d6ccf09698c0
[]
no_license
yaseppochi/my-python
2872ef26dd3c857864126bb581f6624b54b1fac7
63fe9b81a737c23cfea60a9dcd13894a1b814f1d
refs/heads/master
2023-07-01T09:17:25.614078
2021-08-12T06:53:16
2021-08-12T06:53:16
395,220,082
0
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
# Sure, but for Python programmers that's not how it would be done. In # a general-purpose language, you would use the type system. It would # be done like this (only better, I just don't feel like writing out a # whole suite of math dunders): # If I remember my 1976 EE course correctly: # one of several ways to...
[ "stephen@xemacs.org" ]
stephen@xemacs.org
205101325b29051add4fec00ed7a7ca59766cd56
f1e7c31d22ee90e5e3705352170388c09b7470d4
/day2/decorator4.py
69c18443a573abae91c47ec9c78ea8ce44331c52
[]
no_license
taizilinger123/apple
d0b58eb184d4a7c5aec674e914fa67139d2419ca
285c10eedfa0863ad6d51efb9dea5c7d0ae540a6
refs/heads/master
2020-03-28T07:54:50.118668
2018-09-09T05:37:12
2018-09-09T05:37:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
import time def timer(func): #timer(test1) func=test1 def deco(*args,**kwargs): start_time=time.time() func(*args,**kwargs) #run test1() stop_time=time.time() print("the func run time is %s" %(stop_time-start_time)) return deco @timer #test1=timer(test1) def test1(): ti...
[ "837337164@qq.com" ]
837337164@qq.com
5a65d9db69cc96ce79400cbb5568df203c4e877b
a7bf2878bb0d17626b9a58e00f2c7308448b4c31
/task 6.py
58eb209cc4dbdd719027983995b8ec346678c2dc
[]
no_license
Aaron44201/iteration
be85f7b308fd12985301b2906f3b474022cda7a8
5585c3cb48013bbc285b23a6c979cbb26e7c2daa
refs/heads/master
2021-01-19T11:15:48.894513
2014-11-14T14:00:03
2014-11-14T14:00:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
#Aaron Bentley #21/10/1014 #task 6 count = 0 for count range(1,21) weight = count * 2.2 print("{0:>2}KG = {1:>2}Pounds".format (count,weight))
[ "44201@longroad.ac.uk" ]
44201@longroad.ac.uk
9a7fc8e23d82ffb80c491b1e51e26e71ab025f91
ce18cf6bdb1a85a65a509597b4c0ec046b855186
/2020年12月/换酒问题.py
2aae2a3d340b6efc017fbb7a2722d70f2ee89088
[]
no_license
elssm/leetcode
e12e39faff1da5afb234be08e7d9db85fbee58f8
a38103d2d93b34bc8bcf09f87c7ea698f99c4e36
refs/heads/master
2021-06-11T06:44:44.993905
2021-04-28T06:14:23
2021-04-28T06:14:23
171,072,054
3
0
null
null
null
null
UTF-8
Python
false
false
376
py
class Solution(object): def numWaterBottles(self, numBottles, numExchange): """ :type numBottles: int :type numExchange: int :rtype: int """ res=numBottles while numBottles//numExchange: res+=numBottles//numExchange numBottles=numBottle...
[ "noreply@github.com" ]
elssm.noreply@github.com
2172eae3b8a6040dca586a55ab06a8232237dacd
35247b545100a3b550f45b7231f364447993ed4f
/cadastro_orama/models/perfil_usuario.py
ce5a96eaf3dbe6e5b687d3005a9c2933f5fbeecf
[]
no_license
orama-investimentos/orama-cadastro-python
f96ceeac0b0eedfadfa9f7b24acb9c0a91d3cdee
b1625db4ad965b51c478df4d4fa742b641838461
refs/heads/master
2022-04-12T03:24:28.918549
2020-02-17T14:12:28
2020-02-17T14:12:28
202,339,973
1
0
null
null
null
null
UTF-8
Python
false
false
22,853
py
# coding: utf-8 """ Criação de Contas API de Criação de Contas. # noqa: E501 The version of the OpenAPI document: 2.0 Contact: cadastro_api@orama.com.br Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from cadastro_orama.configuration import ...
[ "marcelo.lino@orama.com.br" ]
marcelo.lino@orama.com.br
21a1cc4eb1bd179ff89d75cea8a6a470f7fd27a8
8686ab49db2fa1d13711820bc241bf618b59b8f8
/Transformer_originTorch/transformer/Modules.py
5aeb16d095f1210ff80af2a3066622c7a98101e4
[]
no_license
helloworld729/40_torch-self-learning
b3b781f39b2da7d5a5bd8be5c9767b9e3dbe56a6
d04a02a5392f33a74d2421a1f04c36dba691b70d
refs/heads/master
2023-06-01T00:55:38.673425
2021-06-06T08:24:47
2021-06-06T08:24:47
322,810,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import torch import torch.nn as nn import numpy as np __author__ = "Yu-Hsiang Huang" class ScaledDotProductAttention(nn.Module): ''' Scaled Dot-Product Attention ''' def __init__(self, temperature, attn_dropout=0.1): super().__init__() self.temperature = temperature # 分母 self.dropout...
[ "1952933329@qq.com" ]
1952933329@qq.com
d39a4d7e9dc42b930eb7632dc42c3279613626e7
b10945c8462fd0388dd5f68e93e0c142ad8ad571
/testlist/consumers/__init__.py
ac2c328345edbc88cacf5a35aa43d713584190dc
[]
no_license
ju1900/netmgr
88cd89794a1c84d9c6e0c394ebf04981e4fdc469
0a2b5f00590517df15b3f49cca7a4ed652bf0f7b
refs/heads/master
2020-04-28T04:52:21.114836
2019-04-03T16:28:30
2019-04-03T16:28:30
174,997,756
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from .testlist import TestlistConsumer from .product import ProductConsumer from .testcase import TestcaseConsumer from .chapter import ChapterConsumer from .section import SectionConsumer from .testcase import TestcaseConsumer
[ "1044161599@qq.com" ]
1044161599@qq.com
289bec8fb1a7d43b36a2e31a1fe72a52fe207a0b
f2407926946476f6e09ac82547ff394e3d24e40c
/app/app.py
ea0ee1f9986ec5ccb2b685dc9584975501d871d0
[]
no_license
abramic/python_email_test_code
31609d2c6cb35880eb58de7bba7f454ece40224b
cbd0bc52235e6f62b389e465ae2e0ba948da77dd
refs/heads/master
2020-09-23T06:47:35.427964
2019-12-02T17:47:46
2019-12-02T17:47:46
225,430,943
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from flask import Flask, request, make_response, jsonify app = Flask("python_email_test_server") @app.route('/ping', methods = ['GET', 'PATCH', 'POST', 'PUT', 'DELETE']) def handler(): return make_response('Hello World From Python Test Email Server!', 200) app.run(port=int('5001'), debug=True)
[ "57453141+abramic@users.noreply.github.com" ]
57453141+abramic@users.noreply.github.com
766cc242f93877211cb77bca7ec7854882082424
c5b690228639a0dd8f8e7c371e58994f04d19474
/levelupapi/models/event.py
a72159c47a1b8f8b217abc52811944d9b472387b
[]
no_license
KyleSimmonsC44/levelup-backend
9c299f4d94f9698ea7128992c2deda9990e61f9a
926901fb67e0c337975400a22d28f66c3953a948
refs/heads/main
2023-03-13T06:28:39.672932
2021-03-01T21:16:21
2021-03-01T21:16:21
337,529,762
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from django.db import models class Event(models.Model): event_time = models.DateTimeField(auto_now=False, auto_now_add=False) game = models.ForeignKey("Game", on_delete=models.CASCADE) location = models.CharField(max_length=50) scheduler = models.ForeignKey("Gamer", on_delete=models.CASCADE) ...
[ "darrensimmons92@gmail.com" ]
darrensimmons92@gmail.com
19051aed542c9f4efa751cfbf4908783c1d3215e
dd0d2a4da64200a7bea42d23122384189b900850
/common_digit.py
64c95fda4c01ff6bdc0db9231dae66fbd66e46a4
[]
no_license
gakkistyle/comp9021
06ad00b47b7b0135013b014464b5f13530cad49d
4d0d4a2d719745528bf84ed0dfb88a43f858be7e
refs/heads/master
2022-09-24T13:10:29.609277
2020-06-06T16:54:42
2020-06-06T16:54:42
270,043,710
14
7
null
null
null
null
UTF-8
Python
false
false
770
py
def average_of_digits(digit=None): if digit == None: return -1 if len(digit) == 1: digit_set = set(str(digit[0])) sum = 0 for e in digit_set: sum += int(e) return sum/len(digit_set) common = [] word_set1 = set(str(digit[0])) word_set2 = set(str(dig...
[ "1824150996@qq.com" ]
1824150996@qq.com
cc3dc9d0cd4cc83d55b95cacc6d634ffd4784dba
147c0e0ff8dc7db0dbdf19e5d4a5cea65e23ecbe
/gridlabd_functions_ToU.py
01834a9c38be842f4f61cf5286a7522c7b994c24
[]
no_license
mlamlamla/powernet_pyGridlabD_market
54684f922a73cb0ba5ad06769fc2a1e6e866fbd5
0eec1ebb4377e90c5a193e4db62139511b921c55
refs/heads/master
2021-05-21T21:36:35.703471
2021-01-19T23:48:48
2021-01-19T23:48:48
252,811,004
1
0
null
null
null
null
UTF-8
Python
false
false
9,269
py
import gldimport import os import random import pandas import json import numpy as np import datetime from datetime import timedelta from dateutil import parser import HH_functions as HHfct import battery_functions as Bfct import EV_functions as EVfct import PV_functions as PVfct import market_functions as Mfct import ...
[ "admin@admins-air.attlocal.net" ]
admin@admins-air.attlocal.net
4449c65735420538e3030db0927495d01c74b926
95ac3e99aefdbd5c7e402d3da18c0d036ef550db
/manage.py
fdaf7b004cb414e5a5d305877816debccdd4cce7
[]
no_license
HugoTorquato/HighFive
69c0679f0c365675d7a652376d078b32a3a778f3
f95f47b75aa0c33e628e0b068bab7a6ddd0cdf04
refs/heads/master
2020-11-28T22:17:15.558274
2016-11-11T19:33:25
2016-11-11T19:33:25
73,505,823
0
1
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "HighFive.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "hugo.1601@hotmail.com" ]
hugo.1601@hotmail.com
9cca650b3301e4916cc9617d1975ef0d38bf3470
73da213ea771f2b9d949899316f359f9e9ad6202
/write_message.py
56a4f8f8163c05f02b31630353e4c58d43899d08
[]
no_license
chewbocky/Python
99e0d1dedcd8b2abc15bbcd31f70aed02ffdd466
d7c85b4afaff1c5e9af6b56522a1ae55d79e179e
refs/heads/master
2022-12-19T23:57:38.099333
2020-07-13T15:42:16
2020-07-13T15:42:16
279,340,672
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
filename = 'programming.txt' with open(filename, 'w') as file_object: file_object.write("I love programming.\n") file_object.write("I love creating new games.\n") with open(filename, 'a') as file_object: file_object.write("I also love finding meaning in a large datasets.\n") file_object.write("I love cr...
[ "noreply@github.com" ]
chewbocky.noreply@github.com
d91d149ee7f1f3e7311509b927757d609ff8d8eb
b7e9ab14db325c1463a1272ff8f08598605b8a59
/manage.py
8897bf0260b87945dce2932d5dec384136caa125
[]
no_license
Jaron-Lane/terrace-server
f5074f0b5ef520f5f04e8ca0d356076869f574f3
7f4082431116f92b62e6e47a72961d42a390080f
refs/heads/main
2023-04-18T03:15:18.415139
2021-05-05T22:09:31
2021-05-05T22:09:31
347,155,628
0
0
null
2021-05-05T22:09:32
2021-03-12T18:08:39
Python
UTF-8
Python
false
false
663
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'terrace.settings') try: from django.core.management import execute_from_command_line except Impo...
[ "jaronwohlwend@icloud.com" ]
jaronwohlwend@icloud.com
25e7327406a17a8417fb65524c93e6f254497534
3cd46ae87939ab863d2e2f66ae182678410c39dc
/gott.2.py
e62295103e026140df8c811a527e9fc56bf19fb2
[]
no_license
Retryzzzz/DDoS
279595b1e122b4c6cb56552ea0c376a31d9e9298
0ea63eacfbde527725cae7d19872665beae7c14b
refs/heads/main
2023-07-07T08:48:37.372111
2021-08-03T23:08:17
2021-08-03T23:08:17
392,460,970
2
0
null
null
null
null
UTF-8
Python
false
false
715
py
#!/usr/bin/python import socket,random,sys,time if len(sys.argv)==1: sys.exit('Usage: f.py ip port(0=random) length(0=forever)') def UDPFlood(): port = int(sys.argv[2]) randport=(True,False)[port==0] ip = sys.argv[1] dur = int(sys.argv[3]) clock=(lambda:0,time.clock)[dur>0] duration=(1,(cl...
[ "noreply@github.com" ]
Retryzzzz.noreply@github.com
4e3a31b6e2fd4886d76d75722feba2bfeb82bb89
584959d4d8ef3a30620bc7c1c77dea3ff0921385
/explorer_bringup/explorer_bringup/manager.py
55ff37aed634bf554f86e50a11fd2fc2b1dbeda0
[]
no_license
MistyMoonR/ros2_explorer
29b6fbd44d3ffe8110ec2f85c91efc0b125c7894
aea13461513b5e47953f998fa96869072e2c1a62
refs/heads/main
2023-06-09T00:24:25.966183
2021-07-03T17:14:08
2021-07-03T17:14:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,372
py
from action_msgs.msg import GoalStatus from geometry_msgs.msg import PoseStamped from explorer_interfaces.action import Wander from explorer_interfaces.action import Discover from nav2_msgs.action import NavigateToPose from std_msgs.msg import Float32 from visualization_msgs.msg import MarkerArray import rclpy import...
[ "d.garcialopez@hotmail.com" ]
d.garcialopez@hotmail.com
b5ce86e5c7206e0947b0bcb912983f891ecd0ce1
6df76f8a6fcdf444c3863e3788a2f4b2c539c22c
/django code/p109/p109/asgi.py
dbabed799f89d9fe7ba5076c4cdafffb94c9e6d1
[]
no_license
basantbhandari/DjangoProjectsAsDocs
068e4a704fade4a97e6c40353edb0a4299bd9678
594dbb560391eaf94bb6db6dc07702d127010b88
refs/heads/master
2022-12-18T22:33:23.902228
2020-09-22T13:11:01
2020-09-22T13:11:01
297,651,728
1
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" ASGI config for p109 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "36443209+basantbhandari@users.noreply.github.com" ]
36443209+basantbhandari@users.noreply.github.com
4fdbf3ec62b7689a08b2f098eb3daa2d0e7c2129
6a81e186b9ece0d7e35d3836018ae65810d91caa
/pwngef/memoize.py
bd0ffbc4005262dd461a6c9895567225a6d018e6
[ "MIT" ]
permissive
AEROBATlCS/pwngef
e3231b8df6ff3695ae213f3bf21cb7f02f170118
77619d7266f58523fda2c40a54255093389027e6
refs/heads/master
2020-12-13T01:12:21.276350
2020-01-10T13:26:33
2020-01-10T13:26:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,847
py
#!/usr/bin/python """ Caches return values until some event in the inferior happens, e.g. execution stops because of a SIGINT or breakpoint, or a new library/objfile are loaded, etc. """ import collections import functools import sys import pwngef.events debug = False class memoize(object): """ Base memoiza...
[ "GH0st3rs@users.noreply.github.com" ]
GH0st3rs@users.noreply.github.com
c357997cbb60325855930257b942fbd28f13b1d8
6130f811f3acfcb9f60939d8752bb035cadaf928
/examples/adspygoogle/dfp/v201311/order_service/update_orders.py
24750560181ff34e7c6f4beb06d0f96e0cb10b50
[ "Apache-2.0" ]
permissive
gsembi/googleads-python-legacy-lib
f2e3197413c23c1192b11e54bf78c087f04a2baa
9de235ffb65d014dd6ba22be50659c910eca5ae2
refs/heads/master
2021-01-23T23:38:28.076465
2014-10-14T20:38:20
2014-10-14T20:38:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,707
py
#!/usr/bin/python # # Copyright 2013 Google Inc. 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 b...
[ "emeralddragon88@gmail.com" ]
emeralddragon88@gmail.com
ac8f9f2c4057ab0711a7c50124f020d7bd010361
5479cdac56abc115d3b52fbd31814dfd27262da7
/TaobaoSdk/Request/MarketingPromotionsGetRequest.py
5cd18fc86d83e7ffabe7feb005d71b73b4f75e98
[]
no_license
xuyaoqiang-maimiao/TaobaoOpenPythonSDK
d9d2be6a7aa27c02bea699ed5667a9a30bf483ab
c82cde732e443ecb03cfeac07843e884e5b2167c
refs/heads/master
2021-01-18T07:49:57.984245
2012-08-21T07:31:10
2012-08-21T07:31:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,100
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim: set ts=4 sts=4 sw=4 et: ## @brief 根据商品ID查询卖家使用该第三方工具对商品设置的所有优惠策略 # @author wuliang@maimiaotech.com # @date 2012-08-09 12:36:54 # @version: 0.0.0 import os import sys import time def __getCurrentPath(): return os.path.normpath(os.path.join(os.path.realpath(...
[ "liyangmin@maimiaotech.com" ]
liyangmin@maimiaotech.com
5589707f2d4cd3872f1c6f79dbc9afe2ad876a17
926444e11e546a3b27f0631ce919ce3cb21e5d91
/SheCodeAfricaC2M/myproj/resullt.py
7d216cc2efc3d12ef7f16a2ab5f9dbe502b3f366
[]
no_license
VictoryWekwa/SCAMP-C2-Assignment-and-Projects
3e1f4a2dc39e7e559d9bf8425555dd24af9165c9
3ec55c1db937732443d976fa73e3b4a79e4d40bf
refs/heads/master
2022-11-27T07:40:25.246238
2020-07-28T21:46:29
2020-07-28T21:46:29
276,183,522
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
""" Print the list by importing the list name from the file in the module by doing from module_name.filename import list_name(what you used to define your list) """ from animals.breeds import animal_type print(animal_type)
[ "victorywekwa@gmail.com" ]
victorywekwa@gmail.com
30cf5e66638583d9b43a956441ad69f207d90997
2807c9de1807502c84bd835d24d198029c59a951
/init.py
01b5bb7512dcbb3bbb63057d492bf69ef4b454c1
[]
no_license
tokamaster/shield_opt
bcf856cce981ad0f08b8e7b9194c347796e717c8
f5048cd7d1da55c186ab66e9e679adcb05f4e5ff
refs/heads/master
2020-03-26T14:44:23.908449
2018-08-30T12:35:43
2018-08-30T12:35:43
145,002,489
2
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
from halton_seq import * from gp_tools import * from tokamak import * from tqdm import tqdm from pygmo import * import numpy as np import itertools import pickle import json import multiprocessing import glob import os def init(outer, major, coil, halton, m_batches, m_error, neutrons): number_of_datapoints=halton ...
[ "emd542@york.ac.uk" ]
emd542@york.ac.uk
5f8dc7f6ee3faba3e195cb8bd5c54cebab04e678
6eb282bbe4d43273b9e9cc8c0fa79400888cba9e
/tests/test_routes_image.py
e98c7912a9f48cdf2e6d390350ecba8cd232dc51
[ "MIT" ]
permissive
jdelgad/memegen
d4300c707c5fee59aa2f5c5e0e8e606d699255ef
0de8e5d6bfae75843bbe0d149c7796cb044e24a7
refs/heads/master
2020-12-25T08:51:20.523408
2016-06-10T13:50:46
2016-06-10T13:50:46
60,996,119
1
0
null
2016-06-13T00:30:19
2016-06-13T00:30:19
null
UTF-8
Python
false
false
7,191
py
# pylint: disable=unused-variable,misplaced-comparison-constant,expression-not-assigned import os import pytest from expecter import expect from .conftest import load TESTS = os.path.dirname(__file__) ROOT = os.path.dirname(TESTS) IMAGES = os.path.join(ROOT, "data", "images") LATEST = os.path.join(IMAGES, "latest.j...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
8e3e89e77d9924d1ddabb24682fde6dd16748c3b
8f034869364a9a4d1a87caa829f3fa054f5e4d0c
/C_IMS_FieldCalc_MonthNum.py
ca271ca11880f59aac730d63c872b795f7734942
[]
no_license
MichaelIseli/IMS_DataMining
fc894c6bac7bd915b2035934270a751f0d36e112
2071dde1c25be8f4359f4ce86eaa03210136b63b
refs/heads/master
2021-05-04T18:26:01.543232
2018-02-04T10:05:25
2018-02-04T10:05:25
120,173,646
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # C_IMS_FieldCalc_MonthNum.py # Created on: 2017-11-06 14:53:54.00000 # (generated by ArcGIS/ModelBuilder) # written for UNIFIL JGIS by Michael Iseli # Description: # -------------------------------------------------...
[ "michael.iseli3069@gmail.com" ]
michael.iseli3069@gmail.com
25882e57a82a78e6c00def51293bb0314b77606e
e6bbdb2f3cfac2b32230ef309b9d85cf3cbc2487
/DavinciCode/DavinciCode/davinciCode/game.py
5ddc1a98d80aad27b58327e25e9e33d1f43b67f9
[]
no_license
neuer712/CardGame_DavinciCode
d87642579b231ecdb736f30ab79aead7393ac85e
d6a6ce56e8f72e1a52af36152394d3f2ac7515bf
refs/heads/master
2021-08-23T20:50:42.457195
2017-12-06T13:43:28
2017-12-06T13:43:28
113,063,903
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
''' Created on 2017年12月4日 @author: 魏来 ''' from davinciCode import card import functools def printAllCardsStep(cardList,n): for card in cardList: card.paintLine(n) print(' ',end='') print('') def printAllCards(cardList): i=0 while(i<=4): printAl...
[ "neuer712@163.com" ]
neuer712@163.com
b5e23c5c655c526644f144779516ce18dd7a353e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/97/usersdata/194/54823/submittedfiles/lecker.py
f56acb6233287f3cbe81bfd2b3aa0164580158d3
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
# -*- coding: utf-8 -*- from __future__ import division def lecker(lista): cont=0 for i in range(0,len(lista)-1,1): if i==0: if lista[i]>lista[i+1]: cont=cont+1 elif i==(len(lista)-1): if lista[i]>lista[i-1]: cont=cont+1 else: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e3d12e4210c69e1c172dac13bea2b51e14587321
a0447b03ad89a41a5c2e2073e32aeaf4d6279340
/ironic/drivers/modules/noop_mgmt.py
0efc089e9932c6c25902c35209c4712a7a348bac
[ "Apache-2.0" ]
permissive
openstack/ironic
2ae87e36d7a62d44b7ed62cad4e2e294d48e061b
ab76ff12e1c3c2208455e917f1a40d4000b4e990
refs/heads/master
2023-08-31T11:08:34.486456
2023-08-31T04:45:05
2023-08-31T04:45:05
10,066,301
411
365
Apache-2.0
2023-07-25T02:05:53
2013-05-14T22:28:24
Python
UTF-8
Python
false
false
2,090
py
# 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 # distributed under t...
[ "juliaashleykreger@gmail.com" ]
juliaashleykreger@gmail.com
47074efbcc3c04a478c11b66f1027b0c4c55a16c
f68cdb00a704effd4250ab7a749b81f5ef7eee1e
/threshold.py
1c4fa8f176d5f6996c5329ed32577e8cdb1ba9d4
[]
no_license
adityajangir/openCV
86669373b1ccc3efc685d0c2aa9bfac29cc8d94c
25d642877a39def9b281586bcd25e912506c3974
refs/heads/main
2023-08-11T14:18:10.420249
2021-10-07T17:06:24
2021-10-07T17:06:24
414,689,897
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
import numpy as np import cv2 as cv grad = cv.imread('gradient.png') _, th1 = cv.threshold(grad, 127, 255, cv.THRESH_BINARY) _, th2 = cv.threshold(grad, 127, 255, cv.THRESH_TRUNC) _, th3 = cv.threshold(grad, 127, 255, cv.THRESH_TOZERO) cv.imshow('image', grad) cv.imshow('th1', th1) cv.imshow('th2', th2) ...
[ "noreply@github.com" ]
adityajangir.noreply@github.com
8aac474ed41ab941cc830699ba847bd56a96843a
7698a74a06e10dd5e1f27e6bd9f9b2a5cda1c5fb
/zzz.masterscriptsTEB_GIST/for005md.py
5c2e1af3abcf60dbbdff817943ffd3a973318e9a
[]
no_license
kingbo2008/teb_scripts_programs
ef20b24fe8982046397d3659b68f0ad70e9b6b8b
5fd9d60c28ceb5c7827f1bd94b1b8fdecf74944e
refs/heads/master
2023-02-11T00:57:59.347144
2021-01-07T17:42:11
2021-01-07T17:42:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,330
py
import sys import copy import math import matplotlib import scipy import numpy import pylab def read_MD_outfile(filename,totE, kE, pE, time, temp, pres): fileh = open(filename,'r') result_flag = False count = 0 for line in fileh: line = line.strip('\n') splitline = line.split() ...
[ "tbalius@gimel.cluster.ucsf.bkslab.org" ]
tbalius@gimel.cluster.ucsf.bkslab.org
ac1861ccf453f5869239f42d8cd7408592ea1555
185b9fbdddd1163802683acd76f4e6afec82505a
/day07/11-字典的练习.py
7704d2246212e6300f3187cb937b48493523a706
[]
no_license
xiaofeng12138/python0622
63404efbe6faf95c95f99ea3473dcb5ff373c32b
e0900e73839d76e321a410707e10f296a59f44f6
refs/heads/master
2022-11-14T14:54:41.634488
2020-07-10T08:49:16
2020-07-10T08:49:16
274,008,697
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
#获取下面列表中出现次数最多的字母 chars = ['a','c','c','c','a','f','e','a','r','a'] chars_count ={} for x in chars: if x in chars_count: chars_count[x] += 1 else: chars_count[x] = 1 # print(chars_count) vs = max(chars_count.values()) for k,v in chars_count.items(): if (v == vs): print(k)
[ "760811650@qq.com" ]
760811650@qq.com
7bfaaf0db70cf0354f13f8bb62ab277d818e5da2
972dff80b81c78082e9022084ef75e954b204471
/gui/system/alertmods/volume_status.py
44a265cdb00c201d6b3499a3c0ac6c890b8daed5
[]
no_license
TomHoenderdos/freenas
34bbf9957ed5904f1296af5a57eedc95e04f1074
83ae0c1805ea7e57b70f436810eca3b9cc0c9825
refs/heads/master
2021-01-17T09:29:19.668079
2014-01-28T01:58:23
2014-01-28T01:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,124
py
import re import subprocess from django.utils.translation import ugettext_lazy as _ from freenasUI.storage.models import Volume from freenasUI.system.alert import alertPlugins, Alert, BaseAlert class VolumeStatusAlert(BaseAlert): def on_volume_status_not_healthy(self, vol, status, message): if message:...
[ "wg@FreeBSD.org" ]
wg@FreeBSD.org
c5a3cbfc2e0f6b6aa10fc2c33aa96d88cb8488e6
4e59088217a26b6da53ba51ec94183ca504ef7f4
/letter_combo_phone.py
a677b5f6c54a3a5c2d017a0174e7c3ef5d77ff78
[]
no_license
RaymondZW/lc600
5770a046a3e2a65d096c668052cc00f742e3487e
c0b927e1206b468e345b707f024259770852c8b8
refs/heads/master
2020-06-29T03:33:09.175337
2020-01-31T05:52:42
2020-01-31T05:52:42
200,427,923
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
from Type class Solution: def letterCombinations(self, digits: str) -> List[str]: phone = {'2': ['a', 'b', 'c'], '3': ['d', 'e', 'f'], '4': ['g', 'h', 'i'], '5': ['j', 'k', 'l'], '6': ['m', 'n', 'o'], '7': ['p', 'q', 'r', '...
[ "ali@truecar.com" ]
ali@truecar.com
e7336ad6624b3e4ec4ea7407e1bcdfe869106bdb
c258ce2e179c362c75628c07a049854b6062d5f5
/accountmanager/wsgi.py
c0bb7dfa1ad43f515c9dccb4abffe00c18c1d1e9
[]
no_license
gajendrarahul/AccountM
288594ef2a0dc5666061cfd44261ee82074dfba6
7429f32fbe0825e926dfb7e9d1854eff9cf03513
refs/heads/master
2023-04-21T02:49:23.206053
2021-04-18T16:11:03
2021-04-18T16:11:03
359,184,724
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for accountmanager project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "mahatogajen123@gmail.com" ]
mahatogajen123@gmail.com
bf9b4ed3d132b7192cf4ec80e888a9ffdbc3a442
97497f7b0b52306c5115bfa92b240c787caeb221
/python/algorithm1.py
aa0e8aee19d8d43a5eb6d3ab28db6ac0552b33d5
[]
no_license
matheusportela/pagerank
528fd9c0fe094742a3aff396a24905db5b749c83
5ded93155351346e69ef93cf0caf606191a93f0f
refs/heads/master
2021-06-27T20:33:22.022666
2021-04-02T17:08:45
2021-04-02T17:08:45
224,736,899
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
# Algorithm 1 implementation multithreaded import queue import threading import time import networkx as nx NUM_ITERATIONS = 1000 class Graph: def __init__(self): self.graph = nx.DiGraph() def __repr__(self): return str(self.graph.edges) def load(self, filename): self.graph = nx...
[ "matheus.v.portela@gmail.com" ]
matheus.v.portela@gmail.com
e8b3dc7fadbc4d65619f5fff6fe14f663eedb944
ba78a499accc6011ff61488a189ab3c0e34db193
/students/migrations/0001_initial.py
680c6924e3c543307f0feed808458a61d0c20dc2
[]
no_license
mikailyusuf/SDMS
c16e2aad7b778341bced4f0a784c5fdca4185a1a
0ea60ae9396af8d8e3aa4de85ea05a8745510497
refs/heads/master
2023-01-08T19:46:26.349753
2020-11-08T06:11:55
2020-11-08T06:11:55
310,503,403
0
0
null
null
null
null
UTF-8
Python
false
false
4,141
py
# Generated by Django 3.0 on 2020-11-06 18:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "mikailkyusuf@gmail.com" ]
mikailkyusuf@gmail.com
5eaaf6de6d1b6eaeb701046c4c0e10b4a1558aad
4749b64b52965942f785b4e592392d3ab4fa3cda
/components/domain_reliability/bake_in_configs.py
56f7aae0215b5a4b805ae758d7c78705be64cae9
[ "BSD-3-Clause" ]
permissive
crosswalk-project/chromium-crosswalk-efl
763f6062679727802adeef009f2fe72905ad5622
ff1451d8c66df23cdce579e4c6f0065c6cae2729
refs/heads/efl/crosswalk-10/39.0.2171.19
2023-03-23T12:34:43.905665
2014-12-23T13:44:34
2014-12-23T13:44:34
27,142,234
2
8
null
2014-12-23T06:02:24
2014-11-25T19:27:37
C++
UTF-8
Python
false
false
3,444
py
#!/usr/bin/env python # Copyright 2014 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. """Takes the JSON files in components/domain_reliability/baked_in_configs and encodes their contents as an array of C strings that get...
[ "ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98" ]
ttuttle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98
a6fa412a4318bdd44745d738c2d2aa91cac8f9d2
277b9292d494db49836c93693257ecab87ebeb18
/ynlu/sdk/evaluation/tests/test_entity_overlapping_ratio.py
541945abbd95063fa16157907ee1d43443903ffe
[ "MIT" ]
permissive
hsiaoyi0504/yoctol-nlu-py
90c2df421994006a49a4db7fe6f104d247201fbd
4cec8d52ba3dd7827bddde152c95e814e533c0f2
refs/heads/master
2020-03-23T23:41:40.055683
2018-04-19T08:57:42
2018-04-19T08:57:42
142,249,617
0
0
MIT
2018-07-25T05:00:05
2018-07-25T05:00:05
null
UTF-8
Python
false
false
6,265
py
from unittest import TestCase from ..entity_overlapping_score import ( single__entity_overlapping_score, entity_overlapping_score, ) class OverlappingScoreTestCase(TestCase): def test_single__entity_overlapping_score_different_length(self): with self.assertRaises(ValueError): single__...
[ "s916526000@gmail.com" ]
s916526000@gmail.com
29c6e052fc913a1935ac72e2e9e70dd59a7c7e0d
96741d21821e230588c9850cc232743a7521aae5
/base/my_deque.py
82ea217cbc541f78c8679d9fa798769dda69c622
[]
no_license
luhu888/SeleniumProject
687dce50ec138fcf0af104621e51790f078134f3
42546c52a039c91fdac0c1d4f9b0c6de96edaeb0
refs/heads/master
2020-04-07T04:35:52.296132
2018-11-18T08:24:45
2018-11-18T08:24:45
114,006,695
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
# -*- coding: utf-8 -*- # __author__=luhu from collections import deque def queue_list(): # append添加在列表尾部,popleft取出最左边的值 queue = deque(["Eric", "John", "Michael"]) # 双向队列 new_queue = queue.copy() # 浅拷贝 queue.append("Terry") # 往右边添加一个元素 queue.appendleft("Graham") # 往左边添加一个元素 qu...
[ "luhu0105@gmail.com" ]
luhu0105@gmail.com
da93d260c8ed7beb18b44b918ab7e3cf84ba3b3e
0e5abee2b9224acab825bc71bb92a675d8a98209
/exp_carla_static.py
bb8cb652e1a4f84e4770868c530252f3524bb4e1
[]
no_license
kanglicheng/neural_3d_mapping
f0a1ba226a72613c5d0b9f7e7ec70da972b3b9ab
5b3851569eae3f35fec2189d0a30e01ff8e913d2
refs/heads/master
2022-07-12T21:30:57.708257
2020-05-19T03:04:55
2020-05-19T03:04:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,851
py
from exp_base import * ############## choose an experiment ############## current = 'builder' current = 'trainer' # current = 'tester_basic' mod = '"sta00"' # nothing; builder mod = '"sta01"' # just prep and return mod = '"sta02"' # again, fewer prints mod = '"sta03"' # run feat3d forward; drop the sparse stuff mod ...
[ "aharley@cmu.edu" ]
aharley@cmu.edu
6294fa2e9e61aaff0b4702c9dbdad0046dc5fdc9
5222a4b4c14ed71b8520984f944d0ebee0b0a694
/eliav_one/eliav_one/settings.py
9fb4d388d976b0b46d9f398c5f2e416bffeeb67d
[]
no_license
eliavco/eliav_one
afa2e5237cf294d4fe782f44ba6e0babb9ad2466
259d1f8d6138b646769f34a1c0b724f00e0d3313
refs/heads/master
2020-04-06T10:49:29.797554
2018-11-13T15:26:39
2018-11-13T15:26:39
157,393,198
1
0
null
null
null
null
UTF-8
Python
false
false
3,795
py
""" Django settings for eliav_one project. Generated by 'django-admin startproject' using Django 2.1.2. 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 os ...
[ "eliav.s.cohen@gmail.com" ]
eliav.s.cohen@gmail.com
0ee058a8c35365b396ec2e5e7d2f861fe6a0868b
598b6a91fbefc70fd81474ab9a1775d8701b8187
/main.py
de067f4cf702c1e32521138ae049afdf4365b75e
[]
no_license
JeffBohn/PluralsightPythonCourse
144a5c022dd0b6d0977f8aeb5dd68df367b99832
38cbe00b588886c0ced1fc4c4e4a583d91ce8e80
refs/heads/main
2023-01-03T01:36:57.804491
2020-11-02T13:11:15
2020-11-02T13:11:15
308,983,411
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
from hs_student import * # mark = Student("Mark") # print(mark) # print(students) print(Student.school_name) james = HighSchoolStudent("james") print(james.get_name_capitalize())
[ "53544162+JeffBohn@users.noreply.github.com" ]
53544162+JeffBohn@users.noreply.github.com
7ffcb76ec73333e2ac89d9c1b17839de77716f5e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/420/usersdata/329/87976/submittedfiles/exe11.py
715adcb70c57813e5b1796b83f844bcbc85024f3
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
# -*- coding: utf-8 -*- n = int(input("digite um numero com 8 algarismos: ")) soma = 0 while n < 10000000 and n > 9999999: resto = n % 10 n = (n - resto)/10 soma = soma + resto print ('%d' % soma) else: print("NAO SEI")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0dafc6f8717413f81c4f8c71164ad3eddb78bc1a
7919b620d26e135e3a508bb8dd3346edc70e5cbf
/setup.py
c14c6733304fbf4274be69373aec0bc77efa2777
[]
no_license
lhuett/flask-multiauth
7218ace9d83e6d7feb6ea3e3b8961bc9811aa54a
51de71ce9b9c34412b561d9b9ecb89b19f075ca6
refs/heads/master
2021-09-13T07:59:53.236265
2018-04-26T23:10:32
2018-04-26T23:10:32
114,010,536
0
1
null
null
null
null
UTF-8
Python
false
false
986
py
import os from setuptools import setup, find_packages __here__ = os.path.dirname(os.path.abspath(__file__)) runtime = { 'requests', 'flask_session', 'flask', 'Jinja2', 'flask-ldap', 'kerberos', 'pycrypto', } develop = { 'flake8', 'coverage', 'pytest', 'pytest-cov', 'Sp...
[ "lhuett@redhat.com" ]
lhuett@redhat.com
924b4c29c9de01e2ec92111017dfa404c8e2db3b
bc2b5b777a4bbcc7b52f868ab93085e9ab9d1908
/tools/processing/mesh_annotate/mesh_annotate/Expression.py
54b6a6382e0fc7746a1134b7b74f0792cb66fc29
[]
no_license
hewhocannotbetamed/edge
d732ee072720fdfce666f945a4970d8755a4dc20
85c9ed210f8dadcd4dab44454f7b5b9f2636d4b0
refs/heads/master
2022-04-24T10:15:08.379129
2019-07-31T13:13:36
2019-07-31T13:13:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
## # @file This file is part of EDGE. # # @author Alexander Breuer (anbreuer AT ucsd.edu) # # @section LICENSE # Copyright (c) 2018, Regents of the University of California # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followi...
[ "anbreuer@ucsd.edu" ]
anbreuer@ucsd.edu
85872ca81454d863e57c47043a303a247a75e42d
2a8abd5d6acdc260aff3639bce35ca1e688869e9
/telestream_cloud_qc_sdk/telestream_cloud_qc/models/frame_aspect_ratio_test.py
e350d1d1f34c6e4931d4824fe21895777c5735ce
[ "MIT" ]
permissive
Telestream/telestream-cloud-python-sdk
57dd2f0422c83531e213f48d87bc0c71f58b5872
ce0ad503299661a0f622661359367173c06889fc
refs/heads/master
2021-01-18T02:17:44.258254
2020-04-09T11:36:07
2020-04-09T11:36:07
49,494,916
0
0
MIT
2018-01-22T10:07:49
2016-01-12T11:10:56
Python
UTF-8
Python
false
false
6,377
py
# coding: utf-8 """ Qc API Qc API # noqa: E501 The version of the OpenAPI document: 3.0.0 Contact: cloudsupport@telestream.net Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from telestream_cloud_qc.configuration import Configuration class...
[ "cloudsupport@telestream.net" ]
cloudsupport@telestream.net
852a33623690d60e6ac33700f127812c5c529587
6cbcff9d87a60f78e0cfce32df3148c6b4533801
/myapp/migrations/0003_auto_20210504_2255.py
a99201c0f2b7175b3a540aa6b1d945d098418c7e
[]
no_license
michaelhindle/Reto1
dd3d630501b1e682a1deedf7b377f14a233fc29b
045c8b8259ca4b17ff8272d2e16a99580ec019d4
refs/heads/main
2023-05-02T01:33:42.388444
2021-05-30T12:31:32
2021-05-30T12:31:32
360,569,499
0
0
null
null
null
null
UTF-8
Python
false
false
3,885
py
# Generated by Django 3.1.7 on 2021-05-04 20:55 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('myapp', '0002_empresa_trabajador'), ] operations = [ migrations.CreateModel( ...
[ "ivandilarios@opendeusto.es" ]
ivandilarios@opendeusto.es
ed7b5fcf55324e383b99dd8f860e850435b47ada
0faf534ebb6db6f32279e5bee25b968bd425ce3a
/tests/core/_while/_while.py
b6d827a12289764a394e2ef4beffb7579457bc29
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PyHDI/veriloggen
e8647cb2d40737d84e31d6b89c5799bab9cbd583
f2b1b9567150af097eed1b5e79ba2b412854ef43
refs/heads/develop
2023-08-09T10:02:35.626403
2023-08-09T00:50:14
2023-08-09T00:50:14
37,813,184
282
60
Apache-2.0
2023-07-20T03:03:29
2015-06-21T15:05:30
Python
UTF-8
Python
false
false
1,032
py
from __future__ import absolute_import from __future__ import print_function import sys import os # the next line can be removed after installation sys.path.insert(0, os.path.dirname(os.path.dirname( os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))) from veriloggen import * def mkTest(): m = Mo...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
c4b3327abff5497c6177759bd9c47d889468636c
f82cbca5c332d1e10a2f0910cfa81e6f7d2ad804
/examples/ann/ANN_matrix.py
5460cdbe65c1d87bbb7765abc4f17434ed514c10
[]
no_license
raulmogos/AI-course-work
0460596a9aae73df7453bd3644bd9e859a52d0c1
bc8600987bce36f421a7662b14f9a6af8bc22653
refs/heads/master
2022-07-04T13:40:30.064733
2020-05-09T17:31:24
2020-05-09T17:31:24
255,887,725
0
0
null
2020-04-21T20:37:23
2020-04-15T10:52:02
Python
UTF-8
Python
false
false
2,430
py
""" An example of a simple ANN with 1+2 layers The implementation uses 2 matrixes in order to memorise the weights. For a full description: https://towardsdatascience.com/how-to-build-your-own-neural-network-from-scratch-in-python-68998a08e4f6 """ import numpy as np import matplotlib as mpl np.random.seed(1) # t...
[ "raulmogos109@yahoo.com" ]
raulmogos109@yahoo.com
62ac4d2e13d183193292f8beb03b79b48f40d672
6b787ef4ad9eaafdb7d13462a52636d10bf5503c
/ascii.py
64133881fe555905c4b22471bb039d6706c30dc9
[]
no_license
lifeicq/anagram_from_unscrambled
da04252b62e97bb526c721f5c223b30040f33e29
2c59c33a863675058312bceacda4708310a3325e
refs/heads/master
2020-05-31T16:27:11.502679
2015-07-04T06:17:12
2015-07-04T06:17:12
38,474,216
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
#!/usr/bin/env python #This is my ASCII character calculation program that provides a sum of all characters #Coded by LifeIcq print "Welcome to ASCII word converter and its sum calculator!" phrase = raw_input("Please enter your scrambled phrase here for ASCII calculation:") temp = 0 final_Value = 0 for letter in phr...
[ "lifeicq@gmail.com" ]
lifeicq@gmail.com
f8154a2f9cbcacf7d09e31bbf7ece38b4b1b34d6
2707c002fb215e44fc7567f6fa6a9d651243b06d
/Python/first.py
0b249285bfad26753f398ac646b55f70b9df97f2
[]
no_license
andickinson/Practical-Ethical-Hacking
46ac50519822a973f87e396e2caf590a78eccef0
822658fda8052395efb8e7846355ffd9dd0bb827
refs/heads/main
2023-03-12T15:56:12.567986
2021-03-02T08:18:28
2021-03-02T08:18:28
341,519,905
1
1
null
null
null
null
UTF-8
Python
false
false
267
py
#!/bin/python3 #Print string print("Hello, world!") #double quotes print('\n') #new line print('Hello, world!') #single quotes print("""This string runs multiple lines!""") #triple quote for multi-line print("This string is " + "awesome!") #we can also concatenate
[ "andickinson@gmail.com" ]
andickinson@gmail.com
4541f9dcb4fab88b6bbf5c77db6b8d07c29b9cc9
16ccfb5d13029afde7fb5d54371c97d1866de905
/corkscrew/version.py
3f686add9e1a94e02216d00bd7ebc2291ef4da42
[]
no_license
mattvonrocketstein/corkscrew
b69c32ea78f0bfe948b83a85bb4f60351e560116
8c992599e865aee8cfc93900a945ff5248ed1ab2
refs/heads/master
2021-01-01T18:42:10.205684
2015-11-08T09:55:45
2015-11-08T09:55:45
2,240,780
3
1
null
null
null
null
UTF-8
Python
false
false
44
py
""" corkscrew.version """ __version__=0.18
[ "matthewvonrocketstein@gmail-dot-com" ]
matthewvonrocketstein@gmail-dot-com