blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
2b7caf37f30825099c1f1f2a7a8bd1b45c4da7b0
f4fae74a825f0eb9b56a953eb775e56075f91deb
/LeyendoArchivos.py
63c44df7b323b408e83ba93c91f93cfbfe2cc2af
[]
no_license
danielmserna/U.-Austral.-Estructuras-de-datos-en-Python
2b66bedc41dd9424cfcc0469598d9700780b154d
d6000ea88e204c0bb12b3f349bf72457a66878c0
refs/heads/main
2023-01-14T00:13:03.851522
2020-11-05T14:42:09
2020-11-05T14:42:09
310,319,126
1
0
null
null
null
null
UTF-8
Python
false
false
585
py
with open('c:/Users/Natalia/Desktop/CourseraPython/2/archivo.txt','r') as a_file: print(a_file.read()) with open('c:/Users/Natalia/Desktop/CourseraPython/2/archivo.txt','r') as a_file: print(a_file.readline()) with open('c:/Users/Natalia/Desktop/CourseraPython/2/archivo.txt','r') as a_file: print(a...
[ "noreply@github.com" ]
noreply@github.com
ab1ff40b720f6d74fe8a729bd1cf8e28e0eb4b96
4603d5e087b8100b554caaa7fdbbdd5add32532e
/scripts/subset_db.py
af8f23648fb05ae1896e6c146c82aaeb0b4f758d
[]
no_license
sayan3710/summary_annotation
4fd3f7b90c4b66942fbe95bb58d77987f5b0a1eb
59961d959087a83e7ed9e2c60a7b089bcae87c63
refs/heads/master
2022-11-18T09:32:18.644364
2020-07-21T06:48:41
2020-07-21T06:48:41
281,316,276
0
0
null
2020-07-21T06:37:28
2020-07-21T06:37:28
null
UTF-8
Python
false
false
2,756
py
import random import json import pandas as pd import sqlite3 # THIS database will be modified; in practice, # you'll want to copy the original populated db then # run this script. db_path = "../data/summaries_subset.db" def connect_to_db(): conn = sqlite3.connect(db_path) c = conn.cursor() return...
[ "byron.wallace@gmail.com" ]
byron.wallace@gmail.com
a7f870fac2e9bd47975cd69ece03201e255a3a5b
c55be023d5941141f4346228691f786e1042eddd
/goods/migrations/0013_auto_20161207_1937.py
6c165c68ab6146f8bc838c24431c6cfabe54f454
[]
no_license
SantiagoYoung/new_adw
cd426c3cbcfc412cad9478c041ffdf9a61777968
4dafba5979c49b8b28042c381b4e9b8e3771125d
refs/heads/master
2021-01-20T07:36:27.271345
2017-05-02T09:55:12
2017-05-02T09:55:12
90,017,729
0
0
null
null
null
null
UTF-8
Python
false
false
1,787
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.utils.timezone import utc import datetime from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL...
[ "zswforyou@gamil.com" ]
zswforyou@gamil.com
39b74b1e402c37a563bc2ad9ab53e5dc02a696c4
419a0025e17904486aab7a642b6480123e76b367
/stalk/models/__init__.py
4c8161b5f8efcab4dd625dfa301bb8f07c6a7fa2
[]
no_license
wagaman/dollop
4b3e4016f3f62aba21093b0345fb3e611a96733e
b8c8e98958359a5d99e7d097aa6c36114fab28e3
refs/heads/master
2020-03-22T01:08:05.905580
2017-08-03T08:56:03
2017-08-03T08:56:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
import p2peye import product import lingyi import xinhua import rong360 import xianjindai import dailuopan import baoxian import nifa __all__ = ['nifa', 'dailuopan', 'xianjindai', 'rong360', 'p2peye', 'product', 'lingyi', 'xinhua']
[ "yangym@zju.edu.cn" ]
yangym@zju.edu.cn
870c73c7f33c0d63dc0eaa504790394ac4caba1a
ab6996c3a3117cb64ba2805b1fd9cb0756f8ecbd
/PP4E/Preview/update_db_shelve.py
74815c70e795c8b42a4b25424e8d0aca4f7fa1f5
[]
no_license
LingFangYuan/Learning
ea8742e8f340ea337185d4b8c07bfe3b73fcfde8
e71a3b38dca36de5427869b11341302deb6c55dd
refs/heads/master
2021-06-30T16:46:22.424896
2020-10-19T01:13:40
2020-10-19T01:13:40
183,213,400
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import shelve db = shelve.open('people-shelve') sue = db['sue'] sue['pay'] *= 1.5 db['sue'] = sue db['ling'] = {} db.close()
[ "786173189@qq.com" ]
786173189@qq.com
f7d65e6fc6ca47d8a56c039426bd3d9c9df6c6ba
b7e60a0a1341a8c91e6690e49c0d37ac34b20693
/empresas/serializers.py
2eceed72a3bc22b180812a7ec8b5152a58bc3254
[]
no_license
staylomak/AzurianTrack
b25fa052f26491057f6da1680402cab1ab3cd02b
6feb6c7a3913cdcc7afc9e04b3321ec7e62453ea
refs/heads/master
2020-05-02T10:18:46.666003
2019-03-27T01:24:27
2019-03-27T01:24:27
177,893,734
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
# -*- coding: utf-8 -*- from rest_framework.serializers import ModelSerializer from .models import CamposOpcionalesEmail, Empresa, Holding class HoldingSerializer(ModelSerializer): class Meta: model = Holding fields = ('nombre',) class EmpresaSerializer(ModelSerializer): holding = Hold...
[ "bogginice@gmail.com" ]
bogginice@gmail.com
15b38a03fb4b38b9c3bda63281accb435b88179c
d328169faa502930d16f1a9c476dcfba0f7f02b4
/ex5.py
765a98ade1d66ce144d9de689f711f997206cfa0
[]
no_license
Siilbon/pythonthehardway
39898126da84c0f0b9354b455195d3490dd42be5
9d150f9925e17e17e28f0b5d238627ba6a484d6a
refs/heads/master
2021-09-07T15:05:05.395669
2018-02-24T15:23:15
2018-02-24T15:23:15
106,835,787
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
name = "Karl Siil" age = 23 # As of 5/15/2015 height = 71.0 # inches weight = 215.0 #lbs eyes = 'Brown' teeth = 'white' hair = 'Brown' print "Let's talk about %s" % name print "He's %r cm tall." % (height*2.54) #inches to cm print "He's %d years old" % age print "He's %r Kg heavy." % (weight*2.2) #lbs to kg print "Act...
[ "karliansiil@gmail.com" ]
karliansiil@gmail.com
82caa68a12d070a69978a215ee61d9c3aa18053d
31a76579ea3370f140fbebeb57dc47c17244bb11
/lesson2_1_step6.py
dd1e6d54c0f238a79c8eb05cff6456be69d4c660
[]
no_license
Homo-Deus/PythonSelenium
ad13fa2c24ee1ade13ba970c2634f6622e4c2885
cd2fbc0054dda25923ebc132935e14587aec76c6
refs/heads/master
2020-09-30T01:44:32.413732
2019-12-11T08:31:15
2019-12-11T08:31:15
227,169,664
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
from selenium import webdriver import math import time def calc(x): return str(math.log(abs(12*math.sin(int(x))))) link = "http://suninjuly.github.io/get_attribute.html" try: browser = webdriver.Chrome() browser.get(link) x_element = browser.find_element_by_id("treasure") x = x_eleme...
[ "bannikovvyacheslav@yahoo.com" ]
bannikovvyacheslav@yahoo.com
fe43abde2c1af9bfc5f37ae172948ea339cc62b2
ef2353839816c680f4de3f47aed14df740785962
/demo.py
22bd11b2c8ba71f9b91a253c9d1ecfda89cb6da6
[]
no_license
concpetosfundamentalesprogramacionaa19/practica220419-davisalex22
4ebee746451a2287c83f4c50c976f44838c0fada
927aa0edfaac1c014a3e64bc30f546b678b90ad7
refs/heads/master
2020-05-16T06:53:47.965138
2019-04-22T21:48:28
2019-04-22T21:48:28
182,862,518
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
""" Ejemplo de lenguaje Python autor: @davidsalazar """ import sys variable = sys.argv[0] dato1 = sys.argv[1] dato2 = sys.argv[2] dato3 = sys.argv[3] # Mostrar resultados print("variable argv [0]: %s" % variable) print("variable argv [1]: %s" % dato1) print("variable argv [2]: %s" % dato2) ...
[ "davis.dassr@gmail.com" ]
davis.dassr@gmail.com
764f1d7e0026b8f056deeb99fcf5c17182fb0eae
c2b9bebe226701539439ce15e00359690809a613
/venv/bin/virtualenv
96d2e4bfa218b7800c144b14089aa5d9b67bc95d
[]
no_license
arielbk/kalender-heroku
15b6e09de1e7a2da5e110933867d8c8f750ebb93
f276a99092be9af78d85224c0acfac6099c45a79
refs/heads/master
2022-12-12T22:47:41.084877
2018-05-24T20:45:17
2018-05-24T20:45:17
131,035,880
1
0
null
2022-12-08T00:59:23
2018-04-25T16:39:03
Python
UTF-8
Python
false
false
256
#!/Users/arielbk/Documents/Dev/kalender_post/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from virtualenv import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "buchwald.kearney@gmail.com" ]
buchwald.kearney@gmail.com
ead9ed3ce662bd87d92fac6851265fbfb5796cd4
ca097eb1cbb92786c2bd925ec2bf86c8123e9305
/Week 6 Dynamic Programming Part 2/partitioning_souvenirs.py
18fa19efd4425be99a752b3ab395ae12812a249c
[]
no_license
he-is-james/Algorithmic-Toolbox
5ef655dd7e2f6b91f826bcf194c0debfbbb43c9e
1f7c9b91082d96a22cb28dd097cace23722070cf
refs/heads/master
2022-12-23T23:08:17.059041
2020-09-26T01:30:25
2020-09-26T01:30:25
290,607,701
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
import numpy def eq_partitions(W, n, v_list): if n < 3: return 0 elif sum(v_list) % 3 != 0: return 0 else: count = 0 value = numpy.zeros((W+1, n+1)) for i in range(1, W+1): for j in range(1, n+1): value[i][j] = value[i][j-1] ...
[ "noreply@github.com" ]
noreply@github.com
d565638f4fcdd31042919c750cae9513d15bb872
3e264d0f060184f1c8b6da0531a64ba800574c7d
/app.py
f4c229e3ec063c7cf604ea7f244aa3f179325f9d
[ "Apache-2.0" ]
permissive
gios91/max-ingress-parser
ccc5e67d924a2117e9f57e49ce708e6289e81836
1b7682d3821c9043cfbf4867563f64a1b057c16c
refs/heads/main
2023-01-08T09:55:14.748045
2020-11-20T16:52:03
2020-11-20T16:52:03
314,611,065
1
1
null
null
null
null
UTF-8
Python
false
false
1,420
py
import sys import json import csv INGRESS_URL = "https://intel.ingress.com/intel?ll={}&z=17&pll={}" def main(input_file_path,output_file_path): L_out = [] L_out.append("{};{};{};{}".format('portal','url','priority','category')) f = open(input_file_path, 'r') json_data = json.load(f) for portals_id...
[ "giuseppe.silvestri.external@ynap.com" ]
giuseppe.silvestri.external@ynap.com
3894f61eafb3a91ce6cd4f3f3e254805de81d0d0
b23d294fdffabe72c336644f119860f5ce704eef
/python_1000phone/语言基础-老师代码/day8-字符串/code/02-字符串和字符.py
75a1fa306e187150928f8bf8c0d74e26891d4247
[]
no_license
ikaros274556330/my_code
65232758fd20820e9f4fa8cb5a6c91a1969862a2
92db21c4abcbd88b7bd77e78d9f660b4534b5071
refs/heads/master
2020-11-26T09:43:58.200990
2019-12-23T02:08:39
2019-12-23T02:08:39
229,032,315
1
0
null
null
null
null
UTF-8
Python
false
false
2,997
py
"""__author__=余婷""" # 1.什么是字符串(str) """ 字符串是容器型数据类型, 将''/""/''''''/""""""作为容器标志,容器中的元素全是字符 不可变的(不支持增删改)、有序(支持下标操作) """ str1 = 'hello\n123' str2 = "你好" str3 = '''thanks 123 456''' str4 = """谢谢""" print(type(str1), type(str2), type(str3), type(str4)) print(str1) print(str3) print('======================================...
[ "274556330@qq.com" ]
274556330@qq.com
6a4b599a205b1ec386d7c58c45240aa57ea5de87
b9fb2d6aa7506845dcdac833c6cfb82feede3a07
/AdventOfCode/2021/download.py
d006f37e98d851603f2611452f98b391b939e86d
[ "Unlicense" ]
permissive
wandyezj/scripts
a28e4a8bc30d6fa78d0af6db5c905cc4b7a0c714
871438873ec79435e5e3e5d576c18045c0907b18
refs/heads/master
2023-02-18T10:25:04.542276
2022-12-06T06:01:09
2022-12-06T06:01:09
182,362,358
0
0
Unlicense
2023-02-09T04:36:45
2019-04-20T05:02:50
Python
UTF-8
Python
false
false
929
py
import urllib.request def download_data(year, day, session): url = r'''https://adventofcode.com/{}/day/{}/input'''.format(year, day) print(url) opener = urllib.request.build_opener() opener.addheaders = [('cookie', 'session={}'.format(session))] response = opener.open(url) #print(response) ...
[ "wandyezj@gmail.com" ]
wandyezj@gmail.com
a1e50554334dad6f32cf1d7d7d78bc7436fad158
68ed4984d29a49f28053b47ce112e46c6c71c812
/population/population/serializers.py
19c252b9c7c71426559c5e5cdf6fe70ff86d4d04
[ "BSD-3-Clause" ]
permissive
Zachary-Jackson/Population-Statistical-Visualization
f3c5feac0b50a2d16bdbe9d28d891f9720a88048
6d29119e8f7d181786293b6bd3f0c1900a1fa6b7
refs/heads/master
2020-04-05T02:03:08.857800
2018-12-17T20:41:13
2018-12-17T20:41:13
156,461,369
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
from rest_framework import serializers from .models import Location class LocationSerializer(serializers.ModelSerializer): """Serializer for a Location object showing all fields""" class Meta: model = Location fields = '__all__'
[ "jackson.zachary.r@gmail.com" ]
jackson.zachary.r@gmail.com
3c63ca93c357aeefbd628cfc7ab30f7287c82135
7e7a16fc6bc7359d4633e01b19dd8803b756303d
/hw_2/load_data_fast.py
ee29709e16c8d5edfda03a06c9383f2200758364
[]
no_license
Anthony1128/Hw_data_engine
345d1aa2a7969afae91084fae7e741187139a854
68c05828ddbd0ba594f4a4720c58c32d7517a1bc
refs/heads/main
2023-03-09T11:39:16.232717
2021-02-01T23:03:51
2021-02-01T23:03:51
301,472,555
0
0
null
2021-01-06T23:30:06
2020-10-05T16:31:05
Python
UTF-8
Python
false
false
1,739
py
import os import psycopg2 import csv import time start_time = time.time() # creating dialect to proper csv reading csv.register_dialect('mydialect', delimiter=',', quoting=csv.QUOTE_ALL, doublequote=True) # DB parameters os.environ['HOST'] = 'localhost' os.environ['DB_NAME'] = 'postgres' os.environ['DB_USER'] = 'pos...
[ "anthony@iMac-Anthony.local" ]
anthony@iMac-Anthony.local
24115c94d48eee633cd07f1eee258476798db279
252974316cf3b44afa550ea202abe67b474d698e
/recipies/python/paulwinex/projectManager/widgets/createProject_UIs.py
7aeaf44be5239a954c7f3053b5013c38bbd22249
[]
no_license
igor-si/shared
22892dc1c93d97591495ed48dbeecd741bdd6dfd
45301c31814e87a6e5a28d857e9b2ef6421b5c16
refs/heads/master
2020-07-17T12:35:33.425496
2019-12-17T08:36:48
2019-12-17T08:36:48
206,020,718
1
2
null
null
null
null
UTF-8
Python
false
false
2,934
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'G:\projects\pyqt\week2\projectManager\widgets\createProject.ui' # # Created: Thu Oct 09 13:31:14 2014 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! from PySide import ...
[ "hatt.vfxartist@gmail.com" ]
hatt.vfxartist@gmail.com
4e9fe89de9f027a5523df7711cf3bf7afe7f2fd8
48ac73068d4b9f54eedeca1bf91711c3d5d1ab46
/src/make_features/85_transformer_seq3.py
1c55da4f21b50eb5b8ebd93c85fdcd41adcf3c53
[]
no_license
Naoki1101/kaggle-riiid
ae260d8e75c54c2ac9d8f4a5b1a39eaed7e5319a
223148098bfe93d5c1812ef1f94c40989ee52642
refs/heads/main
2023-02-23T12:15:41.768719
2021-01-25T00:37:21
2021-01-25T00:37:21
318,398,912
1
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
import sys import numpy as np import pandas as pd from tqdm import tqdm from pathlib import Path sys.path.append('../src') import const from utils import DataHandler dh = DataHandler() MAX_SEQ = 101 usecols = ['row_id', 'user_id', 'content_id', 'timestamp', 'prior_question_elapsed_time', 'part', 'answered_correctly',...
[ "naoki.narimatsu111@gmail.com" ]
naoki.narimatsu111@gmail.com
7c05eb05c03dd44fb4a79fdfd9f7e41105cb9720
61fa932822d22ba480f7aa075573e688897ad844
/simulation/decai/simulation/contract/classification/decision_tree.py
0ff59590ed9e023aee0519c23a51d87e43c24768
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/0xDeCA10B
a8f118fa1f89f387a0b83f297250fc1846521f41
4066eeb2b5298c259a7c19c4d42ca35ef22e0569
refs/heads/main
2023-07-26T08:09:34.718104
2023-01-25T12:47:17
2023-01-25T12:47:17
181,561,897
538
133
MIT
2023-07-19T03:10:38
2019-04-15T20:37:11
Python
UTF-8
Python
false
false
588
py
from skmultiflow.trees import HAT, RegressionHAT from decai.simulation.contract.classification.scikit_classifier import SciKitClassifierModule class DecisionTreeModule(SciKitClassifierModule): def __init__(self, regression=False): if regression: model_initializer = lambda: RegressionHAT( ...
[ "noreply@github.com" ]
noreply@github.com
89082d3e6d1dd0e3be4f75bb4e0565e691c8fce5
b3e81fa020ea2c02cbcce6f3ed0f623d08a9ce0c
/utils.py
fdcd46b65833241ed662083d03edba7cd08fb417
[ "MIT" ]
permissive
giuscri/thesis
646d5b2af6aee030ad415a0c0764e256925a5e38
d7aa0a8476f53ad304495b437841af1a8d6c87d4
refs/heads/master
2022-12-16T16:34:45.978490
2018-09-12T09:01:31
2018-09-12T09:30:45
127,188,321
0
0
MIT
2022-12-08T02:50:27
2018-03-28T19:29:09
Python
UTF-8
Python
false
false
613
py
from binascii import hexlify import os import json import pickle def dump_pickle_to_file(obj, path): dirname, basename = os.path.split(path) os.makedirs(dirname, exist_ok=True) with open(path, "wb") as f: pickle.dump(obj, f) def dump_json_to_file(obj, path): dirname, basename = os.path.split...
[ "giuscri@gmail.com" ]
giuscri@gmail.com
0b1c79bb06a86728c774fc9376b0d475fba7ec11
1fcdccf5d651b60bfe906f2ddafd6745f4e29860
/nufeeb.button/saleretail/lsopenCase.py
45075fb2e5bd0553ddb5d2b63c49865ac25172d6
[]
no_license
LimXS/workspace
6728d6517a764ef2ac8d47fe784c4dba937a1f1d
9669d653f4a7723947da645de526f4c580ddc88b
refs/heads/master
2021-01-21T06:39:14.126933
2017-04-14T03:24:36
2017-04-14T03:24:36
83,257,374
0
0
null
null
null
null
UTF-8
Python
false
false
11,875
py
#*-* coding:UTF-8 *-* import time import re import datetime import unittest import xml.dom.minidom import traceback import requests import json from common import browserClass from selenium.webdriver.common.keys import Keys #需要引入keys包 browser=browserClass.browser() class lsopenTest(unittest.TestCase): u'''批零-零售...
[ "xsx2018@yahoo.com" ]
xsx2018@yahoo.com
21ee07fe52e52478946e1a03a80f3566414aa362
ace048167cf70307096efbc82e75ebe19aadee5a
/testNeuralNetDigits.py
5fe6914fecc34e02ff12037ce930da31c9a37910
[]
no_license
devstein/Neural-Net-Practice
181cd189e6cb9ded6c83c2ad04e0e53b91e6cdf1
3f8c87563e47ce5badfc70ad0824703730e600b5
refs/heads/master
2020-07-05T17:53:32.835701
2016-11-17T18:19:42
2016-11-17T18:19:42
73,987,428
0
1
null
null
null
null
UTF-8
Python
false
false
1,141
py
#test file import numpy as np from nn import NeuralNet from sklearn.linear_model import Ridge from sklearn.preprocessing import PolynomialFeatures from sklearn.pipeline import make_pipeline from sklearn.metrics import accuracy_score # load the data filePathX = "data/digitsX.dat" file = open(filePathX,'r') allDataX ...
[ "devstein@seas.upenn.edu" ]
devstein@seas.upenn.edu
e31de4e1a953c594960c72cca77dfcc7ee6d890e
afe2e9c6ba965cfdada92d32d5152af360807093
/pipeline/transformers.py
78074b0f7c7ab338858d6005bcadeee252b01d76
[ "MIT" ]
permissive
VanAurum/gcp-dataflow-stream
e0b6244e51f37100842d9ba584d35c683cd6deaf
f0744e2afb2b1cad434cea737e7c33da0f9c6f84
refs/heads/master
2022-12-14T17:10:44.814655
2019-06-18T17:35:00
2019-06-18T17:35:00
192,386,670
0
0
MIT
2022-12-08T05:48:37
2019-06-17T17:01:13
Python
UTF-8
Python
false
false
355
py
import datetime import itertools import apache_beam as beam class AddTimestampDoFn(beam.DoFn): def process(self, element, *args, **kwargs): trade_date = element.split(',')[0] unix_timestamp = int(datetime.datetime.strptime(trade_date, '%Y/%m/%d').strftime("%s")) yield beam.window.Timest...
[ "vanaurum@vanurum-master.local" ]
vanaurum@vanurum-master.local
7334cf72d2a6bdde3a8ab9efe2cb794cd7675292
8e1d7419682a4cb821a7268ed14964e4da9888bd
/TestGroupLib/UnitTestGroup/ArduPlaneTestGroup/CalibrationTestGroup.py
18aadf26acb15b30eaa7e6a69467f81fca93cdb3
[]
no_license
sycomix/arsenl-testing
0f641ead503734e582ae020c4786c86aba49dac2
8e3bde0af270179ec1b0d07fc6b811691adeed56
refs/heads/master
2020-03-22T02:16:24.570991
2014-08-08T20:23:10
2014-08-08T20:23:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
import pexpect, os, sys from pymavlink import mavutil import util, arduplane from common import * class CalibrationTest(): def test_calibrate_barometer(self): self.mavproxy.send('calpress\n') assert {0:True, 1:False}[self.mavproxy.expect('barometer calibration complete',timeout=self.TIMEOUT)]
[ "thejesusrambo@gmail.com" ]
thejesusrambo@gmail.com
1fbb6a4b9b19c76fe9eef4fe0b2aacea5faa1801
ca1528083f0c3bf368d68101c28248c1d55a105e
/connect_four_console.py
9a69049f9a58df7bf68bf985c2af97bcf811b2d3
[]
no_license
pairut76/connect_four
15446db4624f735f6bcaf724f94e1479e0e368bc
2d2b9368f4cb097c4a80de1061e85b931d5626fc
refs/heads/master
2021-01-12T03:37:51.235473
2017-01-06T21:55:53
2017-01-06T21:55:53
78,241,702
0
0
null
null
null
null
UTF-8
Python
false
false
3,511
py
import connectfour def mainsingle(): """this is the main function frame that operate in the single player status""" ConnectFourGameState=connectfour.new_game_state() print('Game start!\n') printboard(ConnectFourGameState) print("Enter your move(for example, 'DROP column#' or 'POP column#'\n") w...
[ "pairut76@gmail.com" ]
pairut76@gmail.com
72591a8aef9f9b4b397105543d072e59b973b2c0
29620056ef2401e78aa0b45a22035a2e4dcea7e2
/week4/projects/alonememo/app.py
09c6ffc65a02719713e6a8abd109f55d0d23cab2
[]
no_license
51527/sparta
52dc3d8886dc330cebc0015618c1074343a173ac
938cc94d4c06e770a2f0949694d9edd3f660a982
refs/heads/master
2022-11-15T06:56:10.827569
2020-06-19T21:24:38
2020-06-19T21:24:38
267,468,287
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
from flask import Flask, render_template, jsonify, request app = Flask(__name__) import requests from bs4 import BeautifulSoup from pymongo import MongoClient # pymongo를 임포트 하기(패키지 인스톨 먼저 해야겠죠?) client = MongoClient('localhost', 27017) # mongoDB는 27017 포트로 돌아갑니다. db = client.dbsparta #...
[ "62877255+YooraKim@users.noreply.github.com" ]
62877255+YooraKim@users.noreply.github.com
4f565b06a8882c6c2be3c926f27c1c26aad93c70
d0e2e0f08c789c3aba44e3f29f2e2b35e231be6d
/cogs/Roles.py
95438ac70d12438e4f5899d03f6a9ef6835eb392
[]
no_license
Developing-Studio/ci-Spark-Bot
04f18f1b475ce1ae9962b7e8133858b831c44180
470f25ad6d95a42f4d6089a3073efe00175e82b7
refs/heads/master
2022-12-03T21:02:56.986766
2020-08-25T00:50:44
2020-08-25T00:50:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,666
py
#•----------Modules----------•# import discord from discord.ext.commands import command, Cog, guild_only, has_permissions, bot_has_permissions, BadArgument import asyncio from datetime import datetime import typing from typing import Union #•----------Commands----------•# class Role(Cog, name="Role Management"):...
[ "noreply@github.com" ]
noreply@github.com
e1417558af05554d61114f6bc326751d76763e79
14dd0b79983ca7f6eddcbfb0fb31a3a001cf5b81
/airflight/tests/views/api/v1/flight/test_flight.py
a4e618308dc3f54e72bf5732f0f172e0ad624800
[]
no_license
marcelomoraes28/back-end-take-home
52de4897189584f3ee8ad86e3a80b7eff972e9a2
834eba5a3258efeb8690d2881e90ca3838209fb9
refs/heads/master
2020-05-22T02:15:05.334327
2019-05-15T22:24:40
2019-05-15T22:24:40
186,195,227
0
0
null
2019-05-12T00:39:02
2019-05-12T00:39:02
null
UTF-8
Python
false
false
2,984
py
import pytest from pyramid.testing import DummyRequest from webob.multidict import MultiDict from airflight.views.api.v1.flight.exceptions import \ OriginIsTheSameAsTheDestination class TestAPIFlight: def test_get_route_without_connections(self, app, data): """ Get best route without connecti...
[ "marcelomoraesjr28@gmail.com" ]
marcelomoraesjr28@gmail.com
1b0521829af31e56cc0afc46aa3436c575e25528
2002287e40f4fc81a8d8742d6c1e7f11024c9666
/todo_list/forms.py
6670d2258ec4871e71c7f176582061323ee82c5c
[]
no_license
wahudong/Practise
9393827f588632b3daac9d5c5fa53637a9e2e0e9
123251153f6e2adfb3ab6e9fbd18db80a54d9541
refs/heads/main
2023-01-29T19:55:17.628563
2020-12-04T20:41:04
2020-12-04T20:41:04
318,065,999
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
from django import forms from .models import List from django.forms import ModelForm from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class ListForm(forms.ModelForm): class Meta: model = List fields = ["item", "completed"] class CreateUserForm(UserCreationF...
[ "wahudong@gmail.com" ]
wahudong@gmail.com
6793830f21ec324ddc11d54d5865424c10430a19
6a9b56464bf4e703ebe0039fb12caf7553c94a27
/jdbook/jdbook/items.py
586dbf21c31a21bf73aee594deb9517ec86e729e
[]
no_license
paul166/spider
24136e9578fb5c5e956a27691e5065569c51806c
6ee3962745183fc73c6efccca66d715db6210c9a
refs/heads/master
2020-05-19T11:28:42.131481
2019-10-25T09:36:30
2019-10-25T09:36:30
176,266,753
1
0
null
null
null
null
UTF-8
Python
false
false
619
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class JdbookItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() b_cate=scrapy.Field() s_cate = scra...
[ "1922582827@qq.com" ]
1922582827@qq.com
6fb6613372a31c455061abbd06c33ee822e892a9
aa7622e006b67580cd5c6cc7c337a09dc8018b10
/main.py
07bf78ada0c68a77fed23607651ccdea62bdc0c0
[]
no_license
MatthewMing11/LineAlg
f882a1da7dd2be049f887dc18d4906abfb08321b
d6d4ed972d8173f6bb3d40fb3afb7a32f39a6e5f
refs/heads/master
2020-08-01T09:36:49.953460
2019-02-11T03:43:38
2019-02-11T03:43:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from display import * from draw import * screen = new_screen() color = [ 0, 255, 0 ] draw_line(250,250,0,0,screen,color) draw_line(250,250,125,0,screen,color) draw_line(250,250,250,0, screen,color) draw_line(250,250,375,0,screen,color) draw_line(250,250,500,0, screen,color) draw_line(250,250,500,125,screen,c...
[ "mming@stuy.edu" ]
mming@stuy.edu
23c8b4b7b55de70e7470515732522e9c04f0a1bb
a95615ccf6f30a0ba64a2a1f797d6b42c8d8a0f1
/manage.py
1024ec5c416012906f668e1469cc10637a800bd4
[]
no_license
abhishekasana/bitsyurl
0e89cc856ca587fe5ad39afc83cd2c01176331e5
73782082f8714dacaca0411ab311850300f92307
refs/heads/master
2021-01-01T12:57:14.893499
2020-02-09T11:16:51
2020-02-09T11:16:51
239,289,147
1
0
null
2020-02-09T11:17:32
2020-02-09T10:59:01
Python
UTF-8
Python
false
false
222
py
from app import app from flask_script import Manager, Server manager = Manager(app) server = Server(host='localhost', port='5000') manager.add_command("runserver", server) if __name__ == "__main__": manager.run()
[ "abhishekkasana@Abhis-MacBook-Pro.local" ]
abhishekkasana@Abhis-MacBook-Pro.local
70adf55e938e2f92c5e112ffa4e627bb586d69d9
53bd9c2c8c648069d2c735bba5fc58458e8ad9ea
/little-squid-dehaze/experiments/unet_aod_residual_ntire_config.py
e8438a1cc8b88d995caf8fd6cc38f75554285d7d
[]
no_license
zyh911/image_dehazing
d7842da987e569e015702d0ad7a4861f11a49db6
0e6c40f65b7ea27a668af674a30934f5d7bd41ee
refs/heads/master
2020-04-01T14:42:53.678332
2019-06-11T03:55:21
2019-06-11T03:55:21
153,305,194
3
1
null
null
null
null
UTF-8
Python
false
false
3,001
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # changed gpus import os import sys sys.path.insert(0, '../../') # to be changed # =================== config for train flow ============================================================================ DESC = 'MSE' # to be changed experiment_name = os.path.splitext(__file_...
[ "512480035@qq.com" ]
512480035@qq.com
6d61fa26e303c87984b52441d14bccdc9ace0fc9
f6ab35c3c5f899df0c0ee074de8f8df30227ffe2
/main/tests/__init__.py
a4a16e0725465c5c924698834a01c2a7b287bdfc
[ "MIT" ]
permissive
josylad/RoomScout
f3614291bbfdd226110e038fb60d593ab3093c7e
a3d067dd67dfdd43702ea2e89064213dbd469157
refs/heads/master
2020-12-27T09:22:47.486710
2020-02-20T10:18:05
2020-02-20T10:18:05
237,850,614
0
0
MIT
2020-02-20T10:18:06
2020-02-02T23:08:10
Python
UTF-8
Python
false
false
100
py
import unittest def suite(): return unittest.TestLoader().discover("main.tests", pattern="*.py")
[ "nova1104@live.com" ]
nova1104@live.com
d64ff73bf99cd86f95dfb7e7e2f1e541175e5a4c
b7f033c9811def6f5097463df86bc2f47c16247a
/app/migrations/0001_initial.py
301cbbb4ad26635117beeff3d0b5fa8d12cea7ca
[]
no_license
Patton-Burge/django-dog-store
e6effb100f3a3312263bfc6e6f3fc9060d6e0a5a
c92ee19e3d23a7098744e466a2abc415a23ca068
refs/heads/master
2020-09-09T16:19:06.211907
2019-11-15T21:38:13
2019-11-15T21:38:13
221,494,695
0
0
null
2019-11-13T15:45:17
2019-11-13T15:45:16
null
UTF-8
Python
false
false
1,490
py
# Generated by Django 2.2.5 on 2019-11-13 16:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DogProduct', fields=[ ...
[ "student@donation-3.local" ]
student@donation-3.local
26bc93508223d7fcff7aba2d9d230d60e8a72398
eceeec97c971a3ee8a09dce58d5630a058d9f8cf
/app.py
5262d7dd487f6b9aee90132b7477219131e02840
[]
no_license
hamelsmu/hello-world-deploy
a9ffba8c98b1b293946609c99d01db6dede85d4b
d94fd2fb71627f898b2f9496a499451bffca000d
refs/heads/master
2020-04-14T04:01:23.306727
2018-12-31T00:55:53
2018-12-31T00:55:53
163,623,591
2
0
null
2019-04-14T04:36:41
2018-12-30T23:05:03
Python
UTF-8
Python
false
false
210
py
import os from flask import Flask, session, render_template, session, redirect, url_for, request app = Flask(__name__) @app.route("/", methods=["GET", "POST"]) def index(): return 'hello world deploy!!!'
[ "hamel.husain@gmail.com" ]
hamel.husain@gmail.com
4d51c6e91ba602fe3942d7b108827e8caa5bb051
43feb23c11c6e0b8d5dc868cee1deca06067b44e
/read_statistics/utils.py
f0a4f3ae102040c90df743b9644034d480409c7f
[]
no_license
oldestcrab/my_blog_2
6c7190571fe2fad70169b36d9159e1daa5aff094
47aeb699992c8ca949edae59e2157216c6522a8c
refs/heads/master
2023-05-01T11:17:55.428536
2019-09-29T09:08:02
2019-09-29T09:08:02
210,355,178
0
0
null
2023-04-21T20:37:59
2019-09-23T12:55:48
Python
UTF-8
Python
false
false
3,010
py
import datetime from django.contrib.contenttypes.models import ContentType from .models import ReadNum, ReadNumDetail from django.utils import timezone from django.db.models import Sum from blog.models import Blog def read_statistics_once_read(request, obj): """判断是否需要+1或者创建模型阅读数 :param request: request :...
[ "oldestcrab@gmail.com" ]
oldestcrab@gmail.com
f0fac03763cb5c15834f9a17d30425b9cd6f7701
05967b90707fdeea9d7ff630ab836b6923def3b4
/BinarySearch.py
30ee36c198eed21a882143bc9568e0ea1b4e2ead
[]
no_license
nehavarshney8/Data-Structures-and-Algorithms
078b474c9761eeac4a8c949c17adc005edc4aaac
1a49b8d6d0f1e55f742f30313da9ad8fc6585816
refs/heads/master
2020-12-21T10:49:10.041503
2019-09-04T12:36:12
2019-09-04T12:36:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
import math def bs(ls, key, low, high): if low==high and ls[low]==key: return low elif low==high and ls[low]!=key: return -1 elif high<low: return -1 else: mid=math.floor((low+high)/2) if key==ls[mid]: return mid elif key>ls[mid]: l...
[ "venkat.katpally@lexisnexisrisk.com" ]
venkat.katpally@lexisnexisrisk.com
9f2cd991b54ae16cb7bfa3a40149fc9e647a39a0
7edc9ca35113fc2169828db0cad5b379e0f61813
/figures/fig_ed5_tinterpcorr_hrdems_smallfonts.py
6e5efe909a5500d8f41222235c8d9529f286637f
[ "MIT" ]
permissive
LuErShuai/ww_tvol_study
b97a74739fcfbe7d7fb867a6d4fe64df6a125adb
f29fc2fca358aa169f6b7cc790e6b6f9f8b55c6f
refs/heads/main
2023-05-01T23:05:30.916533
2021-05-26T19:41:00
2021-05-26T19:41:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,339
py
import os, sys import numpy as np import pandas as pd import matplotlib.pyplot as plt import scipy.optimize plt.rcParams.update({'font.size': 5}) plt.rcParams.update({'lines.linewidth':0.35}) plt.rcParams.update({'axes.linewidth':0.35}) plt.rcParams.update({'lines.markersize':2.5}) plt.rcParams.update({'axes.labelpad'...
[ "romain.hugonnet@gmail.com" ]
romain.hugonnet@gmail.com
b6ad7644f23266306c4ba451f1ea9f54c617960f
b480e96001e478c26f8d986d3a8889d46e7c2ff2
/test_twitter_data.py
985e9f42afa9765a6338c7c158d33bc786e6b73b
[]
no_license
pranshulgupta7/opinion-mining
c084b7fec726e04a83b0fdae953b8df3976a0549
25585d78b8918f7da1be803835d9a8b66c2c2ecb
refs/heads/master
2020-06-17T21:16:54.569052
2019-07-09T18:22:16
2019-07-09T18:22:16
196,057,643
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
#!/usr/bin/env python import get_twitter_data ## PLACE CREDENTIALS in config.json file or run this file with appropriate arguments from command line keyword = 'iphone' time = 'today' twitterData = get_twitter_data.TwitterData() tweets = twitterData.getTwitterData(keyword, time) print tweets
[ "pranshulgupta777@gmail.com" ]
pranshulgupta777@gmail.com
b0def42355d753d0f2d67ed743d9fe7df66c8387
e9fbeceb79f45d1fc67d41d2fcb38779275dac80
/NN.py
6bb3aa830382a34a654c0c355d8af280fcc7b9b4
[]
no_license
Aqw12345/test
51dd1c202937e5446b92c06c68c6bf30021bbe19
191cdb9cd461566acd79107870fada174bf0bfb4
refs/heads/master
2020-03-25T09:57:18.737622
2018-08-06T05:54:59
2018-08-06T05:54:59
143,680,448
0
0
null
null
null
null
UTF-8
Python
false
false
3,337
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 1 15:13:44 2018 @author: dk """ #sample neuron network (无激活函数) import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data #from mnist import read_data_sets import numpy as np import pylab import matplotlib.pyplot as plt mnist=input_data.read_data...
[ "1149918650@qq.com" ]
1149918650@qq.com
3451487c8e6500248f939fb75c0b0f04cfaed4d1
2b5287769a1b6fa3db8ef87da696b1d437209731
/RottenOranges.py
246cba2cd7403a2b63292dd7c7faac9a4cf89b7c
[]
no_license
08vishal/BFS-2
8176bd7b72f4a04b53d15d52ac85a7a91f8a8b32
c61063ec7e2d720c7431355bf23e8a4eb31de061
refs/heads/master
2020-09-05T12:15:03.211279
2019-11-08T02:23:25
2019-11-08T02:23:25
220,101,391
0
0
null
2019-11-06T22:21:41
2019-11-06T22:21:40
null
UTF-8
Python
false
false
1,186
py
#Time Complexity:O(n2) #space Complexity:O(1) #LeetCode Submission:successful #We use Bfs to find the Rotten oranges and add it to queue and do bfs till there is a element in q class Solution(object): def orangesRotting(self, grid): """ :type grid: List[List[int]] :rtype: int """ ...
[ "noreply@github.com" ]
noreply@github.com
c000dff53ade0ae89692006e604a19094da2e011
3879d1ca43c573c209f962182cd1e7f7fe978fbf
/leetcode/2529. Maximum Count of Positive Integer and Negative Integer/2529.py
c3a5e86c5fafa57b99f04a0501dc11152a560285
[]
no_license
DoctorLai/ACM
34a5600a5adf22660c5d81b2d8b7a358be537ecf
aefa170f74c55c1230eb6f352770512b1e3f469e
refs/heads/master
2023-09-01T02:13:01.604508
2023-08-31T15:42:07
2023-08-31T15:42:07
146,173,024
62
18
null
2020-10-11T13:19:57
2018-08-26T11:00:36
C++
UTF-8
Python
false
false
404
py
# https://helloacm.com/teaching-kids-programming-maximum-count-of-positive-integer-and-negative-integer-in-sorted-array/ # https://leetcode.com/problems/maximum-count-of-positive-integer-and-negative-integer/ # EASY, BINARY SEARCH class Solution: def maximumCount(self, nums: List[int]) -> int: n = bisect_l...
[ "noreply@github.com" ]
noreply@github.com
9ed561bf9d023279c996061a5782fcd75045b385
c230be483822fe044e01c924b13aaab1b635d1a1
/Grupo 02/value_finder.py
1951d208b13cc403d0553a58d6e435246e207a76
[]
no_license
justicafederalRN/hackathonjfrn
06967e6a935d93c92a82f66614c5ca56b4c5c1a3
e69a6892f63e42bf2985fc90df26511a65006660
refs/heads/master
2020-03-10T14:27:04.767284
2018-04-18T18:04:22
2018-04-18T18:04:22
129,426,629
0
13
null
2018-04-18T18:04:23
2018-04-13T16:17:49
JavaScript
UTF-8
Python
false
false
982
py
# coding: utf-8 # (C) Júlio Barreto # Extract data from sentences pdfs from tika import parser import ujson, re, os def values(filename): pdf_ = parser.from_file(filename) pdf = pdf_['content'].split('\n') pdf = pdf[32:-4] dic = {} dic['processo'] = re.findall("PROCESSO Nº: (.*?) - ", pdf[0])[0] with open("te...
[ "julio.costa@ccc.ufcg.edu.br" ]
julio.costa@ccc.ufcg.edu.br
e0bfba5a9182ac893ec61ec8f57536236925294b
ad2090cc9591d38456621951d4901276481b55fd
/爬虫/爬虫代码/13.login_douban.py
93cba307c7d4d4eb5184e40d309878777358bdec
[]
no_license
GuangGuangLi-Artist/LearningPython
9d17366c4b64f5b3d53b885b71f1cf9bd4d2f53f
0810ff6d0cc557f4d5ed8c024ce413a93183a6da
refs/heads/master
2023-08-18T16:32:03.595418
2023-07-30T09:47:48
2023-07-30T09:47:48
201,511,027
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
#coding=utf-8 from selenium import webdriver import time class DouBan(): def __init__(self): self.driver = webdriver.Chrome() def get_cook(self): '''获取cookies''' cookies = {i["name"]:i["value"] for i in self.driver.get_cookies()} return cookies def run(self): s...
[ "15607521232@163.com" ]
15607521232@163.com
c7150ae1c5619678c686491e1e17d58ea079b228
fb9be02fe82e35ab44c4caa3c7a468cb34aecc39
/python/pytorch/train.py
54dcefaf605f33d3fbd3740e70d092523971c044
[]
no_license
hitaitengteng/mlflow-examples
4e70053c7adf154139dfa3f7d7cae214bb841709
e7f840a012c019c65a688e4ba69fbb949371f3e1
refs/heads/master
2022-11-26T15:42:40.837083
2020-07-24T07:07:29
2020-07-24T07:07:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,273
py
# Partial Model example modified from Sung Kim # https://github.com/hunkim/PyTorchZeroToAll import torch import mlflow import mlflow.pytorch print("Torch Version:", torch.__version__) print("MLflow Version:", mlflow.__version__) print("Tracking URI:", mlflow.tracking.get_tracking_uri()) x_data = torch.Tensor([[1.0]...
[ "amesar@users.noreply.github.co" ]
amesar@users.noreply.github.co
941d619540539bea7757589b89a87b799856e25f
bab119aa43329369f3fed17bd7fd6eb15f58c075
/Final Project/Codes/heuristic.py
2d7cfb327b63818a177cd812b66df3163b2f4f0b
[ "MIT" ]
permissive
AliRafieePour/MSCI-703-Applied-Optimization
74766cede30ce2f4a2ba9ffe3024cacba20379fb
d5594e936debc518806e6bbbb07a5421cbb5a41a
refs/heads/main
2023-05-14T16:40:28.009016
2021-06-01T22:11:50
2021-06-01T22:11:50
372,961,602
0
0
null
null
null
null
UTF-8
Python
false
false
27,892
py
from pyomo.environ import * import random import numpy as np import logging from sklearn.cluster import KMeans from sklearn.datasets import make_blobs from yellowbrick.cluster import KElbowVisualizer logging.getLogger('pyomo.core').setLevel(logging.ERROR) NUM_ITEMS = 10 i = [ii for ii in range(NUM_IT...
[ "noreply@github.com" ]
noreply@github.com
33fbb50db9e6331092d5842b505407c2c4836161
683c3c5f256f115f5c3547b9482cbd5ef2b63d23
/2020/TJCTF/6_cookie_library_solve.py
61af9d19cfbf76d08159350ceec1ff30b9230e39
[]
no_license
yueJDy/pwn
eb1e7292c4fb6d34f65e976742abb390730e8a1d
32d0e748dd6d2c2327e5175fc34a1784b67b83a5
refs/heads/master
2021-08-11T04:09:42.688560
2021-04-16T09:00:40
2021-04-16T09:00:40
248,710,451
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
from pwn import * r = process('./cookie_library') raw_input('debug') rop_rdi = 0x400933 puts_got = 0x600fb8 printf_got = 0x600fc8 puts_plt = 0x400640 printf_offset = 0x055810 system_offset = 0x0453a0 binsh_offset = 0x18ce17 main = 0x400797 def func(rdi): buf = 'a'*0x58 buf += p64(rop_rdi) + p64(rdi) + p64(puts_pl...
[ "yueJDy@users.noreply.github.com" ]
yueJDy@users.noreply.github.com
56086c6802414a299cbe663e8adbf2869d183fca
a372318f7debad1fd5cd0f9937b6532f17101d7e
/config.py
a1799aaffa1fad127010c4fd4b739ac11814e2c0
[]
no_license
xingjiliang/remote_hub
51c8f5c44a6e577eb1dfa1b652dc9c1fae99e9c6
e5ec040c80ac559cfeee112e1e21c1c5685ec6c5
refs/heads/master
2020-04-11T15:12:05.759842
2018-12-18T09:44:39
2018-12-18T09:44:39
160,143,637
0
0
null
null
null
null
UTF-8
Python
false
false
2,630
py
import sys import tensorflow as tf FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_bool('remains', True, 'predict remains of one day or full day') tf.app.flags.DEFINE_string('model_name', 'rnnV3', 'model name') tf.app.flags.DEFINE_integer('city_id', 1, 'city id') tf.app.flags.DEFINE_string('train_start_date', '2018-03-...
[ "1458103052@qq.com" ]
1458103052@qq.com
4bdafadc03bd119cf1cf2ca6333044faa8767d51
5766681f62dacc8bb75707c38aef6498b222c63f
/betl/io/DatastoreClass_file.py
0e03b70a9c2de030f402a0d392d1fb2756d563e5
[]
no_license
brianspurling/betl
dd3f1eafd9ea606cbf078c46ae6d6c4954b4d1d1
536370382ec1dadaa0d6b42a22f169c3cbb4bea3
refs/heads/master
2022-12-10T09:41:39.478068
2019-06-28T09:11:07
2019-06-28T09:11:07
113,907,286
1
1
null
2022-12-08T01:01:41
2017-12-11T20:52:19
Python
UTF-8
Python
false
false
513
py
from .DatastoreClass import Datastore class FileDatastore(Datastore): def __init__(self, fileSysID, path, fileExt, delim, quotechar, isSrcSys=False): Datastore.__init__(self, datastoreID=fileSysID, datastoreType='FILESYSTEM', ...
[ "brian.spurling@gmail.com" ]
brian.spurling@gmail.com
3778801484833ddfb83ae9399c6ce822361bd792
9adbf55a256a550f2278c427285784d771c93519
/Code/LSTM/africell_calls/models/net_utils.py
d3e024c1a5ecb28e0d2f03e09bbd137b5c6c12a5
[ "Unlicense" ]
permissive
ssensalo/Sentitel
17b8194c852b58eb28622fea052c32cc07f6d362
9e29d815964618f92eeb00b7cd76f1207d17d600
refs/heads/master
2023-04-08T13:38:26.008491
2021-04-28T19:47:26
2021-04-28T19:47:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from gensim.models.keyedvectors import KeyedVectors from gensim.test.utils import get_tmpfile from gensim.scripts.glove2word2vec import glove2word2vec import numpy as np def get_init_embedding(reversed_dict, embedding_size): print("Loading Glove vectors...") glove_file = "glove/glove.6B.%dd.txt" % embedding_s...
[ "noreply@github.com" ]
noreply@github.com
f59c709b4851d78914ab1e518de74e0898a6492d
4e5b7350cea01dc2bfdf4ea24d5c45d5f4540ea9
/app/messages/views.py
5ff5e7bed97ad2c2eb777b62d12df498516dcb8f
[]
no_license
netoho/fastmonkeys
efeaed32941597d86f69a8db502c34176f1d0292
e9934a6ff72bcb82c4ed306d6f800d75cb1832ea
refs/heads/master
2020-06-03T06:37:44.868895
2013-09-03T19:47:47
2013-09-03T19:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
from app import login_manager from app import (app, db) from app.posts.models import Post from app.messages.models import Message from app.messages.forms import MessageForm from flask.ext.login import login_required from flask import (Blueprint, session, redirect, url_for, render_template, flash, req...
[ "hatreun@gmail.com" ]
hatreun@gmail.com
c330379402f016903fc3297df4987fb347a0e0d8
e79198e622758cfbe737f4389e775e7a931e1343
/isValidTime.py
c0590fa90600e45c6ae5dd85f3a453c086e5dd7e
[]
no_license
MichaelGhizzi/Python
e26d2d20607f6f18034344954e93c6ce9904da1f
9b6586397b45a57df27514bc6c0271700fe5dc23
refs/heads/master
2021-01-10T16:22:52.005125
2016-08-28T23:01:11
2016-08-28T23:01:11
51,849,446
0
0
null
null
null
null
UTF-8
Python
false
false
1,319
py
#!/usr/bin/python3 #--------------------- # Name: Michael Ghizzi # Lab Project #5 # CPSC 254 8:00pm T/TH # isValidTime.py # This program has the user enter in a specific time via arguments, and the program defines if the time is valid or not. #--------------------- import sys import re def main(): # defines main fun...
[ "michaelghizzi@gmail.com" ]
michaelghizzi@gmail.com
584d9a4af69835aa15cfa9e2ae912447c8fd5ded
1f4f14b3315428457538167795775d047e139e57
/music/views.py
a3b5eb5aa199f69a4e53bb38a73ccb041348c12e
[]
no_license
johnYANGGAO/python_web_with_django
b1ac080b53fd740e91850e4c7f45b6fa927f9620
a9de0b6d2f60bacbc83492e0d66d73a3144f93d8
refs/heads/master
2021-01-11T19:58:46.007546
2017-01-20T09:21:40
2017-01-20T09:21:40
79,436,299
0
0
null
null
null
null
UTF-8
Python
false
false
9,334
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 11/22/16 2:40 PM # @Author : YangGao # @File : views.py # from django.http import Http404 from django.http import HttpResponse from .models import Album, Song from django.template import loader from django.shortcuts import render, get_object_or_404 from dja...
[ "johnsonyanggao@gmail.com" ]
johnsonyanggao@gmail.com
3338255cae9bf2b53d9b53f0a16061db891618f2
41749b782cecd7364761a7768b09c8a0d1483618
/.viz/Lib/site-packages/django/contrib/gis/geos/prototypes/geom.py
fa40a0b62b314cce16fb765a0e968c890d76b15a
[ "BSD-3-Clause" ]
permissive
Semiu/studentviz
c9a9a69d83bcb5e2e5b3768cf092ce00ada0d7db
04f0850eb171cbbc5dc42bc079b60fe267c17157
refs/heads/master
2022-09-12T07:47:40.924894
2022-08-22T02:57:27
2022-08-22T02:57:27
158,165,526
0
0
NOASSERTION
2022-06-17T22:16:38
2018-11-19T05:15:04
JavaScript
UTF-8
Python
false
false
3,332
py
from ctypes import POINTER, c_char_p, c_int, c_ubyte, c_uint from django.contrib.gis.geos.libgeos import CS_PTR, GEOM_PTR, GEOSFuncFactory from django.contrib.gis.geos.prototypes.errcheck import ( check_geom, check_minus_one, check_string, ) # This is the return type used by binary output (WKB, HEX) routi...
[ "ayobami.sm@gmail.com" ]
ayobami.sm@gmail.com
72407ed89d05a5b5653217cf17b7c98e1679fa7a
4469dfcaeb9b491a23df1b574a2d54ab74bb153d
/appfeedme/yellowapi.py
e73f1b1b1e678edb40b5a4264f6f60282010b6f0
[]
no_license
assertnotnull/feed.me
149bd9abd697cdb67301a90c061ace52a9cfa14c
c9c4a268dfce555cc97d73c6d256bb89b49e8969
refs/heads/master
2021-01-19T05:20:04.489348
2014-04-16T19:22:51
2014-04-16T19:22:51
4,608,276
0
0
null
null
null
null
UTF-8
Python
false
false
2,877
py
""" YellowAPI Python API Library Requires: Python 2.3+ Version: 0.1 (2010-09-15) """ import urllib2 import urllib import itertools import re class YellowAPI(object): """ A thin wrapper around urllib2 to perform calls to YellowAPI. This class does not do any processing of the response contents (XML or JSON). ...
[ "devin@devsoftweb.com" ]
devin@devsoftweb.com
2c0f680212d51ef2a600f4c5edf2dd6deae65d17
166bfd2ea9335362e44dc6aa910370329bf1e4c3
/processing/__init__.py
bbaf18ddba0c7f443b9d29a7dc1d8ede2b7840e8
[ "Apache-2.0" ]
permissive
ljthink/pyfecs
8502d83c75d3742a722967197a9a867eb27ad146
38bf28decc5caf6c1f94263c9788880dd9c17707
refs/heads/master
2020-04-03T13:54:13.469391
2017-11-28T14:28:40
2017-11-28T14:28:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
""" Scripts concerned with processing raw data into objects ready for analysis. Many of these can be run as semi-automated services. """
[ "kluge@physik.uni-bonn.de" ]
kluge@physik.uni-bonn.de
67549eb3ebb071caddfa86249289fba192ce0d44
074afd26d00bb742b03c12891b057ab263e640bf
/codeforces/1430A.py
259ef4142c163c8fa3b5ce7e8ec89d1f9260b4f1
[]
no_license
IsmailTitas1815/Data-Structure
7a898800b1e53c778b1f2f11b0df259e52c20140
fece8dd97d3e162e39fc31d5f3498a6dac49b0f0
refs/heads/master
2023-02-05T10:39:49.349484
2020-12-21T13:37:22
2020-12-21T13:37:22
296,343,627
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
for i in range(int(input())): n = int(input()) if n<3 or n==4: print(-1) elif n%3==0: print(n//3,0,0) elif n%3==1: print((n//3)-2,0,1) elif n%3==2: print((n//3)-1,1,0)
[ "titas.sarker1234@gmail.com" ]
titas.sarker1234@gmail.com
68f932c6112e815e3c6ea2b6718d9cc20bb4ab9a
ca4da546f815ef7e14fd79dfbc5a0c3f9f8c72c9
/samples/LuceneInAction/lia/tools/BerkeleyDbIndexer.py
a5f57cf2e3ebbdef45a0169ea2edb661a337b8fc
[ "Apache-2.0" ]
permissive
qiugen/pylucene-trunk
be955aedca2d37411f0683e244c30b102d4839b4
990079ff0c76b972ce5ef2bac9b85334a0a1f27a
refs/heads/master
2021-01-18T08:46:38.817236
2012-07-18T16:18:45
2012-07-18T16:18:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,388
py
# ==================================================================== # 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 re...
[ "roman.chyla@gmail.com" ]
roman.chyla@gmail.com
af150eafbd7e431eddf69d435af86c90726cd755
4cd28b2bd8ba92a5db81adadbf2ff8b1addbef5c
/python/siamese.py
c54512dcb3c8798d908a587e19186fedb0e61f25
[]
no_license
mfsuve/GraduationProject
bd3f8b605f69809bf2fe0a37233efdf1179a0e3d
f408848be46a8fa7f66cab65a9212a78670b5908
refs/heads/master
2020-04-09T22:08:48.737997
2018-04-19T05:32:11
2018-04-19T05:32:11
124,243,197
0
0
null
null
null
null
UTF-8
Python
false
false
7,933
py
import cv2 from keras.layers import Input, Conv2D, Lambda, merge, Dense, Flatten, MaxPooling2D from keras.models import Model, Sequential from keras.regularizers import l2 from keras import backend as K from keras.optimizers import SGD, Adam from keras.losses import binary_crossentropy import numpy.random as rng import...
[ "suvemustafa@gmail.com" ]
suvemustafa@gmail.com
0249279d73b9c2701e375e170c9ea5283effc2a2
0953f9aa0606c2dfb17cb61b84a4de99b8af6d2c
/python/ray/tests/test_serialization.py
df5bcb8533273289b581ac3fbfe06276f43f2e69
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
oscarknagg/ray
da3dc03e24945ff4d5718fd35fc1b3408d8907eb
20d47873c9e8f5bbb80fe36e5d16256c337c4db3
refs/heads/master
2023-09-01T01:45:26.364731
2021-10-21T07:46:52
2021-10-21T07:46:52
382,402,491
2
1
Apache-2.0
2021-09-15T12:34:41
2021-07-02T16:25:05
Python
UTF-8
Python
false
false
18,436
py
# coding: utf-8 import collections import io import logging import re import string import sys import weakref import numpy as np from numpy import log import pytest import ray import ray.cluster_utils logger = logging.getLogger(__name__) def is_named_tuple(cls): """Return True if cls is a namedtuple and False ...
[ "noreply@github.com" ]
noreply@github.com
87ee7c0dbbc0a3f5eb8ebfa7b0a3b4f8f8b4319b
b4824a127a50c617c90defa835161bfc9cd2faf3
/other_Pro/dashboard_dark_theme.py
fbc4ef6804193aba61d5440fdc7a24e84175ec1b
[]
no_license
hj1996/cyse
77a616939c880e6b8c5cf89b6dbbd4afcdf7eddc
14ebbe37ec677f47c2cf07cbcb5293fc8b9c8791
refs/heads/master
2020-04-18T16:18:50.873180
2019-03-28T22:35:12
2019-03-28T22:35:12
167,631,085
2
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
import os import glob import re import json import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import pandas as pd import plotly.graph_objs as go import dash_table app = dash.Dash(__name__) def file_opener(): df = pd.read_csv("internettraffi...
[ "juwany@live.com" ]
juwany@live.com
c28f9064b7f66336abca56572c1f38ac8d1c8854
b919a85a069299fbf119507eaae3859eac6dd62e
/xunit.py
ed527ebe4017a3ed0412c21a91e28182d9511509
[]
no_license
nedbat/xunit_tools
f3c3b1f4647baac0b00c15ce65713cfb4f2f6209
faba9f72dfc3b583f8b6dd4aedf320ffac9ac5e6
refs/heads/master
2023-06-22T04:25:10.299933
2015-10-26T21:12:17
2015-10-26T21:12:17
44,988,467
2
1
null
null
null
null
UTF-8
Python
false
false
1,475
py
"""Python classes to help with xunit.xml structure.""" from lxml import etree class Summable(object): """An object whose attributes can be added together easily. Subclass this and define `fields` on your derived class. """ def __init__(self): for name in self.fields: setattr(sel...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
cb35a3d9d03fa30719c1c8f6bf01cf31f92a9fee
6375f82cf4f760f4919c68beaac924afd5370c07
/python/Activity13.py
ae6be1ad7552bf36b922c5f161cf607e3d8c5c0e
[]
no_license
mounika2583/sdet
18af64dedf64926305c8210daedf9ddc7fa84224
938b56e9100c1300325d102de983b5952a58eb91
refs/heads/main
2023-03-17T04:38:13.147570
2021-03-04T17:21:55
2021-03-04T17:21:55
326,884,511
0
0
null
2021-01-05T04:20:34
2021-01-05T04:20:33
null
UTF-8
Python
false
false
198
py
list1=[5,25,76,13,50] def list_sum(n): sum=0 for num in n: sum=sum+num return sum result = list_sum(list1) print("The sum of all the elements is: " + str(result))
[ "noreply@github.com" ]
noreply@github.com
1e9f246a71cab4edcf307250ab7f70937357d124
ec1bd713b3631c6a7d41eecf57eef5979a6d4f4a
/krlbook/profiles/migrations/0002_relationship.py
9dec92bb17bc1b109689f115b506d89d9021b47d
[]
no_license
cntrkilril/krlbook
e6c1a452a96f8dd7fa6ab6ec7c144e0f3a3e5a7c
5ff142622ca7f2e3929d70b932c1273f76e6fddb
refs/heads/master
2023-06-15T17:19:12.345739
2021-07-10T11:30:57
2021-07-10T11:30:57
381,473,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
# Generated by Django 3.2.4 on 2021-06-09 15:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles', '0001_initial'), ] operations = [ migrations.CreateModel( name='Relationship', ...
[ "shalkir2002@mail.ru" ]
shalkir2002@mail.ru
be5d6241a7a447176cec2f980c304d72c8afcc7c
6d9dacc72c57ea411794cf3b27a2862abf84d714
/桌酷壁纸略缩图urllib库版/bizhi/middlewares.py
7518e847fe99701e031159dd353b15255c6dce03
[]
no_license
yzr0011/python-Scrapy-
26a863e691c3601b539d7c548fb69a82d2279d06
9dc73a89897ef6680fa119eb01bfcd054ccd0474
refs/heads/master
2020-04-26T18:02:00.363389
2019-03-08T05:08:07
2019-03-08T05:08:07
173,732,261
0
0
null
null
null
null
UTF-8
Python
false
false
3,595
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class BizhiSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy ac...
[ "noreply@github.com" ]
noreply@github.com
bb724691a0396055e90f7b292abcda68fa16e597
ee3e0a69093e82deff1bddf607f6ce0dde372c48
/BOJ/random/BOJ_10808.py
278786f83e00b57301f1cf5d8af039d5c2a68046
[]
no_license
cndqjacndqja/algorithm_python
202f9990ea367629aecdd14304201eb6fa2aa37e
843269cdf8fb9d4c215c92a97fc2d007a8f96699
refs/heads/master
2023-06-24T08:12:29.639424
2021-07-24T05:08:46
2021-07-24T05:08:46
255,552,956
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from string import ascii_lowercase import sys if __name__ == "__main__": list = list(ascii_lowercase) test = input() result = [] for i in range(0, 26): result.append(0) for i in range(0, len(test)): for j in range(0, len(list)): if test[i] == list[j]: res...
[ "cndqjacndqja@naver.com" ]
cndqjacndqja@naver.com
817a382bdedb15f313bab3fe927c12c111637878
5edf699320f5e247cbcf9cbb3bc8dffb03d984e4
/CL_2-1/main.py
e278628175ab6aad5c35f812075ae06ee2b69909
[]
no_license
Livenai/LambTorch
57c8d044803b221995d03f4220354a66161a7364
a815a433deb89dfc75f5b27fe0e4ad4c20b520da
refs/heads/main
2023-08-02T21:58:48.496148
2021-10-04T12:02:17
2021-10-04T12:02:17
341,551,821
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
import contest import telegram_debugger from telegram_debugger import sendMSG import traceback # PARAMETROS NUM_NETWORKS = 50 try: # Mensaje inicial contest.sendStarMSG() # Generamos las tareas #contest.generateTasks(NUM_NETWORKS) # Iniciamos el entrenamiento de las tareas contest.trainR...
[ "carlos.psp.502@gmail.com" ]
carlos.psp.502@gmail.com
5257783dbc07aa9fe08331b13d3c15a6db9fa904
e1a0b03b213a08cc7ebe5776a9127a72341ea773
/chapter_2_examples/standalone_files/parts_of_speech.py
844bce0e175fa8cf214813db82649cc3ad56946b
[]
no_license
kobohuong/data_wrangling_exercises-1
9834107ca4b017af0b4afa704cbcdff2d8764c59
fde4b2031f2ca5c52f159beb4ba8e5c2f2e6fab1
refs/heads/main
2023-07-07T19:04:17.110640
2021-08-09T02:15:03
2021-08-09T02:15:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# A number is just digits 25 # A string is anything surrounded by matching quotation marks "Hello World" # A list is surrounded by square brackets, with commas between items ["this","is",1,"list"] # An object is a set of key:value pairs, separated by commas and surrounded # by curly braces {"title":"Practical Python...
[ "susanemcg13@gmail.com" ]
susanemcg13@gmail.com
d43e510e6f94bd81847ca58aaafbf9f2ead1840c
82f230d68f4fdd286a2a742f247bc6eff98077bd
/principles_of_computing/part1/week5/clicker_sim.py
d72b0d5116ffaed35d7f1c3278633500efc2e4b9
[]
no_license
cshintov/Courses
b2c8ddc0081c25a939c0e99e5eac7ff8c86d4a9b
191213bd3586270aca79dcfd6a7b1f225879cac1
refs/heads/master
2021-01-20T02:46:56.025084
2015-09-11T20:11:50
2015-09-11T20:11:50
42,266,490
0
0
null
null
null
null
UTF-8
Python
false
false
10,047
py
""" Cookie Clicker Simulator """ #import simpleplot # Used to increase the timeout, if necessary #import codeskulptor #codeskulptor.set_timeout(20) import poc_clicker_provided as provided #from poc_testsuite import * #from poc_clicker_provided import * #from copy import deepcopy from math import ceil ...
[ "shantocv@gmail.com" ]
shantocv@gmail.com
13aaaee148414fb08769b258edea12d0a8b27cda
8c2f5e25e3b4fc1ab6a39b954cefba54121db2f4
/Cricket_pro/urls.py
517b2f1cca22b4ecaad51bff8d543c8e6e1ee6fb
[]
no_license
gopal8688/cricket_assignment
8d065feb2b9ddcd07debd2ae259aec0e08fe3ccb
8bd52df4cd3e6aa59fc1bd3aed916fd337ab7fac
refs/heads/master
2022-11-15T18:05:44.249388
2020-07-04T11:24:08
2020-07-04T11:24:08
277,095,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
"""cricket_team URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "gopal94411@gmail.com" ]
gopal94411@gmail.com
c5e2cd700543d8067f8c110dadae755ae3ea69a4
d99b6737585bc25cbd85870a75859adff0f728d0
/ICP6/venv/Scripts/easy_install-3.7-script.py
32c9c58b93a1a8400889eb2c53e26dafb4c07863
[]
no_license
RupeshDoddala/Python
04e9e8eba30d99bd3da477dba6a16f135c0eb212
37f5a9e7c6128162f56894528611033eccd527c6
refs/heads/master
2020-04-18T16:14:03.356609
2019-05-03T22:53:12
2019-05-03T22:53:12
167,629,462
1
0
null
null
null
null
UTF-8
Python
false
false
457
py
#!C:\Users\RupeshD\PycharmProjects\ICP6\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "rdcb3@mail.umkc.edu" ]
rdcb3@mail.umkc.edu
fa4b4047e1713b9e279672112999c91f38a555be
fde31c7067082b6340154bece06acbb8793124f7
/cricket/cricscore/abc.py
8d1a78173971101d9d54f95add2052d566962d90
[]
no_license
nikkkkhil/Cricket-Web-App
1b245d77b0b845b17777bba512f458c92805fecf
bc28990fc30d4594b115884aa1dd323d01274322
refs/heads/master
2022-12-18T16:04:23.914205
2019-05-26T14:20:22
2019-05-26T14:20:22
134,660,557
4
0
null
2022-12-08T00:57:52
2018-05-24T04:22:49
HTML
UTF-8
Python
false
false
1,007
py
import re import pytz import requests import datetime from bs4 import BeautifulSoup from espncricinfo.exceptions import MatchNotFoundError, NoScorecardError from espncricinfo.match import Match bigbash_article_link = "http://www.espncricinfo.com/ci/content/series/1128817.html?template=fixtures" r = requests.get(bigba...
[ "nikkkkhil@yahoo.com" ]
nikkkkhil@yahoo.com
253ae191cd0f7b4a9542a3e4dbf7368054f1663f
9d71864d602e986abd6e3d2aaeee04a5895826ef
/models/user.py
0fb800f5ec637c749120cd5b0b56a342281b0f68
[]
no_license
aquashash/Flask-RESTAPI
52a31f626f4e6be60252b98b942324a1931f9e3a
41ddb2852eb6e407e6cb8bd787d368187ea5a5b9
refs/heads/master
2020-03-19T08:35:03.282892
2018-06-11T21:11:06
2018-06-11T21:11:06
136,217,199
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from db import db class UserModel(db.Model): __tablename__ ='users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(80)) password = db.Column(db.String(80)) def __init__(self, username, password): self.username = username self.password = password @c...
[ "tanujah@gmail.com" ]
tanujah@gmail.com
71fafd03f6f060dcac59aadfa5d2a031fe0e6ee8
c040b64e299e3455eb066531e75266a47045ef34
/nn/my_keras/pic_martix.py
3b21ce71164036aaecb7527205953db66fbaf1e7
[]
no_license
helloexp/ml
f0e67d0360ae4860b289247db3c0a902566f088c
c3e96ae948759eaa6011041b6d5281a1e9073959
refs/heads/master
2020-04-16T18:22:39.498282
2018-12-20T10:31:27
2018-12-20T10:31:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
# encoding:utf-8 from PIL import Image from pylab import * class ImageOperation(object): def __init__(self,size): self.size=size def array_2_image(self,data): image = Image.fromarray(data) return image def image_2_array(self,filename): image = Image.open(filename) ...
[ "tong.yue@hypers.com" ]
tong.yue@hypers.com
2f75d64a1469c372ddd1d7953bca677b0823bc49
6ff2a44be083550c5c96aa4637c338cad672b8fd
/05_알고리즘/190905/숫자배열회전.py
cd30fd8b712bc33aee670dc484db357677fdcbd4
[]
no_license
hyunhee418/TIL
447ed9735b3cf8f8c68a985248aefb80ee415f5c
cac85a9207ae03cb7f4b060b5d0b79e55ca78c19
refs/heads/master
2023-01-10T15:20:49.841630
2021-01-05T10:41:05
2021-01-05T10:41:05
195,916,255
0
0
null
2023-01-05T05:00:18
2019-07-09T02:17:47
Jupyter Notebook
UTF-8
Python
false
false
489
py
import sys sys.stdin = open('input_ro.txt', 'r') for tc in range(1, int(input())+1): N = int(input()) arr = [list(map(int, input().split())) for _ in range(N)] d1 = [] for i in range(N): for s in range(N-1, -1, -1): print(arr[s][i], end='') print(end=' ') for j in r...
[ "hyunhee18@gmail.com" ]
hyunhee18@gmail.com
2523cadd05a1cb3f943dcfbff1e4624cd49663e4
ea9c6173d17a366a925d0339c0ed97350dc479ac
/griot/griot/__init__.py
13f21637e745569ddcb097a778582a8cfc87cd87
[ "MIT" ]
permissive
JeffreyMFarley/Bailiwick
039263a23de095ca920161d9a9a2be71bcaf5261
0533b2398aaaa69c15c7d6b8a50290d92513fbbf
refs/heads/main
2021-07-01T02:14:35.241835
2019-11-16T19:00:16
2019-11-16T19:00:16
98,752,948
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from griot.compile import * from griot.fine_tune import * from griot.enrich import * from griot.lemma_inflections import * from griot.participle import *
[ "JeffreyMFarley@users.noreply.github.com" ]
JeffreyMFarley@users.noreply.github.com
e6cd52859f6674708efc0f38b3e0b4f2a9a9150b
ac8d43147308180531cc1d9757378b65c0db59c9
/domo_query/__init__.py
d499044cc865a41b68b0670f897af164538c8326
[]
no_license
JediHero/domo-query
4867954d2b6f023e8f024c92c9199713a4a24fb6
98d2556286361a7c34a019d68fe086dbb0e859a3
refs/heads/master
2022-04-05T22:01:50.866997
2020-03-06T01:08:43
2020-03-06T01:08:43
243,444,365
0
0
null
null
null
null
UTF-8
Python
false
false
5,702
py
"""Provides a Connection class with a tables property providing metadata for datasets where the user credentials has share permissions or is marked as the owner. Also provides query method used to pull/export data from DOMO. """ __version__ = '0.1.0' # Standard library import dataclasses as dc import typing as tp # 3...
[ "hansen.rusty@gmail.com" ]
hansen.rusty@gmail.com
df0dfd2a32259bbda334dd63b38dccfdae71d234
968bef5b48bbef32f8193ec727e1d03f9a5b7f2c
/PyOpdb/NCBI_API/url.py
c3bf70470635b24af00438b6cfe214c8a857a068
[ "Apache-2.0" ]
permissive
felixlyd/OPDB
fa015c5e8f11b07d954baee7477ad14b2150d808
d5d9c9ce5239037dcc57abba6377abbfccec32d1
refs/heads/master
2021-08-08T21:42:40.687918
2017-11-11T09:59:13
2017-11-11T09:59:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
import urllib.request def connect_url(url, decode): """ :method: a method to perfect urllib.request.connect() :param url: string :param decode: string like "utf-8" :return: string(the url content) """ req = urllib.request.Request(url) response = urllib.request.urlopen(req) html = r...
[ "ttttttliu@qq.com" ]
ttttttliu@qq.com
9d9d3c3fe04320ef1567b9e330e2d820c0821128
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/kindergarten-garden/db2bf8388b6a4719a608a3d1a55324fe.py
b8ddc9ee8420f927cdf2119620fcf6bacdaaef8f
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,034
py
_default_students = tuple(sorted(('Alice', 'Bob', 'Charlie', 'David', 'Eve', 'Fred', 'Ginny', 'Harriet', 'Ileana', 'Joseph', 'Kincaid', 'Larry'))) _plant_dict = {'C': 'Clover', 'G': 'Grass', 'R': 'Radishes', 'V': 'Vio...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
b1b6b6d014c0760a3d03c521469bd08581b22e5c
6a07e15db24f819c1001409eb35b1813438f506c
/fem.py
98e900b145c15514e36bad0ec1dcefd8dff362ef
[ "MIT" ]
permissive
domischi/StokesFEM
62005812402768be320c961d2ef879591ad64eac
3925e23253ac6d2c0444fb4b09f8f9176d4eaa44
refs/heads/master
2021-04-02T19:02:20.751323
2020-09-04T00:36:31
2020-09-04T00:36:31
248,309,653
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
from dolfin import * def left_right (x, on_boundary, L): return x[0] > L * (1-DOLFIN_EPS) or x[0] < L * (-1+DOLFIN_EPS) def top_bottom (x, on_boundary, L): return x[1] > L * (1-DOLFIN_EPS) or x[1] < L * (-1+DOLFIN_EPS) def get_function_space(_config, mesh): # Build function space P2 = VectorElement("Lagrang...
[ "dominik.schildknecht@gmail.com" ]
dominik.schildknecht@gmail.com
b72172fdca7b5d967c5302c25916cae83caff034
181594187b476f0c24ced2ee1256f1ccc20b5edd
/Day4/sleep.py
3d6cdc72a3c02954dc048be092e9479eaf338c18
[]
no_license
Negative-Feedback/AOC_2018
10ebc371cbc62fd923721f75036e14b8950aac51
ba5053a062863409f8ab4babfacb553e783588d0
refs/heads/master
2020-04-26T00:19:29.726118
2019-03-18T15:01:44
2019-03-18T15:01:44
173,173,737
0
0
null
null
null
null
UTF-8
Python
false
false
3,283
py
import re # function to calculate the total time spent asleep def calcSleepTime(minutes): total = 0 for x in minutes: total += x return total # function to calculate the minute they were asleep on the most def calcSleepMin(minutes): bMin = -1 for i in range(len(minutes)): if bMin ...
[ "matthew.giorno@sympatico.ca" ]
matthew.giorno@sympatico.ca
e4ac7949001c3a782ee66c9e353af4d7b37f1de9
b2e4f2a9d8fabf3f667dfc2141e96af1f342f5b2
/tools/extract_mrcn_ref_feats.py
fdb39c7217d3bf71e20243759435578adab89a23
[ "MIT" ]
permissive
ChopinSharp/MAttNet
ba927d80f15c0b99105540d40809cad2f08d36d4
3d82fe08ad5526665d0478aee08c5113d79cc209
refs/heads/master
2021-08-08T05:48:01.993261
2020-08-11T04:58:12
2020-08-11T04:58:12
227,971,922
1
1
MIT
2019-12-14T05:35:02
2019-12-14T05:35:01
null
UTF-8
Python
false
false
4,508
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import os import os.path as osp import sys import json import time import numpy as np import h5py import pprint from scipy.misc import imread, imresize import cv2 import torch from torch.autogr...
[ "mwb@zju.edu.cn" ]
mwb@zju.edu.cn
450df24a0679c4015376c3e8d2f9ac476ba74b85
c96735e137fde34ee3fab346c0c4e1e2e282cdb8
/velkoz_web_application_django/dashboard_core/views.py
ad26600b9015bfe425dbb8cac9b65af3f7783344
[ "MIT" ]
permissive
MatthewTe/velkoz_backend_applications
ff6a382f40a8b1113740cd5fd3e590566b892935
023dbcfbf64a79316e389b109e8a2069a2a8f7cc
refs/heads/main
2023-01-21T23:24:24.976751
2020-11-30T03:31:07
2020-11-30T03:31:07
303,871,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
from django.shortcuts import render # Importing database models: from .models import ExternalDatabase # Main index/home page: def main_index(request): """ The main index method is used to render the main html template for the django project that summarizes the status of all the connected external database...
[ "teelucksingh.matthew1@gmail.com" ]
teelucksingh.matthew1@gmail.com
64ee8b22eff52784e22e086e13d62ef9fbf0f99e
7a71a046ec75a1a8b33465371cea21f393bf2102
/untitled folder/numbers.py
ae82f4a02b2bddded09389e0d149229b276a4772
[]
no_license
huda88/ALGO
a23cb5d66a2abdb58454c4f342385d72c5776b20
86d664f9d7ec9940ebfdad2e5ff943ffb6c00c65
refs/heads/master
2021-01-19T16:50:20.467957
2015-05-05T08:48:44
2015-05-05T08:48:44
35,088,231
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
import sys A=[] for line in sys.stdin: for word in line.strip().split(): A.append(int(word)) total = 0 mi = A[0] ma = A[0] for x in range(len(A)): number = (A[x]) total += number if number < mi: mi = number elif number > ma: ma = number average = float(total) /len(A) ...
[ "julia.gast@hotmail.com" ]
julia.gast@hotmail.com
827e3cb4d173d05081ecd59185cc57b8c17ceb51
7f0fc279a87cce4a50d726103559ba596cc578dd
/my_test_pb.py
1014305d272c09c423d428f3e1c0873e8cfce3f5
[ "Apache-2.0" ]
permissive
yylcandy/ML-KWS-for-MCU
c0bac93e547f3806dfd4bae180e471cb2278eb87
83657bb7ea7847cd7d61ba5a039a365d1379f0f8
refs/heads/master
2020-08-09T15:40:00.089097
2019-10-17T09:55:13
2019-10-17T09:55:13
214,116,889
0
0
null
null
null
null
UTF-8
Python
false
false
11,364
py
# Copyright 2017 The TensorFlow 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 # # Unless required by applica...
[ "candy.yuan@timesilicon.com" ]
candy.yuan@timesilicon.com
e8f3976e2b6dcc07cb4fe0b885c28f90cd4437d2
27df5a1e656803be5e9330283dd0d45d53c3d33c
/python/lovetriangle.py
672169c91c90d648944d462a1911bed796bb8e3d
[]
no_license
Gowtham-M1729/HackerearthPrograms
6588e46c72604a169d7303d74d47850a41153608
7ea8131c5fa1e13cf0afe5248305246a6b26793e
refs/heads/master
2023-07-11T08:24:21.303599
2021-08-16T18:07:44
2021-08-16T18:07:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
def sol(k) if(k<9): return k; else: return k%9+10*fun(k//9) while True: try: i =int(input()) print(sol(i)) except EOFError: break
[ "gowtham1842001.com" ]
gowtham1842001.com
5c7ce685f81772301dbea7562573aa722012d178
5d07b568f7237343a4d2eea946474829f5797d0f
/spider.py
46ea117a0f474328351de31a321baa2f6640ef31
[]
no_license
LiHedog/crawls-sougou-s-wechat-article
eff526837a1bca126558bf464acc2536dc2af35f
a692e876aee33bc5f052b159f9c5cb432e4dcc04
refs/heads/master
2020-04-28T03:53:02.745382
2019-03-11T08:26:04
2019-03-11T08:26:04
174,955,450
1
0
null
null
null
null
UTF-8
Python
false
false
5,035
py
from urllib.parse import urlencode import requests from requests.exceptions import ConnectionError from pyquery import PyQuery as pq import pymongo client = pymongo.MongoClient('localhost') db = client['weixin'] base_url = 'https://weixin.sogou.com/weixin?' headers = { 'Cookie': 'SUV=1545909958456327; SMYUV=1545...
[ "kendedonglan@gmail.com" ]
kendedonglan@gmail.com
04d18211b9700e6ac030a2709df3e0b16d47d74a
e1c36cb4ceb7edd7e6780b96e148ab7e2d0d140c
/.venv/bin/black
d7f4a080fee4d4a5dee07405382efe8e12c097bc
[]
no_license
dengyijia/chicago
e0c89ad9efaa32bfa019fafef5efbbfcb08c10d9
4a8f74ca7348db94392f780114b8c6f8b6d24920
refs/heads/master
2022-12-15T15:50:39.134209
2020-09-10T00:18:03
2020-09-10T00:18:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
#!/Users/nasr.maswood/code/chicago/.venv/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'black','console_scripts','black' __requires__ = 'black' 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]) sys.exit( ...
[ "nasrmaswood@gmail.com" ]
nasrmaswood@gmail.com
e4a8b6985f4178e773dbf0b1bbf7f2a5edaf1dd7
13391bb116ca5e4dcee49c58029857c1c419e5fb
/goc_client/v1/client.py
1a4ca066184baaf6644caa84a9a88dfdd8849c46
[]
no_license
Nigo-Liu/Python
cb501ed606f9019ec01ca646fdd2cdc07f3c2ee1
56fb0732ca468aa792cbd060e40fedbadbc5a649
refs/heads/master
2021-06-26T19:30:40.210429
2020-10-13T07:11:11
2020-10-13T07:11:11
154,466,751
2
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
# coding=UTF-8 from gocloud.client.v1 import logs, categories, solutions, images, servers from gocloud.client.v1 import groups, volumes, users from gocloud.client.v1 import sites from gocloud.client.v1 import snapshots from gocloud.client.v1 import networks from gocloud.client.v1 import lbs from gocloud.client.v1 impor...
[ "liuchunlin@aol.com" ]
liuchunlin@aol.com
012a97e548d3dc1165108940cd9f55b4cebb3037
2ad5bcf1c03cd6e20a85bd3b1d7a01cca8767bdc
/Device_Library/device_query.py
5e7a427227f5e64954eae52df582bdcda05a735d
[]
no_license
koarakawaii/Device_Library
a8285e36a1354dfb439d3b3bf1fc98964d05f236
d3ce870834747801e640232b5827b44a08e43f8e
refs/heads/master
2023-01-24T13:06:41.707745
2020-11-18T20:07:31
2020-11-18T20:07:31
283,691,207
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
#!/usr/bin/env python # coding: utf-8 import pyvisa as visa def GPIB_QUERY(): rm = visa.ResourceManager() print(rm.list_resources()) return rm
[ "arahaguojnestore@gmail.com" ]
arahaguojnestore@gmail.com
cde4e5f1879a219342123c077b672b7d4ac43dc2
ab5b1cdd69920a9bb6333082c45cf4a88f521fa5
/part1.py
45f89685bb941ce7089c9e743cdc0fb9ddef4d37
[]
no_license
mgillespie19/machine_learning_attackLab
e87e2822cdeed7be173235656264188f23725caf
0c564bb6511880e6c5dc839126c184634f3f9ad5
refs/heads/master
2020-05-04T22:04:51.809507
2019-04-04T14:24:11
2019-04-04T14:24:11
179,498,754
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
#ignore complex numbers going into the matrix import sklearn from sklearn import preprocessing from sklearn.ensemble import RandomForestRegressor import numpy as np import csv f = open("Lab8_feature_data.csv") f.readline() data = [row for row in csv.reader(f)] for i in range(0, len(data)): for j in range(0, len(...
[ "max.gillespie10@gmail.com" ]
max.gillespie10@gmail.com
69bc3d840fa879e2cb72dd93b872aef1558f5ca7
5db3009eb36afe7110ed5402be3a9e570c58c540
/my_plugins/YouCompleteMe/third_party/ycmd/ycmd/completers/python/hook.py
875d081eac70987e439d832a1fbf917bbf0c8689
[ "GPL-3.0-only", "GPL-1.0-or-later", "MIT" ]
permissive
imfangli/vimrc
ced2c6caece1cf19421c6ea7deb017bec4ca3a27
d2d14e7d083d70cc8627ddccb5b99c53c3c38be3
refs/heads/master
2022-02-01T00:34:31.855421
2022-01-22T15:57:28
2022-01-22T15:57:28
211,766,038
2
0
MIT
2019-09-30T03:15:03
2019-09-30T03:15:02
null
UTF-8
Python
false
false
1,106
py
# Copyright (C) 2011, 2012 Stephen Sugden <me@stephensugden.com> # # This file is part of ycmd. # # ycmd is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) a...
[ "fangli@zhiai2019.com" ]
fangli@zhiai2019.com
996c6280c55b81f5acba29c1857b5b484ee57cec
eb60abe836cb21276c3b41fb8584a5c2f707fd8f
/module1-introduction-to-sql/buddymove_holidayiq.py
acacb1b0d431b7f920d6f8620e69abda42885b0d
[ "MIT" ]
permissive
ToddMG/DS-Unit-3-Sprint-2-SQL-and-Databases
edc55be7ee60072ae3b06eb7977a755f1402a965
7e226039d14e7771d2b6c0b8336b1bc19d9121db
refs/heads/master
2020-08-08T06:44:10.694545
2019-11-07T20:11:03
2019-11-07T20:11:03
213,762,739
0
0
MIT
2019-10-08T21:53:59
2019-10-08T21:53:59
null
UTF-8
Python
false
false
1,070
py
import sqlite3 import pandas as pd df = pd.read_csv('buddymove_holidayiq.csv') print(df) conn = sqlite3.connect('buddymove_holidayiq.sqlite3') df.to_sql('review', con=conn) q1 = conn.execute('SELECT COUNT(*) FROM review').fetchone() q2 = conn.execute('SELECT COUNT(*) FROM review WHERE Nature >= 100 AND Shopping >= 1...
[ "ToddMG@users.noreply.github.com" ]
ToddMG@users.noreply.github.com
0a0656216cb0cf8cdfd429c62ce6abd151e9fb21
49945f5630ed074922876836d5af9f6faf71d085
/assessing.py
04b93c25eadd2d9334596713ed33d3cb1957ddb6
[ "MIT" ]
permissive
nealchenzhang/TAAlgo
492881abd38845ae018d589b60325ee3171c7e95
92159efcc5d657a9caf79a026491e1decf406b06
refs/heads/master
2020-04-16T22:43:00.492209
2019-05-21T15:19:20
2019-05-21T15:19:20
165,980,496
2
2
null
null
null
null
UTF-8
Python
false
false
6,697
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 12 15:41:25 2019 @author: chen zhang """ import numpy as np import pandas as pd from scipy import stats # Holding Periods # Price target # Predefined time limit # Stop loss # Passive or fixed time periods # Assessing the Performance of Trading Signals def pair_test(...
[ "nealzc1991@gmail.com" ]
nealzc1991@gmail.com
8f375307e59ae9ff7ea9e2e6b1ef4ab6b09bd545
1d5ee66a920a218f2816fbb1f501e4f2f3f88948
/class_vis.py
3d48696ea23458d55eda97e93f84d193ee8182cf
[]
no_license
weschurch/ud120
5ba3852c1a8bd1e61f6578f0433fc97311bfeeb2
67a15e2d8315a33eb79bfcb9464b01b41bc5af3a
refs/heads/master
2021-06-11T12:23:29.405751
2017-02-06T03:14:01
2017-02-06T03:14:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,800
py
#!/usr/bin/python #from udacityplots import * import warnings warnings.filterwarnings("ignore") import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import pylab as pl import numpy as np #import numpy as np #import matplotlib.pyplot as plt #plt.ioff() def prettyPicture(clf, X_test, y_test): ...
[ "andridsasmita@gmail.com" ]
andridsasmita@gmail.com
efa07210ff6f08245e4804bed6abdae003e850bc
912ab3a9f3d44a025e48ef2e01af968e980e15a8
/main.py
6f116d84b453d0eb80c0b769fb4d370264fd8ff5
[]
no_license
asutd/youtubecomments
c9b36852baa0c7f04413c53da0a503038812cb40
ff6813801d7146ef6da454f948783d3b8f6079ae
refs/heads/master
2022-07-27T17:02:41.769654
2020-05-16T22:55:07
2020-05-16T22:55:07
258,897,598
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
#main.py from selenium import webdriver from time import sleep from secrets import pw from secrets import login class InstaBot: def __init__(self, username, pw): print("init") self.username = username self.driver = webdriver.Chrome() self.driver.get("https://www.instagram.com/accoun...
[ "pefilippov@ozon.ru" ]
pefilippov@ozon.ru
87104cbaa2ce1c05efb37c6933faa6a5e6390573
bb62f7d2043e22721a9abaaf9424d6fbb87862f2
/storage/fase2/team02/storage/DictMode/modulo_bd.py
c861be063e2be773bda689a4bed44ac0b015175f
[ "MIT" ]
permissive
sandymerida/tytus
7499fb306321f7563b773a8c6dda2cb5e46bb819
a26c9a0ad55a36c7579dfd8f457eeff8b1a39186
refs/heads/main
2023-02-17T15:02:55.143120
2021-01-09T20:22:55
2021-01-09T20:22:55
320,125,119
1
0
MIT
2020-12-10T01:28:12
2020-12-10T01:28:11
null
UTF-8
Python
false
false
912
py
# License: Released under MIT License # Notice: Copyright (c) 2020 TytusDB Team # Developer: Andree Avalos from storage.DictMode.singleton import existDB, insertDB, alterDB, dropDB, showDB, dropAll def createDatabase(database: str): try: if existDB(database): return 2 ...
[ "briansmor09@gmail.com" ]
briansmor09@gmail.com
b7d4bf416177c3cf97113ed4ad53ad3f3c2941a0
beb638f3422f9465a7fd1d2e95958a9f87f09995
/offline1/1505071.py
a9c8176af5243cfe0031f60dbd0fec470aaa0875
[]
no_license
Mritunjoy71/CSE_474-Pattern-Recognition-Sessional
8604e1e84f4c8279a2fa2c7d093313895c5a36d1
b3d62abb7b4093b05ead7c82ace6f724b1a0654b
refs/heads/master
2023-02-19T20:44:40.079396
2021-01-21T21:23:46
2021-01-21T21:23:46
331,758,434
0
1
null
null
null
null
UTF-8
Python
false
false
5,365
py
import numpy as np input_file = open("trainLinearlySeparable.txt") input_lines = input_file.readlines() d_feature = 0 m_class = 0 n_samples = 0 train_LS = [] line_count = 0 for line in input_lines: if line_count == 0: L = line.split() d_feature = int(L[0]) m_class = int(L[1]) n_sa...
[ "you@example.com" ]
you@example.com
5ffa1358609b67c52360b1bab4f76c8dc2094062
9c18ba32a6d927cf12b79f8ac96a1a2918e5564e
/funciones1nivelReturn.py
2db532de9bcfd97b53c5b8bc5d36166c9daccad0
[]
no_license
formesdesign/m02_bootcamp
e96105d276fc67e885ca7df85232594a57d8ab7a
7b0e7f3f04dca9fcd44057d8cb514f3b8fe77d73
refs/heads/main
2022-12-29T01:46:36.239357
2020-10-17T10:59:36
2020-10-17T10:59:36
303,087,266
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
#*l elemtos d'una rai def maxi(*l): if len(l) ==0: return 0 m = l[0] for ix in range(1, len(l)): if l[ix] > m: m = l[ix] return m def mini(*l): if len(l) ==0: return 0 m = l[0] for ix in range(1, len(l)): if l[ix]...
[ "noreply@github.com" ]
noreply@github.com