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
f60664ae99d81c1c149536b8a318aba0325490fe
24b590a60546b7c5dd5ae570b73de9694078f4d1
/detector_de_vocales.py
2cb3b0551e5136d1f56572e5c0fca480f07ece0d
[]
no_license
Eliodas/miprimerprogrma
1e75b013b1b613937fa77692ad4e545f935f98b2
cf0abb26612691f0f59e429b143190f92d09a818
refs/heads/master
2020-03-22T11:57:35.619987
2018-09-20T18:24:19
2018-09-20T18:24:19
140,007,350
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
vocales=["a","e","i","o","u"] vocales_frase=[] frase_usuario=input("Introduzca frase: ") for item in frase_usuario: if item in vocales: vocales_frase.append(item) print("Vocales = {}" .format(vocales_frase))
[ "ijperez32@gmail.com" ]
ijperez32@gmail.com
264ccf1d747e420a00b8a22c7b1db3529c65867c
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/python-spider/shuaia.py
4f3d70d1d53400532bacaf55f467f8d4bb664164
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
1,583
py
# -*- coding:UTF-8 -*- from bs4 import BeautifulSoup from urllib.request import urlretrieve import requests import os import time if __name__ == '__main__': list_url = [] for num in range(1,3): if num == 1: url = 'http://www.shuaia.net/index.html' else: url = 'http://www.shuaia.net/index_%d.html' % num h...
[ "2397955090@qq.com" ]
2397955090@qq.com
7ebf3809f66c13bb9a44a6e6f6da11692ab7c74b
1817aca734cda258cbbfd9e13fbf040d76824621
/aliyun-python-sdk-cms/aliyunsdkcms/request/v20190101/DeleteMetricRulesRequest.py
6d8233fd23f78159ba6bc9c8e1e4547043fcfd53
[ "Apache-2.0" ]
permissive
sdk-team/aliyun-openapi-python-sdk
4bd770718e70e31f19e1e322727c27ba74d9fb80
996cb07bfcf010fe3ab65daa73d26df2f3b6e97f
refs/heads/master
2022-08-04T13:11:56.729215
2022-07-25T10:01:10
2022-07-25T10:01:10
183,356,741
0
0
null
2019-04-25T04:33:24
2019-04-25T04:33:24
null
UTF-8
Python
false
false
1,185
py
# 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 # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
389cf87f3f9c3fb92c83a5b57b08662bb56f1ccc
dc47f2f6709767c0f483795e669b5b7826968157
/project/webPage/migrations/0003_comment.py
63d65a5da8f7fc213091a2a4316f2f5b783e78be
[]
no_license
edolj/projektSP
03dc7e43094804491947e863215f5e4d900fb8ab
04d83543e4fc0822d5021a0a729cc76a07384d5f
refs/heads/master
2021-01-13T08:13:28.850070
2017-01-14T17:57:13
2017-01-14T17:57:13
71,720,230
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-05 19:22 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.s...
[ "edo.ljubijankic@hotmail.com" ]
edo.ljubijankic@hotmail.com
0b01324db38b6537c084e6e7d7954b7f84f49fa4
45d1478e29cdc173085e9fe2ae092f4c71ea19f2
/retinaface/modeling/__init__.py
e09b09632129673b7c4c911168f1f58126455bdd
[ "MIT" ]
permissive
OxYunzhe/RetinaFace.detectron2
0c5f8659d17fb2e46c194dc0fcbbac7732cd54ab
3edf1c2d539763115741819bcf16816d7c2e4c91
refs/heads/master
2023-03-16T07:50:51.572555
2020-06-10T09:41:29
2020-06-10T09:41:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
''' @Copyright (c) tkianai All Rights Reserved. @Author : tkianai @Github : https://github.com/tkianai @Date : 2020-04-21 13:11:05 @FilePath : /RetinaFace.detectron2/retinaface/modeling/__init__.py @Description : '''
[ "tkianai@163.com" ]
tkianai@163.com
afdd78cc2e85a8b3dcd42bcff1d69e39aa534067
a4eeaed612f8fa75618cfb0f1668c7970d20cd48
/pacman/graphicsGridworldDisplay.py
2e69ee47cedfb33ab9034684f0f68bc062da939d
[]
no_license
KarolZerna/CodigoInicial
6140e737d87e6b92fee5fc8ad6dc87dc2ad75e76
1cc82174d59eade2b3b04175383b3f47d5083aca
refs/heads/main
2023-07-30T15:47:14.839389
2021-09-24T05:08:42
2021-09-24T05:08:42
408,992,865
0
0
null
null
null
null
UTF-8
Python
false
false
13,881
py
# graphicsGridworldDisplay.py # --------------------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including...
[ "noreply@github.com" ]
noreply@github.com
257a4c1dfc583b7528d2c1d7f10197ea6fd97379
d207691d2a4280f504d3cce55c0b07d310872e08
/fcff.py
40ed2b9673c2cad113c0358823e0df7bfff4f131
[]
no_license
alifahsanul/intrinsic_valuation_model
d3fb7409e9eb29415297b7fc78002bf93770a6c8
7da27b7de2dc3bed84a9b7608dd9f41dd586b189
refs/heads/master
2020-05-19T07:21:01.399981
2019-05-05T14:12:55
2019-05-05T14:12:55
184,895,284
2
0
null
null
null
null
UTF-8
Python
false
false
174
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu May 2 08:26:41 2019 @author: alifahsanul """ #from risk_free_rate import y5_riskfree_rate
[ "alifahsanul@gmail.com" ]
alifahsanul@gmail.com
b0b577e1d26e1a5efa30d56d3c53cf4cbfe21f3d
a04a82c28d502e09d660edae0cc21d1deb27aef6
/samples/src-py/sample1.py
4138f1ebfcd54e9a2348cc62709c4b09e49852c4
[]
no_license
tchin8/python
5756a9bb00d42044ec22e9318fe0373725a9d889
3ea553b8ea3db34b80df307a6901508b2ba8cfcb
refs/heads/master
2022-12-30T06:41:42.019588
2020-10-23T22:43:06
2020-10-23T22:43:06
294,167,836
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
for i in range(0, 10): print(i, 2**i)
[ "chin.tiffany108@gmail.com" ]
chin.tiffany108@gmail.com
718c5d6df3fbb7fa4262d036e921f1bc27fbdea6
686b1b72afb1304ee588f4c6e3303b59e50637ac
/api/v1/core/serializers.py
4b6153b46a736da7fc726b7d153c9507d5514bf0
[]
no_license
musamusa/viLogged
e8c31ac620bc29ef9051b3ed3adc6ed6b82986de
df8c8535f74627e2f694a319de656c16ee13d689
refs/heads/develop
2020-12-28T22:01:06.344242
2019-08-26T11:38:20
2019-08-26T11:38:20
23,782,381
0
0
null
2019-08-26T11:38:21
2014-09-08T07:21:58
Python
UTF-8
Python
false
false
1,375
py
from rest_framework import serializers, generics from api.serializer import UUIDRelatedField from core.models import RestrictedItems, Vehicle, CompanyDepartments, CompanyEntranceNames class RestrictedItemsSerializer(serializers.ModelSerializer): appointment_id = UUIDRelatedField(many=False) class Meta: ...
[ "musakunte@gmail.com" ]
musakunte@gmail.com
fb522f69fd58577faa2abfcb003275ff90a7558f
e12691441e55eb01e9dd82cf64af4a7240c61b91
/bookstore/migrations/0006_customer_avatar.py
3494b7387aeb0071150883d9aa0f72ad960c5370
[]
no_license
MohamadBarmo/django-blog
1e73eaa532d4a59a7f3b5fca91a719bb73947e90
bece5201c4e83426304a04660eff1e72b1f98335
refs/heads/main
2023-03-30T19:55:23.559317
2021-03-31T15:29:59
2021-03-31T15:29:59
353,382,377
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Generated by Django 3.1.7 on 2021-03-26 23:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookstore', '0005_customer_user'), ] operations = [ migrations.AddField( model_name='customer', name='avatar', ...
[ "mohamadbarmo@gmail.com" ]
mohamadbarmo@gmail.com
26b4902f81b1b2a437e25cf0a0ec40549404bd41
84e9eebb9b312311ea697483e9131f21b14c7c00
/위젯(스타트누르면 게이지차고 스탑누르면 멈춤).py
48102aac421b68520cceb72198d3b5a0849eeb93
[]
no_license
kjfdf/PyQT5
93c01c47e104f7462ca779345254a45245345fde
213978cb930d9d4b87b641bad25348919e281bae
refs/heads/master
2022-12-26T13:39:51.381849
2020-09-30T04:48:03
2020-09-30T04:48:03
295,914,057
0
0
null
null
null
null
UTF-8
Python
false
false
1,429
py
import sys from PyQt5.QtWidgets import (QWidget,QPushButton, QFrame,QApplication,QProgressBar) from PyQt5.QtCore import QBasicTimer class Exam(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.pbar=QProgressBar(self) ...
[ "kjfdf1@gmail.com" ]
kjfdf1@gmail.com
317fc2d90019d443dc720570b4df546458e02942
b115ad93e5e39b0b62a044601f9c7e41b2ed6398
/model_training/models/model_concatenated_cx.py
c878439126da0d875f444b3f54607db8a83959de
[ "Apache-2.0" ]
permissive
AdaptiveBProcess/GenerativeLSTM
0205b2fd25194fb67cdac2aa625483e62d07623f
cf0e2bee25843fa58a9710314a33778821cd92c9
refs/heads/master
2023-06-22T04:31:50.807344
2023-03-13T09:36:33
2023-03-13T09:36:33
175,622,389
23
12
Apache-2.0
2023-04-17T19:05:36
2019-03-14T12:58:05
Python
UTF-8
Python
false
false
8,966
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 28 10:15:12 2019 @author: Manuel Camargo """ import os from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Embedding, Concatenate from tensorflow.keras.layers import Dense, LSTM, BatchNormalization from tensorflow.keras.optimizers import ...
[ "38304139+Mcamargo85@users.noreply.github.com" ]
38304139+Mcamargo85@users.noreply.github.com
67794e8492a8a0d2a239e6a7635aae242e301073
2837cecedb2ca8992d5afa9ee54102a1e8fa61b6
/load_cells.py
51608b92315052125826d9888039a6bac248bfba
[ "MIT" ]
permissive
mirnylab/pdSim
9023cfe7eac951feac42e3bd4133ce866a0fe0f0
f08bd75aabf7213e253baf26d219c374a745c8d4
refs/heads/master
2023-08-12T12:02:41.855285
2019-02-04T22:56:03
2019-02-04T22:56:03
167,234,443
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
import os, time, sys, subprocess, numpy, warnings compilations = 0 def cells(optimization='O3', driver_distribution=0, passenger_distribution=0, tree=0, shape=1, epistasis=2, ctcs=0, explicit_drivers=0, loci=70, cleanup=True): """Compile the `Cells` python class for simulating driver & passenger cancer simulatio...
[ "christopherdmcfarland@gmail.com" ]
christopherdmcfarland@gmail.com
bf06d858a1182b07a766f7caca3dbb688350d82b
b62c9492de319688eb7901bf98df4bd87ec53f1a
/main_code.py
a119d08bd136ca09276cded3968216804bea57f2
[]
no_license
Blond-bay/pan_NR
6d22b7baef2ab400387731941918c8b653b97eb0
1cd1521633023c1f58c7e4d930af126d5179e9bd
refs/heads/main
2023-01-04T07:15:54.925155
2020-10-30T15:53:36
2020-10-30T15:53:36
308,457,208
0
0
null
null
null
null
UTF-8
Python
false
false
5,926
py
import tkinter as tk from PIL import ImageTk,Image,ImageDraw from functools import partial import sys import os.path app = tk.Tk() app.title("Pan New Rock") #Frame pour liste et suppr frame = tk.Frame() frame.pack(side='left') #Canva dans frame pour liste bloc canvas_boutton = tk.Canvas(frame) canvas_boutton.pack()...
[ "noreply@github.com" ]
noreply@github.com
b9ae2e9946a3611c2159abe0a20a624591d0eeca
01abb5fe2d6a51e8ee4330eaead043f4f9aad99d
/Repo_Files/Zips/plugin.video.streamhub/resources/lib/ssources/moviesplanet.py
60b053928b8fa5b276249a2f1673279da57f3e1c
[]
no_license
MrAnhell/StreamHub
01bb97bd3ae385205f3c1ac6c0c883d70dd20b9f
e70f384abf23c83001152eae87c6897f2d3aef99
refs/heads/master
2021-01-18T23:25:48.119585
2017-09-06T12:39:41
2017-09-06T12:39:41
87,110,979
0
0
null
2017-04-03T19:09:49
2017-04-03T19:09:49
null
UTF-8
Python
false
false
7,208
py
# -*- coding: utf-8 -*- ''' Exodus Add-on Copyright (C) 2016 Exodus This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
[ "mediahubiptv@gmail.com" ]
mediahubiptv@gmail.com
aad2254aa7065c85d2522d31be2fae285c800751
c892337f5bc4e5a6083d406b03079ee3403deeed
/test.py
96b3019e506d706235a4822376aa9882ca019b08
[]
no_license
colesamson16/BramptonCompWork
802992c34c485b5af84c36d17e9c1ba341354b9a
87521be1cc1fb12d5cd4a3114a4a3bba5688f26c
refs/heads/master
2021-09-16T17:05:57.241366
2018-06-22T08:58:26
2018-06-22T08:58:26
110,122,419
0
1
null
null
null
null
UTF-8
Python
false
false
17
py
print('"You've"')
[ "colesamson16@gmail.com" ]
colesamson16@gmail.com
5bcff5cffd28731828328a79715cde3f608f37b3
9fefd87bf65dd0be051988ead6fa532ad968371c
/01_MathBasic/ex15.py
574694f9302e6bc50f1d3caf72765a3d1df5dfee
[]
no_license
et0511/linear-algebra-basics
b94659832dd16342bdc73bace18ab21d1fc3458d
b9f3a91ea9ba5b1011d619d374f238dd56c09c9a
refs/heads/master
2023-01-22T05:35:56.850516
2020-11-20T08:39:14
2020-11-20T08:39:14
313,239,319
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
# 행렬의 산술 연산: 곱셈 import numpy as np m1 = np.array([ [1, 2, 3], [4, 5, 6] ]) m2 = np.array([ [10, 20, 30], [40, 50, 60] ]) m3 = m1 * m2 print(m3) m4 = np.multiply(m1, m2) print(m4)
[ "shinwon0511@gmail.com" ]
shinwon0511@gmail.com
794a8182144f40c1e3061d63669bee07b8bc6720
3a982efb12359df8c2d5924215c84f619c6a7b01
/stock/marketdata/bar.py
c872ca56e26071936d7069ef7915838967a3f689
[ "MIT" ]
permissive
shenzhongqiang/cnstock_py
1ce4d4507ee546936597287a9a8b3cd2f5995686
00f617a2ceda641fd63ef7bd59f7aa6afe91dcc7
refs/heads/master
2023-08-26T17:17:02.342889
2023-08-13T12:12:59
2023-08-13T12:12:59
22,781,111
2
0
null
2020-01-06T02:25:06
2014-08-09T06:58:02
Python
UTF-8
Python
false
false
966
py
from stock.utils.dt import * class Bar: def __init__(self, exsymbol, date, dt=None, cnname=None, \ close=None, lclose=None, open=None, volume=None, \ chg=None, chgperc=None, high=None, low=None, \ amount=None, pe=None, ampl=None, cvalue=None, \ value=None): self.exsymbol = e...
[ "zqshen.1985@gmail.com" ]
zqshen.1985@gmail.com
d3d6add1e6ebdc0b1826c2e7587c301ba05ef0a3
17640d29494e46083688b7560064186549423cd8
/firstapp/urls.py
3603d631877a4ab16a7fd69366dc71457984cec7
[]
no_license
cerebro1/bftp-django
f5c2b3a201599c1f9f6a6a7330866d21462c0af5
3c85816e2a76bf0b544c0862a060e583b4268006
refs/heads/master
2023-08-17T00:46:24.845136
2021-10-08T11:07:32
2021-10-08T11:07:32
414,933,435
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
"""firstapp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-base...
[ "srivastava.sonali1@gmail.com" ]
srivastava.sonali1@gmail.com
80a7bbe98fb1db2e7affb126f6379fbca8deaffa
0be27c0a583d3a8edd5d136c091e74a3df51b526
/pro_6.py
cd9f08e7650bc6d5eabf300b5b77d29d6bc94b75
[]
no_license
ssangitha/guvicode
3d38942f5d5e27a7978e070e14be07a5269b01fe
ea960fb056cfe577eec81e83841929e41a31f72e
refs/heads/master
2020-04-15T05:01:00.226391
2019-09-06T10:08:23
2019-09-06T10:08:23
164,405,935
0
2
null
null
null
null
UTF-8
Python
false
false
198
py
n=int(input()) l=list(map(int,input().split())) c=0 for i in range(len(l)-2): for j in range(i+1,len(l)-1): for k in range(j+1,len(l)): if l[i]<l[j]<l[k]: c=c+1 print(c) #no.of triplet...
[ "noreply@github.com" ]
noreply@github.com
2a5efff102c4a2919f73211d409750b6f210d7c8
8aa9ecfe421b196589b6c9fdc0e954d02d927feb
/sphinx/source/docs/user_guide/examples/data_linked_brushing_subsets.py
49c98cd13e1f65a5c2be6677d3b998058f107edb
[ "BSD-3-Clause" ]
permissive
hongyu9000/bokeh
b384484925c6c145e4eaf87460a3f776095e81ed
b19f2c5547024bdc288d02e73fdb65e65991df5f
refs/heads/master
2020-09-03T15:57:31.157443
2019-11-04T05:25:46
2019-11-04T05:25:46
219,503,733
1
0
BSD-3-Clause
2019-11-04T13:06:20
2019-11-04T13:06:19
null
UTF-8
Python
false
false
1,055
py
from bokeh.plotting import figure, output_file, show from bokeh.layouts import gridplot from bokeh.models import ColumnDataSource, CDSView, BooleanFilter output_file("linked_selection_subsets.html") x = list(range(-20, 21)) y0 = [abs(xx) for xx in x] y1 = [xx**2 for xx in x] # create a column data source for the plo...
[ "bryanv@continuum.io" ]
bryanv@continuum.io
52f1d2d0e9262b058e839e3fed8eddcd86da8b2d
19db22bd1b57e3401ff6a8c24dd952b5c6868f03
/profiles_api/migrations/0001_initial.py
5ff5aff234c0babb36899b642fa18c8528fd8f26
[ "MIT" ]
permissive
Amakson/profiles-rest-api
1409f2c4df0f127e9fd4a1a0fb3ca3dbb3436452
a02071a1eb6588c9a964066eb40fbccfd4dc4550
refs/heads/main
2023-01-18T16:28:58.335451
2020-11-22T20:52:21
2020-11-22T20:52:21
314,962,093
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
# Generated by Django 2.2 on 2020-11-22 06:30 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='UserProfile', ...
[ "atm1023@p2es.com" ]
atm1023@p2es.com
e0f0dcb4ef5a5927acf08e5307d58110d774410c
53450ba14b0254f71f0c1b82270a7e2e1005434a
/src/lc680.py
d4cfc7e3f305c3413752a1d9a0ea8bb10405abbd
[]
no_license
PhoebeDreamer/leetcode
05722f86690c3fc91f8b240c42a855e6963df65c
81d8f286b1d277a0e7c2f63c7d72729c82f34efd
refs/heads/master
2021-04-27T04:47:24.408959
2018-03-21T14:46:05
2018-03-21T14:46:05
122,585,627
1
0
null
null
null
null
UTF-8
Python
false
false
386
py
class Solution(object): def validPalindrome(self, s): """ :type s: str :rtype: bool """ t = s[::-1] if s == t: return True i = 0 while i<len(s) and t[i]==s[i]: i+=1 return s[:i]+s[i+1:] == (s[:i]+s[i+1:])[::-1] or t[:...
[ "pheobedong@outlook.com" ]
pheobedong@outlook.com
18969a67bf77c7f9480f09063e3a1d23a09cc0f3
b548d07ae7f530b952738ef101da255286c9bf84
/scraper.py
7caed5731cacf9fcb525408291aa520e297ce9b2
[]
no_license
twperkins/cfc-tech-challenge
531cf20756706be234afdda45f6d1174ebe94ac6
fc3ec5077939dbe5e2bcfeb9d4ee3c002e145945
refs/heads/master
2023-08-19T21:35:17.426696
2021-10-10T16:49:09
2021-10-10T16:49:09
415,641,223
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
import json import requests from bs4 import BeautifulSoup # FIRST TWO PARTS: # taking index url, issuing request and saving response index_url = 'https://www.cfcunderwriting.com/' index_page = requests.get(index_url) # empty dict for externally loaded resources ext_resources = {} # json files to be written to scrap...
[ "85560933+twperkins@users.noreply.github.com" ]
85560933+twperkins@users.noreply.github.com
d64351067c60d186c1b36d2c2daa144f70f80fb5
9d931ad4bb1ee0806a0b1012cf551d77199416ae
/isobar/pattern/harmony.py
b1d8ece983fa44e188235e02acd85ed1e43070e7
[ "MIT" ]
permissive
EnigmaCurry/isobar
9d8a92c44f9ba7e0eb8b8527fdb1a61691b85fe4
05de0d105984b642eeaca3286abf08e02e309362
refs/heads/master
2022-05-24T23:07:35.859526
2020-04-28T23:05:08
2020-04-28T23:05:08
259,672,137
1
0
MIT
2020-04-28T15:11:04
2020-04-28T15:11:02
null
UTF-8
Python
false
false
576
py
from isobar.pattern.core import * class PFilterByKey(Pattern): def __init__(self, input, key): self.input = input self.key = key def __next__(self): note = next(self.input) key = Pattern.value(self.key) if note in key: return note else: r...
[ "daniel@jones.org.uk" ]
daniel@jones.org.uk
4a6ae07a1102821e916a968b3fa462a80153f751
97b6f1884a5b8a024524e2d31ab162cdb37cfac9
/ba.py
575385ff9dec8c549c922164013de7e9faf9f6e8
[]
no_license
argharoy/Routine-Generation-System
3994d3aa6356167a857fd711acf716cb87d747d0
d211133065c30e567e6f9d697991538d2239f053
refs/heads/master
2021-07-13T22:27:41.184200
2017-10-18T16:51:24
2017-10-18T16:51:24
107,436,767
0
0
null
null
null
null
UTF-8
Python
false
false
16,915
py
import random from reportlab.lib import colors from reportlab.lib.pagesizes import letter, inch from reportlab.platypus import SimpleDocTemplate, Table, TableStyle balancer, balancer_2, balancer_3 = ([] for i in range(3)) for i in range(0,6): l = [None for _ in range(7)] balancer.append(l) for i in range(0,6): l ...
[ "noreply@github.com" ]
noreply@github.com
6f3ef8ad3d317b58bdc8a750c23661686421a08f
810b7b2bb5829bf9ce0d921395ad6ca22563915c
/question-type-fine-num-classifier-builder.py
19e0daeeb9bccff0320b77706b209ea2dbd8f908
[]
no_license
daksh-ddt/QuestionTypeClassifier
5f1ee8e8f017fbe4836e24f943e92dd14ecaebe5
33cffbefe1869612f8d39c83bb3e72602060893d
refs/heads/master
2020-12-25T03:01:05.344465
2014-03-22T16:01:24
2014-03-22T16:01:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,500
py
#!/usr/bin/env python """ Best score: 0.928 Best parameters set: clf__alpha: 1e-06 clf__n_iter: 50 clf__penalty: 'elasticnet' tfidf__norm: 'l1' tfidf__use_idf: True vect__max_df: 0.75 vect__max_features: 5000 vect__ngram_range: (1, 2) vect__stop_words: None """ __author__ = 'gavin ha...
[ "gavinhackeling@gmail.com" ]
gavinhackeling@gmail.com
f46db137e5ffc06d2d219a96623c75d5281f13d1
49986759cb09afe8888e87cb5d3d02defedf7fcf
/examples/openpyxl/openpyxl__loadedFiles_example.py
43f14fe2d32458d4bd9f8b34649c22fd76ea9b62
[]
no_license
Ze1598/Python_stuff
ca7e8a85ab693efb1909b1aaf3075906419ab43b
df4d9b85eeff4e14c91533135a347b59d52812c7
refs/heads/master
2023-04-10T16:50:37.719570
2023-03-26T15:06:31
2023-03-26T15:06:31
117,886,757
0
0
null
null
null
null
UTF-8
Python
false
false
5,790
py
''' File that goes over basic operations with the openpyxl module: a module for working with Excel files (.xlsx) and LibreOffice Calc (.xls), that is, workbook files. This file goes over the basic operations performed with these files, without touching any writing to the files. ''' import openpyxl # Used to pretty-pri...
[ "jose.fernando.costa.1998@gmailcom" ]
jose.fernando.costa.1998@gmailcom
e098de09b5f9d21865c2946a31e226326f0089d5
e07a0b8a5560c20e5205a1609187b3c09e621ba2
/mininet/mininet/clickgui.py
08ba93e06e682aca95d171ec914a18f0c8b47cfd
[ "LicenseRef-scancode-x11-stanford" ]
permissive
nemethf/escape
11958e9280fabc80a62c0a6dfd22720c4d127e7a
fb48c609b689d6a30f437ddd626d62f4ad7a7a5c
refs/heads/master
2020-05-27T14:28:54.880959
2017-03-02T09:16:50
2017-03-02T09:16:50
23,956,377
11
12
null
null
null
null
UTF-8
Python
false
false
1,661
py
""" Click GUI creation (cleanup is the same as for xterms). Utility functions to run a click gui (connected via socat(1)) on each host. Requires socat(1) and clicky. """ from pkg_resources import resource_filename from term import * from log import error from util import quietRun, errRun def defaultCcssFile(): r...
[ "nemethf@tmit.bme.hu" ]
nemethf@tmit.bme.hu
ed4815baddc34eb47a70d2fc3ba8eeddecc43581
302a620683639933011899d6b4421bc650b8b3bf
/python/Individuele oefeningen/Rubriek Iteraties/in_oef_18.py
b4da6ab004c6b25192d4720f7b7f63410b3c4c4e
[]
no_license
SimonDemeyere/courses
8ee27b8d8d12bfa68e7652ae7dadf4134bdc4076
edddeb7df6045e32472513859b27d20c9dc868c1
refs/heads/master
2023-01-09T11:59:23.795183
2019-11-14T22:19:37
2019-11-14T22:19:37
208,781,695
0
0
null
2023-01-04T16:42:31
2019-09-16T11:20:56
JavaScript
UTF-8
Python
false
false
256
py
import random number = int(input("Geef een getal:")) randomNumber = int(random.randint(1, number)) print(randomNumber) while (number != randomNumber): number = int(input("Geef een getal")) print(number) print("Gefiliciteerd, het getal was ", number)
[ "Simon.demeyere@hotmail.com" ]
Simon.demeyere@hotmail.com
6c9987be0977d39de89f36b3971177e9ea3dd3d8
27f23c635b65b60ad9ba35f895c2107b68ef394f
/mcmc/many_chains_ihm.py
44e32257f2d5bd15f5babdfc8299055d257e7bbb
[]
no_license
marcantoinedor/halomodel_mcmc
536a51e842386c33ee34083fbb0abeee35104fcb
e2bd2cb018c22b9b3fde8e787f59c653e4a81a08
refs/heads/master
2020-06-20T09:31:41.817641
2019-08-24T14:12:50
2019-08-24T14:12:50
197,078,426
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
import scipy.optimize as op import numpy as np import matplotlib.pyplot as plt import os import sys import pygtc SMALL_SIZE = 8 MEDIUM_SIZE = 10 BIGGER_SIZE = 20 plt.rc('font', size=BIGGER_SIZE) # controls default text sizes plt.rc('axes', titlesize=BIGGER_SIZE) # fontsize of the axes title plt.rc('axes'...
[ "marc-antoine.dor@ensta-paristech.fr" ]
marc-antoine.dor@ensta-paristech.fr
da3d523da6c6d86cd42eea8058311f7e455f6235
3cf28604c1f0fa4cde2bbde3e173daca13c0ed5f
/cooks/widgets.py
0bedb788cc6474741f9fbecf48139d270cc7a1f7
[]
no_license
cromanstata/stage9
ac4761ec62932b391918880ef94053e2c82dffc6
ae127fcaa21561bd28ea5e815d7bbaa1119978c4
refs/heads/master
2021-01-20T07:04:57.004587
2017-06-18T22:24:43
2017-06-18T22:24:43
89,953,882
0
0
null
null
null
null
UTF-8
Python
false
false
2,758
py
from django.forms.widgets import ClearableFileInput, CheckboxInput, FileInput from django.utils.translation import ugettext_lazy class ClearableIMGInput2(FileInput): clear_checkbox_label = ugettext_lazy('Clear') initial_text = ugettext_lazy('Currently') input_text = ugettext_lazy('Change') template_na...
[ "cromanstata@gmail.com" ]
cromanstata@gmail.com
9a9873d2f6be35b3704f1d00be9a6e1f9b2b3a54
65cd2179650f765b273c21c15cc6b70ba1bed9f7
/utils/configLoader.py
eabea225f8b091556b3df0ee051945eb21559b51
[]
no_license
cmuehlich/decisionMaking
bd39c43da6cc316511c4b3055beeaf4e0f89277a
d22e3dbaba62584f7ae96357e0b2bc7ea419f86c
refs/heads/main
2023-03-10T17:53:05.341359
2021-02-24T16:50:53
2021-02-24T16:50:53
335,104,988
0
0
null
null
null
null
UTF-8
Python
false
false
2,906
py
from typing import Dict, TYPE_CHECKING from agents.baseClass import Agent from agents.mcm import MCMAgent from agents.mdp import MDPAgent, MDP_SOLVER from agents.tdl import TDLAgent, TDL_METHODS from agents.dynaQ import DynaQ, PREDICTION_MODEL_TYPE from agents.mcts import MCTSAgent from agents.reinforce import R...
[ "christopher.muehlich@gmail.com" ]
christopher.muehlich@gmail.com
69044e85d52cf5fd37ecb0fe0535abe2bd9f288a
b138ca8ad1030f310a1e7685471dd5a177e00a15
/basico25Conversor/main.py
6651f819498fe4e6dfbb92aeec9026e1443875f6
[]
no_license
yoli1980/CursoPython
c191562e444a5d4868c9828a5386dca880d58195
b3a4f54942b0148a405bde29f66796d067b30c1d
refs/heads/master
2021-04-08T04:45:49.306699
2020-04-19T12:12:01
2020-04-19T12:12:01
248,741,373
1
1
null
null
null
null
UTF-8
Python
false
false
1,063
py
from PyQt5 import QtCore, QtGui, QtWidgets from ventanas import ventana_principal import sys #tareas sobre el conversor: # 1- Crear una aplicacion que permita la conversion de euros a un # tipo de moneda a elegir por el programdor # 2- Añadir 2 botones mas para poder transformar a otros dos tipos # de mo...
[ "noreply@github.com" ]
noreply@github.com
2225e9a6d6f5339e5320181e36e90882300ebf80
0489ccf5efa50115fdb3b1a173f25fd4097e3f91
/config/urls.py
5670ef6a1d34ba0af7a17e36606029ab7f73a54e
[ "Apache-2.0" ]
permissive
fleetspace/missioncontrol
9a9175316c63555b31a727cebe690ec36e2045dc
c5b06e6d81ace1957161ebf2f9dacec05badde7d
refs/heads/master
2022-12-10T15:20:40.356430
2022-04-28T05:30:53
2022-04-28T05:30:53
165,792,891
12
5
Apache-2.0
2022-12-08T09:33:06
2019-01-15T05:48:38
Python
UTF-8
Python
false
false
1,331
py
from django.conf import settings from django.urls import include, path from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views urlpatterns = [ # Django Admin, use {% url 'admin:index' %} path(se...
[ "louis.deslandes@fleet.space" ]
louis.deslandes@fleet.space
569642df642f06f1d91ddea7d08f53d9c1b07656
2b2002faecb5f5c7d289a3d0114b51a37b717074
/AWS-Lambda-Function_votd-slack.py
bb5a47eb37389176c47bd4af8d6de3d2136aa133
[]
no_license
scottteal/viz-of-the-day-slack
d30a2eb477d5d6fb017e3ea16d8d4b9270ae89a8
924d5aaa4917ede02ab18427f8f4bd861d1c8db8
refs/heads/main
2023-03-08T03:43:50.212140
2021-02-18T23:12:01
2021-02-18T23:12:01
339,567,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
import requests import json import os SLACK_TOKEN = os.environ['SLACK_TOKEN'] SLACK_CHANNEL = '#viz-of-the-day' votd_url = "https://public.tableau.com/s/api/votd" response = requests.get(votd_url).json() description = response["nodes"][0]["node"]["description"] title = response["nodes"][0]["node"]["title"] image_src ...
[ "noreply@github.com" ]
noreply@github.com
d087519ce02b0b4b2b9a6e50bb93d85e83a78380
68b8088530a5f4e22d34fed7c12bdb910180193a
/013/matrix.py
6c6cc4b5c4947da0658b3409b4b6f825f69b7544
[]
no_license
hieusydo/Project-Euler-Playground
85de42e0ef229a509f959fefdd6c1cc989c130c8
a08e9c7d2e1f3d658f2b9ba32784062dea4a3c58
refs/heads/master
2021-06-03T01:52:17.612185
2016-02-17T06:30:45
2016-02-17T06:30:45
43,009,813
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import timeit start = timeit.default_timer() #Load 100 50-digit number mat =[] matrix = open('50digitnumber.txt', 'r') for i in range(100): line = matrix.readline().strip().split() for j in line: mat.append(int(j)) matrix.close() #++++++++++FASTEST AND EASIEST WAY TO SOLVE++++++++++ print(str(sum(mat)...
[ "hieusydo@gmail.com" ]
hieusydo@gmail.com
89b0febfd0133cdd321c9b75aa4a6821c3ab46b6
353bd427a458cdf4ca101da98c9bd8eae35729a5
/hyperopt/tests/test_mongoexp.py
474a6504e809bcef286b1540c986529ac11dba2c
[ "BSD-3-Clause" ]
permissive
dodgejesse/random_search_using_discrete_dpp
2747ff05b0b4f7c1c6878bcd5da76b6e1c8ff0bb
895b0856952d2177a6eec0e44107d81276fb0cc5
refs/heads/master
2021-01-21T21:19:23.480012
2017-06-23T21:49:25
2017-06-23T21:49:25
94,817,460
1
0
null
null
null
null
UTF-8
Python
false
false
11,781
py
import cPickle import os import signal import subprocess import sys import threading import time import unittest import numpy as np import nose import nose.plugins.skip from hyperopt.bandits import gauss_wave2 from hyperopt.base import JOB_STATE_DONE from hyperopt.mongoexp import MongoTrials from hyperopt.mongoexp im...
[ "dodgejesse@gmail.com" ]
dodgejesse@gmail.com
ac4e0815c5dbc6bfdbe8177c87246a26a5657ab7
9bd7627f039071874e2f712020a38f1d947f290e
/LINE/main.py
72010884100d11ec5726475d7f8d6d00bf49a315
[]
no_license
xiuyu999/NRL-implement
3cbe70ea707dcdaf19c6bc37c9a2572beef39d89
895ea82099268574a4531d0bb38cd30ce3ced254
refs/heads/master
2020-07-05T12:12:45.320163
2018-06-01T07:12:32
2018-06-01T07:12:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
import numpy as np import networkx as nx import warnings warnings.filterwarnings(action='ignore', category=UserWarning, module='gensim') from gensim.models import Word2Vec from graph import Graph import argparse parser = argparse.ArgumentParser() parser.add_argument('--embed_dim', type=int, default=128, help=u'Dimensi...
[ "wangyk17@mails.tsinghua.edu.cn" ]
wangyk17@mails.tsinghua.edu.cn
741af7c3e798bb5ec67f95ad3116c1635c8b4701
5b8aaa4f70d6710b81033aaa300563ce23ae114d
/OpenNMT-py/onmt/inputters/text_dataset.py
4d867f309a88e9534225534c1d672d63b532d725
[ "MIT" ]
permissive
takatomo-k/Code
2cbfe9481abc026e3664a16421b9f12c9b550b51
54ec9f656579610c86acb3276bf0d26dbe9d8761
refs/heads/master
2020-04-04T16:00:15.612724
2018-11-27T11:32:59
2018-11-27T11:32:59
156,060,821
0
0
null
null
null
null
UTF-8
Python
false
false
15,732
py
# -*- coding: utf-8 -*- """Define word-based embedders.""" from collections import Counter from itertools import chain import io import codecs import sys import torch import torchtext from onmt.inputters.dataset_base import (DatasetBase, UNK_WORD, PAD_WORD, BOS_WORD, EOS_WORD...
[ "kano.takatomo.km0@is.naist.jp" ]
kano.takatomo.km0@is.naist.jp
751552682d6dacc501f7a74a2229a18f96618803
4d98c4f73fc912a1425d75fde6b843a409928694
/choraoipsum/__main__.py
8b2c285cad5887fdc513c814f909d0b1957259f3
[ "MIT" ]
permissive
williamroot/choraoipsum
a5b5af3e3ba47c8b58800c97fb0e64af08d771c1
b584a6cc566ee5fc7042f17fcd439cf7d15b2b20
refs/heads/master
2021-01-11T04:51:24.954464
2016-10-18T20:16:48
2016-10-18T20:16:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
import click from . import ChoraoIpsum @click.command() @click.option('--count', default=100, help='Number of Choratims.') def main(count): click.echo(ChoraoIpsum(count).get_text()) # Call application main()
[ "igr.exe@gmail.com" ]
igr.exe@gmail.com
7fe8b941eeb429f684e65c486671d86484650a8f
665b955e73418b7a6e1bc24d129b52137153eb78
/4th_hw/multilayer_perceptron.py
29314b0ab352d0c6c8c76b9743ed25347ab23c76
[]
no_license
wattai/Sequential-Data-Modeling
5afd004c3c633d3a82efd05d10c3ff3fedbad6ac
39f4296739ca5c6b351fdc5c6e034ec8602baa77
refs/heads/master
2020-04-01T10:08:41.911591
2018-11-06T07:53:40
2018-11-07T01:04:33
153,104,522
0
0
null
2018-11-06T07:53:41
2018-10-15T11:54:18
Python
UTF-8
Python
false
false
2,523
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 26 11:42:55 2018 @author: wattai """ import numpy as np from copy import copy import links as L class Network: def __init__(self, layers, loss, lr=0.1): self.lr = lr self.layers = copy(layers) self.loss_value = None self.y = None ...
[ "10399305+wattai@users.noreply.github.com" ]
10399305+wattai@users.noreply.github.com
8861ccb2c3b1bf7135e05fdbc7b3f8b9aca4a158
adeaef2acd48104a6b86a22a0fb10555bb195a6e
/Robotics/roombaSim.py.bak
ef339c6dc119a432a823ce41c0978dc11be76442
[]
no_license
divir94/Python-Projects
585d8993688234f19044e4477e131c2c278ab34c
eced0cc854c7165f688ce55b573331492b370e7e
refs/heads/master
2021-01-18T21:12:33.105877
2016-05-01T02:27:57
2016-05-01T02:27:57
17,325,736
0
0
null
null
null
null
UTF-8
Python
false
false
17,860
bak
import random import time import math GLOBAL_DELTA = 10.0 # 1/2 the distance between the wheels class RoombaOdometricPosition: def __init__(self, x_in=0., y_in=0., thr_in=0.): self.x = x_in self.y = y_in self.thr = thr_in # radians from 0 to 2pi - change to thr sometime... self...
[ "divir94@gmail.com" ]
divir94@gmail.com
00d424bf4ff07884de75440c59883958b93898fc
6fd4ee6c09f26f54ef0e57be4a3d320e7dcd365a
/007-interactive-programming-in-python/5-memory.py
5f6b072c12cb3b6bdaf9f2140d57279238d9c642
[]
no_license
batmanbury/Coursera
eb642f727f79caf8c2ddc71f6cf94fcac65b7fa7
befc4be1efcbb3725a90573b626ec1c9ca9d2f54
refs/heads/master
2021-01-20T11:56:30.657474
2014-06-16T08:53:50
2014-06-16T08:53:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,172
py
# Runs on CodeSkulptor.org # implementation of card game - Memory import simplegui import random deck_half_1 = range(8) deck_half_2 = range(8) deck = deck_half_1 + deck_half_2 #build deck size exposed = range(16) for c in exposed: #set all cards to not exposed exposed[c] = False state = 0 card1 =...
[ "matbanbury@gmail.com" ]
matbanbury@gmail.com
4079e5cf7f40dde9ecad04547aba99f07d454395
8a3f0a9db687116211bf87ccfc5ec7b51a379def
/test_framework/config.py
4f503ae75511888033b0a98bb6c59cdaba43c7f1
[]
no_license
seehidre/FTSG
5d991643230dae45dc6f925b1d95b1d83953a5bc
a2dc81433b9dfd7286cd638ebaa138ab1db5bfb4
refs/heads/master
2020-06-27T21:29:49.282520
2016-06-10T17:54:25
2016-06-10T17:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from test import Test #Compile settings APP_NAME = "FTSG.exe" OPENCV_INCLUDES_DIR = "test_framework/opencv/include" OPENCV_LIBS_DIR = "test_framework/opencv/libs" COMPILE_DIR = "Debug/" SLASH = "/" LIBRARIES = " -llibopencv_calib3d300 -llibopencv_core300 -llibopenc...
[ "k4mil.piszczek@gmail.com" ]
k4mil.piszczek@gmail.com
c12557241b90baf692bac665173ae293dc82e536
17fb0d661d029a3fe19b0216f1c77b6415663730
/tune/tune.py
f30873d4f3a57b1097bbdd7ee94180127b5dc431
[]
no_license
turnaround0/UpliftModeling
27b3a05641129b793d6945da630e9f766ef9415b
d56c815e1efd4f982cf4b039f046ecfa7c03a2d5
refs/heads/master
2020-07-06T18:07:09.372881
2019-10-04T04:29:43
2019-10-04T04:29:43
203,098,585
1
0
null
2019-09-20T03:03:04
2019-08-19T04:32:34
Python
UTF-8
Python
false
false
4,091
py
import time import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split from tune.niv import niv_variable_selection from tune.param import parameter_tuning from tune.wrapper import wrapper from utils.utils import load_json, save_json def get_tuning_data...
[ "turnaround0@gmail.com" ]
turnaround0@gmail.com
977adbcee4f7e66c212151bd3cd2debce6e3a296
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/datamgr/metadata/metadata/service/cli/sync.py
c2b92b897f7fd23b10f29fadae1e110bf5e28230
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
2,562
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ---------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
23c16b86ee4cd931eb7d947d7e05dedee65786b6
505951fdcbf4e17eb9d3871942cf853650bcec37
/core/adminpanel.py
2d4150cfa45073dfd1cad97b35cb4ba673845f5c
[]
no_license
FraternityInfoSec/Blackpearl-framework
9bf5fa24fc4f554f7c7fbdf4c5fed9f947715654
e29769a08888590f3291a0278eaba445c9951b39
refs/heads/master
2023-04-10T13:04:31.313272
2021-04-29T05:26:27
2021-04-29T05:26:27
275,080,908
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
from urllib2 import Request, urlopen, URLError, HTTPError def findAdmin(): f = open("link.txt","r"); link = raw_input("Enter Site Name \n(ex : site.com or www.site.com) > ") print "\n\nAdmin Panels > \n" while True: sub_link = f.readline() if not sub_lin...
[ "noreply@github.com" ]
noreply@github.com
515af06f2fbfb307c993a49fbf56281b16588955
4d88a5c43a62fa2c302ffca8e747180a81599805
/dataframe.py
d19dbc43dd5af3ab74250daf95623faf0459cec4
[]
no_license
ShashankTekriwal/Political
aea5ec6c5e7e8bff1b5f351754e519307a7f3c19
e64aa40b4dcd87716244957d2a789781712b0fb2
refs/heads/master
2020-12-24T13:44:54.136498
2015-06-11T11:13:53
2015-06-11T11:13:53
37,256,575
1
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
import os import json from datetime import datetime, timedelta from pandas import DataFrame from pprint import pprint import re import pickle date = [] # date1 = '2013-8-1' # date2 = '2013-12-31' date1 = '2014-1-1' date2 = '2014-5-31' start_date = datetime.strptime(date1, '%Y-%m-%d') end_date = datetime.strptime(date2...
[ "shashank.internet@gmail.com" ]
shashank.internet@gmail.com
7c912c080ce213764f96f6a8af2955e094dec0fc
01a9b51398f347cb774d76b65b440bf29c5f14c1
/algorithm/longest_panlindromic_substring.py
20dd63b73d321839911d238e65bfaf4ad98c50c2
[]
no_license
luabijam/arts
dc3b646bbabbbb2dc9170cc74d77c9f957906925
d9489ff4c42b0d97164223b602262be09bd5db81
refs/heads/master
2021-09-08T16:14:13.687766
2021-08-27T15:29:47
2021-08-27T15:29:47
137,713,695
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
#coding:utf-8 class Solution: def longestPalindrome(self, s): """ :type s: str :rtype: int """ c = {} pos = [] maxCount = 0 ff = '' for i,ss in enumerate(s): if ss not in c.keys(): c[ss] = [i] else: ...
[ "zxwecat@163.com" ]
zxwecat@163.com
6e193a9bd51bd3f2a5c1c66b2a8fcc1173df3dbe
ab243dd7819418705a89d8d50cbc3c104a60d2f4
/demo.py
094a2c22a35ab2ac32374693af873bf5037d708f
[]
no_license
GeekDot/sendMailLib
20834b9c63bd962d6f3ecd8bb44674e52eed8ae1
7d3c44a2b02b2de7bd95ad3f075f411c22c37e6f
refs/heads/master
2022-11-15T08:40:36.421397
2020-07-16T02:37:36
2020-07-16T02:37:36
280,031,895
0
1
null
null
null
null
UTF-8
Python
false
false
899
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- from emailSendLib import es # 发送文本格式 # 发送文本 send_type 参数需要指定为 plain,因为 plain 为默认参数所以可以忽略 es.send('测试邮件(标题)', '测试邮件(内容) - 文本') # 发送 html 格式 # 发送 html send_type 参数需要指定为 html es.send('测试邮件(标题)', '<h2> 测试邮件(内容) - HTML </h2>', send_type='html') # 发送带有 [附件] 的格式: # 发送附件 send...
[ "zhangyi@yeeyoon.com" ]
zhangyi@yeeyoon.com
0060ee74ff5f5c20f682b2a84db8a0b7a8ee1871
598d9669ddf43e380ae306d120d0b20cf14f1f46
/pyHomeEnv/bin/flake8
530a0d16a3419e0132dad085c1ea738a0f9c7c6e
[]
no_license
piotrek204/pyHome
4737fcab20fe4041595e76873e66e9dfb4a40128
7e3160466210bae9f436cb476c5850c3d0b044e2
refs/heads/master
2022-12-13T14:28:17.332597
2019-01-28T16:20:02
2019-01-28T16:20:02
165,508,628
0
0
null
2021-06-01T23:20:48
2019-01-13T13:29:50
Python
UTF-8
Python
false
false
251
#!/home/piotrek/piotro/pyHome/pyHomeEnv/bin/python3 # -*- coding: utf-8 -*- import re import sys from flake8.main.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "piotr@sznapka.pl" ]
piotr@sznapka.pl
c91a8508d1e277fc17184ad763b0d412c0fdc2b8
7d13cfda2f6804f119e0dc2da688cc8212af3cc7
/codes/predict_NN.py
2c08e9ceeca454c594411b70414f1eb887528cd7
[]
no_license
zhengyuan-liu/Twitter-Mood-Detection-and-Prediction
bba1bc45bd943d9251d4a42af2a7b3ada4286572
e7e5d5402407e7391c1b04d20888baec9096d525
refs/heads/master
2021-04-03T08:14:29.890036
2018-03-16T07:11:13
2018-03-16T07:11:13
124,836,302
6
2
null
null
null
null
UTF-8
Python
false
false
2,754
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 04 18:59:11 2017 @author: x1310 """ import csv import numpy as np import pandas as pd from sklearn.utils import shuffle def sigmoid(x): return 1/(1+np.exp(-x)) # Apply Z-score Standardization to the data and return the standardized data def z_score(d...
[ "liuzhengyuan1995@gmail.com" ]
liuzhengyuan1995@gmail.com
4794de09d764f74cfe105525e44b5fe84f3e1959
b23fc23a782f672f1d6a361deb0677ae32273477
/Server_Client_Broadcast/server.py
ce5fa15a2b735faa36c4e0d07005e45d1674c642
[]
no_license
deenee13/Python_Programs
729af2518ae2bd1821beef7f28888859d0be042a
15693cedc69057b020f067b60e7a665d8889993c
refs/heads/master
2022-12-10T16:55:42.465544
2020-07-16T01:13:02
2020-07-16T01:13:02
273,612,790
0
1
null
null
null
null
UTF-8
Python
false
false
3,139
py
################################################################# # Date: 06/30/2020 # Name: Deepen Parmar # Description: This code is about the Server broadcasting the # message to all the Connected clients ## ################################################################## # Socket is the endpoint that receives da...
[ "deepen@deepens-air.lan" ]
deepen@deepens-air.lan
8bc0bea26ee08645ad5f3477454cbb4412ca2cb6
747f759311d404af31c0f80029e88098193f6269
/addons/productivity_analysis/__init__.py
d208633981a8c8e0baff59ac77e9e3b9b6a2b1e5
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
71
py
/home/openerp/production/extra-addons/productivity_analysis/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
711ef1d902fdb1f8db2c88e55e3da7671dffe1c3
c974cf94626d04a83f3d5ccb25e06a99df537e21
/python/ray/rllib/dqn/models.py
c3f4a08eb943e954dbe72a3c3e31f0a9cde49a0b
[ "MIT", "Apache-2.0" ]
permissive
vtpp2014/ray
00db3465812eb85890351dd345c43d2ed29745b8
4e4a4e4e062d37f3fb1c518ea5b0d0d7a32e5a60
refs/heads/master
2021-01-21T09:20:47.322556
2017-08-31T06:40:46
2017-08-31T06:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,153
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf import tensorflow.contrib.layers as layers from ray.rllib.models import ModelCatalog def _build_q_network(inputs, num_actions, config): dueling = config["dueling"] hiddens = c...
[ "pcmoritz@gmail.com" ]
pcmoritz@gmail.com
d2baddf93bb68ce3f48966469287c24a475347dd
512f28b81dc8651ade4963adc4bb1f06981e0091
/NodeAdv/node_modules/uws/build/config.gypi
9b4897b27ebc263409d4d720c9594096de917826
[ "Zlib" ]
permissive
praveenax/LearnLab
6a9ebd2170fb5d68524d708570ed2353a6cdf0bc
2fee44e8664ab022200bb561bb26275782e9a128
refs/heads/master
2023-01-05T18:51:55.209628
2021-08-15T08:30:05
2021-08-15T08:30:05
113,063,558
1
0
null
2023-01-03T19:15:44
2017-12-04T15:59:58
XSLT
UTF-8
Python
false
false
4,355
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "debug_devtools": "node", "force_dynamic_crt": 0, "host_arch...
[ "xav.axp@gmail.com" ]
xav.axp@gmail.com
a56e1a4d979e7c04e5529f06b36b64e8bd597195
eade1861db1968645e0e17dfaa5250a4b8245b98
/instacart/lgb.py
d145e050723dd158e83d255a6eeb91d52741768a
[]
no_license
piupiuup/competition
5b5da56fed336e07cf99cef8f5bfe89a8f771900
076c30df3d2647cb3580c543e604375e84590ca7
refs/heads/master
2022-09-30T14:47:01.244084
2020-05-30T12:56:02
2020-05-30T12:56:02
268,074,180
1
0
null
null
null
null
UTF-8
Python
false
false
39,569
py
import os import numpy as np import pandas as pd import lightgbm as lgb import scipy.stats as scs IDIR = r'C:\Users\csw\Desktop\python\instacart\data\\' def f1(y_true,y_pred): if (type(y_true) == float) or (len(y_true)==0): if (type(y_pred) == float) or (len(y_pred)==0): return 1 else...
[ "278044960@qq.com" ]
278044960@qq.com
97fa84c39973c42abf1342a2dade067e2cc99e5c
05480da284a48410c9b4d3f3a90f50d39dd983d8
/solutions/practice/rps_randomnumber.py
90e330a7ef2edbf7c1cfdb1ae15a07aa1155dc47
[ "MIT" ]
permissive
mrparkonline/py_conditionals
ab88ebb951eb871a50cde33808ecb1b61c6c9cf4
d9420ec8c9a69689d8a87b4232db288d620b22bb
refs/heads/master
2022-12-26T14:26:45.491463
2020-10-06T20:48:35
2020-10-06T20:48:35
294,415,619
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
# RPS game with random numbers # import from random import randint # input print('Welcome to RPS game!!') player_choice = int(input('Enter your choice (0 - Rock | 1 - Scissors | 2 - Paper): ')) # processing & output cpu_choice = randint(0,2) if cpu_choice == 0: print('CPU chose Rock') elif cpu_choice == 1: p...
[ "mrparkonline@gmail.com" ]
mrparkonline@gmail.com
5c6e65b79134891e1027bacfbba9d1aec5e1ab7b
b40cd1835ec1d051c1267fde260ed95d037eaa98
/accounts/views.py
78f9bb96714f8020febec0bbbb1a37acd3d3be9c
[]
no_license
staplercut/study-project
9bd5f94707d13e075614fa640318fb83044a504f
8cda84986f84a20e1946cd07cb63e7c194ea125f
refs/heads/master
2021-09-06T14:00:52.650319
2018-02-07T08:52:36
2018-02-07T08:52:36
112,208,437
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from django.contrib.auth import authenticate, login, logout from django.shortcuts import render, get_object_or_404, redirect from django.http import HttpResponseRedirect from django.urls import reverse from .forms import LoginForm, SignUpForm from django.contrib.auth import get_user_model User = get_user_model() def...
[ "staplercut@gmail.com" ]
staplercut@gmail.com
7af29a7adb10691bd1d3489aa0ba317b07c05725
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03433/s436709756.py
e163d74f4c2ebdcbfc9df05eb5845a02f71786d2
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import sys def input(): return sys.stdin.readline().strip() def resolve(): def main(): n=int(input()) a=int(input()) for i in range(21): for j in range(a+1): if 500*i+1*j==n: return 'Yes' return 'No' print(main()) resolve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
18fb17180568bcb70b9d29841a11accc9e815bd2
8323106ba2d6b8dd9bccdd1f469a3aeef89628c3
/pursuit/state.py
08d9f353e875a3760fead04d395cfdf4f3cd4b9a
[ "MIT" ]
permissive
goncalo-rodrigues/thesis
dd46a82860559a769e4100a8e1d805cdbe05998b
c6d531b72ddeaf2320a4346912df5519138d11d7
refs/heads/master
2021-10-12T02:48:07.190359
2019-01-31T19:33:31
2019-01-31T19:33:31
122,038,863
0
0
null
null
null
null
UTF-8
Python
false
false
5,453
py
import random import numpy as np from pursuit.helper import neighbors, cornered, distance, directionx, directiony class PursuitState(object): def __init__(self, agent_positions, prey_positions, world_size): assert(isinstance(agent_positions, tuple)) assert(isinstance(prey_positions, tuple)) ...
[ "goncalo.alfredo.rodrigues@gmail.com" ]
goncalo.alfredo.rodrigues@gmail.com
29f900d91f5760cc2455ffec06f98e07ffd59474
cf3a530ca85919800a1a67e0481972a2d1dc16a4
/Part 8 - Deep Learning/Volume 2 - Unsupervised Deep Learning/Part 6 - AutoEncoders (AE)/AE.py
b7d0f4fe15682d02eff89d796bb3cc90ecb7ccd9
[]
no_license
KaanHanGunay/Py_ML
9d721dc8dcf865bd74c7b1616064a93cc637239a
d2a5eb876f4f24d047813e2f768311a968c2e6dc
refs/heads/master
2021-09-27T20:35:46.338717
2018-11-11T19:55:19
2018-11-11T19:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,662
py
# Autoencoders # Importinf the libraries import numpy as np import pandas as pd import torch import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data from torch.autograd import Variable # Importing the dataset movies = pd.read_csv('ml-1m/movies.dat', sep = '::', header = Non...
[ "kaangunay16@gmail.com" ]
kaangunay16@gmail.com
34c3f2f621ae4331d272cf8ba526b66e16182943
afba523627573c3d9402c34a0538cbc50a1fc1e4
/flask_eyetraking/audio_processing.py
59319cf56f2ab5a68433a3e3620b570091c80196
[]
no_license
yy-oung/test
24e62e11d0298f26f130ec8fb6d653c36685d82f
ea64a56aa706ccf4b6cee44add24d82ab1d1cd75
refs/heads/main
2023-08-12T16:05:59.996140
2021-10-16T09:20:00
2021-10-16T09:20:00
364,529,022
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
import pyaudio FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 44100 CHUNK = 1024 audio = pyaudio.PyAudio() def record(): # start Recording stream = audio.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK) # print "recording..." ...
[ "49151523+yy-oung@users.noreply.github.com" ]
49151523+yy-oung@users.noreply.github.com
47a6427d9fce348f25e2e3a5daf450c69483b45c
9beb9833f809e8db7b25ac24cbb124cc9c3eedee
/TourOfHeroes/HeroTour/serializers.py
447381e29214374b7138339ec679127d86e7c55c
[]
no_license
caoyunhao/angluar2-and-django-demo-tour-of-heroes
8546f59184f8ba7a8826ee7eed276a2521794d5c
2b4871d6ffcb177756d411c12f55d7bb3048602f
refs/heads/master
2021-01-20T00:28:36.232757
2017-04-23T11:52:51
2017-04-23T11:52:51
89,137,916
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
from django.contrib.auth.models import User, Group from .models import Hero from rest_framework import serializers class HeroSerializer(serializers.ModelSerializer): class Meta: model = Hero fields = ('id', 'name',) # # def create(self, validated_data): # Hero.objects.create(**vali...
[ "792775641@qq.com" ]
792775641@qq.com
5360842703c97b192c0c2e2080f0040fd5ca258f
538dc734652c9e975eb70472a92af9e80da87afe
/netfpga.py
ce35405e4554196ad6c18789572f12a61992766d
[ "MIT" ]
permissive
BillWSY/netfpga
5d85b7da1fe261d3c3cf0d6ebf2b36e455f39667
a49edd387b760cee7d3ee623a682a7c155df165b
refs/heads/master
2020-05-04T21:07:32.607377
2013-02-03T08:38:49
2013-02-03T08:38:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,883
py
#!/usr/bin/env python #netfpga.py - A simple web.py application allow remote debugging on Altera FPGA #Project NetFPGA created by Shengye Wang, Fudan University 01/25/2013 #Inspired by Prof. Michael Taylor, UC San Diego #See http://shengye.me for more information #This file may be used or modified with no restriction...
[ "wang@shengye.me" ]
wang@shengye.me
6e4d047048b44a9f53560676832db0f6ee3dff43
dc6bf406f1fe5db2017ddcff0211f7c5252a27c0
/cart/views.py
ecdd6a57361d0977bc7a5b13a07915b67261aa9e
[ "MIT" ]
permissive
deeksonparlma/kibandaski
1ac8dc4a39fc13a15b28a1139ea8d8f723f34d05
fc20c698ba78c8e9929dcc5e3bca5759cfd103d2
refs/heads/master
2020-04-26T12:32:15.674177
2018-03-26T18:33:35
2018-03-26T18:33:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
from django.shortcuts import render,redirect,get_object_or_404 from django.views.decorators.http import require_POST from django.contrib.auth.decorators import login_required from food.models import Food from .cart import cart from .forms import CartAddProductForm @require_POST def cart_add(request, food_id): Cart...
[ "vicky.mutai96@gmail.com" ]
vicky.mutai96@gmail.com
335c87cc93a10de387677484e2a7b19f2b27cc54
796a18ac82528968a59e8d3829f2f47415df1778
/src/transkribusServer.py
96a8c77d426261220ee5cf86936bbd05525533ae
[]
no_license
qrzeller/transkribus-recognition-improvement
e882eaeb12e95fe32d1d4ca153e31518e88b2321
97af203e60203a0086cc2e8ac33e0424801a11d5
refs/heads/master
2022-12-15T07:02:26.757604
2019-07-03T13:40:59
2019-07-03T13:40:59
178,247,516
1
0
null
2022-12-08T01:22:13
2019-03-28T16:59:48
Python
UTF-8
Python
false
false
2,199
py
import os from TranskribusPyClient.src.TranskribusPyClient import client class TrtanskribusServer(): def __init__(self, user, password, colId=-1): self.s = client.TranskribusClient() if self.s.auth_login(user, password): print("Login successful") else: print("Cannot login") self.c...
[ "quentin@zeller.xyz" ]
quentin@zeller.xyz
c5ebbca3223f948f4b4d71f7bdbc7f6da53e72bc
f370072d7d07681654d4a8c06b23e6508af5679c
/entregable 1.py
04aa02706a14646f7c91b0549da45a33f3d90c67
[]
no_license
Thitsugaya1/python
58268f3544907db3e03a06d57119437ba942bc2e
6de59c4c576d73e8552e3bd6a74ab49fda140097
refs/heads/master
2021-07-15T17:46:54.608543
2020-07-31T17:09:43
2020-07-31T17:09:43
194,190,801
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 10 15:48:09 2014 @author: Toshiron """ x = int(raw_input("x ")) y = int(raw_input("y ")) R1 = int(raw_input("Radio 1 ")) R2 = int(raw_input("Radio 2 ")) R3 = int(raw_input("Radio 3 ")) if R1>0 and R2>R1 and R3>R2: if x*x + y*y <= R3*R3: if x*...
[ "noreply@github.com" ]
noreply@github.com
bfa12f99f26a1804bedae8e86cc34726f79f9e1f
822da89b2fdf2bc0f31d6018aad8cfec24fb9d7b
/experiment/migrations/0002_auto_20170109_1133.py
c218f587c1721b06ff95a25a64712bc1baff5de7
[ "MIT" ]
permissive
piotrb5e3/1023alternative-backend
daef41f68c9ee3ff4e0b13620339cc975b08a1bf
3a3882a906ae17d9d670d600d68063e4a9ea7102
refs/heads/master
2020-06-21T17:55:05.021801
2017-01-23T23:05:23
2017-01-23T23:05:23
74,777,759
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-09 11:33 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('experiment', '0001_initial'), ] operations = [ ...
[ "piotrb5e3@gmail.com" ]
piotrb5e3@gmail.com
fa6038bb9ebd4f86443a72c63cef5659417085ca
e1d3233af9a37e4f961acd571bd309e209e579ae
/manager/migrations/0001_initial.py
8c35a9ca258596e5eaa493829ff8ac9aa7703300
[]
no_license
AkashUR/DesktopManager
1e11b510b474e7c8d819a6f7617919a0af42ff83
0458b01781c083e1889a1db5f85685e1d50edcd1
refs/heads/master
2020-05-24T02:27:12.849967
2019-05-16T15:39:36
2019-05-16T15:39:36
187,054,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
# Generated by Django 2.0.2 on 2019-02-17 13:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Log', fiel...
[ "noreply@github.com" ]
noreply@github.com
a300a53801d6563a292adcaecedf28904dce9352
81cdb096c3d77b8c661d1d8642fe0249d39d6a53
/FindArt/Web App/contacts/admin.py
a5919f43920fbe67f32a5ddcbed7777d52b4731c
[]
no_license
KinGGniK/Find-Art
a5e5f0b11508e393c1e50614bf6db82d4e760e88
d808205c8a191dd9635b7d9bf1b1d927b6df508f
refs/heads/master
2020-04-24T06:20:49.938811
2019-02-20T23:19:28
2019-02-20T23:19:28
171,761,870
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from django.contrib import admin from .models import Contact # Register your models here. class ContactAdmin(admin.ModelAdmin): list_display = ('id', 'name', 'piece', 'email', 'contact_date') list_display_links = ('id', 'name') search_fields = ('name', 'email', 'piece') list_per_page = 25 admin.site....
[ "ivensky360@gmail.com" ]
ivensky360@gmail.com
8abc95bec8038849f64be347049b2fc2a6223c08
643eb2b2a461549251895379f0a185efbdbb8645
/env/Scripts/createfontdatachunk.py
6d5d146812c101a634e3f3421ace16f6a66dbc62
[]
no_license
MSAmit/aussiestocktrader
17d0a85f6e4653b6902aad1565fcc9839637f8ea
54db305230397da993d335bd557fefd493ddb7ed
refs/heads/master
2022-11-17T01:35:10.901973
2017-09-06T14:40:33
2017-09-06T14:40:33
92,906,927
0
1
null
2022-11-03T08:31:18
2017-05-31T05:14:29
CSS
UTF-8
Python
false
false
614
py
#!c:\users\meamit\desktop\aussiestocktraderdjango\aussiestocktrader\env\scripts\python.exe from __future__ import print_function import base64 import os import sys if __name__ == "__main__": # create font data chunk for embedding font = "Tests/images/courB08" print(" f._load_pilfont_data(") print(" ...
[ "shanksamit123@gmail.com" ]
shanksamit123@gmail.com
3ef68c4e00519dc36a8f040be797b3099fb9a65c
e2b70cdf9fd24f9a002081a4fb3a1224cc624190
/Face_Detection/detect_all_dlib.py
fe403606333683c4e5325701b4ef41fbeffece58
[ "MIT" ]
permissive
Tubbz-alt/Image-Restoration
059a3cc96e55cf78b21272cbe86de0b52a06cd19
55b681c2e366a300d3e96cf7c734b07225d7d3df
refs/heads/main
2023-01-24T03:17:39.827973
2020-12-12T09:00:29
2020-12-12T09:00:29
321,444,051
1
0
MIT
2020-12-14T18:56:31
2020-12-14T18:56:30
null
UTF-8
Python
false
false
5,307
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import torch import numpy as np import skimage.io as io # from FaceSDK.face_sdk import FaceDetection # from face_sdk import FaceDetection import matplotlib.pyplot as plt from matplotlib.patches import Rectangle from skimage.transform import Simi...
[ "41532584+yasamin-niknam@users.noreply.github.com" ]
41532584+yasamin-niknam@users.noreply.github.com
552213ea699ee5c5dbeb98cc9cf8b5eaf76bed64
cf6646983a0088248acfc5dafefd847a350bac94
/posts/views/admin.py
0e677adb3fb805b838df242ecf343a7ae63fbd7b
[ "MIT" ]
permissive
Toxblh/vas3k.club
a370239e95b496f234cd6dd018881f1dcfa78d69
97fa3c815b25a6af789ba04892627f6c6c822113
refs/heads/master
2022-11-09T01:43:56.581340
2020-07-05T18:51:21
2020-07-05T18:51:21
277,580,310
1
0
MIT
2020-07-06T15:30:57
2020-07-06T15:30:56
null
UTF-8
Python
false
false
1,896
py
from django.shortcuts import get_object_or_404, render from auth.helpers import auth_required, moderator_role_required from bot.common import render_html_message from notifications.telegram.posts import announce_in_club_channel from posts.admin import do_post_admin_actions from posts.forms.admin import PostAdminForm, ...
[ "me@vas3k.ru" ]
me@vas3k.ru
3d36d8542ca387319e47bd61e32eb8a71c9f7a09
44d7c13c0b09b1433a16f2cf54df761a326630b9
/predict_w2v.py
7f0a3fe46be544186293cd8da95b65fd82c0cd50
[]
no_license
gyy8426/MSRNN
5f9abed5a6432bc9f575797fb54a5d4ff78bd874
2b91d8b647a4cca28bba28b26d9b88c69e6eac77
refs/heads/master
2022-06-18T23:17:39.494287
2022-06-07T15:05:30
2022-06-07T15:05:30
97,574,787
4
1
null
null
null
null
UTF-8
Python
false
false
19,954
py
from utils import * import copy import numpy as np class Predict(object): def build_sampler(self, layers, tparams,Wemb, options, use_noise, trng): debug_print = [] #debug_print.append( theano.printing.Print('input_p.shapa')(input_p.shape)) # context: #annotations x dim ct...
[ "842651507@qq.com" ]
842651507@qq.com
859298615eca58d27ee301fcdc7cc9d54d5cdcf7
a964352de25046b629ed16b3df297f628ddb3646
/dataflame/version.py
c623cf496f5309e7eb108718c810f9b5b49e1e9a
[ "Apache-2.0" ]
permissive
shayanfazeli/dataflame
d72b1341b813e8a6888dec80b307eb5c4c6dcbdb
a7af906288b6303fafe437f797c6afffa9079b47
refs/heads/master
2022-07-17T22:29:49.487122
2019-11-21T02:54:45
2019-11-21T02:54:45
204,369,401
0
0
Apache-2.0
2022-06-21T22:35:27
2019-08-26T01:02:27
Python
UTF-8
Python
false
false
154
py
_MAJOR = "1" _MINOR = "0" _REVISION = "6-beta" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR) VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)
[ "shayan@cs.ucla.edu" ]
shayan@cs.ucla.edu
bee576efdbcfc4d5518a173f386250f5a0397bf8
2738194fbd564439a164f323f50b33db50923dfa
/src/github.com/nats-io/asyncio-nats-streaming/examples/queue_group.py
ac12444a6fccf371c317272af89c6b3828dac463
[ "MIT" ]
permissive
asialiugf/gott
dbb581de78010f70b1681f5fdd3457ac4a01410d
45ba35fbae6af98138661532951336ce8ac5088c
refs/heads/master
2022-12-17T01:56:58.815789
2017-12-22T01:51:40
2017-12-22T01:51:40
112,195,086
0
0
null
2022-12-08T00:42:00
2017-11-27T12:43:43
Go
UTF-8
Python
false
false
1,450
py
# Copyright 2017 Apcera Inc. All rights reserved. import asyncio from nats.aio.client import Client as NATS from stan.aio.client import Client as STAN async def run(loop): nc1 = NATS() sc1 = STAN() await nc1.connect(io_loop=loop) await sc1.connect("test-cluster", "client-1", nats=nc1) nc2 = NATS(...
[ "asialiugf@sina.com" ]
asialiugf@sina.com
7c988bb45e59202d421c2c4a2033c76c06732832
cbff9a1f0a1d7221b4bbaf2e02bb90004fac3bf9
/blog/models.py
f88fb31a34875c6e82239618746e56c20c7437f0
[]
no_license
liumaoshen/liumaoshenblog
eb94a5f579b7950af781f292a8df1f33a8a4fc8b
f34ee4f5c420f9d4305972803b6693554d9225dd
refs/heads/master
2021-04-24T21:39:35.033999
2018-01-10T09:34:56
2018-01-10T09:34:56
116,937,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from django.db import models from django.contrib.auth.models import User from django.urls import reverse from django.utils.six import python_2_unicode_compatible # Create your models here. @python_2_unicode_compatible class Category(models.Model): name = models.CharField(max_length=100) def __str__(self): ...
[ "2449234611@qq.com" ]
2449234611@qq.com
b0fb8943da9fd057e6dc3b232caa8a74154ef40f
7264dde37e2cab4c5a73f5d814249bee4a58cffb
/packages/conan/recipes/cmake/test_package/conanfile.py
5154eb9e5c445edac433fd662672f56a02634aa9
[ "Apache-2.0", "MIT" ]
permissive
aloysbaillet/aswf-docker
f6410171f814d4bfb1b976326f2f01a1e7d6ed16
5dc8fc7ec9fde634aa3b3608903da16670230c98
refs/heads/master
2023-01-28T03:27:02.830582
2023-01-21T03:18:50
2023-01-21T06:50:20
191,636,815
3
0
Apache-2.0
2019-07-30T15:51:48
2019-06-12T20:04:10
Shell
UTF-8
Python
false
false
705
py
import os from six import StringIO from conans import ConanFile, tools class TestPackageConan(ConanFile): settings = "os" def test(self): if not tools.cross_building(self.settings): output = StringIO() self.run("cmake --version", output=output, run_environment=True) ...
[ "aloys.baillet+github@gmail.com" ]
aloys.baillet+github@gmail.com
8afb565e8c088838ac3d5b09ef30ba77d098a713
1bd0fe85d2d417c4a16940e32ef1b8abe29d95f4
/echobot/models.py
f2817124291b05ca3bdf8c216bcbdb250430fa81
[]
no_license
amosricky/LineBot
e68ab7df13d4082d8001db55223025794b41cc73
50d68c13cbb76176879c7399319fbb528b7dbcbe
refs/heads/master
2022-12-08T10:13:18.804419
2018-03-12T10:28:21
2018-03-12T10:28:21
124,871,843
0
0
null
2022-12-07T23:47:26
2018-03-12T10:25:14
Python
UTF-8
Python
false
false
901
py
from django.db import models # Create your models here. class user(models.Model): userID = models.CharField(max_length=100) TimeStamp = models.CharField(max_length=100) def __unicode__(self): return self.userID class goods(models.Model): goodsID = models.CharField(max_length=100) title = ...
[ "amosricky95@gmail.com" ]
amosricky95@gmail.com
da761fb4b1552b29b86d4bdfba1658040562588f
55c12592dfa226b0ad047947d22f25914a5b30ff
/crotal/views.py
ae8e7ba2bee960e45043e92ccae1d5ea99ae21ca
[ "BSD-3-Clause" ]
permissive
dezechristophe/Crotal
821fbdd4f6828d4e699654d9b6e90c8b3af87d2d
270cc6fb09a0ae4e734651a900eaa7ef038a5a7b
refs/heads/master
2021-01-21T03:38:13.267514
2014-01-23T16:22:47
2014-01-23T16:22:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,935
py
# -*- coding:utf-8 -*- import os.path from jinja2 import FileSystemLoader from jinja2.environment import Environment from crotal.models.posts import Post from crotal.models.pages import Page from crotal.models.categories import Category from crotal.plugins.markdown.jinja_markdown import MarkdownExtension private_dir =...
[ "dinever@live.cn" ]
dinever@live.cn
49e54172dde1f0d80e80ad8549712d2fd174f679
e8326dbcca8b2c2b4bbfd66cde90dc218fcd585f
/Occupancy_Grid/condensed_OG.py
9cb61681b4d6fd44139e93459802600e50feed07
[]
no_license
knickels/OLDNickelsLab
327b70969f65054fd1a3a6819fe0c895a290f660
15e6b39e8c99daa3b62b04bd73ce0b910760de13
refs/heads/master
2020-04-14T14:27:15.337951
2015-03-03T16:34:22
2015-03-03T16:34:22
21,049,447
1
1
null
null
null
null
UTF-8
Python
false
false
3,009
py
# Author: Pablo Tarquino (building off of Eric Kang's work) # First "real-time" mapping program. # Notes: It needs external program to operate robot (playerv, etc.) # Improvement: Make faster response time # Improvement: Make continuous plotting, not just when it changes direction import sys import os sys.pa...
[ "rgreen1@trinity.edu" ]
rgreen1@trinity.edu
7d7c54c48ac7b4204a4dcf6d1930095c8a3cac28
b20c72f0bc5c71cb262259874a1a0d583d413a9e
/100+ Exercises course/002.py
e8f18bd0aa02b14e4598e7b01932cd437881004f
[]
no_license
Kacyk27/python-unittest-learning
f40d5748322a3c94e44330799f997f6450bb2cbd
bdc4d8cec38b306e53bb98e853bb8373d0328828
refs/heads/main
2023-08-12T07:18:13.481355
2021-09-23T00:09:23
2021-09-23T00:09:23
402,567,684
0
1
null
null
null
null
UTF-8
Python
false
false
96
py
countries = ['POL', 'ENG', 'GER', 'USA', 'ITA'] is_canada = 'CAN' in countries assert is_canada
[ "dudek.kacper2797@gmail.com" ]
dudek.kacper2797@gmail.com
1557177234d2e73621871b8266e14969956cd97f
deab99a317f0d755a9ca37c323ce1150d334bae4
/app/models/state_history.py
4c84b78f5bf1733ea6d71db7d49ac0798947260b
[ "BSD-3-Clause" ]
permissive
jcarlosneto/crwiz
f9d78666e362c7f6b14b17c90519b578af9a9f7a
1e0c4b28b41d6956df875529dba90befeaf36525
refs/heads/master
2022-04-07T14:37:22.035701
2020-03-05T12:15:06
2020-03-05T12:15:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
import bson from .. import db from . import Base from .log import Log from .user import get_user_messages class StateHistory(Base): __tablename__ = 'StateHistory' user_id = db.Column(db.Integer, db.ForeignKey("User.id"), nullable=False) previous_state = db.Column(db.String(100), nullable=False) utterance = d...
[ "jchiyah@outlook.com" ]
jchiyah@outlook.com
ffd098afc7c7363e15f0181d9a02f89ec7709a69
a77802040fac0c1207902946f3a1e8a2d9a4fbd0
/examples/ccxt.pro/py/binance-reload-markets.py
50ad40b078a268a69c9fd85cc548d15e0af10bb8
[ "MIT" ]
permissive
ndubel/ccxt
6eef84cddc9ac42db2fd03b9eaa04befd59775e6
982a12b1ab0f02a11911bee8a0aba8ad4f35ded1
refs/heads/master
2023-07-29T15:45:37.941234
2022-04-05T10:26:05
2022-04-05T10:26:05
331,591,556
1
0
MIT
2021-01-21T10:24:16
2021-01-21T10:24:15
null
UTF-8
Python
false
false
1,360
py
import ccxtpro from asyncio import get_event_loop, gather print('CCXT Pro version', ccxtpro.__version__) async def watch_order_book(exchange, symbol): while True: try: orderbook = await exchange.watch_order_book(symbol) datetime = exchange.iso8601(exchange.milliseconds()) ...
[ "igor.kroitor@gmail.com" ]
igor.kroitor@gmail.com
6247a271ea7143389db5f30cc399967974103431
7cc67e3e7b1e2b431922a5a9cac9662ffa7a89e8
/test_lt_LT.py
20c4e14bd9e66573749fa81689a28dd9fff15a44
[]
no_license
lv-gh/numbertext-lt
e3912590f5f6d6f0e3de4beb84da4bec55f58d32
fb9f6539f7ca454407fc16ca31854f040f6f4adf
refs/heads/master
2021-01-09T20:32:20.054235
2016-06-03T17:11:16
2016-06-03T17:11:16
60,359,377
0
0
null
null
null
null
UTF-8
Python
false
false
11,937
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os, sys, re import timeit import random import doctest import argparse from threading import Timer, RLock from cachetools import TTLCache, cached root = os.path.dirname(__file__) sys.path.append(os.path.join(root, 'org', 'Numbertext')) import Sor...
[ "laimonas.vebra@gmail.com" ]
laimonas.vebra@gmail.com
d41d5aa5e426cc07f5afb1c5003970a387e889ba
ab3aba678ae49b744a5a97b4d87a737678ec160d
/previous_scripts/onerun2.py
9e932baaa4325b04faad0cc7d777245b7dd3d61f
[]
no_license
wolfgangouille/pytorch_traderAI
4acff9493f2ee20ebb343b4727d49f1593a26318
1806e0a600e1072363c086606aea1d0cb3507bc9
refs/heads/master
2023-08-24T17:10:05.327932
2021-10-29T21:41:21
2021-10-29T21:41:21
361,022,710
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
less=torch.zeros(duration,1,ag1.inputlength+ag1.hiddenlength) times=[] sizes=[] lesr=[] lesa=[] ag1.EUR=100; ag1.XBT=0; ag1.value=100; ag1.meanreward=0; ag1.iterations=0; ag1.record_on=0; ag1.lasth=torch.zeros(1,1,ag1.hiddenlength) ag1.epsilon=0.25 Nbatch=150 Lbatch=20 duration=ys.__len__()-Ilength-1 for k in range...
[ "wolfgangouille@aol.com" ]
wolfgangouille@aol.com
7d58317b6f2f3c90960acc903fb374e5632ffd0f
b97ce434b7889c402a8b939fe0ef1e8f117b2f68
/src/wizard/media/images.py
9a7328f3244904018467edee9acca56c1dd016b8
[ "BSD-3-Clause" ]
permissive
ODM2/ODM2StreamingDataLoader
164cf272450ada9c0edf2fbbab1db8bbf5e40697
711886167a068754efff6dfbd604e3e19e545253
refs/heads/master
2020-04-04T07:52:49.118152
2017-08-03T18:02:23
2017-08-03T18:02:23
20,116,035
2
0
null
2017-08-03T18:02:23
2014-05-23T22:30:50
Python
UTF-8
Python
false
false
23,592
py
#---------------------------------------------------------------------- # This file was generated by /Users/stephanie/DEV/StreamingDataLoader/src/wizard/media/img2py.py # from wx.lib.embeddedimage import PyEmbeddedImage blue_add = PyEmbeddedImage( "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAABblBMVEUAAAAwVrEwVr...
[ "stephanie.reeder@usu.edu" ]
stephanie.reeder@usu.edu
ea01353fee3883e777cd572d6adebbe811a1ae98
8a61f0803e9d18772d867857a5a2a15e9549e6f5
/pnu/urls.py
6434f255de0516ae85606ecbb65c5bbecf72cc79
[]
no_license
hjlee73/pnu-django-201904
94504935bf5bdb511d7b99c138e3ea3d9ac5f758
6e39a9b63525a8312968cabcc190f8661e1aa9e3
refs/heads/master
2020-05-20T18:19:55.389915
2019-04-12T08:22:12
2019-04-12T08:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
from django.contrib import admin from django.urls import include, path # FIXME: 이 코드는 RedirectView에 의해서 제거될 것입니다. from django.shortcuts import redirect def root(request): return redirect("/shop/") urlpatterns = [ path('admin/', admin.site.urls), path('shop/', include('shop.urls')), path('', root), ]
[ "me@askcompany.kr" ]
me@askcompany.kr
c57ff123c590a2cf75240e12400e1fc1736c0cc0
a3df58165b664dcf114e64dd16688ec4f10e9243
/main2.py
54a3122c74a624418d01868d07cf95e8a0408547
[]
no_license
nguyentannguyen166/ntn1904
a0be1ea7a4d645ba149f343ae0a30ed4a8f670ce
e1502ca5f482ec8c3d61e8f21b0ff057131bb8d9
refs/heads/master
2023-07-27T14:32:51.018581
2021-09-11T11:59:43
2021-09-11T11:59:43
405,363,206
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
import math a= int(input("nhap a")); del songuyento(a): b=0; for i in range(1,a+1): if a%i == 0: b=b+1 if b==2: return("a la so nguyen to"); return("a ko là so nguyen to"); print(songuyento(a))
[ "ntn19dubai@gmail.com" ]
ntn19dubai@gmail.com
048521fbf9c0d46993e2505ccc84c3e21302ed2a
ec65636f2f0183c43b1ec2eac343b9aa1fc7c459
/train/abnormal_detection_new/10.133.200.69/session_active.py
17249ec5279b8fc88290cc73764f849af4dd5cb5
[]
no_license
tyroarchitect/AIOPs
db5441e5180fcace77b2d1022adb53bbd0b11f23
46fe93329a1847efa70e5b73bcbfd54469645cdd
refs/heads/master
2020-04-16T13:45:02.963404
2018-11-15T06:50:57
2018-11-15T06:51:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,203
py
import tensorflow as tf import numpy as np import pandas as pd import matplotlib.pyplot as plt # settings of lstm model timesteps = 20 batch_size = 64 epochs = 5 lstm_size = 30 lstm_layers = 2 filename = "../../../datasets/1-10.133.200.69_20181027_20181109.csv" model = "../../../model/abnormal_detection_model_new/10...
[ "873869027@qq.com" ]
873869027@qq.com
285062a75cfa3493ea2d508bdbf90d09d900d8c7
18d83768d178551cfbf182fad9a1ed1dce449598
/blue_relay_poc/app/db_tables.py
2330b4cd6d36bc90a5a6297e0ac001fbc99cdaf6
[]
no_license
duhicomp/workspace
9a5d8da63239df1a284ea039d0c6d93455eaff7e
633b888d7de868ddd685a6a19adee0ec7c8080cb
refs/heads/master
2020-04-15T16:32:16.372712
2016-02-24T15:59:12
2016-02-24T15:59:12
34,009,108
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
from app import app, db with app.app_context(): print db.reflect() # print db.metadata.schema # print db.metadata.tables ResDesc = db.metadata.tables['res_desc'] # print dir(ResTyp) # res_select = ResTyp.select().where(ResTyp.columns.ID == 0) # print dir(res_select) # result = db.sessi...
[ "m.makhzomi@gmail.com" ]
m.makhzomi@gmail.com
080cec501022e82e07a5355b6dcecf7d4acce296
f9ca6bd7c9e7b0ff2f9d4039213a81859b7c5179
/clientlist/tests/test_case_clientlist.py
57e68c24462fe91a6677766828ac86729567652c
[]
no_license
opherdonchin/liyapilates
f1a1dfd9ecf905da7c6ed2ad20a4003b13f4d98d
97009b629db974ee18cf1aeeaf3687ebf0e6704f
refs/heads/master
2022-05-29T13:45:04.800437
2019-08-03T14:27:02
2019-08-03T14:27:02
187,392,106
0
0
null
2022-04-22T21:36:59
2019-05-18T18:25:50
Python
UTF-8
Python
false
false
2,944
py
from datetime import timedelta from django.utils import timezone from django.test import TestCase from ..models import Client, Card, CardType, Lesson, LessonType from django.test.utils import setup_test_environment class ClientListTestCase(TestCase): client_name1 = 'Sarah Shadlock' client_slug1 = 'sarah-shadlo...
[ "opher.donchin@gmail.com" ]
opher.donchin@gmail.com
87aeeb6fab1174bc70f1f828ffefc4e813138f52
7546e55f860b7701cdeae4f965c40a6a8f3378c4
/main/forms.py
237ee40f112dddc4350a7d118ebd16bbbaf21ec8
[]
no_license
ave-78/django_db
7503c6e6b86b6eb2e054bf300e9aec16575d071d
1574c14b217bc641d4072f883275bf6d637dff46
refs/heads/master
2020-07-12T09:07:48.528959
2019-08-27T19:34:31
2019-08-27T19:34:31
204,775,199
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from django import forms class Form1(forms.Form): name = forms.CharField( min_length=1, max_length=20, label='Имя', initial='Noname', help_text='Введите свое имя') age = forms.IntegerField( required=False, min_value=1, max_value=120, label='Возраст', initial='18', help_text='Введите свой возрас...
[ "mialeter@gmail.com" ]
mialeter@gmail.com
899ddad0ccaa03f1cccb2693cbfe0916db0a2112
cd781c114deb0ee56fcd8e35df038397ebf8dc09
/Classes and Objects basics/Class.py
90dd512abd00251408ad11e23ac9c5e7d11cfc57
[]
no_license
GBoshnakov/SoftUni-Fund
4549446c3bb355ff74c14d6071d968bde1886de5
de9318caaf072a82a9be8c3dd4e74212b8edd79e
refs/heads/master
2023-06-06T04:56:14.951452
2021-06-30T21:50:44
2021-06-30T21:50:44
381,817,178
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
class Class: __students_count = 22 def __init__(self, name): self.name = name self.students = [] self.grades = [] def add_student(self, name, grade): if Class.__students_count > len(self.students): self.students.append(name) self.grades.append(grade) ...
[ "boshnakov.g@gmail.com" ]
boshnakov.g@gmail.com
c10012c74a053ca6e3cb4b656b1a0b473a613b5d
51ed1a0e85bfeb4958b53225c25f0d1cbaa9ed83
/gh_tools/migrations/0007_auto__chg_field_blogmodel_email.py
e7e614ae4f7dd29487b76843089004dbafebdaca
[]
no_license
bs-insecure/gh_tools
901b74b4651abb660f83650252df96b07d3e5416
84365db7007a67a2efbc53c332ec6cfcd5ff599c
refs/heads/master
2021-01-23T15:41:53.145153
2013-02-23T21:59:07
2013-02-23T21:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'BlogModel.email' db.alter_column('gh_tools_blogmodel', 'email', self.gf('django.db.models...
[ "bogdan.staicu@cegeka.be" ]
bogdan.staicu@cegeka.be
ab672d9af755c205e647fa7d7e758d8fadc62a4f
b1f991ab088c5447fbdd7affa73e285d827ee5f1
/env/bin/range-detector
8c70fdbc325a0c88c3b15c854289157402981935
[]
no_license
darvid7/fb-hackerdoggos-voice-backend
53133b9a20f19599d34fb613e8de07a432d7e86d
5dd171648187adcb06e61796465ccba10c5e4e39
refs/heads/master
2021-01-20T13:02:51.134598
2017-05-08T07:53:59
2017-05-08T07:53:59
90,436,899
2
0
null
null
null
null
UTF-8
Python
false
false
2,591
#!/Users/David/Desktop/FB-Hackathon/backend/fb-hackerdoggos-voice-backend/env/bin/python # -*- coding: utf-8 -*- # USAGE: You need to specify a filter and "only one" image source # # (python) range-detector --filter RGB --image /path/to/image.png # or # (python) range-detector --filter HSV --webcam import cv2 import ...
[ "bvdarvid@gmail.com" ]
bvdarvid@gmail.com
8db87241f8729075799cebef19640aeff7c95d7a
7b909395e809f1337cc305818e15d8d6cc01a0db
/copy2.py
8693086aa6177feab7d8fec197d279d8d3aebf0b
[]
no_license
sriharsha0806/CarND-Advanced-Lane-Lines
99d0ccbdd1f7d1d29d1f07412e12ca50536867d8
001cb7100a146cfd324239a98c5ab7f5d93d5315
refs/heads/master
2020-05-21T05:03:20.503976
2017-04-16T15:08:18
2017-04-16T15:08:18
84,573,964
0
0
null
2017-03-10T15:31:39
2017-03-10T15:31:39
null
UTF-8
Python
false
false
3,391
py
import numpy as np import cv2 class(tracker): # When starting a new instance please be sure to specify all unassigned variables def __init__(self, Mywindow_width, Mywindow_height, Mymargin, My_ym = 1, My_xm = 1, Mysmooth_factor = 15): # list that stores all the past (left, right) center set values used for smooth...
[ "noreply@github.com" ]
noreply@github.com
329e5754ce0f88cbc105d4a0378d750583a6060c
bd85070753c0a8dd4bce46eaa06fd42eef6197de
/lists/views.py
bc0babbdb1cd2ee7ed0d7d2ff683e8a4a38ade85
[]
no_license
porlin72/superlists
23412e73834ea3935e4ea451d2c0c2e922779b83
40ab46cb9c80dc3bdcf27f97a4e3e92ba212dc22
refs/heads/master
2021-01-20T01:57:10.358751
2014-01-15T03:00:40
2014-01-15T03:00:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
from django.shortcuts import redirect, render from lists.models import Item, List # Create your views here. def home_page(request): if request.method == 'POST': Item.objects.create(text=request.POST['item_text']) # return HttpResponse(request.POST['item_text']) return redirect('/lists/%d/'...
[ "porlin72@yahoo.com" ]
porlin72@yahoo.com