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
c3c77889d9fd2d9198ae6452a80b9c1abe9d8faf
24341c76b907e75cc9f4f01ceece7edd0853474b
/productList/app/models.py
abb11857b8274546b2fcea898773d2f81f30f0bb
[]
no_license
yasirdis/ProductList
a7e265e2c604e0744e45a76304271b1e526f1494
e99a50d9bee1f05c43b06ada073affcba2274d4b
refs/heads/master
2022-12-02T23:28:13.255658
2020-08-16T08:51:40
2020-08-16T08:51:40
287,905,183
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Product(models.Model): Id = models.CharField(primary_key = True, max_length = 9) Name = models.CharField(max_length=20) Quantity = models.IntegerField() ImgSrc = models.CharField(max_length = 50) c...
[ "yasir.dis@gmail.com" ]
yasir.dis@gmail.com
b54740991dcdeb374d0c865b1317978ac7ed872b
0edfbe9aa843b89544273e1a19bb707b7dec87fd
/academiya/migrations/0005_master.py
e45bf2cfc29eb602586aa5de6e059451e6cc2e1a
[]
no_license
SmirnovConstantine/Academiya
d5e68735f2b2b395436f4ca4a1f4b4d6424efbaf
3bdedd57e93916212b3e89538ee07fb732c751f6
refs/heads/master
2020-04-28T12:00:56.422285
2019-03-12T18:03:15
2019-03-12T18:03:15
175,262,468
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
# Generated by Django 2.1.5 on 2019-03-01 18:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('academiya', '0004_auto_20190227_2143'), ] operations = [ migrations.CreateModel( name='Master',...
[ "smirnov.konstantin.93@mail.ru" ]
smirnov.konstantin.93@mail.ru
47e3d13e46c6dbfa3ee99c75aab6a2c114ad1664
c522a14d47c38dad9ea45aa319e8e2984fb2b739
/MachineLearning/DeepLearning/DeepLearningWithPython/chapter4/demo3.py
d2fe606b5dd67241c073461029c0870c228e1513
[]
no_license
motein/Pocketin
9d4daf262cd21f8d724e3e5059119ae4fd981125
32e698180a449b38c4c8bf2b58338566856ba06e
refs/heads/master
2022-02-03T21:28:48.714659
2022-01-27T02:05:10
2022-01-27T02:05:10
41,902,995
0
0
null
2021-01-14T07:48:01
2015-09-04T07:20:09
Jupyter Notebook
UTF-8
Python
false
false
675
py
''' Created on Aug 3, 2018 @author: xiongan2 ''' import numpy import theano.tensor as T from theano import function a = T.dmatrix('a') b = T.dmatrix('b') c = T.dmatrix('c') d = T.dmatrix('d') p = T.dscalar('p') q = T.dscalar('q') r = T.dscalar('r') s = T.dscalar('s') u = T.dscalar('u') e = (((a * p) + (b - q) - (c ...
[ "motein@qq.com" ]
motein@qq.com
6820e6f568cc17fde6e20801dcf10f907e45a876
ee896644af3107622584e7ba7eb30da7aa1edd3a
/OpenClassrooms/Apprennez-a-programmer-en-Python/Partie_1/leap-year_tester.py
78dc37db790b092d79de218f37d0dbd91fbf1ad9
[]
no_license
ChocolateCharlie/Python-exercises
956c47c765508a0255d18776dcd3df88ab059d50
d0032242a3004925b5b0552b28b3f4d916f53ef7
refs/heads/master
2021-06-06T19:15:19.617492
2020-05-29T16:37:00
2020-05-29T16:37:00
96,107,389
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
# -*-coding:Latin-1 -* # Aks user to enter a year year = input ("Please enter a year : ") year = int(year) # Print whether the given year is a leap year or not if (year % 4) or ((year % 100 == 0) and (year % 400)) : print (str(year) + " is not a leap year.") else : print (str(year) + " is a leap year.") ...
[ "aurore.amrit@gmail.com" ]
aurore.amrit@gmail.com
a3f2a5a005d26ab9af467662fd50ff955da9a329
381612e57ef807e573b40b2dfaf062c8fe7a43f7
/nesi/softbox/api/models/route_models.py
7aea30390ad3f30d7155b1f369e6370d70560810
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
zcf900/NESi
1635a405660bb9390843468f34105dd2ef45bd75
0db169dd6378fbd097380280cc41440e652de19e
refs/heads/master
2023-01-31T23:21:02.799923
2020-12-18T13:37:43
2020-12-18T13:37:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
# This file is part of the NESi software. # # Copyright (c) 2020 # Original Software Design by Ilya Etingof <https://github.com/etingof>. # # Software adapted by inexio <https://github.com/inexio>. # - Janis Groß <https://github.com/unkn0wn-user> # - Philip Konrath <https://github.com/Connyko65> # - Alexander Dincher <...
[ "janis.gross.jg@gmail.com" ]
janis.gross.jg@gmail.com
b346c06471c05248ec00056a0c1471aae1296317
e71335877c7fa75ba399167f3b1ac8d484e2d11b
/code/microblog.10/app/routes.py
a588919e6c238cf793cb5fd93bc52b39d3a2be80
[]
no_license
malzahr9/microblog
c07f62a48a95e884a6d5193b0df8707c050aef5b
8b9432e6f9aa9e6824eec5c4288043b62b32c1ec
refs/heads/master
2020-03-16T20:51:51.778738
2018-05-03T02:03:27
2018-05-03T02:03:27
132,975,563
0
0
null
null
null
null
UTF-8
Python
false
false
7,254
py
from flask import render_template, flash, redirect, request from flask import url_for from werkzeug.urls import url_parse from app import app from app import db from app.forms import LoginForm from app.forms import RegistrationForm from app.forms import EditProfileForm from app.forms import PostForm from app.forms impo...
[ "gregdelozier@gmail.com" ]
gregdelozier@gmail.com
c05cb60b29e99cb7f641740eadd1e391584f1f41
b369a398ef95a734ce687c9846dc3c3b452cbd5e
/logJogo.py
0f30bbd2deeb355e0bf06be8923364f3f8f2bcad
[]
no_license
diegomardu/jogo_dados_01
65676f9c16dd2bfacf00cf2164f312ca16d814dc
bc73d747960c26516af1e2adaa144c322619d3c9
refs/heads/master
2020-05-26T07:19:31.035756
2019-06-03T11:19:14
2019-06-03T11:19:14
188,147,556
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
class logJogo: def __init__(self,nome="",pontos=0,resultado=""): self._nome = nome self._pontos = pontos self._resultado = resultado def getNome(self): return self._nome def setNome(self,nome): self._nome = nome def getPontos(self): return self._pontos ...
[ "diegomartins836@gmail.com" ]
diegomartins836@gmail.com
e6d3db434bb944520c7c67f22da57dc052a000e0
aa35303b9bebd1ab8042d678e63094c9dc2d780f
/humidity_monitor/__init__.py
838d4a59235a912fc9f503152dcb2c9dfbf952c1
[]
no_license
ruaridhwatt/microscripts
b030e9c180c6e19cf147d1c3c609bae05d23e83f
1ec702d15ca812bc60b030a71509d42581207e18
refs/heads/main
2023-07-18T15:59:40.281633
2021-09-01T16:55:11
2021-09-01T16:55:11
393,965,686
0
0
null
2021-08-17T19:33:27
2021-08-08T13:17:54
Python
UTF-8
Python
false
false
110
py
from humidity_monitor.LowHumidity import LowHumidity from humidity_monitor.HumidityAlarm import HumidityAlarm
[ "ruaridh.watt@gmail.com" ]
ruaridh.watt@gmail.com
4581696b15439fb4973aec8ec9df6b1433f267c4
325987981dd00ef79589c61b587d66f5537f85a5
/algorithms/hackerrank/compare-the-triplets/python/main.py
9e48b95a950ae5b2b4184cd5e651261e6a7e805e
[]
no_license
wfelipe3/learning
9ab7e5ea756ef8b58739914854e7858dd562cef8
06c9c12de0edad7f3e4de856c61a2c8b4ebe0011
refs/heads/master
2021-01-19T19:02:45.098461
2018-08-27T04:24:40
2018-08-27T04:24:40
101,184,481
0
1
null
null
null
null
UTF-8
Python
false
false
647
py
def get_values(): s = input() return s.split(' ') def to_ints(values): return list(map(lambda x: int(x), values)) def get_int_values(): return to_ints(get_values()) def have_same_size(x, y): return len(x) is len(y) def get_points(x, y): if not have_same_size(x, y): raise ValueError(...
[ "wfelipe3@gmail.com" ]
wfelipe3@gmail.com
1f0c844a961102816b1b465c43073eb91f394e79
4dd54710e927ff9b9c944aaa4a911a9167c3b5de
/cargonext/organizations/doctype/warehouse_company/warehouse_company.py
e46798131f949b87fba3d77ca6f3fd71b1e6f63d
[ "MIT" ]
permissive
jryandechavez/cargonext
f8d7dc044988a8d3aff6f5267f0d11bba547109f
2438f21bc69c20b0fdf3560b077a9ea7bc17ec8c
refs/heads/master
2020-03-20T13:48:24.601665
2018-06-15T09:12:58
2018-06-15T09:12:58
137,466,788
0
0
null
2018-06-15T09:12:23
2018-06-15T09:12:23
null
UTF-8
Python
false
false
285
py
# -*- coding: utf-8 -*- # Copyright (c) 2017, Opensource Solutions Philippines and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class WarehouseCompany(Document): pass
[ "root@ossphdev.localdomain" ]
root@ossphdev.localdomain
88ff8118af3ff04831d32976774beb4883963270
af434a5b0d449f003fd1accf1864a0ba69548610
/candidates/migrations/0010_auto_20180511_1417.py
c9b1b69ba8efcdc12e811340b13561a2700322f1
[]
no_license
ajarvis3gs/recruiting
97e1a694bd001cd1ecede25b4926420bfc699eb9
30bbc5914b410c2b177287d8bbeb30c28d1f577d
refs/heads/master
2021-10-11T13:24:31.072970
2019-01-26T13:50:53
2019-01-26T13:50:53
104,217,948
0
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2018-05-11 14:17 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('jobs', '0022_auto_20180505_1302'), ('candidates', '0...
[ "aaron-jarvis@idexx.com" ]
aaron-jarvis@idexx.com
3773ecdd5ab252e3f156de78a6ec7a761ae3b570
895b70141b0502bd6f20d5ddb40a0e2e27226279
/PythonPractice/EnterpriseWechatWeb/page/basePage.py
fd58e70c39366c324c764ce6e53b5bf13ea0b40b
[]
no_license
lqin007/testDemo
2e774970045b308aa702dd280ef65841a507ce4d
64efbc8a62660ab80c5ccd53b38d094ea1dc4bd7
refs/heads/master
2023-06-14T06:15:16.963446
2021-07-16T02:19:43
2021-07-16T02:19:43
351,643,165
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
from selenium import webdriver from selenium.webdriver.chrome.options import Options class BasePage: #子类不重写 __init__,实例化子类时,会自动调用父类定义的 __init__构造方法,参数设置默认值base_driver=None def __init__(self,base_driver=None): if base_driver is None: #base_url,定义打开主页面 #base_url = "https://work.we...
[ "1197964844@qq.com" ]
1197964844@qq.com
b4e5d65cf41c5b676b3c8fea171d87bae446ba4b
88608583e66b2084a8fe010d18a4bc779a9ea8eb
/torcv/links/model/inception/__init__.py
06148b1d3907003901ba7919852b9854ece3df5b
[]
no_license
UdonDa/torcv
c4f1f1cac99d49a5fe0d3edef6293659d807f292
49e548d538933f5eb5a4ffe1cb529914b180dae2
refs/heads/master
2020-04-28T05:25:09.183032
2019-03-19T02:39:52
2019-03-19T02:39:52
175,019,302
1
0
null
2019-03-19T02:39:53
2019-03-11T14:37:18
Python
UTF-8
Python
false
false
51
py
from torcv.links.model.inception.inception import *
[ "udoooon0727@gmail.com" ]
udoooon0727@gmail.com
7c18cecf00315c32eb38a70e12917f1ea4a78653
5befd324597df48b068a7ebda221db12a591f895
/yotta/lib/registry_access.py
69e96096e2a266ace3511bc79832141695333703
[ "Apache-2.0" ]
permissive
parisk/yotta
6616002c709e30e44234118ecf3dcbe7b9433f53
496b0994aa77854709782d8cc23032aabd50bb59
refs/heads/master
2021-01-22T19:04:02.966265
2014-10-21T08:40:55
2014-10-21T08:40:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,462
py
# standard library modules, , , import re import logging from collections import OrderedDict import uuid import functools import json import binascii import calendar import datetime import hashlib import itertools import urllib import base64 import webbrowser # restkit, MIT, HTTP client library for RESTful APIs, p...
[ "James.Crosby@arm.com" ]
James.Crosby@arm.com
cbf9d28017e06e9d320aa9a46bf5ac75ae0e0080
ddf0e4e91da6e10f0fa91961c57e8778cf002b42
/03/tags.py
69e11335920d7795384a197d780c7b0f9520eada
[]
no_license
joshsteveth/challenges
f0f189f212b99c37d75cdff71084a1ea2e144491
64bf50ead275e2248ed1347abb9219fcc8a58361
refs/heads/master
2020-03-27T10:45:02.950475
2018-09-07T07:45:54
2018-09-07T07:45:54
146,442,540
0
0
null
2018-09-07T07:45:55
2018-08-28T12:14:27
Python
UTF-8
Python
false
false
1,686
py
TOP_NUMBER = 10 RSS_FEED = 'rss.xml' SIMILAR = 0.87 import xml.etree.ElementTree as ET import re import collections from itertools import product from difflib import SequenceMatcher TAG_HTML = re.compile(r'<category>([^<]+)</category>') def get_tags(): """Find all tags in RSS_FEED. Replace dash with whitesp...
[ "joshua-steven.theopillus@tu-ilmenau.de" ]
joshua-steven.theopillus@tu-ilmenau.de
9b35be5ea6f3061ce4b5a90c2ada6c6ad59995f5
a0cda18d0e73c61f9ccbbf2d14f278bb0a07cc31
/snakai/strategy/qlearning/state_encoder/__init__.py
e5a34bd486d5faa28d0f68adab5f558f31af7806
[ "Apache-2.0" ]
permissive
fseasy/snakai
c029d6c04abf65635e30b4bd06d0391dacc154b0
361ee03680a6cf44a6df6b644bfe96a2d48149cd
refs/heads/master
2023-08-29T22:05:25.640539
2021-11-06T13:22:08
2021-11-06T13:22:08
70,814,697
1
0
null
null
null
null
UTF-8
Python
false
false
63
py
# -*- coding: utf-8 -*- from .state_encoder import StateEncoder
[ "readonlyfile@hotmail.com" ]
readonlyfile@hotmail.com
484abace33c9beb118a8272843f86bd68c449ba9
eba28541c3778a0c0ef7179a19e6d81ff012e614
/Kivy - Interactive Applications and Games in Python Second Edition_Code/Chapter_03_code/08 - Kivy and its properties/drawingspace.py
728b5853dce6abb6c8df2d50085f2e1abf2cd873
[]
no_license
dzendjo/WMBot
af8219b71a99c9e9045cc7b3e9371ed0cb406aca
db463cf5fd6ae48566f7cd1773a3171bcde8b8c2
refs/heads/master
2021-05-10T12:21:50.932529
2018-01-24T16:40:32
2018-01-24T16:40:32
118,439,040
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
# File name: drawingspace.py import kivy kivy.require('1.9.0') from kivy.uix.relativelayout import RelativeLayout class DrawingSpace(RelativeLayout): def on_children(self, instance, value): self.status_bar.counter = len(self.children)
[ "andrii.belon@gmail.com" ]
andrii.belon@gmail.com
660d3a7974d1dfa4ecbaaca6f579b2be184fe0ed
be8f128c4008a16361af50f4bca1d4f66a603555
/111-data_ana_new/Fig5h_S11_codes.py
5ef16a876b44fa410eada3a0448069c2f24f0961
[]
no_license
Ji2020/my_python_code
e290e72b4f9128921d6cc73a4dd80fe68a63d4c3
aa05f1ccb39313eced05a84004f38230e3d045f9
refs/heads/master
2020-12-28T15:05:58.420951
2020-02-03T08:14:24
2020-02-03T08:14:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,731
py
#!/usr/bin/env python # coding: utf-8 # 整理一下师兄MOSD文章中我在Fig5h和S11数据分析中用到的代码 # # - 备注:代码还没来得及清理得好看一点; # - 备注2:是的中间很多步没必要手动做,但是需要强迫自己检查一遍数据有没有哪里代码错漏了特殊情况...所以就保留了几个手动步骤 # In[ ]: import pandas as pd import numpy as np from scipy import stats import seaborn as sns import matplotlib.pyplot as plt # 可能需要先把原始数据拼起来嗯 # I...
[ "1733473428@qq.com" ]
1733473428@qq.com
788bb56b328d68ec06846bebf6bfaf2328a15e4c
6c129c996d20bc5740aa7c69b52b5d714543bc91
/otaa_node.py
c5953b781f0785b631cb5ef7a4344833a190aab9
[]
no_license
John-Shan/EECE-PROJECT
b49e79989fcc46f621cff229bd7dd5e661617952
04f31e9c8398bfab8b432f7e66d9b436b033d635
refs/heads/master
2022-05-21T17:27:59.065027
2020-04-23T01:40:07
2020-04-23T01:40:07
258,064,139
0
0
null
null
null
null
UTF-8
Python
false
false
2,077
py
#!/usr/bin/env python # # Copyright (c) 2019, Pycom Limited. # # This software is licensed under the GNU GPL version 3 or any # later version, with permitted additional terms. For more information # see the Pycom Licence v1.0 document supplied with this file, or # available at https://www.pycom.io/opensource/licensing ...
[ "noreply@github.com" ]
noreply@github.com
c8c8edf00fcd24eaf70bbbe8536996f048844169
a42bddd6499e77f0dac4aecaa30d0eafaabbcdc6
/backend/fan_zone/tests.py
db7906a213cacaac36f2397dc314803ea0fa2fd0
[]
no_license
miljanic/cinetubbies
2277bb20388046fbb9ecf466b6c4d86ae8fee725
2dbbda36db14853ee3f51c2ac5c3988d7401cae7
refs/heads/master
2021-09-17T04:34:13.424442
2018-06-27T18:33:03
2018-06-27T18:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,470
py
from django.test import TestCase # Create your tests here. from rest_framework.test import APITestCase from authentication.serializers import TheaterAdminSerializer from authentication.serializers import AdminSerializer from theaters.serializers import AdministrationSerializer as TheaterSerializer from .categories....
[ "aleksandar.varga@uns.ac.rs" ]
aleksandar.varga@uns.ac.rs
bc9256b1d485797fbe0fdf38559ee1bc5e3b67f9
283fa090697198f801f49ebaaff8fda78e75c98b
/ass_a/main.py
499650ba780f358fe8b656e04ebeb3abcedebba6
[]
no_license
Biggy54321/AVL-BST-Tress-Comparison
fe579a4b5705526069e82b2879979b2a31038db0
d12f401d4df36a8d045db9e1970d24bf19b98f23
refs/heads/master
2022-11-24T20:48:19.585684
2020-08-01T08:16:57
2020-08-01T08:16:57
284,217,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
import time from Avl import AvlTree from Bst import BstTree # Open the test file with keywords (no meanings are inserted for testing) # The keywords are sorted to test the search times in AVL and BST Dictionary ADT key_words_file = open("test", "r") # Read the words from the file key_words = key_words_file.readlines(...
[ "biggy.pardeshi@gmail.com" ]
biggy.pardeshi@gmail.com
a75a02b604904c812799bbe215c35fb925538e5c
a29b234c19643341e5ea1d964cc81accfe9524e4
/EmailRemover.py
9c7fccb4be93a705554f23a14302633988935416
[]
no_license
SilviaF/BlacklistEmailRemover
afca08f67b5b7c7fe0e847454320bd3f9a3a6a82
b2aa16fa87a84d98c1d06764f2e99ce55eeb18fa
refs/heads/master
2021-01-10T15:39:37.349475
2016-02-29T13:20:48
2016-02-29T13:20:48
52,792,261
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
import sys emailFile = sys.argv[1] blacklistFile = sys.argv[2] f = open(emailFile, "r") lines = f.readlines() f.close() f = open(emailFile, "w") def deleteContent(emailFile): emailFile.seek(0) emailFile.truncate() g = open(blacklistFile, "r") lines2 = g.readlines() g.close() outVal = [word for word...
[ "silvia.figueroa.ardila@gmail.com" ]
silvia.figueroa.ardila@gmail.com
f0881d7f2e8edcf749f6b4ed87b7980c6c4e57f4
4a283ec6af9748d95bb0f20e12bbc0c6eacb70b4
/pelicanconf.py
a2996341625f81483958a1cc37ea85431f30e51d
[]
no_license
tschleining/opsech.io
797d9666647561f3b4a5ff50a45ae5b9809b3477
372b9364101dc1e195c90f654f3279a4cb4f556f
refs/heads/master
2021-01-11T19:52:49.384008
2017-01-19T05:01:21
2017-01-19T05:01:21
79,416,899
0
0
null
2017-01-19T04:54:00
2017-01-19T04:54:00
null
UTF-8
Python
false
false
2,106
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals AUTHOR = u'Mike' SITENAME = u'#> opsech.io' SITEURL = '' SITESUBTITLE = "Random wanderings of a Linux traveller" PATH = 'content' PLUGIN_PATHS = ["plugins/pelican-plugins"] STATIC_PATHS = ['images','extra','favs'] IGNORE_FILES = [...
[ "xenithorb@users.noreply.github.com" ]
xenithorb@users.noreply.github.com
7c04685e8ec462c670aa49c19d84ef8baaa47261
529d1ab687753e519487287e7644fc1da8a2990a
/addTwoNumbers.py
d7dd5a491a5bcda0de66a0ffd003c6d1a97028e6
[]
no_license
kau96kim/algorithm
b71ef800c365f8101090292003d7e065eb13168e
007dafb03d6bf1fb3729b65f4f0825ef5eb1900e
refs/heads/master
2023-02-12T11:49:59.388553
2020-12-29T14:53:14
2020-12-29T14:53:14
275,054,288
1
1
null
2020-07-11T17:07:27
2020-06-26T02:06:04
Python
UTF-8
Python
false
false
1,301
py
# Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class LinkedList: def __init__(self, val=None): self.head = ListNode(val) def add(self, val=0): if self.head.val is None: self.head = ListNode(val) else...
[ "kau96kim@gmail.com" ]
kau96kim@gmail.com
c24afcaf775187b005efbf779c0da4629082645b
3fa0ffa43a6f852741780950cf55a944120ac4e7
/blog_project/settings.py
ce94317224484f6c5c9fdb8b5a5f8b36e54652df
[]
no_license
GreenUpOu/Django-BLOG-
a86039825393ac684c2cbdc3005d4e0d626c5045
d54aeaeef6ceec38f28c2a58ff3c32627bdd711c
refs/heads/master
2023-07-10T08:40:17.916674
2021-08-11T18:24:33
2021-08-11T18:24:33
395,077,852
0
0
null
null
null
null
UTF-8
Python
false
false
3,687
py
""" Django settings for blog_project project. Generated by 'django-admin startproject' using Django 3.2.6. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pa...
[ "27062015grisha@gmail.com" ]
27062015grisha@gmail.com
c1389065e88b1cdbc62f034dee3346f8f0b03279
1251ed3b76c8b44077c6db3914fcd88671303247
/scripts/fake.py
6eb31c2c446774074f8ea574a386c5be1c012ef9
[]
no_license
zhushaojun/student_server
4fd4f4da41fe4f74be2380007edc9faedd779ec7
9dcfe6fb8dc2a7bdf0a9e274388c65d3f369e059
refs/heads/master
2021-01-05T11:59:49.075769
2020-04-17T02:06:54
2020-04-17T02:06:54
241,017,019
0
0
null
null
null
null
UTF-8
Python
false
false
9,670
py
import os import pathlib import random import sys from datetime import timedelta import django # import faker from django.utils import timezone # 将项目根目录添加到 Python 的模块搜索路径中 back = os.path.dirname BASE_DIR = back(back(os.path.abspath(__file__))) sys.path.append(BASE_DIR) random.seed() xing = [ '赵', '钱', '孙', '李', ...
[ "shj.zhu@gmail.com" ]
shj.zhu@gmail.com
c3da14028c2e9a9520a1c79f139fc8065132f62d
ccd6258ee2e199806ccc5dbb1063a00bbad7d52f
/SWIFT_XTS_API/pyswift-spacevr-stable/Scripts/spacevr/receive_file.py
9103c08f4767851f8eb5f165029a15d06b169539
[ "CC-BY-3.0", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
SpaceVR-O1/OverviewOne
d87a7eb7d7554d0d0b2fe6c14c783db2d5887ee0
457cc7665854b0fdbf3f203c2f4a66218bbde28b
refs/heads/master
2021-05-04T10:30:07.120653
2017-09-20T02:40:14
2017-09-20T02:40:14
53,979,990
8
3
null
null
null
null
UTF-8
Python
false
false
1,988
py
#!/usr/bin/env python import os, sys, time, traceback, argparse sys.path.insert(1, "../../Packages") from swiftradio.clients import SwiftRadioEthernet from swiftradio.clients import SwiftUDPClient import swiftradio __author__ = "Ethan Sharratt" __email__ = "sharratt@tethers.com" __company__ = "Tethers Unlimited Inc." ...
[ "blaze@spacevr.co" ]
blaze@spacevr.co
208410d3e358a10f563e5f103349fd22130cf43d
aae3d55b9d2004e04c5917a31408384a4269a425
/astrodash/save_binned_templates_as_arrays.py
46d645225b46ac3a4d4829533285989d5f651758
[ "MIT" ]
permissive
daniel-muthukrishna/astrodash
5b1ee330d2ae2d9cc43f5c52d0765359aa40673f
acc241ad73133894d93ef16733cf0f1fb4ca7b87
refs/heads/master
2023-04-04T03:27:07.480846
2023-03-22T17:02:08
2023-03-22T17:02:08
75,250,754
23
12
MIT
2019-04-26T15:27:30
2016-12-01T03:19:18
Python
UTF-8
Python
false
false
4,018
py
import numpy as np import pickle import os from astrodash.create_arrays import AgeBinning from astrodash.helpers import temp_list from astrodash.combine_sn_and_host import BinTemplate def create_sn_and_host_arrays(snTemplateDirectory, snTempFileList, galTemplateDirectory, galTempFileList, paramsFile): snTemplates...
[ "daniel.muthukrishna@gmail.com" ]
daniel.muthukrishna@gmail.com
ff85b831b8dfe0bcee14cbae20135ccf3d9dfd32
5460691645f561c30681299cd132e8ae3ccfa847
/utils/nms_wrapper.py
6336096a4c8505c995584b648f11a5b40b28d60c
[]
no_license
praveena2j/Object-Detecion-Based-on-RCNN
f8689a284724e8eb70ebf27549bfb3e52095df8a
f3763c8c73829062b1abefeda3700735cf9ab669
refs/heads/master
2022-11-10T00:27:25.375987
2019-05-01T15:23:49
2019-05-01T15:23:49
183,558,249
0
0
null
null
null
null
UTF-8
Python
false
false
4,170
py
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE.md file in the project root # for full license information. # ============================================================================== import numpy as np #import pyximport; pyximport.install() #from utils.nms.py_cpu_nm...
[ "noreply@github.com" ]
noreply@github.com
c64b4f28b319eb751bfaa33a16a1ae60a775ece1
58d270726e4bbafebe7c3b4233939f1ff1a47864
/Aquisition/MVC/object_delegate.py
7f8696d69ed3c348bad2105cd0abe64045b2a15c
[]
no_license
zigorrom/PyFANS
9c85f5e5c7ede9f48573aff3619f43810c7e2bb0
7cdfd13cff562393fdef6d78db57cf1672de477e
refs/heads/master
2020-09-21T22:45:24.030663
2019-06-22T08:55:29
2019-06-22T08:55:29
67,825,964
1
0
null
null
null
null
UTF-8
Python
false
false
36,675
py
# -*- coding: utf-8 -*- #pylint: disable-msg=C0103,C0301,W0511,C0111,C0321,W0614,W0401,W0611,W0212 """ Created on 29.11.2010 @author: popravko """ from PyQt4 import QtGui, QtCore from object_model_view_constants import ObjectModelViewConstants from object_model_view_utils import ObjectModelViewUtils from monument.db...
[ "https://github.com/zigorrom/DigitalAnalyzer.git" ]
https://github.com/zigorrom/DigitalAnalyzer.git
fe859e987e409c2143886230f1b8476b384bfbf2
3663768129f930919451a3721b3dd081bf82512c
/selectionSort.py
bbbacdc193f1046a2f9b3039e220162a75b632ac
[]
no_license
dodo5575/scripts
07b1e4219991319eead42499d0f492aeebbc2b35
864a83591df3c593b761af2a1a3e12bf7db806ee
refs/heads/master
2020-04-14T02:27:45.729595
2016-10-24T20:09:17
2016-10-24T20:09:17
50,631,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
#!/usr/bin/env python # This script sorts a (N x 2) array. # Usage: python selectionSort.py input # Chen-Yu Li cli56@illinois.edu # 2014/3/5 ## Standard module import sys, os import numpy as np import re ## User's own module sys.path.append('/home/cli56/scripts') import ReadData ## Read input print "Start loadi...
[ "dodo5575@gmail.com" ]
dodo5575@gmail.com
2cfa6771adfad25d67580278d8e90dd45946b759
046207f434966462fff55f634ba5a450d2208534
/CodeUp/1277_0200.py
d529aa1563e5cd2f9c1f8347f1cc93d651e5b6cf
[]
no_license
sungsikyang92/pythonStudy
e293e1ac8af443809f840ccee7052a8f57480b70
26522b5e232ccd9ab25c52122d254aa7249a8fdf
refs/heads/master
2023-07-04T16:58:40.318976
2021-08-04T02:00:27
2021-08-04T02:00:27
365,398,522
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
count = int(input()) nums = list(map(int, input().split())) print(nums[0],nums[int(count/2)],nums[-1])
[ "sungsik.yang92@gmail.com" ]
sungsik.yang92@gmail.com
ecaafa8cae35fafaa86eced2f153ffe26d0043c8
22cee2ff56a1a27cd0e3df3d15f88f038359e04d
/mysqlcheck/wsgi.py
c24d25362d6774b402de41e459a1e59425757aa9
[]
no_license
linux-devops/inception_web
432363cc5f71b66521b4a53ccbb078ed4eafac21
0eca72d8565a26f81fce8474b2ead17f5a3b3cce
refs/heads/master
2021-01-12T18:06:03.613166
2016-10-20T01:38:31
2016-10-20T01:38:31
71,324,580
1
0
null
2016-10-19T06:09:47
2016-10-19T06:09:46
null
UTF-8
Python
false
false
1,142
py
""" WSGI config for mysqlcheck project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION...
[ "chengzhen.yu@weimob.com" ]
chengzhen.yu@weimob.com
991bcaf8cb990d983c035fe00885e2558db45090
8ac3c90d814d3b6702190f6f1b6eef49ba35bcae
/tmp1.py
573da33b1b018c0c86e377929a6f9bb0d18ebf6b
[ "MIT" ]
permissive
oskaerd/BLE_Mesh
67b73f8be80dd974846811463c988e41aaad79cb
1a980b525dca915beecd32af19259099adf2322f
refs/heads/master
2021-11-29T07:53:57.183402
2019-01-28T21:12:27
2019-01-28T21:12:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import socket import _thread import atexit external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) print('socet created') PO...
[ "oskbag@gmail.com" ]
oskbag@gmail.com
c288c52f8ee60885fe587a639279c2976ed3966e
9d67cd5f8d3e0ffdd4334a6b9b67c93f8deca100
/configs/example_old_map_1228.py
5fa96132f84104c6dbd4a5e0ca228a05b0c82a8a
[]
no_license
SiyuanLee/caps
0c300a8e5a9a661eca4b2f59cd38125ddc35b6d3
476802e18ca1c7c88f1e29ed66a90c350aa50c1f
refs/heads/master
2021-06-20T22:48:16.230354
2021-02-22T13:21:57
2021-02-22T13:21:57
188,695,489
1
2
null
null
null
null
UTF-8
Python
false
false
5,754
py
""" This is the example config file larger lr beta no bias lower explr comment: too small! not target beta """ import numpy as np # More one-char representation will be added in order to support # other objects. # The following a=10 is an example although it does not work now # as I have not included a '10' object yet...
[ "lisiyuan@bupt.edu.cn" ]
lisiyuan@bupt.edu.cn
fb30f63ea2395b0dcca9405b88c567a7a4bb60d6
e7dd192123f404367e9623a357366643742fa723
/kubernetes/test/test_scheduling_v1beta1_api.py
700a3b463994104380586917c18869a0959fe020
[ "Apache-2.0" ]
permissive
itholic/python
1772725582f28af445efb233eca6c9139da3ae49
dffe577a062e17057270ae80fa677ffd83e9d183
refs/heads/master
2020-09-12T08:59:16.847326
2019-11-15T20:40:32
2019-11-15T20:40:32
222,375,164
0
0
Apache-2.0
2019-11-18T06:05:45
2019-11-18T06:05:43
null
UTF-8
Python
false
false
1,718
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.7 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "haoweic@google.com" ]
haoweic@google.com
14a9a439e418179da03d34626f60523f515e90d1
99689d79e95d4bab14934fe0f4399e7fe28dbaf4
/plot3d/plot3d.py
070496649709e4031ca5f4728cda3fa617b1a0da
[]
no_license
darksun190/plot3d_Vitesco
926d4092e65df0e80f2ef309bba3a9a04b9f4a0f
684dfe5d5cb3bb1d26d563163634c84099ba5f45
refs/heads/master
2020-08-16T04:19:25.062995
2019-10-16T04:02:07
2019-10-16T04:02:07
215,453,680
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D n_angles = 180 radius = 65 angles = np.linspace(0,np.pi / 6,n_angles) x1 = radius * np.cos(angles) y1 = radius * np.sin(angles) n_z1 = 80 n_z2 = 40 n_z3 = 60 h_z1 = 10 h_z2 = 100 h_z3 = 120 z1 = np.concatenate((np.linspace(...
[ "darksun190@hotmail.com" ]
darksun190@hotmail.com
1d477bdc2d24efe805ae12ada9589a200b99ac7d
f2658c4bd7f833ace25ac2b63e88317b05f4602d
/2017 July/2017-July-11/st_rdf_test/model2/RelationsConstruction.py
80db921a3a777c4028c6f12a17dbc2aa3c535f55
[]
no_license
xiaochao00/telanav_diary
e4c34ac0a14b65e4930e32012cc2202ff4ed91e2
3c583695e2880322483f526c98217c04286af9b2
refs/heads/master
2022-01-06T19:42:55.504845
2019-05-17T03:11:46
2019-05-17T03:11:46
108,958,763
0
0
null
null
null
null
UTF-8
Python
false
false
3,410
py
#------------------------------------------------------------------------------- # Name: RelationsConstruction model # Purpose: this model is used to mapping the # columns: [ ] # # Author: rex # # Created: 2016/01/20 # Copyright: (c) rex 2016 # Licence: <your licence> #-----------...
[ "1363180272@qq.com" ]
1363180272@qq.com
2b9c41b7c02effb049ec061e9907bd1df67be817
0d97fe84550145e0a80fd0fd336857caac724ea3
/scrapy_58_ganji/源码/ganji/ganji_jiangsu/6/ganji/settings.py
1ebf3fb95926dabe0e24e8e772e6b29f08767dd4
[]
no_license
caiyingyi/scrapy_58_ganji_
311f9061c903ba34821967ece970dd2d946dc1bb
23567902399cb06e5e76232401b4eaa066ebb757
refs/heads/master
2021-01-21T20:56:25.963166
2017-05-24T12:53:36
2017-05-24T12:53:36
92,291,279
2
5
null
null
null
null
UTF-8
Python
false
false
3,380
py
# -*- coding: utf-8 -*- # Scrapy settings for ganji project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/t...
[ "caiyingyi902@163.com" ]
caiyingyi902@163.com
d706b671b513d6c46ac6d9c2c739f89f1b6c2853
7a88fc18f30d5dd3ac935877d4d9268a56c296be
/di_website/publications/migrations/0039_audiovisualmedia_featured_media.py
1fb52c70bc4c2b00925255998041d9bd5bcf5036
[]
no_license
devinit/DIwebsite-redesign
745a480b7ba0feffa34dc664548ee4c5a7b4d470
9ec46823c67cdd4f35be255896bf30d8f6362666
refs/heads/develop
2023-08-30T04:06:20.951203
2023-08-07T12:06:07
2023-08-07T12:06:07
184,287,370
1
0
null
2023-08-28T14:34:57
2019-04-30T15:29:25
HTML
UTF-8
Python
false
false
611
py
# Generated by Django 2.2.4 on 2020-05-03 16:38 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailmedia', '0003_copy_media_permissions_to_collections'), ('publications', '0038_merge_20200503_1638'), ] ...
[ "debukali@gmail.com" ]
debukali@gmail.com
f2501939e36bbdece2eb8e51d00a77b47c7b8aa2
9cca5377b6a124158604255c6aa2e03be70209ac
/script/term_count/extract_feature_multi.py
246b3c617da5956ef5c7711feeb43a960f23582e
[ "Apache-2.0" ]
permissive
Trietptm-on-Coding-Algorithms/flash_feature_extraction
dd9fd36f590f3c9b4d1c44594a0cc90104b62e24
29226a4c0e81240fd5c53fd9c80b0f6b0f5a8f95
refs/heads/master
2020-05-07T22:02:11.923829
2018-04-28T09:41:39
2018-04-28T09:41:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,777
py
import os import time import pdb import subprocess import json import collections import sys import time import datetime from multiprocessing import Process, Queue import decimal from decimal import getcontext, Decimal #from split import SplitHelper queue = Queue() def produce_file(dir_path): all_files = [] ...
[ "michael_du@ubuntu-16.04-server-md" ]
michael_du@ubuntu-16.04-server-md
4db43b3627ce71b65078c3610a3ad71319c4c739
a512b8893b0d2de827d6292e810f3a98b41e132c
/Week4/Day6/Solutions/Python/prog3.py
e8ebb18c93788e86255dbf1b31875bd34116bfa1
[]
no_license
Audarya07/Daily-Flash-Codes
d771079fd0d470e2d3e05679f17f32fb64b4f426
cf96ca2b1676b038e243fac67be778381492ffeb
refs/heads/master
2022-11-06T15:37:47.180729
2020-06-25T16:20:55
2020-06-25T16:20:55
274,960,651
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
for num in range(1,101): sum = 0 for i in range(1,num): if num%i==0: sum+=i if sum==num: continue else: print(num,end=" ") print()
[ "audiuttarwar2000@gmail.com" ]
audiuttarwar2000@gmail.com
ad52f3a7125dd0292edf58325bcec219f7496f8f
820792aa7c20a6947e63987bb3aea6bc0b36ece6
/simulaDecorator.py
59941f7e2420489424f8f47d5c47699d713c132f
[]
no_license
lualmeidasouza/python
30febd04e3fe68dbe5b112741a98342a43897a25
e705db936ddc4bf7664017afd6a1dc3a40103a17
refs/heads/master
2020-12-10T12:07:30.575844
2020-10-28T02:20:55
2020-10-28T02:20:55
233,589,181
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 20 10:11:46 2020 @author: Luciana """ def meu_decorador(func): def empacotador(): print('Antes da chamada da função') func() print('Depois da chamada da função') return empacotador @meu_decorador def diga_onde(): print...
[ "noreply@github.com" ]
noreply@github.com
5abefd1028b6cccfdaa7eb87f9bf76914e4e80f7
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc063/A/answers/322689_irin0890.py
4d6bb223af0fd8d70f6f64a17ba23573afd95cd4
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
a, b = map(int, input().split()) if a+b >= 10: print('error') else: print(a+b)
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
f72184d6b4bb44ad7c3ada178c36203581a0126a
582a4cc9a5a98b68ae4c9554d9f2509218f01b2b
/FortexSrl/FortexSrl/wsgi.py
24fd13592a801ae503ee59502b3fc94316d78cd1
[]
no_license
sbritos58/FortexSrl.
82979faf0ec208f07ae8e1159edc0e578d35540c
cec2ffbd638acd749d7adf623b537a07a0fd31be
refs/heads/master
2022-12-26T22:06:26.366216
2020-09-02T19:53:32
2020-09-02T19:53:32
253,104,346
0
0
null
2022-12-08T07:28:16
2020-04-04T21:43:40
Python
UTF-8
Python
false
false
395
py
""" WSGI config for FortexSrl project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "s.britos@hotmail.com" ]
s.britos@hotmail.com
c2857c69467516c3483fe9bcbd8bdc698496353f
82d7bfc98ee4531c06e0f6dd37fc9675cd9b6726
/presentation.py
afa8acbf1d7001a8b8b15f32cf24abea040ac516
[]
no_license
fonstelien/windows-exploder
4eb2ad557fe0390bbaf20e545769f2b82e12ed82
9fe5de6fe7e1f8cc4358d07d17cdef1b4763785b
refs/heads/master
2020-05-31T12:23:28.438185
2019-08-28T19:20:30
2019-08-28T19:20:30
190,278,760
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
#!/usr/bin/env python3 import urwid import walker def init_widget(): banner = urwid.BigText(markup=("programpresentation", "Windows Exploder"), font=urwid.HalfBlock5x4Font()) banner = urwid.Padding(w=banner, align="center", width="clip") signature = urwid.Text( markup=(...
[ "olav.fonstelien@gmail.com" ]
olav.fonstelien@gmail.com
400feaffc50ee73a60b61ba5d967b5143b6c12d4
b9fe26fd53475c5b60eece092712a20822e95c43
/tools/create_test_alarms.py
8253284cc3717b13b631cef51fb8285ccd319c3a
[ "Apache-2.0", "MIT", "ISC", "CC0-1.0" ]
permissive
ifit/aws-media-services-application-mapper
f2fa065691fb00ad0e6b957662e137548b72bcd6
e508836f9eac318f3da26f4c57cc40cc272a5e94
refs/heads/master
2022-11-28T07:04:23.208576
2020-07-13T23:23:59
2020-08-04T00:12:23
279,688,382
0
0
Apache-2.0
2020-08-03T23:22:16
2020-07-14T20:39:21
null
UTF-8
Python
false
false
1,217
py
import boto3 import copy import time import json ALARM_TEMPLATE = { "AlarmName": "1193839-0 Active Alerts", "AlarmDescription": "1193839-0 Active Alerts", "ActionsEnabled": True, "OKActions": [ ], "AlarmActions": [ ], "InsufficientDataActions": [], "MetricName": "ActiveAlerts", ...
[ "timt@ifit.com" ]
timt@ifit.com
07ff6980884d70cacc711dfc287bfbf96c7c733e
f4b694982027ac362de1e9d6755f2943d0355a06
/DECSKS-03 -- Convergence of FD formulation of high order CS/pyfiles/plots_df9_comparison.py
6ef2da6f2b41cabe799772b8df49ec3244e370d7
[]
no_license
dsirajud/IPython-notebooks
55275e44191c16f5393571522787993f931cfd98
6ad9d978c611558525fc9d716af101dc841a393b
refs/heads/master
2021-01-15T15:33:57.119172
2016-07-13T20:08:29
2016-07-13T20:08:29
35,054,473
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import matplotlib.pyplot as plt import numpy as np from convergence_routines import * Nx = 2488 x, dx, L = domain(_Nx = Nx) L2error, df9_approx = FD_derivative_matrix_formulation(_dn = 9, _p = 3, _Nx = Nx) df9_exact = df9(x) plt.plot(x,df9_exact, label = 'exact df9', linewidth = 3) plt.hold('on') plt.plot(x,df9_appro...
[ "sirajuddin@wisc.edu" ]
sirajuddin@wisc.edu
c8e8653a9579078797ccc3d7b99b52d659ca1637
f087f6be63379ef532ae4125cc5fc377ea4a606e
/admin.py
f39b1822720649f958a405e4f1439e002d0e8b66
[]
no_license
itchybumDev/EmployMeBot
e6a926a91f7f8f31c7cac4e8cae54379bce6dfcb
5233a05f3fd15fda78548b1c74d883da81a114d2
refs/heads/master
2023-01-12T06:01:13.760866
2020-11-18T14:09:00
2020-11-18T14:09:00
305,191,301
0
0
null
null
null
null
UTF-8
Python
false
false
4,462
py
import csv import pickle from model.Job import Job from model.Seeker import Seeker from model.User import User user_dict = {} dev_team = [] job_dict = {} seeker_dict = {} def loadDataOnStartup(): loadUserDict() loadDevTeam() loadJobDict() loadSeekerDict() def saveDataOnShutDown(): saveUserDict...
[ "buffolio.bot@gmail.com" ]
buffolio.bot@gmail.com
6ee2719c8747fe7dbd0c2eee592c976c2dc46ea6
bede4adbf0438fd36131bfe200f218a585b7eecf
/www/downloads/py/python_light_control/main.py
c2512114c0d4951aeead9b4eaddd24e85f7f269c
[]
no_license
tomasmo-dev/tomasmo-dev.github.io
380d5fdbcdc93f227d11675b2fdf7f3a75846240
59bbfef4e3e1f11413b900edf4535de38fb4355b
refs/heads/master
2023-03-05T09:04:37.592484
2021-02-16T19:12:33
2021-02-16T19:12:33
333,893,917
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
import threading import time import serial from pynput.keyboard import Key, Listener lastData = None ar = serial.Serial('COM3', 9600, timeout=0.1) def on_press(ser): global lastData if lastData != 'S': lastData = 'S' ser.write(b'S') def on_release(ser): global lastData if l...
[ "tomasmo@email.cz" ]
tomasmo@email.cz
6a90cbd5a6753bbcd0f5304a4dbf439941b2315a
bcc86ffc98d542c4c993823e6a03cdaa51640081
/softmax.py
8c25a611839cf26d2a0ccee98c1daa9125b171d3
[]
no_license
Ikerzly/zly
8ec5192c6ef7142a7330acdc0a49e32541b9bccb
b8b5b633057c7a73194024005f0a5bc8702bf69d
refs/heads/master
2020-03-28T19:49:33.137249
2018-09-16T14:53:31
2018-09-16T16:47:10
149,013,103
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#!/usr/bin/env python3 #-*-coding:utf-8 -*- import numpy def softmax(inMatrix): m,n=numpy.shape(inMatrix) outMatrix=numpy.mat(numpy.zeros((m,n))) soft_sum=0 for idx in range(0,n): outMatrix[0,idx]=math.exp(inMatrix[0,idx]) soft_sum+=outMatrix[0,idx] for idx in range(0,n): outMatrix[0,idx]=outMa...
[ "lmk881111@yeah.net" ]
lmk881111@yeah.net
edcaf8f371f0398ce72d8397dff48c5609fbabfb
dcba99bde52c0d9bd4727e3217030ce0b54622e3
/listings/migrations/0001_initial.py
95a8d09cf558d5f42ae796d9e56ea8fa7c2b4a65
[]
no_license
waldo7/btre_project
8ebfcdc8e3fbec79f805a144145bfb1d5b1c7382
abbf4cc7d9f4748217c4e665f25ed30f5a693c12
refs/heads/master
2020-04-16T03:59:37.615841
2019-01-11T14:30:17
2019-01-11T14:30:17
165,251,906
0
0
null
null
null
null
UTF-8
Python
false
false
2,276
py
# Generated by Django 2.1.4 on 2019-01-04 01:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('realtors', '0001_initial'), ] operations = [ migrations.CreateModel( name='...
[ "waldo.ramones@gmail.com" ]
waldo.ramones@gmail.com
12b757cc2f3e235b84708079863eabbca176c0ea
78ba7bb51845bbe3f57dff251665b21ad2605e3b
/allennlp/data/dataset_readers/semantic_dependency_parsing.py
ee68a452db5b49a7aff358491b310f47e8a6541d
[ "Apache-2.0" ]
permissive
shaleenx/allennlp
4352f6d79585a5690c22e81746b07f2dafdb5a69
410402c041366c905aa4a236363b374f0d314633
refs/heads/master
2020-09-21T04:40:00.063999
2020-01-15T18:48:25
2020-01-15T18:48:25
224,680,882
0
0
Apache-2.0
2019-11-28T15:23:32
2019-11-28T15:23:31
null
UTF-8
Python
false
false
4,438
py
from typing import Dict, List, Tuple import logging from overrides import overrides from allennlp.common.file_utils import cached_path from allennlp.data.dataset_readers.dataset_reader import DatasetReader from allennlp.data.fields import AdjacencyField, MetadataField, SequenceLabelField from allennlp.data.fields impo...
[ "noreply@github.com" ]
noreply@github.com
4e5b3fd3ae5d0943fdd2fedb0332f1298f319bb1
c0d52f073d5d0bb115332ac568ee7b6047a01d13
/flask_websub/errors.py
41cc39ef023e93f056a4ab40b6c1a68e017636fa
[ "ISC" ]
permissive
marten-de-vries/Flask-WebSub
3008335107fc929a30645cd37fa1cb9b046917cb
1853582a7f60e79c9ac1bd03b0bf30b36dab77f6
refs/heads/master
2023-08-21T03:42:07.637228
2021-03-06T22:02:13
2021-03-06T22:05:47
101,514,291
20
4
ISC
2019-02-19T22:18:33
2017-08-26T21:29:45
Python
UTF-8
Python
false
false
408
py
class FlaskWebSubError(Exception): """Base class for flask_websub errors""" class DiscoveryError(FlaskWebSubError): """For errors during canonical topic url and hub url discovery""" class SubscriberError(FlaskWebSubError): """For errors while subscribing to a hub""" class NotificationError(FlaskWebSub...
[ "m@rtendevri.es" ]
m@rtendevri.es
c627cb646fdba505642d346dcd6284dd907bc54f
2b82dba50d0e54eafbc17c63dd3c8fee070b04cf
/config/settings/local.py
a66e78c7052825e4cf5b4d833b61dc458c94da96
[ "MIT" ]
permissive
venkat0708/aphdstreaming
58c80bec32703d2561860d1384bd6794d884679e
8171cad90cf3abded74d5346a8a0a0a09207da87
refs/heads/master
2020-10-01T04:33:50.055516
2019-12-11T21:03:44
2019-12-11T21:03:44
227,456,441
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = True # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env( "DJANGO_SECRET_KEY...
[ "eswar0077@gmail.com" ]
eswar0077@gmail.com
d59800358316a58679932c187a9225e40f43364e
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/learningCurve/leaveOneOut/lrClassifierF.py
36c020e785dfac7d8a00613b3398404787143651
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
5,134
py
# 9 September 2019 # Kiyoto Aramis Tanemura # I modified the rfClassifier.py script to implement a logistic regression classifier. This classifier runs faster than the random forest classifier and Jun previously observed comparable results between logistic regression and random forest classifiers for the protein fold...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
d0b85feedea312ffebdaa1d99294f604d982637e
14bd724db9e1d8062abc6636414db4950920d2fa
/client_raspberry_pi/conect.py
b8a084d52f37354a4efeb84188a631868dc6a54d
[]
no_license
php5185/Electronic_Voting_System
188cc2967e4384ef7127aff88914e34c639cd169
8269f8a05eafbdb585e50722245bc989ee348e61
refs/heads/master
2023-03-04T06:24:29.807155
2021-02-18T23:53:45
2021-02-18T23:53:45
340,203,842
0
0
null
null
null
null
UTF-8
Python
false
false
10,780
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'conect.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! import time import _thread import mysql.connector as mariadb import subprocess import sys import psutil from random import r...
[ "php5185@rit.edu" ]
php5185@rit.edu
18a28d5e4e839646f65336d3d49006c5a957223d
de0584cdd6a0b452efa3c8bd0e1e43286853c814
/preprocess/huff/clean_huffpost.py
a2a2d91bc756e5a1c5826ea7fe1277733daea635
[]
no_license
johnsonice/triplet-loss
a325ecd229b5346aaca4cb0556bbc18e9e4eae26
71c13dfa7631ec93c564d9dc9da4fcf667eb9500
refs/heads/master
2023-08-24T17:49:01.593415
2021-10-23T16:27:26
2021-10-23T16:27:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
import json from random import shuffle #cleaning up text import re def get_only_chars(line): clean_line = "" line = line.replace("’", "") line = line.replace("'", "") line = line.replace("-", " ") #replace hyphens with spaces line = line.replace("\t", " ") line = line.replace("\n", " ") ...
[ "jason.weng.wei@gmail.com" ]
jason.weng.wei@gmail.com
e736dc68900dfd50718377d0095f797ff560d0e3
c0799281d43614bf1344c4cb045e69a449a7ed24
/celeryconfig.py
94b6dfb5a3303f7f1974b283615780e2175d8ee4
[]
no_license
wonderjar/celery-example
2daf7129cdf261abf146e74e5e6bf3de961cf098
2bc771a457cc9692d183cb0192722504e256779b
refs/heads/master
2020-04-08T11:24:40.137445
2018-11-27T09:54:55
2018-11-27T09:54:55
159,304,906
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
broker_url = 'amqp://XXXX:XXXX@XXXX:XXXX//' result_backend = 'rpc://' task_serializer = 'json' result_serializer = 'json' accept_content = ['json'] timezone = 'Asia/Shanghai' enable_utc = True beat_schedule = { 'add-every-30-seconds': { 'task': 'tasks.add', 'schedule': 2.0, 'args': (16, 16) ...
[ "jarancn@gmail.com" ]
jarancn@gmail.com
a0f042399c854efeeae2f22745708993359d89e0
8a11814f757b22cacd89ae618265d6705393ba78
/amplify/agent/data/statsd.py
8c17a990d29c16671f7bda85bf50d173b786d17e
[ "BSD-2-Clause" ]
permissive
ngonsol/nginx-amplify-agent
e763bfcc82cf103b4eb2ce49269dfccaec0cb9af
c711579208465578b03dda5db40ccc7dc8f31b81
refs/heads/master
2021-01-18T03:17:04.494068
2016-05-18T20:17:25
2016-05-18T20:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,307
py
# -*- coding: utf-8 -*- import copy import time from collections import defaultdict __author__ = "Mike Belov" __copyright__ = "Copyright (C) Nginx, Inc. All rights reserved." __credits__ = ["Mike Belov", "Andrei Belov", "Ivan Poluyanov", "Oleg Mamontov", "Andrew Alexeev", "Grant Hulegaard"] __license__ = "" __maintai...
[ "dedm@nginx.com" ]
dedm@nginx.com
22e373cdfc187ba4af35252c0e3b1eec310a6a88
bfa8b019ae083d093616b933c03c6664ea484f92
/hello_devops/urls.py
9da648dd20bd16590f9df700e8fb46930d1b2e95
[]
no_license
eugenedotn/hello_devops
bfd6ea2707d38a4bca57eec210d3abb7ff45e0e0
e68d224b19ca7f5c97b9dbd584e95b870afd729f
refs/heads/master
2016-08-11T06:58:28.883422
2015-12-24T16:41:24
2015-12-24T16:41:24
48,550,197
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
"""hello_devops URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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') Clas...
[ "1fornothing1forme@gmail.com" ]
1fornothing1forme@gmail.com
3d725712e172cee8591768772262237bc21dcaae
830465731dfda87b4141546262f20d74c29297bf
/GENERAL/RADARCTF/Logo/sol.py
d32c2f2933fdf57751dd6485d243603bc52c9566
[]
no_license
jchen8tw-research/CTF
f559d7ca0e16a730335b11caeeae208c42e8bf17
f49615c24437a9cc6a2c20d6b30cb5abf7a32b71
refs/heads/master
2023-03-17T12:29:08.630613
2021-03-23T06:31:26
2021-03-23T06:31:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
import os import binascii import struct misc = open("logo.png","rb").read() for i in range(1024): data = misc[12:16] + struct.pack('>i',i)+ misc[20:29] crc32 = binascii.crc32(data) & 0xffffffff if crc32 == 0xB65879B0: print i
[ "cpr1014@gmail.com" ]
cpr1014@gmail.com
132bffaf19feddd933acb81afabaaa8c2cefbf98
bdb763414a8b35341deef2f2363c13a039ce2c32
/mysite/views.py
2a6b8dc81e359dc46067c8ee1d537d1e4a83257c
[]
no_license
sanketdeshmane/textUtils
0cc463fc656538eff271799ef7fbc2fd456af87c
7c9b9ba14667c9707f4884948352f51d4e39a506
refs/heads/main
2023-04-07T09:29:38.934689
2021-04-18T08:58:41
2021-04-18T08:58:41
359,091,291
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
# I have created this file - Harry video #17 from django.http import HttpResponse from django.shortcuts import render def analyze(request): #Get the text djtext = request.POST.get('text', 'default') # Check checkbox values removepunc = request.POST.get('removepunc', 'off') fullcaps = request.POS...
[ "sanketdeshmane@gmail.com" ]
sanketdeshmane@gmail.com
1da7a6a5dfc37dfc0b476535430b0390648ecc19
7344690ce790d0d12fc073f00633ba6d0addfd3d
/app.py
a45f2b31bf19cad14af9a4c32a2c2a47d9412622
[]
no_license
prateek-mehra/codeforces-suggester
ceaf9d6a5f129d53bb070ca740d4bc980e9f767a
db8ae5033325b8d677a65927100b68f4490c7f44
refs/heads/main
2023-03-04T17:53:00.464007
2021-02-23T13:08:08
2021-02-23T13:08:08
304,351,326
0
0
null
null
null
null
UTF-8
Python
false
false
6,811
py
from flask import Flask from flask import render_template from flask import request,redirect,url_for app = Flask(__name__) @app.route('/') def home(): return render_template('index.html') @app.route('/login',methods=["POST","GET"]) def login(): if request.method=="POST": name=request.form[...
[ "noreply@github.com" ]
noreply@github.com
28cced1675a0ffae2d057b019aba08fb43a1d2ed
1cf103334377383a0631d22124b622eb153ff2a8
/portafolio/urls.py
84bf34dc05b589bba69968af0c3bf074ce307724
[]
no_license
rarivero12/backend-A
c706ef0824edcdda4214d240d22db7bf5bcf4576
e81e7b2887036ea6e7667a57864ee740caa055aa
refs/heads/master
2020-04-25T01:23:55.588800
2019-02-26T15:28:40
2019-02-26T15:28:40
171,700,740
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
from django.urls import path from .restviews import * from rest_framework.routers import DefaultRouter from django.conf import settings from django.conf.urls.static import static app_name = 'portafolio' #Rutas predeterminadas de django rest router = DefaultRouter() router.register('polls', PollViewSet, base_name='p...
[ "rafaelarturo16@gmail.com" ]
rafaelarturo16@gmail.com
047edf652bc638394b4c798d7e16353af18c1600
3c74da0c1cb7f59e3dadb62bb6925d88e3174e65
/src/cheapatlas/pipelines/buildings_classification/__init__.py
5cfdc4101f0056485f9c776a4e71502f2d230423
[ "MIT" ]
permissive
o0oBluePhoenixo0o/CheapAtlas
c248cfe22c25e3eb73c8060626ffb76599cd93e6
467c8673b62e83514025e141c4c83efe65533a6b
refs/heads/main
2023-02-21T08:02:54.641907
2021-01-14T22:59:46
2021-01-14T22:59:46
314,072,759
3
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
# Copyright 2020 QuantumBlack Visual Analytics Limited # # 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 # # THE SOFTWARE IS PROVIDED "AS IS",...
[ "trungnnn1908@gmail.com" ]
trungnnn1908@gmail.com
7e1b2877ce3f5524c2c098b0c9778489b2b16919
6ba4a5649f375b27e0c5cf7ddc7641d661020102
/Server.py
beee2a033f668c4bbd2dc85f754c53dbbe2032f0
[]
no_license
jwall-tech/Basic-Networking-PyApp
fda85e64475025b062a079c8abc9cab7cec14235
8265e4bc947f613e2c65f8317a7c3eb716d72277
refs/heads/main
2023-07-24T09:13:24.433885
2021-09-09T19:16:16
2021-09-09T19:16:16
404,841,902
1
0
null
null
null
null
UTF-8
Python
false
false
2,462
py
import time import threading import logging import socket class Connection(): def __init__(self,server,address,connection): self.address = address self.ident = "USER "+str(address[0]) self.connection = connection self.server = server self.requestCache = {} ...
[ "noreply@github.com" ]
noreply@github.com
fcc001c385ef8e0f79744742ed86cd4dc56be772
2878ea8c4d64842917c4ad9da7599db1b424a007
/test/conftest.py
fec74a890a8496f71cd0f215f8cb2ca4c1de26c5
[ "MIT" ]
permissive
eukaryote/pytest-tornasync
664fbb219533b90f092d93110a727fd390bd45ef
9f1bdeec3eb5816e0183f975ca65b5f6f29fbfbb
refs/heads/master
2023-06-08T17:56:18.373347
2019-07-16T01:59:33
2019-07-16T01:59:33
59,433,062
24
3
MIT
2022-12-11T03:45:38
2016-05-22T20:33:06
Python
UTF-8
Python
false
false
182
py
import pytest import tornado.web from test import MainHandler pytest_plugins = ["pytester"] @pytest.fixture def app(): return tornado.web.Application([(r"/", MainHandler)])
[ "sapientdust+github@gmail.com" ]
sapientdust+github@gmail.com
56890908acd23b1f2928c6955e447115bdf7bb0c
f3836aefad8f2565508602a5cf6a04952a2b8b8a
/underliner/z-Archive/canvas-test.py
2a4fd9762d12dcc61fb14cdbcf5b0ad5512f0466
[]
no_license
jtanadi/robofontScripts
c53f41806d4ace7a2cca858722b036cb2912ccca
3ac46077541125f3120c56992681d68451292b78
refs/heads/master
2021-01-20T10:55:12.811172
2018-11-02T12:06:09
2018-11-02T12:06:09
101,657,892
8
1
null
null
null
null
UTF-8
Python
false
false
1,167
py
from mojo.canvas import Canvas from vanilla import * from fontTools.pens.cocoaPen import CocoaPen from mojo.drawingTools import * f = CurrentFont() g = f["g"] class GlyphWindow: def __init__(self): self.size = 0.25 self.w = Window((400, 400)) self.w.slider = Slider((10, 5, -...
[ "jesentanadi@JesenTanadi.local" ]
jesentanadi@JesenTanadi.local
aa47fb7c1e07c0d30da339dcd48ee80d105fa369
1965f5f6170c2ac250136bf6b250a4823224dd1c
/info/modules/index/views.py
051a534a50496cb1e9aae85f74a6eb74318e965a
[]
no_license
ctxuege/information27
fa815e9a88358116b6c516cea176c893bf9d979c
fecc5bc42a01261b24abaf5b6b4eeb769b83c69a
refs/heads/master
2020-09-30T13:46:15.748943
2019-12-13T09:46:12
2019-12-13T09:46:12
227,299,710
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from . import index_blu from info import redis_store @index_blu.route('/') def index(): # 向redis中保存一个值 name itcast redis_store.set('name','itcast') return 'index'
[ "c921967783@qq.com" ]
c921967783@qq.com
a93537878ffd806c18c1610a412cc93ae33cd137
ef91b74131b8791800d2365982edbfaf515ef54a
/day5/02_mechanicalsoup/ex04_ms_bruteforce.py
0dc8e5c55602be49f9e89abf437c845b588d7a1a
[]
no_license
akatkar/python-training-examples
ec749f58698fc1cfa458246ce11069f94d25027e
8afa2e347c079a84740f4559e78c1be55eed5226
refs/heads/master
2020-05-16T03:32:22.613770
2019-04-22T09:15:14
2019-04-22T09:25:17
182,726,662
1
1
null
null
null
null
UTF-8
Python
false
false
1,188
py
import argparse from getpass import getpass import mechanicalsoup def bruteforce(username, password): browser = mechanicalsoup.StatefulBrowser() # browser.set_verbose(2) browser.open("https://github.com") browser.follow_link("login") browser.select_form('#login form') browser["login"] = user...
[ "alikatkar@gmail.com" ]
alikatkar@gmail.com
b01c493823be9345a6df864e89c3add6851675a8
ff4d64f0a349ecef865c75ba4fc955eec2d407db
/app/parser_engine/pySBD/pysbd/lang/hindi.py
e29bf38f6e416832886e3524123d45eaf6241a4c
[ "MIT" ]
permissive
SemanticSearching/SSApp
87117fee17c223ffba8ca410289f3a0911b9834a
571fab6409febd4a670351b3cd25a4196a260a50
refs/heads/master
2023-08-04T15:00:29.818858
2021-09-20T22:42:46
2021-09-20T22:42:46
339,630,045
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# -*- coding: utf-8 -*- from pysbd.abbreviation_replacer import AbbreviationReplacer from pysbd.lang.common import Common, Standard class Hindi(Common, Standard): iso_code = 'hi' SENTENCE_BOUNDARY_REGEX = r'.*?[।\|!\?]|.*?$' Punctuations = ['।', '|', '.', '!', '?'] class AbbreviationReplacer(Abbrevi...
[ "wy_cloud@hotmail.com" ]
wy_cloud@hotmail.com
adf96ea220c291a473afde77e02ed5098c2524d5
2b074ab6e281ff0806711358060d2f93386625f9
/bin/test_bnn.py
cca849e47b95799028656c0fa8112996aeb9293f
[]
no_license
egstatsml/esBPS
7c1942fed00be45297d15489d03d650f84e6fa31
aeb7ccc94fd0d0e5584ba92ad7b3c3e5b5b3f209
refs/heads/main
2023-05-09T00:34:17.712951
2021-06-06T23:30:59
2021-06-06T23:30:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,428
py
import math from datetime import datetime from functools import partial import matplotlib.pyplot as plt import numpy as np import sklearn.model_selection import sklearn.preprocessing import tensorflow.compat.v2 as tf import tensorflow_probability as tfp import arviz as az tfd = tfp.distributions from tbnn.pdmp.bps i...
[ "ethanjgoan@gmail.com" ]
ethanjgoan@gmail.com
6fa0120c0dac223ee1b37a073e42edc072381ee1
617ecebd2647be1bdedf518cdb916720c828f1ea
/cfg.py
744002bcb533124765bfb1614a95e185d1f6e62c
[]
no_license
DmitryOdinoky/myAudioClassification
6756881a4f606cfeb63ab8fce8338122551c6d10
e7257dcf551419a86623ff3204985a9db9cfcac5
refs/heads/master
2020-11-29T13:34:59.181699
2019-12-26T03:00:53
2019-12-26T03:00:53
230,124,766
0
0
null
2019-12-26T02:44:59
2019-12-25T16:06:24
Python
UTF-8
Python
false
false
398
py
import os class config: def __init__(self, mode='conv',nfilt=26,nfeat=13,nfft=512,rate=16000): self.mode = mode self.nfilt = nfilt self.nfeat = nfeat self.nfft = nfft self.rate = rate self.step = int(rate/10) self.model_path = os.path.join('models', mode + '...
[ "Dmitrijs.Odinokijs@edu.rtu.lv" ]
Dmitrijs.Odinokijs@edu.rtu.lv
b7e354e619441ed94e5d37f443d710fd7e20347c
b78fa7520e6ec806fb00f64162d8e704616ac3a9
/fractals.py
c492500ba873a31971833c981361f3c7ca5a4dc0
[]
no_license
Dragneel7/fractal-assignment
252b9bd4bc44f28ae3c7ce833da71be28f24f5d1
e648c5bf0d9e85160950a82576bf85fa307daa20
refs/heads/master
2020-04-20T16:29:29.354696
2019-02-03T12:59:30
2019-02-03T12:59:30
168,960,298
0
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
import pygame, math, sys, time iterations = int(sys.argv[1]) # No. of iterations to run the fractal generating algorithm. pygame.init() # Create a new surface and window to display the fractal tree pattern. surface_height, surface_width = 1200, 1000 main_surface = pygame.display.set_mode((surface_height,surface...
[ "sainisurya1@gmail.com" ]
sainisurya1@gmail.com
905a3a7e7df6433808cdaee54c2a2cd0898303da
a3dea9386e6d061b09de7774a57d80f465470463
/pyLib/footprintTools.py
fb3b66f59247454a20e0460e9fadb6ebae608ec0
[ "MIT" ]
permissive
biglimp/P4UL
37934122f3315fdf809817d62d8515c577bc6315
e08c7952d0b851b61ed802356383d79ebe616592
refs/heads/master
2020-05-18T23:35:26.112077
2019-01-04T15:58:15
2019-01-04T15:58:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,182
py
import operator import numpy as np import sys ''' Description: Author: Mikko Auvinen mikko.auvinen@helsinki.fi University of Helsinki & Finnish Meteorological Institute ''' # =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* def writeNumpyZFootprintRaw( filename, arr ): fstr = filenam...
[ "mikko.auvinen@gmail.com" ]
mikko.auvinen@gmail.com
9cdc5953fa52c0c13a48fd139f2abf63be4bcdb2
95777f5257f00aa982d94812f46658ace2e92bd2
/pytorch/pytorchcv/models/model_store.py
3ddbf0ceb2ababece6f08a706124b80d1c589957
[ "MIT" ]
permissive
yangkang779/imgclsmob
ea2c1f9223a3419375e8339c7e941daba69a56a7
9d189eae8195d045dfb4b25bec2501b2c42a154a
refs/heads/master
2020-05-07T08:16:23.658714
2019-04-08T16:20:33
2019-04-08T16:20:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,684
py
""" Model store which provides pretrained models. """ __all__ = ['get_model_file', 'load_model', 'download_model', 'calc_num_params'] import os import zipfile import logging import hashlib _model_sha1 = {name: (error, checksum, repo_release_tag) for name, error, checksum, repo_release_tag in [ ('alexnet', '2...
[ "osemery@gmail.com" ]
osemery@gmail.com
db1d4fa197ecdb2072bea925cb065fb2266a9d7c
1d81fbc4e62528ae3aed1bd378f1885216b93fe2
/parrot_mania/parrots/models.py
bca58c5d80b2c80b5b109aa1f57f4dd661e698b2
[]
no_license
JoosepAlviste/parrot-mania
20fbb0da1ed8a3841d6955bb8bfd0e7bf02fdd15
88100cfddd8ee968d2a7871829e908025a11915c
refs/heads/master
2022-12-10T20:37:32.031277
2019-04-08T07:39:52
2019-04-08T07:39:52
161,609,321
2
0
null
2022-12-08T05:01:34
2018-12-13T08:42:48
JavaScript
UTF-8
Python
false
false
202
py
from django.db import models from accounts.models import User class Parrot(models.Model): name = models.CharField(max_length=255) link = models.TextField() user = models.ForeignKey(User)
[ "joosep.alviste@gmail.com" ]
joosep.alviste@gmail.com
4fde42aa00afae2430b0304d259e2ba046fa2021
439e4f5624c6dd03cb9bcab8ab995e4fc0711d4b
/WebScrape.py
753cde2d0bf6a8d2dabeef5b73923e1d7a9a21ee
[]
no_license
IamAono/PriceChecker
dabb2b46513ee92b4a874ae29f783763a2d5992e
1367ee7f77e891d8aede4c703f49d66356651772
refs/heads/main
2023-03-26T04:18:18.916244
2021-03-27T01:39:20
2021-03-27T01:39:20
310,997,761
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from Item import Item import pickle import time options = webdriver.ChromeOptions() options.add_argument('--headless') # so...
[ "43483411+IamAono@users.noreply.github.com" ]
43483411+IamAono@users.noreply.github.com
5c7e847bfc504d35d735736a91de4edeb6ad63e0
112a3e68276cbf1ac3b1d62c62689ebb9fba6d33
/src/main/domain/APICall.py
350bfb95478a20460fd250216b8f5030871e594e
[]
no_license
continueing/python_based_cohort_analysis_system
c2865f62b7dab4c2d92505df4e09b3ab5660a968
e296feb1c0806a9a2e895dcd0b4d9911408f2db3
refs/heads/master
2021-01-19T03:11:22.526883
2014-06-19T04:39:28
2014-06-19T04:39:28
20,987,775
0
1
null
null
null
null
UTF-8
Python
false
false
5,148
py
from datetime import datetime import json from src.main.util.TimeFormatter import TimeFormatter __author__ = 'continueing' class APICall(): JSON_PARM_URL = 'path_name' JSON_PARM_CREATED_DATE_TIME = 'created' JSON_PARM_PARM = 'request_params' TYPE_RECOMMENDATION_CLASSES = 4 TYPE_RECOMMENDATION_...
[ "continueing@gmail.com" ]
continueing@gmail.com
afe80cd11a5038eaaccd37b223d1d65bc39aef6c
5c09245bbb1018e9f06e322593dcb3d18d35e968
/Backend/apps/user_operation/migrations/0001_initial.py
a620767ac3ca88f904589d1d76124492443cd302
[]
no_license
alexeliecohen/Ecommerce_Platform
f8da53ba624128062dc7e42d74523778c04a8713
68aaeb099f24173868e48270e885459e9f441b2d
refs/heads/master
2022-03-17T22:10:09.040355
2019-12-04T08:43:18
2019-12-04T08:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,028
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-10-10 21:37 from __future__ import unicode_literals from django.db import migrations, models import django.utils.datetime_safe class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cr...
[ "mtldong@gmail.com" ]
mtldong@gmail.com
841f2ef6833614c53073ef654bf3a5e560e16c38
078be050b62b1179341a4775383b82b77f132d83
/src/ml_model/ml_model/pipeline.py
88f6abba30ec3731303eeb12c7a00b929b5235c3
[]
no_license
creyesp/ml_to_production
9b479940f50a2742bdc037734f0ecc932bb5aa01
33fe61701a338e7c6f516784cd8b1c9fd4e20d00
refs/heads/main
2023-02-19T22:30:49.131647
2021-01-11T18:34:44
2021-01-11T18:34:44
321,346,807
1
0
null
2021-01-11T18:34:45
2020-12-14T12:52:59
Python
UTF-8
Python
false
false
2,243
py
from sklearn.compose import ColumnTransformer from sklearn.ensemble import RandomForestRegressor from sklearn.pipeline import Pipeline from sklearn.preprocessing import OneHotEncoder, StandardScaler from sklearn.impute import SimpleImputer from sklearn.base import clone from ml_model.preprocessing import preprocessor...
[ "noreply@github.com" ]
noreply@github.com
8221dde14b547b99f9faed2041f581a2b8211915
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/storage/azure-mgmt-storage/generated_samples/queue_operation_get.py
2fe4ed0f330180c8f1b2f904034727d53e124075
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,547
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
93e3bd4b1afc9e703e039cc480c877dd003ab3e5
81d98c6ea1eb5f710a02e4f12c9e3cc044056ad8
/passwordGenerator.py
d27bdd02efd4fa13628cca31fe97f7e691c7eda6
[]
no_license
Robzabel/Portfolio-Projects
bf0170763a238ee6079c0ad6aa136a46f7860201
199cd744579268e648b7c85e5ea6acc0bf0a9db0
refs/heads/master
2023-05-07T08:15:47.747708
2021-05-26T20:14:50
2021-05-26T20:14:50
357,875,081
1
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
import string import random def gen(): # A function to generate the passwords s1 = string.ascii_uppercase # Create a variable to hold all alphabet letters in an upprecase string s2 = string.ascii_lowercase ...
[ "robzabel88@gmail.com" ]
robzabel88@gmail.com
6f4c7736b4f7b3b3be54a806fa5fed52f9e446db
e3c6dcf5a77ae0b930087bb5849352a088dbc2e4
/hamon_shu/segments/segment_03/.handlers.py
4687984f7cf378e302baf025675dc29baf63361d
[]
no_license
Catsvilles/hamon_shu
684cda44661ba18724af6719e4efc5f763c3cf61
35b377074cff9900193018446668aeb5440475be
refs/heads/master
2022-12-04T08:00:46.779614
2020-08-26T21:25:57
2020-08-26T21:25:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,913
py
import abjad handler_to_value = abjad.OrderedDict( [ ( 'violin_1_pitch_handler_three', abjad.OrderedDict( [ ('pitch_count', 38), ('chord_boolean_count', -1), ('chord_groups_count', -1), ] ...
[ "gregoryrowlandevans@gmail.com" ]
gregoryrowlandevans@gmail.com
a5383df810265e4945475896f6da240aa1c41b9e
4caf6f897a358409a9ceaa3d6175d465f1bc5383
/FYP/India/Future Forecast Model/confirm/indiafutureRNN.py
9198fd4fe2ddffe130a83ac8ba4c9aca42bc0852
[]
no_license
meenakshiramesh/FYP
b5b15bfa10b7c424331c041642419be466a37777
bb17b15bd6fd92092465fe094bbbe32c50df00de
refs/heads/master
2023-02-15T03:45:54.913957
2021-01-07T13:15:30
2021-01-07T13:15:30
326,727,518
1
0
null
null
null
null
UTF-8
Python
false
false
3,849
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 10 10:55:42 2020 @author: Aparajita Das """ # Part 1 -Preprocessing import numpy as np import matplotlib.pyplot as plt import pandas as pd np.random.seed(36) # Importing the training set dataset_train = pd.read_csv('indiafull.csv') training_set = dataset_train.iloc[:, 4...
[ "meenakshir17048@it.ssn.edu.in" ]
meenakshir17048@it.ssn.edu.in
560ba1036cedaa7535985e80ac45ea83e6c5361e
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/compute/v20201201/availability_set.py
25d7c983e0cf8a6ed9d97e871af5b85db623d5b4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,366
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
noreply@github.com
566658173d08058551db7cfbad6ea922522ea588
892b4d1b7d415d6fbdba57e9e3e7d777b63b3264
/doc11.py
f6458f84383b316f78b04134ab36ea6cd27ede62
[]
no_license
mohseenxor/python-example
ea613485c8f855ce774c65d4e839ff1a8a220387
c39f936c554675eec4c92ffa10947448852da4f1
refs/heads/master
2022-07-28T09:27:54.721573
2020-05-21T05:03:02
2020-05-21T05:03:02
265,751,402
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
def func1(): # n = 5 print("n value is ",n) def func2(): n = 10 print("n value is",n) func1() func2()
[ "mohseenkhan.pathan@xoriant.com" ]
mohseenkhan.pathan@xoriant.com
963e5689a23aee34972f31ee5ca3518d6869306f
76ff6ffe16fdb7ba10b61eaed7009f7e2e0aa40e
/gemah_ripah/merchants/forms.py
15b92122dc9a6f302277066e241116b2bfe37a3a
[]
no_license
rpribadi/GemahRipah
c5d15b07dd7c1e55497cf9ab2c70dddaeaf13be9
f9c7ddd076deed1110928844aa7f2744018846e5
refs/heads/master
2021-01-10T20:47:56.564351
2016-08-13T13:33:05
2016-08-13T13:33:05
26,705,652
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from django.forms import ModelForm from models import Merchant class MerchantForm(ModelForm): class Meta: model = Merchant exclude = ()
[ "pribadi.riki@gmail.com" ]
pribadi.riki@gmail.com
f38cf335b8fab60a2d1b2f67a4620fe3e0c47847
dfe3191eee14251b958589f9b383fd5f8798d47e
/habanero/__init__.py
7fae4d724c918f2b4ae26eb4c4d44980330b35cc
[ "MIT" ]
permissive
kyleniemeyer/habanero
39257428cc442ec764edd3616749db10af783262
6338f22f06912a4f1af5f0459ff8329906442489
refs/heads/master
2021-01-14T11:53:45.396972
2016-07-11T15:59:41
2016-07-11T15:59:41
66,299,090
0
0
null
2016-08-22T18:47:17
2016-08-22T18:47:16
Python
UTF-8
Python
false
false
1,192
py
# -*- coding: utf-8 -*- # habanero ''' habanero library ~~~~~~~~~~~~~~~~~~~~~ habanero is a low level client for the Crossref search API. Usage:: from habanero import Crossref cr = Crossref() # setup a different base URL Crossref(base_url = "http://some.other.url") # setup an api key Crossref(a...
[ "myrmecocystus@gmail.com" ]
myrmecocystus@gmail.com
7fb3bf54b02d30240863a6b82c4d95ea5980a4e8
9eb2d422156e1beed4a8b60cbced979f8aa375de
/src/AppHistory.py
77f5002e5f19e3491e031a11ab9ae416c3e7c98d
[]
no_license
songdingxx/JobApplicationHistoryManager
e7701f5b07d84f6a3dc83f32343eecb2576c4553
56f48caf2c48a384a2535c08dcfd72b8564c2481
refs/heads/main
2023-03-05T13:19:59.444398
2021-02-16T09:47:20
2021-02-16T09:47:20
339,284,482
1
0
null
2021-02-16T09:47:20
2021-02-16T04:27:28
Python
UTF-8
Python
false
false
1,692
py
from ProcessInput import processInput from Util import processString, processStringArray from ConnDB import getConnection, getDatabase, getCollection, closeConnection MONGODB_HOST = "localhost" MONGODB_PORT = 27017 DB_NAME = "ApplicationHistory" COLLECTION_NAME = "histories" VALID_OPERATION = {"insert", "count", "upda...
[ "songdingxx@gmail.com" ]
songdingxx@gmail.com
bebc257d0dcb6e0ea2cfb787f7693981a21da8a0
9880c13cbad091c22d29a83f26e65a6ee29192e9
/tmp/.venv/bin/pip3.6
14c7d811ba7308ca6e97fe975da49b575077100b
[]
no_license
kgrozis/python_automation
f2296fe50fa0e11aa48a511440aca5e4d56bc9b5
94101c3f9b34d871975c781339b87d91efe1bf80
refs/heads/master
2020-04-08T08:48:34.532264
2018-11-26T15:58:03
2018-11-26T15:58:03
159,194,940
0
0
null
null
null
null
UTF-8
Python
false
false
246
6
#!/Volumes/kgrozis/python/automation/tmp/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kevingrozis@juniper.net" ]
kevingrozis@juniper.net
0e37bf6580d3248893e8a1c0e5dd6d1ebbe57409
8efe56ee34c455a6b1336897f6d457acbc9c10f9
/tests/metarl/tf/models/test_cnn_model.py
6d8f599ade02b39db52ef608f933167b30287246
[ "MIT" ]
permissive
neurips2020submission11699/metarl
ab18d11e708bf569d76cb2fab2bcce089badd111
ae4825d21478fa1fd0aa6b116941ea40caa152a5
refs/heads/master
2022-10-15T22:03:09.948673
2020-06-11T19:22:55
2020-06-11T19:30:58
268,410,657
4
0
null
null
null
null
UTF-8
Python
false
false
6,567
py
import pickle import numpy as np import pytest import tensorflow as tf from metarl.tf.models import CNNModel from metarl.tf.models import CNNModelWithMaxPooling from tests.fixtures import TfGraphTestCase class TestCNNModel(TfGraphTestCase): def setup_method(self): super().setup_method() self.ba...
[ "neurips2020submission11699@gmail.com" ]
neurips2020submission11699@gmail.com
e12d86d370dcf165b72e5e841e08d996d6f90d10
e65d16ea1e8d412bac75a809be6d390126bdf528
/homeassistant/components/hassio/issues.py
2af0a6ed76485bddc49bf5c1300208967512a4f9
[ "Apache-2.0" ]
permissive
syssi/home-assistant
6347d57866cb16ab9d4499ad38e2be6f0399077f
fd43687833741b21221769d46b4d1ecef8a94711
refs/heads/dev
2023-08-17T09:31:52.680518
2023-06-11T14:22:12
2023-06-11T14:22:12
97,874,495
6
16
Apache-2.0
2023-09-13T06:31:21
2017-07-20T20:12:37
Python
UTF-8
Python
false
false
11,530
py
"""Supervisor events monitor.""" from __future__ import annotations import asyncio from dataclasses import dataclass, field import logging from typing import Any, TypedDict from typing_extensions import NotRequired from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import as...
[ "noreply@github.com" ]
noreply@github.com
df3e45e1b81e8ebf74ecd66d807b74856d4d4161
2672ad4d130a01fe81e3291558babd8da23a997f
/day-5 work/CLASS.py
1639825ff4c08780c222bc64880c4745328eb81a
[]
no_license
Naganandhinisri/python-beginner
04d6a577ccb5a1d847ee302c310d866111a37b8a
0cfa19077dfaf2f74f39c81062ee675e5659e02e
refs/heads/master
2020-04-19T04:11:59.041153
2019-03-29T04:37:19
2019-03-29T04:37:19
167,956,299
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
class Fruit: def apple(self): print(" good for health") f = Fruit() f.apple() # print(hex(id(f)))
[ "techops@Intern4-MacBook-Pro.local" ]
techops@Intern4-MacBook-Pro.local
5d6438c6384680b41f7cbf38f5587a3135e42999
df5bf9ab4f9b80f7ecc04838e6e26c7eff9893d0
/8ball.py
a865c8c0eb72d5da61d29c017dd5420aeeb30d33
[]
no_license
Alaska47/8ball-manager
abdbf58d97aa58ccfbe4c0c294a6ce4317b38986
dadd737af930c6aa29bea300c15bead7373b1276
refs/heads/master
2020-08-31T05:45:36.688831
2017-06-22T04:59:01
2017-06-22T04:59:01
94,393,021
0
0
null
2017-06-15T02:51:18
2017-06-15T02:51:17
null
UTF-8
Python
false
false
3,195
py
#!/usr/local/bin/python3 def selectplayer(prompt, playerlist): print(prompt) while(True): searchq = input("Search: ").lower() if(len(searchq)==0): return None # means cancel matches = [] for p in playerlist: if p[0].lower().find(searchq)!=-1: ...
[ "neilt1111@yahoo.com" ]
neilt1111@yahoo.com
e31f5d2437e8a36b3cdacb33ba5746494464b856
5c6dc206c690feb4de8599b33b442cf8ba597220
/Code Test Documents/RetrieveDataFromDatabase.py
27f4eeb95eb83858bef6ef5d5ae067128aad19c6
[]
no_license
GeorgeZaf7/Patient-Registration-System-PyQt5
3bd0eb711f8d1296c13c2ad344ff2936b239a89c
b57ae0c55097f21a78c8b9f18133334327fb9c5d
refs/heads/master
2022-07-07T03:22:12.222358
2020-03-26T12:49:24
2020-03-26T12:49:24
245,228,140
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
import sqlite3 conn = sqlite3.connect("C:/Users/Georgios/PycharmProjects/Patient_Registration_System/Patient_Medical_Records/John_Smith.db") cur = conn.cursor() #=========This is to return dates=================== '''validMonth = False while not validMonth: lookForMonth = input('Which months data? (Enter 1 ...
[ "noreply@github.com" ]
noreply@github.com
398bcbd622db6e4f7f487cbcc40cedad7c9e518e
ab4e5c960c48a751d066adfad93d6bfda23271b8
/ccs/api_methods.py
91bc10dbccacf43ba3095d0a6b23ed6845718445
[]
no_license
iburunat/doc_suomi
23cef5f4ed5000e362e0d66904b6aef9b1aea541
e9debe662df7e6be591a29943e11ba83db248c01
refs/heads/main
2023-04-17T21:22:12.268736
2021-05-13T22:45:25
2021-05-13T22:45:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
#%% from youtube_dl import YoutubeDL import requests from spotify_auth import * import pandas as pd #%% # Download audio from youtube. def youtube_to_audio(link: str, format: str): ydl_opts = { 'format': 'bestaudio/best', 'postprocessors': [{ 'key': 'FFmpegExtractAudio', ...
[ "pasoneto@gmail.com" ]
pasoneto@gmail.com
e86ffabd307890dae29d32af4e4daac4fadb1fc7
aeb06702da8b0161b87c5e7fbdd493b57c41121b
/utils_.py
e285f30e25302aabd581f30cb6978df0f142a6e3
[ "MIT" ]
permissive
1061700625/HardNet_MultiDataset
8f4dcc992f00ac53e1a873df3e8ab30da22626f8
ed9363f3561955274fa534aeff04558f230adf2f
refs/heads/master
2023-08-11T17:53:23.336536
2020-06-18T14:12:18
2020-06-18T14:12:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,249
py
# import math, numpy as np, sys, PIL, random, os, smtplib, socket, shutil, subprocess, cv2 import math, PIL, random, shutil, cv2 import torch.nn.init # import torchvision.transforms as transforms # from email.mime.text import MIMEText from PIL import Image from fire import Fire from glob import glob from os.path import...
[ "milan.pultar@gmail.com" ]
milan.pultar@gmail.com
69eab65119326b650d6f33273acdd49888f14e68
529425dd1536b6601210aa55a14a844832e06a25
/0x0A-python-inheritance/7-base_geometry.py
771287fcfd6e62fc0ee5fad51167604669f5eace
[]
no_license
guilmeister/holbertonschool-higher_level_programming
a6e6985deea72d21af65f05a5c814463287a6de4
6024909b7a4fc142f88159b021b5d482111648fc
refs/heads/master
2020-07-22T21:52:27.344312
2020-02-12T04:46:34
2020-02-12T04:46:34
207,340,511
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
#!/usr/bin/python3 class BaseGeometry: """ Empty class BaseGeometry """ pass def area(self): """ Function that prints the area """ raise Exception("area() is not implemented") def integer_validator(self, name, value): """ Function that validates ...
[ "ebg.edwardbguillermo@yahoo.com" ]
ebg.edwardbguillermo@yahoo.com