blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
96e752ef58371284632e6104607d5315508c9bb6
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc016/B/4834420.py
fab45b44e4df201a1ef33eeb57c143fffed010ec
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
194
py
A,B,C=map(int, input().split(' ')) if A+B==C: if A-B!=C: print('+') else: print('?') elif A+B!=C: if A-B==C: print('-') else: print('!')
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
1f1b52c64bb4fa7cb05fa710e400b6eb82dfc8b4
02fd06563211f0098d5ae1acf8a28f8f80546d46
/CursoPython/practica_3.py
e8ad6f0cc576cda41011ecc28254ecd9887c3cb0
[]
no_license
HRN88/python
9cd078f29cc212ee5d19e6debd05d1ce494c654d
b092844daf8e7c65a319f0431845dddae967bb62
refs/heads/master
2021-04-27T00:25:17.317818
2018-06-01T12:40:39
2018-06-01T12:40:39
123,810,154
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
''' Realiza un programa que cumpla el siguiente algoritmo utilizando siempre que sea posible operadores en asignación: Guarda en una variable numero_magico el valor 12345679 (sin el 8) Lee por pantalla otro numero_usuario, especifica que sea entre 1 y 9 (asegúrate que es un número) Multiplica el numero_usuario por 9 e...
[ "gustavoheras.h@gmail.com" ]
gustavoheras.h@gmail.com
444afc706986e82c2c7fe90bcf186d3199b09e84
377bf89b212a75076ed533c9e030d029170eb885
/build/my_turtle/catkin_generated/pkg.develspace.context.pc.py
62dd85df2ac7590e1931b185258e3c3ce25428bb
[]
no_license
rezwanshubh/rez2-robtech
b6552d84ed9066f708dd8f58530bb18daeef97b2
1bcf5a9192c5b6332e215bafcbe4db95f7a6750f
refs/heads/master
2021-01-20T14:47:16.569917
2017-05-11T18:48:51
2017-05-11T18:48:51
90,658,845
0
0
null
null
null
null
UTF-8
Python
false
false
375
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 = "my_turtle" PROJECT_SPACE_DIR = "/home...
[ "shubhbd@yahoo.com" ]
shubhbd@yahoo.com
26c20e4780e62be0b0ecab519d78604fcbefea32
bef17e897dfb88108eb41bad73de92d843f02de8
/telegram_token.py
f8bc2a1fe69a8fd85bf588954b82c90e3d8a4181
[]
no_license
Bogoyavlenskaya/my_bot_classify
5fd449fa77696269929a04421012d6dac1558f83
b78925401a59b36a980ab9d7a81ec69692fd3f47
refs/heads/master
2020-06-09T01:24:09.389269
2019-06-27T19:22:04
2019-06-27T19:22:04
193,342,513
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
27
py
token = 'ваш токен'
[ "noreply@github.com" ]
Bogoyavlenskaya.noreply@github.com
36811f8219dbaded0d61e71c73332056b64cba72
e4806fe953cbb76a6baf1f27ae40562561014f36
/python_base/2019.1.21/practise6.py
068ec312de0bd481be8f8b1c960c5ced08aab9fa
[]
no_license
LaBravel/Tedu-code
701daa5f49ab42129db0a4684c8e7b3cbcbe1d65
9c93e9d88e940e627c7a3d1e8c2519035b462086
refs/heads/master
2020-04-27T16:33:55.535261
2019-03-08T07:27:29
2019-03-08T07:27:29
174,486,026
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
def mymap(fn,iterable) : for i in iterable : yield fn(i) L = [i for i in map(lambda x : x * 2,range(10))] print(L)
[ "463662798@qq.com" ]
463662798@qq.com
6e42bcd24052180e879951ee01f26b90c8bfc243
4f10dff7d20520dcff239372b29586a5e6dbd54b
/transcripts_crawler_v2.py
4a9ac0fe2dc4222a036ced1e709706355c168429
[]
no_license
maxwelllee54/ProjectBigData
4f46cfa208a20940316aeac746e05393d6cdf49a
51b8d0283ac82a141f931164eeb1d531ab431798
refs/heads/master
2021-01-19T05:47:06.408015
2017-05-05T03:21:44
2017-05-05T03:21:44
87,446,867
0
0
null
null
null
null
UTF-8
Python
false
false
4,555
py
############################################################################ # Instruction: transcripts crawler on SeekingAlpha.com # # Version: 2.0 # # Date: April 08 2017 # ############...
[ "maxwelllee54@gmail.com" ]
maxwelllee54@gmail.com
a7ebe38383c9e72e6e66c61a2a2f22fceb3db32e
6d42732f98cbbc50f6a66e95370b163d4701bc60
/CCD/CCD/main/migrations/0007_privateannouncement.py
7fbd1f0735dd35c59dc321383947efdfd80f9382
[]
no_license
DHAWAL812/CCD-Portal
07c7bf16268015f8ebe0dd6a77e9a81fa9871156
d304c8161ef69cbea069fb6cac85c0a1dbb146a9
refs/heads/master
2023-01-02T21:44:45.205186
2020-02-21T17:25:40
2020-02-21T17:25:40
286,717,458
0
1
null
2020-08-11T10:41:54
2020-08-11T10:41:53
null
UTF-8
Python
false
false
866
py
# Generated by Django 2.2.5 on 2020-02-16 11:34 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('main', '0006_auto_20200215_0558'), ] operations = [ migrations.CreateModel( ...
[ "siddhart18a@iitg.ac.in" ]
siddhart18a@iitg.ac.in
4341fe83287d4e4e25701edd5898fa04b419acde
d779f3deff16d1c1458740b42452aedccf8cb1f4
/multiclass_tracking/tracker.py
64a26730881b9b7e71d2105efc39d80eb32a6e80
[ "MIT" ]
permissive
Pandinosaurus/multiclass-people-tracking
84f827e63ef1252e6cb2da93554bbca99d7586fc
0768745a66e392c96a3df17a4e78cb33b5d851a3
refs/heads/master
2022-01-12T16:39:01.238776
2019-02-18T15:11:19
2019-02-18T15:11:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,646
py
#!/usr/bin/python import numpy as np from EKF_with_HMM import EKF_with_HMM from scipy.stats import multivariate_normal from image_projection import ImageProjection import logging logger = logging.getLogger(__name__) class Tracker: def __init__(self, ekf_sensor_noise, hmm_observation_model, use_h...
[ "kollmitz@informatik.uni-freiburg.de" ]
kollmitz@informatik.uni-freiburg.de
dea9c6913296fbbb51f69b686c834f4d74357686
56ca9cbd29bf0bbd545b5857530fbbe8c6ffff95
/docker_sdk_api/shared/helpers/get_model_zip.py
11a22b195401a97025bc1265b213cb97ff210032
[ "Apache-2.0" ]
permissive
hadikoub/BMW-Semantic-Segmentation-Training-GUI
b34bf819942dbe20a3a6df2bc44b6435ca3e6754
902f35a7e367e635898f687b16a830db892fbaa5
refs/heads/main
2023-06-13T05:00:55.631277
2021-06-30T15:34:26
2021-06-30T15:34:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
import os from typing import Dict def get_downloadable_zip(folder_path: str) -> Dict[str, str]: servable_models: Dict[str, str] = {} for root, dirs, files in os.walk(folder_path): for directory in dirs: for f in os.listdir(os.path.join(root, directory)): if f.endswith(".zip...
[ "123.hadikoubeissy@gmail.com" ]
123.hadikoubeissy@gmail.com
e21a6e57ceb16bb0d8877544b56dca9af3292c5c
17c14b758959cdceec0dce8f783346fdeee8e111
/chap05_nlp/attention_seq2seq/tf1.1/j_min_test.py
4c8c39e7bcad969050811c59eff16ddf3db6c40f
[]
no_license
yurimkoo/tensormsa_jupyter
b0a340119339936d347d12fbd88fb017599a0029
0e75784114ec6dc8ee7eff8094aef9cf37131a5c
refs/heads/master
2021-07-18T12:22:31.396433
2017-10-25T01:42:24
2017-10-25T01:42:24
109,469,220
1
0
null
2017-11-04T05:20:15
2017-11-04T05:20:15
null
UTF-8
Python
false
false
18,542
py
# To plot learning curve graph #%matplotlib inline import matplotlib.pyplot as plt # for pretty print from pprint import pprint # for tokenizer import re # for word counter in vocabulary dictionary from collections import Counter # for checkpoint paths import os # for fancy progress bar from tqdm import tqdm # Te...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
5e51f31efe6e42031b193cc548e42e79af4e65f6
053cf1be6a56370de6e2a18147ed59401ec742b1
/kochira/db.py
18857ef71ce182b1bbde032907f32e56522cb121
[ "MS-PL" ]
permissive
nolanlum/kochira
7b6023ecf283e4d20f6e1cafc4dc956c2df79d8d
0158a6877930f45ff6946770a3fb8a041117fe54
refs/heads/master
2022-08-06T09:28:50.956815
2022-05-25T23:20:04
2022-05-25T23:20:04
16,592,868
0
1
MS-PL
2019-05-13T22:02:05
2014-02-06T20:35:14
Python
UTF-8
Python
false
false
152
py
import threading from peewee import Proxy, Model, SqliteDatabase database = Proxy() class Model(Model): class Meta: database = database
[ "tony@rfw.name" ]
tony@rfw.name
5565fd2ad6e0ac2e727b11714d0af064b4bca49c
39aced2a49c6e911692536f620c994f553caa1d0
/check_mk/openstack/common/rpc/__init__.py
619b15f158e640693eea7c8410a952aca2df6087
[]
no_license
linvictor88/check_mk_server
ba9bd0e376fc825c9a3dbb045808ee1ce688af46
f279c8eb56795839872c7cfce60584d4f2650ba7
refs/heads/master
2021-01-01T06:38:20.120820
2014-01-16T04:00:58
2014-01-16T04:00:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,768
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # Copyright 2011 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not...
[ "lin_victor@163.com" ]
lin_victor@163.com
9fb6b68b1ee1e3a80cba15f99763810f7486deed
37d6ba9865ff154ffe337b73a2fd6824874385d5
/job_client/jobs/test.py
d9615293c3ecf6aa78997a39a27448b669453464
[ "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
electronicarts/ava-capture
fc11291432153a58179c0eedce99f537e9c13bbf
fc6a1f89706309139f5ce0976e5a29969158a191
refs/heads/master
2023-07-05T20:31:03.083021
2022-12-07T22:19:16
2022-12-07T22:19:16
100,387,988
63
16
NOASSERTION
2023-09-04T23:33:41
2017-08-15T14:52:07
Python
UTF-8
Python
false
false
5,861
py
# # Copyright (c) 2017 Electronic Arts Inc. All Rights Reserved # from __future__ import print_function from __future__ import absolute_import from builtins import object from .base import BaseJob import time import subprocess import logging import json import os class JobTestFixture(object): def __init__(self...
[ "edanvoye@ea.com" ]
edanvoye@ea.com
a66069a913da5d01f77e6db578d958cc20704f7b
2e336a1c8876f17588e8144114b2b1bacf4d4f66
/fde_cmp/old_src/old8_py_source/parse_xde.py
40b191f41d99678d2505d735b6a3994237d20757
[]
no_license
darlyz/FelacGenerator-py-version
f67c7032f04d587e34f9e538d3dce4377fd2954b
bcd47ade1fa95182a0ff9363b6a49b45bc746d79
refs/heads/master
2020-05-29T14:30:44.451730
2019-08-30T07:37:59
2019-08-30T07:37:59
189,195,226
1
0
null
null
null
null
UTF-8
Python
false
false
24,850
py
''' Copyright: Copyright (c) 2019 Created: 2019-3-30 Author: Zhang_Licheng Title: parse the xde file and check it All rights reserved ''' from colorama import init, Fore, Back, Style init(autoreset=True) Error_color = Fore.MAGENTA Warnn_color = Fore.CYAN Empha_color = Fore.GREEN import re as regx pre_...
[ "darlyz@163.com" ]
darlyz@163.com
3addcd5596e8abe50095bbc5edb726f467a0da2a
1cf12fe24ea501f5b028f76e103235e6c9bb61d1
/Stage3/stage3_hw/conf/settings.py
bbe2917e6c5014d7f488240c2335a3be08e9b52a
[]
no_license
MichelleYang2017/python_camp_note
5961d895251fc9569f29fb35f36fba9c76808ee0
0f68a1c4a2c10a29be5741974f9225c9032f69c1
refs/heads/master
2020-06-30T21:19:13.791402
2019-09-16T13:29:27
2019-09-16T13:29:27
200,954,366
1
1
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time :2019/8/27 13:49 # @Author:Michelle Yang # @File :settings.py import logging class Configuration(): def __init__(self): self.log_file_path = '../log/access.log' self.user_filepath = '../db/user_info.txt' self.school_file = '../db/scho...
[ "michelleyang2017a@gmail.com" ]
michelleyang2017a@gmail.com
8c02828757de239f0ead038ffaf9d6b377d4e6a5
9b9c23561583e5f7ead97be5f0771bfbd82f3111
/takeout/test_Case/testLogin.py
c05379fc00724e45103b00caf100253218c3c68f
[]
no_license
chensiting/Takeout-
3260b6f4bab1bb5a35f79b8572d6e5bfc887b070
f2f87d6de6ce7efd0ae71e87ab690aedd1c6b442
refs/heads/master
2023-03-07T17:58:31.723561
2021-02-25T19:51:50
2021-02-25T19:51:50
341,072,768
0
0
null
null
null
null
UTF-8
Python
false
false
2,303
py
#-*- coding: utf-8 -*- #@File : testLogin.py #@Time : 2021-02-25 1:52 #@Author : chensiting #@Email : 475707078@qq.com #@Software: PyCharm import json #1- 读取数据 from takeout.tool.getExcelData import get_excelData,set_excelData #导入excel表数据 workBookNew,workSheetNew = set_excelData() #元组 #2- 关联请求 dataList = get_...
[ "475707078@qq.com" ]
475707078@qq.com
936522237d18094ee546cb518d80f91f14a54951
8d55c88625b838c46381fee6f0b96de009c9d127
/creon_api/scripts/crawl_daily_minute_price.py
e99e0972f37b04764ef73cccde9030f7d3e47ea4
[]
no_license
woojae-jang/creon-api
fac544ab871ef54e66a2d2ab76bda96fbac64030
b424766a157e9ab118a9d77e61881540b312d93d
refs/heads/main
2023-04-09T02:51:09.940878
2021-04-22T22:04:07
2021-04-22T22:04:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,975
py
from datetime import datetime import pandas as pd from pandas.errors import EmptyDataError from creon_api.cybos import Cybos from .. import utils from ..config import MINUTE_DATA_PATH from ..logger import logger def get_not_available_code_list(path: str) -> list: try: code_df = pd.read_csv(f"{path}.csv", ...
[ "dnwogo@naver.com" ]
dnwogo@naver.com
c155897cccd8137d1996ec92abda932c6816020d
3dcdc2c1b59fb790be09689e70677ce0f48046e5
/nacc/ftld/ivp/forms.py
adf9791f341c1daa5cd8ee84ff328e2bcb70b73f
[ "BSD-2-Clause" ]
permissive
utsw-bicf/nacculator
d517d1ae3257291ea954c7839c44645a64787866
1e8eb9b4029c7c52b242c76f941a1572577d300e
refs/heads/master
2021-01-06T16:50:32.602080
2020-07-28T16:10:14
2020-07-28T16:10:14
241,405,424
0
0
BSD-2-Clause
2020-07-28T16:10:16
2020-02-18T16:06:04
Python
UTF-8
Python
false
false
84,782
py
############################################################################### # Copyright 2015-2019 University of Florida. All rights reserved. # This file is part of UF CTS-IT's NACCulator project. # Use of this source code is governed by the license found in the LICENSE file. #######################################...
[ "s.emerson@ufl.edu" ]
s.emerson@ufl.edu
888533314b0d894a570b7d8f182cb6048b8f53d6
161fa0c3cec32aa48d11a3fdc15f78228465d1e4
/twitter_listening/urls.py
98987a1340691664e30531fda31574136f86e6c8
[]
no_license
diogoeverson/Data-Sci-NLP-Python-TwitterListening
9248ecb62d45c5493b47b31e61ad794a853590f2
3d8e2438b9f039d4c8db5a76125812b46b04ddc9
refs/heads/master
2020-07-14T05:00:19.691106
2020-01-09T18:39:18
2020-01-09T18:39:18
205,244,244
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
from django.urls import path from . import views urlpatterns = [ # ex: /polls/ path('', views.index, name='index'), # ex: /polls/5/ # path('<str:id_str>/', views.detail, name='detail'), ]
[ "diogoe@sebraemg.com.br" ]
diogoe@sebraemg.com.br
df86c139af6fab5c6c3400d6c1cd3ef1195631bb
1cbb97508b0658f57f99a4fd77c79150d2ef5282
/MFNotif/MFNotif/urls.py
51e8305d8c8edc35cb692c6ca9d1a0d3bd08ea9c
[]
no_license
muralinair/MFTnotif
b669be717f42a488586eebce3c22805059576fac
f95960ca78df985ba489df8221304e81e4109ebe
refs/heads/master
2020-08-15T05:01:28.300162
2019-10-15T11:46:48
2019-10-15T11:49:08
215,284,193
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
"""MFNotif URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "mura.lee@hotmail.com" ]
mura.lee@hotmail.com
1a9df49ffd28b6f3b6895a4964d4bd70eb2b8d61
f5fb5e7c5916dee71691f84a48c4349f6135fb2f
/wqxwq/serializers.py
ad5fdea4cb3fb834badd6b645eb4eafad2e5c91c
[]
no_license
heigeo/wqxwq
6ce925680e0997abfcb86a2da5e80e78f301b668
f4e224420befbea02c6eea89ffcac76c94c562b7
refs/heads/master
2021-01-19T23:44:05.759060
2017-04-21T20:38:33
2017-04-21T20:38:33
89,023,536
1
0
null
null
null
null
UTF-8
Python
false
false
6,075
py
from wq.db.rest.serializers import LookupRelatedField from wq.db.patterns import serializers as patterns from vera.results import serializers as vera from vera.series.serializers import EventSerializer, ReportSerializer from rest_framework import serializers from .models import Characteristic, ProjectParameter, Result ...
[ "andrew@wq.io" ]
andrew@wq.io
0a51ec040e936c8867f8cd6b3c33a3b9715b14b5
8e4a062696df5b34e366f8e5fc9b8855cfe20fad
/basic_part16_PriorityQueues.py
49c0019548a6a35f10ae388b78384d1b9ff39c9a
[]
no_license
joon2332/algorithms
4714202d0b63b278998b7b9ac5ad07309ef7de0d
958d4db5ed335fcd6bbcecae8a27a63321d8785c
refs/heads/master
2022-01-19T06:44:24.608699
2019-07-29T16:19:50
2019-07-29T16:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,070
py
(16) 우선순위 큐의 enqueue 연산 구현 앞선 강의에서 소개된 양방향 연결 리스트의 추상적 자료구조 구현인 클래스 DoublyLinkedList 를 이용하여 우선순위 큐의 추상적 자료구조인 클래스 PriorityQueue 의 구현을 완성하세요. 코드의 윗부분은 양방향 연결 리스트를 이용하기 위한 클래스 Node 와 DoublyLinikedList 의 구현입니다. 그대로 둔 채, 아래에 있는 class PriorityQueue 의 메서드들 중 enqueue() 메서드의 구현을 위한 빈 칸 채우기만 완성하면 됩니다. [참고] 함수 solution() 은 이 클...
[ "noreply@github.com" ]
joon2332.noreply@github.com
59138a452aa6f52dddc71276fa460e4d147e0f67
528eeeca0c60cbcd03d1a436558b493319c5e5b3
/guias_cacao/forms.py
a38258a41fd8fa6095ad70945b3294ef780c900b
[ "MIT" ]
permissive
CARocha/ciat_plataforma
9ce40d95425a6e64a79c6f39ff6c016563c93761
76c11b835aae3d0c8153d97e31b7672f8ac78582
refs/heads/master
2021-01-09T07:03:57.853079
2018-11-20T04:48:04
2018-11-20T04:48:04
28,819,215
0
0
null
2015-01-05T15:48:01
2015-01-05T15:48:01
null
UTF-8
Python
false
false
6,346
py
# -*- coding: utf-8 -*- from django import forms from lookups import ProductorLookup, TecnicoLookup import selectable.forms as selectable from .models import FichaSombra, FichaPoda, FichaPlaga, FichaPiso, FichaSuelo, FichaVivero, FichaCosecha, FichaSaf, FichaCierre, Ciclos from mapeo.models import Persona, Organizacion...
[ "crocha09.09@gmail.com" ]
crocha09.09@gmail.com
6d7e1783aa3b37265fac8b94136080d6dbc363c1
67c630edd5818ed46df1571d6a9cf842ebec6d52
/programming_1/test.py
d8530753fc7759b049c84aeba8e65118077dfd0e
[]
no_license
TanHaus/Shopee-CodeLeague-2020
134af398391dd5149ee3531e0672c6d0539695d3
e0c624cc4a1d024f973a85691df77d451c1d2af2
refs/heads/master
2022-11-24T04:00:35.668725
2020-08-09T05:34:38
2020-08-09T05:34:38
271,984,151
2
0
null
null
null
null
UTF-8
Python
false
false
46
py
from script import something ## Test cases
[ "gau.nernst@yahoo.com.sg" ]
gau.nernst@yahoo.com.sg
ef2ae58e1ca06fb83af4b8bff9f86384c38c4d9d
c581df02f90070fca266034cc33606fc72a899d8
/setup_pyi.py
b6ce4efd1da4718f495cc7c13a11b403d49c9f1f
[ "Apache-2.0" ]
permissive
elnino217/lightnovel-crawler
cf9e3da411b1fd86c60a3758feff5cde000d1ae5
aac875912b63940c40bedabba2702382726dd1fb
refs/heads/master
2020-07-06T14:19:28.292565
2019-08-16T16:21:46
2019-08-16T16:21:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,653
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import shlex import shutil import sys import platform from PyInstaller import __main__ as pyi from setuptools.config import read_configuration dir_name = os.path.abspath(os.path.dirname(__file__)) output = os.path.join(dir_name, 'windows') def setup_command()...
[ "dipu.sudipta@gmail.com" ]
dipu.sudipta@gmail.com
3d33041c42490353364b13e0157be71f63979875
9d70af19ad421d2c2377b9c200ac3001095d90c6
/modoboa/limits/handlers.py
29bb1b7769434aaae8d83d57782916eefed9dbcc
[ "ISC" ]
permissive
maniacs-oss/modoboa
8ca503a9d8733cac9e402efd36def530f2a85ea9
ed676850d2cf13729e197fc81d04748c2ed2c452
refs/heads/master
2020-12-30T13:45:51.418420
2017-05-05T11:50:46
2017-05-05T11:50:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,589
py
"""Django signal handlers for limits.""" from django.db.models import signals from django.dispatch import receiver from django.template.loader import render_to_string from django.contrib.contenttypes.models import ContentType from django.utils.translation import ugettext as _ from modoboa.admin import models as admi...
[ "tonio@ngyn.org" ]
tonio@ngyn.org
5094283d1fca877bed8c4de315752f0d0b712ca8
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_reviling.py
522a3e3cd1f0f8ada6c930e73f4dea4c008b3e8c
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
#calss header class _REVILING(): def __init__(self,): self.name = "REVILING" self.definitions = revile self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['revile']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6be66384b3f460b01a19e0d74416fecba6aa10c7
0b01e2d73c4bc986a61b4db73d94130f587f34ca
/Task-2.py
045b6cae1d13823c048adffa220229f8cbbeae02
[]
no_license
fanashole/prebootcamp-coding-exercises
cc6b0ac2ada78f4fb7ba3e749a6bb2047e49b85e
f2973495ed864e5a130eb13e3879ef3deab58fd0
refs/heads/master
2023-01-19T11:34:47.837304
2020-11-19T10:53:12
2020-11-19T10:53:12
312,293,040
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#Task two x = 1 + 1 * 2 y = (1 + 1) * 2 z = 1 + (1 * 2) a = 1 + 1 * 2 / 2 b = (1 + 1 * 2) / 2 #Printing out the above variables print(x) print(y) print(z) print(a) print(b) ''' Output: 3 4 3 2.0 1.5 '''
[ "fanashole@gmail.com" ]
fanashole@gmail.com
0d10323679ade904d20729007426576d64a8f32b
9f140439c874ae78e981a1e36231d2e9d238c55e
/airi_pic/airi_pic/pipelines.py
53238e942e82123a4d6ca8f75a608257bc8abe4e
[]
no_license
HenryHYH/PythonDemo
13bf3dde41bd04f30234ef3f88a670c87570c80d
a24870ffcd627b3ae6ee810c7430f88603eef974
refs/heads/master
2020-12-02T09:59:18.185097
2017-08-16T03:20:07
2017-08-16T03:20:07
96,671,084
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html from scrapy.pipelines.images import ImagesPipeline from scrapy.exceptions import DropItem from scrapy import Request class Ai...
[ "henry.hyh@gmail.com" ]
henry.hyh@gmail.com
4e2346f05a47a524aa6a9565cdfcc94b4a206031
0a60d0db697b5b4ae7f4e49a96488d45b4c24ee4
/lab3/lab3_1.py
df50ce1e0fa6a3b1b66e7f365e31e7adf558ed20
[]
no_license
ilya89099/NumericalMethods
2eb31000074271cb795757a785ca018c2b165304
1f0ceb434b8a85822dd51a0b8fcbe858106e058d
refs/heads/master
2023-06-14T19:19:15.169671
2021-07-06T23:12:44
2021-07-06T23:12:44
383,618,915
1
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
import numpy as np import math import matplotlib.pyplot as plt def f(x): return np.arccos(x) + x points1 = np.array([-0.4, -0.1, 0.2, 0.5]) points2 = np.array([-0.4, 0, 0.2, 0.5]) def Lagrange(points, values=None, function=None): if values is None and function is None: raise Value...
[ "ilya.semenov89099@yandex.ru" ]
ilya.semenov89099@yandex.ru
dc89e9589026fb903b3ee0b26aaab55ee565f472
cad0ccba8d368819deeb9387966a74c4e67eb523
/movies/migrations/0001_initial.py
9c46fc8289d4aafd64dce6cc12a769d9008eff28
[]
no_license
hellogautam/moviedb-graphql
5295e3b6313bbec8535f3f04b2e62b374e3addfc
82368c2423e33d3735112b6c75087b5a11a449a7
refs/heads/master
2023-01-05T10:29:05.680780
2020-10-04T17:24:23
2020-10-04T17:24:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
# Generated by Django 3.1 on 2020-08-16 16:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ...
[ "gautamchawla1999@gmail.com" ]
gautamchawla1999@gmail.com
15c561a0d78f1f0e2c901b0e5aff9b97dc36dc26
82c1327f68180975b76238127edf40bb47410c40
/tomo_challenge/classifiers/GPz_classifier.py
47d370a75e4bdb42eeda7ea4fabf78aa971e54a5
[]
no_license
pwhatfield/tomo_challenge
ff3e251d083d19f0632ff233ca2c158d46befd03
09a16fa8ff0826b74302c0c40855aa29b4b00646
refs/heads/master
2022-12-09T18:40:42.430509
2020-08-31T21:53:41
2020-08-31T21:53:41
281,980,556
0
0
null
2020-07-23T14:53:46
2020-07-23T14:53:45
null
UTF-8
Python
false
false
5,102
py
""" This is an example tomographic bin generator using the code GPz Every classifier module needs to: - have construction of the type __init__ (self, bands, options) (see examples below) - implement two functions: train (self, training_data,training_z) apply (self, data). - define valid_op...
[ "noreply@github.com" ]
pwhatfield.noreply@github.com
aa09097d0e6f875e6dda633ffd0e23f331e9947a
65d1845bd0d675d2d03362475f5c3aafb0711ebc
/coursemate/forms.py
9b4191bf2c4ba9f1747ab55e9ca401a08302bf8d
[]
no_license
Joshua-Ramos/groupProject
94b77926e2f61f62a6cddd61e0a58ee6a65ee0cc
cf53f77bcb6f7e913990a74faa70d55ebcdf13cb
refs/heads/master
2021-01-22T08:28:34.462430
2017-05-07T23:52:25
2017-05-07T23:52:25
81,901,127
2
2
null
null
null
null
UTF-8
Python
false
false
115
py
from flask_wtf import Form from flask_wtf.file import FileField class UploadForm(Form): example = FileField()
[ "eeshugerman@gmail.com" ]
eeshugerman@gmail.com
0f8b5221c0d02b5eb1e407936ab54922dd259ecc
c0f808504dd3d7fd27c39f1503fbc14c1d37bf9f
/sources/scipy-scipy-414c1ab/scipy/optimize/setup.py
3beb5fb651785d6c52dbc725e68648b10b74fa55
[]
no_license
georgiee/lip-sync-lpc
7662102d4715e4985c693b316a02d11026ffb117
e931cc14fe4e741edabd12471713bf84d53a4250
refs/heads/master
2018-09-16T08:47:26.368491
2018-06-05T17:01:08
2018-06-05T17:01:08
5,779,592
17
4
null
null
null
null
UTF-8
Python
false
false
2,158
py
#!/usr/bin/env python from os.path import join def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration from numpy.distutils.system_info import get_info config = Configuration('optimize',parent_package, top_path) config.add_library('minpack',sources=[joi...
[ "georgios@kaleadis.de" ]
georgios@kaleadis.de
0f5c9a62e00a7cf653f23eb1865af53bf80ea4ca
0b6140d8ea5312cda9ed2412ac01cc36503ff2ba
/incrementality_sandbox/sandbox_paircounter.py
e83c64f4288a190e0af3628dda340b7bc18ea0a2
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SimonPreissner/fruitfly
841b48eb82e2357e3ae8366a384f1b5a95960ff1
99dffa7c1ed31da39513eda1ddacc4f9b968a6df
refs/heads/master
2021-06-16T19:18:08.017369
2019-10-27T16:39:35
2019-10-27T16:39:35
154,472,679
4
0
null
null
null
null
UTF-8
Python
false
false
896
py
""" This script was used to select 20 MEN-data set pairs as test set for a sandbox (to explore incrementality) """ menfile = "../data/MEN_dataset_natural_form_full" wordlist = [] pairs = [] with open(menfile, "r") as f: for line in f: words = line.rstrip().split()[:2] pairs.append(words) wordlist.extend(words)...
[ "simon.preissner@gmx.de" ]
simon.preissner@gmx.de
b33e1f63cc4ffa6ab033238f4fef32cccf323192
aede805ce0d8b0f0f214cc92fa402ebc88467224
/firnmodel/CFM_main/dipTrend.py
8ad6501c98153a588de89fa534c84ac4fd45b3a4
[]
no_license
gwib/CommunityFirnModel
8597c3c2e40e83c8dc56f0319e49e999d967ccf2
f18f1ecc8e1a6813e11d395489eef5d09bf5d785
refs/heads/master
2021-06-01T13:51:17.589807
2020-07-13T10:45:56
2020-07-13T10:45:56
131,051,482
0
0
null
2018-04-25T19:03:27
2018-04-25T19:03:26
null
UTF-8
Python
false
false
2,858
py
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt import h5py as h5 import os import numpy as np import scipy as sp import pickle import csv import matplotlib.gridspec as gridspec import pandas as pd from sklearn import linear_model import csv def dipTrendToFile(site, coords): # always there: models mo...
[ "gwib@users.noreply.github.com" ]
gwib@users.noreply.github.com
61fae23f954a13c058736ea35789dfa0adccb52c
5a72f4ad3dee9c93e907e5db6ae073a0f6173557
/api/models/log.py
7ab6756ef27a249f3dc859536ce22b9775c28e9f
[ "Apache-2.0" ]
permissive
avikowy/machinaris
170117fa8857942d90b33b15a727674924da1d66
23eead3c30e5d4a75b13c142638c61bcd0af4bfe
refs/heads/main
2023-06-17T15:54:08.795622
2021-07-16T04:19:37
2021-07-16T04:19:37
386,497,979
0
0
Apache-2.0
2021-07-16T03:35:17
2021-07-16T03:35:17
null
UTF-8
Python
false
false
1,338
py
# # Data from log reading and parsing # import re import traceback from api import app from common.utils import converters class Challenges: # Parse the provided most recent 5 lines of grepped output for challenges def __init__(self, cli_stdout): self.columns = [ 'challenge_id', 'plots_past_filter',...
[ "guydavis.ca@gmail.com" ]
guydavis.ca@gmail.com
b4d78ebef0927d8ff4cb93c72ad59d307bd693d5
6f72c675695e1ead2c47eb30597105ce9536251a
/main.py
9164d0856e561737fc5d6f8ccc51ad9ea1fceca4
[ "MIT" ]
permissive
Fedioun/ter_victooor
28058d563ad700fe10a10df3dbb7a2df4f95da52
7bbe3141d8afbf24ed5e9170a29d22cc88d04f5c
refs/heads/main
2023-02-20T03:34:34.455846
2021-01-23T16:44:12
2021-01-23T16:44:12
330,169,886
0
1
null
null
null
null
UTF-8
Python
false
false
2,204
py
import zipfile import nibabel as nib import time, os import matplotlib.pyplot as plt import matplotlib import numpy as np import csv def main(): matplotlib.use('agg') input_folder = os.path.join(".", "data", "MICCAI_BraTS_2018_Data_Training") data_type = "HGG" dataset_folder = os.path.join(input_folder, data_type...
[ "fedioun.achille@gmail.com" ]
fedioun.achille@gmail.com
8ab7a338025f5fccb607dc5913ca4639bed4948f
b361ddcec5288f3b2f02abb5b82ca70005e16a82
/WEEK2/computeCost.py
6816e13414eb561efca8796e5d0f5d9099790435
[]
no_license
ananyaiyer/C4ML
646797ab87a20554ac9c8903a07c322849cecad8
3f3ac6ad2c4d6eb80a7906414bbdec0f7626d8c3
refs/heads/master
2022-07-18T19:49:36.245722
2020-05-25T08:03:22
2020-05-25T08:03:22
256,193,833
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
import numpy as np def computeCost(X,y,theta): """ Take in a numpy array X,y, theta and generate the cost function using theta as parameter in a linear regression model """ # np.dot(A,B) => gives dot product of A and B # np.power(A,n) => returns array with each element raised to the power n ...
[ "noreply@github.com" ]
ananyaiyer.noreply@github.com
dd075cc5af9ef7cfdf5555cac46d756075a245a1
de1d70b113bc13cd602148d86a18a2ee2bd20886
/challenge/migrations/0009_auto_20160703_1017.py
1f0bd903332080dc3a96df3cc9c33ffc293c5c81
[]
no_license
npmcdn-to-unpkg-bot/innovationmap
6044a75cd69127f65dfd998edfbb911640a308c9
29e6ae1d83e1be7ba14bd87af791c3c7d41778a3
refs/heads/master
2021-01-15T20:43:40.301530
2016-07-27T18:34:03
2016-07-27T18:34:03
67,419,728
0
0
null
2016-09-05T12:39:41
2016-09-05T12:39:40
null
UTF-8
Python
false
false
764
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('challenge', '0008_auto_20160702_2005'), ] operations = [ migrations.AddField( model_name='department', ...
[ "cgeist7@gmail.com" ]
cgeist7@gmail.com
238d6bfbb83c1c16e846a3e8637ee4cc40c1ae95
6199676f32ee3e2313a6c16acb458b00eae38ed5
/test/functional/feature_shutdown.py
c47f8466955e8ece0d7f4e3a835b731dd4795327
[ "MIT" ]
permissive
Darrenshome40/shitecoin
bd54de78abbba5e922f659f0ca43db3d295e44d5
a2535c8fc5a43ee21ec818d5367439f6302cd084
refs/heads/master
2023-02-21T08:45:30.848297
2021-01-19T13:00:14
2021-01-19T13:00:14
330,753,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
#!/usr/bin/env python3 # Copyright (c) 2018-2020 The shitecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test shitecoind shutdown.""" from test_framework.test_framework import shitecoinTestFramework from t...
[ "darren.conroy@ickonic.com" ]
darren.conroy@ickonic.com
3d3a1c105d55eb418574c8bcc662dd40234f3272
764b62c9d855c6580db915538c71d1d1ad4a6ba0
/config/default.py
c3a4481373a676a5ee4cca674dc2ebac6a4eaf93
[]
no_license
sorz/EnvSensingServer
ed1d549a305ba999d4d7fb3c98088d7c98cdcecb
948e5cafa6ad8f2368121845936ad64113e954ef
refs/heads/master
2020-04-09T16:53:10.066431
2016-03-28T12:19:45
2016-03-28T12:19:45
42,407,501
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
""" Default configurations. """ DEBUG = False # Default is 12. # Take around 300ms on Vultr 768MiB VPS. BCRYPT_LOG_ROUNDS = 12 # Expire in 30 days. AUTH_TOKEN_EXPIRATION = 30 * 24 * 3600 # Selectively call csrf.protect() on non-basic-auth requests. WTF_CSRF_CHECK_DEFAULT = False
[ "orz@sorz.org" ]
orz@sorz.org
3caf74d2ebe90822fbb87fa0c0510a0ee00f902d
143c4bc2173f610775ad043e5f187e2b9c89d5fe
/addict.py
aa58ea8a1457379332af23a33a1ef8bb957fa64b
[]
no_license
potykion/addiction
67dc7d50587467332c0bf414a5d0fe7fb415661b
dba2f377938f5d152cfcfcdb3414f16f72f64de2
refs/heads/master
2020-04-22T01:16:25.874708
2019-02-17T16:23:48
2019-02-17T16:23:48
170,009,400
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import fire from addiction.api import PackageDependencyIndicator if __name__ == '__main__': fire.Fire(PackageDependencyIndicator)
[ "potykion@gmail.com" ]
potykion@gmail.com
ee81d1a33ff82d93c4a0f8c87e2b96e77c4a4eb8
5e02ebcd576e4c9fb5b99e96eca480a760113e0a
/iotbot/typing.py
086e2efeecbad422c2c5a502fcfc6b2278fe5156
[ "MIT" ]
permissive
yuban10703/python--iotbot
372468112eef9db45e5431ad27e715fe35316dda
acffc679eba6347b25f2826f1f48678ac1343fff
refs/heads/master
2022-12-01T12:55:32.126548
2020-08-12T09:03:13
2020-08-12T09:03:13
286,969,845
2
0
null
2020-08-12T09:16:38
2020-08-12T09:16:38
null
UTF-8
Python
false
false
275
py
from typing import Any from typing import Callable from .model import EventMsg from .model import FriendMsg from .model import GroupMsg GroupMsgReceiver = Callable[[GroupMsg], Any] FriendMsgReceiver = Callable[[FriendMsg], Any] EventMsgReceiver = Callable[[EventMsg], Any]
[ "xiyao.wong@foxmail.com" ]
xiyao.wong@foxmail.com
09bc7cc43022fb44101bffd1e0b981e0d2fbcbb5
955ee13f0ed39a3d0b997636207884f887eae4e1
/Gui/Tour/menu_frm-multi.py
960bde194c280433526d820b921ea73e65839ac0
[]
no_license
sguberman/PP4E
1d4ca7c3dced798dcab7cfd746e061f8c8ef23d9
ea4f713daf94f6663314bfad0a7de1e8809f0248
refs/heads/master
2020-07-17T00:28:12.555340
2017-01-17T15:26:48
2017-01-17T15:26:48
73,938,014
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from tkinter import * from menu_frm import makemenu root = Tk() for i in range(2): mnu = makemenu(root) mnu.config(bd=2, relief=RAISED) Label(root, bg='black', height=5, width=25).pack(expand=YES, fill=BOTH) Button(root, text='Bye', command=root.quit).pack() root.mainloop()
[ "sguberman@gmail.com" ]
sguberman@gmail.com
44dc671e94cd34f4680015d003f9041c3691bfab
3c921f816f7336a446eb114229d5cf19aa211541
/src/app/__init__.py
f08d5dbb350c02ca28728ff246adbbbcba9fc830
[]
no_license
mgolvers/flask_test
fc57141ad546744b261588f21652ce2251098e70
ea0707b528337ba3c10dedc928384316edf25369
refs/heads/main
2023-08-21T13:36:22.574042
2023-06-08T13:42:20
2023-06-08T13:42:20
77,781,532
0
0
null
2023-09-06T18:25:55
2017-01-01T14:14:51
Python
UTF-8
Python
false
false
2,092
py
# app/__init__.py # imports import logging import os from logging.handlers import RotatingFileHandler from flask import Flask from flask import abort from flask import render_template from flask_bootstrap import Bootstrap from flask_login import LoginManager from flask_migrate import Migrate from flask_sqlalchemy imp...
[ "martins.golvers@gmail.com" ]
martins.golvers@gmail.com
e3cbf265d41a241a11b58037c63c5ff1e842e962
e16dcc4c0718b09b85e3ad8468621f12208ce80a
/backend/apps/register/migrations/0002_registration_user.py
9500c90383b1a990da2246d6f60044a7fa44c85e
[]
no_license
timonritzi/motion
c0372bc57c0e44053a9914a6e08c32b20a4686b8
d6218813a038a3f2eaeaa38bed3b689cb8dbb213
refs/heads/main
2023-02-24T19:31:58.688960
2021-01-24T11:28:34
2021-01-24T11:28:34
332,424,228
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# Generated by Django 3.1.2 on 2020-10-21 10:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('regi...
[ "timon.pascal@gmail.com" ]
timon.pascal@gmail.com
7a12790c4b3f7d01888e390be88b4bcab7322ba1
1293c0c6ec4899c7f522d0d3ae86edbab20d27dd
/POM_version3/tests/fill_form_test.py
2f9ee27286674e830128f561cee53837812c869c
[]
no_license
salmanahmad21/Automation_Training
163cc278d80da1b63dfc6cd76b68738c21af5fdd
2b931ec497f6b9cecfea4960b8f924a64c667fff
refs/heads/main
2023-09-03T00:25:17.995490
2021-10-20T09:44:49
2021-10-20T09:44:49
394,978,745
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
from pages.fill_form_page import * import unittest class FillForm(unittest.TestCase): def setUp(self): self.driver = webdriver.Chrome(executable_path="/Users/salmanahmad/Downloads/chromedriver") def test_fill_form(self): self.driver.get("https://demoqa.com/text-box") obj = FillFormMet...
[ "salman.ahmad@arbisoft.com" ]
salman.ahmad@arbisoft.com
0e8bb5be96cd1a23424987043e44c50d1d9af9a0
790b35cf27579bc8fde7e71077a83feab8d29471
/steamworks/exceptions.py
c730b290d6c3ab33c57959a2b0d2b3874150913a
[ "MIT" ]
permissive
philippj/SteamworksPy
f094742966054ce2106dc03876fff074319abbfb
9496d308cff71a1bed9e21940245424a244432ca
refs/heads/master
2023-05-31T12:58:41.135249
2023-02-25T21:05:06
2023-02-25T21:05:06
39,316,769
123
25
MIT
2023-05-25T14:25:49
2015-07-19T00:11:28
Python
UTF-8
Python
false
false
581
py
class SteamException(Exception): pass class GenericSteamException(SteamException): pass class UnsupportedPlatformException(SteamException): pass class UnsupportedArchitectureException(SteamException): pass class MissingSteamworksLibraryException(SteamException): pass class SteamNotLoaded...
[ "philipp98.joos@gmail.com" ]
philipp98.joos@gmail.com
c8a2e5359fa4a0b99ed1fc3ca77706e69cdbb71f
2e0d2ea4044c782dc9ee6e22b5fc90f3998cdf94
/InheritanceExample.py
7e4a96fe3fca27b408b5dd350181e7116c4034d8
[]
no_license
padmini06/pythonExamples
ce342123bbcb6377f52be6773f12c8008ed79687
7bcc32d2be1cf1abd902cd5405d6f651096c8bb3
refs/heads/master
2020-04-18T02:08:19.393519
2019-01-23T08:51:07
2019-01-23T08:51:07
167,149,145
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
#!/use/bin/python3 import random import string class Vehicle: def __init__(self, brand = " ", color = " "): self.__brand = brand self.__color = color def setColor(self, color): self.__color = color def setBrand(self, brand): self.__brand = brand def getColor(self): return (self....
[ "noreply@github.com" ]
padmini06.noreply@github.com
a7c1e0e5318f11b3918bd5d4ae1038b1103052aa
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/build/android/pylib/perf/thermal_throttle.py
6a47319f9838a3c2f8ce5527980b250cc74a659c
[ "MIT", "BSD-3-Clause" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
4,197
py
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging class OmapThrottlingDetector(object): """Class to detect and track thermal throttling on an OMAP 4.""" OMAP_TEMP_FILE = ('/sys/devices/p...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
10acc59c4f9ce2be125aeb5c7ada5b1219d8ae66
6b84414c0fe7ab68603fd740cc10260dac0cc7ac
/labs/ball.py
19633b23f9d1c61569c2a400447ee0c2e90bf197
[]
no_license
Master1612/MFTI
d3883a0866859abd975a94b42a229164fc7732ad
007691fa25dc7026f993cce9101f74d935476064
refs/heads/master
2023-03-18T04:53:30.214733
2021-03-04T13:12:49
2021-03-04T13:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
import tkinter as tk from random import choice import time root = tk.Tk() root.title('BALL') frame = tk.Frame(root) root.geometry('800x600') canvas = tk.Canvas(root, bg='white') canvas.pack(fill=tk.BOTH, expand=1) class Ball: def __init__(self, x=40, y=450): """ Конструктор класса Ball Args: ...
[ "ed.suzi@gmal.com" ]
ed.suzi@gmal.com
f17a2176d3762d84686e96c261f2988bcefcad0a
41892fbab75f9434ef5ef2fd7f8d132c5d71c1bf
/fastreid/solver/lr_scheduler.py
17ce2b9966459db9f451484f84fb177ecbde5776
[ "Apache-2.0" ]
permissive
lxc86739795/fast-reid
1c2884767bc54ff655c4d15ead362c8b2826dd2e
29178d70c591ef64021f10767eb606f3053156b9
refs/heads/master
2023-04-12T09:44:32.520350
2021-01-25T08:09:08
2021-01-25T08:09:08
288,689,076
1
0
Apache-2.0
2021-01-25T08:09:10
2020-08-19T09:26:11
null
UTF-8
Python
false
false
2,067
py
# encoding: utf-8 """ @author: liaoxingyu @contact: sherlockliao01@gmail.com """ from typing import List import torch from torch.optim.lr_scheduler import * class WarmupLR(torch.optim.lr_scheduler._LRScheduler): def __init__( self, optimizer: torch.optim.Optimizer, warmup_fa...
[ "sherlockliao01@gmail.com" ]
sherlockliao01@gmail.com
629762fa79f7efd3f78f52c19acd71240f4ff740
193a99e11038536b65ad82ceb06a2f58f3ca46a5
/DjangoAPI/DjangoAPI/urls.py
e5b2ca7c20de5b896bd867c4cbf091cbfadc6e2f
[ "MIT" ]
permissive
DiegoALCEB/DjangoAPI
1c03cb36e68e46cb4c3a255b09113e61924a90fb
957b008d494400ed9bc7f069e03c8e8be83c7d4d
refs/heads/main
2023-02-09T06:10:20.336786
2021-01-08T17:49:34
2021-01-08T17:49:34
327,447,609
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
"""DjangoAPI URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "" ]
7c4a39f417fba599388c40237c759c87119cd22d
20b2af5e275469261d95d4441303d567b5c03bba
/scripts/getNaoNumbers.py
0a56a825924d53155e5fe2205d2792e8994d6b96
[ "BSD-2-Clause" ]
permissive
humanoid-robotics-htl-leonding/robo-ducks-core
efd513dedf58377dadc6a3094dd5c01f13c32eb1
1644b8180214b95ad9ce8fa97318a51748b5fe3f
refs/heads/master
2022-04-26T17:19:00.073468
2020-04-23T07:05:25
2020-04-23T07:05:25
181,146,731
7
0
NOASSERTION
2022-04-08T13:25:14
2019-04-13T09:07:29
C++
UTF-8
Python
false
false
2,383
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import json def getNaoIdList(location = "default"): ''' Read id_map.json and extract nao Id list. @param location, default value is "default" @return array of strings ''' script_dir = os.path.dirname(os.path.realpath(__file__)) REL_CON...
[ "rene.kost.951@gmail.com" ]
rene.kost.951@gmail.com
62300dc47d43f84cf7fc15c6ea0fe32169815414
e5db7ff3498a6e51a478d10db87a69b5c0a05a37
/81.py
0da24817a35d402adde5568815263ad1f60c44c1
[]
no_license
x89/euler
b0ee4574b0d1f9e9637cb35a7d7c48dc2e395ea7
5c9bf81ed703d7b285a7bdd7c454910d5ea3298b
refs/heads/master
2020-05-17T22:01:45.962618
2015-03-20T19:23:36
2015-03-20T19:23:36
23,315,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
# Project Euler 81. Shortest weighted path through a directed graph. from pprint import pprint #lines = open('matrix.5x5.txt', 'r').readlines() lines = open('matrix.80x80.txt', 'r').readlines() size = len(lines) # NxN array adj_values = [] for line in lines: line = line.split('\n')[0] adj_values.append([int(...
[ "napalm10@gmail.com" ]
napalm10@gmail.com
335e3ef863880c095f306960e8e88088b59c542a
7f55030f3b9fa11d31b13a5eca790b3f046fa9ce
/source2.py
c54c92958fd36412ed46fbe50bac80df825b74d1
[]
no_license
rodrigocarlos2/Text-Mining
1d3fbee3f5f8819caeb3ba1cf26cfa5ae08264ed
54ab0d4f1ee68ece395a568de96a186f726cb1d8
refs/heads/master
2020-06-26T11:55:03.522141
2017-07-13T10:31:49
2017-07-13T10:31:49
97,018,863
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
from PyPDF2 import PdfFileWriter, PdfFileReader output = PdfFileWriter() ipdf = PdfFileReader(open('pdf1.pdf', 'rb')) wpdf = PdfFileReader(open('pdf1.pdf', 'rb')) watermark = wpdf.getPage(0) for i in range(ipdf.getNumPages()): page = ipdf.getPage(i) page.mergePage(watermark) output.addPage(page) with open('newf...
[ "rodrigo19962010@live.com" ]
rodrigo19962010@live.com
5d4a27344244873ea34f6a6b4bbff785b0952da1
8a4063720bc783aabc9aab54bf4a4509bf3fe280
/myproject/settings.py
417511e8e8257e67191c1e3471e5962c9e806d38
[]
no_license
Key-pi/Blog
5b68bf6b5ac00352b9a6396b24f8036e63214955
849630d089880f955cce8e96afd7269056bbe44d
refs/heads/main
2023-07-08T07:12:32.119632
2021-08-18T15:52:52
2021-08-18T15:52:52
394,607,271
1
0
null
null
null
null
UTF-8
Python
false
false
6,282
py
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 3.2.4. 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/ """ import os f...
[ "Terrible_dev_4.20@protonmail.com" ]
Terrible_dev_4.20@protonmail.com
cfa27dfc1c34c482c8c4cbbc55e7d5b20e92e89a
f26a873f5943de750b2aee52b6a73802c6ba35d3
/Code Academy/4. cas/zadatak9.py
61a834ca83de9141b6b30b315c8464951ff841e6
[]
no_license
kolavcic/Basic-Python_Code
b5ebea1b82df4ca1302888e448e0b9a22bf4f82e
59577d6e8384b20dd4c8fc7d2362435a0a186a92
refs/heads/master
2023-05-29T10:15:24.565219
2021-06-15T11:13:18
2021-06-15T11:13:18
372,963,311
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# Napisati program koji za uneti pozitivan ceo broj n, ispisuje zvezdice i tako iscrtava odgovarajuću sliku. # Slika predstavlja pravougli trougao sastavljen od zvezdica. # Kateta trougla je dužine n, a prav ugao nalazi se u gornjem levom uglu slike. n = int(input("Unesite broj: ")) for red in reversed(range(0, n))...
[ "mladen@tyk.io" ]
mladen@tyk.io
0025cf27aa6a64251c5adf910bfc6c1e91d5d0d8
ef632f07c76a78e0b2c02588bdd50745b3e839b3
/app/httputils.py
ac9dc1d701aa60ab3799c2b510aa2e86d81767ee
[]
no_license
aceofbitcoin/cow-app
7bfc16505106e6bf1c666fe369852c87f9f11440
05df4bd6ffede830ee9619d83c61af1db65295c0
refs/heads/master
2023-03-16T13:05:32.361802
2021-03-01T13:38:23
2021-03-01T13:38:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
# *-* coding: utf-8 *-* # Ahmet Küçük <ahmetkucuk4@gmail.com> # Zekeriya Akgül <zkry.akgul@gmail.com> from flask import jsonify # NOT_FOUND = jsonify({"status": False}) # AUTHORIZATION_ERROR = jsonify({"status": False, "code": "MA-100", "content": "Could not verify authorization credentials"}) # MISSING_REQUEST = jso...
[ "ahmetkucuk4@gmail.com" ]
ahmetkucuk4@gmail.com
f069307b715c205d5cc16fdc630e90dd100341ae
0265260f132194a0087e807dcd00803ed27f936b
/do/action.py
81fe6c121694d7d7279626149704f9b5a376c50f
[]
no_license
fornof/pychatbot
9d025287efd0b444e1f251c464ac241d861f5fd5
8561a16a78e4d39269510379e02dc255b02b4ba7
refs/heads/master
2021-01-19T18:21:00.758326
2017-08-23T22:28:13
2017-08-23T22:28:13
101,125,727
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
import sqlite3 class Action(): id= '' begin= '' end= '' def __init__(self): pass def loadAllActions(self): conn = sqlite3.connect('data/sqlite_file.db') c = conn.cursor() where = '' result = [] actions = [] c.execute('SELECT * FROM action ' + ...
[ "robert4nof@gmail.com" ]
robert4nof@gmail.com
c6c199c182816290391ca080eacf9cdff5a6f866
72949c29b005ca3a35fe8bbf4835615bdddd1869
/matplotlib/figure-aesthetics/grid-tick-axes/set_axes_constrained_layout.py
3e937290240d434ab4c4d0955b5d8f5ade2d9141
[]
no_license
JagritiG/Data-Visualization-vol2
0b93de14e2c2afd2e7e2c8a599e7241d5dfd9c1f
7d3bdf5821b9d0de09ff666ee17ebf728acd6531
refs/heads/master
2021-06-24T00:26:15.355557
2021-02-20T03:30:49
2021-02-20T03:30:49
204,554,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
# Resizing axes with constrained layout # Resize subplots in a figure so that there are no overlaps between axes objects and labels on the axes. import matplotlib.pyplot as plt import numpy as np # Generate mock data # Fixing random state for reproducibility np.random.seed(10000) # Make up some data in the interval (...
[ "jagritigoswami84@gmail.com" ]
jagritigoswami84@gmail.com
37e3ea1edcd06e0e353ce476647ce327dd7f257a
e031364f372a13f061fd44ccd5595b9588c63a2b
/__init__.py
1af3568b63f1d25b96be9e3f4d1dfdfb603962b3
[]
no_license
CudaText-addons/cuda_fmt_ruby
bde3f33b779533d89d5ab1d94e1aa2eb73890ca9
f2c10dc9d55eac3f74c6d74057764852f81522a8
refs/heads/master
2020-06-18T04:03:49.545718
2019-07-14T12:31:17
2019-07-14T12:31:17
196,158,239
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from . import rubybeautifier def options(): opt = rubybeautifier.default_options() def do_format(text): return rubybeautifier.beautify(text, options())
[ "support@uvviewsoft.com" ]
support@uvviewsoft.com
99cf45f7793af8aade027f216d95d2a1b5eeb246
73a30a064d9167d658fc36f1d70fdeab8f647805
/stock1/serializer.py
2076f31d719d959c1d11043ebe2fef58210a64fe
[]
no_license
sanskar-agrawal1903/stock
a21957036c4d8a98bcb6c464afda9fbb5cca0a16
dca075176f185c7086f0834717d27c1d8bb8a905
refs/heads/master
2022-12-11T03:50:07.702039
2020-09-13T08:12:00
2020-09-13T08:12:00
295,104,690
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from rest_framework import serializers from .models import Stock class StockSerializer(serializers.Serializer): name=serializers.CharField(max_length=100) price=serializers.IntegerField() def create(self,validated_data): return Stock.objects.create(validated_data) def update(self,instance...
[ "sanskar.agrawal2018@gmail.com" ]
sanskar.agrawal2018@gmail.com
2cc188cf7fe8e47d4373672755648ae86cd35ec3
45d76197a4a9c0b540c447a353c372989140c0f1
/04_06_2021_quick_fix/receiver_standard_04_06_quick_fix_anja.py
a01eabc642d35f0b0bb5926cf54db3a13f198eb0
[]
no_license
ogustafsson/Yooodeeel
b684940bf4ba26218c001af92ad5508eabfee693
227fad095af3388696012ed2acb5cd5d70d11c54
refs/heads/main
2023-05-14T11:08:44.070745
2021-06-10T14:58:39
2021-06-10T14:58:39
367,883,255
0
0
null
null
null
null
UTF-8
Python
false
false
35,488
py
import numpy as np import csv import pandas as pd from scipy.linalg import dft from scipy.fft import fft from scipy.fft import ifft import matplotlib.pyplot as plt import bitarray import pdb from scipy.io.wavfile import write # For writing to a .wav file from scipy.io.wavfile import read # For reading from a .wav file ...
[ "noreply@github.com" ]
ogustafsson.noreply@github.com
62447df8dc2125cde4dc03ae1d92c6565d69b64d
e218e695bc1b46ece75c81002fc1189496c177a0
/benchmarks/thread_benches/plot.py
1c0d93c947bfcc0d15446c5cdf74d0b83babe1d2
[ "CC0-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
BLAKE3-team/BLAKE3-specs
6547dc4705a49249b8e4cc293ad69b3da8d4c732
ea51a3ac997288bf690ee82ac9cfc8b3e0e60f2a
refs/heads/master
2022-07-08T12:06:53.259543
2022-06-27T20:51:14
2022-06-27T20:52:53
222,069,092
165
8
NOASSERTION
2022-06-27T08:17:21
2019-11-16T08:25:32
HTML
UTF-8
Python
false
false
3,168
py
#! /usr/bin/env python3 import json from matplotlib import pyplot from pathlib import Path import pandas import seaborn import sys BENCH_NAMES = [ ("threads_48", "48 threads"), ("threads_32", "32 threads"), ("threads_16", "16 threads"), ("threads_08", "8 threads"), ("threads_04", "4 threads"), ...
[ "oconnor663@gmail.com" ]
oconnor663@gmail.com
9ec976cf04573860a80eed9f017b40de425e1130
c014e149a620cc2e785b3dfba2d35417eb86b07c
/Dammen/definities.py
64b970f23e04bf55e832b4d1c87f9641a6303aae
[]
no_license
Kinggoid/Dammen
419997333dbd164b999becd974e1a4dc366231a1
d46ebc181deac48e1676a3b7b19e9fd120694a88
refs/heads/master
2022-11-09T19:51:14.700457
2020-06-27T08:46:34
2020-06-27T08:46:34
271,027,533
0
0
null
null
null
null
UTF-8
Python
false
false
12,085
py
import pygame from Dammen.Damsteen import Damsteen def setup(): """ In deze definitie maken we het bord. Ik maak een 8 x 8 bord omdat dat de meest populaire variant is. """ spelbord = [] for row in range(8): spelbord.append([0] * 8) return spelbord def stukken(spelbord): """ I...
[ "thijmespambox@gmail.com" ]
thijmespambox@gmail.com
082d3355655379f5521c05f9d72b0a60863be729
6452520a8befcdcf3c4ed9e8170efaeee49ba549
/3_datalake.py
89de18adb872f67411e091235ac12a2871f409e7
[]
no_license
jonghyunChae/DataEngineerSample
dfeb651d71c33f3f690ef39efcc8a134ad9f00f4
7f5305e7b0c7993cc889eaad245b169746913cc7
refs/heads/master
2023-03-04T14:30:33.767088
2021-02-12T03:25:40
2021-02-12T03:25:40
320,414,036
1
0
null
null
null
null
UTF-8
Python
false
false
4,522
py
import sys import os import logging import time import boto3 import requests import base64 import json import pymysql from datetime import datetime import pandas as pd import jsonpath client_id = "74cbd487458843f1ad3f5fa1e914c02f" client_secret = "752e4ed11062473f9da9076c4499d51b" headers = None host = "jongs.cli2mo...
[ "jongsys21@naver.com" ]
jongsys21@naver.com
a9ed1e80222e3fda8f5ecfe8ed6ca6b8ea77ed22
f7f5ad4ae539fa1060c7bc3bc3fe0fb4945fb83d
/APAC2015/Round_B/psd_attacker/solution.py
8c34531d200369e4bb9e5d378adc364e56715e75
[]
no_license
royxue/Codejam
467f1d39dec063795ce58e9f582c769aaac06df8
8336cd5154ec662270ebdf78528ffd503c807e22
refs/heads/master
2021-01-10T20:21:59.885216
2014-11-29T13:10:28
2014-11-29T13:10:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
from cj_input import cj_inputs import math total, data = cj_inputs("A-small-attempt3.in") def psd_attacker(data): answer_list = [] for i in data: answer = 0 val_M = int(i[0]) val_N = int(i[1]) if val_M == val_N: answer = math.factorial(val_N) else: diff = (val_N - val_M) multi_1 = math.factorial(...
[ "xljroy@gmail.com" ]
xljroy@gmail.com
459d195a39c7dd0c6c1f2ba9ef3103e5820db56e
23cb672f5f13af759601d042e32cf0e4c903ede9
/ProxyArduinoPi.py
e94b2c95e4087ada73f8949b2abe48241718fa60
[]
no_license
casang/homebridge
77dcca5f27f2f5becad987fb29459dd1dee2f09a
7b4e263116e2a0656622514959ca250a47430300
refs/heads/master
2020-12-15T17:36:53.711366
2020-02-15T20:07:01
2020-02-15T20:07:01
235,196,902
0
0
null
null
null
null
UTF-8
Python
false
false
6,215
py
import http.server #import BaseHTTPRequestHandler import threading import time import socket import sys import traceback luzOn = [0,0,0,0,0,0]; luzOnSet = [0,0,0,0,0,0]; luzBrightness = [0,0,0,0,0,0]; luzBrightnessSet = [0,0,0,0,0,0]; message = str(); def get_status(num): # Create a TCP/IP socket while True: ...
[ "noreply@github.com" ]
casang.noreply@github.com
d0c68dac18ea56ed9715e2bd54bb1788a6588293
2b640b7eaec1c703abd5c5da978d98363e9a5e7c
/c45.py
0f0b387cb96fb89c07e92776a02bdd805a337eab
[]
no_license
karans785/CED-37-Machine-Learning-Tutorial-Assignments
17c0bda0b7561e849b5efaae66ef362b2c5e59ad
1a745b6a6c26fa59729fadb1743379ca12b3f0cd
refs/heads/master
2020-04-17T22:36:10.045061
2019-05-14T13:06:54
2019-05-14T13:06:54
167,000,730
0
0
null
null
null
null
UTF-8
Python
false
false
4,967
py
import numpy import pandas as pd import math dataset=pd.read_csv('playtennisC4.csv') outlook = list(dataset['outlook']) temperatureC = list(dataset['temperature']) humidityC = list(dataset['humidity']) wind = list(dataset['wind']) answer = list(dataset['answer']) temperature = [] humidity = [] def ca...
[ "noreply@github.com" ]
karans785.noreply@github.com
976cf2b2718c6129645a37ef6a08791aff86481f
7ccc166a1844568bb90b7eb73e80dcc504f49ab1
/chat.py
c6fa364f6861593d6963381dc0471ebeef279af9
[]
no_license
ivfreire/chat
2de56bbed65977d7c6979fa09ef2e407a03f0d68
3bee200ed6aa7a3b7a433e95926bef150c1714a0
refs/heads/master
2022-11-25T16:18:07.249822
2020-07-29T09:28:12
2020-07-29T09:28:12
283,432,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
from flask import Flask, session, redirect, render_template, request, url_for from flask_socketio import SocketIO, emit app = Flask(__name__) app.secret_key = 'secret cat' io = SocketIO(app) @app.route('/') def index(): if 'username' in session: return render_template('index.html', username=session['username']) e...
[ "icarovf@usp.br" ]
icarovf@usp.br
506cf1fc554480a3254d76511897634dc404de9f
8bd531be4cb12e5ac8009c2c4957cd26aaff8312
/paralog_gene_cluster5.py
6451f16c34793cc40a75cf34303ced117474f8f4
[]
no_license
zhexia/lncRNA-project-script
7b584544f45d023b37124a4b8d40c64bdf5f5127
8565c65a9de2d604195b25d971460ec1b4a770f9
refs/heads/master
2020-08-03T01:59:38.278236
2019-09-29T02:33:02
2019-09-29T02:33:02
211,590,500
0
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
#我自己写的,还有bug,事实证明是大bug import sys import copy genepairs_list = [] with open(sys.argv[1],'r') as f: for line in f: info = line.strip().split() gene1 = info[0] gene2 = info[1] gene_pair = {gene1, gene2} if (gene1 != gene2) and (gene_pair not in genepairs_list): ...
[ "noreply@github.com" ]
zhexia.noreply@github.com
553f81640f79e77db5d8068c2908c0fb597ce6f9
530d812906e622aba690a27ce6e7f1576e892c70
/prpe9/prpe_ne.py
eae9c9227165b5897c4267749ec9ec702a768ebd
[ "MIT" ]
permissive
zuters/prpene
4b992d1037f8e603838b9a3a11e1cd1cde152328
d76d6203e366c91efc1d1ae7ecee4c73e80e38d2
refs/heads/master
2020-03-29T09:49:47.409122
2019-07-29T14:25:39
2019-07-29T14:25:39
149,775,680
1
0
null
null
null
null
UTF-8
Python
false
false
77,476
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Author: Jānis Zuters # PRPE technical version 9 #============================================================================= import codecs import sys from collections import Counter from copy import deepcopy from numpy import argmin goodroots = Counter() badroots = {...
[ "janis.zuters@lu.lv" ]
janis.zuters@lu.lv
a640aa21e8d9d8de370e1401500dbff55628def6
73ebf027a2b8679fd153f982d98c8d60e9b1d894
/har_hw4.py
c5a10477e51e4cc42fe7335a40496ebc9cf93012
[]
no_license
ejconlon/knowledge_games
05d8496935291f009c2431e1b7d3173f594a0279
f751dbfba468950e81625cce39725ec7c6358b64
refs/heads/master
2020-05-26T19:02:44.831211
2011-05-31T15:22:40
2011-05-31T15:22:40
1,560,992
1
0
null
null
null
null
UTF-8
Python
false
false
2,060
py
#!/usr/bin/env python from sat import * class Problem(object): def __init__(self, name=""): self.name = name def __enter__(self): print "*** START "+self.name def __exit__(self, a, b, c): print "*** END "+self.name+"\n" with Problem("3.1.1") as X: print sub(['*','*','*'], ['1'...
[ "ejconlon@gmail.com" ]
ejconlon@gmail.com
65b09789b7bb81368ae2669dcdf3688e2acf76b7
c87cb0333e1676b7cfd0e6d43fb7769c94d645d9
/data_structure/selection_sort.py
63e6e9f2f17efa878126c7743152a79d52f8cdc0
[]
no_license
tanalam2411/python
4e4ee594d712d9650eddede91f0dfb992887392b
b51a02c4560c86e8797f373af2e1e03e0d0ba674
refs/heads/master
2020-12-25T14:33:12.371882
2019-07-27T18:25:55
2019-07-27T18:25:55
67,584,152
0
0
null
2016-10-09T19:03:35
2016-09-07T07:44:42
Python
UTF-8
Python
false
false
314
py
#! /usr/bin/env python """ Bubble sort implementation in Python. Input array = [5, 4, 3, 2, 1] In every iteration largest number will be sorted. Total iteration = N - 1 (worst case) # as every iteration will sort one largest number. Time complexity: Best Case - Avg Case - Worst Case - """
[ "onlinejob.2411@gmail.com" ]
onlinejob.2411@gmail.com
185c117a2b259e5d78936d721c33968d73ebe809
e6bd38983a05e7eca9281072f24443a1de348cd2
/dags/libs/check_and_update_record.py
08f086e435fce5140d1797c0bb82c67dc697744b
[]
no_license
Chestermozhao/airflow_practice
f9bd1c285135bce7f3f5d0868c7055f4abc187d5
319afb5d6fc031b4f4a2724877ce0075d81a9c09
refs/heads/master
2022-12-10T09:55:37.729724
2019-12-21T18:05:05
2019-12-21T18:09:23
229,432,497
0
0
null
2022-12-08T07:01:23
2019-12-21T13:38:38
Python
UTF-8
Python
false
false
885
py
from .mongo import collection_sub_channel def check_and_update_record(mode, **context): if mode == "check": sub_channels = collection_sub_channel.find() sub_channels = list(sub_channels) if sub_channels else "" return sub_channels elif mode == "update": print("Saving latest you...
[ "b02310043@ntu.edu.tw" ]
b02310043@ntu.edu.tw
be3a66601cfbca1c03d9f07d90a3f927da3df864
c3c1e47981daeed5d1d8023edb6ea84ed65c2859
/Python/Generate_Test_data.py
e2e6286c695b3be8b63f0bd2a6301e2b0aadfbf5
[]
no_license
sappyh/AEP
dd6738897328244f143fb4b59990782c9d76c807
9985949b4ced64d7f9cc74909cdbf53d21c4a0a1
refs/heads/master
2021-01-20T08:29:43.474502
2017-07-24T16:38:32
2017-07-24T16:38:32
90,152,569
0
1
null
null
null
null
UTF-8
Python
false
false
949
py
#!/usr/bin/python import cv2 import numpy as np from PIL import Image img=cv2.imread('/home/ubuntu-admin/horse.png') gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) gray=cv2.threshold(gray, 127, 255, cv2.THRESH_BINARY)[1] np.savetxt('/home/ubuntu-admin/test',gray,fmt='%d') mat=np.loadtxt('/home/ubuntu-admin/test',dtype=int) ...
[ "akurude@berlinux-solutions.de" ]
akurude@berlinux-solutions.de
e731bb87fa8a77a28c0423228f7ea27d5769df6a
cf02cd226853e89a0e35bd7623658a21e64cf80d
/class_person_repr.py
561b48f130eca6b77aab49cd54982cb6503f930a
[]
no_license
bterwijn/python
ba9485aaf0808dc38e899e8ab662dc94cf6e4ac8
dd8fec6f71b18aaa4a78e26a4afefc8c70327093
refs/heads/master
2023-09-06T04:19:27.258438
2021-10-21T12:06:39
2021-10-21T12:06:39
385,696,358
0
1
null
null
null
null
UTF-8
Python
false
false
846
py
def main(): person = Person("Carl", "Clarkson", 82.1, 1.89) print(person) person_list = [Person("James", "Taylor", 70.5, 1.71), Person("Jack", "Smith", 67.0, 1.65)] person_list.append(Person("Emma", "Williams", 65.0, 1.69)) print(person_list) class Person: def __init__(self, first_name, last_...
[ "bterwijn@gmail.com" ]
bterwijn@gmail.com
012710c17a6a74ccfecf923085f21c731c346456
c7713ed30e6edd751ccb811ad3fd48de30f94e33
/WprimeToENu_M_3200_TuneCUETP8M1_13TeV_pythia8_cfi.py
5f38893712654099933a15ee871c0c0fc16230e5
[]
no_license
bdelacruz/usercode
3be9fa8d3c761754c95a5c891c691dfd4baaa38d
76cb706731cde5a4cfb0dec68c628ef39dc1408f
refs/heads/master
2016-09-05T23:59:26.566827
2015-03-17T12:22:14
2015-03-17T12:22:14
32,382,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection...
[ "begona.delacruz@ciemat.es" ]
begona.delacruz@ciemat.es
77a5ecaa8ee26e0b6feca2c3e33edd7756af7e9e
7274ff5e36a6868578791c7d8bc52b5deec2270f
/api/server.py
f33d266698ad0881d23f8b0c905adbea9aee0653
[]
no_license
hieubkvn123/VirtualInterviewPlatform
dfd4af25545e512c0eae12b47b49b45e1cc1874b
eea84a37ad2f4a94b2b20ef0a3a00e6ffa3b26b7
refs/heads/main
2023-01-19T21:19:22.340051
2020-11-27T02:14:01
2020-11-27T02:14:01
314,131,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,649
py
import threading from flask import Flask from flask import request from flask_cors import CORS from flask_mail import Mail, Message ### Import all blueprints ### from mail_server import app as mail_app from auth import auth from vip import vip from vip import UPLOAD_FOLDER from config import system_mail_config as m...
[ "hieubkvn123@gmail.com" ]
hieubkvn123@gmail.com
cdde25e6308c46332743cc718554a484f4e7908b
8f47ef999c6a5f00dd4716eb338606a53f452fe2
/commonUtilities/customLogger.py
741eef222e3e6677565935b5b7920d9c216e8993
[]
no_license
arjyagarai/eCommerceFrameworkBatch4
f885d299ed14fff652cf7a9c2eb94816d0697c59
369b8e80075568116f4d031368fc0cfcfcf3c786
refs/heads/master
2023-01-03T21:44:20.400766
2020-10-31T07:12:04
2020-10-31T07:12:04
308,822,161
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
import logging class LogHelper: @staticmethod def loggen(): logging.basicConfig(filename=".\\Logs\\automation.log", format='%(asctime)s: %(levelname)s: %(message)s', datefmt='%d/%m/%Y %H:%M:%S %p' ) logger = lo...
[ "garai.arjya@gmail.com" ]
garai.arjya@gmail.com
5b1f244fd827d81662aeaa209fc61a75efcbd9dd
227f625b992b6afc9d27a989a0e5535a2c20aa90
/graph/test_graph.py
950c86058c963d35266b183d9c3c09df85fa055e
[]
no_license
usrnm242/algorithms
90a2f62c561b843f4140cc6af20aa10f52a7865d
06f5d1c36cfaa6e2d744fbdc4e6881ffccd671ee
refs/heads/master
2021-01-26T07:09:00.855482
2020-04-17T19:29:04
2020-04-17T19:29:04
243,358,792
0
0
null
null
null
null
UTF-8
Python
false
false
2,937
py
#!/usr/bin/env python3 from bfs import bfs from dfs import dfs from dijkstra import DijkstraGraph from kruskal_min_tree import KruskalTree from prim_min_tree import PrimTree from floyd_warshall import floyd_warshall graph = {0: [(1, 4), (7, 8)], 1: [(2, 8), (7, 11)], 2: [(3, 7), (8, 2), (5, 4)], ...
[ "k3nt242@gmail.com" ]
k3nt242@gmail.com
eabdc6c3f6effdedd91a8277b7862b4840198430
6b48594ee09fe40c412a2b0cabdf09e2635bb7c7
/server.py
22e79bfd45c218dcbceff1b8807b60bfef1d8319
[ "MIT" ]
permissive
TAINGL/api-simplon
7a78ae33d8bf6baffee44f31e4dcbdab734cd9a6
bd063d9d4d1120de22fb8ecccc5f35440903c1fa
refs/heads/master
2022-12-18T01:58:15.900285
2020-09-17T13:55:59
2020-09-17T13:55:59
296,291,668
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from flask import Flask, jsonify, request from flask_restful import Resource, Api, reqparse import os app = Flask(__name__) api = Api(app) port = int(os.environ.get("PORT", 5000)) parser = reqparse.RequestParser() parser.add_argument('number', type=float, required=True) class HelloWorld(Resource): def get(self):...
[ "laura.taing@hotmail.com" ]
laura.taing@hotmail.com
e4528bf1d132b678fc9ee8da7dcbc7fbb8fc43da
039cad89ebc88828219f1d353034fabf4d83ec9c
/YanxuanCrawler/Yanxuan/items.py
2b12facc7270c607b05423c675355cecad02c455
[]
no_license
VeeDou/YanxuanCrawler
568be57ccd782af1471c527b06c4158f9911aa57
48addaf8d66735e8f39c166ab27cf32c6e74ef99
refs/heads/master
2020-03-13T02:59:52.306521
2018-04-25T01:54:54
2018-04-25T01:54:54
130,935,603
0
0
null
null
null
null
UTF-8
Python
false
false
769
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 YanxuanItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() attrs_dict = scrapy.Field() comments...
[ "noreply@github.com" ]
VeeDou.noreply@github.com
ca4c643a49cf4166f5a1b83530fb556e446a1ddd
dc8aca825f1ed1d31db0dcb8d97e3049338c856c
/globals/dto/current_user_dto.py
73cc4c5f60991072391f2a2fea87b159561f8870
[]
no_license
Avocado-Inc/orhana_api
1039cb573a69b8161cb4a1f6d87c24edf0aa1d3e
41372d1416839eb5fbfdeafffc71add459d31a80
refs/heads/main
2023-09-03T17:47:12.322288
2021-09-19T17:52:29
2021-09-19T17:52:29
360,650,590
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from globals.rest import BaseDto class CurrentUser(BaseDto): user_id: str role: str
[ "rajat310198@outlook.com" ]
rajat310198@outlook.com
abb682055e931eb51fec2f2e65a33658b4faf877
704fda0d0e05f66f0c4f3c17cc4b39e2b0bc6220
/homework4/task1.py
1cdd658eec40714e7e52a76d55539e2a7dafaa47
[]
no_license
humantom88/geekbrains-python-basics
71eae1be4f8b1d757db17200d64d2b14ea51d83f
ebde8e0a9b92386f2a5b994a880184adde8c7454
refs/heads/master
2021-05-17T10:48:56.788147
2020-04-23T09:51:10
2020-04-23T09:51:10
250,743,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
# -*- coding:utf-8 -*- # 1. Реализовать скрипт, в котором должна быть предусмотрена функция расчета заработной платы сотрудника. # В расчете необходимо использовать формулу: (выработка в часах * ставка в час) + премия. # Для выполнения расчета для конкретных значений необходимо запускать скрипт с параметрами. import...
[ "Belov.A.Andr@sberbank.ru" ]
Belov.A.Andr@sberbank.ru
a84eef80c1386bd0ec750fb2b2d81e11630bf092
c4d3fe6c76e9e0fad14b0cd4a65bf3f12b444710
/Python/Examples/pyex_73.py
706be7887d88eb5dea640970ace0b4d8b63f3d34
[]
no_license
MartinChan3/CyComputerNote
af12e508c0364e6e8381eefb510cfd265a9895a1
45765aed28929106f9bd9bb7d7336203de4b34cc
refs/heads/master
2023-05-13T01:44:50.704024
2023-04-28T08:49:19
2023-04-28T08:49:19
142,123,859
6
1
null
null
null
null
UTF-8
Python
false
false
187
py
#coding:utf-8 if __name__ == '__main__': N = 3 arr = [] for i in range(N): arr.append(raw_input('Please input a number:\n')) for i in arr[::-1]: print i
[ "bycy0801@126.com" ]
bycy0801@126.com
cc4786754a4df73a20af92b1a9ab2262190d77c8
1f64ee3fd873de6d3f5510e2e24f5a55993fc112
/img.py
54ab9cba6efa01d6496fce7c204e9471f672059d
[]
no_license
Myxg/capture
687167ccf6cb392f4d645332dde25d49efa255a8
044b81a4c3a8c3aa223bb075a8c565c18c1e351f
refs/heads/master
2022-12-14T15:57:41.634687
2020-09-07T10:24:10
2020-09-07T10:24:10
290,379,290
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
import os import shutil import time from multiprocessing import Process # tt = time.time() # def run(count_num): n = 0 while True: if n == 1: break for i in range(1, 9): print(i, n) i = str(i) path_xml = "D:\\img_" + i filelist = os.listdir(path_xml) path = "D:\...
[ "15234407153@163.com" ]
15234407153@163.com
2cfabaac17e91a80ec12fe78412c6f43917058e7
889ae46c25608a549f14d3c1c8ff3328eb1c8ba5
/microdollars/apps.py
e6dfb7d7fd8403e8b8274305f7a3984050e93eb5
[]
no_license
vasilzhigilei/MicroDollars
8d74b634dd36a4d1a816a3580bf96f7878cca5b3
c554c329225762e02ade85d7a9744fecda57b06b
refs/heads/master
2023-02-10T11:14:51.062557
2021-01-02T15:52:17
2021-01-02T15:52:17
318,037,005
1
0
null
null
null
null
UTF-8
Python
false
false
99
py
from django.apps import AppConfig class MicrodollarsConfig(AppConfig): name = 'microdollars'
[ "vasil.zhigilei@gmail.com" ]
vasil.zhigilei@gmail.com
b1ff6cd4754f8fcfa1cd850e1666eedd48399014
ec9aeb155366571d58c4098176d723f7ec31ff1c
/pilotlog/asgi.py
b3f209c127d214deffe4ac6caed37807ad39fda4
[]
no_license
LukeZvada/pilotlogcapstone-server
88808b1c253edc38baaac2a66e579ed883a51b22
5627945436550114b75f0f2677e7a2f7803bb026
refs/heads/main
2023-02-14T00:07:57.493319
2021-01-10T22:11:32
2021-01-10T22:11:32
320,682,550
2
0
null
2020-12-14T21:59:37
2020-12-11T20:58:03
Python
UTF-8
Python
false
false
393
py
""" ASGI config for pilotlog project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "zvadamusic@gmail.com" ]
zvadamusic@gmail.com
70238f11cb7faa876c603467cf7d095936153a53
a3ffcac33cf0a6f5b7c004028a7250c0e60de077
/python/dockeregistryfunc.py
dcbc38210533c16d346c1ea21eadb7568a3dd0e4
[]
no_license
jils2013/scripts
af2092d8141b4ecfa2c5ce095e69aff64c69e9d3
79a597b45fb1d76beccfbfb686ed7e13d45bef44
refs/heads/master
2021-06-25T19:38:27.857832
2019-06-17T15:37:10
2019-06-17T15:37:10
106,628,000
0
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
#!/usr/bin/python # -*- coding: utf-8 -*- import json,urllib2,urllib,re,base64,threading,time # Bearer realm... user = {'http://youregistry.com/v2/token': ['user', 'password']} # get running images from kubernetes deployments def getrunimgs(url): images=[] for i in json.loads(urllib2.urlopen('http://%s/apis/extens...
[ "noreply@github.com" ]
jils2013.noreply@github.com
caf75fde8a29322b0f3f71e4117d53e8ddb58efe
305460b9313b627e17b43c9dcc598713637c4019
/7-7/productSum.py
5d1afcfcdf9cb1e8dc18a8df22b366e3239c6f8e
[]
no_license
atanuc073/algoexpert-codes
5f57c9e39b076c1f736d2f0f4c6c768eac95a821
4f9c6c52e547812204bfa4976ad239ea83ba1475
refs/heads/master
2023-07-03T17:24:20.438480
2021-08-07T14:32:24
2021-08-07T14:32:24
382,352,069
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# time O(n) | space O(D) D=depth def productSum(array,multiplier=1): sum=0 for element in array: if type(element) is list: sum+=productSum(element,multiplier+1) else: sum+=element return sum*multiplier
[ "atanuc073@gmail.com" ]
atanuc073@gmail.com
256b7375e1b67dbef659b2a71081c151ec165e31
ae2374e9b3defcb5c5ac7a87a6fed8755670edb9
/ad_buy/ad_buy/urls.py
5979c0e413188ff03723f48c22621a31a4180703
[]
no_license
antipetrov/rtb-simulation
c0aa51a3d29f93d8789356cddb4d59d165149055
9e51ca401f76bd2ee814cf716f059fccb76ba6d4
refs/heads/master
2023-05-31T12:51:22.733422
2019-03-31T17:36:06
2019-03-31T17:36:06
266,450,762
0
0
null
2021-06-10T22:56:58
2020-05-24T01:45:55
JavaScript
UTF-8
Python
false
false
1,442
py
"""ad_buy URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "petr.matukhov@gmail.com" ]
petr.matukhov@gmail.com
89a0ad29603302ad1b9ef508389b6a8c00d6c5d8
32598b094763e77be276dc31a3662c1ab181a8bf
/python_basic_webscraping/16_selenium_movies_scroll.py
db2110e9eb0b7f9e7f9c4b8370231b666a9e4a74
[]
no_license
rssungjae1/Python-Lounge
30bc3b4cdf7f44dedc4a72258260a843381cd00e
3a69c1a146618fb994ceb3e84f8ace76ae642b72
refs/heads/main
2023-03-21T01:31:00.057595
2021-03-19T14:56:50
2021-03-19T14:56:50
349,454,564
0
0
null
null
null
null
UTF-8
Python
false
false
1,988
py
from selenium import webdriver import time browser = webdriver.Chrome() # Chrome("위치") browser.maximize_window() # 창 최대화 # 페이지 이동 url = "https://play.google.com/store/movies/top" browser.get(url) # 스크롤 내리기 # browser.execute_script("window.scrollTo(0, 1080)") # x 1080 interval = 2 # 2초에 한번씩 스크롤 내림 # 현재 문서 높이를 가져와서 ...
[ "rssungjae1@gmail.com" ]
rssungjae1@gmail.com
2762cc43f2307609ed231fa2ed5a2e6ec2df2b9f
38a972a3cd1fc303b5f877e24d65118912d85d1c
/path/to/virtualenv/project/Lib/site-packages/tensorflow/python/framework/test_util.py
8ae37bff8635ae3b4b9e75826560b3fa7867f5aa
[]
no_license
ZulfikarAkbar/YOLO_ObjectDetection
0c1015aa987d03329eae48a2053a07dda05d96c0
3517d0592a269f79df9afd82e0b1b0123bbe0473
refs/heads/master
2022-10-27T05:08:26.734173
2019-02-07T17:35:22
2019-02-07T17:35:22
169,613,306
0
1
null
2022-10-18T02:18:17
2019-02-07T17:35:03
Python
UTF-8
Python
false
false
67,074
py
# Copyright 2015 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...
[ "zulfikar.78.akbar@gmail.com" ]
zulfikar.78.akbar@gmail.com
3a333d219c27873867459b78e83cc27ca760db9f
6a6fc4376d9e546b31f9bb7843d4b15e3d983e77
/app/views/__init__.py
51e469d6580cbc0db322256a831ce3eae19da80d
[]
no_license
bluefinch83/FE_690_Homework_01
232140e12baf18db96494fe135481c95e2726383
9e5d6a103ee896215ca5e3b1b9d3d720f610dc92
refs/heads/master
2020-08-01T12:10:54.927256
2019-09-26T03:41:06
2019-09-26T03:41:06
210,992,736
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
from app import flask_app as app import json from datetime import datetime import numpy as np @app.route("/heartbeat") def heartbeat(): return json.dumps( { "status": True, "service": "Homework_Template", "datetime": f"{datetime.now()}" } ) @app.route("/sum...
[ "37155961+bluefinch83@users.noreply.github.com" ]
37155961+bluefinch83@users.noreply.github.com
774241e41748b036d43c2408a8b464a1feba11db
743eb56cf4828193155b03df9695edea989ff0a0
/formateo_xml.py
7aed7b170ea42e9bbdedd1f1b73b7b05f04a882f
[]
no_license
javicb55/pythonConsultasXML
a56f079cbdc4bff7640884d941a264c0f789cf33
d5d8fe65070049c618a189bcb347e34d0d1c257e
refs/heads/master
2020-04-02T17:24:26.428616
2018-10-26T09:34:09
2018-10-26T09:34:09
154,656,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
# -*- coding: utf-8 -*- import xml.etree.ElementTree as ET from arbolDirectorios import arbol_directorios import crearJson from bs4 import BeautifulSoup import os def formatearXML(): tree = ET.parse('NEWSELUJA_queries_spanish.xml') root = tree.getroot() listaConsultas = [] for child in root: ...
[ "javicb55@gmail.com" ]
javicb55@gmail.com
0ab098c47e1a35fcbc9f8ca6c55addc6785d5d3c
c47ae2b4849310186509370f09dbe2116c9601ca
/scripts/Extract.16S.MG.py
d433be58ee284256a50028abcd3b417477335b46
[]
no_license
caozhichongchong/traits_finder
33f68d4dee85486842a1887fe1e9079cedf43d17
467f0f4c64bf27d9c67f05721ae08a16f82661b5
refs/heads/master
2021-07-10T05:27:30.901151
2019-03-24T17:24:32
2019-03-24T17:24:32
177,446,018
1
0
null
null
null
null
UTF-8
Python
false
false
3,283
py
import argparse from Bio import SeqIO import os ############################################ Arguments and declarations ############################################## parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument("-i", help="input ...
[ "caozhichongchong@gmail.com" ]
caozhichongchong@gmail.com
7bcf211fc8557fbd64cf3a049b6d6d044738fa41
311fbbff6bc0b52ba2662462c798a14719cbec7c
/FPG_AR.py
e92e1db1bb09c8bcc4cd5f381eac5ba091db6313
[]
no_license
orliz/FindRules
3ccb38617b1c8a052af23e39e4765bf1407f8f1c
79548637a925d5cf37046f6b85d134fe91315f78
refs/heads/master
2020-03-19T09:36:00.436226
2018-06-06T09:09:50
2018-06-06T09:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,407
py
import scipy.io import numpy as np # import downsample # def loadSimpDat(): # # Train_sorted = scipy.io.loadmat('Train_sorted.mat') # # # print(Train_sorted['tempdescr']) # # simDat = Train_sorted['tempdescr'] # simpDat = [['r', 'z', 'h', 'j', 'p'], # ['z', 'y', 'x', 'w', 'v', 'u', 't', '...
[ "527946771@qq.com" ]
527946771@qq.com