blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
bdb1154ad002002f1aea81f229180159a5ca1049
5b14eb5c7d24b189846e0fdf71ca292a0e89f1d4
/test/crab/crab3_Data_TimingScan2016_0T_RECO_ZB1.py
0b8808bdef7d713e7189287f52f9c66f8d370de1
[]
no_license
jkarancs/PixelTimingStudy
6e1254e00c2df8394f7d084f94b87db3fa4aeca6
b8a9306e4b9f3e3d034ba9bc0a65625a84e4e877
refs/heads/master
2021-04-22T06:37:59.388077
2017-03-22T13:12:33
2017-03-22T13:12:33
11,422,604
0
3
null
2015-12-09T22:22:15
2013-07-15T12:27:54
C++
UTF-8
Python
false
false
1,421
py
import os import glob from WMCore.Configuration import Configuration config = Configuration() PTSdir = os.environ['CMSSW_BASE']+'/src/DPGAnalysis/PixelTimingStudy/' config.section_('General') config.General.transferOutputs = True config.General.transferLogs = True config.General.requestName = 'TimingScan16_RECO_ZB1'...
[ "janos.karancsi@cern.ch" ]
janos.karancsi@cern.ch
788e5f42510d70310fec1a080d28c3bc5e7e33d6
b77265a5b6a20277439c5f61d0dccf30ed71bed9
/qqGroup.py
1b6d797d493bc3ca85a1ed4e8485b5b27c023306
[]
no_license
LightAndDarkNight/craw_qq_group_members
2959dc8d83e2527db2d64297842a19327ba268e1
08f6965c1277a69343a9075f3934bdfe3a6a5b7b
refs/heads/master
2021-06-27T19:00:08.249306
2021-03-08T07:37:52
2021-03-08T07:37:52
219,451,088
2
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
import pandas as pd import tkinter as tk from Crawer import craw str1=''' -------------------------------------------- 欢迎来到由(^v^)制作的qq群成员的小程序 请根据以下注意事项爬取进行爬取: 1、本程序暂时只支持火狐浏览器 2、登录后请将成员表下拉到底后关闭浏览器。 3、本程序仅供学习。 -------------------------------------------- ''' windows =tk.Tk() windows.resizable(Fals...
[ "”2787819143@qq.com" ]
”2787819143@qq.com
62cb20767643e6e16dd23e0aead9b51ac4bab037
137b88f81a7b08aecc5ca0b624a6b68c4578585d
/baekjoon/DP/9095_123sum.py
f1339fcd89edf77060b395b7fbf62159cc69ebe9
[]
no_license
mayblue9/Algorithm_Python
dbce59a9aefbcef5bbbcd1b250d2297f0e5fed0c
42b65f8e9a118453d627d2a362493fcd50f9e35c
refs/heads/master
2021-01-17T05:53:14.052432
2016-02-24T12:40:44
2016-02-24T12:40:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
""" 1, 2, 3 더하기 성공 한국어 원문 문제집 시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율 1 초 128 MB 1622 1137 856 68.866% 문제 정수 4를 1, 2, 3의 조합으로 나타내는 방법은 총 7가지가 있다. 1+1+1+1 1+1+2 1+2+1 2+1+1 2+2 1+3 3+1 정수 n이 주어졌을 때, n을 1,2,3의 합으로 나타내는 방법의 수를 구하는 프로그램을 작성하시오. 입력 첫쨰 줄에 테스트 케이스의 개수 T가 주어진다. 각 테스트 케이스는 한 줄로 이루어져 있고, 정수 n이 주어진다. n은 양수이며 11보다 작다. 출...
[ "alwaysfun2183@gmail.com" ]
alwaysfun2183@gmail.com
8e8eb775dbbed0858f599e14b3f48a96ad069ad2
4e7d0dd207dda13c9b3c3ce86dca10f07aad0d74
/HockeyFights/learning/rnn/cnnVideo.py
66abbfabf23a034f69c4de5fe3e94c48afb8b910
[ "MIT" ]
permissive
mletunov/MachineLearning
bf5ea39f7df2761e9e094e4f9257962503e768d5
051f21150b7404025dc45a0eb13b4aba891f6f2d
refs/heads/master
2021-01-11T13:34:04.572473
2017-04-20T20:54:03
2017-04-20T20:54:03
81,570,629
1
1
null
null
null
null
UTF-8
Python
false
false
6,617
py
import numpy as np import tensorflow as tf import dataset.utils as utils from learning import baseNetwork class CnnModel(baseNetwork.BaseModel): def __init__(self, frame, norm_type, checkpoint_dir=None, seed=None): self.frame = frame self.seed = seed return super().__init__(norm_type, check...
[ "maxim.letunov@artezio.com" ]
maxim.letunov@artezio.com
8d4cb48582b4ba184f76bbd0fcb6b26d97663617
614c3b9a7b8d948f21c7a522f03028dc801e40c9
/FunWithHashing.py
25edb699ed8b98932091d356f9ef468333f8cd11
[]
no_license
Clockwick/DataStructureP2
ee049e8a92a06269ecb5574b40206901571e90ef
323ca4a5fd8e5addfe3b371010048faa37a160b5
refs/heads/master
2023-01-13T05:33:21.929581
2020-11-22T05:25:52
2020-11-22T05:25:52
291,057,282
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
class Data: def __init__(self, key, value): self.key = key self.value = value def __str__(self): return "({0}, {1})".format(self.key, self.value) class Hash: def __init__(self, size, max_col): self.current_size = 0 self.size = size self.max_col = max_col ...
[ "oclockth@gmail.com" ]
oclockth@gmail.com
a4edb019c8bb611867382bd41f3e6b01771f81a0
1ac2594314c0de24528b171c8f9120566a3cd4be
/tests/test_api/test_application_auth.py
0a6f5f693cb4951d759daff7ef217d31d039c1b5
[ "MIT" ]
permissive
Zheaoli/huskar
a4c7e7b02bef301b5283519b1e1608489d79d95b
395775c59c7da97c46efe9756365cad028b7c95a
refs/heads/master
2022-07-11T06:54:34.810211
2020-01-01T08:00:57
2020-01-01T08:00:57
218,746,862
0
0
MIT
2019-10-31T11:06:11
2019-10-31T11:06:10
null
UTF-8
Python
false
false
8,603
py
from __future__ import absolute_import from pytest import fixture, mark from huskar_api.models.auth import User, ApplicationAuth, Authority from ..utils import assert_response_ok @fixture def add_user(faker): def factory(names): for name in names: if isinstance(name, list): n...
[ "mozillazg101@gmail.com" ]
mozillazg101@gmail.com
a9861cd77b3dc21961d3a34b43b9b498b8566623
f90cfb75e75aef72fcb7c7b66c5775ecc712868b
/3.py
c60f6f79f822f2f3496947fa4761bdb3836e6558
[]
no_license
757306650/learnPythonTheHardWay
5a73b0c40df7174f4b2b119166da986638b8a0fc
9764b41c220570792aa9d4fa51d94ac224b95fd8
refs/heads/master
2020-08-09T00:07:56.496258
2015-03-05T03:33:33
2015-03-05T03:33:33
23,909,827
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
print "I will now count my chickens:" print "Hens", 25 + 30 / 6 print "Roosters",100 -25 * 3 % 4 print "Now I will count the eggs:" print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4.0 + 6 print "Is it true that 3 + 2 < 5 - 7?" print 3 + 2 < 5 - 7 print "What is 3 +2?", 3 + 2 print "What is 5 - 7?", 5 - 7 print "Oh, that's why...
[ "757306650@qq.com" ]
757306650@qq.com
d4d08f73436f51abbf9249999f8bd5b6dce1cb2a
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_add_campaign_feed_response_wrapper_body.py
2f27de5df0deda8130743c0c31f94739b41f8938
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
928
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.campaignfeed.model.campaign_feed_type import CampaignFeedType globals()['CampaignFeedType'] = CampaignFeedType from baiduads.campaignfeed.m...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
5e9f5edc1885013a836356ef125492c6de7d6b52
8ddda8fb6e5853126dcdafa3281c75071ada45c1
/vyperlogix/trees/BinarySearchTree/__init__.py
9e650390474f68b25b15dfda4a0d59db47884e97
[ "CC0-1.0" ]
permissive
raychorn/chrome_gui
a48f3f9d931922a018e894f891ccd952476cd1ee
f1fade70b61af12ee43c55c075aa9cfd32caa962
refs/heads/master
2022-12-19T19:46:04.656032
2020-10-08T14:45:14
2020-10-08T14:45:14
299,167,534
1
0
null
null
null
null
UTF-8
Python
false
false
5,463
py
__copyright__ = """\ (c). Copyright 2008-2020, Vyper Logix Corp., All Rights Reserved. Published under Creative Commons License (http://creativecommons.org/licenses/by-nc/3.0/) restricted to non-commercial educational use only., http://www.VyperLogix.com for details THE AUTHOR VYPER LOGIX CORP DISCLAIMS ALL WARRA...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
5c7f43b343bb678692b6d73976eb01b710234f75
ee8414ce8c0ea9439731e89e2e72e3759ad5d59b
/blog/migrations/0001_initial.py
cf36c2f89715075d097e5d8f50ab66bd33368009
[]
no_license
louis6575/blog_project
cd38d06bfd0f448cbb886304fc3bbd4f32b210d0
452140512bc6f0b58c9bafad98d243db6084cc03
refs/heads/master
2020-07-25T19:53:28.237448
2019-09-14T08:25:50
2019-09-14T08:25:50
208,408,066
1
0
null
null
null
null
UTF-8
Python
false
false
9,290
py
# Generated by Django 2.1.7 on 2019-09-13 05:19 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "louis6575@laiyun.comouis6575@laiyun.com" ]
louis6575@laiyun.comouis6575@laiyun.com
47193ec756fca771cdefe437d9cfd48ad786e116
a9ac3c537fc778b34cb32d4528e2d1190e65e19e
/scripts/quantum_hall/plot_soi_vs_density.py
1d23715075d28101edc610eb3beca90b6a499c9b
[ "MIT" ]
permissive
wms269/shabanipy
9f770cfdf113ca8e8af69cd793be2f8bf9b0141a
1e751631e031c528e18d5e0d8ff4fa1457f4107e
refs/heads/master
2022-09-23T15:43:43.875608
2020-04-09T17:49:24
2020-04-09T17:49:24
265,638,022
1
0
MIT
2020-05-20T17:25:40
2020-05-20T17:25:39
null
UTF-8
Python
false
false
2,360
py
# -*- coding: utf-8 -*- """Plot Rashba and mobility vs density from extracted parameters. The csv file to read is expected to have been generated by extract_soi_from_wal.py """ # ============================================================================= # --- Parameters -------------------------------------------...
[ "marul@laposte.net" ]
marul@laposte.net
34cc387898fdb3ccf60d8ab5773e76ac4b48c1a4
bba5208fdaf32b36fddfeb918154646fdb750f3f
/FlaskApp/testFlaskMysql.py
f1583accdbcce1da54afc7c5396b3ad2680aff38
[]
no_license
rwenor/python
ef3005fcbdb6ab288a2537689d90b0695e1afb1d
e17da86ce1cbbcae56a45ea4c13170cbf73ca14f
refs/heads/master
2020-12-14T02:38:52.397482
2019-03-03T22:18:50
2019-03-03T22:18:50
31,793,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
from flask import Flask, request from flaskext.mysql import MySQL mysql = MySQL() app = Flask(__name__) app.config['MYSQL_DATABASE_USER'] = 'webuser' app.config['MYSQL_DATABASE_PASSWORD'] = 'webbruker' app.config['MYSQL_DATABASE_DB'] = 'EmpData' app.config['MYSQL_DATABASE_HOST'] = 'localhost' mysql.init_app(app) @a...
[ "rwenor1@icloud.com" ]
rwenor1@icloud.com
9c32089e5865258988d73e8474c68a70f34955e7
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/Django/进阶部分/day67课上代码两个项目哦/day67/mysite67/app01/urls.py
59ca711f596bdc197689aaf3513219e0abe2620d
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
338
py
from django.conf.urls import url from app01 import views urlpatterns = [ url(r'^home/', views.home, {"age": 18}, name="home"), # 位置参数 url(r'^book/([0-9]{2,4})/([a-zA-Z]{2})/$', views.book, name="book"), # 关键字参数 # url(r'^book/(?P<year>[0-9]{2,4})/(?P<title>[a-zA-Z]{2})/$', views.book, name="book") ]
[ "13269469526@163.com" ]
13269469526@163.com
75fa7c2ad05614228581a1e25cce3711f66b50db
4b694bb43cd5caa11391c6a1c5855367b2396a1b
/大三下多媒体系统/multimedia/trade/trade/wsgi.py
fc614da8677f2f87b3ee7b77612bea0feb48f375
[]
no_license
Echo120799/homework-backup
52bd379c0cee351d529626238b89f567ce4b453e
0324e6cdaf2b7fc0d51c866ae8ede4dac592926b
refs/heads/master
2023-02-10T04:31:23.257213
2021-01-07T13:15:08
2021-01-07T13:15:08
327,533,795
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
""" WSGI config for trade project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("...
[ "zyw_120799@163.com" ]
zyw_120799@163.com
afc4f75c6fcc4bf51e815449ac88b7cfae427d06
e23acd18bd00ba669ef3321fb7801cf83575ef6b
/scamp_catalog_elvis_ssos.py
35e62b5f9a70b525fbdce09e0ab1b1954796ff70
[]
no_license
sgongar/Euclid-SSOs-Pipeline-Tests
dfb986c008ca34d28b6e5ad4d155b2b88cf6d091
fec2dcb33578d901cbe34df41558c03a345c9cd1
refs/heads/master
2020-03-26T14:13:20.181947
2018-10-19T15:58:14
2018-10-19T15:58:14
144,977,854
1
0
null
null
null
null
UTF-8
Python
false
false
11,906
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Creates a catalog populated of ssos from sextracted catalogs of single CCDs images. Versions: - 0.1: Initial release. Information: - Todo: * Get out columns definition. Too long for a single function. * Improve variable nomenclature. * Explana...
[ "s.gongoragarcia@gmail.com" ]
s.gongoragarcia@gmail.com
49fc0cdc6dbac8ebbb8f5e66c1e4a477e42004de
e7558ffd73cbfafc742c989590d27526d2417f2f
/src/husky_highlevel_controller_ex3.py
e7d151443e825794b3eea583fb39f49e2db895ab
[]
no_license
gbrlb/husky_highlevel_controller
afdace7982e4c050aca8c6482214fac098c1deec
b230782325d92598a9e1313a3ab7ff9806fd4103
refs/heads/master
2023-02-10T21:38:15.379345
2021-01-11T20:28:52
2021-01-11T20:28:52
328,766,761
1
0
null
null
null
null
UTF-8
Python
false
false
3,964
py
#!/usr/bin/env python import rospy import tf import tf2_ros import numpy as np from sensor_msgs.msg import LaserScan from geometry_msgs.msg import Twist, Quaternion, Pose, Point, Vector3 from visualization_msgs.msg import Marker def callback(data): dist_min_index = np.argmin(data.ranges) dist_min = data.range...
[ "user@email.com" ]
user@email.com
4870c9e3db9c7c26afdfe0929fb1dfcf4a5bc6d3
199f1aefc6eac12a72a4097332c3f88020d7b1ef
/CovidCanada/backend/DateFormatter.py
ce76cd8abe460bc38be654b4c8423f9ea14f8a6a
[]
no_license
ghepburn/Python-Canadian-CoronaVirus-Dashboard
8451fd46481dada1692a11a9abeb11bb82b1e2f1
7e0d886f0c39f4df2ac983f057c1a771b665c955
refs/heads/master
2021-04-21T01:50:05.191047
2020-03-24T15:14:52
2020-03-24T15:14:52
249,738,052
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import datetime as dt class DateFormatter(): def reformat(self, date, currentFormat): dt_date = dt.datetime.strptime(date, currentFormat) new_date = str(dt_date)[:10] return new_date
[ "ghepburn@hotmail.ca" ]
ghepburn@hotmail.ca
fb3f759c7e3ac455a1fcda37deb223b5a01ada9d
f0ba54fbfa0935f71d3f23b9f8379d159aa406ac
/aide_moi/urls.py
84967579505c6bc14f3ed04c322d0762da07525b
[]
no_license
rruellepetel/django_project
11473ebb309033fd5c5ee5a4048257c5b8240b4d
7c28553f379a2d560d8cf6b686c25687352ef92c
refs/heads/master
2022-12-14T15:29:00.891276
2017-06-02T14:48:31
2017-06-02T14:48:31
93,175,598
0
0
null
2022-12-07T23:57:46
2017-06-02T14:47:52
Python
UTF-8
Python
false
false
765
py
"""aide_moi URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "ruellepetelromain@gmail.com" ]
ruellepetelromain@gmail.com
07d4e5cde570f5d256a407ac909fef297459f0d4
fed717fba196d75a4f2cc9625b9edf0ebe30af41
/cleanup/prettify.py
07210656fec9e74f763d39a8b4cacd4b2d2b7f87
[ "Apache-2.0" ]
permissive
swapniltamse/openstack-doc-tools
1c551ddc6104165d470e025f7c13c98aa34ffe0c
efc4e36190f9ade8baa5ec1c975f98beacaa7373
refs/heads/master
2021-01-21T03:08:13.236216
2014-09-22T09:08:43
2014-09-22T09:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
#!/usr/bin/env python """A script to prettify HTML and XML syntax. Some examples of the prettified syntax are available in the following changes: * https://review.openstack.org/#/c/98652/ * https://review.openstack.org/#/c/98653/ * https://review.openstack.org/#/c/98655/ """ # Licensed under the Apache License, Ver...
[ "berendt@b1-systems.de" ]
berendt@b1-systems.de
601584c7d405f3a1ac1a5d97c88af82afb9011f4
4ef7c87861ea33e2348afe88b8614fc4119c0a19
/app.py
1c46a62caa1f617f5588702e50dba65f2fb9f3b3
[]
no_license
imnayakshubham/Quora-Question-Pairs
b1a3fc942731bd7a2ddc8f4d1398b7d33490ad19
656927385103f5988d66f36143fe36dc82b83704
refs/heads/main
2022-12-29T13:01:55.241008
2020-10-04T08:43:35
2020-10-04T08:43:35
300,828,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,992
py
from flask import Flask,render_template,request import re import nltk from nltk.stem import WordNetLemmatizer lm = WordNetLemmatizer() import pickle stopword = ['i', 'me', 'my', 'myself', 'we', 'our', 'ours', 'ourselves', 'you', "you're", "you've", "you'll", "you'd", 'your', 'yours', 'yourself', 'yourselves', 'h...
[ "noreply@github.com" ]
imnayakshubham.noreply@github.com
53870faab9508764cebb4450d548559b848be407
4816a1942aece925334ce6a1acfdff2587871ad7
/lecture-1.py
623a48177fc7aefc0ce0e73bf26e5dc4714dd115
[]
no_license
jahidshawon19/Advanced-Python
3cf2cdeed968223c7aca076efc53c0ab589164f7
fec6f5e19351b023c3005e0ddd1e82dfe1b28929
refs/heads/master
2023-06-29T00:01:46.307562
2021-07-25T06:17:57
2021-07-25T06:17:57
388,816,604
0
0
null
null
null
null
UTF-8
Python
false
false
2,319
py
############################# DECORATORS ################################### """ defination: decorators are a way to change or modify the behavior of any of your functions or methods without directly changing any of the code" """ # prog-1 # def div(x,y): # div function calculation division for two numbers # ...
[ "jahidshawon1730@gmail.com" ]
jahidshawon1730@gmail.com
c1ea7be5a424f44a18d28aa26aac27e24250d36d
5fefad55c16c792a3dc0477c8385644fdc961cc5
/domain/music.py
fcdd118d6beb25e122f5408ece5c3ef0f85ba5a2
[]
no_license
Dorin07/project_sdb
a0674efc566b1abc5fccf70bcb071294c69c539b
1ee421acd021492b1638485ee95859249aa50f7f
refs/heads/master
2022-12-02T00:53:31.470724
2020-08-18T19:42:33
2020-08-18T19:42:33
272,493,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
class Music: def __init__(self, id, name, artist, gen, duration): self.__name = name self.__artist = artist self.__gen = gen self.__duration = duration self.__id = id def get_id(self): return self.__id def set_id(self, value): self.__id = value ...
[ "47871786+Dorin07@users.noreply.github.com" ]
47871786+Dorin07@users.noreply.github.com
28630e10caac44c62f98b0f86af906f33d97d559
b1f801f4f805467491c0b7c2db01c7806c10f4ea
/hockey/oilers.py
e86e659297f1c98fe3f825a975a73fb97d18d29d
[ "MIT" ]
permissive
Obliviatum/Trusty-cogs
2fd00effade8cb45c139a85aac53b791d1a278f9
f2297675f92b8cfc25993271b8ad6abccbec7230
refs/heads/master
2022-12-16T15:51:05.072770
2020-09-10T23:40:16
2020-09-10T23:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
import asyncio from phue import Bridge import functools class Oilers: def __init__(self, bot): self.bot = bot self.bridge = Bridge("192.168.50.123") self.lights = self.bridge.lights self.bridge2 = Bridge("192.168.50.163") self.lights2 = self.bridge2.lights self.cur_...
[ "TrustyJAID@gmail.com" ]
TrustyJAID@gmail.com
bad0060f6efaaa896c6b73ab19d0e3d274c6d7c3
7e1c3f30d14295e099014cc5ce05bacfbec029f1
/djangoProject/djangoProject/demo/migrations/0008_article_kind.py
9d4957e5062a9f7e7085ca48768a7ad4ae5e3687
[]
no_license
CloyeeYH/SE-blog
91adae86eab208aff6531e5262391d4771ea3040
96717b8d07849d6227958f8cd2bf8616f2f13723
refs/heads/master
2023-08-04T22:30:18.603869
2021-09-09T14:21:14
2021-09-09T14:21:14
404,715,194
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# Generated by Django 3.2.6 on 2021-09-02 07:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('demo', '0007_auto_20210901_1405'), ] operations = [ migrations.AddField( model_name='article', name='kind', ...
[ "yuhui0120@126.com" ]
yuhui0120@126.com
ae660978c70bf156c4711f7b042186b8b7f5f25d
ff642c107f68787cae4fb3cf95e428e7e0856228
/FAQ1/nlp_engine/extractors/Company_next.py
f902059eb5325d62b7b27e63bbc6d211a2e77542
[]
no_license
riteshsharthi/botx
62d0d86fdcde58e4222cbf6655e1315175d2d3d3
dc6031ac1bb788bae6697eacbd5c2d942d7f9f95
refs/heads/master
2022-12-08T09:46:10.626671
2019-01-03T12:03:05
2019-01-03T12:03:05
163,968,682
0
0
null
2022-11-22T03:11:05
2019-01-03T12:12:58
HTML
UTF-8
Python
false
false
995
py
import re class CompanyNameExtractor: def __init__(self): pass def company_code_extract(self,input): ## Number Only #input=input("Enter Company Name: ") # number=re.findall(r'\d+', input) # if len(number)==0: # print("Enpty list") # else: # ...
[ "ritesh@gmail.com" ]
ritesh@gmail.com
f1c28b9f2d8984912a425244146ed95fcf931182
bcdc3d92655eb28246710344ec08b2d9c02521c3
/dz6-2.py
05fc43d524b51d135bacbd516541dce4781ccc33
[]
no_license
sydekz/NetologyHomeWork
b1cc44b4483d6dd3ef38a1a894f2586573269216
d753d75354105acd095ef345ff2582c8d8ce3a75
refs/heads/master
2023-05-08T21:38:46.108675
2021-05-24T16:40:01
2021-05-24T16:40:01
323,945,644
0
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
class Student: def __init__(self, name, surname, gender): self.name = name self.surname = surname self.gender = gender self.finished_courses = [] self.courses_in_progress = [] self.grades = {} def rate_lecturer(self, lecturer, course, grade): if isinstan...
[ "ladanov1@gmail.com" ]
ladanov1@gmail.com
bed929c7f266d81eb3a9dadbc78e91464fd733ba
3d3e4bb6c50b949f12714feb9b14842203df61be
/feature_extraction/tests/test_hog_extract_provided_images.py
cc0e8528c456076cbac716a3fd8d07a96674f9e2
[]
no_license
Wubuntu88/CarND-Vehicle-Detection
1d8c1683be4186193ecc1f868e9d57399c1402cc
23e4e4b35ec60606b27cfea6ffe3a3019495a5cf
refs/heads/master
2021-08-14T23:59:09.092897
2017-11-17T01:54:52
2017-11-17T01:54:52
110,314,332
0
0
null
2017-11-11T03:20:43
2017-11-11T03:20:43
null
UTF-8
Python
false
false
719
py
import feature_extraction.feature_extractor as fe import data_loader.training_data_loader as tdl import feature_extraction.hog_extractor as he import matplotlib.pyplot as plt import cv2 bgr_img = cv2.imread(filename='../../test_images/test1.jpg') rgb_img = cv2.cvtColor(src=bgr_img, code=cv2.COLOR_BGR2RGB) # junk1, h...
[ "wgilles1@emich.edu" ]
wgilles1@emich.edu
c1569e832b4ce1b84d1552812b7c073e05c446b1
74b91a49fafb871dd2fdfc5b80bd948bc960b9e6
/mainsite/views.py
81655a474530eff0e6dc34d2a3ebea118ffb0f10
[]
no_license
jameerpathan111/jpathan-site
f39e4002464b81055959c426312b3ba1a0afac63
ff37129c7a595133b6878229223e42e7835eb447
refs/heads/main
2022-12-27T01:13:19.923387
2020-10-11T13:33:19
2020-10-11T13:33:19
303,064,640
0
0
null
2020-10-11T13:17:02
2020-10-11T07:19:17
Python
UTF-8
Python
false
false
126
py
from django.shortcuts import render def landing_page(request): return render(request, 'mainsite/landing_page.html', {})
[ "jameerpathan111@gmail.com" ]
jameerpathan111@gmail.com
566782c6bc7bfe23bca51561bf47ecf9f8a6e789
22251d3abc44761f60bde4a7243c320983a4c777
/python_scripts/main_leaderboard.py
6b8795592b6756d6e00f6f9b251b07b42fec7c48
[]
no_license
openpharma/openpharma.github.io
b8ebd4d2eece05d03d2f329599bd87a734425404
46e70910282c3f434ee45377f26d0416919576f9
refs/heads/master
2023-08-30T02:39:14.951348
2023-08-17T15:24:56
2023-08-17T15:24:56
95,364,409
9
3
null
2023-05-21T20:29:15
2017-06-25T14:21:59
R
UTF-8
Python
false
false
2,631
py
import os import boto3 import pandas as pd import gh_issues_graphql import clean_leaderboard """ Env varibales for AWS S3 Bucket - data uploading there """ os.environ['AWS_ACCESS_KEY_ID'] = os.getenv('OPENPHARMA_AWS_ACCESS_KEY_ID') os.environ['AWS_SECRET_ACCESS_KEY'] = os.getenv('OPENPHARMA_AWS_SECRET_ACCESS_KEY') P...
[ "mathieu.cayssol@gmail.com" ]
mathieu.cayssol@gmail.com
aaab9495f26f7668c8d90c13c024a08cbcaee48b
83adf05e3e2a20d1facce16981359f60568852b5
/proxy/http/exception/base.py
65138e87b756050ecaa88371391ac4547cf8c9fc
[ "BSD-3-Clause" ]
permissive
hash3liZer/proxy.py
e8cbb2e0b0f988312fb9080e7038d06429af5c69
29b88c5291a6193a438d92dcc5c025a5c07f6349
refs/heads/develop
2023-08-02T16:40:22.976904
2021-09-11T10:12:52
2021-09-11T10:12:52
399,802,139
3
0
BSD-3-Clause
2021-09-11T10:12:52
2021-08-25T12:00:29
Python
UTF-8
Python
false
false
822
py
# -*- coding: utf-8 -*- """ proxy.py ~~~~~~~~ ⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging. :copyright: (c) 2013-present by Abhinav Singh and contributors. :license: BSD, see LICENSE...
[ "noreply@github.com" ]
hash3liZer.noreply@github.com
2b4d92d3292e81047c5230dabf58430a113fa1b0
453d2e699d218fdb3bc1e535a707988194ac6717
/dash/render/renderer.py
87d2dcebc49cfb1dfa4d0322c90249b714943d80
[ "MIT" ]
permissive
defgsus/thegame
d54ffcd343c7e1805d2c11e24cd38b02243e73d4
38a627d9108f1418b94b08831fd640dd87fbba83
refs/heads/master
2023-07-23T06:32:40.297591
2022-04-11T12:02:32
2022-04-11T12:02:32
127,875,178
1
0
MIT
2023-07-06T22:07:07
2018-04-03T08:21:31
Python
UTF-8
Python
false
false
3,349
py
import time import math from typing import Optional from pyglet import gl import glm from lib.opengl import * from lib.math import FollowFilter from .._path import ASSET_PATH from ..game import Game from .rs import GameRenderSettings from .tilemap_node import TileMapNode from .objects_node import ObjectsNode from .ob...
[ "s.berke@netzkolchose.de" ]
s.berke@netzkolchose.de
924ae8bf0152d014b3f5c86c50d8949e89d12888
7020eab2c3d3cab30eb558437fce7e9364af053c
/installation-mysql.py
34169820ece7e389826f3651ee0b86b67341df0a
[ "MIT" ]
permissive
Svoy007/db-events-notify-tool
2c92783c8b8d126cde52e58f9432693f82ad872f
189109590588dbc73c19e9309219537c1b422651
refs/heads/master
2022-02-13T22:52:40.919653
2019-09-14T06:15:37
2019-09-14T06:15:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
#!/usr/bin/python3 import sys import os import mysql.connector def myloading(): cfgpath = "config-mysql.txt" fconf = open(cfgpath, 'r') tconf = fconf.read() fconf.close() conf_list = tconf.split('\n') cfgpath_logic = "config.txt" fconf_logic = open(cfgpath_logic, 'r') tconf_logic = fconf_logic.read() fconf...
[ "returnstrike@yandex.ru" ]
returnstrike@yandex.ru
9401b55d04da56398a1e37b2b0993ab738b406e1
f51e853ccae92be668301549842ff4cba7c01fc9
/core/commerce/migrations/0019_auto_20210123_2017.py
3d2c5cd640b1b024e55c21723d23361cfba6745e
[]
no_license
felipebarraza6/consume_nuble
93217a3d6a2605c9fe1e2736772ad939c9563568
aba49e69081b7b7d0f7cc51b05c5e0bb04fc1bed
refs/heads/master
2023-02-20T02:15:58.011524
2021-01-24T02:10:46
2021-01-24T02:10:46
289,100,164
1
0
null
2020-12-16T02:51:11
2020-08-20T20:07:43
Python
UTF-8
Python
false
false
390
py
# Generated by Django 3.1.5 on 2021-01-23 20:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('commerce', '0018_auto_20210123_0807'), ] operations = [ migrations.AlterField( model_name='daynumber', name='title',...
[ "felipe.barraza.vega@gmail.com" ]
felipe.barraza.vega@gmail.com
fb369c57b7560e302fb7a8a1affab5e6abc69c69
0493ef568113c088ddb71a35669c70ba7481a82d
/hello/urls.py
24db3831bac6db5c0013ca7bf95be7ede9f94241
[]
no_license
shivamgupta1319/Sample-website
6e8b00065ba03a06bab04b94b0470be6b0daf8ed
c846050f9a6e9593258c8a86a346436d565eeca0
refs/heads/main
2023-06-26T14:40:21.901807
2021-07-30T13:40:29
2021-07-30T13:40:29
368,810,616
1
0
null
null
null
null
UTF-8
Python
false
false
949
py
"""hello 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...
[ "noreply@github.com" ]
shivamgupta1319.noreply@github.com
f458ad4002467ad907cdc7a43c5ef58e1ddad7ba
6d3cd1dcb5185deeb53986412ad21154adddc5a7
/run.py
061b97d278600e5dd35fe6ccdbf01a976950f42e
[]
no_license
lowellbander/cubscout-typeahead
eab96707e6b0568624698566c89a5a375ec44bd5
78c718c318b92017db0347e4ce86360eac2f420b
refs/heads/master
2021-01-10T00:53:20.538668
2014-05-31T06:36:42
2014-05-31T06:36:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
import os from flask import Flask from flask import render_template app = Flask(__name__) app.debug = True @app.route('/') def index(): return render_template('index.html') if __name__ == '__main__': app.run()
[ "lowellbander@gmail.com" ]
lowellbander@gmail.com
71d9cc4da8147cc2f67d21c406a7c186b03a3ea2
e4a028dbd0f3cf2070590bf4a2b795c0e8b72296
/code/data_synthesis.py
5cac394677a12fa385f270cb746de303d7b5770a
[]
no_license
waymane1/fast-weights-rnn
8344a480588b71f8d1959f61eec1aab3568039be
493ccbf7a88df73d37a8852747dd213d8f228ed7
refs/heads/master
2020-04-18T16:11:44.578418
2017-04-29T03:06:17
2017-04-29T03:06:17
149,297,564
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
import numpy as np import string def synthesize_key_value(n): ''' Generates n keys and n values to be used for training/testing. ''' alpha = string.ascii_lowercase alpha_idx = np.random.choice(26, size=n, replace=False) alpha_array = [alpha[x] for x in alpha_idx] num_idx = np.random.random...
[ "mathewa6@msu.edu" ]
mathewa6@msu.edu
dce81e0ddd460c5f5dfc846725f2fc1cdfc2ab67
31b746109a92c01a10c8482630e3f5d155d64347
/model_no_dep_test.py
8325027e36cc14319a6a3cc96f4f19d19a513bab
[]
no_license
huangliu0909/Dependency-Parser
98700359a5dc766763de5375134b97171ab95129
97c49d75a0935178d07803f4e823d4fb80000bae
refs/heads/master
2020-09-02T16:08:29.184789
2019-11-03T06:00:49
2019-11-03T06:00:49
219,256,091
2
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import time from my_model_no_dep import * def test(): w, p, d, t = get_input("feature") print(len(w)) w_tensor = tf.placeholder(tf.float32, shape=[None, w_input_node], name="w_tensor") p_tensor = tf.placeholder(tf.float32, shape=[None, p_input_node], name="p_tensor") y_ = tf.placeholder(t...
[ "noreply@github.com" ]
huangliu0909.noreply@github.com
73b5ff6d6c26cb18d4ac2f537a5e603cd6f88143
914fd5a975a1abf304c5138d83bcdc6270948dd9
/Year 10 summatives/Unit A /random.py
37ed1b9c4f2ce95d6dc560d13bfe7219fa1da6d0
[]
no_license
ATarsky23/Year_10_Design
61b574e7673e94d4d3fbd25058d9606eca4f64ad
38187a23db9850103347c0dfafb28232f65d7572
refs/heads/master
2023-01-29T13:59:54.126501
2020-12-09T01:02:41
2020-12-09T01:02:41
294,112,793
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
import tkinter as tk import requests from pprint import pprint import random uNames = ["ATarsky15","user2@test.com","User29"] pWords = ["Pword123","EntryWord5","Password10"] active = ["",""] #Stores active user def checkCred(*arg): print("Checking") #Write the code to #Step 1: Take entry for user name entunLF ...
[ "adam.tarsky@GCCYJQ2BJ1WK.local" ]
adam.tarsky@GCCYJQ2BJ1WK.local
def33672c3b90b99f079a7efece2450e249cb582
1916be92deec08255aafb9906f7f59bc8709543d
/authors/apps/comments/models.py
f576a26a8664e3f44c0a75a5c8d48a6b007d7383
[ "BSD-3-Clause" ]
permissive
andela/Ah-backend-xmen
aac1a41b092c7b09ce52e2d057f0c2047a1f9eba
60c830977fa39a7eea9ab978a9ba0c3beb0c4d88
refs/heads/develop
2020-04-11T07:05:35.379340
2019-03-06T17:47:56
2019-03-06T17:47:56
161,600,867
4
10
BSD-3-Clause
2019-03-06T17:47:58
2018-12-13T07:32:28
Python
UTF-8
Python
false
false
2,318
py
from django.dispatch import receiver from django.db.models.signals import pre_save from django.db import models from authors.apps.articles.models import Article from authors.apps.profiles.models import Profile from simple_history.models import HistoricalRecords class Comment(models.Model): """ Handles CRUD on ...
[ "39955305+ja-odur@users.noreply.github.com" ]
39955305+ja-odur@users.noreply.github.com
ea89ba2fabd2bed874469971edc76605636bea7a
08f8fe42acf057841cd0fdf2fd5000d967befa68
/find_your_bmr_v3.py
f105ea796272ab4059fdb1915afa2f60605498af
[]
no_license
RyanJamesA/Basal-Metabolic-Rate-Calculator
ee5d36013aaf3412deedbb35672a2e9267bf39b9
08374f14829721632e1b7513fc9a765ccf1e815a
refs/heads/master
2021-09-01T22:15:10.437040
2017-12-28T21:23:08
2017-12-28T21:23:08
111,618,234
3
0
null
null
null
null
UTF-8
Python
false
false
3,276
py
import sys def main(): """Calls the other functions and then calls my_calculations()""" print("\n\tWelcome to the BMR calculator!") print("\tPress 'q' at any time to stop!") active = True while active: units = get_unit() sex = get_sex() age = get_age() height = get_h...
[ "noreply@github.com" ]
RyanJamesA.noreply@github.com
c367e3cd6d7683b19c8cc39895743def75f2a3ad
62341bf81e95e5ecbba65214915fe950de17faa7
/2020/tests/test_day10.py
5448cbb0ecf0e504d9f3948077168bb110ec7f8b
[]
no_license
arnauddelaunay/AdventOfCode
d53b27a9d10fe26a0989d2768b0c37dd3e5868f0
176fe8329bfd638a60eacd4b7555ff3ea65f2a5a
refs/heads/master
2023-04-10T17:10:59.459477
2020-12-18T14:53:27
2020-12-18T14:53:27
113,903,047
2
0
null
2021-04-20T21:25:54
2017-12-11T20:04:35
Jupyter Notebook
UTF-8
Python
false
false
792
py
import pytest import os from aoc2020.utils import write_puzzle from aoc2020.day10 import run1, run2 PUZZLE = """16 10 15 5 1 11 7 19 6 12 4""" PUZZLE_2 = """28 33 18 42 31 14 46 20 48 47 24 23 49 45 19 38 39 11 1 32 25 35 8 17 7 9 4 2 34 10 3""" @pytest.mark.parametrize("puzzle,expected", [ (PUZZLE, 35), (P...
[ "adelaunay.prestataire@oui.sncf" ]
adelaunay.prestataire@oui.sncf
eb81eb06396d3b4c6f49f68fbe3a14e0f299e3de
8e831a52e0d3796fc046ed389e15652c2c202a0c
/heroku_files/Streamlit.py
2b366479055818d6077fc40ded6acd231f2ef744
[]
no_license
brianhtam/Myers_Briggs_Classifier
f39a1dc03c7925be6a0d0c9ce1bd7808d08779b3
4a63d0ec598e4e842a44ae1440e6ca7e8c6a1dc1
refs/heads/main
2023-01-18T15:55:06.687007
2020-11-22T04:50:34
2020-11-22T04:50:34
305,927,193
0
0
null
null
null
null
UTF-8
Python
false
false
6,761
py
#import package import streamlit as st import pandas as pd import numpy as np import matplotlib.pyplot as plt from PIL import Image import pickle #preprocessing import spacy import re import string #import the data image = Image.open("images/MBTI_people.png") #intro st.sidebar.write("This is an application for pr...
[ "btgood2me@gmail.com" ]
btgood2me@gmail.com
b2f791688e9cf9763ce7a102d6f828efd414cda7
bcfab09a01d20ecfda43701ca664e4b15ed9453e
/main.py
a8cb1998bc4621098beeaae8fded80e62a189c90
[]
no_license
Abhijit8Chingalwar/Chatbot
65329db80057db0f5a39c0dfe62b7f533d4e5465
7bcd9fdfb1a183af3b29f4cff4ebbaedc7007dce
refs/heads/main
2023-03-05T15:40:49.011572
2021-02-20T18:10:37
2021-02-20T18:10:37
340,641,943
0
0
null
null
null
null
UTF-8
Python
false
false
2,816
py
from chatterbot import ChatBot from chatterbot.trainers import ListTrainer from tkinter import * import pyttsx3 as pp import SpeechRecognition as s import threading engine = pp.init() voices = engine.getProperty('voices') print(voices) engine.setProperty('voices',voices[0].id) def speak(word): engi...
[ "noreply@github.com" ]
Abhijit8Chingalwar.noreply@github.com
c8db3a8e226cb70ad8c96b08f2330917343112c1
58141d7fc37854efad4ad64c74891a12908192ed
/config/coconut/node_272.py
6b2d09a25a2e728fba4ec6858f853d862492788a
[]
no_license
stanleylio/fishie
b028a93b2093f59a8ceee4f78b55a91bb1f69506
0685045c07e4105934d713a0fd58c4bc28821ed6
refs/heads/master
2022-08-14T13:08:55.548830
2022-07-29T01:32:28
2022-07-29T01:32:28
30,433,819
8
1
null
null
null
null
UTF-8
Python
false
false
1,993
py
name = 'controller02' location = 'Coconut Island' note = "v0 code: {'neutral':0, 'heating':1, 'cooling':2, 'flush':3}" latitude = 21.4347 longitude = -157.7990 deployment_status = 'deployed' conf = [ { 'dbtag':'ts', 'description':'Device clock', 'interval':60, }, { 'dbtag':'...
[ "stanleylio@gmail.com" ]
stanleylio@gmail.com
8581ab52da69a33a52e9e032a072500a8b46dcd6
86fa7e2c47446a5aa22c4f398afb7a6e2ca6dbc6
/bin/pip3.7
20bb3d69629f4fb3d7eb4b2af9e0277186623f72
[]
no_license
Ktheara/practice-opencv
e17c3305be11387beb13fabfab562da98b2bf082
7f191d2ee48c3bcbbda554853052c9741b6007ea
refs/heads/master
2022-12-28T19:53:40.858928
2020-10-16T09:24:39
2020-10-16T09:24:39
303,602,484
0
0
null
null
null
null
UTF-8
Python
false
false
269
7
#!/home/msi/Coding/git_workspace/python-dev/practice-cv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "thera729@gmail.com" ]
thera729@gmail.com
630c66bb78a625c9e531276f9885b701e08eb8fb
de12f1aa52c120b1928dd603a3501c80e75204d4
/numpy/numpy_fancy_idx.py
6a72bfcb07f66124e04c8b3d6162472c8833505c
[]
no_license
nicosalaz/pythonProject
2d983ff6aa2712918e8204b3594ed6639d8a9035
997dbfcfa62a88187a82f3252597f0e4501ef9cf
refs/heads/master
2023-01-12T12:23:13.469368
2020-11-18T03:54:28
2020-11-18T03:54:28
309,724,682
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
import numpy as np # creamos el arreglo de 6x6 con step de 1 en las columnas y # step de 10 en las filas a = np.arange(6) + np.arange(0, 51, 10)[:, np.newaxis] # imprimimos indicando con enteros los indices del arreglo print (a[(range(0,5), range(1,6))]) print (a[3:, [0,2,5]]) # creamos una máscara de valores boolea...
[ "nsalazarv@correo.usbcali.edu.co" ]
nsalazarv@correo.usbcali.edu.co
6944244c75b73c86e7d31bb45e23c65b20ccf0ef
975b9e37ad6063acd5ca6b91e668f76e56dc936b
/.py
d3671387285bc377c3023a7bf601a694acafc72e
[]
no_license
NHRK555/S-CNN-classification
665306f7fc96c2c1af0a4500a03eaa578416a61c
0384e5febe1962bee31551554efb80cfce09340b
refs/heads/master
2020-04-01T18:38:27.736476
2018-10-17T18:46:19
2018-10-17T18:46:19
153,505,395
0
0
null
null
null
null
UTF-8
Python
false
false
7,200
py
import keras from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten, Activation, Input from keras.layers import Conv2D, MaxPooling2D from keras.optimizers import SGD from keras import backend as K from keras.utils import np_utils from keras.layers.convolutional import * from keras.utils i...
[ "noreply@github.com" ]
NHRK555.noreply@github.com
ca2608d7b0365e3be9639fc614c42d74c868cfdc
aaccbefb16acdd99ba1da426be64c9db023fa3c0
/Module2.py
ab48cdfc8dece0106f7c95e5bb318343e0700437
[]
no_license
HowardTsang/Example2
87ef7f243ef848c1c0d51f8af9db68bd1c27c2fe
d77d07a715e54895d3d902fd9432496dc1368411
refs/heads/master
2023-03-08T23:13:02.278537
2021-03-20T14:11:59
2021-03-20T14:11:59
343,098,972
0
0
null
null
null
null
UTF-8
Python
false
false
19,969
py
#Experiment in the IPython Shell; type 5 / 8, for example. #Add another line of code to the Python script on the top-right (not in the Shell): print(7 + 10). #Hit Submit Answer to execute the Python script and receive feedback. # Example, do not modify! print(5 / 8) # Print the sum of 7 and 10 print(7+10) #Above ...
[ "hotsang@deloitte.ie" ]
hotsang@deloitte.ie
8621cb1d7de29506a7b2ef9c6c062765513539a1
92a3ad663d5cafebb30065f7e8b80bfe9157aa90
/course/admin.py
55a71f2d200d2e338cb9eec8dcb23bdcfd19e366
[]
no_license
rohaanmd/nibodh-django-project
cd583a2170ebdd38fd4392f4465ee433517e5e27
54148cf3f310a655eafa95bc57d0afffe073a307
refs/heads/master
2023-07-14T23:03:34.545308
2021-08-30T08:47:45
2021-08-30T08:47:45
400,447,342
0
1
null
null
null
null
UTF-8
Python
false
false
157
py
from django.contrib import admin from .models import course , contact # Register your models here. admin.site.register(course) admin.site.register(contact)
[ "panzerxhack@gmail.com" ]
panzerxhack@gmail.com
532c26f52ffa9ce044639660b22851aff45beba8
2a02d288dd7ceb421b3f86f826bf74cd6d8bf224
/qgis3_xlsx2postgres.py
c08249be01b2a8cd744703e1721c753b158491c7
[ "MIT" ]
permissive
ANAGEO/QGis_scripts
db92052ea11030ac2bed9c0604a088517dd6e04d
b09635ed7c51385eeb6af82db55b71d2d7c4d78e
refs/heads/master
2020-06-18T06:09:30.384867
2019-10-08T12:58:34
2019-10-08T12:58:34
196,190,661
0
0
null
null
null
null
UTF-8
Python
false
false
4,775
py
#!/usr/local/bin/python # -*- coding: utf-8 -*- ## This script takes a .xlsx file and loads it into a postgresql database, from witihn QGis. It doesn't use the pandas module ## because it might not be installed (by default, QGis doesn't); it uses xlrd instead of pandas, and psycopg2 for the connection to the server. ...
[ "noreply@github.com" ]
ANAGEO.noreply@github.com
96086c5b38846ca222a885be2f5064dc0af59287
6660f9ec539a0841219af7b28c529bbfe5576456
/blog/migrations/0001_initial.py
19ec7a932ac2ec2b067f96564fd3f6c57d98dbc4
[]
no_license
aditya-prayaga/ExampleDjango
db36dac31876e0deb61bc4ddf99e9f46f61cd718
f31cd95b38f297bf153180ec3eea5d90625308bc
refs/heads/master
2022-03-16T05:00:19.193967
2019-11-29T11:17:01
2019-11-29T11:17:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.2.7 on 2019-11-28 16:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "adityaprayaga@gmail.com" ]
adityaprayaga@gmail.com
45137db05e56a967ff7ac4516a6d166bf2626def
a88cfe07a8131ca5a37d3a1ae9ec76442afe4921
/api/.history/sardata/residentes/models_20191022115502.py
fc5bc176943c6ee741d2dec1b64ec762992873b0
[]
no_license
edwinvivas/APIsanlorenzo
a866471efad8214762d7db70fdc1069213a11f11
3e8e4090cc33642ee45e2d718d1ce6b053d38655
refs/heads/master
2020-08-27T00:46:46.153959
2019-10-24T19:21:16
2019-10-24T19:21:16
217,197,510
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
from django.db import models from sardata.utils.uuid_field import BinaryUUIDField from parametricos.models import TipoDocumento; import uuid # Create your models here. class TipoPropiedad(models.Model): """Model definition for TipoPropiedad.""" name = models.CharField(max_length=50) class Meta: ...
[ "edwin.vivas@xphera.co" ]
edwin.vivas@xphera.co
ae263db6c9aab2ca89826dc38cb0f9707dbb1acd
efdb3fab00bf620180ba375db25fdbf9348ca6fa
/api/app/routing.py
2a612ae5c4686d693fffb86ce3b10bfb60363ace
[]
no_license
rohansagar/eecs149-smart-dimming
ad6cf1bfd045de8425521f141d4d710381d5dff3
6b286eb0ac371f80adf91999990bd08ac28d4058
refs/heads/master
2020-09-20T14:20:42.218982
2018-12-15T01:08:10
2018-12-15T01:08:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
from django.conf.urls import url from . import consumers websocket_urlpatterns = [ url(r'^lights/(?P<id>[0-9]+)/$', consumers.LightSocketConsumer), url(r'^lights/config/$', consumers.LightNameConsumer) ]
[ "milodarling@berkeley.edu" ]
milodarling@berkeley.edu
e6ca65fac78376ade8e5869a2476eb7f852c0a26
7b7be9b58f50415293def4aa99ef5795e6394954
/sim/unitop/XYTable.py
e3c183d059ee5dec2082846749b29ef58b7aa0ae
[]
no_license
sabualkaz/sim42
80d1174e4bc6ae14122f70c65e259a9a2472ad47
27b5afe75723c4e5414904710fa6425d5f27e13c
refs/heads/master
2022-07-30T06:23:20.119353
2020-05-23T16:30:01
2020-05-23T16:30:01
265,842,394
0
0
null
2020-05-21T12:26:00
2020-05-21T12:26:00
null
UTF-8
Python
false
false
6,209
py
"""Module for a simple XY table Classes: DataSeries - an array of data ATable - class containning multiple DataSeries """ from sim.solver.Variables import * SERIES_OBJ = 'Series' TABLETAG_VAR = 'TagValue' class DataSeries(object): def __init__(self, typeName = GENERIC_VAR): # i do not want t...
[ "jonathan.xavier@gmail.com" ]
jonathan.xavier@gmail.com
e47902764e65c6ccb0accf6f20a76b7d7751571b
6149adc0dc1c0ef50b643dbbc71e3672dcaf17c6
/program_2.py
9686b1cb93a2a474bf3722e97511a9c57d70d896
[]
no_license
JackAmos/ProgramTwo
4635987d1828413f3a42365419bb6449fd3aca41
89a21d3926921dd3861795740d954c34d4fe11a9
refs/heads/master
2020-07-30T11:20:50.991387
2019-10-04T21:23:35
2019-10-04T21:23:35
210,211,903
0
0
null
null
null
null
UTF-8
Python
false
false
2,993
py
#Jack Amos #CS2300-002 #10/04/2019 #Project 2 #using Python 3.7 import random def print_coordinates(filename): with open(filename,'r') as file: contents = file.read() #get each value in string an convert it to integer # [llx,lly,d,p1,p2,v1,v2] coord_values = [int(x) for x in contents.split()] #sets scale of ...
[ "jack671guam@yahoo.com" ]
jack671guam@yahoo.com
0511863743d10d0d427ae11b828555184b5f94b5
8e237170f03564dc27adc306020832915bee8511
/ask_nano/methods/urls.py
a0b81d63826ba783cda0c38fb8f78cb8729eb7d7
[]
no_license
nanomishka/WEB.homework
6ac0178e498d6b18f1e3fe2c1b75256253cc8f4c
e4ea4df6a1e19bbde557a55b8d7559edde9ee97c
refs/heads/master
2020-05-20T09:48:02.917511
2015-03-08T16:41:41
2015-03-08T16:41:41
26,712,953
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.conf.urls import patterns, url from methods import views urlpatterns = patterns('', url(r'^$', views.index, name='index'), )
[ "mihail777str@yandex.ru" ]
mihail777str@yandex.ru
cbe654798d1d772583f313e95681fa8a748f9389
8c91ab9c35280a97fe9ffcf38f07f8fca2625d4b
/MULTIPLE_THREAD.py
982143c558f651677ac00e0637d4e9f70dcc4b86
[]
no_license
Roick-Leo/Multiple_thread
4e8823c7c63a3990094ce99dc7c3b8bcd778659d
50ce8681b607a6235bd12f423f8627746ca760f0
refs/heads/master
2022-11-25T08:53:00.581398
2020-07-29T11:29:07
2020-07-29T11:29:07
283,479,774
0
0
null
null
null
null
UTF-8
Python
false
false
3,738
py
import time import subprocess import argparse ###input parameters parser = argparse.ArgumentParser(description='Running multiple commands with multiple threads.') parser.add_argument('-T', '--threads', default=8, type=int, help='number of threads') parser.add_argument('-F', '--command_file', default='command_lines',...
[ "1757605052@qq.com" ]
1757605052@qq.com
3a797ab7a7a8762069a67c8c3002d40d390de67b
f12bab32f1f71ec22b91e98294a5005489fb55c8
/star_triangle.py
3f3497038575e7f585102952a60571f2786fbb27
[]
no_license
IoSapsai/SoftUniExercises
021e34102b5588bad6dafed0f9979c972aa7356f
f571c078e2c0f68bbf2adbf8c90616828c8f1e73
refs/heads/main
2023-01-30T08:03:53.678880
2020-12-14T18:42:14
2020-12-14T18:42:14
321,440,111
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
n = "*" for i in range(10): print(n) n = n+"*"
[ "noreply@github.com" ]
IoSapsai.noreply@github.com
874d2c0bd5020ce7c467c78d3599b12ee5eecd57
c1fe63cf20d0e466ba6b3e0697c5cf6842e567aa
/pizzafag.py
bf53063b045ab0eeab64724022f7be11b0e89a07
[]
no_license
gabssluc/untitled5
927467d13338ba69d47d9c00678a7cedc0ae1add
6ebd75715b0abc0ecbcbbee900d3567cf7f79c9f
refs/heads/master
2021-03-13T09:12:21.469151
2020-03-11T19:38:18
2020-03-11T19:38:18
246,663,916
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
class pizza(object): def __init__(self, cobertura): self.cobertura = cobertura @property def pega_cobertura(self): return self.cobertura @pega_cobertura.setter def pega_cobertura(self, valor): self.cobertura = ingtvalor a = pizza("calabreza") print(a.pega_cobertura) a.pega...
[ "33334180+gabssluc@users.noreply.github.com" ]
33334180+gabssluc@users.noreply.github.com
a4a6ddc3ff4189207d3424818543b80b9af8c4e8
0e149571c0a8a355a8d298677b762b05506b46eb
/problem6.py
a31264344a2f48968b4b186e11125d637e2e8936
[]
no_license
Paris18/Python-Codes
18ebb1b671e9e613cad792c577119920ecd3331d
50b6b67b1845d43d23adfcddbd041e3ce5a869d5
refs/heads/master
2020-04-12T01:53:38.286944
2019-04-22T19:50:22
2019-04-22T19:50:22
162,231,338
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
'''n! means n × (n − 1) × ... × 3 × 2 × 1 For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27. Find the sum of the digits in the number 100!''' import functools n = 10 dgsum = lambda x: x%10 if x//10 == 0 else x%10+dgsum(x//10) pr...
[ "noreply@github.com" ]
Paris18.noreply@github.com
5e6e4fdf910746c167dea134355fe5ed90b7815c
a951bcce35dfa63db7a812bd27c1863f286e37cf
/tests/queries/0_stateless/02126_url_auth.python
60009624c76f78c7ea551d97905ef90873870283
[ "Apache-2.0" ]
permissive
nikitamikhaylov/ClickHouse
294be1c43cbb0e6100145ce4cc5d3fb1191c0de2
88629657ca54f92c7fe1bf3f055e3389668ded3c
refs/heads/master
2022-03-02T09:35:26.300566
2022-01-27T10:09:17
2022-01-27T10:09:17
197,409,528
1
3
Apache-2.0
2021-11-10T16:03:27
2019-07-17T14:50:45
C++
UTF-8
Python
false
false
8,117
python
#!/usr/bin/env python3 import socket import csv import sys import tempfile import threading import os import traceback import urllib.request import subprocess from io import StringIO from http.server import BaseHTTPRequestHandler, HTTPServer def is_ipv6(host): try: socket.inet_aton(host) return Fa...
[ "binghan1589@163.com" ]
binghan1589@163.com
3506d022cee02d199aafa4c55355cf35e981379e
441f4edd589ad9b9b7eb6ebad1a2fc4276bd742e
/PycharmProjects/letscodeit/pages/home/login_page.py
d89047adb2515be7a18a15e524fbfc3073a04039
[]
no_license
haris-rizwan/Projects
705da3bebb37e8d2d3e9b00cd7b0b12ffedace38
7a5aae1bfc794e6853c32d72ed4531e847ad643a
refs/heads/master
2021-06-20T05:38:44.991539
2017-08-01T02:36:53
2017-08-01T02:36:53
94,132,331
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
from selenium.webdriver.common.by import By import time from base.SeleniumDriver import SeleniumDriver import Utilities.custom_logger as cl import logging from base.basepage import BasePage class LoginClass(BasePage): log = cl.customLogger(logging.DEBUG) def __init__(self,driver): super().__init__(dr...
[ "haarisrizwan@gmail.com" ]
haarisrizwan@gmail.com
39751900ad45ccf2f0e07b299a38c6134add16ff
130946de28fd5367cc262c1ab7a5bd9038e2dd81
/mongo/mongoQuery_Regex.py
c7b2f54f6d06bd543046ef8c668f59db58ab91e8
[]
no_license
brijesh3601/Python
0d463797ecf6a22ec691ddcfba141d5989a445b1
2b76f04a1aa64f60aa55ea06734d9658e7bbeef4
refs/heads/master
2021-08-02T19:11:51.853312
2021-07-30T02:30:14
2021-07-30T02:30:14
152,303,709
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
import pymongo mongoCli = pymongo.MongoClient("mongodb://localhost:27017/") mongoDb = mongoCli["test"] mongoColln = mongoDb["customers"] addrQuery = { "address": "Park Lane 38" } # starts with 'S' startWithSQuery = { "address": { "$regex": "^S", "$options" : "i" } } # start with 'S' or higher like S, T, U etc start...
[ "Brijesh.Kachalia@amwater.com" ]
Brijesh.Kachalia@amwater.com
5499e3228acf0bb436928c8478218fd9b7c8deb0
de0007b7a4a2ccc5eca3f39a8a4086ecadaccf7d
/code/util/memex.py
0f753fd22d1485dbbf7498ebfe1a4d25c8905f67
[ "Apache-2.0" ]
permissive
AffDk/dd-genomics
00dd0605d9547aa1e5ae599908f81b2d58fd6075
3e3f272327d4c29daa53347b7ddb20ea1a9ae78a
refs/heads/master
2022-02-23T08:55:05.088238
2016-02-26T16:21:33
2016-02-26T16:22:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
###################################################################################### # LATTICE - MEMEX plugins for latticelib # # latticelib is an extraction framework to allow quickly building extractors by # specifying minimal target-specific code (candidate generation patterns and # supervision rules). It has ...
[ "jbirgmei@stanford.edu" ]
jbirgmei@stanford.edu
a64f6c3790d25f1976b3b98150499dc49cc51197
690eae459b5a5d76e3fef818296ec875490729e8
/ipart_processed/detect_AR_merra.py
32ac9c1c77c3922579c342ccba783d2b38794a34
[]
no_license
mukeshraeee/Mukesh_ACP_Manuscript
5575e32822c8b663dd91bfc6fce7340f2f151324
8afb38b75e19013b9a6d1dd54f8353c964f2c1bf
refs/heads/main
2023-04-19T05:28:04.599752
2022-03-09T10:05:45
2022-03-09T10:05:45
467,843,631
1
1
null
null
null
null
UTF-8
Python
false
false
4,254
py
"""This code enable to produce AR detection inspired by Guangzhi Xu (xugzhi1987@gmail.com)""" #====== Load Libraries ====================================================== import os, sys import numpy as np import pandas as pd from ipart.utils import funcs from ipart.AR_detector import findARs import matplotlib.pypl...
[ "noreply@github.com" ]
mukeshraeee.noreply@github.com
ba50bd85a9301d36b0a96a7102c9b07d83f8c265
4db7f072a2283f67ab98d6971c1d8d51943de100
/LoanBroker/AwsStepFunctions/PubSub/GetAggregate.py
4d47a9da1fa9eb1ad5a903aa60aed9768c48e25e
[ "MIT" ]
permissive
spac3lord/eip
5ec381bb33735f1022e2d7d52cbe569d25f712f9
09d1e9371fb13fae4684506c778e6ca6b196c5d0
refs/heads/master
2023-03-18T10:24:43.374748
2023-03-11T17:01:02
2023-03-11T17:01:02
77,563,775
127
26
null
null
null
null
UTF-8
Python
false
false
479
py
import boto3 import json import logging logger = logging.getLogger() logger.setLevel(logging.INFO) dynamo = boto3.resource('dynamodb') def lambda_handler(event, context): logger.info(event) key = event['Id'] table = dynamo.Table('MortgageQuotes') record = table.get_item(Key={'Id': key }, ConsistentRead=True)...
[ "inquiry@architectelevator.com" ]
inquiry@architectelevator.com
f84325ca75ca67e9ffd9ab4ef169d506c3108975
3047dab2594b1edf05a54e85205d32ed1ba445ea
/Python/Project Euler/multiples_of_3_and_5.py
4652df24a9d074c6ef7ef41cc2f0ce566fb2c8ec
[ "MIT" ]
permissive
ZacJoffe/competitive-programming
99b9e13689508e4e01ee55089e8e59e88a532caf
8150c9e12198500d8f57c6281f268d8027e7c318
refs/heads/master
2020-06-11T00:39:17.689265
2019-06-28T00:07:06
2019-06-28T00:07:06
193,806,271
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
def isMultiple(num): if num / 3 == num // 3 or num / 5 == num // 5: return True return False sum = 0 for i in range(3, 1000): if isMultiple(i): sum += i print(sum)
[ "zacharyjoffe@gmail.com" ]
zacharyjoffe@gmail.com
c6e59b6836ac31b3775c83db628c1e1a2d0c6413
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
68a80d89ea7c7b23302858dd2ddfe88b93707121
[ "GPL-3.0-only", "Font-exception-2.0", "GPL-3.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain-disclaimer", "Bitstream-Vera", "LicenseRef-scancode-blender-2010", "LGPL-2.1-or-later", "GPL-2.0-or-lat...
permissive
byteinc/Phasor
47d4e48a52fa562dfa1a2dbe493f8ec9e94625b9
f7d23a489c2b4bcc3c1961ac955926484ff8b8d9
refs/heads/master
2022-10-25T17:05:01.585032
2019-03-16T19:24:22
2019-03-16T19:24:22
175,723,233
3
1
Unlicense
2022-10-21T07:02:37
2019-03-15T00:58:08
Python
UTF-8
Python
false
false
1,852
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "admin@irradiate.net" ]
admin@irradiate.net
d6187c2b2fb01271c77e48fb992c901e13d387b9
64d971b307ced750cbe1d2f063b38c3056d627fb
/misc/gen_ops.py
9bca19562cdaf91d7b5016cd7b4962a6bbd7f9de
[ "ISC" ]
permissive
azhai/wlang
b7f77ddd2e85eb3030284b7fb2de5b7254a805f3
03eb8e72eaacfa451be06cf398762a70cd7b30c8
refs/heads/master
2023-03-02T20:00:43.000062
2021-02-05T02:10:06
2021-02-05T02:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,398
py
#!/usr/bin/env python # encoding: utf8 # # This script reads from: # - src/ir/arch_*.lisp # - src/types.h # - src/token.h # and patches: # - src/ir/op.h # - src/ir/op.c # - src/token.h # - src/types.h # # import re, sys, os, os.path from functools import reduce import pprint SRCFILE_ARCH_BASE = "src/ir/arch_base.lisp"...
[ "rasmus@notion.se" ]
rasmus@notion.se
5d5f19e950b769abbcaddf745393f2ddc66ce44e
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/responder/couriers/migrations/0001_initial.py
63f51235b83605b3ed2479a1caecf6f191b6d741
[ "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
2,005
py
# -*- coding: utf-8 -*- # Copyright 2017-2019 ControlScan, Inc. # # This file is part of Cyphon Engine. # # Cyphon Engine 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, version 3 of the License. # # Cyphon En...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
377925c7fb022acbe35a35694a0ca759689ceeb8
968b3b61cd47c5ec114a4747ccd481cb653d6ab4
/robot.py
a629b60715c181fa8a74eb3034420c2bf543144f
[]
no_license
aakwah/python_projects
1108cb4aab68eb7919ba90cdab0b9b1a18ae0eef
2772f1a936fd24f60bc75d18cb375012fc527fbc
refs/heads/master
2022-08-15T02:12:02.763541
2020-05-22T14:10:50
2020-05-22T14:10:50
266,073,169
0
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
import os import time import playsound import speech_recognition as sr from gtts import gTTS def speak(text): tts = gTTS(text=text, lang="en") filename = "voice.mp3" tts.save(filename) playsound.playsound(filename) def get_audio(): r = sr.Recognizer() with sr.Microphone() as source: au...
[ "ahmed.elakwah@gmail.com" ]
ahmed.elakwah@gmail.com
fe477ca8839d24ef5c701f59cf5ec4ec9470a23a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03547/s710097147.py
ae361a95c0c868de2d887122c718078902ffa546
[]
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
128
py
X,Y = input().split() S=[X,Y] S.sort() if X==Y: print("=") else: if S[0]==X: print("<") elif S[0]==Y: print(">")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0bac71a09f4284f19dd2c25666ccf560c688d990
f57e150d756b929b73b83e95fdbbd71b29f73291
/main.py
b7cd8c9c766e3c476b118971fca2c1fbfef23c08
[]
no_license
mlobina/sqlalchemy
084bd565ac20f4ef9abbb218d11055453c58059a
8e19a76da3fcfa3756aa4463bb3b34d9891e7753
refs/heads/master
2023-03-02T14:07:38.715619
2021-02-09T20:23:19
2021-02-09T20:23:19
336,081,138
0
0
null
null
null
null
UTF-8
Python
false
false
6,962
py
import sqlalchemy as sq from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship from sqlalchemy import func, distinct Base = declarative_base() engine = sq.create_engine('postgresql+psycopg2://postgres:postgres@10.0.65.2:5432/mus_db') Session = sessionmaker(bind=e...
[ "mvlobina@gmsil.com" ]
mvlobina@gmsil.com
7e624ff97ac10aa5b394c11d2fb2511a362df566
78d58111e5f491a660ad66c62b6598976d54948c
/_DTP_List_Of_All_Files.py
7f0cf59a2f41bc7914ffbc524fd845c0143a053c
[]
no_license
parthi-ap/Python-demo
4d400f84798ad33b517f3a1181e6f6c74b60d131
aa13fee8e689d55edf93e586932b10385cb2e5b4
refs/heads/master
2022-11-05T12:04:22.716141
2020-06-14T14:13:28
2020-06-14T14:13:28
272,201,562
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
import glob import xlwt import xlrd from natsort import natsorted, ns wbk = xlwt.Workbook() ## worksheet "DTP-Proposed View" sheet = wbk.add_sheet('File_Names') print("*"*80) print("Reading all File Names") print("*"*80) ## To get list of all files in folder list_of_Files = glob.glob("*.*") row_no = 1...
[ "noreply@github.com" ]
parthi-ap.noreply@github.com
334f4cf219abe0b7c4ce1ef12f2366dd7a08004d
e5a36361c6ed2ef74f7cd76fdb5c8ee3a97a371d
/mysite/settings.py
bd1dad90bdbc18d3a88418b2714ba456a93b4bfb
[]
no_license
mintiadry/my-first-blog
7345cd96a4ff683bcb39a0b77987bd24f17b4b17
ae311d5bdc7de4cb6be9246ea8606fe27debdb52
refs/heads/master
2022-12-30T13:38:39.087775
2020-10-20T08:41:12
2020-10-20T08:41:12
304,548,349
0
0
null
null
null
null
UTF-8
Python
false
false
3,189
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.16. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
[ "takimoto.aiskk@gmail.com" ]
takimoto.aiskk@gmail.com
f0b0e112aa2b5c6eee92980d89e572bde163f252
96e54dcebaa9f065c9f127fab8579ff129998837
/src/cuda/deprecated/LeNetCUDA/PycaffeTrain-LeNet.py
7c92b81725de6854c51db63f2fa7eccdb8b7cb01
[]
no_license
prbodmann/radiation-benchmarks
9e0e7b12f4b67d9d884b1a7b5e397736d017c2db
d842daa87e70a78dd7ea88dd6ac8cbac36291f0d
refs/heads/master
2020-04-15T23:19:31.836567
2019-01-24T12:48:22
2019-01-24T12:48:22
165,102,669
0
0
null
2019-01-10T17:30:43
2019-01-10T17:30:43
null
UTF-8
Python
false
false
7,875
py
caffe_root = '/home/carol/radiation-benchmarks/src/cuda/LeNetCUDA/caffe/' # this file should be run from {caffe_root}/examples (otherwise change this line) import sys sys.path.insert(0, caffe_root + 'python') import caffe import lmdb import numpy as np from caffe import layers as L, params as P, proto, to_proto # fi...
[ "lwellausen@gmail.com" ]
lwellausen@gmail.com
1d0b9f718ecd45f65d4231ee660f12b1f0aaaef7
03fc178bd2d6eacd6f656bfd9733ccb1590c5539
/day14/day14.py
deb31f49d3dc1f809f51f684fdbbf12cf84a7de2
[]
no_license
antongoransson/advent-of-code-2019
6a364e6c9e90f7fed448e33fe71841d8e6d5db03
aec58876552f738322e3b39ec10f34ccfacbffa8
refs/heads/master
2020-09-22T03:33:10.486724
2019-12-25T15:33:18
2019-12-25T15:33:18
225,033,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
from collections import defaultdict import math def calc_ore(c, reactions, acc, waste, res): r = reactions[c[1]] c_n = c[0] r_n = r['amount'] inputs = r['inputs'] m = math.ceil((c_n * acc - waste[c[1]]) / r_n) waste[c[1]] = m * r_n - (c_n * acc - waste[c[1]]) if inputs[0][1] == 'ORE': ...
[ "anton.goransson95@gmail.com" ]
anton.goransson95@gmail.com
295d466b1cfaeed29cb650aeb973f2c95ae468d1
acc58aec826f84e51940985d8653c32ba492b556
/gui/gantt_chart/bar.py
3bf4af34af2a8bd95de92e64b01e3880b9f99857
[]
no_license
alexiusacademia/easyplan
8f6f7a0d12257189403ac4aefe2877c52c5f8a5c
9e4995ccb64343641bc2bc7a67d73027c1f22185
refs/heads/master
2020-06-01T00:51:52.051599
2019-07-11T02:21:43
2019-07-11T02:21:43
190,566,861
0
0
null
2019-07-11T02:21:44
2019-06-06T11:02:52
Python
UTF-8
Python
false
false
6,271
py
import wx from wx.lib.docview import CommandProcessor from constants import * from ..dialogs.dlg_split_task import SplitTaskDialog from core.task_segment import TaskSegment from core.project import Project from ..commands.move_task_segment_by_dragging import MoveTaskSegmentCommand BG_RECEIVED_FOCUS = wx.Colour(0, 0,...
[ "alexius.academia@gmail.com" ]
alexius.academia@gmail.com
1194dfd86a3d043f09ac701fb4b1c43643524106
4da72085e8b3adc68a6ec967025caf9576a75363
/tapiriik/services/api.py
0d61cea0af5e343af7a8d1f00d2a42d8eb991179
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
blakearnold/tapiriik
ec9063b3bc234dccc5dc63fcbe2f31bbcabc6e96
bf2e803cc8825a6c21bf7eae115044683dc98837
refs/heads/master
2021-01-20T01:10:52.259265
2014-07-21T00:58:58
2014-07-21T00:58:58
18,734,981
0
1
null
null
null
null
UTF-8
Python
false
false
2,895
py
class ServiceExceptionScope: Account = "account" Service = "service" class ServiceException(Exception): def __init__(self, message, scope=ServiceExceptionScope.Service, block=False, user_exception=None): Exception.__init__(self, message) self.Message = message self.UserException = u...
[ "cpf@cpfx.ca" ]
cpf@cpfx.ca
38efa084fb74c15ed10bf51e3ce920d95524b244
35e4fefee09e5a7601caeb0ae2a529bb9cd08dbf
/virtual/bin/easy_install
c9954c7853fbba81c1076da184d773f6cf131345
[ "MIT" ]
permissive
Nicoleha/awards
14f2f162bf01b4ae1663f09782ec3455c3bbf49f
90d0461c672a2ea9ea8343538722bb44c8118507
refs/heads/master
2020-05-03T05:43:01.117289
2019-04-03T17:01:16
2019-04-03T17:01:16
178,455,226
0
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/wecode/Documents/post/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nicoleha127@gmail.com" ]
nicoleha127@gmail.com
878793373abef15eb0f86e00c10ef25dc6c595e9
67b9feeed6bb154631aa0bf980cec9e34b0417a0
/setup.py
763e9bfd9cd05ae82237a3d4f4d699b47e0f03cb
[ "MIT" ]
permissive
marquitobb/parse_subjson
6c33c511d8773809bfe6da7a303404ed3ea9295e
541ee9aeca2b20de9f1fa536a9b1369dd8f175c0
refs/heads/master
2023-07-16T21:10:11.643288
2021-08-30T23:25:32
2021-08-30T23:25:32
363,579,763
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from distutils.core import setup setup( name = "parse_subjson", packages = ["parse_subjson"], version= "0.1", description = "package to loop json with subjson list", author = "Marco Cobian", license='MIT', author_email = "maca9608@gmail.com", url = "https://github.com/marquitobb/parse_s...
[ "maca9608@gmail.com" ]
maca9608@gmail.com
24fa541ba8035e7771c837154211bd159e7bd92e
2d2c10ffa7aa5ee35393371e7f8c13b4fab94446
/projects/ai/reader/read-records.py
ad82b741cf38c8653e3c5b8df2f1402d4a8f7ed8
[]
no_license
faker2081/pikachu2
bec83750a5ff3c7b5a26662000517df0f608c1c1
4f06d47c7bf79eb4e5a22648e088b3296dad3b2d
refs/heads/main
2023-09-02T00:28:41.723277
2021-11-17T11:15:44
2021-11-17T11:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,377
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file inference.py # \author chenghuige # \date 2018-02-05 20:05:25.123740 # \Description # =============================================================...
[ "chenghuige@gmail.com" ]
chenghuige@gmail.com
d4e76be4c9bb5257782b5a0aa70af1ccc14a4b6f
9a8d1ab7424279e4b748a2bcce19fc2d8f39b846
/changed/apps.py
24910de356e07849156b9c1155ee49d6d1830c45
[]
no_license
echung05/covid-reviewapp
d7bc03c6c57aa48a3e7f816b4c7d595b53edebef
15ee0c67009d0fb4f8e2e5534a3234b05636ed40
refs/heads/master
2023-05-24T07:31:41.419571
2021-05-06T14:52:45
2021-05-06T14:52:45
374,002,484
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class ChangedConfig(AppConfig): name = 'changed'
[ "trandavidq@gmail.com" ]
trandavidq@gmail.com
ab23e48873e7ca764d6bfc1216f93ed33e7f1c28
69c185d0dfed894234506a1aa6c6bf863849c589
/web服务器最初引进/wsgi/ctime.py
ac9c1f737f07361c21f766c78184b8254b451ce7
[]
no_license
haha479/Socket_CS_project
19599edc47dda61a60afc55dae16a6b59c78fdd5
5b54ef8db0b10d63bf9e6f980a32a45c4055238a
refs/heads/master
2020-04-08T11:23:16.514181
2018-11-30T04:26:08
2018-11-30T04:26:08
159,304,060
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
import time #将返回给浏览器的数据解耦到次脚本文件中 def get_time(env,start_response): statu = "200 OK" headers = [('Content-Type', 'text/html')] start_response(statu,headers) return time.ctime() def get_love(env,start_response): statu = "200 OK" headers = [('Content-Type', 'text/html')] start_response(statu,headers) return "Lo...
[ "283275935@qq.com" ]
283275935@qq.com
04837cefd1f208d2c2e064d9550fd2879f05690c
8c60030f6b90e2367658ed478f444660d67d1e11
/backend/search/internal_api.py
6b76d1ed7a75bb219e1fabe239be22d8d9dda734
[]
no_license
taoky/Team_USTC_Software
64e961271eab67a12b47d4064f29d2e9b7dab95e
95363f102877352ef28c7f34f9ded927d08efc5d
refs/heads/master
2020-09-01T22:55:41.420229
2019-10-22T03:35:35
2019-10-22T03:35:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
from haystack.query import SearchQuerySet, SQ from biobricks.models import Biobrick import functools import random def search_biobricks(*keywords, num=5): if Biobrick.objects.count() < num: return sr2obj(Biobrick.objects.all()) if not keywords: return fill_in([], num) sq = functools.redu...
[ "taoky1999@gmail.com" ]
taoky1999@gmail.com
91c211a6e01d7c3e851c89671af6973faa5c1296
8bc025f27f451f245bd371b66f3d58253e4587d3
/src/Foundation/Standard/practice12.py
9c2c3dd3ebc73f06f3f63c509ae4d052354cdf83
[ "MIT" ]
permissive
mryyomutga/PracticePython
8f2c5cdef074091eb8fcf76bd78800b959024e02
e191d73064248d0983344b137fbe6b69e5eb1d12
refs/heads/master
2021-05-15T14:31:16.365211
2017-10-29T04:46:51
2017-10-29T04:46:51
107,212,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
# -*- coding:utf-8 -*- # ジェネレータ # 処理の途中で値を返し、必要に応じて処理を再開できる def sample_generator(): print("call 1") yield "1st step" print("call 2") yield "2nd step" print("call 3") yield "3rd step" # ジェネレータオブジェクトを作成 gen_func = sample_generator() text = gen_func.__next__() # yieldまで実行 print(te...
[ "mryyomutga@gmail.com" ]
mryyomutga@gmail.com
9331f4d30f97229a552d60e04fe7d0999582a44e
4cb0b3c4acf4e30dda0f814fab8232bf13617422
/Python/Python/MultiplesSumAverage/server.py
8b315d568c04b2bf9bfae92084806477d517b270
[]
no_license
h0oper/DojoAssignments
d60336b3e67021be0e6a43c1f3693193f83b22d9
28472e7907a18725d702fc9617f27619fcc4fcfc
refs/heads/master
2020-05-09T23:38:27.916674
2018-10-06T20:46:02
2018-10-06T20:46:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
for count in range(0, 10): if count % 2 == 1: print count for counter in range(5, 101, 5): print counter a = [1, 2, 5, 10, 255, 3] z = 0 for element in a: z = z + element print z a = [1, 2, 5, 10, 255, 3] z = 0 for element in a: z = z + element x = z/len(a) print x
[ "ccasil@ucsc.edu" ]
ccasil@ucsc.edu
7c69ed213923a672ef47819e263bc2c7a18b0dae
4f0385a90230c0fe808e8672bb5b8abcceb43783
/LNH/day4/Common module/06 sys module-FLS-MPB.py
8b07eaf64b395655b35a8a69cb85bf7d9ab01420
[]
no_license
lincappu/pycharmlearningproject
4084dab7adde01db9fa82a12769a67e8b26b3382
b501523e417b61373688ba12f11b384166baf489
refs/heads/master
2023-07-10T05:21:15.163393
2023-06-29T14:02:35
2023-06-29T14:02:35
113,925,289
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# !/usr/bin/env python3 # _*_coding:utf-8_*_ # __author__:FLS from pprint import pprint import sys print(sys.argv[0]) # 重定向标准输出: saveout=sys.stdout flog=open('t2.log.sh','w',encoding='utf-8') sys.stdout=flog print('12345323') flog.close() sys.stdout=saveout print('zhengcheng') print(sys.builtin_module_nam...
[ "lincappu@163.com" ]
lincappu@163.com
901f5b1128b25ca5c9895ab04816531693edc2b8
87e904087ef28fa3dd29d7e91774d74f87eeb0a7
/API.py
37f35676817ded554b117a9fb7eab26317b2ffde
[]
no_license
gitter-badger/W.I.L.L
b624418810838f4bfaa7b3b40e809772857a9feb
0c374f4ceed2ea4199fea5d9992c2cf6208a7890
refs/heads/master
2021-01-17T12:44:17.491654
2017-03-01T18:55:52
2017-03-01T18:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,227
py
from flask import Blueprint, request, session, redirect, render_template import core import tools import logging import bcrypt import json import traceback import sys from whenareyou import whenareyou try: import queue as Queue except ImportError: import Queue db = None configuration_data = None log = logging...
[ "will.beddow@gmail.com" ]
will.beddow@gmail.com
6d0e72d1116e4ee5ca04da2bbe4cd009826fc6f4
95ed61745cdbfd0382cf2227262f6d8db7907e58
/parkingmanagement/parkingmanagement/wsgi.py
8b19b12561416545ac94260744762b4cbd188c62
[ "Apache-2.0" ]
permissive
vivek-at-work/ridecell-code
4a856028fbb8df4d7cd14e1f860575e17618c008
93965a1437197102eca6cf6313ba3dbb4c3f5c3c
refs/heads/main
2022-12-31T22:16:16.902614
2020-10-21T05:42:02
2020-10-21T05:42:02
305,413,393
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
""" WSGI config for parkingmanagement 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "developer.viveksrivastava@gmail.com" ]
developer.viveksrivastava@gmail.com
937b41f61be640a9eb4b28095e4da3318567bcbe
06c5568d230a5890831240c58a8c000a420083fe
/class 19.py
99a579f379dc85cbc7eb042c2b558d5b9cc53266
[]
no_license
Rasel31/pythonist-dp01
3b97fa4a8bbd8f7a1e8d94a1984f6562d2c82fce
38a4f69aa4ab5143d272eb840c83ce9eace65d19
refs/heads/master
2021-01-23T01:56:03.978317
2017-05-18T09:53:49
2017-05-18T09:53:49
85,946,857
1
0
null
null
null
null
UTF-8
Python
false
false
208
py
a = int(input("Enter First Number (a): ")) b = int(input("Enter Second Number (b): ")) c = input('WHAT DO YOU WANT TO DO? ') ev = eval(c) print('''a = {} b = {} {} = {}'''.format(a, b, c, ev))
[ "noreply@github.com" ]
Rasel31.noreply@github.com
b0cc6d8487a45dd93c94121fc670385c13004fbd
804a434e72f1a8f022797d849f2e4acac40ab8da
/quizmo/urls.py
a24b4ec88d13ba824072b23697efdfc04c067f46
[]
no_license
yash112-lang/Quizmo
e8b834140ad35676f3439bba4971abc051d99cad
f2ef54c80308cf85ffebaa4e32743c49f824eac8
refs/heads/master
2022-12-14T14:18:14.188857
2020-09-01T12:57:37
2020-09-01T12:57:37
291,997,833
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
"""quizmo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "noreply@github.com" ]
yash112-lang.noreply@github.com
74def67fd1057a11170352f86723a83b5b99812e
76902fbfb5bdb3357e09a3f47ca397b6abc95eef
/setup.py
4b71231e84420134af978f0e03da4d8621961f3d
[ "MIT" ]
permissive
thebinary/jinjaStore
164bf2bb1e26a9b93227b7a1b54090ca948f5c32
fdb76fd50953491fe11541ad704c62fe15dc8cf0
refs/heads/master
2021-01-20T20:27:46.986334
2016-06-03T05:49:06
2016-06-03T05:49:06
60,267,545
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from setuptools import setup setup(name = 'jinjaStore', version = "0.1", description = "Jinja Store for Templating", author = "The Binary", author_email = "binary4bytes@gmail.com", url = "https://github.com/thebinary/jinjaStore", packages = ['jinjaStore'], packag...
[ "binary4bytes@gmail.com" ]
binary4bytes@gmail.com
a4cd7cb5995c192f21fa2784925e7f68e210743e
69eb6e69a5acaf13d8570e0fe099c209c55d4ee1
/listings/migrations/0001_initial.py
9d15de2f01ae5165cda90f077bb3842385f89615
[]
no_license
mudittripathi/real_estate
9c4c9dd07d2c69f5931d96c1da76dbd0940b13d9
e08afce7fe8cf630bccee212614058e3385e9aa1
refs/heads/master
2022-08-24T14:08:12.879793
2020-05-27T12:51:21
2020-05-27T12:51:21
264,178,930
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
# Generated by Django 3.0.6 on 2020-05-15 12:16 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('realtors', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "mt2213@gmail.com" ]
mt2213@gmail.com
99c69377a3240c2d0699ec19bbd7b8ab3d0cb518
ef14a4ff45a8f1f5220f79c36ffc0db317e4d5aa
/Bootcamp.py
edb9e11973c244a8d88d914fcf400a36954d9270
[]
no_license
vijays4404/pythontutorial
9ef5874c1875f0980790b83fe33fecde6aec8041
19f9c0b91077328b07ca80459da2ffd7d9a32a33
refs/heads/main
2023-07-27T00:03:55.297277
2021-09-13T15:04:50
2021-09-13T15:04:50
406,016,663
0
0
null
null
null
null
UTF-8
Python
false
false
29,132
py
my_age=30 my_name="Vijay" print("Hello",my_age) print("Hello",my_name) import sys print(sys.maxsize) print(sys.float_info.max) print("Cast",type(int(5.5))) print("Cast 2",type(str(5.43))) print("Cast 3",type(chr(97))) print("Cast 4",type(ord("a"))) print("Cast 5",type(float(2))) num_1="1" num_2="2" ...
[ "noreply@github.com" ]
vijays4404.noreply@github.com
b2d2a98c8344bcd53ce98c7f0bea3a343a1d049a
774efbb47121ba4e2828c6a695048bd47f5673fe
/mysite/env/bin/easy_install-3.7
00f0a629e877f5e4e14576077473f873681ceabc
[]
no_license
Kpres/WagTail-Tutorials
10b19b16fc525f1e254d7c240e0e4835a2d0340e
36fe9372ce6440d701fb8765f534d345702c363f
refs/heads/master
2022-05-30T01:25:58.881841
2020-04-24T00:52:53
2020-04-24T00:52:53
258,367,684
0
0
null
null
null
null
UTF-8
Python
false
false
278
7
#!/Users/kevinpresing/Projects/tutorial/mysite/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kevinfpresing@gmail.com" ]
kevinfpresing@gmail.com
e70ee55f56de6c91d224092d8631974fb8e1a81b
b72299fffadb6db223d8ae5f29fdf4a9ac425802
/cnngenerate.py
60ee9874948f61cf3a1b62d3cb8623e66f388b3b
[ "MIT" ]
permissive
arjunjamwal/CarplateRecognitionSystem
6887d86e22e1b2dd4b26c24b4f0567b1b928b9f7
5512b80407a3da0551efa353d070cb500d71b4d5
refs/heads/master
2021-06-14T17:11:32.705440
2017-03-19T12:33:07
2017-03-19T12:33:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,768
py
import caffe from caffe import layers as L, params as P def lenetData(lmdb_train, lmdb_test, batch_size_train, batch_size_test): n = caffe.NetSpec() temp_n = caffe.NetSpec() temp_n.data, temp_n.label = L.Data(batch_size=batch_size_train, backend=P.Data.LMDB, source=lmdb_train, t...
[ "kamwoh@gmail.com" ]
kamwoh@gmail.com
b436c6bbb9bac52afa682fa7de21aae28f015a4d
e4031a6f6aaf7f087f6a43e0cc6bd15d41ef18f3
/CloneBlog/comment/migrations/0002_auto_20200212_0435.py
49e1228a9ee11678a76fdb65bb4b3020fc06a2cc
[]
no_license
youshen-chl/BlogEx
9492910163d170fc89073b96c64a5686f968b38f
73598c32d6c26e8a8931edcaf553da482268b10c
refs/heads/master
2022-12-02T12:31:31.795395
2020-02-26T15:06:13
2020-02-26T15:06:13
219,108,822
0
0
null
2022-11-22T05:19:12
2019-11-02T05:35:04
CSS
UTF-8
Python
false
false
2,125
py
# Generated by Django 2.2.3 on 2020-02-12 04:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('storm', '0001_initial'), ('comment', '0001_initial'), ] operations = [ migratio...
[ "514292146@qq.com" ]
514292146@qq.com
661ecdd01b1742556a9e7a99a743c13e13548b0f
06d3156837abec83be6e038e21ee4bfd0f6c0a23
/mysite/settings.py
be5097c4338860646302a2ba8e43adb57d314010
[]
no_license
Igorskie/my-first-blog
2f4c94380ab61024c009f24f6f7cf3d0ac0df0b3
431a35144803cb9768e597d945116c94ced6ea13
refs/heads/master
2020-07-06T01:14:07.806438
2019-08-17T08:03:57
2019-08-17T08:03:57
202,833,238
0
0
null
null
null
null
UTF-8
Python
false
false
3,181
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "you@example.com" ]
you@example.com
e72f0caffcab32a6b1d54c4d895be2149304c7d8
6b265b404d74b09e1b1e3710e8ea872cd50f4263
/Python/PyParsing/macro_expander.py
0c15b33b30ac328bf08b6d947d174a4f430e5943
[ "CC-BY-4.0" ]
permissive
gjbex/training-material
cdc189469ae2c7d43784ecdcb4bcca10ecbc21ae
e748466a2af9f3388a8b0ed091aa061dbfc752d6
refs/heads/master
2023-08-17T11:02:27.322865
2023-04-27T14:42:55
2023-04-27T14:42:55
18,587,808
130
60
CC-BY-4.0
2023-08-03T07:07:25
2014-04-09T06:35:58
Jupyter Notebook
UTF-8
Python
false
false
3,443
py
#!/usr/bin/env python from argparse import ArgumentParser, FileType import imp import sys import types from pyparsing import Regex, Literal, ZeroOrMore, Group class UndefinedMacroError(Exception): '''Class encoding an exception for an undefined macro encountered while parsing a text''' def __init__(s...
[ "geertjan.bex@uhasselt.be" ]
geertjan.bex@uhasselt.be