blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
0a9a9832a05ba97248db16b48ea4436d5ff6dd46
4e1782ae36e9d8db5e063822f4d8d05df13fe16e
/src/fossils/views.py
a510b3130fefb6c2d26e52f3bcc79044d139baae
[]
no_license
Jacob-Simons/poe-flipper
4c522602ab9587ae202b55f64b9976c4b2537512
d59741c001ca04dd8b9d3d13fae7ed1c518879ea
refs/heads/main
2023-08-28T01:59:04.799905
2021-11-02T00:58:35
2021-11-02T00:58:35
400,940,744
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from django.shortcuts import render from django.http import HttpResponse import sys import csv import os import pprint # Create your views here. def fossils(request): fossil_list = [] path = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) file = path + '/Fossil.csv' file = os.path.normpath...
[ "jacob.simons25@gmail.com" ]
jacob.simons25@gmail.com
31f6cdecf0a01e44ebee343b76b0140baea5d704
7276bbe2b0e979ce2fc902b55e9be6361644ec71
/voicebase/settings.py
5f087b63520e09f2d2ba4bcad36651e6ef00e3a6
[ "MIT" ]
permissive
gdoermann/voicebase
6d67b29adec15ce7a461b931c7cf17ff98a14a3c
53cb4735327898a7a284dea3a60ace0b3956a8ec
refs/heads/master
2021-01-10T11:18:17.485851
2016-03-08T00:05:31
2016-03-08T00:05:31
52,379,275
3
1
null
null
null
null
UTF-8
Python
false
false
1,374
py
import os from attrdict import AttrDict try: import configparser except ImportError: import ConfigParser as configparser # The "default" config for everyone. You can use this as a base. DEFAULT_CONF = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'default.conf') # The /etc/default (machine level) ...
[ "gdoermann@perfectpitchtech.com" ]
gdoermann@perfectpitchtech.com
784e421a5ea390d9b8c2e1b833fbe70c94b74164
a0dc9e0dd9f1ca1899bb930f842e015c83fa3f63
/sal.py
5a4be396005113a606d064d09890c3b32486b9fd
[]
no_license
saloni-080601/list.py
4e942c6804e69fbf3343862630a8763a2fd8d13d
195f8d44b0b433b4cb68533b5b473713efa93d46
refs/heads/main
2023-02-27T18:23:19.280321
2021-02-08T15:00:13
2021-02-08T15:00:13
337,108,971
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
if(0): print("pune") if(1): print("banglore")
[ "noreply@github.com" ]
saloni-080601.noreply@github.com
bd1f68fd58bd51b632a26b906bdb6d7668e41a53
be0d7c68aed692b35d3eb6351162a8590f400b49
/send_email_attachment.py
2c825c1e88c4d5318c30785bbc26d6b5d054cae9
[]
no_license
hostpost114/email11
fb3a9b5d1ea27a51b4555135b34e33a037d45830
ef40ec4e181a5298ef11fe4cfb4fa16a02553671
refs/heads/master
2021-08-31T22:57:44.979698
2017-12-23T08:37:01
2017-12-23T08:37:01
115,182,555
0
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
from POM.Testcase import * from email.mime.text import MIMEText from email.header import Header from email.mime.multipart import MIMEMultipart import smtplib def sendReport(file_path): sendfile=open(file_path, 'rb').read()##读取测试报告路径 msg = MIMEText(sendfile,'base64', 'utf-8') msg['Content-Type']='app...
[ "noreply@github.com" ]
hostpost114.noreply@github.com
e8c14d485310f9be29ffa773a8cdba7c76834de0
8149086db250c48854ba652859504611ae319623
/raifaisen/spiders/spider.py
b4b37254e21ca07085ead38b0be7f4bbba0baf81
[]
no_license
SimeonYS/raifaisen
d92ffbb6810642af915466dd456f4de16c67c86c
7759de0c68239ee8f46b7b5a2607b06a28e60bfd
refs/heads/main
2023-03-08T03:51:17.163267
2021-02-25T12:45:23
2021-02-25T12:45:23
342,241,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
import re import scrapy from scrapy.loader import ItemLoader from ..items import RaifaisenItem from itemloaders.processors import TakeFirst pattern = r'(\xa0)?' class RaifaisenSpider(scrapy.Spider): name = 'raifaisen' start_urls = ['https://www.rbb.bg/bg/za-bankata/novini-analizi/novini/'] def parse(self, respon...
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
3e2d6fd45a7d19eacb05a80274ca310634c649ee
a25a7f46d5c3b0e90620607ab0288a416d68e37c
/tuplex/python/tests/test_tuples.py
7d33748085aae6071ef1f963106da9dfb1540d97
[ "Apache-2.0" ]
permissive
cacoderquan/tuplex
886ec24a03e12135bb39e960cd247f7526c72917
9a919cbaeced536c2a20ba970c14f719a3b6c31e
refs/heads/master
2023-08-21T06:10:15.902884
2021-10-25T16:41:57
2021-10-25T16:41:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,952
py
#!/usr/bin/env python3 #----------------------------------------------------------------------------------------------------------------------# # # # Tuplex: Blazing...
[ "leonhard_spiegelberg@brown.edu" ]
leonhard_spiegelberg@brown.edu
37d2c522d2eca6075e2423a82c941a5473c531b0
f11e6eb27d3bbdf04a1b0adfae919305b67e9a6b
/venv/Scripts/pip3-script.py
2323793b139a2faa3094e8e201ae37bc17d2ee97
[]
no_license
fahadthakur/AlgoLab
f38cac53fcff8773bcb68ed850f34f02e00eb145
69570f405a878966b401020e98aba26dc95e6ea8
refs/heads/master
2023-04-02T08:53:24.308927
2021-03-31T19:07:33
2021-03-31T19:07:33
348,786,601
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
#!C:\Users\fahad\PycharmProjects\Lab\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "fahad.thakur@yahoo.com" ]
fahad.thakur@yahoo.com
05376f8c4ce3409af02503c818b4339204529bfd
7fda584e768e9da8ff5fbe39457eae7c3070f617
/configs/_base_/datasets/fashion_bboxmask_instance_albu.py
22851d662a197fcc2c54ed4353e5a4d2ff3662aa
[ "Apache-2.0" ]
permissive
jireh-father/mmdetection
8a680606b567327357a8af487ae61aa98b2c4ed9
b797e4d5b81c5a3d7d868ee2dc9aa27dbab23e7d
refs/heads/master
2023-04-18T01:44:17.149179
2021-05-07T07:36:59
2021-05-07T07:36:59
284,387,557
0
0
Apache-2.0
2020-08-02T04:06:57
2020-08-02T04:06:56
null
UTF-8
Python
false
false
7,426
py
dataset_type = 'FashionDataset' data_root = 'data/coco/' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) # train_pipeline = [ # dict(type='LoadImageFromFile'), # dict(type='LoadAnnotations', with_bbox=True, with_mask=True), # dict(type='Resize', img_scale=(...
[ "seoilgun@gmail.com" ]
seoilgun@gmail.com
8df8a00d707454c8c50565abe748ef42d38e74dc
9b0aa059c43741b4f2e0ba18b3e2a70a9485a3d9
/src/content_ncf/ncf_local_keras_run.py
1775e02634b10036229e8ea62377ef28e95e0b59
[]
no_license
ZWP-FlyZ/PaperMethod
bd5f3fcfa1e4eb5286bc7111ea53c400e51c83ef
e385e1f7d64aec4bb4bd9b681fdb69f918871260
refs/heads/master
2020-04-14T10:05:51.546114
2019-11-05T22:52:03
2019-11-05T22:52:03
163,777,559
0
0
null
null
null
null
UTF-8
Python
false
false
4,178
py
# -*- coding: utf-8 -*- ''' Created on 2019年1月15日 @author: zwp ''' import numpy as np; import time; import math; import os; from tools import SysCheck; from content_ncf.ncf_param import NcfTraParm,NcfCreParam; from content_ncf.ncf_models import simple_ncf,simple_ncf_pp,simple_ncf_bl,simple_ncf_local from tools.fwrit...
[ "1258271806@qq.com" ]
1258271806@qq.com
7e2f652de9a2956e4af33dbb82fb0ae541e0e190
0a900c26f163cbcb592b94a88ced63cd751f6f74
/projects/cgp_update_cluster/sandbox/payload_dict_test.py
bc00aee3f53172d999d544c7e634a98060d76dd8
[]
no_license
choco1911/try_py
b56e7818498b848cbb4f79a6f434c00597041f91
5ca2960402d28cc30ffbefb420032450a8d3e4a0
refs/heads/master
2021-01-12T05:35:49.177898
2017-02-09T16:45:17
2017-02-09T16:45:17
77,140,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
#!/usr/bin/env python ipaddr = '10.10.10.10' hosts = [ 'mail1110','mail1111', 'mail1112', 'mail1113' ] fallback_ip = '81.19.78.105' payload = {'FormCharset' : 'utf-8', 'ControlAddress' : '[{0}]'.format(ipaddr), 'BackendAddresses': '', 'FrontendAddresses': '', ...
[ "choco@rambler-co.ru" ]
choco@rambler-co.ru
c428ecf8b458671cc12801d8204292a9aa603e7a
67063668c781d5b1fd1c1d69c79a045ed4f10176
/python/openpyxl/chart/title.py
9fa3953fc203ac0c01d734738cb4995f4c7977d9
[ "MIT" ]
permissive
jrockway/tichu-tournament
eacb08b2dd502578fec3780d692648f0d58e90f4
6335b8fab89b76c42ac5a078176a500a11f0e4ff
refs/heads/master
2020-03-09T21:09:31.431690
2018-04-19T23:31:44
2018-04-19T23:31:44
129,002,367
0
0
MIT
2018-04-10T22:31:00
2018-04-10T22:31:00
null
UTF-8
Python
false
false
1,927
py
from __future__ import absolute_import # Copyright (c) 2010-2016 openpyxl from openpyxl.compat import basestring from openpyxl.descriptors.serialisable import Serialisable from openpyxl.descriptors import ( Typed, Alias, ) from openpyxl.descriptors.excel import ExtensionList from openpyxl.descriptors.nested ...
[ "teytanna@gmail.com" ]
teytanna@gmail.com
43ad314c5e321a994a1c786c96fbcc21036b6ac7
9bc9885e9500083afc2cd6be4ff93ee2eb4fbfbb
/neuropower/apps/designtoolbox/views.py
5b3530d4d6effaed83a6444d7d86a7299c986994
[ "MIT" ]
permissive
jokedurnez/neuropower
50297af01bef55fe2c01355f038a9d184cde493d
ed8c1cf29d447b41dfbfbc7a8345443454e62a96
refs/heads/master
2021-01-15T08:36:45.191330
2016-11-20T00:56:30
2016-11-20T00:56:30
51,338,446
1
1
null
null
null
null
UTF-8
Python
false
false
23,978
py
from __future__ import unicode_literals import sys sys.path = sys.path[1:] from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render, render_to_response from django.core.mail import send_mail from django.conf import settings from scipy.stats import norm, t import os from django.cont...
[ "joke.durnez@gmail.com" ]
joke.durnez@gmail.com
e02603bd18ba6e3032c486b19f7236a2e134ec78
472bf8355b2722f24c623200b056546f35577428
/MIT-intrinsic/intrinsic.py
3dc1f9c7cf4769bc7c29405f1058571044e19570
[]
no_license
alexch1/ImageProcessing
10373a32651bb70b74a86b839941eb02b72285a6
f1ebde878e63d9a49aab9fd71d296c9039ae34f9
refs/heads/master
2021-07-04T16:27:41.439316
2021-05-28T09:19:00
2021-05-28T18:18:49
56,864,246
5
1
null
null
null
null
UTF-8
Python
false
false
10,519
py
import itertools import numpy as np import os import png import sys import poisson ############################### Data ########################################### def load_png(fname): reader = png.Reader(fname) w, h, pngdata, params = reader.read() image = np.vstack(itertools.imap(np.uint16, pngdata)) ...
[ "chiji.zju@gmail.com" ]
chiji.zju@gmail.com
20ed33eabf7df2fd4277edf6b17d110ebfd6cf26
e7208f2e6c03c171b18708991b30829095284d1c
/class7/napalm_ex4.py
f178a29de4811bc03fb52c5b476baf0fb459662c
[ "Apache-2.0" ]
permissive
TechButton/python_course
409a333fad447c1803d4f483e9bff00bafaf7473
db288d2978b3d244a0d7d51a79dfbb5afc5dcbe8
refs/heads/master
2020-03-30T21:06:28.724938
2018-09-19T18:15:49
2018-09-19T18:15:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,374
py
#!/usr/bin/env python """ Using NAPALM retrieve get_interfaces from Arista switch2 (pynet_sw2). Find all of the interfaces that are in an UP-UP state (is_enabled=True, and is_up=True). Print all of these UP-UP interfaces to standard output. """ from __future__ import print_function, unicode_literals from napalm import ...
[ "ktbyers@twb-tech.com" ]
ktbyers@twb-tech.com
d7844e8081cdb62e35c0b53dcb1ea87afd876e07
749fa5a348def37a142ba15b3665ff1525c50321
/randomcrop.py
abbe0218a85f029623bf4a99b554fd3492349a03
[]
no_license
rahmakaichi1/Object_Detection
163bd5ed19fa6e8ae9704d093c216734142c80a8
aecd6346cf5baf94e1ecac0c4df42d1c5a254d4e
refs/heads/master
2022-10-31T04:25:18.713807
2019-08-23T12:19:23
2019-08-23T12:19:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
import random TRAIN ="/content/Tensorflow_object_detector/workspace/training_OD/images/reseizedImages" for file_name in os.listdir(TRAIN): print("Processing %s" % file_name) im = Image.open(os.path.join(TRAIN, file_name)) size = im.size print(size) w = size[0] h = size[1] l = random.randint(0,w) u = ra...
[ "rahma.akaichi@ensi-uma.tn" ]
rahma.akaichi@ensi-uma.tn
a6c28494304e936c6871917367b1b10d2ad4be4a
ee1f83c070c2564c3e3d2f9a9fbd30be5fec79fa
/roach2_production_test/defs_max16071.py
8ff5b39f8f58d0b58b91b2d4f1d37b71bb8346f9
[]
no_license
ska-sa/roach2_testing
c7d5dac789fbe5da236140ec502c17f2520d09bd
79afd1e0c43d559f51316ab71b006f1dd8db584f
refs/heads/master
2021-06-21T20:32:04.667098
2021-02-12T16:08:57
2021-02-12T16:08:57
4,830,832
3
1
null
null
null
null
UTF-8
Python
false
false
2,092
py
#defs_max16071.py #I2C command MON_1_MSB = 0x00 MON_1_LSB = 0x01 MON_2_MSB = 0x02 MON_2_LSB = 0x03 MON_3_MSB = 0x04 MON_3_LSB = 0x05 MON_4_MSB = 0x06 MON_4_LSB = 0x07 MON_5_MSB = 0x08 MON_5_LSB = 0x09 MON_6_MSB = 0x0a MON_6_LSB = 0x0b MON_7_MSB = 0x0c MON_7_LSB = 0x0d MON_8_MSB = 0x0e MON_8_LSB = 0x0f MON_C = 0x18 MO...
[ "alec.rust@ska.ac.za" ]
alec.rust@ska.ac.za
18290b371f497fa771429eaeacde68b0d9a9af76
e57d7785276053332c633b57f6925c90ad660580
/sdk/identity/azure-identity/tests/recording_processors.py
3ddba5cbd7d720352a254f4d3c3d9a3220f6d4c9
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
3,603
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import base64 import binascii import hashlib import json import time from azure_devtools.scenario_tests import RecordingProcessor import six from helpers import FAKE_C...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
813c49ad69128d73bbf2c507dcc2c9d1d598d3ea
baf3996414315ffb60470c40c7ad797bf4e6897f
/17_boilerplates/dashing-master/examples/datatable_crud_columns_plus_heatmap.py
a3df45758aef973180fe648c9bf311594fe24318
[ "MIT" ]
permissive
thiago-allue/portfolio
8fbbecca7ce232567aebe97c19944f444508b7f4
0acd8253dc7c5150fef9b2d46eead3db83ca42de
refs/heads/main
2023-03-15T22:10:21.109707
2022-09-14T17:04:35
2022-09-14T17:04:35
207,919,073
0
0
null
2019-11-13T18:18:23
2019-09-11T22:40:46
Python
UTF-8
Python
false
false
2,104
py
import dash from dash.dependencies import Input, Output, State import dash_table import dash_core_components as dcc import dash_html_components as html app = dash.Dash(__name__) app.layout = html.Div( [ html.Div( [ dcc.Input( id='editing-columns-name', ...
[ "thiago.allue@yahoo.com" ]
thiago.allue@yahoo.com
3b78f880a9f1f8064da728b93a85dee7b8a60ec8
9593b2662c7a88f21734006c1fe1b860bf662b23
/libxml2-2.7.7/python/setup.py
c29f97ee1fcf853673f35d523b4fea36ae536733
[ "LicenseRef-scancode-x11-xconsortium-veillard", "MIT" ]
permissive
faizalzakaria/GstreamerOMXSigma
aae6ab943c2aa901699efde3abf086cc386e0b8a
ee67face07aa65ad12009fa3f57d4880c231554c
refs/heads/master
2021-03-12T23:20:03.362298
2013-04-29T18:35:58
2013-04-29T18:35:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,714
py
#!/usr/bin/python -u # # Setup script for libxml2 and libxslt if found # import sys, os from distutils.core import setup, Extension # Below ROOT, we expect to find include, include/libxml2, lib and bin. # On *nix, it is not needed (but should not harm), # on Windows, it is set by configure.js. ROOT = r'/users/phai/sh...
[ "faizal_zakaria@sdesigns.eu" ]
faizal_zakaria@sdesigns.eu
f5609f19aaa811622b7896b5ee417ab07a4b4ff6
d7ec67a5ba315103fa6a6bae6dc045f1fecf7add
/normal/PythonAI/chap05/sec04/Ptna/dictionary.py
187a9058376add81bf6ab7ff4b94534018ece357
[]
no_license
munezou/PycharmProject
cc62f5e4278ced387233a50647e8197e009cc7b4
26126c02cfa0dc4c0db726f2f2cabb162511a5b5
refs/heads/master
2023-03-07T23:44:29.106624
2023-01-23T16:16:08
2023-01-23T16:16:08
218,804,126
2
1
null
2023-02-28T23:58:22
2019-10-31T15:57:22
Jupyter Notebook
UTF-8
Python
false
false
5,237
py
import random import re class Dictionary: def __init__(self): self.random = [] # (1) # ランダム辞書ファイルオープン rfile = open('dics/random.txt', 'r', encoding = 'utf_8') # 各行を要素としてリストに格納 r_lines = rfile.readlines() rfile.close() # 末尾の改行と空白文字を取り除いて # インスタンス変数(リス...
[ "kazumikm0119@pi5.fiberbit.net" ]
kazumikm0119@pi5.fiberbit.net
d0a81878c0472116130b576d2afe9f6dbd0c320f
02e7181726dc227654c40c0e6454306c5f8de727
/function/scope.py
217f0b376facc690fafbf39886499a0788b9db4d
[]
no_license
arifikhsan/python-dicoding
eeec8d9f1356632c6bd3d055e2fbf04846fd2be0
20b5624cb61ef6a9fe16ea7646e0d1a0737513fc
refs/heads/master
2022-04-21T18:50:21.974986
2020-04-23T10:43:23
2020-04-23T10:43:23
258,090,573
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
total = 0 def sum(numone, numtwo): total = numone + numtwo print('inside function', total) return total sum(2, 3) # 5 print('outside function', total) # 0
[ "arif.ikhsanudin.developer@gmail.com" ]
arif.ikhsanudin.developer@gmail.com
3878cf12468ae9da76688ba3c8749159a53c56ca
3b9ae6d07f422f2ed60ea8295c25ed8b13380b81
/comprasnet/pages/statuse_auction_detail.py
25096f708f44fc42272c8ef7780d31f190f85779
[ "Apache-2.0" ]
permissive
GabrielRocha/python-comprasnet
ffdb6c5036244160af0f2741ba87acc6c616cb0b
606097b7bb997b19a4040b8a5aaff5efa084a80b
refs/heads/master
2020-03-17T23:57:56.584293
2018-05-22T14:28:28
2018-05-22T14:28:28
134,070,832
0
0
Apache-2.0
2018-05-21T22:51:49
2018-05-19T14:48:07
HTML
UTF-8
Python
false
false
3,130
py
from . import BaseDetail, log from urllib.parse import urlencode from bs4 import BeautifulSoup import requests class StatuseAuctionDetail(BaseDetail): """Retrive information from statuse details, in this page: http://comprasnet.gov.br/ConsultaLicitacoes/download/download_editais_detalhe.asp""" DETAIL_URL...
[ "gabrielrocha@catho.com.br" ]
gabrielrocha@catho.com.br
3452e9c57e93a0d4be6e4ca790f8aefbddbe116c
5821d882ef4ee38170fc539a085752d3b554f6b5
/get_pileups/get_pileup.py
cda6026a8452401a39c3fc065f675a3288baa0e0
[]
no_license
mchowdh200/exome-copy
f2c8e307de73c0dc4cd034763a7a9c7e06f4a057
d38808f7234f1121de21e42350b69cb700d9e4ab
refs/heads/master
2020-04-21T10:13:29.765434
2019-06-09T06:50:54
2019-06-09T06:50:54
169,480,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
import sys from collections import Counter import pysam import pandas as pd REGIONS_BED = sys.argv[1] BAM_FILE = sys.argv[2] # Used to filter out info in idxstats chromosomes = { '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', 'X', 'Y...
[ "mchowdh200@gmail.com" ]
mchowdh200@gmail.com
dfe38908b2e59c3c6ba9bb3b5d297ec542b383a0
fa9ea72d3ef2cd7473f9b7f171ef017769f4da17
/src/model_predictions.py
7d35f2d92ade124b08c84ac4e3eed22c55c7993e
[]
no_license
josiah-d/Predict-Directional-Thought
9b133363be2ae04975e32146d0b848fcd7cc0443
01eced4e9bbb3ef17e60106f14a992f64fd0f7bb
refs/heads/main
2023-07-10T07:17:12.162012
2021-08-12T23:35:19
2021-08-12T23:35:19
381,900,794
1
0
null
null
null
null
UTF-8
Python
false
false
718
py
from glob import glob import numpy as np import pandas as pd from tensorflow.keras.models import load_model from load_data import master_load # load data X_train, X_test, y_train, y_test = master_load() # get best model best_numpy_model = sorted(glob('models/numpy/*.model'))[-1] model_numpy = load_model(best_numpy_...
[ "duhaimejosiah@gmail.com" ]
duhaimejosiah@gmail.com
c4083bb05417a506a91fa9cbe92257e23bff28cb
a75e326ea02d6f9fd865fd58db4eabd999519343
/12-authentication/myproject/__init__.py
a25a709f51ebf7ef6f11a02936eb2bf69b0a152d
[]
no_license
maralexv/learn_flask
c392be636f46cc921d5745ee2969a586b065c0e4
ca99052f4b7c892b8638215ff5967ead40700022
refs/heads/master
2022-09-27T19:09:19.726616
2020-09-12T09:06:28
2020-09-12T09:06:28
154,628,546
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
import os from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager login_manager = LoginManager() app = Flask(__name__) basedir = os.path.abspath(os.path.dirname(__file__)) app.config ["SECRET_KEY"] = 'S\qr0g8qbi1.63b$&)!.<%/' app.config ["...
[ "marchenko.alexander@gmail.com" ]
marchenko.alexander@gmail.com
b48031b06dbb958e5d5ef37d088a4b46f343e105
1ea05a473da2fd7de4448428777bc1e0eb026658
/lib/rf_outcomeclass_upload.py
2308ab4c833806feaad2e579ca1c6dc592dd8174
[]
no_license
ebeth-chin/stool_consistency_pub
feea1733c3e9d348f6f138ba89ea77e123bbc5a5
b2680bb9a8d35a7c6ef92e2a5fd565be9dbe428d
refs/heads/master
2023-03-14T22:24:53.063504
2021-03-24T16:01:41
2021-03-24T16:01:41
291,159,493
0
0
null
null
null
null
UTF-8
Python
false
false
7,845
py
#!/usr/bin/python3 print('Loading modules...') import os, sys, getopt, datetime import warnings warnings.simplefilter("ignore", category=DeprecationWarning) warnings.simplefilter(action='ignore', category=FutureWarning) from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import Stratifie...
[ "elichin@ucdavis.edu" ]
elichin@ucdavis.edu
312c4d29501dca463c4af031ea3b1f91c69f137c
e0270cb5622e9b0fc4b7104fc979551dd31836ba
/src/mysite/urls.py
dcb8fa008ef319bebb5bcffce0e8edbdeb99604f
[]
no_license
U-g1N/DjangoLearn
5033c7fa8a02952ff38d5605a4ef4be58699e5ee
3abec371f1ff4683eb8b60bf6c0467e9926c7f84
refs/heads/master
2023-03-26T03:11:25.772115
2021-03-26T06:53:09
2021-03-26T06:53:09
350,376,742
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "eujinjoseph@gmail.com" ]
eujinjoseph@gmail.com
90cc939c6da4c334f63838ab0648cfaf0cf634e0
b03346953ae3e5852020d12d486ef60aee66f28f
/mywebsite/settings.py
2a64076747f2a265aa573258e328e30d4c8765c3
[]
no_license
martaswiatkowska/symmetrical-succotash-mywebsite
355e0c5ecdb8e289224c4e3f3f92285256e1eed0
92bcc80aa6be771158cd97713a5854c4f1ab4387
refs/heads/master
2021-06-10T12:52:01.530923
2016-09-23T20:27:34
2016-09-23T20:27:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,179
py
""" Django settings for mywebsite project. Generated by 'django-admin startproject' using Django 1.9.4. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "martaswiatkowska8@gmail.com" ]
martaswiatkowska8@gmail.com
7c071c9f98c9899543ba25e0b157cfdc92a34d67
0bdb8514c76c74d9d52637e4e9bca11c6d9f4a7b
/Unit 2/tuple(元组).py
1c1bb7ae01310510e0518d573ccc6598da7c0ef2
[]
no_license
Tespera/Python-study-notes
24389fa838de69a452e042cb8d52074c8f849c0a
8602cc49bd922275b97be61206ebf86359502c4f
refs/heads/master
2021-01-22T20:18:44.555498
2017-08-18T11:06:08
2017-08-18T11:06:08
100,703,876
1
1
null
null
null
null
UTF-8
Python
false
false
139
py
# Author:Tespera # Date:2017.8.15 # 元组:只读列表,不允许修改 names = ('Tespera','VV') names.count() names.index()
[ "noreply@github.com" ]
Tespera.noreply@github.com
2c1f8a805233cad2aa3e634457c4e7de745bfd4a
7d7d8f79e8bae80a8c99240b158c6f3d2abbf94d
/website/sitemaps.py
8a87994a09ed53d0bc73c9c11e80878f5cb62a57
[ "MIT" ]
permissive
ecss-soton/ecssweb
feeb208a504bc80b9453ba306c51cae6da3718cd
06ddda86863ddb85e5da39a6f7b7fb29af902b16
refs/heads/master
2022-12-16T02:59:45.147472
2022-12-11T22:13:04
2022-12-11T22:13:04
133,257,221
4
3
MIT
2022-12-11T22:13:06
2018-05-13T16:58:48
HTML
UTF-8
Python
false
false
1,503
py
from django.contrib.sitemaps import Sitemap from django.urls import reverse from .models import CommitteeRoleMember, Society, Sponsor class CommitteeSitemap(Sitemap): changefreq = 'yearly' def items(self): return CommitteeRoleMember.objects.all() def location(self, item): return reverse(...
[ "i@cjxol.com" ]
i@cjxol.com
ef1a2736eb1d45ecfe4b5293ed8f88eb6ca2148e
b492cb89a41ad805a818e3440fb16e9d045d4fed
/extraction.py
a53f1dfcda5b164b48183e5dec10207c3ec34d3a
[]
no_license
praveendandu/caterpillar-tube-pricing
fd204e91c55edac898b3f76baa812aff1e5c16d3
484cd926995e56898c30999c7d2963970f19d93e
refs/heads/master
2021-01-18T13:51:31.220961
2015-09-05T19:48:25
2015-09-05T19:48:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,998
py
import pandas as pd import numpy as np from sklearn.preprocessing import LabelEncoder import csv import pickle ''' Extracts variables from the training and test sets and pickles the resulting data frames for use in modelling.py. ''' def get_adjacent_tube_assembly_ids(tube_assembly_id): ''' Helper f...
[ "nagelbergmark@gmail.com" ]
nagelbergmark@gmail.com
4ef2cd2eade642a234ff663367f9bf7859fd3d47
1fcc47a5d07fcccd2949ecd7929b7d00a5901efc
/tests/function_pool.py
9777dfd84171fc5a7863e0a994f92b33147576b9
[]
no_license
roboptim/roboptim-core-python
597b4363b6762f8b38ea2e8f664ce19a2912267d
84141efe1eea991258ba88f5957febfb2f879873
refs/heads/master
2020-12-25T17:36:59.979228
2018-07-05T19:55:41
2018-07-05T19:55:41
8,874,275
4
4
null
2018-07-05T19:55:42
2013-03-19T08:50:33
C++
UTF-8
Python
false
false
6,672
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import \ print_function, unicode_literals, absolute_import, division import unittest import roboptim.core import numpy as np class Engine (roboptim.core.PyDifferentiableFunction): def __init__ (self, n): roboptim.core.PyDifferentiableFunct...
[ "chretien@lirmm.fr" ]
chretien@lirmm.fr
a7268692098b9f516f98b43d5ff9d9bc3845b3e2
6ce8f5a1a5af7365a58d73d6f7ba39e897d68db9
/handler/loghandler.py
edab630330a4dbc3f9f1f8076ef79c9f92395deb
[]
no_license
bellyfat/zapier-integrator
c6adc0879f725dadb2d1e8546d030bb49ed924d8
631a94865c3e58100d1d62c6916ff4011cc45181
refs/heads/master
2022-02-27T08:00:41.146131
2018-06-06T05:46:33
2018-06-06T05:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import datetime import logging import os def create_logger(jobid): try: if not os.path.exists("logs"): os.makedirs("logs") filename = "logs/{0}.log".format(str(jobid)) logging.basicConfig(filename=filename, level=logging.DEBUG) except Exception as e: print e ...
[ "sagarcadd@gmail.com" ]
sagarcadd@gmail.com
1c9ae353e393ba997cf5dae167fce110e3372543
482a778972f1eace39e0b75abd60ae244748590d
/Bizmate/diffKeywordsPanel.py
0d6765dea258a009d5511da499eedd0a0d156ae3
[]
no_license
ryderautoblr/Automation
a25468bbce63dd9ca461663263078886cd58a56f
5ed823917d7a6952b9726c1e03617d3db2880a0b
refs/heads/master
2023-07-25T02:22:23.047437
2021-08-23T07:58:36
2021-08-23T07:58:36
298,778,326
0
0
null
null
null
null
UTF-8
Python
false
false
2,643
py
import wx import os import diffKeywords import createSelectFilePanel import wx.lib.scrolledpanel as scrolled class diffKeywordsPanel(scrolled.ScrolledPanel): def __init__(self, parent): super(diffKeywordsPanel, self).__init__(parent) self.SetupScrolling() self.selectKeywordsFileNew = createSelectFileP...
[ "ryderautoblr@gmail.com" ]
ryderautoblr@gmail.com
ddffb633c5367c4057f3289c255a4bb05080d7c5
83b1ca02d707ae3dfea17e0de27293370e5c65c0
/slides/SourceCodes/dymos_animations/defect_convergence_lgl/dymos_defect_convergence_lgl.py
e6f7b50535fcda73db21b97681aeb8abdf95449e
[]
no_license
OpenMDAO/dymos_training
fc821c093e16360fd87343311219a837e2aaf73b
f8028e7edab630319205f5873b8b4783e214f8cb
refs/heads/master
2020-12-19T02:11:44.364680
2020-01-22T14:29:49
2020-01-22T14:29:49
235,590,011
1
0
null
null
null
null
UTF-8
Python
false
false
3,021
py
import numpy as np import matplotlib.pyplot as plt import openmdao.api as om def make_defect_convergence_animation(): cr = om.CaseReader('min_time_climb_solution_gauss-lobatto.sql') # for key in cr.system_metadata['traj.phases.phase0']: # print(key) # # print(cr.system_metadata['traj.phases...
[ "rfalck@nasa.gov" ]
rfalck@nasa.gov
53526a1d54ce7da5a974ff67f774e79cecc1b7ff
00ac75d326dc9981a6efb753a41d2e44427b15bd
/utils/misc.py
e5f76d96b2a3484b03cbc2c61eb492ed486df534
[ "MIT" ]
permissive
OpenXAIProject/dac
59d6b85a936dfacae7aeb9f356ba963407670251
652776e21b56dcb68839363bb077d5c5ea28d81e
refs/heads/master
2022-11-21T20:18:59.077438
2020-07-27T04:13:24
2020-07-27T04:13:24
282,783,144
21
2
null
null
null
null
UTF-8
Python
false
false
714
py
import imp import os import numpy as np def add_args(args1, args2): for k, v in args2.__dict__.items(): args1.__dict__[k] = v def load_module(filename): module_name = os.path.splitext(os.path.basename(filename))[0] module = imp.load_source(module_name, filename) return module, module_name # a...
[ "john@lang.aitricsdev.com" ]
john@lang.aitricsdev.com
9ae75b4e104f26447c714643ec07059c4de61710
902e0bcd7abd0eafb1daf820f5009e632bfe9141
/educa/settings/local.py
38d16417176ead2bdff2da71e37841ae010c8c28
[]
no_license
ihfazhillah/educa-lms
1ba4aebcfc7b68b6b80c3cacff0eeabb3024344b
e0c4ef46a147cc187297291db5adf78cc7da617d
refs/heads/master
2020-03-28T09:38:34.998747
2018-09-22T16:03:49
2018-09-22T16:03:49
148,048,405
1
0
null
null
null
null
UTF-8
Python
false
false
178
py
from .base import * DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } }
[ "mihfazhillah@gmail.com" ]
mihfazhillah@gmail.com
d28101b5fac424b3cc3fcc47e3bf89b2b6de6ae0
6a609bc67d6a271c1bd26885ce90b3332995143c
/exercises/string/read_n_characters_given_read4.py
389d8d3146560a64e411108a2f4d541362426403
[]
no_license
nahgnaw/data-structure
1c38b3f7e4953462c5c46310b53912a6e3bced9b
18ed31a3edf20a3e5a0b7a0b56acca5b98939693
refs/heads/master
2020-04-05T18:33:46.321909
2016-07-29T21:14:12
2016-07-29T21:14:12
44,650,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
# -*- coding: utf-8 -*- """ The API: int read4(char *buf) reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it returns 3 if there is only 3 characters left in the file. By using the read4 API, implement the function int read(char *buf, int n) that reads ...
[ "wanghan15@gmail.com" ]
wanghan15@gmail.com
ee0ec04e2d8c04fc9f2ef78728acf8ebd80904ea
3fdd9e2f5663c6b07420ff0047e20aa1d4dec0e9
/uim/codec/context/scheme.py
a251974e36cdf82ff8518dff4eee8112df492a74
[ "Apache-2.0" ]
permissive
erdoukki/universal-ink-library
39150814e1a11a5f15e7e66491784563e28e6de8
689ed90e09e912b8fc9ac249984df43a7b59aa59
refs/heads/main
2023-08-05T02:22:11.142863
2021-08-20T10:12:06
2021-08-20T10:12:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,708
py
# -*- coding: utf-8 -*- # Copyright © 2021 Wacom Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
[ "github@wacom.com" ]
github@wacom.com
e32f03050666068ee86574f9ca6ea27dc0af133b
eb15a3169a6333f6984bd3ff4cd8a56e4ec11d4a
/scripts/metrics.py
0fd56e6b7e402f64d8b79d45db97388bfe9b050b
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
waggle-sensor/core
87255a8ddd5fb9efe91543c9ab3be14b925767b8
6e328b1a1c4faebc0585e307e9256db25d7c48ab
refs/heads/master
2020-12-11T05:53:58.741743
2019-09-11T00:40:45
2019-09-11T00:40:45
68,459,432
2
3
null
2019-04-08T22:03:08
2016-09-17T15:10:19
Python
UTF-8
Python
false
false
7,972
py
import subprocess import os import re import time from contextlib import suppress from glob import glob import logging import configparser logger = logging.getLogger('metrics') def read_file(path): logger.debug('read_file %s', path) with open(path) as file: return file.read() def read_section_keys...
[ "sean.shahkarami@gmail.com" ]
sean.shahkarami@gmail.com
19b37a81020fa9bec45465d5817b2d9d5f003214
5804556ef8edcd5bfaa4bf519476b895027e0f98
/Exercise/XLA/3210.py
f5e26335d02bb38e2bf8f35b37567c56e911d4a7
[]
no_license
LHKode/Image-Processing
dbbcc5d0e2255c8ef611a1c9108c29c393885682
6c19546564f4fcd5f185338a5e2756519fef2e0d
refs/heads/master
2023-06-25T03:57:03.949627
2021-07-21T04:27:56
2021-07-21T04:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,632
py
import cv2 import numpy as np import math from matplotlib import pyplot as plt img = cv2.imread('hw4_radiograph_1.jpg',0) # sx,sy = image.shape # hr = np.arange(-(sx)/2,(sx)/2) # hc = np.arange(-(sy)/2,(sy)/2) # # [x,y] = np.meshgrid(hc,hr,sparse=True) # mg = np.sqrt(x**2+y**2) # H = 1/(1+(mg/20)**(2*1)) # G = np.fft....
[ "hoangkhanh9119@gmail.com" ]
hoangkhanh9119@gmail.com
0c71bb0c3348dc7ce28f6758bb9aa0ec1430c8b9
f69116784fc84a04ee8a8da2260c298097383928
/IrasutoyaGenerator.py
db4ac3ba3f26810d49469c5ffdd7b8e723928f90
[]
no_license
KoshikawaShinya/IRASUTOYA_GAN
56149af652e122d2952543460b38179bf662b103
e40aeb2d63c3515b8b6137de1202a0717f2be1bc
refs/heads/master
2022-12-16T10:49:04.863111
2020-09-12T13:33:26
2020-09-12T13:33:26
291,705,015
0
0
null
2020-09-02T05:33:51
2020-08-31T12:09:20
Python
UTF-8
Python
false
false
409
py
import keras as K import cv2 import matplotlib.pyplot as plt import numpy as np seed = 502 z_dim = 100 model = K.models.load_model('saved_model/mizumashi_model.h5') #np.random.seed(seed=seed) z = np.random.normal(0, 1, (1, z_dim)) img = model.predict(z) img = np.reshape(img, (64, 64, 3)) print(img.shape) img = 0...
[ "satowimp0319@gmail.com" ]
satowimp0319@gmail.com
edcfa6a98717e4cd2d68b62eb93dc8abe8293142
07667963cdddf3f046b7223e7fa33acd4d36b35c
/P4Python/config.py
7b5b89fa960a6e88042bc0896dfa36be61eb791e
[]
no_license
p4misc/p4api_examples
a3799f1e44967e1fdce10ee1b30d3183ecd4256a
3610e6adb0facaa91dafe816a2c879d191f23662
refs/heads/master
2022-12-29T02:06:00.057362
2020-10-19T14:08:23
2020-10-19T14:08:23
295,386,271
3
0
null
null
null
null
UTF-8
Python
false
false
54
py
P4PORT = "1666" P4USER = "bruno" P4CLIENT = "test"
[ "p4miscjp@gmail.com" ]
p4miscjp@gmail.com
5116b4a93bc9ae0defde9d176964fb6d903735d1
4d63e1189d42abc50e015569364fb1799b53665a
/cubepress/model/util.py
a9e196e92700b5ff73b79ad8791bd96d52cfb916
[ "MIT" ]
permissive
openspending/cubepress
7c6a5222150a7c55068a28596e13130213e10850
691ef925737cb4abb5889ffbb6adfbf60d94d36f
refs/heads/master
2020-07-11T10:17:05.295637
2015-09-04T09:56:50
2015-09-04T09:56:50
34,243,877
4
3
MIT
2021-06-18T01:57:39
2015-04-20T07:04:16
Python
UTF-8
Python
false
false
222
py
# coding: utf-8 from normality import slugify def valid_name(name): slug = slugify(name, sep='_') if slug != name or slug == 'row_count': raise ValueError('Invalid identifier: %s' % name) return slug
[ "friedrich@pudo.org" ]
friedrich@pudo.org
e3472ddbe2154408ef7551072d639ec11aab7534
12e84c82f6d92152a362e50468e9674b36f22289
/Day 29 - Bitwise AND.py
38e0fd371013191b17b4d1fcdeedd932d070f16c
[]
no_license
swrnv/hackerrank-30daysofcode
266b47e94d0af341461ac4681f619a8178a29100
1f10e1877a7124a37c232dae1d1cadc220edf65d
refs/heads/main
2023-03-01T06:08:22.858816
2021-02-12T07:05:29
2021-02-12T07:05:29
328,576,269
1
0
null
null
null
null
UTF-8
Python
false
false
224
py
import math import os import random import re import sys t = int(input().strip()) for a0 in range(t): n, k = input().strip().split(' ') n, k = [int(n), int(k)] print(k-1 if ((k-1) | k) <= n else k-2)
[ "noreply@github.com" ]
swrnv.noreply@github.com
d4ad6f9520043f4e80c6250d05378364b3fdc160
db1b3ce8d5dbd94702e8c072686171b4836930e1
/dictionary/6.py
634badb85533bc6d23bc69e34a58864bf8babaa4
[]
no_license
rostonn/pythonW3
d1e5c4e39a37331437ac5df766d6901f355ee483
dca530846445c8ae06d75df4787b17a67d837b4f
refs/heads/master
2021-01-01T04:40:54.965119
2016-04-28T04:45:14
2016-04-28T04:45:14
56,813,443
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
# dictionary in the form 1 to n (x, x*x) def square(n): ans = {} for x in range(1,n): ans[x] = x**2 print(ans) square(6)
[ "rostonn@gmail.com" ]
rostonn@gmail.com
13252a273ef6d09e665eec5b0641068b75eeaaf5
32fb6fd06b496b4c9ceabe578dceed265950cc37
/homework/scripts/populatedb.py
bec2769510952534d229f5054eefa24884311ec1
[]
no_license
rach/homework
8167d3930d4313818e306fb0965ffbd6402bf12b
aca450753445caa188675d637300ead443d15525
refs/heads/master
2021-01-10T04:50:53.857108
2016-01-11T21:13:38
2016-01-11T21:13:38
49,445,928
0
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
import os import sys from cStringIO import StringIO import requests import csv from sqlalchemy import create_engine from schematics.exceptions import ModelValidationError, ModelConversionError from homework.core.schemas import ListingImportSchema from homework.core.services import ListingService from pyramid.paster im...
[ "rachid.belaid@gmail.com" ]
rachid.belaid@gmail.com
531e51e68531c36ba76cd7cfc4cd3c4b1ae01c7e
5de474f245bb746e188c8d490ed63bf07d06b68b
/mysite/mysite/webapp/views.py
75299036fe1c2ac6a6d2da09d9a38507c64dd21c
[]
no_license
hitesh-1997/Medical_Chat_Bot
610ffb3e40fc459e2bb9c31f7ed535bf8482962d
c5aa981a370eb51c54b973ecaccad51919c64cd2
refs/heads/master
2022-12-11T03:35:21.812424
2020-06-10T07:05:55
2020-06-10T07:05:55
170,744,515
0
0
null
2022-12-08T01:21:13
2019-02-14T19:16:01
Java
UTF-8
Python
false
false
4,778
py
from django.shortcuts import render from django.http import HttpResponse import nltk, re, check, disease from disease import * from check import * import array from .models import Diagnosis import pytz def sentenizer(str): #getting sentences sent_tokenizer=nltk.data.load('tokenizers/punkt/english.pickle') s...
[ "sagtanih@gmail.com" ]
sagtanih@gmail.com
490d5797206e24f90f6839f8a93f190a99cc405d
705d95b3dc69d3890a2f0e19128aa8065fc54579
/smaccounts.py
849afde901e8b845dac7828e4a83fec392b5b305
[ "MIT" ]
permissive
emdeechege/Python-pwd-locker
84ad32f71aa2179a9f6465ce48371bc85928e125
df88496c9f73097749d70b813f8b47931156fcd6
refs/heads/master
2020-03-27T03:10:18.447881
2018-08-25T19:12:49
2018-08-25T19:12:49
145,843,279
0
1
null
null
null
null
UTF-8
Python
false
false
2,758
py
import pyperclip import string import random class User: ''' Class to create new user accounts and save the same to help in accesssing the pwd locker ''' users_list = [] def __init__(self,first_name,last_name,password): ''' Method to define the properties of the object '''...
[ "emdeechege@gmail.com" ]
emdeechege@gmail.com
17d4fd877f2e4265c6bdd8c7bd5bf8ee32db7691
ba63604ad476e7e8eee34f6288e18d96a6d19073
/consolidate_marketplace_erp_reports.py
a9d80976096d33baee49882f3ee54bc488118ae4
[]
no_license
matherthal/marketplace_report_consolidation
f4e2d1d25cc3040897e545dccf5f43357eb7e9d0
c10dc02c80828ed6f774ad3769064a3d6f7a0e16
refs/heads/master
2022-11-24T03:59:42.146007
2020-08-09T04:18:43
2020-08-09T04:18:43
286,131,074
0
0
null
null
null
null
UTF-8
Python
false
false
5,393
py
#!/usr/bin/env python # coding: utf-8 from datetime import datetime import sys import logging import logging.config import warnings import shutil import pandas as pd from pathlib import Path from services import fup_service, b2w_service, carrefour_service, viavarejo_service, \ colombo_service, z...
[ "matheuserthal@Matheuss-MacBook-Air.local" ]
matheuserthal@Matheuss-MacBook-Air.local
d8aa61e21ccc8e7163ef8a9879a8cc2c1ae81989
faa99ffc930bd0c0b9249171076343654295da05
/bin/cronmon
7c3547830fcba25c6d2660635ea7bbb220c9e5d7
[]
no_license
malev/cronmon
b906afb5c56fe454f7098cd09738abad8700c306
270c302d6ffafdc85432f0cbd129b09bbccbb3ae
refs/heads/master
2021-01-10T07:51:43.592444
2015-11-29T00:56:10
2015-11-29T00:56:10
46,084,016
0
0
null
null
null
null
UTF-8
Python
false
false
81
#!/usr/bin/env python import sys from cronmon.cli import main sys.exit(main())
[ "marcosvanetta@gmail.com" ]
marcosvanetta@gmail.com
501c723904671e6b5e1e983c153f84ed87cd268f
8e693fa8064473628b581605e3a1408f9f4744a2
/apps/core/views.py
a1f6f29e5dd5f6bbe5dc5c4bad6784ae85cfb863
[]
no_license
daniel-santhiago-08/google_trends_app
d084096aa3179a565f4e408f483a7f01a38aecba
4d7219844cda1cfdbcdaa6bc700e8d2933dc65e1
refs/heads/master
2021-08-08T00:29:59.870759
2020-04-01T17:43:17
2020-04-01T17:43:17
252,187,116
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from django.shortcuts import render # Create your views here. from django.shortcuts import render from django.contrib.auth.decorators import login_required # @login_required def home(request): # data = {} # data['usuario'] = request.user # return render(request, 'core/index.html', data) return rende...
[ "daniel.santhiago@thrive-wmccann.com" ]
daniel.santhiago@thrive-wmccann.com
50dce8ff13c18e0e3acfce5ce9beaeeaeda119e2
b367c827433cd76d4ae53efd7463621e576510c4
/python/MakeConf_FinalNovember.py
13004882c421cec15daa7ac4dc697d1e92abe9ca
[]
no_license
tklijnsma/RegressionTraining
998ec9dcd9103d810febfd3fccd6b4d7c9e00a3b
bb5738b37aa804f6be51892577a3face71e89cbf
refs/heads/master
2021-01-24T15:34:49.724573
2017-04-13T13:33:39
2017-04-13T13:33:39
57,199,002
0
2
null
2016-04-27T08:55:41
2016-04-27T08:55:41
null
UTF-8
Python
false
false
11,757
py
#!/usr/bin/env python """ Thomas: """ ######################################## # Imports ######################################## import os import ROOT from Config import Config from time import strftime import argparse ######################################## # Main ######################################## def M...
[ "klthomas@student.ethz.ch" ]
klthomas@student.ethz.ch
29bc56593eeca0b6f0deb0a25c96a29e0f5b79b8
5f226346f8547cf0a797e7925d508aac0c20c6f9
/experiments/jet/config.py
cff8dfa94b7df7b4229a5d5b46ae0979e2d8e45a
[]
no_license
spiec/reinforcement
d345fb958557755874ea5d4d12e944c29d668ccb
38cae2059acec755a4bb54391eafb6aa62b47fed
refs/heads/master
2020-04-28T10:48:43.890585
2019-04-13T10:48:16
2019-04-13T10:48:16
175,215,145
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # Author: sebastian.piec@ # Modified: 2019, March 11 # ---------------------------------------------------------------------- seed = 999 agent = "output/jetdqn_v1.pt" training_log = "logs/training....
[ "sebastian.piec@gmail.com" ]
sebastian.piec@gmail.com
d72aab054b36b69c32a1d6055d1a12e2f092c571
70cd09d24746a5b03c996106272e97294d0d0f7f
/qt4i/device.py
78a8af3be7cfb2aac2e9266990b3f0f282246c9a
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
getwindow/QT4i
93160a1199ff60ac5bd8427fe1cd40ad9c59e959
dccafddf716cfeb5b82adac0f109ea40bc7d62d3
refs/heads/master
2020-03-30T07:15:48.671698
2016-10-08T03:05:10
2016-10-08T03:05:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,543
py
# -*- coding:utf-8 -*- # # Tencent is pleased to support the open source community by making QTA available. # Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the BSD 3-Clause License (the "License"); you may not use this # file except in compliance with the License. You may...
[ "ericjwjiang@ericjwjiang-mac-mini3.local" ]
ericjwjiang@ericjwjiang-mac-mini3.local
cd3dffcdae0e94d30f71d7c7e996d7d7a0e186e4
6676fc11ac6bcfce184914014c23540b9908c1e9
/crops/migrations/0001_initial.py
14e779b055c1bc77d365d1f14011433e02da4313
[]
no_license
RomitSingh1999/Agriculture
2a17c83c196ecb68bc2369a7a7f64008c49fe877
ad3484c1e2915971de7edb46b3d234dd1e0ef800
refs/heads/master
2023-03-15T10:25:25.982243
2021-03-03T20:35:43
2021-03-03T20:35:43
303,091,108
2
0
null
null
null
null
UTF-8
Python
false
false
424
py
# Generated by Django 3.1.2 on 2020-10-10 12:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Data', fields=[ ('id', models.AutoField(aut...
[ "romitsingh19@gmail.com" ]
romitsingh19@gmail.com
f2ab9b66168fa1a8605e19f7ae2df6bb3570e8f6
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/2018.py
287d7cf286ece6439372d5a253acd9a4a5feb04d
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
def compute(C,F,X): best, farms = X/2, 0 if X <= C: return best dt, dc, drate = 0, 0, 2 while 1: delta = C/drate dt = dt + delta dc= dc + drate*delta - C drate += F new_time = dt + (X-dc)/drate if new_time >= best: break ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
732e83cac1d21b258d8593edec7ce7e655d9c009
dc743ec50a12acdd03c53576e25f23af37fe573e
/metadata-wrangling/BIBFRAME/Converter/APP-WIP/Django-based/BIBFRAME_Converter/Webapp/models.py
cf8ae1a105017ed2f5284b57ab02ac3530c0e873
[]
no_license
ualbertalib/metadata
860c103145bac86cfc1ef857f73b114b6a5ed4ce
ab125986975c688284c0c5da2fd2e2a812988d46
refs/heads/master
2023-07-19T20:29:09.542577
2023-02-07T19:01:34
2023-02-07T19:01:34
37,545,489
20
7
null
2023-07-06T21:19:44
2015-06-16T17:33:22
null
UTF-8
Python
false
false
5,854
py
from django.db import models class Document(models.Model): description = models.CharField(max_length=255, blank=True) OID = models.CharField(max_length=355, blank=True) old_id = models.CharField(max_length=25, blank=True) name = models.CharField(max_length=255, blank=True) uploaded_at = models.Date...
[ "danoosh@ualberta.ca" ]
danoosh@ualberta.ca
50a9918d05eb0cd59d8f02be86cb3cd4074df66e
1f0b83c7233c2405ac189b79d75a8aefb6427a18
/Chapter_05/Quiz/Problem1.py
330d3ee859394a6f7e0a05ecabd6fffdb5537420
[]
no_license
k2khan/CS1300
255a55904f84c161df3d556ff9b15efbaf94803b
14c4459f4f526cc526b624e8927659d8616bcd30
refs/heads/main
2023-07-28T22:28:12.872569
2021-09-25T21:15:20
2021-09-25T21:15:20
410,383,077
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
from cs1graphics import * from time import sleep paper = Canvas(500, 500) red = Square(100) red.setFillColor('red') red.moveTo(50, 50) red.setBorderWidth(0) paper.add(red) L = Layer() paper.add(L) rectangle = Rectangle(100, 400) rectangle.setFillColor('blue') L.add(rectangle) rectangle.moveTo(50, 300) L.adjustRefere...
[ "hamad.khan@slu.edu" ]
hamad.khan@slu.edu
c0922f5313231e1e685bb96fce78601a8eeb7fac
e4911a7848ffa2aa2095d5f9d7d67648f9560ab2
/detailsapp/urls.py
4db012876ab89c3254622cd928d19c79fe0e0219
[]
no_license
KajuShrivastava/modelforms
dd07533aff46d6d19049dfc24b3880066ceff020
724fd07a6bf81196c881f64777ec13d413ac107f
refs/heads/master
2020-05-15T18:06:45.226050
2019-04-20T14:52:01
2019-04-20T14:52:01
182,418,086
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from django.urls import path from django.contrib import admin from detailsapp.views import userDetails urlpatterns = [ path('userdetails/',userDetails), path('display/', userDetails), path('', userDetails), ]
[ "kajushrivastava27@gmail.com" ]
kajushrivastava27@gmail.com
752dbd0c59651336f805ab8222d75267bcaff9d8
90e7dac05dd45fe3288158f80a21ded8f6ef912b
/Object Recognition.py
a54665428d1a07ea45981676eee4a3ee3ea25bef
[]
no_license
Akolada/Object-Recognition-in-Images-with-Convolutional-Neural-Network-on-CIFAR10
600a20c6d730424c0fab211e07514bcdbfaf40e4
fd6d7b9b66c1aa58f85ba215a73a5254b03ad8bb
refs/heads/master
2020-07-05T03:59:45.809382
2018-10-02T19:32:48
2018-10-02T19:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,937
py
# coding: utf-8 # #### Renjie Wei # # Train a deep convolution network on a GPU with PyTorch for the CIFAR10 dataset. The convolution network should use (A) dropout, (B) trained with RMSprop or ADAM, and (C) data augmentation. For 10% extra credit, compare dropout test accuracy (i) using the heuristic prediction ...
[ "noreply@github.com" ]
Akolada.noreply@github.com
77cf063326d302d2a56bdbd85c41b98cdf1ad82d
d961c8712b2c08517a307c928e2f97583bfc42aa
/bin/wheel3
7729c664c5c0b041a24cf4abef8bba18e513a57e
[]
no_license
josedlg/aws-django
a301316507b78f1ed68ae817f8efd7e02713a298
aaf78b455b17f2f18e2ab1e33e5bb7a72c7ab283
refs/heads/master
2023-06-26T00:18:44.394773
2021-07-31T01:04:57
2021-07-31T01:04:57
391,082,552
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/Users/josedelaguarda/Developer/django-docker/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "josedelaguarda@outlook.com" ]
josedelaguarda@outlook.com
e524c0884f4220d9139bffe55506485c502f0f9a
67e620023911906f832aff452a99ac96433e44ef
/lib.py
be84269d8b5836fbc8922335e10f9dbc649e87ff
[ "MIT" ]
permissive
armel/RRFDisplay
bbb609c49ecff189444cdecb313f96baae31cb3c
2ace16c0a19b9475c2b5913d9a319babe420abfb
refs/heads/master
2023-01-28T15:34:33.215337
2020-09-12T20:49:51
2020-09-12T20:49:51
164,368,280
0
0
MIT
2020-05-13T00:16:49
2019-01-07T02:35:18
Python
UTF-8
Python
false
false
16,423
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' RRFDisplay version Raspberry Pi 3B et Orange Pi Zero Learn more about RRF on https://f5nlg.wordpress.com Check video about RRFDisplay on https://www.youtube.com/watch?v=rVW8xczVpEo 73 & 88 de F4HWN Armel ''' import os import requests import sys import getopt import j...
[ "armel.fauveau@globalis-ms.com" ]
armel.fauveau@globalis-ms.com
9e46e31002326fd0a61378c7813ce1d84306ef03
df15d06ed6f9c599b287c59b9a16fda258168395
/Modulo1/Aula06/10 05 2021/Aula06_Ex6.py
f2e2f32c7f6ac00448af622f618d59d1bfcd7d43
[]
no_license
GHEPT/VSCode_Python
9ff2178cdd2c33100dc728acd66fd1d8fe44c16c
a10ee0144cdd666d797c3e0a828a7e4307bfd5dd
refs/heads/master
2023-06-02T04:05:54.930779
2021-06-20T19:39:03
2021-06-20T19:39:03
366,545,920
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# Escreva uma função que, dado um númeronotarepresentando a nota de um estudante, converte o valor de nota para um conceito (A, B, C, D, E e F). """ Nota / Conceito >= 9.0 / A >= 8.0 / B >= 7.0 / C >= 6.0 / D >= 5.0 / E <= 4.0 / F """ def conceito(): global n if n >= 9: n = print('A') retu...
[ "teodoro.edu@hotmail.com" ]
teodoro.edu@hotmail.com
62d4261440930ed7f608719d5a33a283b7353a98
4fd217c6e58958e2fb8db410bc224cb6c345d2b3
/9.3.2020/basic2FAILED.py
0a0540465b976a33e52078804256e44f39324872
[]
no_license
ElvarThorS/Forritun
75334314795124739e133acbff4a0a561b1a2419
6609a9134d7a5139e5d3f679bfebb1cea4c5278f
refs/heads/master
2022-12-18T14:28:12.324213
2020-09-17T09:12:56
2020-09-17T09:12:56
292,543,118
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
#Algorithm #1 make loop that loops n time #2 make variables and get the sum of them n = int(input("Enter the length of the sequence: ")) # Do not change this line count = 0 sequence1 = 1 sequence2 = 2 sequence3 = 3 while count < n: if sequence1 < sequence2: print(sequence1) sequence1 = sequence3 +...
[ "elvar-thor@hotmail.com" ]
elvar-thor@hotmail.com
1a2a632760618a11fee58892f42121405d99e7ef
4ce365fb7a342d417f35150df9e0819c24659843
/setup.py
a671d1a6e9649118ba9cdbfe0caf2d6c27eb846a
[ "MIT" ]
permissive
lttb/morphy
fd7fb226f23b574f0a691eec75de979885b0e81e
c51a6fdb6ca4563d65f3b4d5bf42d24f5d4c1d26
refs/heads/master
2023-08-20T01:04:34.661607
2018-06-03T07:36:28
2018-06-03T07:36:28
135,484,358
0
0
MIT
2018-06-03T04:06:52
2018-05-30T18:47:21
Python
UTF-8
Python
false
false
600
py
from setuptools import find_packages, setup setup( name='morphey', packages=find_packages(), version='0.0.1', description='Morphological Analysis for Russian based on RNNs', author='Kenzhaev Artur', author_email='kenzhaev.artur@gmail.com', url='https://github.com/lttb/morphy', install_r...
[ "kenzhaev.artur@gmail.com" ]
kenzhaev.artur@gmail.com
a3e4eb81b9d08904866c9f0b06e09ec2e52886b7
0b5f8f07825b0998699cea047f552e5459d6bd9f
/Inheritance.py
b6def1e068ab619b046e0bc3874a2a017785043c
[]
no_license
AvanthaDS/PyLearn_v_1_0
67f069e43a52da9bf283d125960f05af8cacf53a
dc4aa5473c7ade6947bb6fbb1d3da6cb46e43423
HEAD
2016-09-01T09:27:23.942470
2015-10-13T13:12:15
2015-10-13T13:12:15
44,176,357
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
__author__ = 'Avantha' class Parent(): def print_last_name(self): print('De Silva') class Child(Parent): def print_first_name(self): print('Avantha') def print_last_name(self): # THis overrides the inherited variable information, if it is not for this my second name will appear as avanth...
[ "avantha.desilva@gmail.com" ]
avantha.desilva@gmail.com
7ec550710acac36ed347ba40826dbe4fe067766a
5330918e825f8d373d3907962ba28215182389c3
/CMGTools/TTHAnalysis/python/analyzers/ttHJetMETSkimmer.py
b521ed5ab1924dd489cef6fe53836e8bffcdd800
[]
no_license
perrozzi/cmg-cmssw
31103a7179222c7aa94f65e83d090a5cf2748e27
1f4cfd936da3a6ca78f25959a41620925c4907ca
refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22
2021-01-16T23:15:58.556441
2017-05-11T22:43:15
2017-05-11T22:43:15
13,272,641
1
0
null
2017-05-11T22:43:16
2013-10-02T14:05:21
C++
UTF-8
Python
false
false
2,700
py
from CMGTools.RootTools.fwlite.Analyzer import Analyzer from CMGTools.RootTools.fwlite.Event import Event from CMGTools.RootTools.statistics.Counter import Counter, Counters from CMGTools.RootTools.fwlite.AutoHandle import AutoHandle class ttHJetMETSkimmer( Analyzer ): def __init__(self, cfg_ana, cfg_comp, looper...
[ "gpetruc@gmail.com" ]
gpetruc@gmail.com
9caaadd925c85e67b492ab5d14e24fbaf3818be7
7a28e230dbe243b16a98f55bbd5530461bea9cc2
/desafio038.py
57d8d6dc9b4a1829e3867b77fa16bab49cd882e2
[]
no_license
GabrielSBova/Scripts-Python
7a6e7fc0f92e4308dabafc35ef4199d702139f90
b118502ab5208147e3f107ff3d0fe8253d72839b
refs/heads/master
2021-02-16T13:58:15.114061
2020-03-04T22:04:57
2020-03-04T22:04:57
245,013,234
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
num1 = int(input('Digite o primeiro valor: ')) num2 = int(input('Digite o segundo valor: ')) if num1 > num2: print('O número {} é maior que o número {}'.format(num1, num2)) elif num2 > num1: print('O número {} é maior que o número {}'.format(num2, num1)) else: print('Não existe valor maior, os dois são igua...
[ "gabrielbova101@gmail.com" ]
gabrielbova101@gmail.com
b4852f5e3507c034a051112ab5d20768d558f8b9
d3efc82dfa61fb82e47c82d52c838b38b076084c
/utils/Autocase_Result/Quote18/HQ_18_052.py
499f849471c77e6e8e758530e4b2c898b9ce420f
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import time import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from log import * class HQ_18_052(xtp_test_case): def subOrderBook(self, Api, stk_info, case_name, rs_exp...
[ "418033945@qq.com" ]
418033945@qq.com
885b4dd2a9ce98642e4a22da85726bac9cf54dd4
ba559d93fdd7dadf830199c60b25d247709d66a5
/apps/tests/models.py
713d2ad484627a6601d40cd8691d7753239169b9
[]
no_license
Harut1991/django_rest
aa4b1a273ce2efa1d80ebcccf1b7df714f431f9c
c7b26e7d9dd981f1221c7bd3bd67bafa84cb6cac
refs/heads/master
2022-12-09T19:23:06.469555
2018-09-05T18:15:42
2018-09-05T18:15:42
145,605,164
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
from django.contrib.auth.models import User from django.db import models from .upload_path import get_image_path class Test(models.Model): name = models.CharField(max_length=200) @property def get_test_questions(self): questions = Question.objects.filter(test=self) return_data = [] ...
[ "51ad41ad" ]
51ad41ad
9a8596e0a1a602c87d7fab6dc03002053d691441
1e9b3c4a2c8dee627ed03a28adf55aff66311f41
/src/simple_multiple_call.py
672b583cf6a421966316972f43787651a24d3a58
[]
no_license
roholazandie/rpc_py
54bfbd68c6be88c0ef33a195a2299d7d78fa2a10
8778539e95c702a1a8b6a0125889dc0a7c0f8553
refs/heads/master
2023-06-22T03:51:24.878605
2020-08-17T18:59:56
2020-08-17T18:59:56
277,616,148
0
0
null
2023-06-12T21:28:54
2020-07-06T18:14:51
HTML
UTF-8
Python
false
false
382
py
#import xmlrpclib from xmlrpc.client import ServerProxy server = ServerProxy('http://localhost:3000') print(server.get_semantic_similarity("I want a MacBook.", "computers")) print(server.get_semantic_similarity("I want a MacBook.", "music")) print(server.get_semantic_similarity("You like Elvis!", "computers")) prin...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
f1a3abec445a17ae572b06f876161e28bdaf4609
fecc174119d6174fa60ffaf8c3614a1afa588686
/oversight/image_source.py
0127f5e8ffb282cde2ce7353f19fca5152c7f3f4
[ "Apache-2.0" ]
permissive
hebenon/oversight
50ffc612ac6911539c8723020dc91946c5d76913
83983a7010124bdadfc2d836134049a87928a33e
refs/heads/master
2021-01-12T12:47:38.294356
2017-11-14T10:45:05
2017-11-14T10:45:05
69,296,502
19
2
null
2017-05-29T06:44:00
2016-09-26T22:01:36
Python
UTF-8
Python
false
false
3,277
py
# Copyright 2016 Ben Carson. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "ben.carson@bigpond.com" ]
ben.carson@bigpond.com
a60040da35be00c6a0f2ceb681037234ab48f192
b445a970a5e645162f5b0841893327619efb794d
/15-exception/raise.py
4ff885aeaae0811f876c311577855d1f152c0080
[]
no_license
eduohe/PythonCodeSnippets
340f676d3642d7f060bc45fee367f53e926149eb
0cf2e8c2042c1b296de9c653b910a0596e75fca1
refs/heads/master
2020-12-25T11:16:23.023767
2015-09-22T21:24:37
2015-09-22T21:24:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
#!/usr/bin/python3 def main(): try: for linha in ler('exemplo.txt2'): print(linha, end = '') except IOError as e: print("arquivo nao encontrado", e) except ValueError as e: print("Tipo de arquivo invalido", e) def ler(nomearquivo): if nomearquivo.endswith('.txt'): ...
[ "eduohe@hotmail.com" ]
eduohe@hotmail.com
36b71e247ee6644a2e21394eb8364b1a8745d375
0a16ec91f6f41be823a9f165a10120cd22cd5aa9
/FoodDBManager.py
81464a0e018537e84011f1a765a96588429ad780
[]
no_license
evgenyslab/NaopiEN
bd6e5847b76b87f506dac4e0012b0db76686f3b5
ac93ae9ed075babccef85d514f64a24b582c9089
refs/heads/master
2020-04-06T04:07:20.777671
2017-03-07T16:02:20
2017-03-07T16:02:20
83,042,198
0
0
null
null
null
null
UTF-8
Python
false
false
3,075
py
import FileUtilitiy import sqlite3 import json import os.path class FoodDBManager: def __init__(self): dbDir = "ProgramDataFiles\\foodDB.db" if os.path.isfile(dbDir): self.conn = sqlite3.connect(dbDir) else: self.conn = sqlite3.connect(dbDir.replace('\\', ...
[ "e.nuger@gmail.com" ]
e.nuger@gmail.com
73a22fafc4797640bac521956e27568e4d8ea0fd
f8ac61a68c128d9019a2e78e9f3620502a87d220
/server/commandoperator.py
0f71917e9f5c0df53a5da990b6f919ef420072cf
[ "MIT" ]
permissive
griehsler/waterIt
a18f0923f3716cc788fc6659ddcf6b6f71331e8a
a7794e0f8de984b9e8ba6398e93350d6e9264432
refs/heads/master
2021-06-08T06:29:02.655806
2018-12-17T21:50:33
2018-12-17T21:50:33
147,120,679
0
0
MIT
2021-05-06T19:24:30
2018-09-02T20:48:31
C++
UTF-8
Python
false
false
2,620
py
import paho.mqtt.client as mqtt from datetime import datetime import pytz import json from pony.orm import db_session import sys from model import * with open('config.json') as config_file: 1 configuration = json.load(config_file) incomingTopic = configuration["incomingTopic"] outgoingTopic = configuration["o...
[ "ronald.griehsler@gmail.com" ]
ronald.griehsler@gmail.com
acff2b7d7644b0a3ae1403ef41c3a2a3b37be1a0
7126face9fda4828bb74b7569b81b56da8e8d00a
/vishtml.py
a57f00d0d6a0ad070fadd5f7564539d814405c94
[]
no_license
eineEule/WebstatusMonitor
66914c73352e185614d164dcd78df10016a822d8
305800f000b680fde083cc143962f054940ff292
refs/heads/master
2021-08-31T11:05:55.321672
2017-12-21T04:48:24
2017-12-21T04:48:24
114,700,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
#!/usr/bin/env python import cgi def htmlHead(): print("""Content-type: text/html\n\n <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1, maximum-scale=5"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-P...
[ "noreply@github.com" ]
eineEule.noreply@github.com
e970ddae739ae9ee0b4d46519705a661d8daa2da
794075998ca79c106cdfa145c508a2564414f9e7
/flask-nlp-api/database.py
d973edf14ae47efcfd42330e4fccd5aa49599443
[ "MIT" ]
permissive
dr-jgsmith/flask-nlp-api
814ab8cfb95ab20fd378642a17e5e3e4bdeb8851
bc47594a0b200271ff71d1637ae76338d3b3912c
refs/heads/master
2020-06-01T07:15:29.648678
2019-06-07T06:44:25
2019-06-07T06:44:25
190,694,684
1
0
null
null
null
null
UTF-8
Python
false
false
501
py
from sqlalchemy.orm import relationship from extensions import db relationship = relationship def ReferenceCol(tablename, nullable=False, pk_name='id', **kwargs): """Column that adds primary key foreign key reference. Usage: :: category_id = ReferenceCol('category') category = relationship(...
[ "justin.smith@directharvest.io" ]
justin.smith@directharvest.io
7c074e1e0329621355d20a6c40b15862511b0da2
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/eqptcapacity/l3totalusagecaphist1year.py
cf62a802c79ad7330fcb6f152acf04c26193451e
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
17,472
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
f1a6a1f4c9d69dd7b043f7865a0f320005c90e3b
b135e52f29bc394ec4c81b0e52bcb38c34b62229
/optim/acclip.py
e62dfdfcc70087b9d2a37fe20ce8a650b8c4dbd1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SAITPublic/MLPerf_Training_v1.1
2c563046459f9db2152e66c2c3e01b7d75dd675b
3f00b82dcaa1c42078c547e0f2ed4aecbcad3277
refs/heads/master
2023-09-04T10:30:53.619177
2021-10-22T14:25:21
2021-10-22T15:06:14
420,127,562
8
1
null
null
null
null
UTF-8
Python
false
false
6,278
py
import math import torch from torch.optim.optimizer import Optimizer def centralized_gradient(x,use_gc=True,gc_conv_only=False): if use_gc: if gc_conv_only: if len(list(x.size()))>3: x.add_(-x.mean(dim = tuple(range(1,len(list(x.size())))), keepdim = True)) else: if len(lis...
[ "k.myeong-woo@samsung.com" ]
k.myeong-woo@samsung.com
56bc0a3e71fd7a5ae2d279be5e15269ec243a16e
13088ad7e539f84a79a4f49102222e6dda095317
/utilities/Requests.py
cb5fdfe9315f9bc7758da8c0faa6b9dc25ecf181
[]
no_license
pareekajay2/parking
289ce27cc08ecd98dff0fc12787656029d78aa17
b2b84534081b7a8343d694a7c82a67f5a728afd2
refs/heads/master
2023-03-30T04:49:32.542081
2021-03-28T07:39:18
2021-03-28T07:39:18
352,268,951
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
class Method: CreateParkingLot = "Create_parking_lot" Parking = "Park" SlotNumbersForDriverOfAge = "Slot_numbers_for_driver_of_age" SlotNumberForCarWithNumber = "Slot_number_for_car_with_number" Leave = "Leave" VehicleRegistrationNumberForDriverAge = "Vehicle_registration_number_for_driver_of_ag...
[ "pareekajay2@gmail.com" ]
pareekajay2@gmail.com
4dbac38863702a9b83b29da422de7bdd84555f0e
a8b88720b1e1cb78ab6196cc29a2fc9534e65b29
/resources/ui_stack_page.py
14292e51edfc6c1fb7b1e9b723338c8b1f545002
[]
no_license
RonChu-01/package_demo
51726ab4cd115c5f6f144973f735ec30b9d8a900
7dde3ab21bc29ab810f64b5fd64c69299ba0d90d
refs/heads/master
2020-05-23T21:08:25.535620
2019-08-15T03:33:11
2019-08-15T03:33:11
186,945,090
0
0
null
null
null
null
UTF-8
Python
false
false
15,701
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_stack_page.ui' # # Created by: PyQt5 UI code generator 5.12.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from SlidingStackedWidget import SlidingStackedWidget class Stack_Ui_Form...
[ "chuyong@3k.com" ]
chuyong@3k.com
b2a2559809d92eb818eeb0fd01d727dc5c2d82ea
f876bb72242efab800eb9c24877b00e1c792b1a0
/Python/data_structure/test.py
38f282e19d3fe0f95dce89e483f93367c83a0f1e
[]
no_license
weilin-zhang/MyProject_siat
da5634a409cf1ce125120ba28b4bb22ccff5dc4d
cb4abf41bb3492e642d5a3d3eabf99ea2c6bce16
refs/heads/master
2020-03-18T20:44:40.605068
2018-10-17T12:10:54
2018-10-17T12:10:54
135,235,555
0
1
null
null
null
null
UTF-8
Python
false
false
2,581
py
# try: # a = input() # except IOError: # print("error:缺少输入") # else: # print(a) # 递归求N! def recursive_mix(n): if n == 2: return 1 return n * recursive_mix(n - 1) # 十进制转二进制 def recursive_conversion(n): if n == 0: return recursive_conversion(int(n / 2)) print(n % 2) ...
[ "willzhang003@gmail.com" ]
willzhang003@gmail.com
c5709606fb924f3f474a7c77011029c101624e0b
c6e5f5c2a695249a306a053a0d0cd4cf4dc6de66
/analyse_metres_from_location.py
6c33b479cc69a67c429d9fd2873c586b027a157a
[ "Apache-2.0" ]
permissive
AdamLeonSmith/privkittools
8befa2f0a8dc408c8b95c0fd12a70c037a3a33ea
294c107ddaeda5017fcc7e7b87dd54ddc504e081
refs/heads/master
2022-05-28T02:03:45.346237
2020-05-02T15:55:53
2020-05-02T15:55:53
256,949,985
1
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
#!/usr/bin/python3 import time import json from datetime import datetime, date, timedelta import math #Enter your latitude here: http://www.csgnetwork.com/degreelenllavcalc.html # then copy the Length of a Degree of Latittude/Longitude in Metres lod_lat = 111061.57849146728 lod_long = 83627.11630547515 lat_per_metre =...
[ "adam@wearedragonfly.co" ]
adam@wearedragonfly.co
7c8f9528eabc81860f28438eda853c4c6f951b0b
fd0d8b010d45f959f0660afb192c7349e266a329
/competitive/AtCoder/ABC197/B.py
8545cea720cd0360b76c986456a16709998efda5
[ "MIT" ]
permissive
pn11/benkyokai
b650f5957545fdefbea7773aaae3f61f210f69ce
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
refs/heads/master
2023-01-28T01:38:29.566561
2021-10-03T04:20:14
2021-10-03T04:20:14
127,143,471
0
0
MIT
2023-01-07T07:19:05
2018-03-28T13:20:51
Jupyter Notebook
UTF-8
Python
false
false
580
py
import numpy as np H, W, X, Y = [int(x) for x in input().split()] X -= 1 Y -= 1 arr = np.zeros(shape=(H, W)) for y in range(H): s = input() for x in range(W): arr[y, x] = 1 if s[x] == '#' else 0 ans = 1 # 自分自身 a = arr[X, :] cuma = np.cumsum(a) for y in range(W): if y == Y: continue i...
[ "pn11@users.noreply.github.com" ]
pn11@users.noreply.github.com
96737a8d8e3b94d006ce461609ca5978d7aa72cf
9aeb6b803977b98cf9f325cb942beb54209224a1
/webapp/order/models.py
fc5698bc956641778d6c62113bba9fb400e3fc3b
[]
no_license
DmPolikarpov/book_store
65ca1097039561fb5d36fefb161491e78e897b2f
cb9dea58a6ba3116575fd19eecd4036591510f1c
refs/heads/master
2022-12-11T06:52:04.283211
2019-05-14T17:18:21
2019-05-14T17:18:21
176,566,598
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
from webapp.db import db from datetime import datetime from sqlalchemy.orm import relationship class Order(db.Model): """ Модель заказа. """ id = db.Column(db.Integer, primary_key=True) user_id = db.Column(db.Integer, db.ForeignKey('user.id')) book_id = db.Column(db.Integer, db.ForeignKey('book.id')) ...
[ "mazaxist2@mail.ru" ]
mazaxist2@mail.ru
b61d898faa6c848078f2879f12b9b30bb37e259c
2e6c1dbe9e11426ffa65adc12723ddc4a986e5e9
/day2/mysys.py
e55e86e06a90022fd72dfd996c41e05a61c66889
[]
no_license
525642022/learn_pyhton_basic
40fb48b85c7120465c790dc82668d83fa2bd6d5d
be1c7499ade2ae1f27440441e7472b1b6a902430
refs/heads/master
2020-03-26T04:48:00.681424
2018-08-13T05:39:04
2018-08-13T05:39:04
144,523,133
1
0
null
null
null
null
UTF-8
Python
false
false
212
py
# 作者 ljc import sys import os # 打印环境变量 print(sys.path) # 打印当前文件名 print(sys.argv) a = 1 b = 2 c = 3 d = a if a > b else c msg = "理解成" print(msg) print(msg.encode().decode())
[ "525642022@qq.com" ]
525642022@qq.com
e7baf0aff54ebd9ea52d81571eb26176fcfbae42
a5a0f90bb6f19aeb3c43d80532d61c0f99ad79a1
/prayer/blocks.py
aafcf4a1595d81cf264cafbab838df3de045e22c
[]
no_license
AlbianWarp/ReBabel
3c19153681448c9f700250049defe9e5fa019b4e
e3a39fac0b26c990eee6f55ca753fc6eb90fc80d
refs/heads/master
2020-06-03T12:09:21.646662
2020-03-27T16:29:35
2020-03-27T16:29:35
191,563,002
3
1
null
null
null
null
UTF-8
Python
false
false
8,830
py
import zlib from collections import MutableSequence class Block: def __init__(self, data=None): if data is None: self.type = "NONE" self.name = "" self.data = b"" else: self._set_block_data(data=data) @property def block_data(self): ...
[ "KeyboardInterrupt@KeyboardInterrupt.com" ]
KeyboardInterrupt@KeyboardInterrupt.com
4c6b48556148eb4ff0afb1feb79bb39b4b8880d7
30b3e64625079dc74372973447068a72031b71e7
/SEMANA I/introductorio_2017/python/gcd/gcd.py
0afed0f79d22de96c8270005369d286ed3aef41a
[]
no_license
AndreyArguedas/Paradigmas-de-programacion
1567f8241fa9602d76750c9492950594868e327c
bedf535349df9cf996a1a4928ac1bd9d826a52f2
refs/heads/master
2021-01-01T18:04:23.705512
2017-11-16T06:26:39
2017-11-16T06:26:39
98,235,482
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
import sys def gcd(a, b) : if a == 0 : return b; if b == 0 : return a; while a != b : if a > b : a = a - b else : b = b - a return a def main(): a, b = (0, 0) if len(sys.argv) >= 2 : a = int(sys.argv[1]) if len(sys.argv) >= 3 : b = int(sys.argv[...
[ "andrey.arguedas.espinoza@est.una.ac.cr" ]
andrey.arguedas.espinoza@est.una.ac.cr
19c612c0ab1c8d493215af1861ac5ed57794ff03
017785d3e5cbd85460bed3f6513d3a7cc1cc8511
/summarizer/tf-idf.py
86d73f83373f645bd54cdb1f3b9d3cbb3703f829
[]
no_license
abhinavagrawal1995/rollup
b952fb68f25438409986250ecf781f4eefd757ea
b480a383b0c13b8e8da84e484daaca323e992728
refs/heads/master
2020-04-09T04:54:30.850633
2019-08-12T17:37:15
2019-08-12T17:37:15
160,042,839
1
1
null
null
null
null
UTF-8
Python
false
false
3,013
py
from __future__ import division import string import math #in Scikit-Learn from sklearn.feature_extraction.text import TfidfVectorizer def getFileData(fname): arr = [] f = open(fname, "r") for line in f: arr.append(line) return arr def jaccard_similarity(query, document): intersection = se...
[ "abhinavagrawal1995@gmail.com" ]
abhinavagrawal1995@gmail.com
b543756fb0b2b2c9fe0b4e538ea633c08917f216
1eef6887714889b345faef9a558b0ddb2d0ae0cd
/templateEnumMessageApp/views.py
ba05e3ac7119fb586de5ab9d96e2b90cf1c0d3e5
[]
no_license
rick-liyue-huang/Django-First-App
798bf5e65d23899f5e8017833292df870a02a8c3
3cb3252be984f10462c5c932c7c4d5eb2248fea7
refs/heads/master
2022-10-16T00:50:16.516652
2020-06-05T06:10:20
2020-06-05T06:10:20
264,623,494
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
from django.views.generic import View # from django.http import HttpResponse from django.shortcuts import render from .const import MessageType class TemplateEnumMessage(View): TEMPLATE = 'message.html' def get(self, request, message_type): data = {} try: message_type_obj = MessageType[message_...
[ "rick.liyue.huang@gmail.com" ]
rick.liyue.huang@gmail.com
7d331351c1107a3a09fe4f2cf9e40465612f468b
be496d11a15cfcdc52a1d9e9a2d6a0a81756c612
/backend/supplies/migrations/0006_merge_20190624_1447.py
0aacbf83b74bb4d680b976996abaf1ef0b6d678a
[ "MIT" ]
permissive
nokia-wroclaw/innovativeproject-inventory-of-supplies
e96ef8d8b846c6e29723bbe2403e48b3b9c7af7e
4a976079ba876d05f2899592fc22a2a1a8c62688
refs/heads/master
2022-12-08T21:23:14.883780
2020-12-01T08:32:50
2020-12-01T08:32:50
173,175,506
1
6
MIT
2022-12-08T17:45:44
2019-02-28T19:35:31
JavaScript
UTF-8
Python
false
false
271
py
# Generated by Django 2.1.7 on 2019-06-24 14:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('supplies', '0003_supply_deleted'), ('supplies', '0005_auto_20190514_2036'), ] operations = [ ]
[ "rafal.kaminski@nokia.com" ]
rafal.kaminski@nokia.com
44cb2907841d9204c1d8dc6fb1ec7364a0e26996
d4a90c0ec3c1029396da7e9975587a0391a02871
/backend/comments/models.py
e8da99e56bb7ef20410342a7c63b66cddfe487ce
[]
no_license
kingu-crimson/twitter-clone
1227a1430aed1a498a591dc4f21f8c5cc17b6e90
62e8d598451c5460ea2f152822b19b36f6951b5f
refs/heads/master
2023-02-28T02:24:58.914193
2021-02-06T18:55:43
2021-02-06T18:55:43
332,479,003
0
2
null
2021-02-05T01:39:53
2021-01-24T15:06:27
JavaScript
UTF-8
Python
false
false
630
py
from django.db import models from tweets.models import Tweet from users.models import UserAccount # Create your models here. class Comment(models.Model): user_id = models.ForeignKey(UserAccount, on_delete=models.CASCADE, related_name='user_comments') tweet_id = models.ForeignKey(Tweet, on_delete=models.CASCADE...
[ "mohanbali94@gmail.com" ]
mohanbali94@gmail.com
cc126b63521c102c5ac49fbea493bc0bec64bece
35576000f335cd3996e9f27f10ef02c55d5ec311
/server.py
bd83043567d69e3f356bbb533d7b1cd4cbd26ade
[]
no_license
allisonkcraig/native-js-slideshow
36fafbd9fb7e14bd06df8eca0812e5a4f4841674
1a0b708cf2dff1cae1d99dea8c3fb217d4f49fd6
refs/heads/master
2020-05-20T11:50:46.781768
2015-09-23T20:21:01
2015-09-23T20:21:01
42,488,263
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
from flask import Flask, render_template import os from instagram import client import jinja2 app = Flask(__name__) #configure the Instagram API using environmental variables instaConfig = { 'client_id':os.environ.get('INSTA_CLIENT_ID'), 'client_secret':os.environ.get('INSTA_CLIENT_SECRET'), 'redirect_uri':os.envi...
[ "allison@craig.net" ]
allison@craig.net
4160b403383a69983605517e47e579cc789b69d5
690a3b6506cf2fa8bb43f976614a3748afa2087a
/Algorithm/BEAKJOON/IM대비/2628_종이자르기.py
9eab05c0c62f2a37c7f13f8fff16000fd2293b3a
[]
no_license
jes5918/TIL
d1429c14cecd94620a188ba592d8da981446417b
e2f66f7e8e77a12a5d5f265f161de43d1059af42
refs/heads/master
2023-08-24T22:00:33.512302
2021-01-12T07:42:25
2021-01-12T07:42:25
280,310,413
6
0
null
2021-09-22T19:37:34
2020-07-17T02:47:58
Python
UTF-8
Python
false
false
450
py
import sys M, N = map(int, sys.stdin.readline().split()) K = int(sys.stdin.readline()) row = [0] col = [0] res = [] for _ in range(K): method, num = map(int, sys.stdin.readline().split()) if method: col.append(num) else: row.append(num) col.append(M) row.append(N) col.sort() row.sort() for ...
[ "wjsdmltntn@gmail.com" ]
wjsdmltntn@gmail.com
de0a5b63a015d3cb8d5629f2ee14a4b9a88ef4c7
d737fa49e2a7af29bdbe5a892bce2bc7807a567c
/software/qt_examples/src/pyqt-official/itemviews/spreadsheet/spreadsheet_rc.py
dbb98931b9eec41ed2d9ce83657f0cc20eba536e
[ "MIT", "CC-BY-NC-SA-4.0", "GPL-1.0-or-later", "GPL-3.0-only" ]
permissive
TG-Techie/CASPER
ec47dfbfd6c3a668739ff4d707572e0b853518b4
2575d3d35e7dbbd7f78110864e659e582c6f3c2e
refs/heads/master
2020-12-19T12:43:53.825964
2020-01-23T17:24:04
2020-01-23T17:24:04
235,736,872
0
1
MIT
2020-01-23T17:09:19
2020-01-23T06:29:10
Python
UTF-8
Python
false
false
1,690
py
# -*- coding: utf-8 -*- # Resource object code # # Created: Wed May 15 17:17:52 2013 # by: The Resource Compiler for PyQt (Qt v5.0.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x00\xae\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\...
[ "TGTechie01@gmail.com" ]
TGTechie01@gmail.com
b102858ebb1f6eaeb466cde5026c9d514200742c
e69098785d34a36fa23be13d487b8717205291a3
/src/controller.py
de21d1861e93de1e82640cdb48e8eb1723090f6e
[]
no_license
srodrigo23/monitor-server
81dfbe3c99ad851671717e796fc291f955a8a165
0832f3c9095a6daca9165326d1f7e148c575e05b
refs/heads/main
2023-08-27T17:21:10.631394
2021-09-30T21:36:29
2021-09-30T21:36:29
393,668,750
0
0
null
null
null
null
UTF-8
Python
false
false
2,793
py
from view.main_view import MainView from settings import Settings from video_reader import VideoReader from launcher import launch_server from launcher import launch_camera import time import os, signal import socket class Controller: def __init__(self): self.view = None # to control view se...
[ "rodrigosergio93@gmail.com" ]
rodrigosergio93@gmail.com
36533c180a2ec9b995e9d793f8ba329dcf6cffcf
d53b7b59471d7240327c80eebd0d5cfe9fd3e4bc
/Crash Course/ch11-Testing/test_name_function.py
0ca89904afeb74624055becc2f1694602a56d945
[]
no_license
jpc0016/Python-Examples
5b2ed8b799dd6492d664eb7714cfe4d97b486dc5
b93c3cd5e1c1b91079db2281137a8451f2566885
refs/heads/master
2021-06-16T12:20:48.439503
2021-04-04T15:24:32
2021-04-04T15:24:32
187,428,168
1
0
null
null
null
null
UTF-8
Python
false
false
1,934
py
# CH11 Example # # test_name_function.py # # Import unittest module to run test cases on get_formatted_name() import unittest from name_function import get_formatted_name # Create class that contains series of tests for get_formatted_name(). Can be # named anything. Must inherit from unittest.TestCase class in modul...
[ "jcox@battlestation.com" ]
jcox@battlestation.com
1e106f2c8e6c57eaa478d34ce7183f5c95bbc13b
3471b23756df18fb291de98a6a6571d6a8f6ae0f
/ipacdashboard/backendDash/social2/urls.py
e54312ca901281969f5462b56ddb499d22182809
[]
no_license
yadavshashwat/ipacprojects
adef57c75d85b1fda3ee97dc27f0988fadf291b3
dde58cbadfd1291a284546ed26229fd2ce183c5b
refs/heads/master
2022-12-26T02:47:00.570514
2020-10-17T15:33:54
2020-10-17T15:33:54
268,454,578
0
1
null
2020-09-17T21:50:24
2020-06-01T07:31:50
PHP
UTF-8
Python
false
false
440
py
from django.conf.urls import patterns, include, url from django.conf import settings urlpatterns=[ url(r'temp/$', 'social2.views.temp', name="temp"), url(r'login/$', 'social2.views.login', name="login"), url(r'post_user_token/$', 'social2.views.xhr_user_token', name="xhr_user_token"), url(r'post_page_d...
[ "y.shashwat@gmail.com" ]
y.shashwat@gmail.com
2ddfb12cb3b096683e18865806a83cbe395abc6e
d0a1ddf0403b1b25f094902477897f3dcc282f8e
/quotebot.py
90f9db11090a9db4b0cd9c0151aee356c267a331
[]
no_license
cameronkc/discord-bot
b205b0657e82c1fe7624175aca5ae9d8ee359c63
c7f37dba486af18ef0bb9bb13071c63928dd8e66
refs/heads/main
2023-08-07T12:48:11.308255
2021-09-20T22:36:22
2021-09-20T22:36:22
408,619,079
0
0
null
null
null
null
UTF-8
Python
false
false
3,842
py
import discord from discord import message from discord.ext import commands import random import os #initialize bot #Set command prefix bot = commands.Bot(command_prefix = '.', description='.bothelp for commands') #create event @bot.event async def on_ready(): await bot.change_presence(status=discord.Status.idle,...
[ "cameronleekcmo@gmail.com" ]
cameronleekcmo@gmail.com