blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
a4dd734cc75d4dab0bbf22bfd1e040f9120b7f34
58163db937b01fb6012339c76d924c6347bc0f81
/Ch.4/4-6odds_&_4-7threes.py
f5c38128d85097ef40dcc964157274c4a3d7724b
[]
no_license
NewMike89/Python_Stuff
5cf33a31bb199da8ddb2ae5915df4ea64cdb1bea
1b208aef6656fa34a63c9d477f3359ff16aa62ce
refs/heads/master
2020-04-23T09:29:02.378711
2019-04-04T00:04:14
2019-04-04T00:04:14
171,069,816
3
0
null
null
null
null
UTF-8
Python
false
false
209
py
# Michael Schorr # 3/21/19 # lists of odds and and 3s from 1 to 20. odds = list(range(1, 21, 2)) for num in odds: print(num) print("\n") threes = list(range(3, 21, 3)) for nums in threes: print(nums)
[ "mschorr2014@gmail.com" ]
mschorr2014@gmail.com
85d3a5c6bfe6408413d7792069ffc4e88e2f9cf3
9a89e4b0757a5bc8607b721cf71a60ec3fccbd54
/ppe/session04_variaveis/exercicios/exer35.py
3d9650eddb11cc72cb56464f56a90b507208e273
[]
no_license
brcabral/curso-python-essencial
5155e8ba4814d4a4430b36867f6dcae2842ce5e8
fe2ef65180e118696f5d853b7de605be98c45bc1
refs/heads/main
2023-07-18T13:02:48.916781
2021-09-04T01:50:50
2021-09-04T01:50:50
380,813,731
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
""" Sejam a e b os catetos de um triângulo, onde a hipotenusa é obtida pela equação: hipotenusa = raiz(a² + b²). Faça um programa que receba os valores de a e b e calcule o valor da hipotenusa através da equação. Imprima o resultado dessa operação """ a = float(input('Digite o valor de A: ')) b = float(input('Digite o...
[ "brcabral@gmail.com" ]
brcabral@gmail.com
9f9ea7adba78687885895228be35d0e242dfe8ea
1822bf37597f4387f7eed21bf57e5f1029eee8c8
/TrumpSentimentAnalyzer.py
f9fab682c4e0e6327872640f741cd96ddc8741a3
[ "Apache-2.0" ]
permissive
fractalbass/bayesian_trump
93fa1d795b14a238c30a0d40bbe5f8ffff1e540f
0fa495bc8d33c99d2eb1e6520ffcd5616ab06ba7
refs/heads/master
2021-01-17T16:12:08.301289
2017-06-30T17:21:02
2017-06-30T17:21:02
95,470,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# -------------------------------------------------------------- # By Miles R. Porter # Painted Harmony Group, Inc # June 27, 2017 # Please See LICENSE.txt # -------------------------------------------------------------- import pandas import SentimentAnalyzer #Load the trump tweets and classify each. df = pandas....
[ "mporter@paintedharmony.com" ]
mporter@paintedharmony.com
a86091cf5b29e31e08d5735faa62b6ff0c61dc3d
a56935aa9628ffddfab7eedd58583d90ff92e4f2
/jmdsite/urls.py
45f7e692d4afd08100ed7b49c1209121bbb10049
[]
no_license
mixitman/mixdevblog
dcd89ae1c8565f1194d517992812e3d146e33c5d
448ab29c599861b06cc1daea6e9b2ad29908753d
refs/heads/master
2020-05-20T07:24:24.125446
2016-09-16T17:07:45
2016-09-16T17:07:45
63,634,238
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
"""project002 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "handonfist@gmail.com" ]
handonfist@gmail.com
d33c68bb0b924a4daa8e3cfa2333f6a44d9adb8a
109a85fd982afc75459275b53d39fa939b92ed3c
/src/btnicon_rc.py
9406bf6227a62e7e50f8656ea1cf755915d70c2f
[]
no_license
jahona/Make_Crawling_Bot
d1deeaf7bb6ee25ac04b472275564f56b299df46
86df1bee213aff567a0ae185771abc9c01e0baeb
refs/heads/master
2020-03-24T06:35:47.223818
2018-12-03T02:55:42
2018-12-03T02:55:42
142,534,307
0
0
null
2018-12-03T02:55:43
2018-07-27T06:00:22
Python
UTF-8
Python
false
false
23,527
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt4 (Qt v4.8.7) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x09\x8a\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x80\x0...
[ "jahona5240@gmail.com" ]
jahona5240@gmail.com
bb6ed16e46147ae26334eb1887d999ed562ed82f
0132100d08687cfa3ec432391b08708f8408b2a4
/tests/test_buffered_mode.py
6098fe6ef700393d40d0fd3b63f94f5ffbb207cd
[ "BSD-3-Clause" ]
permissive
csadorf/signac
7ea03c0269e5369921fe71e03dd7c1fa5f49c3f0
d6ef13e7b52b506014e9058491f4c0f5b160c5e6
refs/heads/master
2021-01-12T11:31:47.880846
2018-06-14T19:13:13
2018-06-14T19:13:13
72,946,496
1
1
null
null
null
null
UTF-8
Python
false
false
8,932
py
# Copyright (c) 2018 The Regents of the University of Michigan # All rights reserved. # This software is licensed under the BSD 3-Clause License. import unittest import os import json import logging from time import sleep from stat import S_IREAD import signac from signac.errors import Error from signac.errors import ...
[ "csadorf@umich.edu" ]
csadorf@umich.edu
730ca9c69c4bb2e9ce77d8d2cf81dd8e906e053b
35d73a2c20fbd2b63c78e9b20a2a82af3e42cc28
/study/2007_패턴마디의길이/sol2.py
522027a8217a670f76adcccb4d882c7fb8947b41
[]
no_license
Gyagya00/algorithm
af928dd24814ad795054b852731725e8bbc36e6c
0557a74e5fd32b950142323675f3f09a85c294ae
refs/heads/master
2023-03-19T14:16:59.678797
2021-03-17T12:22:29
2021-03-17T12:22:29
337,571,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
import sys sys.stdin = open("input.txt") T = int(input()) # 패턴이 반복되는 부분 : 마디의 길이 출력 # 방법 1 # 문자를 앞에서부터 []에 담는다 # 문자가 []내에 있는지 확인한다 => 원래 담겨있는 문자면 거기부터 새로운 []에 넣는다 # 새로운 []를 기존 []에 in 되는지 확인한다. # 아니면 기존 []와 새로운 []를 합친다. # a = [1, 2] # b = [1, 2, 3] # print(a in b) # 흠 a를 하나씩 꺼내서 확인해야겠네 # blackpink가 오답이야 이유가 뭘까 k는 b...
[ "shrkdms3389@naver.com" ]
shrkdms3389@naver.com
a890baf95acc001a9bafd608a0cc5f16f5774e19
b3e68e6112bba7adb04961668de038f634b4ddb5
/neopixelScrapper_v2.py
a37e41e5f9efd108b25771342b1729375c5487bf
[]
no_license
enzomx/campeonesCiudadanos-2
de64f7d4023fcec0e986aad07784340db76265cb
bd3b818ac627254271a47c136266b665ef53ced1
refs/heads/master
2022-12-22T05:48:19.283428
2020-09-20T03:45:58
2020-09-20T03:45:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,872
py
import SCRAPPER import CONTROL import board # neopixel control import neopixel # neopixel control from PIL import Image # import images import numpy as np # images to arrays to neopixels import time # sleep between stations data #import sys webdriver_path = '/usr/bin/chromedriver' datos_estaciones = SCRAPPER.seicaScr...
[ "reav@outlook.com" ]
reav@outlook.com
fead3b13b724f75f14c5636fe80fc36f4428e42e
05930e132236d7cc7858b4f0af3179ffa543b685
/blog/migrations/0001_initial.py
bbf94f219bec4c14b7e2527ff302b8fd0b27efc8
[]
no_license
mamabushuohua/blogproject
d91e1f32b7e6170a7b80f7eee5ba8bbc39fd8f01
74f9e5f376c47392dc96e471e3feffee6bc05003
refs/heads/master
2020-03-26T03:01:00.953306
2018-10-09T07:59:53
2018-10-09T07:59:53
142,387,685
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
# Generated by Django 2.0.5 on 2018-07-24 07:41 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), ] ope...
[ "yongfa063@gmail.com" ]
yongfa063@gmail.com
2da529c38241d9b02c23ef75337e9d6643c6f811
081b66c078f86f9440831c51141226fbab312c2b
/test/test_update_account.py
ea0bd98f11f0efdeb6f0c86bf1bbdfa2eed3df2d
[]
no_license
tarunrazdan/thirdwatch-python
1201587b88e52922493eb0bc6328a73dad8737bd
c58f4d94b4d2ad0fb022d9bb77912032219a6c3e
refs/heads/master
2020-03-30T09:36:10.157974
2017-07-22T08:16:40
2017-07-22T08:16:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,024
py
# coding: utf-8 """ Thirdwatch API The first version of the Thirdwatch API is an exciting step forward towards making it easier for developers to pass data to Thirdwatch. # Introduction Once you've [registered your website/app](https://thirdwatch.ai) it's easy to start sending data to Thirdwatch. All endpo...
[ "shashank734@gmail.com" ]
shashank734@gmail.com
2a1a76e02ce180be9d5ccbb23bd0f5e92eec3808
454c58878f48f5eba5ceda8a9ef6832eb2263b2b
/telusko/urls.py
cb719f4796d948cf0fe592b3b99890df08370ac5
[]
no_license
Syrgak21/Telusko
7c588bfdeb605de50e2dc2f1c6f38cb371cecdf3
a71613a32dd03f616e70351875a2af9754526c8d
refs/heads/master
2022-06-08T02:39:29.265594
2020-05-03T16:50:14
2020-05-03T16:50:14
260,976,457
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
"""telusko URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "Syrgak21@gmail.com" ]
Syrgak21@gmail.com
ffbc110b9951442796efd9600d9055a83d244b5b
818c7b09d7e264c130a849f86dabaa3d43656870
/pycharm学习-基础篇/python基础知识/test.py
763515ace02b3a729f53fe1e69b0baed1afca1d0
[]
no_license
rishinkaku/python_course
b89d51b38f64248e074ba66230353b1b335475ab
6a2f2c175c863776a0e1125a8359a8ea97b95456
refs/heads/master
2020-03-28T11:50:20.231058
2018-08-29T13:01:59
2018-08-29T13:01:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
a=[1,2,3] def run(n): for i in n: print(i) if i<3: return 'yes' r=run(a) print(r)
[ "1677913969@qq.com" ]
1677913969@qq.com
d2719d61719527ba2ba30ad39771885e9d0a0926
92a34017b2c604e3e1d5af6347f98cd05e8d0cb7
/orders/admin.py
a6e973dac41d701c56c30b706b925de84705788d
[]
no_license
dandani-cs/swishtest
76b7c2e04193c749bef1b31e24fdd53a61707341
983e07930265690918d9d60b7ca972c2547d95bf
refs/heads/master
2023-02-18T03:25:23.652843
2020-12-12T12:54:15
2020-12-12T12:54:15
316,511,893
0
1
null
null
null
null
UTF-8
Python
false
false
118
py
from django.contrib import admin from .models import Orders # Register your models here. admin.site.register(Orders)
[ "dani.cstech@gmail.com" ]
dani.cstech@gmail.com
ff135293885306df5535c9307e629ac5d7de2f4b
7bfb2395c682005d3ab35f6eb1a676c84b7582af
/Rendu/scripts/models.py
80864abf3bd6bbcf86373e78fbdc8bd4e9773c3b
[]
no_license
BaptisteAmato/GIF-4101_Projet
762bde893ce9d90d8f57cd5cf88cf838a52aceb5
0bf233a2011b68454d768f7c9f4c7bda67c75e4b
refs/heads/master
2021-08-31T00:34:44.356541
2017-12-20T01:01:27
2017-12-20T01:01:27
110,030,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,977
py
from keras.layers import BatchNormalization, Conv2D, UpSampling2D, Activation, Conv2DTranspose from keras.layers import MaxPooling2D, Dropout from keras.models import Sequential import keras.backend as K from tensorflow import boolean_mask, logical_and, logical_not, less, greater def model_yang(input_shape): mode...
[ "baptiste.amato@gmail.com" ]
baptiste.amato@gmail.com
6c31a8608811c767f735e387699a0940f734b7a3
931fafb77d3d1e00d25a4ab658f75d2cd9f5abb8
/Fundamentals/Homework1/triangle.py
fbd10181256770d7a6ac2c506cb9ff2bbefe6fb6
[]
no_license
andynguyendk/andynguyen_fundamentals_C4E15
c72e74d13fcd59dc0d6c7072d55d092418cabfa7
845da653307dc72ad68f55d756c36ff17802c6aa
refs/heads/master
2021-09-09T02:54:30.863797
2018-03-13T12:17:11
2018-03-13T12:17:11
117,338,525
0
2
null
null
null
null
UTF-8
Python
false
false
164
py
from turtle import * speed(0) color("red", "cyan") begin_fill() while True: forward(100) left(120) if abs(pos()) <10: break end_fill() mainloop()
[ "andynguyendk@gmail.com" ]
andynguyendk@gmail.com
9fab66e95f7f0019a0d653ed7dd76704f7ec115a
3473c619629ed2b6c69c9d89bc0b3229b6930137
/Day 06 - Functions and Modules/Prime.py
3577b2eec902655e2f93a4d6832b4d5b1d1c9034
[]
no_license
Bobby981229/Python-Learning
621b185e212bf7102f75c9b8ff5992ceffa0c78b
e37c37fab504597ddca569213394cec4f88ad1f4
refs/heads/master
2022-10-14T07:56:59.117446
2020-06-09T13:42:12
2020-06-09T13:42:12
259,191,244
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" 素数 """ from math import sqrt # 开根号 def prime(num): result = int(sqrt(num)) # 对输入的数字进行开根号计算 for x in range(2, result + 1): if num % x == 0: # 判断数字的模 return False return True if num != 1 else False num = int(input('Please input a integer number: ')) # 0 is false, 1 is true prin...
[ "729461836@qq.com" ]
729461836@qq.com
503a9bfd36436fd44046b379c0d521cc19548c24
6a938360d0c12198d8e826bea4092a614624064c
/ch17/179.py
3bc740d85b38ba4cacbb18570e2671ed57b333ea
[]
no_license
aimpugn/python-algorithms-interview
cdb511c0927b86ffb342990f8ac171cbf5fc7633
de91dc599fd7d8a0ba52959262733628fc2a16a3
refs/heads/master
2023-06-24T14:08:03.227256
2021-07-19T13:45:09
2021-07-19T13:45:09
135,254,693
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
import timeit # https://leetcode.com/problems/largest-number/ from typing import * class Solution: def largestNumber(self, nums: List[int]) -> str: ans = '' # 요소 단위로 크기 순으로 정렬 # 맨 앞에서부터 자릿수 단위로 비교해서 크기 순으로 정렬 i = 1 while i < len(nums): j = i while j ...
[ "aimpugn@gmail.com" ]
aimpugn@gmail.com
f634e8178cc1317ebb6bf2e88d2b022dee6a7cdf
1f88a5fe64641e5ebe7a55d16d383561b69a369c
/observations/AVISO/shell_scripts/convert_aviso_2.py
39d4b4c2e1fa4ce6b0cd2f49a97303570b2f18e9
[]
no_license
gwbowden/DART
b9d6f1eb818e7b4be24a19ecd2365007b2550607
5a6282bbfcc52851775a07d07dbeac5d03c17d84
refs/heads/classic_tiegcm_dev
2023-08-16T05:58:14.190234
2021-03-19T05:35:08
2021-03-19T05:35:08
314,694,290
1
0
null
2021-03-17T03:14:20
2020-11-20T23:36:15
Fortran
UTF-8
Python
false
false
2,174
py
#!/usr/bin/env python # # DART software - Copyright UCAR. This open source software is provided # by UCAR, "as is", without charge, subject to all terms of use at # http://www.image.ucar.edu/DAReS/DART/DART_download # # DART $Id$ # # CREDIT: This script was donated to DART by Fred Castruccio Thanks Fred! # Romain Escud...
[ "thoar@ucar.edu" ]
thoar@ucar.edu
25830c4e6c24b4a9fec753d1df37a3d741ce0f39
9c0548e2b75619de1486fc171c3d51958605fe35
/hackerrank/removeDuplicates linkedlist.py
bba54019850336d47e1033491de37b9dabe6f285
[]
no_license
ahmed-gamal97/Problem-Solving
d4e050e02baf83d701de77570aff41791fdf3e6e
c82308a4899c056d77de1d44373f68a364c970c7
refs/heads/master
2020-06-17T09:49:11.772239
2019-07-17T23:04:30
2019-07-17T23:04:30
195,886,662
1
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
# Task # A Node class is provided for you in the editor. A Node object has an integer data field, data, and a Node instance pointer, next, # pointing to another node (i.e.: the next node in a list). # A removeDuplicates function is declared in your editor, which takes a pointer to the head node of a linked list as a ...
[ "noreply@github.com" ]
noreply@github.com
4c95905f0cc4e3808a2e190a3b3a8f3f524e2ed5
9f272f58965761fea59e89b06efa3a7df9f3e4fa
/defSessionState.py
8f114ef89b454e5210b07211cc0ad482fe357d6b
[]
no_license
ax-shay/telemarketing_effect
cf15007b0d70eb7b928bb9476945bf3a8df211e4
8ca69aa3ba4fa6fe0e2b9912050a0c6dee818e56
refs/heads/main
2023-06-26T09:14:14.072537
2021-07-25T17:13:21
2021-07-25T17:13:21
385,349,424
0
0
null
2021-07-25T17:13:21
2021-07-12T18:43:16
HTML
UTF-8
Python
false
false
2,591
py
from streamlit.hashing import _CodeHasher from streamlit.report_thread import get_report_ctx from streamlit.server.server import Server class _SessionState: def __init__(self, session, hash_funcs): """Initialize SessionState instance.""" self.__dict__["_state"] = { "data": {}, ...
[ "akshay.p.shembekar@live.com" ]
akshay.p.shembekar@live.com
fe1ef43acf3c5b12fef970f2b4289799f79b87ba
612b7b00ce93eb0d80268ab85316f2f7162e2b88
/DP_ICP4/dp_lab4.py
47d7c84a8145e4ab78160751bf6c2c422755bb8e
[]
no_license
dsantosh1111/python
6d530092ef7d64cd1aa905a63cfc0436d2ef2df0
7d6e716873d77a088731ab2ab298800ca09ac434
refs/heads/master
2020-04-20T09:49:57.067447
2019-05-03T22:50:16
2019-05-03T22:50:16
168,775,059
1
0
null
null
null
null
UTF-8
Python
false
false
2,804
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 19 17:03:59 2019 @author: santosh """ # Simple CNN model for CIFAR-10 import numpy from keras.datasets import cifar10 from keras.models import Sequential from keras.layers import Dense from keras.layers import Dropout from keras.layers import Flatten from keras.constrain...
[ "31327130+dsantosh1111@users.noreply.github.com" ]
31327130+dsantosh1111@users.noreply.github.com
e75648c153ad678f96cdc2f1af283a98503c97e5
4d64c61b217469dd013029635161f0439a9cb3c4
/ncaa_bracket/teams.py
889bc54386a4ecf348f19b49d9838fc01d5dbe50
[]
no_license
kylerayner8/wisp
4867c69ff64950d9fb48cec1a94f9dc3fbfd8dbe
a03ea76e39eaa2004c5baa077cf338a96322f0f4
refs/heads/master
2021-06-28T16:50:29.857136
2020-05-25T00:54:18
2020-05-25T00:54:18
90,425,552
0
0
null
null
null
null
UTF-8
Python
false
false
5,874
py
# East vil = ('VIL',"https://www.sports-reference.com/cbb/schools/villanova/2018.html") radford = ('RAD',"https://www.sports-reference.com/cbb/schools/radford/2018.html") virtec = ('VIRTEC',"https://www.sports-reference.com/cbb/schools/virginia-tech/2018.html") alabama = ('ALA',"https://www.sports-reference.com/cbb/sch...
[ "icave@sciencelogic.com" ]
icave@sciencelogic.com
8d99a90f253646661425e340c0b8b5d9743a0554
8a3e59ac20b2667c7f43ab91a7fd09f5a52fec4e
/apps/crm/callcentre/migrations/0001_initial.py
16d3a8789f6799bed13602c35d3f16407455ac78
[]
no_license
suifengdou/tbd2
b1ba8ed423ace8624366ddbdd788f0ab7025d062
39093cdd45bb652e9cdfa3dc31e07344cf6628a1
refs/heads/master
2021-06-22T20:19:15.743182
2021-01-08T03:59:47
2021-01-08T03:59:47
159,639,770
0
0
null
null
null
null
UTF-8
Python
false
false
6,422
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-11-27 10:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='OriCa...
[ "2689179206@qq.com" ]
2689179206@qq.com
c3ad0423c6d8b271ee252911c594199f7ab74981
98a9e00e0e3148e296cecf8bb5e5493d5e7c9cda
/pavement.py
d2b4556aeac8553cddab8d302a000b78bed97169
[]
no_license
cfobel/barcode-scanner
62b81f4d1bd36a61fea369703f9dee833916a982
a59acd8fef93769992b3d7a50365fbbef2d475e6
refs/heads/master
2016-09-14T01:42:03.545862
2016-04-20T18:46:02
2016-04-20T18:46:02
56,710,781
1
1
null
null
null
null
UTF-8
Python
false
false
1,877
py
import platform import sys from paver.easy import task, needs, path, sh, cmdopts, options from paver.setuputils import setup, install_distutils_tasks from distutils.extension import Extension from distutils.dep_util import newer sys.path.insert(0, path('.').abspath()) import version install_requires = ['matplotlib>=...
[ "christian@fobel.net" ]
christian@fobel.net
e6a44baecc2d3b5c1f9343dfad418792ce0557f3
3a25b08e7f4e73c5d84de64cd06df9f3b99c9fdd
/lab6.py
df9e933a178368b7383f78dcf34d3a76e6687b96
[]
no_license
MoonLory/KG6
751e6817bb7291146107e4d9b799690101a727a4
a099c4916090420a562e0c3500146c98cb5ce545
refs/heads/master
2023-04-21T21:03:01.396313
2021-05-24T13:20:49
2021-05-24T13:20:49
367,977,547
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
import matplotlib.pyplot as plt from mpl_toolkits.mplot3d.art3d import Poly3DCollection import math import numpy as np x = [[15, 15, 15, 15, 15, 15], [0, 0, 8, 8, 4, 4 ], [0, 20, 20, 16, 18, 0 ]] x[1] = [i+20 for i in x[1]] fig = plt.figure() ax = fig.add_subplot(111, projection='3...
[ "andrei_hryshkin@epam.com" ]
andrei_hryshkin@epam.com
bb6aea31ed8fa714e9f3e4f9efea69c2821b47ef
dfcb9827b966a5055a47e27b884eaacd88269eb1
/ssseg/cfgs/ce2p/cfgs_atr_resnet101os8.py
92f1a161fe76d80856d312d01c4f8809fa71a746
[ "MIT" ]
permissive
RiDang/sssegmentation
cdff2be603fc709c1d03897383032e69f850f0cd
2a79959a3d7dff346bab9d8e917889aa5621615a
refs/heads/main
2023-02-05T12:52:35.391061
2020-12-27T05:59:58
2020-12-27T05:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
'''define the config file for atr and resnet101os8''' from .base_cfg import * # modify dataset config DATASET_CFG = DATASET_CFG.copy() DATASET_CFG['train'].update( { 'type': 'atr', 'rootdir': 'data/ATR', 'aug_opts': [('Resize', {'output_size': (520, 520), 'keep_ratio': False, 'scale_range'...
[ "1159254961@qq.com" ]
1159254961@qq.com
df538c0d33fdd595688431786db925c544aa6b8c
e08f360ae73c2b705611898781e9d552fd4c688f
/docx2txt.py
152ff017424915cad5ed35329b219edc08b3dc53
[]
no_license
ViennaMike/Directory-Summarizer
48812fea747b5f087ca3cca9cb7410ddb77e2622
3a2c4cf6a4167dfa2e2cc2a4a47837a6bd6402ff
refs/heads/master
2021-01-10T15:23:35.440268
2015-12-25T22:10:38
2015-12-25T22:10:38
37,001,086
6
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
# -*- coding: utf-8 -*- """ Created on Sat Jun 06 14:44:46 2015 @author: mike """ try: from xml.etree.cElementTree import XML except ImportError: from xml.etree.ElementTree import XML import zipfile """ Module that extract text from MS XML Word document (.docx). (Inspired by python-docx <https://github.co...
[ "robots@mcgurrin.com" ]
robots@mcgurrin.com
2b0d94814ed0cb140e115dfc6f0245e3da53e761
06fdcb066d4426a48193331ea8f78735347c847c
/mock_rest_app/mock_api/tests/test_forms.py
9f7d58a502332a9bd83912545f73fa8b18e0adf2
[ "MIT" ]
permissive
aaas19920513/rest-api-mock-server
abc7a581484745add8cf9886ab5899da9c168f04
ca734c792fb5fd68b34b654a2750538736f9108e
refs/heads/master
2020-06-07T22:02:48.308627
2018-11-26T11:13:02
2018-11-26T13:21:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,414
py
from django.test import TestCase from mock_api.forms import ApiResponseForm, ApiEndpointForm, ApiResponseRuleForm # noinspection PyCallingNonCallable class BaseFormTest(TestCase): form_cls = None DATA = {} def data(self, **kwargs): form_data = {} form_data.update(self.DATA, **kwargs) ...
[ "marcin-bakowski-dev@users.noreply.github.com" ]
marcin-bakowski-dev@users.noreply.github.com
604cfc5c9093bc10e7a5f34c490d2d20c3543182
f6d7107e390c35ae998f9d9904c6012515629204
/env/bin/easy_install-2.7
b4cb105bdb98b033e5fbf5f4fa7be50d05bfa417
[]
no_license
theresa-clare/movie-ratings
c066c15991b13a540ad569c040a460834ee5059e
b0e80c728b2396272063b468452e61386315aa56
refs/heads/master
2021-01-19T18:07:44.026831
2015-05-08T00:05:22
2015-05-08T00:05:22
35,049,616
2
0
null
null
null
null
UTF-8
Python
false
false
254
7
#!/home/user/src/ratings/env/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())
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
a96d0e6cbfbb17f69233e6f6c4998a16fd37cf02
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/antipro/models/Acl.py
7832071a16e817c78df10dbe5d03f5fb05ad3d38
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
2,979
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "jdcloud-api@jd.com" ]
jdcloud-api@jd.com
4b468a0e1cebcfbac8a3d83192f502482377bc42
2824e1a471a7568c3247595c324776152f4e73db
/tools/hfss/templates/analyze_design_template.py
3667fac1a7c7b055162d42d334e36bea3bea0c65
[]
no_license
rjsummers/hfss-scripting
a6a38170b236c015f26d2b747704a3316016e78a
30b7f9915a87961260183eb3d310aa4bf3b77956
refs/heads/master
2022-11-17T21:43:04.226235
2020-07-15T04:35:08
2020-07-15T04:35:08
276,791,154
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
import ScriptEnv project_path = r"{{ project_path }}" output_path = r"{{ output_path }}" z0 = 500 ScriptEnv.Initialize("Ansoft.ElectronicsDesktop") oDesktop.RestoreWindow() oProject = oDesktop.OpenProject(project_path) oDesign = oProject.SetActiveDesign("HFSSDesign1") oDesign.AnalyzeAll() oModule = oDesign.GetModule(...
[ "rsummers@ou.edu" ]
rsummers@ou.edu
83010e533f64b1e560dee7297a0b5a06fb5e8e6f
319662e64c09acb5fcad88c221f43e6771ac2f40
/KNN Cr Ni.py
6c88953616bc278959181fa0bec3337facbaf41d
[]
no_license
kabuck/co-op-code
91e44c61ef021e58c73ae34c19c404b11c0d0500
411b706b8ad9e98bf0291f9dc5fe5f65235d8f52
refs/heads/main
2023-04-09T14:22:14.603980
2021-04-21T20:52:33
2021-04-21T20:52:33
351,141,026
0
0
null
null
null
null
UTF-8
Python
false
false
5,145
py
'''KNN for Cr/Ni data''' #Import Libraries import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier from sklearn.metrics import accuracy_score from sklearn.metrics import mean_squared_error as mse import matplotlib.pyplot ...
[ "noreply@github.com" ]
noreply@github.com
f2ab79ab034f3bab0e127d107c33a3c059b89202
9d81cefc45454ddda1fcebe6efda228318978c39
/moosic.py
68e281a765b2f10f83968a95a2e17ff4d37e068c
[]
no_license
tatiaris/random-python-scripts
6bb4fb4df361accac286e4907b1337f1024be9c6
7cb5834e1559ff840ed631b5f9b24c6aeaa71e6e
refs/heads/master
2022-12-29T02:03:58.129934
2020-10-12T22:51:05
2020-10-12T22:51:05
260,752,600
0
0
null
null
null
null
UTF-8
Python
false
false
2,857
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.chrome.options import Options from selenium.common.exceptions import NoSuchElementException import time import os.path lines = [] print('Hit Enter to start downloading song(s).') while True: line = input('Enter s...
[ "tatiaris@github.com" ]
tatiaris@github.com
b5ec35f58845c087fd5df39efdffdd10d0af97aa
978ff8c77684f56774a56f74242384ecc64a14eb
/62.py
e43cd765209549bc843721d5732701b33625b8d7
[]
no_license
sandhyaramavathu/pythonprograms
16c573712d4e10d12e6f97613209baa0258b441f
91407c47000bb13a68f9cdaa3742db734f4f4296
refs/heads/master
2020-03-26T23:35:49.717441
2018-12-15T07:43:07
2018-12-15T07:43:07
145,554,398
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
n = raw_input() """if all(c in '01' for a in n): print ("yes") else: print ("No") """ if not(s.translate(None,'01')): print ("yes") else: print ("No")
[ "noreply@github.com" ]
noreply@github.com
febbc65d666446cdb56b58463326af6495495d6b
d529753396f41698ab5605d0ed6907f9c2a95263
/RAK.py
2e874c2ee4c2d15b072a55ec306132fa2cd76b85
[]
no_license
debjit99/Summer-Project
9ba0c863ac4275604ce082b37393c4cb21e6a1d9
ce913e5f5714f64af2daff9cf5a2ed83fd1b89e7
refs/heads/master
2021-03-02T03:28:53.674060
2020-03-08T15:12:57
2020-03-08T15:12:57
245,835,130
0
0
null
null
null
null
UTF-8
Python
false
false
5,626
py
#!/usr/bin/env python # coding: utf-8 # This code has all algorithm which we proposed and we check it using two types of laplacian that is symmetic and unnormalized laplacian. # And we have set the precision for the edge weigths here so we get desired results for the Petersen graph. # Here we have used edge weigths a...
[ "noreply@github.com" ]
noreply@github.com
26cda9d143eff38c26755fdc0f64aac127dfe784
cd0a284c47fb03121e05284b6d5f2940ea6457ba
/fb/misc/subset-backtracking.py
5e9517de45750964ef37a1896e73ff591ccb175c
[]
no_license
franktank/py-practice
5803933c07c07a06670f83b059806385d0d029fa
1dec441f1975d402d093031569cfd301eb71d465
refs/heads/master
2021-03-22T04:33:20.818891
2017-11-14T03:40:54
2017-11-14T03:40:54
101,592,046
1
1
null
null
null
null
UTF-8
Python
false
false
480
py
class Solution(object): def subsets(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ self.res = [] self.helper(nums, [], 0) return self.res def helper(self, nums, cur_set, start): self.res.append(list(cur_set)) for i in r...
[ "fliangz96@gmail.com" ]
fliangz96@gmail.com
02b86213f2faa3f84ac544af0b349eb5cfc5f679
dec985a68a6002fff40230e8ca9dce416c9aa77b
/sort.py
8b2d9e403bae7b01a9653ead3afcd0f0247944e1
[]
no_license
suzhilong/CS
a2890a656484356ebfbc3021b72b2e82545ecd01
ba37e98b3363fa58ee36f8393b26fe4a97a454d2
refs/heads/master
2022-09-09T15:28:12.603293
2020-05-29T02:56:56
2020-05-29T02:56:56
267,548,265
0
0
null
null
null
null
UTF-8
Python
false
false
9,059
py
#coding=utf-8 ###################################### #author: suzhilong #data: 2020/3/16 #github: https://github.com/suzhilong ###################################### import math #插入排序=直接插入排序+希尔排序 def insertion_sort(origin_data, trend=0): ''' 遍历元素,把每个待排序元素插入到前面有序列表里 trand=0是递增 trand=1是递减 ''' data = origin_data[:]...
[ "517048082@qq.com" ]
517048082@qq.com
1f2022de26cde129b3bf456de5f13810fd7f70ec
a99a5ffdf60d8b423c38ddcadb4da2598ca7b5ed
/剑指offer/二叉树的下一个结点.py
9410cffb227956e90772942feeec2b5680b7d98f
[]
no_license
seekun/offer-algorithm
e11403062aacd99aae287111f0006122a8eefd41
158034ed4e4a878ea90e731e76dede1aa8041a22
refs/heads/master
2020-04-25T03:35:51.655914
2019-03-06T12:32:07
2019-03-06T12:32:07
172,482,149
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
# -*- coding:utf-8 -*- class TreeLinkNode: def __init__(self, x): self.val = x self.left = None self.right = None self.next = None # 情况一: 如果一个节点的右子树不为空, 那么该节点的下一个节点是右子树的最左节点 # 情况二: 否则, 向上找第一个左链接指向的树包含该节点的祖先节点 class Solution: def GetNext(self, pNode): # 判断此节点的右子树是否为空, 如果不...
[ "tmsshikun@gmail.com" ]
tmsshikun@gmail.com
28a4fc2c0ab3363c8b53676ee7ff7862ab4d222e
50fb37ff3b74ed307f1bc2bf46127d553228e361
/ch03/boo01.py
0b20bf1e0bc559233a7e38099650739e753af049
[]
no_license
himoon/my-first-coding
b9400ea904af5a03ce16a5efa4f2e58d7daa7b65
02863c17373f02ad7c6de20f53327c957f0f601c
refs/heads/main
2023-06-28T08:37:13.948315
2021-07-29T04:33:26
2021-07-29T04:33:26
387,024,505
1
0
null
null
null
null
UTF-8
Python
false
false
115
py
my_age = 20 my_money = 10000 print(my_age > 19) print(my_money >= 25000) print(my_age >= 19 and my_money >= 25000)
[ "hyunil.moon@gmail.com" ]
hyunil.moon@gmail.com
3fb4036cdec2b8178b493476ff9390042b24f4cc
f40868ceae03139f49f2a7d8da9210f4d001a84f
/misc/investigate_color.py
bb799936361211f47648c0be72b994229380523f
[ "MIT" ]
permissive
coreygirard/less
d4bc0e5c2973c5f898ea633106c9831d82eb3bd6
45ed69c8e504c767efc2e9f5db25ddcb3aba8b24
refs/heads/master
2021-03-24T05:03:16.397743
2020-02-03T19:52:41
2020-02-03T19:52:41
119,708,062
3
3
null
null
null
null
UTF-8
Python
false
false
2,000
py
from pprint import pprint import json import matplotlib.pyplot as plt with open('colors.json', 'r') as f: data = json.load(f) def convert(h): return int(h[1:3],16), int(h[3:5],16), int(h[5:7],16) with open('colors.json', 'r') as f: data = json.load(f) def tweak_axes(ax): ticks = range(0, 256+1, ...
[ "corey.r.girard@gmail.com" ]
corey.r.girard@gmail.com
4a5bb528620a50641b5ca1103a0196091e5a42a9
264169be611afc6e78b65323fb03b4a0380cb45e
/Exercise11/ex11.py
601145ba7f6fac995a3df87e66e0e72aae78f1a9
[]
no_license
javierrollan/python_projects
2a8dc898bb3ba07d8ec87202b80075abca475ac8
329dc2567dcfab52dd09b63e95d2452cb961b688
refs/heads/main
2023-07-18T16:48:06.677565
2021-09-28T09:09:03
2021-09-28T09:09:03
409,942,438
0
0
null
2021-09-28T09:09:04
2021-09-24T11:41:27
Python
UTF-8
Python
false
false
228
py
print("How old are you?", end=' ') age = input() print("How tall are you?", end=' ') height = input() print("How much do you weight?", end=' ') weight = input() print(f"So, you are {age} old, {height} tall and {weight} heavy.")
[ "jrollanb@gmail.com" ]
jrollanb@gmail.com
5c211e95f5692171d64542eef08348523f487408
d215516889a11f516ce7617d3b48f41b272fd23d
/testCases/200123-miniWECCdelay/miniWECCDelayStep5AGC.ltd.py
749b5a0ca3a1f2797ae1c15d4cdb5ae7b027fea3
[ "MIT" ]
permissive
thadhaines/PSLTDSim
c0b61e510afed1de03f14341230dc76b29f36440
1bc598f3733c1369c164f54249e5f7757e6bf466
refs/heads/master
2021-08-17T15:33:35.881354
2020-05-01T10:00:51
2020-05-01T10:00:51
173,911,705
0
0
MIT
2019-07-15T21:15:26
2019-03-05T09:02:07
Python
UTF-8
Python
false
false
4,946
py
# LTD simulation models / perturbances # Attribute name case sensitive. # Commented and empty lines are ignored # Double quoted variable names in sysPert parameters ignored ACEgain = 2.0 # Perturbances mirror.sysPerturbances = [ #'load 43 : step P 2 200 rel', 'gen 45 : step Pm 2 -200 rel', 'gen 45 : step...
[ "45861859+thadhaines@users.noreply.github.com" ]
45861859+thadhaines@users.noreply.github.com
95e464c63ee76a91a859f4b4224493ecbcf613e2
584d5a7b5ff383e718b8050cd5373b44460f9245
/build/lib/hailwhale/util.py
4b7248f4785c1a20c27049f4e01a8f3ffc8d17b3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
prachi/raining
ba46c4813e4191a5092d7012cd8112f4862354f8
69df9a6897fb6f6af1a087bd179f307482271e0f
refs/heads/master
2021-01-22T10:08:59.803350
2014-05-07T18:21:23
2014-05-07T18:21:23
19,367,844
1
0
null
null
null
null
UTF-8
Python
false
false
6,828
py
from datetime import timedelta, datetime import time import times import json from types import * DELIM = '||' # convert the json argument in python object def try_loads(arg): if isinstance(arg, basestring) and arg and arg[0] in ['[', '{', '"', "'"]: try: arg = json.loads(arg.replace("'", '"...
[ "prachi.sharma2611@gmail.com" ]
prachi.sharma2611@gmail.com
ed5b6668db5da03670ccbc38e6e27c47092d5a68
3ffa7b56af6451084ac9e824a2502ebc23033e86
/random/MiniInterpreter.py
23c26bf19691e6f7c47615c14c511c0c8ed0bd11
[ "MIT" ]
permissive
Dmendoza3/Python-exercises
a0936c15f90679ace046c8801c5ecbb766f237d9
e6c563609724b2dadcd767d2bfc291090ac2f58e
refs/heads/master
2021-08-20T04:57:04.483628
2021-06-21T16:14:20
2021-06-21T16:14:20
162,936,867
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
def truncate(oldStr = ''): oldStr = oldStr.replace('\t', ' ') listSplit = oldStr.split(' ') while True: try: listSplit.remove('') except: break newStr = "" for x in listSplit: newStr = newStr + x + " " return newStr[:len(newStr) - 1] def prep...
[ "dmendoza3@unitec.edu" ]
dmendoza3@unitec.edu
ebec731334511b25ef15e389dd83a5ec4e2d6dea
9998f1b6008b290ef1ef895bc0c4ca273dfbe1e0
/leet code/002-Two Sum.py
8be38348c0937606c72f279e23b69bb43af0b139
[ "MIT" ]
permissive
boisde/Greed_Island
51a997dc0e7890ea468c448bc1dda34e61a4aea8
9c4f0195fb7bfaeb6c29e8e9638c7b0ffd9ad90b
refs/heads/master
2021-06-15T06:58:35.036706
2021-04-12T11:14:54
2021-04-12T11:14:54
20,638,183
0
2
null
null
null
null
UTF-8
Python
false
false
6,983
py
#coding=utf-8 """ Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2. Please note that your returned answers (both index1 and index2) are...
[ "boisde1117@gmail.com" ]
boisde1117@gmail.com
2f95a7d80441bfe742301ccea4f9e6470d178c7b
89252fb602f68c0651a9ea04e05056faf54a7a04
/bot.py
8b468633428ac2cdde8b7a3d0b0469b20f4a5e7b
[]
no_license
MMarki/Color-Bot
2b392cc918d12fad83d494caba75dc87ed6ad0d0
85c74a70156547edcd82c30caf71dda161a166d9
refs/heads/master
2021-01-13T04:57:28.651047
2017-08-11T01:54:18
2017-08-11T01:54:18
81,157,264
1
0
null
null
null
null
UTF-8
Python
false
false
17,451
py
import tweepy import secrets import random import re import string import colorsys import collections from math import sqrt, sin, cos, ceil import randomcolor import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.patches as patches def main(): auth = tweepy.OAuthHandler(secrets...
[ "noreply@github.com" ]
noreply@github.com
4eb0c3f4191f1f749605d29d371e4064cef96850
9b081e7abac2b2e9e6ba2863a2258a368f81c5dc
/New folder/file.py
78641b836888cfdb84b76c9ba805f58cc02a008e
[]
no_license
anvesh001/testgit
9306e75fe9c33f0939102f83fc951caebc114f8c
2012a65318a973fbf0e070cdf656b0c4b850fd36
refs/heads/master
2020-05-15T10:48:36.709639
2019-04-19T12:41:03
2019-04-19T12:41:03
182,203,030
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
hungry=str(input('enter value:')) if hungry=='Yes': print('he is hungry') else: print("he doesn't hungry")
[ "anveshkumarnaidu402@gmail.com" ]
anveshkumarnaidu402@gmail.com
94febcf6cc6f2e4faedaf98d82beb8ba7566becb
98ca97efd70014c0d855da2c8832cf808183d29e
/tags/cspay-1.0beta3/src/tool/post-commit
7ae7d099584fedcf62909d45c8fb435f66e710de
[]
no_license
rosedu/cspay
b2a2de7cadadd53de7e987533301b545c5a0437c
286b3248ca235de8969200958bb732852256abac
refs/heads/master
2021-01-01T20:01:29.548105
2013-07-19T16:15:12
2013-07-19T16:15:12
11,443,014
0
0
null
null
null
null
UTF-8
Python
false
false
3,535
#!/usr/bin/python # post-commit emailing, take 2 # started 11.05.2007 # loving every bit of python :P #TODO use a cache repo import sys, os test_dirs = ['test', 'branches', 'trunk/src/config'] repo_path = sys.argv[1] revision_number = sys.argv[2] os.chdir(repo_path + '/hooks') author = os.popen('svnlook author ' ...
[ "noemail@rosedu.org" ]
noemail@rosedu.org
5f9e775a7ab8bd1de57638ea892c2b7c8c3e3e6a
c838b0eaf08c63284bd29442f8a0a297d1558fd5
/lagom/policies/random_policy.py
e19f315de4d7b034ecb4e8bf785077ab607fc0a3
[ "MIT" ]
permissive
vin136/lagom
ccd0f4a3e469c1ee8ef88b1f5248e712b51c5704
54e1890e6450f4b1bf499a838963c5d1a3b2da6a
refs/heads/master
2020-04-22T21:45:51.488458
2019-02-13T16:41:32
2019-02-13T16:41:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
from .base_policy import BasePolicy class RandomPolicy(BasePolicy): r"""Random policy. The action is uniformly sampled from action space. Example:: policy = RandomPolicy(config=None, env_spec=env_spec, device=None) policy(observation) """ def __init__(self,...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
5fdc8e3ac776dff8a6b58bc72253419d1ffb889d
d8cf1cf682d2aa1b5f3996a948e4fddcff5a23e1
/test_case_run.py
5b85855a0781a6650497ab00d05397b51b27432f
[]
no_license
Kevinstronger/py_0609
008b7465dcdc003107243e5822bc48815faf716f
e6bf7886d1f1c2622ac4da2d8856e9e26f3f5ecc
refs/heads/master
2020-06-01T22:26:16.642790
2019-06-09T12:53:35
2019-06-09T12:53:35
190,950,739
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import unittest from BeautifulReport import BeautifulReport if __name__ == '__main__': test_suite = unittest.defaultTestLoader.discover('.', pattern='test_case_*.py') result = BeautifulReport(test_suite) result.report(filename='report_all.html', description='执行所有测试用例', log_path='report')
[ "zhang1830@gmail.com" ]
zhang1830@gmail.com
cd6a20e990cb2dbee4a8386d99bf84e07bae879e
98bd2625dbcc955deb007a07129cce8b9edb3c79
/vcf2SelectHapStatsInput.py
cc27f18f4a524c23fd3541a1cbad9fa9ac27e99a
[]
no_license
melanieabrams/bremdata
70d0a374ab5dff32f6d9bbe0a3959a617a90ffa8
df7a12c72a29cca4760333445fafe55bb6e40247
refs/heads/master
2021-12-26T01:57:25.684288
2021-09-30T22:48:05
2021-09-30T22:48:05
166,273,567
0
3
null
null
null
null
UTF-8
Python
false
false
3,175
py
import os import vcf import sys ##USGAGE: python vcf2SelectHapStatsInput.py gvcf_filename ##NOTE: this script assumes gVCF formatting, as generated by GATK. It handles missing data as missing. ##PARAMETERS samples_to_exclude=[] # for 1011 genomes (all pop) heterozygous_present=True # True for 101...
[ "noreply@github.com" ]
noreply@github.com
c386f1cf25a5af42e05cd362e657f2520ac89bd5
895be6f2e7475f7ed9bc6adbc75d26db780e044f
/scraper.py
4b714bf0be747cbd060e57537ca8c42a0789f4f8
[]
no_license
Ifunanya9/Amazon-Scrape
57268b2e09f6354a3aeb29e0e57f5d0080a48a91
263d2b513c494cbba92f1b99b1bdbfb6535602da
refs/heads/master
2021-01-04T23:15:26.184987
2020-02-15T21:41:55
2020-02-15T21:41:55
240,791,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
import requests from bs4 import BeautifulSoup import smtplib import time URL = 'https://www.amazon.de/Sony-Digitalkamera-Touch-Display-Vollformatsensor-Kartenslots/dp/B07B4L1PQ8/ref=sr_1_3?keywords=sony+a7&qid=1561393494&s=gateway&sr=8-3' headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit...
[ "ifunanyachi.kanu@outlook.com" ]
ifunanyachi.kanu@outlook.com
453238ce3d0a8a8743c78cb4842e6bfc80ce3018
809b67eec6b23972a3274c74ec7486da371f8c9e
/slips/parser.py
14ee59f6d7ab03e8ec5295727df22d75d8470e46
[ "BSD-2-Clause" ]
permissive
acumenix/slips
6e737df4a0452be71dd9ff1e6b73b4ba5382b5ca
1ddd5b234df06556d0ade2dcf90a00d6ab708c00
refs/heads/master
2021-09-28T04:05:42.535751
2018-11-14T08:53:48
2018-11-14T08:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,538
py
# -*- coding: utf-8 -*- import abc import datetime import dateutil import logging import json import tempfile import os import boto3 import gzip import re import csv import io logger = logging.getLogger() logger.setLevel(logging.INFO) class MetaData: def __init__(self, orig=None): attrs = [ ...
[ "mizutani@cookpad.com" ]
mizutani@cookpad.com
9210eb5b6052bdc15824cb15f166aa28b791a182
20b1f8a581fba736e8dfd75ed2e003478c706f75
/src/random_forest.py
5291d0557eb4b7410685e1645592dda0c5636a05
[]
no_license
aymazhar/tweet_classifier
afb67cb60d08ed6ac1d0ed2f6c5cf2c5a23d4d3a
a13d0727232f41cbf1ea52469f8be4910a8bab86
refs/heads/master
2023-02-05T08:40:42.935336
2020-12-25T05:22:49
2020-12-25T05:22:49
313,522,508
0
0
null
null
null
null
UTF-8
Python
false
false
8,635
py
import numpy as np import utils from kmeans import Kmeans from scipy import stats class DecisionStumpErrorRate: def __init__(self): pass def fit(self, X, y, thresholds=None): N, D = X.shape # Get an array with the number of 0's, number of 1's, etc. count = np.bincount(y.asty...
[ "azharaym@gmail.com" ]
azharaym@gmail.com
0240a824e113d21b1ae234198248b470c585a3e3
9fbb58379b12947e3b73d358544355b077f0d7af
/secrethub/secrethub.py
a2c054424078f62a7f85dd6b40ed650dc40a9b72
[ "Apache-2.0" ]
permissive
squark-envoyer/secrethub-python
7dcec9c693adfeae83184295105ded1fee74f8d5
f643fd6112040b02acd2564c874389eb4cc199ba
refs/heads/master
2023-04-16T01:36:24.678671
2021-04-14T09:32:29
2021-04-14T09:32:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,007
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
[ "marton.soos@secrethub.io" ]
marton.soos@secrethub.io
6597a7a34e96a0af2203961434a91ef93ea2c597
6dd097a49ce13ad3936f26bca2cd20e48828dd13
/extractFaceFromVideo.py
f6db80547d38008710a3efa8cb6ffa98c4ea0d02
[ "MIT" ]
permissive
young24/Cajal-course-code
2b114886693022fd1066d27343a3bbe5c0b740f9
799caabe54b5e72beb073a7949ee1eb5423558fd
refs/heads/main
2023-09-01T19:17:36.654786
2021-10-16T06:18:56
2021-10-16T06:18:56
416,762,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
# Face detection code with sanity check import numpy as np import cv2 # Load test image # im = cv2.imread("test.jpg") ## Mount to google drive from google.colab import drive drive.mount('/content/drive') det = cv2.CascadeClassifier("drive/MyDrive/Colab Notebooks/haarcascade_frontalface_default.xml") vName = "dri...
[ "noreply@github.com" ]
noreply@github.com
1dabe481e31368299f33275362819c6c1ffdf88d
fd420a8fd71165cbcdf339e6060db052619ca134
/fib.py
21ce1c6b6b31a6802b75c8a8e8c97cc456664804
[]
no_license
vatsarahul999/python
0a13aec1b310f8134aeb5506fff07831246fb19d
1568d64699f4602c6e28405b5aa7cdb3c7485723
refs/heads/master
2020-03-25T06:44:44.000131
2018-08-14T10:18:25
2018-08-14T10:18:25
143,521,829
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
def fib(n): a = 0 b = 1 n = n - 1 while(n > 0): b = a + b a = b - a n = n - 1 return b print fib(1) print fib(2) print fib(3) print fib(4)
[ "rvatsa@reputation.com" ]
rvatsa@reputation.com
cdc5689b4d72d28f4f550bf152a919acefbe9fec
ad6d0509f2698bd665f50543b3b5f92d2fbd2d84
/boards/models.py
076385b5a8bfbccb9e2adecd2014627fdc935d8f
[]
no_license
MaheshMsh/my-first-blog
e81c30cb43c08951083c720c426c1ba0f301f467
1b4e7ff9947457e79732d7b2596f3d327f5dfd14
refs/heads/master
2021-04-15T05:51:31.452173
2018-04-09T14:05:02
2018-04-09T14:05:02
126,793,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
from django.db import models from django.contrib.auth.models import User class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField(max_length=100) def __str__(self): return self.name class Topic(models.Model): subject = models.CharField(m...
[ "maheshmsh88@gmail.com" ]
maheshmsh88@gmail.com
fe222497fc9e1e5649baadc6f309def7f40d28b5
6a600f4c1ad5b8dba43a22ebf4b5b8013a815e73
/OptSnuPL1/snuplc/factorial.mod.tac
5f8a529280d0830444efcd7bd7645bb0d01180b2
[]
no_license
koreanTonyStark/AdvCompiler
648f98a8b4741bcd0bd4969f47e77c0de6d207f7
e5766c34c9947c1ef07bb65163f68c01c24ddf29
refs/heads/master
2020-04-16T01:56:56.992595
2019-01-11T06:35:36
2019-01-11T06:35:36
165,192,050
0
0
null
null
null
null
UTF-8
Python
false
false
2,917
tac
factorial.mod: [[ module: factorial [[ type manager base types: <NULL> <int> <char> <bool> <ptr(4) to <NULL>> pointer types: <ptr(4) to <NULL>> <ptr(4) to <array of <char>>> <ptr(4) to <array 11 of <char>>> <ptr(4) to <array 29 of <char>>> <ptr(4) to...
[ "koreantonystark@gmail.com" ]
koreantonystark@gmail.com
5bbf3c1de7d858c79d41c6bcff24cbb59b746d21
65d07f0ed23d10ef56f0072c505a7087d2c1845a
/board/tests.py
e24e4626cc75b10789c653ca216b83c7067ebe97
[]
no_license
hollibleling/Wanted
5f9484cf30153d6e01447bacee858be9122dd08f
6633b005f5a45b4eb265220eaf64325d3d1b4e54
refs/heads/main
2023-08-23T08:44:33.523174
2021-10-24T15:00:31
2021-10-24T15:00:31
419,575,411
0
0
null
null
null
null
UTF-8
Python
false
false
11,702
py
import json import unittest import re import jwt from django.test import TestCase, Client from user.models import User, Board from my_settings import SECRET_KEY class CreateTextViewTest(TestCase): def setUp(self): User.objects.create( id = 1, name = "홍길동", ema...
[ "hollibleling12@gmail.com" ]
hollibleling12@gmail.com
ac83a570b99669b78a1502ef65fdc6d5174c2048
a677c329a25c92be947d2164ee5dd9e5d00408a5
/07.문자열/07-08.py
75576876f817e1b256a268c136d4081908be2faf
[]
no_license
culeJUN/BaekJoon
fb254332a8fd96d4560001fd4706f7b8c8647f00
9c52be2e723e97c366d51dc7402380de17520584
refs/heads/master
2023-07-14T23:29:05.828840
2021-08-29T13:52:58
2021-08-29T13:52:58
380,396,481
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
s = input() count = 0 for i in s : if i == 'A' or i == 'B' or i == 'C' : count += 3 elif i == 'D' or i == 'E' or i == 'F' : count += 4 elif i == 'G' or i == 'H' or i == 'I' : count += 5 elif i == 'J' or i == 'K' or i == 'L' : count += 6 elif i == 'M' or i == 'N' or i...
[ "jun971103@naver.com" ]
jun971103@naver.com
e02855515d8eefe3ee773af8cb50a495f0cd33ab
5cb264d1c6f889257b0267581b4591c142602253
/Controller/wsgi.py
e65f44a09798ca39be826a5ed7947ec33b9e2fa1
[]
no_license
IntruderShanky/ControllerPython
be528d6572163fdfb6f40102da9ab087a71746ae
25183023f45c7988740b7f007de792e3d7054c6d
refs/heads/master
2021-01-19T19:08:33.999986
2017-04-16T08:04:23
2017-04-16T08:04:23
88,399,582
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for Controller 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/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "intrudershanky@outlook.com" ]
intrudershanky@outlook.com
18e59110b72a0b2908aea571bd2a261a63f6e751
2361b06343484a6b66952ad3472cd764cd21f4fd
/Disassembler.py
190a963083497da015e01bbdf4fcda9fcff49bd4
[]
no_license
Kodoque1/YAChip8
c916bd161608b1f8b8bc00830b1648ae3d11adb9
0c13577df7ab44b8439a37acfce986fab59838a9
refs/heads/master
2021-07-31T18:04:02.514553
2021-07-27T22:10:01
2021-07-27T22:10:01
117,746,327
0
0
null
null
null
null
UTF-8
Python
false
false
4,025
py
import argparse import struct import functools def nibble_split(word): n0 = word & 0xf n1 = (word & 0xf0) >> 4 n2 = (word & 0xf00) >> 8 n3 = (word & 0xf000) >> 12 return n3, n2, n1, n0 def nibble_split_byte(byte1, byte0): n0 = byte0 & 0xf n1 = (byte0 & 0xf0) >> 4 n2 =...
[ "zakaria.addi@gmail.com" ]
zakaria.addi@gmail.com
d7796aa004c50f361ca9e8a8a0b3f4ef051ceb67
d9b672fd2096b9e91dda9c82a4ae47d628f023e4
/settings.py
a0655b84c59756eff3b37f60615c035fa474b8bd
[ "Apache-2.0" ]
permissive
homepods/silver-payu
3f314be0b1cd2409b80a79ad1519b0b881506d69
6d2ad761d5972f4b92928c12dde97959939d2786
refs/heads/master
2020-06-22T06:15:20.522288
2018-10-01T09:24:13
2018-10-01T09:24:13
197,654,966
1
0
null
2019-07-18T20:50:09
2019-07-18T20:50:09
null
UTF-8
Python
false
false
3,602
py
# Copyright (c) 2015 Presslabs SRL # # 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 writ...
[ "vladtemian@gmail.com" ]
vladtemian@gmail.com
5590121d7c6710783abc202795ed520fa35fd5f2
445368830cc2918f71cdca166e1363c4ac08c56e
/recursive_graph.py
ed5a633ca421b2c7b0e3c1dbfeff221a944a9d79
[]
no_license
Chehlarov/Python-Advanced
fe9cea7c600ca064db89bc11af43d944a4385b74
4bfddcfb02d59385d0083a5acbf338beab136a8e
refs/heads/main
2023-03-13T08:53:03.936039
2021-03-03T17:16:02
2021-03-03T17:16:02
336,066,373
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
from turtle import * # Write your code here def draw_branch(branch_length, angle, width): if branch_length > 5: pensize(width) forward(branch_length) right(angle) draw_branch(branch_length - 15, angle, width // 1.5) left(2 * angle) draw_branch(branch_leng...
[ "noreply@github.com" ]
noreply@github.com
e3bf180b1c85b33e05c07e36ed9b8cbfe6534857
309d17b81cea038713ba67bee72a41d2df4d6869
/Python/Python_basic/Python_OOP/OOP6_bmi.py
d2e2087aa8b93b01272764517ec6df4319cee4a3
[]
no_license
Bongkot-Kladklaen/Programming_tutorial_code
ac07e39da2bce396e670611884436b360536cdc5
cda7508c15c3e3d179c64b9aac163b6173ef3519
refs/heads/master
2023-06-20T13:14:17.077809
2021-07-18T04:41:04
2021-07-18T04:41:04
387,081,622
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
class Bmi: def __init__(self,w_kg, h_cm): self.w_kg = w_kg self.h_cm = h_cm def bmi(self): return self.w_kg / (self.h_cm / 100) ** 2 def category(self): diag = "" if self.bmi() < 18.5: diag = "ต่ำกว่าเกณฑ์" elif 18.5 <= self.bmi() <= 25: ...
[ "bongkot.klad@gmail.com" ]
bongkot.klad@gmail.com
547209f388dcff101220f3c4e2a2e75f6acfbd41
f0eb057884fc2defb0f079083eefa701403a2df2
/fading_pumpkin/fading_pumpkin/fading_pumpkin.pyde
bf84d60e34cffa12eb1c75f8b8872d6493536223
[]
no_license
Weardbop/Halloween-1
5c7f9c42e046c3ce26ce3163e5ba3ba23ec0bfa7
ac0748373c5d60d53fca8514429cca3a736aa603
refs/heads/master
2020-04-03T16:53:28.968148
2018-10-30T16:57:38
2018-10-30T16:57:38
155,423,276
0
0
null
2018-10-30T16:52:08
2018-10-30T16:52:07
null
UTF-8
Python
false
false
877
pyde
colour1 = 255 colour2 = 165 center = 374 centery = 243 clicked = False def setup(): size(640, 480) def draw(): global colour1 global colour2 background(0) noStroke() #Pumpkin fill(0,colour1,0) rect( 360, 240 / 2, 25, 50) fill(colour1, colour2, 0) ellipse(width *2 /3, height ...
[ "noreply@github.com" ]
noreply@github.com
40b6248d89e0073a29d2e6c285f5c183eb82771f
0044b5c2b0e003dcf1150174b079646c657d8727
/income/admin.py
ef090edb9290d189f4e78e5585be478ada73fbc2
[]
no_license
danish703/texas-2
a80ff4d6dbaf7398ed0ce5f44988cafde2670d6f
64fb9b13b93c3f81aae9e7e0d963e7e6bd3ffdde
refs/heads/master
2020-07-15T11:19:47.423327
2019-08-31T13:54:26
2019-08-31T13:54:26
205,550,894
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from django.contrib import admin from .models import IncomeCategory,Income # Register your models here. admin.site.register(IncomeCategory) admin.site.register(Income)
[ "dipu.danish@outlook.com" ]
dipu.danish@outlook.com
12d3926a342eee59a6c60498ddf863752d2aefb0
09be2f146f193482bc17cd6d75f9dd6e8ab65625
/project/models.py
508b41911d86141a9174638f7bf2d8957e7d9146
[]
no_license
edwardns86/flask-template-project
f2a9f44f1be9e137ca41d9347cd66b4c056e1ff2
8c5b2a9e574b28f6c7efe9faed6c7af1781b71cc
refs/heads/master
2022-12-09T07:51:22.891530
2019-11-22T04:19:59
2019-11-22T04:19:59
222,882,892
0
0
null
2022-09-16T18:12:59
2019-11-20T08:02:23
Python
UTF-8
Python
false
false
843
py
from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash from project import db class User(UserMixin, db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String, nullable=False) email = db.Column(db.St...
[ "edwardstevens@Edwards-MacBook-Pro.local" ]
edwardstevens@Edwards-MacBook-Pro.local
291ec277badd9ec84ba46368670827ec4adfb1db
4da55187c399730f13c5705686f4b9af5d957a3f
/resources/sumo_exporter/road.py
f3fe5331d6efe9f5434c28093515462058cc516f
[ "Apache-2.0" ]
permissive
Ewenwan/webots
7111c5587100cf35a9993ab923b39b9e364e680a
6b7b773d20359a4bcf29ad07384c5cf4698d86d3
refs/heads/master
2020-04-17T00:23:54.404153
2019-01-16T13:58:12
2019-01-16T13:58:12
166,048,591
2
0
Apache-2.0
2019-01-16T13:53:50
2019-01-16T13:53:50
null
UTF-8
Python
false
false
7,356
py
"""Road class container.""" import math import re from re_definitions import floatRE, intRE from data_structures import grouper from math_utils import apply_spline_subdivison_to_path from shapely.geometry import LineString, MultiLineString from lxml import etree as ET class Road(object): """Class matching with ...
[ "David.Mansolino@cyberbotics.com" ]
David.Mansolino@cyberbotics.com
ba9ca47753df3cc1fa8c8a864a4387c6a3a2f322
9a26d98f6f531b222c332ab6367e9e18beb0633f
/008. Dynamic Programming [동적 프로그래밍]/venv/Scripts/easy_install-3.8-script.py
31936c0e1b179dcf18187893df7efb9e2d4ed4f9
[]
no_license
yoonicode/of-Algorithms
dffac0b422e51dcd7df1f60236675608af73f03d
bbf89df443a3561fbbe0d0f6dfebb97f3ed216aa
refs/heads/master
2022-11-24T08:27:52.679469
2020-07-28T14:58:52
2020-07-28T14:58:52
null
0
0
null
null
null
null
UHC
Python
false
false
523
py
#!"D:\Users\Yoonsung\Documents\GitHub\of-Algorithms\008. Dynamic Programming [동적 프로그래밍]\venv\Scripts\python.exe" -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '...
[ "yoonsungkr@kakao.com" ]
yoonsungkr@kakao.com
efeba2b872c4db5c930a8024dec7cf5008516a04
b10b81a0ec857e8384a10df6e5a9822aba41ca76
/about_me/views.py
02ec8503bfad1e0bac45ed5cc1a0de3710f2ad3a
[]
no_license
SehgalDivij/CauseCodeChallenge6
fde0295574985fb8615dfc8924754940e65c0f03
51c8dfa7f204578dd90904404db14f04583d7319
refs/heads/master
2021-06-22T03:47:32.927331
2017-08-14T20:17:09
2017-08-14T20:17:09
100,290,788
0
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
from .models import * from .serializers import ProfileSerializer from rest_framework import views from rest_framework.response import Response from .utils import save_about_me_profile # Create your views here. class Profiles(views.APIView): """ Will fetch data for a public profile present at www:/...
[ "divi.sehgaal7@gmail.com" ]
divi.sehgaal7@gmail.com
9eadcc289a4f02d2036b2cc2ffcf5c4a37d6c20b
2c98fb8e5af5dc585bf3f8150ae252778a9850be
/challenge/accounts/urls.py
d86f03a99f87b3717d30aabc71168879e26d98f7
[]
no_license
swagup-com/django-challenge
dfd7794c10503ddeb733b71e020649681add3fa8
efa6f3341b9b1a3fc56845737626f450c925f9b8
refs/heads/master
2023-07-31T14:45:30.680963
2021-09-20T22:24:50
2021-09-20T22:24:50
238,338,149
0
3
null
2023-07-23T04:39:02
2020-02-05T00:47:33
Python
UTF-8
Python
false
false
224
py
from django.urls import path, include from . import views from rest_framework import routers app_name = 'api' router = routers.SimpleRouter() router.register(r'accounts', views.AccountViewSet) urlpatterns = router.urls
[ "edilio@swagup.com" ]
edilio@swagup.com
8148479c49caeff17348578a2194471ff09b4463
b910a073a96089e9c2b6c00da5711a9c6b8a633e
/house_hunters/world/models.py
cb8485c85b8ad4703b4c77341b8bc54d1415b99a
[]
no_license
taylorgift/casa_connect
87b265615eb914601e6f77acec041045ff65d4f9
af2bcf55a67666bad9ee93ccd085694cbea5a0ba
refs/heads/master
2020-05-03T12:28:48.851003
2019-03-31T02:35:05
2019-03-31T02:35:05
178,627,348
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from django.contrib.gis.db import models # Create your models here. class HousingCoordinates(models.Model): name = models.CharField(max_length=50) latitude = models.FloatField() longitude = models.FloatField() # Returns string version of model def __str__(self): return self.name
[ "tg446u@att.com" ]
tg446u@att.com
5489c893e687e6aed670cc7fdcc9bf6a16248996
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5640146288377856_1/Python/StefanPochmann/A.py
854b3312bd1dba6383f564157857729276cad94e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
220
py
#f = open('A.in') #def input(): # return next(f) for x in range(1, int(input()) + 1): R, C, W = map(int, input().split()) #print(R, C, W) print('Case #%d:' % x, W + (C-1) // W + (R-1) * (C // W))
[ "eewestman@gmail.com" ]
eewestman@gmail.com
891a32cab6c9146c07ae1298baef6d9ea293644c
9fda76ee88c0639f6e662196ec00f301246edcdd
/lpc_calendario/agenda/migrations/0020_auto_20170925_2117.py
cb3764ffeee80cc9c7ce68dcca6eafeaed28d1f7
[]
no_license
ViniciusCavichioli/Trabalho-p-2-G1
f11d195c1ffd40305c3075236d761798489c8a02
bfacd33ff4c5967edf4a6d0684d57dca517c4620
refs/heads/master
2021-07-03T11:10:27.709388
2017-09-26T00:27:33
2017-09-26T00:27:33
104,814,448
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-26 00:17 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('agenda', '0019_auto_20170925_2104'), ] operations = [ migrations.RenameField( ...
[ "vinicavi@hotmail.com" ]
vinicavi@hotmail.com
2d1c0ef029b73829a3cf0a80d2a3750e8ca5efb8
f238877d185bff574bcd71d0f0590bf41140972f
/package/vad_prediction.py
c8ad8a1d7e9bc3c09b087e789bebddbfb410288c
[]
no_license
MH-Lee/vad_sw
75cf1c3bc6cb438b505baaa78892578eab623f94
c2b81d8c20f25a5c9e2d61c0709b811df186e83a
refs/heads/main
2023-03-14T00:32:54.551709
2021-03-08T07:50:10
2021-03-08T07:50:10
340,071,794
0
0
null
null
null
null
UTF-8
Python
false
false
2,548
py
import matplotlib.pyplot as plt from package.smoothing import smoothing from package.clf import (logistic_regression, neural_network, gradient_boosting, stacking_classifier, voting_classifier) from package.vad_filter imp...
[ "lmhoon012@gmail.com" ]
lmhoon012@gmail.com
568b7b50b0a23eb1f2236eadf877c903ef2f1750
71b64139ba39aab3394a2bf5d8b409f225ee76c4
/test-teamup-bot/teamup_service.py
98e1c1e288f4293c41c1be4910eac00411ee085d
[]
no_license
quarry0226/aiflagship
3fabe9847c30fa2fabc814ee1b28fba8817c4e8d
96e3ab14307680d0c9b52937e4280d14fb880ff1
refs/heads/master
2020-03-27T15:23:24.522710
2019-01-03T04:58:19
2019-01-03T04:58:19
146,715,128
0
0
null
null
null
null
UTF-8
Python
false
false
7,368
py
import logging import sys import requests from event import EventFactory event_host = 'https://ev.tmup.com' auth_host = 'https://auth.tmup.com' edge_host = 'https://edge.tmup.com' logger = logging.getLogger("teamup-bot") class Chat: def __init__(self, chat_index, response_json): self.index = chat_index...
[ "noreply@github.com" ]
noreply@github.com
656dc7e15b78455cee914cb74a92048e94167263
9d64a438cdfe4f3feb54f2f0dc7431139c4b9fb9
/microsoft_atp/komand_microsoft_atp/actions/get_machine_information/action.py
1d683811c0eb693aaf72cbf02b4acadd6d9b841d
[ "MIT" ]
permissive
PhilippBehmer/insightconnect-plugins
5ad86faaccc86f2f4ed98f7e5d518e74dddb7b91
9195ddffc575bbca758180473d2eb392e7db517c
refs/heads/master
2021-07-25T02:13:08.184301
2021-01-19T22:51:35
2021-01-19T22:51:35
239,746,770
0
0
MIT
2020-02-11T11:34:52
2020-02-11T11:34:51
null
UTF-8
Python
false
false
955
py
import insightconnect_plugin_runtime from .schema import GetMachineInformationInput, GetMachineInformationOutput, Input, Output, Component # Custom imports below class GetMachineInformation(insightconnect_plugin_runtime.Action): def __init__(self): super(self.__class__, self).__init__( na...
[ "noreply@github.com" ]
noreply@github.com
db6bd39e93fbac2206d3f5be3aa5b0f5409832b0
019f5bbf4f854d35d640b14677a4f105c2a34a47
/Dlls/_1369540574524059650.py
0b64883a8b5bd402001b55e4d613901c001f4c92
[]
no_license
x1ng-z/algorithmplatform
b115f2695e30be5369a0a86fc51eb8f04e1686bb
5f9c8f1ba489f4fdb2de130b0004d6337968987a
refs/heads/master
2023-05-07T16:25:47.147345
2021-05-06T02:36:58
2021-05-06T02:36:58
349,960,892
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
def main(input_data, context_data): apc_value_1 = input_data['apc_value_1']['value'] apc_value_2 = input_data['apc_value_2']['value'] out = { "result_his":{'value':apc_value_1} } context_data['result_his'] = apc_value_2 + apc_value_1 return out
[ "37235318+x1ng-z@users.noreply.github.com" ]
37235318+x1ng-z@users.noreply.github.com
f13ae364d5454fff0b466fd17c8c4e70af0a9e2e
e836275adf8adca9b77acdd3d25bac157592a995
/examples/graphs_nodal.py
fa9e8e4ec004f0a57bfd774033e20c44044346d4
[ "BSD-3-Clause" ]
permissive
makism/dyconnmap
3de6f482d1370bf25ec3813ddf576b675ed99d9e
cbef247e635d55cb1489ba1e429d9d472b501b56
refs/heads/master
2023-08-03T19:30:40.779333
2022-03-14T18:24:16
2022-03-14T18:24:16
98,643,787
67
25
BSD-3-Clause
2023-07-24T04:49:03
2017-07-28T11:37:17
Python
UTF-8
Python
false
false
360
py
# -*- coding: utf-8 -*- from dyconnmap.graphs import nodal_global_efficiency import numpy as np if __name__ == '__main__': rng = np.random.RandomState(0) mtx = rng.rand(64, 64) mtx_symm = (mtx + mtx.T)/2 np.fill_diagonal(mtx_symm, 1.0) inv_fcg = 1.0 / mtx_symm nodal_ge = nodal_global_efficie...
[ "makhsm@gmail.com" ]
makhsm@gmail.com
d42fbc0d64ddce99c3a42871b69a726c42be38af
f8580d2c963b6a3c34e918e0743d0a503a9584bd
/unittests/test_image.py
eb9bc49d20574689e5249f2e3d79f96497b3d369
[]
no_license
pypy/wxpython-cffi
f59c3faeed26e6a26d0c87f4f659f93e5366af28
877b7e6c1b5880517456f1960db370e4bb7f5c90
refs/heads/master
2023-07-08T21:13:22.765786
2016-12-02T22:10:45
2016-12-02T22:10:45
397,124,697
1
0
null
null
null
null
UTF-8
Python
false
false
7,280
py
import imp_unittest, unittest import wtc import wx import wx.lib.six as six from wx.lib.six import BytesIO as FileLikeObject import os pngFile = os.path.join(os.path.dirname(__file__), 'toucan.png') #--------------------------------------------------------------------------- def makeBuf(w, h, bpp=1, init=0): "M...
[ "wayedt@gmail.com" ]
wayedt@gmail.com
42aedbee0ff1c13651a11f325f36a9978a2be0e4
d2ee2a195fa9bf7e9d6eecd4a88be75a1e0df673
/Data_preprocessing/preprocessing_TIMIT/step1_generate_clean_files.py
fe87c0917fd86fc804747b084d586de646abe1a8
[]
no_license
hiyoung-asr/Discriminator-Constrained-Optimal-Transport-Network
570e778c9fafbabeb76d34c2ac2255298f206125
313c05a526402455a349e9f4c632edede51df80d
refs/heads/main
2023-09-04T15:55:39.005532
2021-11-13T17:52:57
2021-11-13T17:52:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,745
py
import os import numpy as np from sphfile import SPHFile # pip install sphfile from shutil import copyfile TIMIT_path = "/Desktop/TIMIT" # TIMIT dataset location target_root = "/Desktop/TIMIT_DA_target_helicopter" # target folder for generated speech def write_wav(list_file, write_path, ...
[ "noreply@github.com" ]
noreply@github.com
be89c16cefede9c7270af70104fcca53d238115a
6201af009a02d189158869bec1b392f60d957e3f
/Cap03/Exercicio_Cap3/Metodo - Função/Exercise 9.py
8192bc5a9510b55185824dc2d735067d2ae54f8b
[]
no_license
rafaelladuarte/Python_Fundamentos_DSA
21044a4cb18cb7bfac3c65f6862b9260ff30338f
e204d259f2d53aab4036fb47b4bcd1476aaa03c4
refs/heads/master
2022-09-06T14:32:31.265585
2020-05-30T00:04:57
2020-05-30T00:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
print("Exercise 9") import pandas as pd dir(pd)
[ "noreply@github.com" ]
noreply@github.com
be8bd2eb1f899ebfa665374ecee5aed845b60536
d0729a5ca532f1e693ed1cc18f36fb5695296633
/source/train_word2vec_model.py
be0276d5a359b8a3246992f04e6d7245f2d68397
[]
no_license
yiweihuang/e-book-correlation
21083ed8885240b6c1fb5cb966fd671da88610fa
e88b4a7b19b2d6ecad68f03b043f5dd04fa75a26
refs/heads/master
2020-06-10T06:59:44.612351
2017-01-12T01:10:12
2017-01-12T01:10:12
75,990,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # python train_word2vec_model.py book/computernetwork.en.text ebook_model/computernetwork.en.text.model ebook_model/computernetwork.en.text.vector # python train_word2vec_model.py combine_book_slide/week1.en.text combine_book_slide_model/week1.en.text.model combine_book_sli...
[ "n1993212@gmail.com" ]
n1993212@gmail.com
2ab88de1a0f39752f93ed73d3828c298636c3249
5c9280b9502fad086275203fd7e04a3bfc68e6a9
/cob_datapipeline/operators/push_variable.py
39a97f08f04e722f702393d4f2958432cca9f226
[]
no_license
tulibraries/cob_datapipeline
3772dd8570c6bad58f84c381f10949c78e20831e
f35169085f7a84cb8b3abe743fdf0bb03dc8fe6b
refs/heads/main
2023-08-21T14:30:53.462568
2023-08-17T19:53:15
2023-08-17T19:53:15
149,130,296
5
0
null
2023-09-14T13:53:24
2018-09-17T13:35:04
Python
UTF-8
Python
false
false
2,289
py
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the #...
[ "dtkinzer@gmail.com" ]
dtkinzer@gmail.com
9f71c5f2e0fe93bdd181432b7c8fb934955b8a59
c742ebbf58fe3992ef7c8df26044afc4cfe173dc
/main.py
44938b8cdc30870578cabe926fd5d36e74b9c35d
[]
no_license
kalradivyanshu/FaceTrack
0dd4af50b6e5c6579f50d39cb7e4eefeb0778dd6
eab225f6de92176cfc3b422d874e941cd6840027
refs/heads/master
2021-01-10T09:38:37.397364
2015-09-27T05:45:40
2015-09-27T05:45:40
43,235,991
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
import cv2 import numpy as np def getmean(img): x,y = (img > 200).nonzero() return x.mean(), y.mean() cap = cv2.VideoCapture(0) flag = 0 while(1): # Take each frame i = 0 _, frame = cap.read() hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # define range of blue color in HSV lower_blue =...
[ "kalradivyanshu@gmail.com" ]
kalradivyanshu@gmail.com
3d31f9d19bdc8592287891bd2f4f8425acbdbd17
7ce2b2000cfefe8fbefc2271ebc7df2061c88194
/CAIL2020/ydljz(hong)/data.py
9e4c92f039a17554e02061223f80e2403193f7fd
[ "Apache-2.0" ]
permissive
generalzgd/CAIL
f06d79acf42ac2188938c02087f7d07b9b43095c
57529e64ee2f602324a500ff9bed660ddcde10bb
refs/heads/master
2023-01-24T01:14:05.382525
2020-11-20T03:40:47
2020-11-20T03:40:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,128
py
"""Data processor for SMP-CAIL2020-Argmine. Author: Yixu GAO (yxgao19@fudan.edu.cn) In data file, each line contains 1 sc sentence and 5 bc sentences. The data processor convert each line into 5 samples, each sample with 1 sc sentence and 1 bc sentence. Usage: 1. Tokenizer (used for RNN model): from data import ...
[ "bangtech@sina.com" ]
bangtech@sina.com
4fd45c51d26c6a05402edf79fc0e826d38148def
c301baa14ef933c928c71b377b21e72193f55396
/mysys.py
c7aee51696c01e0a6c6d15538a6dc67c66601aa8
[]
no_license
danrugeles/InstrumentRecognition
8d0a2ce6b4eda12b86e3fbd2fb1a7cccbe6fb9df
91aef0309ea85363e74fc56ad2a344c35d6e0df7
refs/heads/master
2021-01-21T11:23:36.711864
2013-02-22T13:03:20
2013-02-22T13:03:20
8,357,001
0
1
null
null
null
null
UTF-8
Python
false
false
1,228
py
import subprocess as sub #-- executeUnix --------------------------------- # # Stops the clock and prints the operation time # #------------------------------------------------- def executeUnix(command): com_array=command.split(",") #print com_array p0=sub.Popen(com_array,stdout=sub.PIPE) return p0.communicate()[...
[ "danrugeles.danrugeles@gmail.com" ]
danrugeles.danrugeles@gmail.com
af3c08af6c02409102b4844fe661144b23f0ddcf
f1f147909c1af9b2d0b9ed4073569571351b4274
/app/parentesco/apps.py
c536d2633ba00724b8e99d44030ddde9fa054ba5
[]
no_license
flabio/ExploraderRey
153c3439be85133ef3fed1d4a36669cd72af5a6d
e655b8d7c3136616f64a50aa76636dc46ddecc15
refs/heads/main
2023-02-14T16:10:16.304360
2021-01-03T12:53:03
2021-01-03T12:53:03
324,450,620
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
from django.apps import AppConfig class ParentescoConfig(AppConfig): name = 'parentesco' verbose_name = 'Parentesco'
[ "flabiohs@gmail.com" ]
flabiohs@gmail.com
351b62e2abbc99a6576b37e56bdfe4ec6e7c3a81
cbbc5e8714a643ae5e23e99aa5b93b55d3d2021b
/ode_data_access/lblreader.py
6a826358e82fcea38c7516b1c1a0d7c1af267d24
[ "MIT" ]
permissive
samiriff/mars-ode-data-access
688b82b7f33853788ad06a38b5ee4db75114f783
78fc699df92a69434ce6b9fbeb28493a5e3b9b67
refs/heads/master
2020-06-04T13:41:13.076585
2019-07-25T09:16:48
2019-07-25T09:16:48
192,046,605
9
3
null
null
null
null
UTF-8
Python
false
false
1,168
py
from __future__ import unicode_literals, print_function, absolute_import, division class LBLReader: def __init__(self): self._map = {} def read(self, fname): """reads in a lbl file named fname to a list""" lines = open(fname, 'r').readlines() if len(lines) == 0: ...
[ "samir.sheriff@sap.com" ]
samir.sheriff@sap.com
1afa26999025145ece490669783a956ea4daf852
5615a6c2dd4d735804956aefe76224469acde6c3
/day3/1excersise.py
896a69732cab6b38d6e2f7e54182872fcad0b02a
[]
no_license
grzeborz/python_infoshare
0815babd593610208ba7696ef3e0d1dac688cf6c
350955f0a0eca0d596c412ad9cfabd6cfbffd181
refs/heads/master
2020-06-11T12:00:58.032390
2019-08-07T18:34:26
2019-08-07T18:34:26
193,955,881
0
0
null
null
null
null
UTF-8
Python
false
false
4,842
py
# zdanie = "encykopedia" # # print("drukuje 4 znak: ",zdanie[4]) # print("drukuje 3 znak od końca: ",zdanie[-3]) # print("drukuje od pozycji nr 2 do nr 8: ",zdanie[2:8]) # print("drukuje od początku do pozycji nr 7: ",zdanie[:7]) # print("drukuje od 8 pozycji do końca: ",zdanie[8:]) # print("drukuje od 1 do 7 co dwa zn...
[ "grzegorz.szyperek@gmail.com" ]
grzegorz.szyperek@gmail.com
5cd8e84f11d2ea34f343ae402d5c0b33dcf7d2db
958d87cc3b77bb3308d0aa04b92fdef5f97d63ae
/4.OOPS/InheritanceAndPolymorphism.py
8056a618b0d68087183a3df5858998b9bc487e65
[]
no_license
parihar08/PythonJosePortilla
6dec83519af78451c46e323928aedf19dbd908f1
6f47291908ad05daf5a505ba0e13687c46651bc2
refs/heads/master
2022-12-19T07:30:39.603468
2020-09-19T14:56:36
2020-09-19T14:56:36
292,650,778
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
class Animal(): def __init__(self): print('ANIMAL CREATED') def who_am_i(self): print("I am an animal") def eat(self): print("I am eating") # myanimal = Animal() # myanimal.who_am_i() # myanimal.who_am_i() class Dog(Animal): def __init__(self): Animal.__init__(self) ...
[ "sparihar08@yahoo.com" ]
sparihar08@yahoo.com
22ab57b357e0f71a237346053a156a4c9b1a6648
0cbc02dd7d1efbe61de04dcf1c6eccb6496bf074
/month02/day10_IO并发/test/test02.py
b855c217d0302b1d40a8a9fe16af35d0418e9f28
[]
no_license
fsym-fs/Python_AID
0b1755c15e20b214940041e81bedb2d5ec99e3f9
f806bb02cdb1670cfbea6e57846abddf3972b73b
refs/heads/master
2021-03-20T06:57:45.441245
2020-05-27T14:13:45
2020-05-27T14:13:45
247,187,064
0
0
null
null
null
null
UTF-8
Python
false
false
9,359
py
import socket import os import time class MySocket: ADDR = ("127.0.0.1", 23456) def __init__(self): self.__socketfd = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0) self.__socketfd.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, True) # 连接服务端 try: self.__s...
[ "1085414029@qq.com" ]
1085414029@qq.com
48cceba431fcd376c4200dfd1b56a6a8a021e7ac
92c3306834a67c643427d6727ee812ba228e3d66
/src/films_viewer_widget.py
06da1434d78ae54893f1b298d58ca8c3dc35fbbe
[]
no_license
Liteskarr/Cinema
9ecdb73c515433508cc64564c29acdb679e975c6
b7908c3dcd2cbc55e6ec82cfb4cb330b5ea67246
refs/heads/main
2023-02-09T15:14:33.462424
2021-01-11T20:18:37
2021-01-11T20:18:37
322,098,689
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
from PyQt5.QtWidgets import (QMessageBox) from src.context_locator import ContextLocator from src.items_viewer_widget import ItemsViewerWidget from src.film_item_widget import FilmItemWidget from src.film_editor_widget import FilmEditorWidget class FilmsViewerWidget(ItemsViewerWidget): def _handle_item_adding(se...
[ "398501z3@gmail.com" ]
398501z3@gmail.com
85f98ea49f1b409dc36eba8809da9023565dc06e
36c2e0a3f7236cf25761537d49a38dcdd57b7899
/scoreboard.py
04cdd939e50414bb8a2997f92cadd71e1175c6cd
[]
no_license
Cassablonka/SnakeGame
9fb9ab588495939bfb94ad86dbe2a393b7305a05
debe70f81428ca1611e31a7b0fc98a62c5a913fb
refs/heads/master
2023-04-30T07:00:45.174234
2021-05-12T08:58:37
2021-05-12T08:58:37
366,526,442
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
# Importing the required packages from turtle import Turtle ALIGNMENT = 'center' FONT = ('Courier', 20, 'normal') class Score(Turtle): # Initialising the Score class def __init__(self): super().__init__() self.score = 0 with open('data.txt') as file: self.high_score = int(f...
[ "cassapimpalapure@gmail.com" ]
cassapimpalapure@gmail.com
392656831b55dd82e3ee47f78888cdd2cc1270c5
55b31211fd16254fd0a5dde6efdcfc2caee382d4
/2018_08_13_point/point.py
c6f53918327dd03ee8968996927aecc92a6b9e9b
[]
no_license
KEYURRATANGHAYRA/python_morsels_solutions
4a05f8c37e5caa1efba977c171194b016c1d7eb3
87b6de1d661d2f0a9f92bb05207f881977aa4913
refs/heads/master
2021-10-10T11:02:43.381430
2019-01-10T01:14:59
2019-01-10T01:14:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
"""Revised solution to point exercise Removes _do_binary_op, which was needlessly confusing 08/21/2018 """ class Point(object): def __init__(self, x, y, z): self.x = x self.y = y self.z = z def __iter__(self): return (attr for attr in (self.x, self.y, self.z)) def __rep...
[ "mganderson87@gmail.com" ]
mganderson87@gmail.com
0caa292e0e2d324594813b65958489a1e516a58b
5141d540e42c82ac0ded31436b5d35686e73d107
/Pythonprogramming_Laboratories_exercice/Lab2/Ex2.py
02c9bfd643080f1ddc22a687a73d6e36331ea0b0
[]
no_license
roxanacaraba/Learning-Python
5dfcbf39e9e103f1fc5b834da747903136256419
411f42ae626559c699bdab3e2fe3fa6a12d8f304
refs/heads/main
2023-01-12T14:18:39.782747
2020-11-18T19:19:47
2020-11-18T19:19:47
313,975,689
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# Sa se scrie o functie care primeste o lista de numere si returneaza o lista cu numerele prime care se gasesc in ea. def listfunction(): numbers = list(map(int, input("Input your numbers : ").strip().split())) # how to input list of integers in python lista = list() for num in numbers: count = 0...
[ "roxana_elena_98@yahoo.com" ]
roxana_elena_98@yahoo.com
72fff1c92139c93bb4430d166ba3c5d7285cc64f
ce1934da3aa7107f500a2c2da6c73adae693d797
/Seguranca/A4/ex1_1.py
a235b3c5889d067db95a237f8ab719998861f245
[]
no_license
humariel/4Ano
fb7747ffd64f29c986f1f3c7afa37e578325b43f
e4cb28321d5266b67d5b7154f8cb4444bd39cb2c
refs/heads/master
2022-11-09T17:32:21.407898
2020-06-24T18:36:07
2020-06-24T18:36:07
216,204,465
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
import sys from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC from cryptography.hazmat.backends import default_backend # The PBKDF2 generator of Python receives as input the number of byes to generate , # instead of bits salt = b'\ x00 ' pwd = sys.argv[1]...
[ "hum4r13l@gmail.com" ]
hum4r13l@gmail.com
c74db58ad4e08ae2ba7fae4dcad8d34e14650f04
f719dc32c437a15c0eb7a229adc2848e4646a172
/billy/api/customer/forms.py
fd102c147046aae78bf8ff40db5b2ac935fa24db
[ "MIT", "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
grang5/billy
db3a88b650962f25b8bdea80a81c5efa5d80dec0
a723c3aca18f817829ae088f469fabc5bea9d538
refs/heads/master
2021-04-18T19:36:05.586549
2014-06-16T21:47:37
2014-06-16T21:47:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from __future__ import unicode_literals from wtforms import Form from wtforms import TextField from wtforms import validators class CustomerCreateForm(Form): processor_uri = TextField('URI of customer in processor', [ validators.Optional(), ])
[ "bornstub@gmail.com" ]
bornstub@gmail.com