blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
eb4e53e7a11f537c011897a2c011394c6a7ed9ad
402732eab2f29019ea7de7c0832474fe0564ed06
/com/fk/python/python_io.py
5982d518426954f5bdf91d21e946bf2debcf2939
[]
no_license
abugcreater/pythondemo
e5236d0847fed2c8e26a40e166f16e4a26e7e459
0ae14a8d8203d00fcfbd97584213f07da5fb51a3
refs/heads/master
2020-06-21T02:54:36.930599
2019-10-22T13:06:51
2019-10-22T13:06:51
197,327,226
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import os # str = int(input("请输入一个数字"),10) # print("您输入的数字大于10: %s" %(str > 10)) # open 函数 # 你必须先用Python内置的open()函数打开一个文件,创建一个file对象,相关的方法才可以调用它进行读写。 # 语法: # # file object = open(file_name [, access_mode][, buffering]) # 各个参数的细节如下: # # file_name:file_name变量是一个包含了你要访问的文件名称的字符串值。 # access_mode:access_mode决定了打开文件的模式:只读,...
[ "kai.feng@qianli-inc.com" ]
kai.feng@qianli-inc.com
43e6132a9bf1c0faddbb743d336f1b61965a2a6f
b0982b1a44e1b1043d538c33fb524cfaaf4a1bc6
/venc/bin/easy_install-2.7
e81a14a2546f1ded36da65474fdaa1e9713ccefc
[]
no_license
vaivas/mps_database
f6083affe50de7a08a5167d903ae25226e6a7396
34aa2a64b8f9b60bd8981e17095ac2fb88ac3286
refs/heads/master
2020-06-24T11:06:58.317326
2017-07-28T23:19:04
2017-07-28T23:19:04
96,933,113
0
0
null
2017-07-11T20:11:12
2017-07-11T20:11:12
null
UTF-8
Python
false
false
308
7
#!/afs/slac.stanford.edu/g/lcls/vol8/epics/iocTop/users/lpiccoli/mps_database/venc/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "lpiccoli@slac.stanford.edu" ]
lpiccoli@slac.stanford.edu
ba6157a78e52d5c6410effd2ef08ae4ad0d97694
0ecbc8d76b9b3e4046588ae410e2594de8053a3b
/3lesson_5quest.py
595bd84b346957bc0e4ccf7416d61c90ee6783fe
[]
no_license
EsterMiracle/Homeworks
5990657694b503ff1972132ef172591c369644d6
0f94f70067777926e7c03a6b13543fc129b419e9
refs/heads/main
2023-01-04T20:23:56.420842
2020-11-03T18:48:08
2020-11-03T18:48:08
303,142,460
0
0
null
2020-11-03T18:50:45
2020-10-11T14:44:21
Python
UTF-8
Python
false
false
1,646
py
'''5. Программа запрашивает у пользователя строку чисел, разделенных пробелом. При нажатии Enter должна выводиться сумма чисел. Пользователь может продолжить ввод чисел, разделенных пробелом и снова нажать Enter. Сумма вновь введенных чисел будет добавляться к уже подсчитанной сумме. Но если вместо числа вводится специ...
[ "greedolife@yandex.ru" ]
greedolife@yandex.ru
4c35eac75cc3aba4fadac2f1d673229090abada3
000ee368e4f225fe21504997b5118b599eb3c3af
/GangliaRest/gangliarest/build/lib/gangliarest/indexer.py
ed172f1660737276d65aa73e9f4fe01fa4bdd402
[ "MIT" ]
permissive
dcarrollno/Ganglia-Modules
d39435d7f8cda949b0d73e1e63961ef0df0f1fb9
5e11313bbd3dfbdeebe79525a30e39dd8be3dd45
refs/heads/master
2020-04-12T02:26:30.543109
2019-03-20T14:07:51
2019-03-20T14:07:51
23,261,828
3
2
null
null
null
null
UTF-8
Python
false
false
3,709
py
######################################## # # This file part of the gangliarest package # # https://pypi.python.org/pypi/gangliarest # # https://github.com/dcarrollno/Ganglia-Modules/wiki/GangliaRest-API:-Part-I # # Dave Carroll - davecarrollno@gmail.com # ######################################## import os import sys i...
[ "dcarroll@nanigans.com" ]
dcarroll@nanigans.com
1143293eb2e633c2902266c7b3d62838e52184aa
4a824ea7086be98d9212a5f07ffb3d052311eed0
/rasa_submission_final/Rasa_basic_folder/run_app.py
76d31f062053973fc7c7aeffd318e1c8c23b5ab9
[]
no_license
PriyaPathak/RASA_Chatbot
41b159185fd6819b237fa285eb2cbcf427cc61c5
16ac5b40d67f05a432c5863eb9c307f48f01b5fc
refs/heads/master
2021-03-15T08:13:31.956104
2020-03-12T13:06:13
2020-03-12T13:06:13
246,836,516
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from rasa_core.channels import HttpInputChannel from rasa_core.agent import Agent from rasa_core.interpreter import RasaNLUInterpreter from rasa_slack_connector import SlackInput nlu_interpreter = RasaNLUInterpreter('./models/nlu/default/restaurantnlu') agent = Agent.load('./models/dialogue', interpreter = nlu_interp...
[ "pathakpriya456@gmail.com" ]
pathakpriya456@gmail.com
ca1f7b8c2b5b319566ec717d2634a96b51a56411
6186c88f612ccf36addde0ca52c3bbea2e9f306a
/rest_framework_features/test.py
9678c6f08ac6715cf3ec7f34da30539a043d3fea
[ "ISC" ]
permissive
cloudcode-hungary/django-rest-framework-features
7d43448850c3b48dc468f023f5b6121d6c7774d4
9ea16ccd93ce9b5d4b4fdd92dd9ca9537ab13e80
refs/heads/master
2023-01-08T09:32:45.809633
2020-02-14T00:02:56
2020-02-14T00:02:56
216,915,439
8
0
ISC
2022-12-26T20:16:29
2019-10-22T21:46:00
Python
UTF-8
Python
false
false
683
py
from django.urls import NoReverseMatch from rest_framework.test import APIClient from . import schema, urls class FeatureAPIClient(APIClient): def __call__(self, feature_name, kwargs=None, **extra): feature_schema = schema.get_schema() try: feature_def = feature_schema[feature_name] ...
[ "balinabbb@gmail.com" ]
balinabbb@gmail.com
477b71305f3c90033ce1f9b35f57918e94f508d5
e5bcfa69bafd993d29560dadc68ca0ec0ee903bd
/app/main/users/views.py
7899b3615f2c3381f09025669dc42dbf6a5e54e7
[]
no_license
shaunstanislauslau/CuteOne
cc0a46fdf8614a314af8383c1a34885c88787e4f
77c4686a4883eae2e5f48df62936daf68558a966
refs/heads/master
2023-08-16T12:42:11.144866
2019-04-06T13:34:03
2019-04-06T13:34:03
179,913,149
0
0
null
2023-07-25T16:31:10
2019-04-07T03:21:07
CSS
UTF-8
Python
false
false
5,414
py
# -*- coding:utf-8 -*- import time, json, random, os, hashlib from flask import render_template, request, redirect, url_for from flask_login import current_user from flask_login import login_user, logout_user from app.admin.users import models as usersModels from app.admin.author import models as authorModels from app ...
[ "hackxiaoya@gmail.com" ]
hackxiaoya@gmail.com
c8f8760f1ade65ec08b7bc2ae56cab9437d0b580
0d7c04232f3adccf4cc9a78152b0489d54539d35
/monads/python/02_maybeInject.py
11b0ef1ab8caaed2084c535dd22cbef662295638
[]
no_license
roschart/pruebas
30df0c35a4f4918f1b1cf3f91f0bb76e8939f42f
17f226c6bb9749d369fd90e549f797aeda632b2e
refs/heads/master
2022-09-24T13:04:38.438093
2022-09-14T07:17:55
2022-09-14T07:17:55
26,488,241
0
0
null
null
null
null
ISO-8859-13
Python
false
false
898
py
# -*- coding: latin-1 -*- '''Esta parte serķan las librerias)''' def sumar(self,x): return self.valor+x def dividir(self,x): return self.valor/x '''Esto es las tripas del sistema que solo se desarrollan una vez''' class Contexto: def __init__(self,valor): self.valor=valor def __str__(self): if (self.valor):...
[ "joseluis.dominguez@DST-01-JLD.(none)" ]
joseluis.dominguez@DST-01-JLD.(none)
d5bcab3105aafb36622225bb9a13f90e93a9205d
cfb8e3ab7fb8c6152dcff2be2fa2cdfae186d600
/LinkingLoader2021/LinkingLoader/objreader.py
0c1546db66ceb66c5fcdcb634ba19ab46d8e7010
[]
no_license
Yellow-Shadow/SICXE
1f4ff07f3481073c180f41654f192c287aae2d09
8ab8579d6eb4199dd21dfca60ba6eb13fb3f2e5c
refs/heads/main
2023-08-21T23:25:56.252387
2021-10-10T18:57:00
2021-10-10T18:57:00
415,673,329
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
def readOBJFiles(sourceFile): try: with open(sourceFile, "r") as fp: return fp.readlines(); except FileNotFoundError: print("\nError:所指定要讀取的 OBJ File 並不存在!\n") return None def readRecordWithoutSpace(originalRecord): return originalRecord.replace(" ", "")
[ "noreply@github.com" ]
Yellow-Shadow.noreply@github.com
dbe11ebab6a4ea395a337d7c0b95989df91bc395
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_228/ch120_2020_03_25_20_40_19_161428.py
58f17c36bc3c0aa31df128cbf6cb82ff40598761
[]
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
851
py
import random d=100 while d>0: r=random.randint(0,36) print(f"Dinheiro disponível: {d}") aposta=int(input("Quanto você deseja apostar? ")) if aposta==0: break elif aposta>d: print("Você não tem dinheiro suficiente") else: Tipo=input("Qual o tipo de aposta? Número ou Parid...
[ "you@example.com" ]
you@example.com
b4523882013a8e47a58bc3d651a935a84aa35df5
09fbaaa2ec2daa1eca9587e31e0e4e37ed0186a4
/LanwellManagementSystem/settings_production.py
77c94bedc4dbb3b1514aab8a4f8d097dd3633d5a
[]
no_license
agriev/LanwellManagementSystem
aec4a39e4197f7bcb1fce4fdaee20faad6cb8269
1a6718915f82f4c765d69596f2b48fae2a922ffd
refs/heads/master
2016-09-06T14:43:07.993751
2014-11-17T18:42:57
2014-11-17T18:42:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
""" Django settings for LanwellManagementSystem project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(B...
[ "anton@griev.ru" ]
anton@griev.ru
fb09c038b749af37dffc53735ea4b6ba7e470ac5
0191e79206a35d58ae65e6dc954f8f356ee50a34
/demosite/demosite/settings.py
525f5d176dd6be9dac09db0bd8e9c13875b71de0
[]
no_license
slidemoon/gdemo
7b8f391e990f41b53da9ac1803059fc4b235681f
e434b6982b4d2601a97f631a379fd2324c37dd2b
refs/heads/master
2020-12-30T16:14:53.882070
2017-07-08T02:53:56
2017-07-08T02:53:56
90,966,258
0
0
null
null
null
null
UTF-8
Python
false
false
3,205
py
""" Django settings for demosite project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "yi.shen@arkdesign.cn" ]
yi.shen@arkdesign.cn
064ba7c69bb9cf2e2a708ac3bc57ddd442273699
5cdf48eaa413b5211319a9bced6ede6f689b15ed
/10/RandomForest/11.SaveCorrectModel.py
831308bd778de01865bcf92a5b8abbbbd1add83b
[]
no_license
akshitasawhney3008/MTech-thesis
518177b8bcb3112c9e1470af89df0250d00503dd
f9e9d3481b2fa5b3e8ac7a2d1e180656542e1156
refs/heads/master
2021-06-28T00:57:34.685127
2020-12-09T08:56:33
2020-12-09T08:56:33
189,271,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
import pickle from sklearn.preprocessing import normalize from sklearn.ensemble import RandomForestClassifier import numpy as np iter = 5 seed = 42 with open('ListOfBestParamsRS.pkl', 'rb') as f: best_params = pickle.load(f) path = "C://Users//Arushi//PycharmProjects//Final_Thesis_chap1//9//" ...
[ "noreply@github.com" ]
akshitasawhney3008.noreply@github.com
6b380419b28d072dd1c3ffd968329845932e9826
91efdcf621fbf8083c3a5ae9561e15e1c526979d
/doms/domsapp/urls.py
81ef9ce1342b45d297f7b6a2816b48d6467845a6
[]
no_license
bigyanghimire/Namobuddha
60416f3a40b3cd97131c34be85a4354ca6a2edf8
43cd041e82816ea11ef57f8dcfabd91f1fabdc76
refs/heads/master
2022-12-03T16:39:44.667578
2018-07-22T16:31:38
2018-07-22T16:31:38
139,167,575
0
1
null
2022-11-28T07:28:27
2018-06-29T15:40:45
Python
UTF-8
Python
false
false
455
py
from django.conf.urls import url,include from . import views from django.conf.urls.static import static from django.conf import settings urlpatterns=[ url(r'^$',views.index,name="index"), url(r'^search/$',views.search,name="search"), url(r'^searchdate/$',views.searchdate,name="searchdate"), url(r'^addfile/$',views.addf...
[ "ghimire.vigyan@gmail.com" ]
ghimire.vigyan@gmail.com
a0d82258e312cec6ebff69f1080a1a3014c5bd2f
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/htpi99zeTsvjWNujz_11.py
88cd0efdbf7dde7dc57026649130a9c332e23c91
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
""" Given two integers `a` and `b`, return how many times `a` can be halved while still being greater than `b`. ### Examples halve_count(4666, 544) ➞ 3 # (4666 -> 2333 -> 1166.5 -> 583.25) halve_count(624, 8) ➞ 6 # (624 -> 312 -> 156 -> 78 -> 39 -> 19.5 -> 9.75) halve_count(1000, 3) ➞...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
50257f98a45f5ab5ab95435e92d5da92c0a4a5b6
1a8c865bc300146078399a484e3537db5c909707
/ros/src/waypoint_updater/waypoint_updater.py
f58463599e36297bbb91a946aee415d4f98c0067
[ "MIT" ]
permissive
MikeBMW/CarND-Capstone-debug
54530fe27636d8fe5f3a66ea5d937a13a48e4e25
9312eb38d24fc9c377ace4a56fbb13938f9598b3
refs/heads/master
2020-03-10T08:22:50.938161
2018-04-12T16:54:21
2018-04-12T16:54:21
129,283,880
0
0
null
null
null
null
UTF-8
Python
false
false
9,886
py
#!/usr/bin/env python import rospy from geometry_msgs.msg import PoseStamped from styx_msgs.msg import Lane, Waypoint from std_msgs.msg import Int32 import math import numpy as np from scipy.spatial import KDTree ''' This node will publish waypoints from the car's current position to some `x` distance ahead. As ment...
[ "niyingxiang@126.com" ]
niyingxiang@126.com
f4416aaaa435141bea8864fab5f4166587c55d93
97f741400c3fbc0cd184c78ed34b172c0f61110d
/Function/Simulation.py
59ece9a9eb6fc58e5d43c4f60a970c5239c7fad1
[]
no_license
Leo-Chu/NOLD
61f5b80cd769071e51273866d50f87ac1d7a505b
bafc65a709d024d5ff14460f36f77d2a21632c12
refs/heads/master
2021-07-23T14:37:26.257245
2021-04-14T14:54:38
2021-04-14T14:54:38
247,094,657
10
0
null
null
null
null
UTF-8
Python
false
false
33,258
py
import numpy as np import datetime import tensorflow as tf import Function.Modulation as Modulation import Function.Transmission as Transmission import Function.DataIO as DataIO import Function.BP_MS_Decoder as BP_MS_Decoder def LDPC_BP_MS_AWGN_test(code, dec_config, simutimes_range, target_err_bits_num, bat...
[ "noreply@github.com" ]
Leo-Chu.noreply@github.com
ee33100ebfe158e582551215af19e15f525d5eb3
04b2d06348bb7462fd9ec6f470a0ced6eeb0c639
/scoring_app/process_images_from_queue.py
a6139f614a87fafbff33fb2f14fa7d80c9af3a60
[ "LicenseRef-scancode-generic-cla" ]
no_license
pjh177787/batch-scoring-deep-learning-models-with-aks-cn
0929377e7ad67a736be46bd175242e48dfb6e269
2d557a923d2a01432494a79279f28c4e4848d9c2
refs/heads/master
2020-06-21T06:13:06.898546
2019-07-18T10:13:39
2019-07-18T10:13:39
197,363,746
0
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
import ast import style_transfer import pathlib import datetime import time import os import logging import util import torch from logging.handlers import RotatingFileHandler def add_file_handler(logger, log_path): """ :param log_path: the log file to attach the handler to """ handler_format = util.ge...
[ "aperture@Scarborough.2a1h0bsfp3uezfmu44rlql2klg.shax.internal.chinacloudapp.cn" ]
aperture@Scarborough.2a1h0bsfp3uezfmu44rlql2klg.shax.internal.chinacloudapp.cn
ee7b001a184f4b2cd7e008645fad0b0d6cfa2f51
e9b17518c315067442f839f226fdea55694bda7e
/RUR_II47.py
e680a4676e9cb0b5a46b126c47e262fa5e9e4786
[]
no_license
bvrbanec/R.U.R.
2a21dc4c05244bd01d30539c131a0e0270806ec8
71952b597fb2aa305983408ac5873d7fc5318ffc
refs/heads/master
2021-05-30T19:12:27.574998
2016-01-19T10:00:40
2016-01-19T10:00:40
47,398,984
0
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
import socket import time try: serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serversocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) serversocket.bind(('192.168.1.110', 8072)) serversocket.listen(5) # become a server socket, maximum 5 connections radius, address1 = ser...
[ "k-ova@windowslive.com" ]
k-ova@windowslive.com
d518e784b4d8bec047a3681717598e57ef0d1e66
6c523408c0122547d84ac7926cb67ee24f070efd
/06-crud-jango/project/urls.py
fcfd5c910cfb4a29a6c9f98c003559a2a729f1b9
[]
no_license
everaldobass/curso-python3
153f4364713f76984ccb00670defa927bdbdc4eb
1874803ff957df246fa052f5588f6066f4f948d9
refs/heads/master
2023-05-02T13:25:50.169067
2021-05-18T20:01:52
2021-05-18T20:01:52
186,182,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "everaldobass@gmail.com" ]
everaldobass@gmail.com
5317db7c60d9495980afc0deed2e52eba40c2cdc
c1d595150f3e983e75822af1f8ac1b31c4f35806
/generic_json_tokenization.py
f10ded8f740417522d97b1e03ef2e80a891873c8
[]
no_license
soumabhasarkar/Tokenization
c48baf9bdac702c1956d595d10f1d0891fd48fe4
bd281d8e30b4525a5431d312ee8381d9aea2b300
refs/heads/master
2020-03-29T23:31:02.011834
2018-09-26T19:11:12
2018-09-26T19:11:12
150,476,362
0
0
null
null
null
null
UTF-8
Python
false
false
10,667
py
#!/usr/bin/env python """Tokenization script to find and replace .""" __author__ = "Soumabha Sarkar" __version__ = "1.0.2" __maintainer__ = "Soumabha Sarkar" __email__ = "soumabhasarkar@gmail.com" import sys import argparse import errno import os, fnmatch import csv import ast import json import traceback import subpr...
[ "soumabhasarkar@gmail.com" ]
soumabhasarkar@gmail.com
9af86858361e28982c68c5f85ab4f527d3464dc4
dfc8a69e9a03ca4b48f2107acfe38553e3247544
/python/05scrapy/dongguan/dongguan/spiders/dongguansun.py
15775ad052b243e020724459b41a4de9075cf371
[]
no_license
Leap-Zhao/skills_program
ec943c6d68fcb8a01aee1b8ed970a82c86f44e63
11faf8b51aa1b7b9bee7e68a7fac98c030e6aac2
refs/heads/master
2018-11-15T10:21:57.663875
2018-09-20T10:20:23
2018-09-20T10:20:23
83,137,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
# -*- coding: utf-8 -*- import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from dongguan.items import DongguanItem class DongguansunSpider(CrawlSpider): name = 'dongguansun' allowed_domains = ['wz.sun0769.com'] start_urls = ['http://wz.sun0769.com/in...
[ "zhaofeiyue1234@163.com" ]
zhaofeiyue1234@163.com
02536f12ed72c61c39d338b3dffda9b337c60f10
3ffb03144c4d2ac03bae54ae492969f02dc6e52d
/contact/forms.py
4c73a1665feb7592f3b5c3084b004e7794c56927
[]
no_license
onadj/brunoshop
4e1e705b5d7d9ea157b7ddbbcafecf7d9dcc4bda
926b5afb7f2787d9fef626e7903d5cb219e81180
refs/heads/master
2023-02-16T18:02:33.103335
2021-01-12T19:24:29
2021-01-12T19:24:29
324,526,008
1
0
null
null
null
null
UTF-8
Python
false
false
238
py
from django import forms class ContactForm(forms.Form): subject = forms.CharField() # phone = forms.CharField() from_email = forms.EmailField(required=True) message = forms.CharField(widget=forms.Textarea, required=True)
[ "oliver.nad@gmail.com" ]
oliver.nad@gmail.com
825659d2cff6fe1c1c3a8ae5f12736385911d780
2df8c5c10dbde5463af74d6c159536e9389c4623
/.vscode/extensions/batisteo.vscode-django-1.3.0/.venv/lib/python3.9/site-packages/poetry/repositories/legacy_repository.py
7442d65a561f19039709e32826ce469441f47ce0
[ "MIT" ]
permissive
cclint/dotfiles
be35589d0c8293c94a628eb935da5b7e29de473c
8dbd1b768add3fdb68e749f965ef3025ee9de4ed
refs/heads/master
2023-03-19T08:44:51.600748
2021-03-11T04:52:49
2021-03-11T04:52:49
282,515,062
1
0
null
null
null
null
UTF-8
Python
false
false
12,458
py
import cgi import re import warnings from collections import defaultdict from typing import Generator from typing import Optional from typing import Union import requests import requests.auth from cachecontrol import CacheControl from cachecontrol.caches.file_cache import FileCache from cachy import CacheManager fr...
[ "clint93@Atlabs-MacBook-Pro.local" ]
clint93@Atlabs-MacBook-Pro.local
81467d83f2f1731e28f4172b5b99dae116ba72e8
3235d5de705b99ccf983fad5eb72208d1fdc08a1
/torch_codes/training.py
2da884ad18f536dfabe3a26fb93f58ca8d1323d0
[]
no_license
TeCSAR-UNCC/ScalableTracking
d0e85aa89dcfa6ea107efb74f8b92e0edd6f2af8
21fe38c547e1430d26b7bc82afc74fc60219583d
refs/heads/master
2020-04-25T17:40:30.638974
2019-02-28T01:49:48
2019-02-28T01:49:48
172,957,370
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
from __future__ import print_function import numpy as np import random import os.path import datetime import utils import random import torch import torch.nn as nn import torch.optim as optim ''' Device configuration ''' device = torch.device("cuda" if torch.cuda.is_available() else "cpu") ''' HYPERPARAM...
[ "pkulkar7@tecsar-srv2.dyn.uncc.edu" ]
pkulkar7@tecsar-srv2.dyn.uncc.edu
2214dd9351b4d1e273596d7252c5ee446963f6e9
69d9848465ad109291bc0619aff8eff64d4677af
/runner/DecisionTreeRunner.py
e93f1658cbfcc3d6570022fd1fc232f2b5b18b20
[]
no_license
mwasif41/LTR-DT-NN-Ensemble
cc0c3c9d50fc3d3d00a11d679510245490459a55
4b684a69b19085af44d46b52365b1027f48d088a
refs/heads/master
2022-10-18T16:50:14.274460
2020-06-10T18:07:10
2020-06-10T18:07:10
267,496,855
1
0
null
null
null
null
UTF-8
Python
false
false
915
py
from sklearn.model_selection import train_test_split from util.Utils import read_dataset_as_df from constant.Constant import DATASET_MQ2008_PATH from constant.Constant import MQ2008_TSV_FILE_NAME from model.DecisionTree import DecisionTree from util.Utils import get_data_params from util.Utils import calculate_ndcg fro...
[ "Muhammad_Wasif@gap.com" ]
Muhammad_Wasif@gap.com
d7e1bcee8fd1dcf988ea57fad50f8221522ec18f
4d59702f4f06b5a03e82195b68c36e5953a27a03
/test.py
2ce09b234b1ca702f9a91c789d19cddf7b3b0f16
[]
no_license
shenhangke/FlaskLearn
e991c7fcd4416db5841e5e5653636734669a2a20
29b82bc211a2e70fed9ee3acef276b06ed1639c6
refs/heads/master
2020-06-14T08:40:41.863462
2019-07-05T09:20:07
2019-07-05T09:20:07
194,962,085
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
''' @File : test.py @Modify Time @Author @Version @Desciption ------------ ------- -------- ----------- 2019-07-01 22:39 shenhangke 1.0 None --------------------- ''' import os.path def bytesToStr(bytes): return str(bytes) if __name__ == "__main__": print(os.path...
[ "shenhangke@shenhangkedeMacBook-Pro.local" ]
shenhangke@shenhangkedeMacBook-Pro.local
e86cc256b8f0b493baf3ed65ab14534719e398e8
9156f9c8231c6d44b7499ea77f47d3e1a561da16
/api/migrations/0006_auto_20200515_1551.py
7e165ad65cb6ae8759d24eeb668a56cab74fbf42
[]
no_license
dasari810/csoc-2020-task-3
c0ed1965a752f36e644e2d4e030317f5097b2b18
04e165a3bf2bac58d072924b14f48cb1c2ff51b2
refs/heads/master
2022-10-30T23:27:04.932558
2020-06-19T06:40:20
2020-06-19T06:40:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# Generated by Django 3.0.6 on 2020-05-15 10:21 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0005_auto_20200515_1537'), ] operations = [ migrations.AlterField( model_name='collabora...
[ "dasarimadhava810@gmail.com" ]
dasarimadhava810@gmail.com
4343da0251832c30b4cd846e7e6d7e1cccc17968
f6a328e169e7756394bdd642173287f8ee6fdc0f
/airbyte-integrations/connectors/source-iterable/source_iterable/api.py
0d5f429638886df614ad1d0d53cfda2636ba654a
[ "MIT" ]
permissive
nclsbayona/airbyte
8b5dc24a949dfa29c523a41400b825cecf34dfbe
29c31752bf7842c0b222a74bee2b3fbe5cb39091
refs/heads/master
2023-04-11T11:25:35.360075
2021-04-26T15:21:02
2021-04-26T15:21:02
361,794,568
0
0
MIT
2021-04-26T15:11:05
2021-04-26T15:11:04
null
UTF-8
Python
false
false
7,772
py
# MIT License # # Copyright (c) 2020 Airbyte # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publ...
[ "noreply@github.com" ]
nclsbayona.noreply@github.com
330c03ce5ccddcd902120b930900178002d5f97a
94e7edd5255ca90f8149f160660925db82187aa1
/pyaudi.py
37fbf1c15cc33682aeab97f324afedf8bbb94c04
[]
no_license
FelipeRMG/Teste
a1ea289c8c43d0ca65967e3fa62abcb9b5bb5a8d
20266d6d60b9b1907955f6304b61afa649d8e215
refs/heads/master
2021-01-09T20:05:37.838644
2016-07-29T04:50:07
2016-07-29T04:50:07
63,440,528
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # utilizado para gravar o audio import pyaudio import wave CHUNK = 1024 #Frames por segundo FORMAT = pyaudio.paInt16 #Formato do audio CHANNELS = 2 #1 canal: mono - 2 canais: stereo RATE = 44100 #taxa de amostragem em hertz RECORD_SECONDS = 5 #tem...
[ "noreply@github.com" ]
FelipeRMG.noreply@github.com
38fff3cdd9e08c7ee8f2f9c4b19e664f4e00e700
72612d94e07649586dda53c94a058a26af5ed3e6
/amr_maldi_ml/deprecated/label_permutation.py
cb9f7594dc820409c80b262333e666e4b898d4d3
[ "BSD-3-Clause" ]
permissive
SanmiAndreSofa/maldi_amr
91e88d0a23d2cb1e5007f73a8ba04be6828d6b6e
cc084d73a2d14c5936878e609f6d44fad0b524c7
refs/heads/master
2023-08-06T10:26:58.989597
2021-10-04T09:12:05
2021-10-04T09:12:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,983
py
"""Analylse label-permuted species--antibiotic combinations.""" import argparse import dotenv import json import logging import pathlib import os import numpy as np from maldi_learn.driams import DRIAMSDatasetExplorer from maldi_learn.driams import DRIAMSLabelEncoder from maldi_learn.driams import load_driams_datas...
[ "bastian.rieck@bsse.ethz.ch" ]
bastian.rieck@bsse.ethz.ch
0d5144714bd9cd05c3c1b586657445ed67624e6f
54d11cd21a9a3db41cb94f12edbd0f56596d1471
/Exercises1/Q1.py
5c70753aa301f4aa0efa1514d16c2a134cfdee79
[]
no_license
BrunoCaputo/ac309-pyExercises
237fae143842a8dac56cedbeb8f855d8da5b358f
4a0f0f39ce0f26d84f3517ff6910c4ab30c982e6
refs/heads/master
2022-10-01T15:33:36.666241
2020-06-08T12:00:45
2020-06-08T12:00:45
261,155,868
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Faça um programa que leia algo do teclado e mostre se o conteúdo é formado por letras, # números ou caracteres alfanuméricos inp = input("Entre com alguma coisa: ") if inp.isnumeric(): print("A entrada é formada por apenas números!") elif inp.isalpha(): print("A entrada é formado por apenas letras!") elif i...
[ "brunocaputo@gec.inatel.br" ]
brunocaputo@gec.inatel.br
aa910671713e529e8fa39e8d66ebc8311966c900
5e277a32c166ae45bea28310074dc459a0d99cf6
/.metadata/.plugins/org.eclipse.core.resources/.history/c5/c0147c8c62a000161648cad84bf61dd0
444fd7f9be517480124d9247526cf66939d62057
[]
no_license
vgvcode/pos
4d7172d7905f60157fcae445c650475d17a9a390
a9dba2c5c3fc8c4529c6619a3dc92c9608a4c70d
refs/heads/master
2021-01-13T13:12:37.833510
2016-11-02T22:28:42
2016-11-02T22:28:42
72,686,364
0
0
null
null
null
null
UTF-8
Python
false
false
4,996
#!/usr/bin/python from __future__ import print_function # Python 2/3 compatibility from decimal import * import ordersmodule import catalogmodule import commonmodule import sys import time from boto3.dynamodb.conditions import Key, Attr import sqsmodule import random import json def testCreateRemoteCatalog(): 'cre...
[ "vgvcode@gmail.com" ]
vgvcode@gmail.com
ccdeb88d110dbde58c2ab981827125e6f92f6199
44a9e63ceaf6d901130afb9c390288dea26b22f3
/application.py
e7bdff054a89eda437923248e9d7918a9935cf42
[]
no_license
Dragon-yy/chat_encryption
69558870e11eaf3d45b430db9ebbeba651b47364
a8285b3e94e496df8f37b8221c2783f108292a91
refs/heads/master
2023-01-22T18:26:14.430523
2020-11-16T05:14:47
2020-11-16T05:14:47
313,186,820
2
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_script import Manager from flask_login import LoginManager from flask_mail import Mail from flask_socketio import SocketIO import os class Application(Flask): def __init__(self, import_name, template_folder, static_folder, root_path): ...
[ "62385374@qq.com" ]
62385374@qq.com
eba8eeb7aafc225f599c4a18fb2b49e5aea09696
9e9efab69604456f51fd4421889ca882638fed7c
/hahaha/filehw4.py
4800d115c9436c4fdb55a68a85cfbc10573667c8
[]
no_license
THACT3001/PhamTienDung-c4t3
9374a876d505b8f8353f879f0724837cf0eec0ee
9af0e19aa6e81760f22b2c4234a761a8e6c94598
refs/heads/master
2020-03-19T13:54:59.752331
2018-06-22T11:59:06
2018-06-22T11:59:06
136,600,933
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
for i in range(20): print(i, end = " ")
[ "tiendungpham2002@gmail.com" ]
tiendungpham2002@gmail.com
de3ea653be4d4c385315ff2b3e679c3deeb39666
953c2daf3f5769858bd1c45f0e3776bc4b34766b
/parse_html/wdf.py
f51cda19a8b466f62bd1a9acf0ef330833b2e47e
[]
no_license
Brian01Chen/PyLearn
861472f14f645e6c85d3ce747e42a13c4e95f14b
0f71f8a859f8ed5d37af43a4df6a704a406ae8a9
refs/heads/master
2020-03-28T07:44:23.921805
2018-09-16T06:32:05
2018-09-16T06:32:05
147,921,169
0
0
null
null
null
null
UTF-8
Python
false
false
15,026
py
#!/usr/bin/env python # encoding: utf-8 """ 查看被删的微信好友 @link: https://github.com/0x5e/wechat-deleted-friends """ from __future__ import print_function import os try: from urllib import urlencode except ImportError: from urllib.parse import urlencode try: import urllib2 as wdf_urllib from cookielib i...
[ "csongbj@cn.ibm.com" ]
csongbj@cn.ibm.com
14a03bf9657d107f33251129650769f78af3c36f
9323e9e46852fd32bf9b7c427fbaf00062d05a29
/consumer.py
c5ec343f93797745e626b7d6a0aa1d39f78c013b
[]
no_license
vikramfa/CRISP-functionality
2c0c0a3ed9a1f9512fe8d39795f40bd8fe53bc63
789f5a04a8f40ca80bba436ea557a17cedbbe1ae
refs/heads/master
2022-12-18T16:04:28.512986
2018-08-26T06:40:02
2018-08-26T06:40:02
146,157,011
0
0
null
2022-12-08T02:23:01
2018-08-26T06:26:06
Python
UTF-8
Python
false
false
4,407
py
#!/usr/bin/env python import os import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "batchapi.settings") django.setup() from django.conf import settings # from confluent_kafka import Consumer, KafkaError from kafka import KafkaConsumer import json from rest_services.api.service.webhooksProcessService import...
[ "Am4mindia6" ]
Am4mindia6
e0a07f0877c22270af528518660a94bb564ce5e8
e95d38b9ff5198553b263aed6c401ce3f5ad1548
/dep/xbrl_pipeline/scripts/scrape/scrape-edgar-index.py
2c30afdf9c25562d95ecaf75093c65fa9500cc20
[]
no_license
emmettFC/selected-projects
2fffca1d8bf383784d208c3943a4e9751f4a3108
f13039c5f390f43857f5ea58751f5f0ad012ec56
refs/heads/master
2021-06-01T15:24:54.382956
2020-10-16T17:09:20
2020-10-16T17:09:20
112,818,838
1
0
null
null
null
null
UTF-8
Python
false
false
2,780
py
import json import urllib2 import argparse from datetime import datetime, date, timedelta from elasticsearch import Elasticsearch from elasticsearch.helpers import streaming_bulk # -- # CLI parser = argparse.ArgumentParser(description='Scrape EDGAR indices') parser.add_argument('--from-scratch', dest='from_scratch'...
[ "emmettfculhane@gmail.com" ]
emmettfculhane@gmail.com
f3b0df71b486b4606440e429447032bdef225f1a
499f5402baed77d000c65f243b457c69dc3d2fe4
/pycatia/in_interfaces/viewer.py
befb678950f3db7090270c8eac7757b337f7c8d4
[ "MIT" ]
permissive
evereux/pycatia
416189b34f3c60effea8a76258e36ffc5ae86e22
5f5726d5dc66265b3eba8a01910c4aeae424365d
refs/heads/master
2023-08-21T10:03:41.660445
2023-08-09T16:21:10
2023-08-09T16:21:10
159,069,580
141
42
MIT
2023-08-09T11:15:27
2018-11-25T20:04:31
Python
UTF-8
Python
false
false
12,683
py
#! usr/bin/python3.9 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
[ "evereux@gmail.com" ]
evereux@gmail.com
68ce4caaa316af0f30c71d5472dcb767d1f1f30e
01e1c51f28aaf864544796e5e3be489fc104371a
/mymod1v1KLQ.py
3304a5e374f852cec51cc341c803642dc98dacc0
[]
no_license
Koliqa/Hello_World
684ec833f6f81acffcada5888b9d955102d6d78a
b6cdf0ff30c9289fdf2867fecaa275904e416714
refs/heads/master
2022-09-01T23:41:33.146852
2020-05-29T18:57:45
2020-05-29T18:57:45
267,927,808
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
def Hello_World(): print('Hello, World!')
[ "kolyaleonof@yandex.ru" ]
kolyaleonof@yandex.ru
6417d2f145dc5e63cf8c84e28b83e740ff791163
aa99bc17310a3c86e55e180ce1059d16943f1e7f
/Other/Archive/single_dipole_performance.py
8d59e2bf019a813c4dec7326b5de1a5c193b3fe7
[]
no_license
didierquintius/MasterAIThesis
979f9bf3971e114202b6f26c673ed3f3386a4ae6
90bf43071b1ae067d77ee5be53dab86b3232ad7a
refs/heads/master
2023-03-26T06:03:58.087176
2021-04-02T05:18:55
2021-04-02T05:18:55
299,134,329
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 9 11:57:22 2021 @author: didie """ from BrainAreaFunctions import train_brain_area import pandas as pd from tqdm import tqdm import pickle #%% params = dict(nodes_pred = 50, nodes_Conv_clas = 45, nodes_Dense_clas = 19, kern...
[ "71985682+didierquintius@users.noreply.github.com" ]
71985682+didierquintius@users.noreply.github.com
e3734f768f54c8eac7752f58696a154cc2b4a326
07315ed7bc7761cd24840c93fe38c12b34cc507a
/api/schemas/fav.py
81444288d1f1d35effeb6886ffc593643337fe41
[]
no_license
speeed131/FavImage
a545f65a1d95f371da4adeab5dade70ee178fc0c
fd5648b29bfba4c65402e603e3c96a88689dfa9f
refs/heads/main
2023-08-25T10:22:19.652152
2021-11-01T13:12:39
2021-11-01T13:12:39
397,822,805
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from typing import Optional from fastapi import FastAPI from pydantic import BaseModel, Field from api.schemas.images import Image class FavoriteImage(Image): user_id: int = Field(example=1) class Config: orm_mode = True class FavoriteImageResponse(BaseModel): id: int class Config: o...
[ "speeed131@gmail.com" ]
speeed131@gmail.com
67af4b16e00a4fbacf0c0986c9e02028ec42c508
03965a2a2066e72201b73dbbd8151bad2d64bfe7
/main.py
0f2eccfdaac86e3f7c7d70060abd483fe6eea961
[]
no_license
vsfh/Library-Management
1fb2692d0877dbae6db44ec8fb2e2a1cf90610ad
939361684d9877e9dc0face0ff278a663d1c6a79
refs/heads/master
2021-05-20T15:21:36.684613
2020-04-02T03:43:57
2020-04-02T03:43:57
252,347,346
0
0
null
null
null
null
UTF-8
Python
false
false
15,239
py
from flask import Flask, render_template, request, flash, jsonify, redirect, url_for, session from utils import query, map_student_course, recommed_module from config import config import json import time import numpy as np import os import cx_Oracle # 创建flask对象 app = Flask(__name__) app.config['SECRET_KEY'] = 'gsolvi...
[ "508178817@qq.com" ]
508178817@qq.com
98be3bc8b64729359909a13f9c2c0dd6984bcf8f
294f244e6b671f0ce9d9f5232644d9f6ae62d95e
/blog/urls.py
d977e87bb348c79d38be5db7ab50be273a4b128b
[]
no_license
hagahiro/django-framework-study
c38d624f09f251a05b3871e4fd01da6d1fd13db0
7643b964a4b1d25b694b3f0c1072ae10d55ef0f7
refs/heads/master
2023-06-19T10:05:57.564401
2021-07-16T13:27:28
2021-07-16T13:27:28
386,646,641
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from django.urls import path from . import views urlpatterns = [ path("", views.Index.as_view(), name = "index"), path("detail/<pk>/", views.Detail.as_view(), name="detail"), path("create/", views.Create.as_view(), name="create"), path("update/<pk>", views.Update.as_view(), name="update"), pa...
[ "you@example.com" ]
you@example.com
83db18db2c0810886caf6d42ca2fd18c0b571e8a
086973e0c9db0e92f44e2c30bf9183a28320d9b9
/Sprint2Experimento/wsgi.py
b4d2b899d648306121785661029ddb0e94a1c650
[]
no_license
afsanchezr1/Sprint2Experimento
b48646492243bd0ba8ab7e3bd5ccc0c11088a25f
4ddbc8fbcbf335171c8fa314a5f108a257f2dbe3
refs/heads/master
2022-12-19T22:14:37.314194
2020-10-02T03:51:50
2020-10-02T03:51:50
300,455,410
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for Sprint2Experimento 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "afsanchezr1@uniandes.edu.co" ]
afsanchezr1@uniandes.edu.co
6df85996bb86e919549a37c35b69b6c190d39ed6
745ca0b2c95f9a0ca4f492fbe71750d311c0f782
/scrape/scrape/settings.py
2a94c322a3679e475c2b7e1f4bf5c45f5bb48cc6
[]
no_license
RNSAINJU/fpl
930a2f65c46a5d9c8668dccc4707d3be72e3c6ac
c9e6734db04a3ee55605f102751604beae1db3b9
refs/heads/master
2022-12-14T11:54:55.820823
2020-09-16T07:57:07
2020-09-16T07:57:07
295,941,256
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
# -*- coding: utf-8 -*- # Scrapy settings for scrape project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/lat...
[ "aryan.sainju@gmail.com" ]
aryan.sainju@gmail.com
740c66022712b423c6063a8d4b4c4832f485043d
a5904e66bdbc211619596b88e30e6dd8b36ccbb5
/data_types/data2D.py
36a6f90383467d9d8033c44d7e346209270cb7ef
[ "MIT" ]
permissive
Vrekrer/magdynlab
beee86775649f8f0aea67ca9bac17fc54937b6d8
f5149d3213a37c7c18f39876c3e2367fc7deb9e8
refs/heads/master
2021-06-10T16:29:41.467864
2021-01-15T05:49:18
2021-01-15T05:49:18
91,998,778
10
4
null
2017-07-06T22:05:34
2017-05-22T01:15:38
Python
UTF-8
Python
false
false
1,469
py
# coding=utf-8 # Author: Diego González Chávez # email : diegogch@cbpf.br / diego.gonzalez.chavez@gmail.com # # Data 2D # # TODO: # Make documentation import numpy __all__ = ['Data2D'] class Data2D(object): '''Data container for tabular data By default only two columns are used these can be acc...
[ "diego.gonzalez.chavez@gmail.com" ]
diego.gonzalez.chavez@gmail.com
da0fb435b2d15e90a57a23a000e23fda811be8ea
d20267e921888435d22442fe6275b6eca9f74307
/tests/settings.py
1ed61af3fa10d2f67732553692fb6cf43e38da0a
[ "MIT" ]
permissive
ELDAELRA/djangocms_slick_slider
d72b96a27761dde3c4035cd308a94f22c5647559
57678d45b262083df5eeee2b88c2eee93699f064
refs/heads/master
2020-04-28T21:48:28.215464
2020-03-18T11:06:10
2020-03-18T13:58:53
175,595,458
0
0
MIT
2019-03-14T10:03:03
2019-03-14T10:03:02
null
UTF-8
Python
false
false
5,080
py
import os gettext = lambda s: s DATA_DIR = os.path.dirname(os.path.dirname(__file__)) """ Django settings for example project. Generated by 'django-admin startproject' using Django 1.8.18. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and ...
[ "o.sahin@oesah.de" ]
o.sahin@oesah.de
65ebfe4663a3341f1b8068cfbc4828dcf225ac50
e8c65be05e771c74d6d389b9d2123aacbdb5cdbe
/clover/controller/bars_controller.py
a9f06777a8c647acfdf53d86b18c392f35873f7d
[]
no_license
reDim89/cloverAPI
c79996db332a546f173102b52f24f969a196af8c
d249caae93f7e9c01160e2357a9b6cfbed51421b
refs/heads/master
2022-12-16T19:27:01.705760
2019-01-01T07:41:37
2019-01-01T07:41:37
140,020,086
0
0
null
2022-12-08T01:16:41
2018-07-06T18:53:07
Python
UTF-8
Python
false
false
4,185
py
import requests import configparser import json from collections import OrderedDict config = configparser.ConfigParser() config.read('settings.ini') class Bars_controller: def __init__(self): self._client_id = config['FOURSQUARE']['CLIENT_ID'] self._client_secret = config['FOURSQUARE']['CLIENT_S...
[ "idmitat@gmail.com" ]
idmitat@gmail.com
285b24a7eacfde3a0bff5e3f723f6864861e9aec
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02409/s375215076.py
48a6cc040f6684de780dec7af370123b59d63a1f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
import sys official_house = {} for b in range(1, 5): for f in range(1, 4): for r in range(1, 11): official_house[(b, f, r)] = 0 n = int(sys.stdin.readline()) for line in sys.stdin: (b, f, r, v) = [int(i) for i in line.split()] official_house[(b, f, r)] += v for b in range(1, 5): i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
187944515c8e933e6c9211a36f745186a56063bd
883f666c6a8afa30fd094b7054039c57755867c3
/slowfast/TrainSet.py
fb161c75adfce5fa925b0a5ce80a9b8d5ceb86fd
[]
no_license
Yahiy/video_question_answer
ea59dc3eef9004012008054dd170c528740714bb
491ed94e63a059183c0cb8e03e35be763cf4eceb
refs/heads/master
2020-04-14T15:42:13.653835
2019-06-11T09:13:37
2019-06-11T09:13:37
163,935,142
2
0
null
null
null
null
UTF-8
Python
false
false
6,677
py
from __future__ import absolute_import import os import numpy as np import re import h5py from PIL import Image import torch from torchvision.transforms import transforms from scribt.data_util import pad_video, pad_sequences class TrainSet(object): def __init__(self, dataset, hdf5_path, word_matrix, word2idx, an...
[ "yuanhuan9412@163.com" ]
yuanhuan9412@163.com
507a3b401ef53bd3971001e9e1d39b9d98b2a3e4
4873d24dd9e93ed28a282539b5d8e06e4991adb0
/BikeAndBim.extension/BikeAnd.tab/View.panel/Export_cad.pushbutton/script.py
5976b82050953ed7d83139531954004833f24b8f
[ "MIT" ]
permissive
appolimp/Revit_extensions_pyRevit
71e1c4c33fad5f71636dc72afd196f7607f66ef9
1790b18c12e8bc603a6a726b2733678494180986
refs/heads/main
2023-07-02T06:32:05.191637
2021-08-09T09:06:13
2021-08-09T09:06:13
307,311,747
5
0
null
null
null
null
UTF-8
Python
false
false
8,256
py
# coding=utf-8 from rpw import db, DB, UI, uidoc, doc, logger from pyrevit import forms from System.Collections.Generic import List import os.path class ElemNotFound(Exception): pass VALID_VIEW_TYPE = [DB.ViewType.FloorPlan, DB.ViewType.CeilingPlan, DB.ViewType.Elevation, ...
[ "65594849+appolimp@users.noreply.github.com" ]
65594849+appolimp@users.noreply.github.com
4192c5574c63d75afb5a68bf33c50f46e23697d0
4bb665407ec8c323de16ad8c033fba7769b472b7
/InputScript.py
fee163c779dfd4f896ca0d225c5bbd7884dc0152
[]
no_license
MNienaber2727/CS237_caching_pubsub
45de2a37f0afe7369ea92330df5ff65705224af1
8459b6bb1dc4406eb0d0d652568374f577e26f9a
refs/heads/main
2023-05-23T09:32:45.210535
2021-06-11T20:12:50
2021-06-11T20:12:50
370,917,885
0
1
null
null
null
null
UTF-8
Python
false
false
676
py
import csv from random import seed from random import randint import sys size = int(sys.argv[1]) pubID = [0]*size restaurant = [0]*size food_item = [0]*size discount = [0]*size val = [0]*size validSubs = [] validSubs.append("10001") validSubs.append("00110") #validSubs.append("11000") #print(data) for j in range(1,...
[ "MNienaber27@hotmail.com" ]
MNienaber27@hotmail.com
78f2c8d2d7c3d68984934ce71f7e03a5b5f88a88
b424a13f032d5a607e6df4dd78bc47ad1d06a147
/scipy/sparse/linalg/tests/test_onenormest.py
7916996b7bcd8d29065abed19a128c453bb04c5b
[]
no_license
EnjoyLifeFund/macSierra-py36-pkgs
1e7eeb9b55415da6eb12465d67730d76e9cc619a
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
refs/heads/master
2021-01-20T10:23:50.044019
2017-09-05T02:53:26
2017-09-05T02:53:26
90,333,987
0
1
null
null
null
null
UTF-8
Python
false
false
115
py
../../../../../../../Cellar/scipy/0.19.1_1/lib/python3.6/site-packages/scipy/sparse/linalg/tests/test_onenormest.py
[ "raliclo@gmail.com" ]
raliclo@gmail.com
9247d33df0eac0e28bd18e72ec4448cf71df1f1e
285a12ef65663e16d9237bd9991d2d0f2eea7363
/Itertools/Itertools-Product.py
3fada69cfad2f5100d55935fe93324a68c6cdc13
[]
no_license
ZhiquanW/Learning-Python-HackerRank
18d7eaee624ae46d48cdce5a25334a5f44715156
4ccb8364b684c028720f146caa8f2883a0a91ca0
refs/heads/master
2021-08-31T19:28:01.134210
2017-12-22T14:41:44
2017-12-22T14:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
import itertools a,b = map(int,input().split()),map(int,input().split()) print(*itertools.product(a,b))
[ "mysabrehawk@outlook.com" ]
mysabrehawk@outlook.com
37bcd938bdd77011bda3d17d3f856bd3ffd513e6
8edd63a42469bf09fcad1c1070995ceda6e49646
/env/lib/python2.7/site-packages/observations/r/delivery.py
dca99a0329f9cacbcf4199fbe48dd16f61895323
[]
no_license
silky/bell-ppls
fa0b5418f40dab59de48b7220ff30caba5945b56
369e7602c810b694a70ac1e875017480c8910ac8
refs/heads/master
2020-04-06T08:40:28.588492
2018-11-01T06:51:33
2018-11-01T06:51:33
157,312,221
1
0
null
2018-11-13T03:04:18
2018-11-13T03:04:18
null
UTF-8
Python
false
false
1,589
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def delivery(path): """Delivery Time Data Delivery Time Data, from Mon...
[ "akobeid.1@gmail.com" ]
akobeid.1@gmail.com
8d05cd1d030aee3c13850f7a8918a4ff76bb2f25
48af880c1aa54c6986c218a231bd9eb97c5bee34
/email_example3.py
37965c59f0fc5f51cad69a35b5609c8193af49e3
[]
no_license
vcazcarra/raspberry_pi
e91f32ae676e51c02576f5a2637fc91751b01718
a322ac74c6ee3628955bfcb07afc9e4a11c744cd
refs/heads/master
2023-07-09T06:23:49.212119
2021-08-12T08:53:15
2021-08-12T08:53:15
395,252,226
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import smtplib, ssl port = 465 # For SSL smtp_server = "smtp.gmail.com" sender_email = "---------" receiver_email = "-------- password = "---------" message = """\ Subject: Hi there This message is sent from Python.""" context = ssl.create_default_context() with smtplib.SMTP_SSL(smtp_server, port, context=context) ...
[ "noreply@github.com" ]
vcazcarra.noreply@github.com
2866fd7b0bed2c7dcb21ed78c1b95aab2ebfc698
43374a7e2cc5dcb634211e5380ff2b4e3ff7d7d7
/RR_RAPPOR.py
717f1dabe73fd6d2bbd3a6e66735e09e52bf79c5
[]
no_license
WeiNingChen/RHR
395818fc3033de2a9937c29193b2e3e7b595d64e
d623e672881b823fc6ad33ceb7fbe03ba18ad756
refs/heads/master
2022-10-07T03:27:35.988875
2020-06-10T23:23:30
2020-06-10T23:23:30
271,405,761
0
0
null
null
null
null
UTF-8
Python
false
false
5,433
py
#%matplotlib inline import numpy as np import random import math import matplotlib.pyplot as plt import timeit from functions import * #The class for Randomized Response: class Randomized_Response: def __init__(self, absz, pri_para): # absz: alphabet size, pri_para: privacy parameter self.absz = absz #alph...
[ "wnchen1994@gmail.com" ]
wnchen1994@gmail.com
5f9036702734ca973c14594d1a5935aad7513076
e9f775a0fd9390f586968967a773e9d28839024c
/paper/scripts/qaoa_treewidth_times.py
417e3728e138f7964791aa73ec1b8c7736edb2bf
[ "BSD-3-Clause" ]
permissive
gharib85/ConSequences
da61ea6ac4530215ef96a52165d8a6dff0298d89
acf9dcfd931137cbca71251cd0c09c5009aee99d
refs/heads/master
2021-02-12T04:28:36.964069
2018-11-17T22:28:35
2018-11-17T22:28:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,186
py
#!/usr/bin/env python3 import matplotlib.pyplot as plt import pandas as pd import seaborn as sns import numpy as np import sys import warnings from macros import colors def algorithm_font(algorithm): return r'\textsf{{{}}}'.format(algorithm) def plot_treewidth_time_comparison(data_filename, plot_filename, verb...
[ "tdgoodrich@gmail.com" ]
tdgoodrich@gmail.com
27f63b70abc0cd6f6297ee7e2b96aaee13373a40
1c64fb8357978cc30d027c542e5d3c26d6c1598e
/esque_wire/protocol/structs/api/end_txn_request.py
ef140186f30cd934affbf288eabc215ef0a65a52
[ "MIT" ]
permissive
real-digital/esque-wire
d3c218896f8ef2300737d6c1ff161b6786418732
eb02c49f38b89ad5e5d25aad15fb4ad795e52807
refs/heads/master
2022-11-28T20:09:10.617618
2021-03-15T14:27:47
2021-03-15T14:27:47
210,586,766
0
1
MIT
2022-11-16T00:40:52
2019-09-24T11:33:00
Python
UTF-8
Python
false
false
1,078
py
from typing import ClassVar from ...constants import ApiKey from ..base import RequestData class EndTxnRequestData(RequestData): transactional_id: str producer_id: int producer_epoch: int transaction_result: bool api_key: ClassVar[ApiKey] = ApiKey.END_TXN def __init__(self, transactional_id...
[ "noreply@github.com" ]
real-digital.noreply@github.com
67d94141c63d139b3792ef29634a792447a3a5f2
aef4f1ef9ee0a62c80be7445accda56ff5e8ad63
/bookstore/comments/urls.py
0a530be2feb88fef400cb4ce204dde90ad2dd2f4
[]
no_license
wangxumumu/project
069e4786b6b243e2c1376b8c4ff557d8dd21f2b8
8cd13355ad3241a372f43d495214b02282cf3b32
refs/heads/master
2021-05-05T00:22:17.420618
2018-04-07T05:46:14
2018-04-07T05:46:14
119,490,173
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
from django.conf.urls import url from comments import views urlpatterns = [ # 像这种传参的路由,说明在视图函数里面传有参数,有几个参数这里就得写几个对应的 url(r'^comment/(?P<books_id>\d+)/$',views.comment,name='comment'), # 评论内容 ]
[ "978116554@qq.com" ]
978116554@qq.com
9a9f1c472855fe98af3c0077eae971eedd712e96
5b5fcd6a1f0084a4345ae82061bd1b4710a797fd
/curso python/catalogo/catalogo/apps/webservices/ws_productos/views.py
3d40f65c4186333fed5b74475e6947cb75e7e1de
[]
no_license
AlejandraCruz/cursopython
abbb4b414624813cfd4dcc63a9a205dc0a795ec4
3aa3a0445b68af0c264c7e9f7f1b152d2fdc0805
refs/heads/master
2016-09-13T07:22:34.404194
2016-05-10T10:57:03
2016-05-10T10:57:03
58,498,463
1
0
null
null
null
null
UTF-8
Python
false
false
795
py
# Create your views here. from django.http import HttpResponse from catalogo.apps.ventas.models import * from django.core import serializers def ws_productos_view(request): data = serializers.serialize("json",Producto.objects.filter(status = True)) return HttpResponse(data, mimetype='application/json') from .seri...
[ "yacruz67@misena.edu.co" ]
yacruz67@misena.edu.co
ad5be25309598ccb4ebf24e6860b2ff7407b3f6d
30a287ec53c4eb3f72e7a5882000cb6b7a8f9a91
/Legendarios-web/registros/models.py
7e07d80b69cb3401ab5b21144c5e4b246f78042c
[]
no_license
asapper/registro-legendarios
a3affc941d0f5e9044647fe28b54724d2e390a8c
69b8e09f34d10dfe929d964669757a33b501bd69
refs/heads/master
2021-01-21T15:53:40.576625
2017-08-04T20:00:12
2017-08-04T20:00:12
95,399,345
0
0
null
null
null
null
UTF-8
Python
false
false
3,270
py
# -*- coding: utf-8 -*- from django.contrib.auth.models import User from django.db import models class Legado(models.Model): OPCIONES_LEGADO = ( ('Osos', 'Osos'), ('Jaguares', 'Jaguares'), ('Águilas', 'Águilas'), ) nombre = models.CharField(max_length=50) apellido = models.Cha...
[ "asapper@hotmail.com" ]
asapper@hotmail.com
38b35d907e3cb5df8b3ff6681ee2767e98485de2
23aeb04d1092ed6238f65ab53b5afd79e94ed5ec
/utility.py
903872febddf569b569d321f172381f638ac3fee
[]
no_license
DixitNitin/Stock_prediction
df8bb569efc72a03347d9d498cae83222d7ee639
898e0002a15cad68fc8c90375317f0f5e3ba7f46
refs/heads/master
2020-06-21T20:17:54.640708
2019-07-24T08:40:53
2019-07-24T08:40:53
197,544,100
0
2
null
2019-07-23T12:15:33
2019-07-18T08:19:56
Python
UTF-8
Python
false
false
2,953
py
import pandas as pd import datetime from decimal import * def daterange(start_date, end_date): for n in range(int ((end_date - start_date).days)): yield start_date + timedelta(n) # input data : id, time, symbol, open, high, low, close # outout data: id, week, symbol, open, high, low, close ...
[ "noreply@github.com" ]
DixitNitin.noreply@github.com
eb6a637ea84d36e185a6db53af40a0ca7dbf62de
4a11712cbae24052121fc87279a0a7201bbc4388
/Unsupervised Learning/Experiment 2/PCA/cancer_PCA.py
30ec6fd032b3ccb8c7bc67b5feb7fbaf11310d78
[]
no_license
Timbabs/Machine-Learning
3c66fef4a0f8ff5252a8911d06e3e3c6bd7c05d9
8cb2d55b546cb1a77da247a179f3b1e8817b078a
refs/heads/master
2021-05-09T16:35:37.186775
2018-01-27T01:18:38
2018-01-27T01:18:38
109,227,455
0
0
null
null
null
null
UTF-8
Python
false
false
4,792
py
import pandas as pd import matplotlib.pyplot as plt from sklearn.preprocessing import StandardScaler from sklearn.decomposition import PCA import numpy as np import pylab from mpl_toolkits.mplot3d import Axes3D from mpl_toolkits.mplot3d import proj3d from mpl_toolkits.mplot3d import Axes3D feature_cols_label = ['wo...
[ "timothyybaba@gmail.com" ]
timothyybaba@gmail.com
936a7f5e2ce3a10d6bee07b1add9629e34d6c785
f6641c552622e1446d913d50f561ff14c524e885
/models/models_old6.py
4c2d0c04149ca4a51df23468554ac0b227271ea2
[]
no_license
yangyi02/video_motion_synthetic3
939d1ddd3a4caada87e0e2ef3ed430dae9b2447e
e732d3641c555422b977648211683cb21186bcdb
refs/heads/master
2021-01-01T06:46:55.553125
2017-08-04T00:19:28
2017-08-04T00:19:28
97,509,008
0
0
null
null
null
null
UTF-8
Python
false
false
15,084
py
import torch import torch.nn as nn import torch.optim as optim from torch.autograd import Variable import torch.nn.functional as F import math class Net(nn.Module): def __init__(self, im_height, im_width, im_channel, n_inputs, n_class, m_range, m_kernel): super(Net, self).__init__() num_hidden = 6...
[ "yangyi02@gmail.com" ]
yangyi02@gmail.com
71320520c3f27f61cf54ae8386fc3bfc92221343
91efac4047d3d6f6826597046fbbaf6fe6243550
/model_tuning.py
affe07c5ad33388efe3e10dae9e2595f3fe4d81f
[]
no_license
santhoshhari/data_utilities
77736f943122c217ddfd7ba3c5ef32db32c31e6b
c90313d0e0faa6d27b83a2c0b7e443f8b3227cf1
refs/heads/master
2020-03-28T18:55:15.379669
2018-09-27T03:01:58
2018-09-27T03:01:58
148,926,902
0
0
null
null
null
null
UTF-8
Python
false
false
17,475
py
import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.metrics import roc_auc_score, mean_squared_error from xgboost import XGBClassifier, XGBRegressor from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor, forest from sklearn.linear_model import LogisticRegression, Ridge ...
[ "shari@dons.usfca.edu" ]
shari@dons.usfca.edu
1e08e03c5602e773fea189066d6e3c57d3c68264
acb4ec8f4e789b2f9ebcb9e93b9b58d53d195df7
/python_007.py
ef8f2db123550d11c02594e4eb0c6e7ca62773c4
[]
no_license
andrewPompa/pjs
2948ee69934d242fb79a28b9b9f76db6358ead39
f7614ae67b86129aa9152e51230162d61110eeba
refs/heads/master
2021-03-27T20:05:16.576409
2018-01-20T21:26:52
2018-01-20T21:26:52
105,984,552
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
#!/usr/bin/python # -*- coding: utf-8 # Import module support import argparse import os import string from functools import reduce import re import NumberValidator import sys from GrepModule import PatternOccurrences, calculate_occurrences program_name = sys.argv[0] class Dir: def __init__(self, path): ...
[ "mijo@ailleron.com" ]
mijo@ailleron.com
b120db8ee5306c60979bd4c6ab69c8226a685263
e8e152dacd2d975f2a880c89589e16cf63a80d75
/SendMsgToDD/SendToTest.py
cf99b9d85e019f9fdd442ef5f64d1c849eeaa9b9
[]
no_license
tiger4066/PythonProject
d434e754d4ccf7d5e9fc9e49261d7722894b5ad8
7dbae45e0bd6817996d8646aa65fcc7544543771
refs/heads/master
2020-03-23T17:26:16.768104
2018-07-22T02:46:05
2018-07-22T02:46:05
141,859,964
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
import requests from bs4 import BeautifulSoup from lxml import etree import re url = 'http://lkzx.net/index_main.aspx?tabid=1' UA = "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.13 Safari/537.36" header = { "User-Agent": UA, "Connection":"close" #加上这一行,解决:Failed t...
[ "tiger406@qq.com" ]
tiger406@qq.com
9bd5ac1d6ba7fc415b10e2563a4e94ebe6f6cd3a
c6613d54db965247977a6593af7867c637c73de5
/python_函式與參數/function-basic.py
91e9bb05c4783fdc1ca7dc82b4b0516b5b1ea272
[]
no_license
a0988986570/python_training
b7ff11f6b35308d69f055d4805f6a42c20a51a07
87f2e4e5a918579d04c0952b05abc75b14098610
refs/heads/master
2020-07-23T05:42:34.304494
2019-09-30T15:54:52
2019-09-30T15:54:52
207,461,361
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- """ Created on Mon Sep 16 12:26:40 2019 @author: user """ #定義函示 #函示內部的程式碼,若是沒有做函示呼叫,就不會執行 def multipy(n1,n2): print(n1*n2) #return 10 return n1*n2 #呼叫函示 x=multipy(3,4) print(x) #函示所得到的值為return回傳的東西,沒有寫return即回傳NONE值 #例子 def multipy1(n1,n2): return n1*n2 value=multipy1(3,4)+mul...
[ "a0988986570@gmail.com" ]
a0988986570@gmail.com
1bfafbcc70873f685f59ae768893dc6f2aadc31d
bdf4b83e8b28e3ac552ef7b648d3344e3d52e9fd
/checkinclusion.py
d204075a4de6bab5491752c4990f5b644f7d66fa
[]
no_license
uddipt1507/Applied-Crypto-Merkel-Tree
32522af83deaef14abd67a897bbdb45a0ce4e366
bbf60e579e582dcaf0b5bdca40f1f1e4e8e93c99
refs/heads/master
2022-12-17T06:54:55.073573
2020-09-12T04:56:30
2020-09-12T04:56:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
#!/usr/bin/python3 import ast,sys,hashlib def parseFile(): f = open("merkle.tree","r") tree ={} for line in f: lineArray = line.split(" ") if lineArray[0] == 'Parent(concatenation': tree[lineArray[6]] = lineArray[10] else: tree[lineArray[3]] = line...
[ "noreply@github.com" ]
uddipt1507.noreply@github.com
c66a856d70350d3698a0acab1cbc9f1d3152b332
9147ff9354b5f5e3cd526408701a9061f64122ad
/indy_client/test/agent/test_restore_agent_wallets_from_mgl.py
7582687a95b72d6f0498d0cd20257b1537af9f20
[ "Apache-2.0" ]
permissive
trongnhan1312400/indy-node
07d04e7e880b90b10b99cf0b9bc0df1742917253
ca6cda2a049171a98e4758240a00e97ea449ea25
refs/heads/master
2021-09-01T09:28:43.114840
2017-12-26T07:45:30
2017-12-26T07:45:30
111,093,792
0
0
null
2017-11-17T11:02:14
2017-11-17T11:02:13
null
UTF-8
Python
false
false
2,325
py
import os import shutil from indy_client.agent.walleted_agent import WalletedAgent from indy_client.anon_creds.indy_issuer import IndyIssuerWalletInMemory from indy_client.anon_creds.indy_public_repo import IndyPublicRepo from indy_client.client.wallet.wallet import Wallet from indy_client.test.client.TestClient impor...
[ "alexander.sherbakov@dsr-company.com" ]
alexander.sherbakov@dsr-company.com
43afce7b0e3fae4644204ede82202e1ae5a28b16
633546536aa4fe5566132c2c3407d673280abd87
/programas5-spa/programa-5-2.py
3551154a68747f2c29a966f455581e31d73011ab
[]
no_license
aoliverg/python
dbcaa823b8b84fd6b769c2f1f8f7f6525c307ba8
6562a4422f1b18894a82f484bfa443d489880eb9
refs/heads/master
2023-03-06T17:02:32.749467
2021-02-13T12:11:03
2021-02-13T12:11:03
294,938,607
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
freglas=open("reglas.txt","r") reglas=[] while True: linea=freglas.readline().rstrip() if not linea:break reglas.append(linea) freglas.close() fdiccionario=open("diccionario.txt","r") while True: linea=fdiccionario.readline().rstrip() if not linea:break (lema,tipo)=linea.split(":") for regla in reglas: (tf...
[ "aoliverg@uoc.edu" ]
aoliverg@uoc.edu
5589f7ffc74fc2142a33e4fa79fcad95a8313766
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_150/ch5_2020_03_17_15_11_34_348553.py
92239ab555449c872530a273fdcd1e75e9c8ca77
[]
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
85
py
def libras_para_kg(libras): kilograma = libras / 2,2046 return kilograma: .6f
[ "you@example.com" ]
you@example.com
27d66697edb600f44c2bcbbecb60b39672cf4605
004572785d95142d4639eec6b3f058ea8accc5f1
/App dev files/App_code.py
912bab7af881fb62e75533b4d6ac0271dc42b185
[]
no_license
aagarwal4/bay-area-bike-share
cd8f8d48813759d2faecf13031d3f3fb220abbd0
06cd888b141e6671214dbf03d6896a8b2e03b902
refs/heads/master
2021-09-09T02:07:58.966351
2018-03-13T09:51:44
2018-03-13T09:51:44
117,250,856
0
4
null
2018-03-13T09:51:45
2018-01-12T14:32:31
Jupyter Notebook
UTF-8
Python
false
false
5,355
py
from Tkinter import Tk, Label, Button from Tkinter import * import requests import csv import geopy.distance import pandas as pd import urllib import simplejson try: import Tkinter as tk import tkFont import ttk except ImportError: # Python 3 import tkinter as tk import tkinter.font as tkFont ...
[ "djohn@dons.usfca.edu" ]
djohn@dons.usfca.edu
2fa288aea4a3deb75788391f00ca6fa38d7e4d35
a7defc517f9a007425ac411468169e6177b0186c
/learntools/emotiv/skmodel.py
313df15ddbc006cae6d9d7d994383893950b962e
[ "MIT" ]
permissive
yueranyuan/vector_edu
6f9b9b6a26b1a9c0aa95f2da752fd532c4c22186
259ff50479ebd5e12136554f1cd47bff149fa15c
refs/heads/master
2016-09-05T15:41:31.135701
2015-06-06T15:00:42
2015-06-06T15:00:42
27,746,530
3
3
null
2015-03-07T03:04:20
2014-12-09T02:51:03
Python
UTF-8
Python
false
false
2,497
py
from __future__ import division import numpy as np from sklearn.decomposition import PCA from learntools.libs.logger import log from learntools.model import Model from learntools.libs.auc import auc class SKModel(Model): def __init__(self, prepared_data, classifier, pca_components=None, pca_percentage=None, **k...
[ "yueranyuan@gmail.com" ]
yueranyuan@gmail.com
e566c940bc12de675b66c189fc4527197db9b8bb
e8f67b90173daccb794bf3959f2b27742dc129ef
/HashValidator.py
5c276afe2f426f329339954a8ef7dfb4bb481854
[]
no_license
kostas-pa/HashValidator
52fc2815e62d08fbefc75019fa3fc4db06d92480
784a19c421993060a6518cbf341dad5ce3ceee56
refs/heads/main
2023-08-05T19:53:37.124108
2021-09-27T10:25:43
2021-09-27T10:25:43
348,281,820
2
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
#!/usr/bin/env python import sys import os.path from os import path import hashlib import tkinter as tk from tkinter import filedialog hashes = list(hashlib.algorithms_guaranteed) bock_size = 65536 # The size of each read from the file root = tk.Tk() root.withdraw() filename = filedialog.askopenfilename() def menu...
[ "noreply@github.com" ]
kostas-pa.noreply@github.com
1af8914408d2e13a9171f9a975afddaad28bad1f
28e16491dbddefeef482f515bb84f8cbf619929a
/lib/galaxy/jobs/__init__.py
159c0dd340d7451e1f71fcde42245ca54e07a52c
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hidelab/galaxy-central-hpc
a9e469829cdcfa4adf8fcbcc178534d5e2dccf0b
75539db90abe90377db95718f83cafa7cfa43301
refs/heads/master
2021-01-23T10:20:57.837042
2017-09-06T14:15:46
2017-09-06T14:15:46
102,609,249
0
0
null
null
null
null
UTF-8
Python
false
false
87,784
py
""" Support for running a tool in Galaxy via an internal job management system """ from abc import ABCMeta from abc import abstractmethod import time import copy import datetime import galaxy import logging import os import pwd import random import re import shutil import subprocess import sys import traceback from ga...
[ "sokratiskariotis@gmail.com" ]
sokratiskariotis@gmail.com
8fa6fd693effe0a2e6b5bc5ceffffc3a0bc356d1
fc913f9b19c5409e5cef4d0276863d4229d0637c
/states/CreateServerState.py
8ef507d86920bbc4298e5b8e907249f8abb2972b
[]
no_license
ThatsAMorais/breakin-and-poppin
6af7e53395f45e47aa0e3c36a5868eca962b2aa0
dd6c4e39e9e5af7109c26b51c24607099c3a3b98
refs/heads/master
2021-01-06T20:37:18.303481
2018-08-20T06:36:49
2018-08-20T06:36:49
7,364,939
0
0
null
null
null
null
UTF-8
Python
false
false
3,984
py
##### File : CreateServerState.py #### Author : Alex Morais ### Description : ## from states.EngineState import * from states.TitleScreenState import * from states.ChoosePlayerState import * from ui.Font import * from ui.UIText import * from ui.UIImage import * class CreateServerState(EngineState): def __in...
[ "thatsamorais@mail.com" ]
thatsamorais@mail.com
8a50e6af62d2494ac3fcea05f063f3807d33eba5
4758708f1655f795075669e9a0fdf84041592548
/Layers.py
a70c1a2a0ce27760d34f327073fdb849ed5c7541
[ "Apache-2.0" ]
permissive
SamLynnEvans/Transformer
4a6a009c3544ea2a14e320f48cd38d6f00e86944
49e01800aab01dcd83403a056c059f429a7d7512
refs/heads/master
2023-05-25T20:04:07.244922
2023-05-19T10:22:41
2023-05-19T10:22:41
149,262,160
1,236
381
Apache-2.0
2023-05-19T10:22:43
2018-09-18T09:25:13
Python
UTF-8
Python
false
false
1,741
py
import torch import torch.nn as nn from Sublayers import FeedForward, MultiHeadAttention, Norm class EncoderLayer(nn.Module): def __init__(self, d_model, heads, dropout=0.1): super().__init__() self.norm_1 = Norm(d_model) self.norm_2 = Norm(d_model) self.attn = MultiHeadAttention(he...
[ "samuellynnevans@gmail.com" ]
samuellynnevans@gmail.com
af83b8df9d6ed2c308afc29ae1eb3741fdd3ba6e
efa88ab827502ecf7143d8564839cce9945987b3
/comparison/plotter/plot_single_method.py
6900e44609a9a3f2b22a58f104a1f28fcc51690a
[ "MIT" ]
permissive
morrislab/pairtree
678bf2b2c2fdb06900e03de4cea2d1ef5e08f641
1e01dc9ccbd15146de9184bd9d7b5d690cf0fd89
refs/heads/master
2023-07-27T11:42:37.237423
2023-07-18T00:05:43
2023-07-18T00:05:43
140,898,706
32
11
MIT
2023-03-02T21:45:51
2018-07-13T22:41:39
Python
UTF-8
Python
false
false
3,213
py
import argparse import numpy as np import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import plotter from plotter import MISSING import pandas as pd def make_score_traces(results, method): S_vals = sorted(pd.unique(results['S'])) traces = [] for S in S_vals: points = [(row['...
[ "jeff.git@wintersinger.com" ]
jeff.git@wintersinger.com
7f8c820fb39fbccf368636870997d3dc022fec49
194db7eb2ffb075712832a55eeecfcbbb6c05def
/devel/lib/python2.7/dist-packages/melle/msg/_SensorData.py
c68f7448e09bc1f8eb01fa5c8a03ef4179e035a5
[]
no_license
LitterBot2017/MellERos
ef7acd720ab0cf60165f64b079eaf3009c492366
0fc6af1d21b9e4716fd0efaaadf39aa62a53220b
refs/heads/master
2020-01-23T21:43:48.445142
2016-11-24T15:12:15
2016-11-24T15:12:15
74,683,802
0
0
null
null
null
null
UTF-8
Python
false
false
4,239
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from melle/SensorData.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class SensorData(genpy.Message): _md5sum = "ac7363d784144c7402ac7de3955b5772" _type = "melle/Sen...
[ "nrahnemoon@gmail.com" ]
nrahnemoon@gmail.com
4c208fd5282b81d62de3cd7ac8fcd3f13139fd78
02adeee0e6b0457fa3dc171a96d7dae9558d8047
/pocket-learning-algorithm-and-feature-engineering/perceptron_classifier.py
dfa58c902dc0c0650e6f4c250e83e5c5601e0e16
[ "Apache-2.0" ]
permissive
pfvaldez/blog-post
7d19456ad03984e4729f19bb075efdcf10ca18d3
ab159bb44ed57e73c7467197f7adec6e30b4dbc0
refs/heads/master
2020-04-04T13:12:07.636645
2018-02-13T04:03:36
2018-02-13T04:03:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
import numpy as np class PerceptronClassifier: '''Preceptron Binary Classifier uses Perceptron Learning Algorithm to classify two classes data. Parameters ---------- number_of_attributes: int The number of attributes of the data set. class_labels: tuple of the class labels ...
[ "sincerelygre@gmail.com" ]
sincerelygre@gmail.com
5dcf74e6b7075574c4fa4ad254c1cb46edf34366
3180e0da3ae6f3e2f13e1846aaa9fdb52cc6f5da
/IPL_Wins_Top_5_Race.py
fd76af0ea159a58d1614005223592b3f6501b71b
[]
no_license
rg089/ipl_wins_bar_race
a49e8e87a093810962496a0182d307939c7b10fb
a882928a2b3726b77592ede78055bd6322320d12
refs/heads/master
2023-02-20T17:56:06.819204
2021-01-21T21:02:03
2021-01-21T21:02:03
280,247,765
1
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns import datetime import matplotlib.animation as animation df=pd.read_csv("ipl_matches.csv", usecols=[3,10]) df.dropna(inplace=True) df.replace({"Delhi Daredevils":"Delhi Capitals","Rising Pune Supergiant":"Rising Pune Supergia...
[ "66423362+rg089@users.noreply.github.com" ]
66423362+rg089@users.noreply.github.com
7b2c473cc8869fe66d9c7d17090e41aa07816a89
2e2494148f19a2f51383a7eb8853c746a60b6db9
/.~c9_invoke_V8Eohz.py
80355ec7ba33f36765d6f45bd316877de84e796c
[]
no_license
GrimaldoMike/Compiladores
a79614d77ac9baed3837d76ccfa70f664b62b3ee
2d01512b537f523d608d79e91ec163ee7e2ab529
refs/heads/master
2021-01-10T17:40:55.376425
2016-05-06T20:23:58
2016-05-06T20:23:58
53,536,738
0
0
null
null
null
null
UTF-8
Python
false
false
4,213
py
import sys from executable.py import output_quadruples functions = output_quadruples['funcs'] instructions = output_quadruples['quadruples'] constants = output_quadruples['constants'] globalvars = output_quadruples['globals'] fcinstucts = output_quadruples['fightcomp'] #Stacks que utiliza la VM slocal = [] sglobal =...
[ "grimaldo.mike@hotmail.com" ]
grimaldo.mike@hotmail.com
2195320584a9e644c934183aa90b966842d820ea
e2fbdc948b1515a92f5d7f7ee94762072b20f536
/test_game_of_greed.py
83a7c75d6ac4697fbcb24ba88bfea6e08ddec9e0
[ "MIT" ]
permissive
ravewillow6383/game-of-greed
063930e25300832d376d03c1b8d86302eb7187f4
9c28b44510e5b2ad3627f8c5c8721a86f40555c8
refs/heads/master
2022-07-11T22:48:18.415213
2022-06-03T04:31:03
2022-06-03T04:31:03
195,851,210
0
0
MIT
2022-06-03T04:31:04
2019-07-08T16:41:08
Python
UTF-8
Python
false
false
1,834
py
from game_of_greed import tally_score def test_single_one(): assert tally_score('1') == 100 assert tally_score('11') == 200 assert tally_score('111') == 1000 assert tally_score('1111') == 2000 assert tally_score('11111') == 3000 assert tally_score('111111') == 4000 def test_various_t...
[ "ravewillow6383@gmail.com" ]
ravewillow6383@gmail.com
59a14ab9adc1063b789ed8e447754c8cf41b2ee5
35c95a923a673f226d88e0cfa217c8a381e036f2
/reception/GUI.py
1d3d5c3ce64425ad3a554b82e80f1d55d0849ad7
[ "MIT" ]
permissive
XeBasTeX/LoRa-Transmitter
890ed7d46cb84f02a05e87c432f14bb9fa4aaad5
3b996f032acf8bb9e031e65964bb10bc35f4dd03
refs/heads/master
2020-04-13T09:25:23.481698
2019-07-05T09:29:57
2019-07-05T09:29:57
163,111,259
0
0
null
2019-01-18T22:10:24
2018-12-25T21:01:30
Python
UTF-8
Python
false
false
2,945
py
from tkinter import ttk from tkinter import * from tkinter.scrolledtext import ScrolledText from threading import * from random import * import numpy as np import time import queue import serial import os import csv class FenPrincipale(Tk): def __init__(self): Tk.__init__(self) ...
[ "noreply@github.com" ]
XeBasTeX.noreply@github.com
959657251e322e467e7097cb2319c6def544f23e
30e0d9704e4c13bb18cb59a7f00306f2f5445a37
/venv/lib/python2.7/linecache.py
e513e537459a062f304b150efe40eba9b97d3e59
[]
no_license
olwflynn/birdplane
799c9e227deaaf8487aac1bb3349cd1003684120
34348a5679624488a94410ea18811d6282479d49
refs/heads/master
2021-05-05T02:18:56.999142
2018-06-08T11:53:33
2018-06-08T11:53:33
119,728,295
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
/Users/OFlynn/anaconda/lib/python2.7/linecache.py
[ "oliver.flynn1989@gmail.com" ]
oliver.flynn1989@gmail.com
b06cca6b5200a5c0eaab11a13f3c215ba2a91bf9
b2a6a8733f588d503e45ad40cfa2080566d1ccf5
/0x0F-python-object_relational_mapping/7-model_state_fetch_all.py
88b7388329651bf8e3ad56794f64494b765ed393
[]
no_license
andresvanegas19/holbertonschool-higher_level_programming
9cd0f83722623ca08c6b4e3aa94975363b569183
aa967a51183c3c8b9c9b27b47199c70fd6241485
refs/heads/master
2022-12-22T18:44:17.839861
2020-09-25T04:54:18
2020-09-25T04:54:18
259,396,114
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
#!/usr/bin/python3 """Start link class to table in database """ import sys from model_state import Base, State from sqlalchemy import (create_engine) from sqlalchemy.orm import sessionmaker if __name__ == "__main__" and len(sys.argv) == 4: # create the uri of database db_uri = 'mysql+mysqldb://{}:{}@localhost...
[ "andressantiagore@gmail.com" ]
andressantiagore@gmail.com
f5bc5a546cdf725a09773ed38cb30dc83ce155f2
059863dff0c7ee0704d644e5c1fd164f422a2935
/upload-portfolio-lambda.py
bb0b666b8b687ac92c2a696d41ea299c36a1fafd
[]
no_license
scrubs1979/my-portfolio
f80de0624a4f9a739d7d0461209970dd7915c05c
9662b4903614315e125455954405e8a9fb154aa0
refs/heads/master
2021-05-14T12:24:42.650293
2018-03-08T05:16:17
2018-03-08T05:16:17
116,408,226
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
def lambda_handler(event, context): import boto3 import io import zipfile import mimetypes sns = boto3.resource('sns') topic = sns.Topic('arn:aws:sns:us-east-1:209335604342:deployPortfolioTopic') try: s3 = boto3.resource('s3') portfolio_bucket = s3.Bucket('portfolio.nicholas...
[ "nth819@gmail.com" ]
nth819@gmail.com
9eac46d32932eb433a745020a70c3a966d2f9ecf
a4376ca539d6e78dfce225c74ee9b320d53dfac1
/models/LM_LG/train.py
c95ade475bda90622b92f6fd3c0646080a0846c4
[]
no_license
Vietdung113/underthesea.word_sent
867172a14c02bc1d357dbfb4ae861a95d5b04c85
cb7ae2b046de2e83b6eafac089de2b24f274b164
refs/heads/master
2021-01-17T11:52:43.683592
2017-03-28T07:04:58
2017-03-28T07:04:58
84,049,336
0
0
null
2017-03-06T08:37:07
2017-03-06T08:37:07
null
UTF-8
Python
false
false
1,555
py
from os.path import dirname from os.path import join from underthesea.corpus import PlainTextCorpus # pre-process from models.crf_model.transformer import Transformer punctuation = open("punctuation.txt", "r").read().split('\n') # to sentence def count_underscore(word): count = 0 for token in word.sp...
[ "doanvietdung273@gmail.com" ]
doanvietdung273@gmail.com
999cee0cbb39d8437d31f33f059f976251ca8ba3
78bdb461b09f0dbccad474f069fe7dec829c70e3
/venv/Lib/site-packages/tailor/internal/execution/__init__.py
972e62315e5bdac2b1caf67f609aaa2b219814cd
[]
no_license
OdaNilseng/FLSworkflow
92d7a9b9d63398517f927fd2a0514eaef787e110
780a998741991f17ce14d5b642b228495681e415
refs/heads/master
2022-12-03T13:04:36.542191
2020-08-21T08:55:53
2020-08-21T08:55:53
289,224,383
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
# -*- coding: utf-8 -*- from .serialrunner import SerialRunner
[ "oed@sevanssp.com" ]
oed@sevanssp.com
19d98f499819e67e2b301ea262b005ee741efaad
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2542/58610/244701.py
f657012ffa6f32eee9c2f07eca344df262997dbc
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
410
py
nums = eval(input()) hash_dict = dict() max_len = 0 for num in nums: if num not in hash_dict: left = hash_dict.get(num - 1, 0) right = hash_dict.get(num + 1, 0) temp_len = left + right + 1 max_len = max_len if temp_len < max_len else temp_len hash_dict[num] = temp_len ...
[ "1069583789@qq.com" ]
1069583789@qq.com
bc1a2292f22bba054ad14b3e8d09eab1f46b6d6b
42be401188f048b84f97e083afcfe4ed772a45c6
/Gamerboy.py
6f7a66c122bf1bd4197ec4c91a2e3b82ef614ecd
[]
no_license
aftabgit786/gamer
df3bb4db1638efe91418717ae0e6329d613e323a
19873d1f9523adb81c74225b43f095619ae146b1
refs/heads/master
2022-10-02T04:45:58.380391
2020-06-05T14:32:17
2020-06-05T14:32:17
269,662,526
1
0
null
null
null
null
UTF-8
Python
false
false
16,633
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
aftabgit786.noreply@github.com
369d48ff237aaa397d17503fcbc6269012a892a0
69c27255a714c406cdb2f673b5f78bcdfc56e668
/vezba07/z2.py
2c94ae248d91a401cb3f3478038f7200125fcd39
[]
no_license
stefan9x/pa
fcb1f59043a8d2710978c5393f18cde5c418de25
6123502f5629375723cf6eda4a9eb93e27ff0659
refs/heads/master
2020-04-25T05:18:05.547692
2019-06-14T20:24:57
2019-06-14T20:24:57
172,537,624
0
0
null
null
null
null
UTF-8
Python
false
false
2,408
py
import math import random import time class Data: def __init__(self, key): self.key = key self.literal = str(key) def __str__(self): return str(self.key) def randList(min, max, num): l = [] for i in range(num): rand = random.randint(min, max) l.append(rand) ...
[ "stefanj94@live.com" ]
stefanj94@live.com
2ccb1c92186cd0395ec86eeae1b6090e27711a20
4e8b2ea63c201ff50f6ce76eeb3649e5e1dd68f3
/src/00_hello.py
f4da22fb5b904db9f339fb8006780670a67d5971
[]
no_license
DanielFirpo/Intro-Python-I
badd427560f32d6f9acc68b339880776b5e27dfb
6c03efcb8d0048c4feb6ef54ffb2b5b3e6f6abf3
refs/heads/master
2022-04-01T16:00:31.202434
2020-02-11T23:11:46
2020-02-11T23:11:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
# Print "Hello, world!" to your terminal print("Hello, world.")
[ "trtld2@gmail.com" ]
trtld2@gmail.com
d22118d55882db65321d3e871bffec9d45a6b351
6dd2987e853fd59f7db8f2ce9c7c012510038e85
/src/eumetsat/tools/compression/osi_saf_netcdf_round_floats.py
9ce63a8f0b11b8825a38a88daeae051258cce7b8
[]
no_license
JoaoGRRodrigues/rodd
2980c62cd40362d2df9ad41bdda5b72d7b6d9002
235fd68d62923dfe514db182e1c4ccf7a72af5f5
refs/heads/master
2021-05-31T17:03:29.372364
2016-04-26T08:11:38
2016-04-26T08:11:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,323
py
''' Created on Dec 2, 2010 @author: gaubert ''' from netCDF4 import Dataset import numpy import subprocess import sys import fileinput import tempfile import os import csv import eumetsat.common.utils from eumetsat.common.utils import ftimer import ftplib SERVER = 'podaac.jpl.nasa.gov' DIRECTORY = '/GHRSST2/dat...
[ "guillaume.aubert@gmail.com" ]
guillaume.aubert@gmail.com
e6b5006446aa5630b3cd4c2cb01fd78aa200d0ba
008ea2e16bc919465579210792d221e465d59660
/extract_features.py
21d10dad2f79acf63306c1f343ea9d477a0e9acd
[ "MIT" ]
permissive
AdamSpannbauer/wedding_ring_detector
d0e1883b9c204a6cfbf439d3bf798cb7d45cfd02
eb59acbb70f513711657b6f1b04abbf2ca271319
refs/heads/master
2020-08-24T16:27:46.263977
2019-10-23T21:33:55
2019-10-23T21:33:55
216,863,821
3
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
"""Extract features from training images to hd5f db Modified from: https://gurus.pyimagesearch.com/topic/transfer-learning-example-dogs-and-cats/ """ import cv2 import numpy as np from keras.applications import VGG16 from keras.applications import imagenet_utils class FeatureExtractor: """Wrapper to extract ...
[ "u775749@emn.com" ]
u775749@emn.com
fbc4485b2e43f3282f9b7e102231bd0608f8f911
03ba3c552b9ea608cee992e834d2e2983a867e38
/programacion_desde_cero_con_python/manejo_archivos.py
0bbad88ffb784e98f80d97c7a37dc0ad96368f74
[]
no_license
vpoloromero/Curso-Python
e7b387e9b6335f876502d9daf65ead482396f4bf
168d3b4d85a3da6ff1dc0d4f7da39a47866bd348
refs/heads/master
2022-09-12T13:40:46.895694
2022-07-27T22:12:47
2022-07-27T22:12:47
216,206,428
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- """ @author: Octavio Gutiérrez de Código Máquina URL del canal: https://www.youtube.com/CodigoMaquina URL del video: https://youtu.be/bf_698bfPDU """ def escribir(nombre, texto): with open(nombre, "w") as archivo: archivo.write(texto) def leer(nombre): texto="...
[ "noreply@github.com" ]
vpoloromero.noreply@github.com
bb2b6a434a7822094e49e100f57a46df36bca90e
57f0685e4d2dee92e57b9a7b948ad40d4f88cff6
/modules/Aseguradoras/urls.py
f3e74dc269278286ef9b21099248cb918ae5e7d0
[]
no_license
richard020797/CARSapi
37ff75234f2bb1b8b73f77e19dfeb63f4ec36f62
cd116f2828710670a9e94058517fed6af4f12f74
refs/heads/master
2021-01-12T13:52:31.100950
2016-09-27T00:58:12
2016-09-27T00:58:12
69,070,777
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from django.conf.urls import url from .views import ListAseguradoras from .views import DetailAseguradora urlpatterns = [ url(r'^$', ListAseguradoras.as_view()), url(r'^(?P<pk>[0-9]+)/$',DetailAseguradora.as_view()) ]
[ "richard020797@gmail.com" ]
richard020797@gmail.com