max_stars_repo_path
stringlengths
4
237
max_stars_repo_name
stringlengths
6
117
max_stars_count
int64
0
95.2k
id
stringlengths
1
7
content
stringlengths
12
593k
input_ids
listlengths
7
549k
apps/server/tpr_server.py
SDRAST/Instruments_Radipower
0
111397
""" Dare! Total Power Radiometer server Instead of superceding the inherited loggers it may be possible simply to rename them. """ import logging import signal import sys import time from os.path import dirname from support import NamedClass, check_permission, sync_second from support.logs import get_loglevel, initi...
[ 1, 9995, 13, 29928, 598, 29991, 14990, 9206, 4957, 29875, 8328, 1923, 13, 13, 3379, 1479, 310, 2428, 1133, 292, 278, 23878, 1480, 5743, 372, 1122, 367, 1950, 3763, 304, 29871, 13, 1267, 420, 963, 29889, 13, 15945, 29908, 13, 5215, 121...
python/orca/example/torchmodel/train/resnet_finetune/resnet_finetune.py
DirkFi/BigDL
3
145196
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ 1, 396, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29953, 450, 7997, 19558, 13189, 943, 29889, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 29931, 293, 1947,...
interceptor/migrations/0006_auto_20200514_0637.py
minrock/thaad
0
43626
# Generated by Django 3.0.5 on 2020-05-14 06:37 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('interceptor', '0005_auto_20200514_0617'), ] operations = [ migrations.AddField( model_name='int...
[ 1, 396, 3251, 630, 491, 15337, 29871, 29941, 29889, 29900, 29889, 29945, 373, 29871, 29906, 29900, 29906, 29900, 29899, 29900, 29945, 29899, 29896, 29946, 29871, 29900, 29953, 29901, 29941, 29955, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, ...
cla_frontend/apps/status/urls.py
ministryofjustice/cla_frontend
3
45460
<gh_stars>1-10 from django.conf.urls import patterns, url from moj_irat.views import HealthcheckView from . import views urlpatterns = patterns( "", url(r"^live/$", views.status, {"probe_type": "live"}, name="live_probe"), url(r"^ready/$", views.status, {"probe_type": "ready"}, name="ready_probe"), ur...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 9557, 29889, 5527, 29889, 26045, 1053, 15038, 29892, 3142, 13, 3166, 2730, 29926, 29918, 13481, 29889, 7406, 1053, 15202, 3198, 1043, 13, 3166, 869, 1053, 8386, ...
amazon/scraper/run_scraper.py
Distributed-Deep-Image-Search-Engine/DIC
2
180585
<gh_stars>1-10 from scraper import ProductData import pandas as pd from collections import OrderedDict df = pd.DataFrame() file_name = 'Mens-fashion-product-links' try: count = 0 for line in open(file_name): url = line.strip() # Making the class object prod = ProductData(url) my_dict = OrderedDict() ...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 24559, 546, 1053, 10969, 1469, 13, 5215, 11701, 408, 10518, 13, 3166, 16250, 1053, 8170, 287, 21533, 13, 13, 2176, 353, 10518, 29889, 17271, 580, 13, 13, 1445...
yuio/parse.py
taminomara/yuio
1
1615968
<filename>yuio/parse.py # Yuio project, MIT licence. # # https://github.com/taminomara/yuio/ # # You're free to copy this file to your project and edit it for your needs, # just keep this copyright line please :3 """ This module provides several parsers that convert (usually user-provided) strings to python objects, o...
[ 1, 529, 9507, 29958, 29891, 29884, 601, 29914, 5510, 29889, 2272, 13, 29937, 27669, 601, 2060, 29892, 341, 1806, 7794, 663, 29889, 13, 29937, 13, 29937, 2045, 597, 3292, 29889, 510, 29914, 29873, 9103, 290, 2518, 29914, 29891, 29884, 601,...
gdrivefs-0.14.9-py3.6.egg/gdrivefs/utility.py
EnjoyLifeFund/macHighSierra-py36-pkgs
0
23943
import logging import json import re import sys import gdrivefs.conf _logger = logging.getLogger(__name__) # TODO(dustin): Make these individual functions. class _DriveUtility(object): """General utility functions loosely related to GD.""" # # Mime-types to translate to, if they appear within the "exportLi...
[ 1, 1053, 12183, 13, 5215, 4390, 13, 5215, 337, 13, 5215, 10876, 13, 13, 5215, 330, 21594, 5847, 29889, 5527, 13, 13, 29918, 21707, 353, 12183, 29889, 657, 16363, 22168, 978, 1649, 29897, 13, 13, 29937, 14402, 29898, 29881, 504, 262, 1...
flask_dance/contrib/okta.py
wsheppard/flask-dance
1
133989
<reponame>wsheppard/flask-dance from __future__ import unicode_literals from flask_dance.consumer import OAuth2ConsumerBlueprint from functools import partial from flask.globals import LocalProxy, _lookup_app_object try: from flask import _app_ctx_stack as stack except ImportError: from flask import _request_c...
[ 1, 529, 276, 1112, 420, 29958, 5652, 354, 407, 538, 29914, 1579, 1278, 29899, 29881, 749, 13, 3166, 4770, 29888, 9130, 1649, 1053, 29104, 29918, 20889, 1338, 13, 13, 3166, 29784, 29918, 29881, 749, 29889, 25978, 261, 1053, 438, 6444, 29...
tpp_twitter/twitter.py
SuperSonicHub1/twitter_plays_pyboy
0
25676
from dotenv import load_dotenv import tweepy from os import getenv from typing import BinaryIO BASE_BIO = "Inspired by @screenshakes. Powered by PyBoy: http://github.com/Baekalfen/PyBoy\n" load_dotenv() auth = tweepy.OAuthHandler(getenv('TWITTER_KEY'), getenv('TWITTER_SECRET')) auth.set_access_token(getenv('TWITTER_...
[ 1, 515, 8329, 6272, 1053, 2254, 29918, 6333, 6272, 13, 5215, 7780, 1022, 29891, 13, 3166, 2897, 1053, 679, 6272, 13, 3166, 19229, 1053, 29479, 5971, 13, 13, 25416, 29918, 29933, 5971, 353, 376, 797, 1028, 2859, 491, 732, 29879, 24546, ...
health.py
adil-zhang/healthy_auto
4
29217
<reponame>adil-zhang/healthy_auto # -*- coding: utf-8 -*- # coding=utf-8 import json import random import requests import argparse import time # 请求内容转json def getval(): values = {"province": "北京", "city": "北京市", "addressType": "整租房", "temperature": "36.7", "dayNum": "", "contactHbPerplr": "无接触", "toWh": "未去过/路...
[ 1, 529, 276, 1112, 420, 29958, 328, 309, 29899, 29920, 11895, 29914, 354, 4298, 29891, 29918, 6921, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 14137, 29922, 9420, 29899, 29947, 13, 13, 1...
tests/test_app1/securities/test_sec_register.py
loitd/myflask
0
198819
<filename>tests/test_app1/securities/test_sec_register.py # https://viblo.asia/p/tim-hieu-ve-sql-injection-testing-RQqKLv90l7z import pytest from bs4 import BeautifulSoup as bs from flask import url_for def test_register_sqlinjection(app, client): theurlstr = 'register_blp.reg' with app.test_request_context():...
[ 1, 529, 9507, 29958, 21150, 29914, 1688, 29918, 932, 29896, 29914, 344, 2764, 1907, 29914, 1688, 29918, 3471, 29918, 9573, 29889, 2272, 13, 29937, 2045, 597, 29894, 747, 417, 29889, 26252, 29914, 29886, 29914, 9346, 29899, 29882, 9532, 2989...
tensorflow_probability/python/distributions/laplace_test.py
wataruhashimoto52/probability
1
2296
<reponame>wataruhashimoto52/probability # Copyright 2018 The TensorFlow Probability Authors. # # 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...
[ 1, 529, 276, 1112, 420, 29958, 29893, 14873, 29884, 8568, 326, 3747, 29945, 29906, 29914, 22795, 3097, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29947, 450, 323, 6073, 17907, 1019, 29890, 3097, 13189, 943, 29889, 13, 29937, 13, ...
model-test.py
shikew/Handwriting-calculator
0
8598
import numpy as np from PIL import Image from keras.models import load_model img_gray = Image.open('1002.png') number = np.array(img_gray) print(number.shape) print('准备的图片的shape:',number.flatten().shape) print('原number:',number) number = number.astype('float32') number = number/255 #归一化 number = number.flatten() pri...
[ 1, 1053, 12655, 408, 7442, 13, 3166, 349, 6227, 1053, 7084, 13, 3166, 13023, 294, 29889, 9794, 1053, 2254, 29918, 4299, 13, 13, 2492, 29918, 21012, 353, 7084, 29889, 3150, 877, 29896, 29900, 29900, 29906, 29889, 2732, 1495, 13, 4537, 35...
src/query_datastream.py
DominiqueMercier/TSViz-Core
0
102401
<filename>src/query_datastream.py import pickle import matplotlib.pyplot as plt import numpy as np from scipy.stats import zscore from tqdm import tqdm def sampleTimeSeriesStream(strides, length, numTimeSteps, numChannels, numAnomalies, minDist, plotData=False): x = smoothSampling(strides * length + numTimeSteps,...
[ 1, 529, 9507, 29958, 4351, 29914, 1972, 29918, 4130, 579, 1633, 29889, 2272, 13, 5215, 5839, 280, 13, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, 12655, 408, 7442, 13, 3166, 4560, 2272, 29889, 16202, 1053, 503, 13628, 13, ...
orcinus/workspace/workspace.py
orcinus-lang/orcinus-bootstrap
0
194482
<reponame>orcinus-lang/orcinus-bootstrap # Copyright (C) 2019 <NAME> # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. from __future__ import annotations import logging import os import urllib.parse from typing import Sequence, Optional from orc...
[ 1, 529, 276, 1112, 420, 29958, 272, 29883, 13419, 29899, 3893, 29914, 272, 29883, 13419, 29899, 8704, 13, 29937, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29896, 29929, 529, 5813, 29958, 13, 29937, 13, 29937, 910, 7047, 1122, 3...
setup.py
iamsrp/pyfestival
8
26753
<reponame>iamsrp/pyfestival #!/usr/bin/env python from distutils.core import setup, Extension from distutils.util import get_platform import os festival_include = os.environ.get("FESTIVAL_INCLUDE", '/usr/include/festival') speech_tools_include = os.environ.get("SPECCH_INCLUDE", '/usr/include/speech_tools') festival_li...
[ 1, 529, 276, 1112, 420, 29958, 10909, 19080, 29914, 2272, 29888, 6074, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 3166, 1320, 13239, 29889, 3221, 1053, 6230, 29892, 7338, 2673, 13, 3166, 1320, 13239, 29889, 4422, 1053, 67...
MyExtenstion.extension/Gaochao.tab/Gaochao.panel/Annotation_Modify.pulldown/Grid_3DTo2D.pushbutton/script.py
gaochaowyq/MyPyRevitExtentision
0
58875
# -*- coding: utf-8 -*- __doc__="返回选择物体的类型" import rpw from rpw import revit, DB, UI,db,doc #from System.Collections.Generic import List #import json #from scriptutils import this_script #from scriptutils.userinput import CommandSwitchWindow #import subprocess as sp #Change Selected Grid From 3D to 2D #selection = rpw...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 1649, 1514, 1649, 543, 31086, 30742, 31333, 233, 142, 172, 30834, 30988, 30210, 30832, 30883, 29908, 13, 5215, 364, 29886, 29893, 13, 3166, 364, 29886, 2...
my_notes/ex127/sieve_module.py
ivalderrama/packt_python_workshop
0
133674
class PrimesBelow: def __init__(self, bound): self.candidate_numbers = list(range(2,bound)) def __iter__(self): return self def __next__(self): if len(self.candidate_numbers) == 0: raise StopIteration next_prime = self.candidate_numbers...
[ 1, 770, 1588, 1355, 21140, 340, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3216, 1125, 13, 4706, 1583, 29889, 29883, 5380, 403, 29918, 20326, 353, 1051, 29898, 3881, 29898, 29906, 29892, 9917, 876, 13, 308, 13, 1678, 822,...
learning-python-master/learning-python-master/python_gyakorlas3.py
Hanna998/functional_tests
0
176644
<filename>learning-python-master/learning-python-master/python_gyakorlas3.py<gh_stars>0 # -*- coding:Utf-8 -*- ''' Gyakorlatok : 5.11. x Legyenek adottak a következő listák: t1 = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] t2 = ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', '<NAME...
[ 1, 529, 9507, 29958, 21891, 29899, 4691, 29899, 6207, 29914, 21891, 29899, 4691, 29899, 6207, 29914, 4691, 29918, 1927, 557, 272, 3333, 29941, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 2...
lumos/models/__init__.py
numagic/lumos
1
1604281
from lumos.models.composition import ModelMaker from lumos.models.simple_vehicle_on_track import SimpleVehicleOnTrack from lumos.models.tires.pacejka import MF52 from lumos.models.tires.perantoni import PerantoniTire from lumos.models.vehicles.simple_vehicle import SimpleVehicle from lumos.models.kinematics import Trac...
[ 1, 515, 19703, 359, 29889, 9794, 29889, 510, 3283, 1053, 8125, 29924, 5790, 13, 3166, 19703, 359, 29889, 9794, 29889, 12857, 29918, 345, 29882, 2512, 29918, 265, 29918, 11294, 1053, 12545, 29963, 14797, 2512, 2951, 17936, 13, 3166, 19703, ...
django_comments_xtd/apps.py
dlrsp-dev/django-comments-xtd
0
93025
from django.apps import AppConfig from django.db.models.signals import pre_save class CommentsXtdConfig(AppConfig): default_auto_field = 'django.db.models.AutoField' name = 'django_comments_xtd' verbose_name = 'Comments Xtd' def ready(self): from django_comments_xtd import get_model f...
[ 1, 515, 9557, 29889, 13371, 1053, 2401, 3991, 13, 3166, 9557, 29889, 2585, 29889, 9794, 29889, 4530, 1338, 1053, 758, 29918, 7620, 13, 13, 13, 1990, 461, 29879, 29990, 1594, 3991, 29898, 2052, 3991, 1125, 13, 1678, 2322, 29918, 6921, 29...
FaceLandmarking.LearningProcess/readers/regressor_example_reader.py
TomaszRewak/FaceLandmarking
78
26174
import csv def read_regressor_examples(num_of_features, num_of_decisions, file_path): xs = [] ys = [] with open(file_path, mode='r', encoding='utf-8') as file: reader = csv.reader(file, delimiter=' ') for row in reader: x = [float(value) for value in row[0 : num_of_features]]...
[ 1, 1053, 11799, 13, 13, 13, 1753, 1303, 29918, 276, 3663, 272, 29918, 19057, 29898, 1949, 29918, 974, 29918, 22100, 29892, 954, 29918, 974, 29918, 311, 3476, 1080, 29892, 934, 29918, 2084, 1125, 13, 1678, 14492, 353, 5159, 13, 1678, 343...
tests/unit_tests/test_tethys_services/test_models/test_SpatialDatasetService.py
ezrajrice/tethys
79
76434
from tethys_sdk.testing import TethysTestCase import tethys_services.models as service_model from unittest import mock class SpatialDatasetServiceTests(TethysTestCase): def set_up(self): pass def tear_down(self): pass def test__str__(self): sds = service_model.SpatialDatasetServi...
[ 1, 515, 260, 621, 952, 29918, 15348, 29889, 13424, 1053, 323, 621, 952, 3057, 8259, 13, 5215, 260, 621, 952, 29918, 9916, 29889, 9794, 408, 2669, 29918, 4299, 13, 3166, 443, 27958, 1053, 11187, 13, 13, 13, 1990, 1706, 15238, 16390, 24...
abc191/C.py
Vermee81/practice-coding-contests
0
91183
H, W = map(int, input().split()) field = [[str(i) for i in input()] for _ in range(H)] count = 0 for x in range(W-1): for y in range(H-1): black_num = 0 for x1, y1 in [(x, y), (x+1, y), (x, y+1), (x+1, y+1)]: if field[y1][x1] == '#': black_num += 1 if black_num % ...
[ 1, 379, 29892, 399, 353, 2910, 29898, 524, 29892, 1881, 2141, 5451, 3101, 13, 2671, 353, 5519, 710, 29898, 29875, 29897, 363, 474, 297, 1881, 580, 29962, 363, 903, 297, 3464, 29898, 29950, 4638, 13, 2798, 353, 29871, 29900, 13, 1454, ...
auto_test_web/backend/utils/my_logger.py
AI-change-the-world/ai-apps
2
79136
<reponame>AI-change-the-world/ai-apps import logging from logging import INFO, getLogger import os from concurrent_log_handler import ConcurrentRotatingFileHandler current_dir = os.getcwd() log_file = current_dir + os.sep + "logs" + os.sep + 'log.txt' logger = getLogger(__name__) formatter_log = logging.Formatter( ...
[ 1, 529, 276, 1112, 420, 29958, 23869, 29899, 3167, 29899, 1552, 29899, 11526, 29914, 1794, 29899, 13371, 13, 5215, 12183, 13, 3166, 12183, 1053, 15233, 29892, 679, 16363, 13, 5215, 2897, 13, 13, 3166, 21984, 29918, 1188, 29918, 13789, 105...
services/perso/persotool.py
mkuyper/basicmac
11
79695
#!/usr/bin/env python3 # Copyright (C) 2020-2020 <NAME>. All rights reserved. # # This file is subject to the terms and conditions defined in file 'LICENSE', # which is part of this source code package. from typing import Optional import aioserial import asyncio import click import functools from perso import PTE, ...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 29937, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29906, 29900, 29899, 29906, 29900, 29906, 29900, 529, 5813, 15513, 2178, 10462, 21676, 29889, 13, 29937, 13, 29937, 9...
build/lib/AESEncryptor_heureka_code/Exceptions/TextExceptions.py
heureka-code/AESEncryptor-heureka-code
0
1607950
__date__ = "11.03.2021" __status__ = "Development" __annotations__ = "Enthält die Exceptions für das Verschlüsseln und Entschlüsseln von Texten" __doc__ = """ Text Exceptions: TextError: ist die Klasse, von der die anderen Text Exceptions erben. TextIsEncrypted: wird ausgelöst, wenn der Text nicht verschlüss...
[ 1, 4770, 1256, 1649, 353, 376, 29896, 29896, 29889, 29900, 29941, 29889, 29906, 29900, 29906, 29896, 29908, 13, 1649, 4882, 1649, 353, 376, 21956, 358, 29908, 13, 1649, 6735, 800, 1649, 353, 376, 2369, 386, 10905, 762, 8960, 29879, 1865, ...
apps/notifiers/notification_action_processor.py
constructorfleet/AutomationApps
0
176639
<filename>apps/notifiers/notification_action_processor.py from appdaemon import utils from common.base_app import BaseApp from notifiers.notification_action import NotificationAction ACTION = "action" ACTION_NAME = "actionName" ACTION_DATA = "action_data" CATEGORY = "category" ENTITY_ID = "entity_id" ACKNOWLEDGE_ID =...
[ 1, 529, 9507, 29958, 13371, 29914, 1333, 14903, 29914, 24671, 29918, 2467, 29918, 26482, 29889, 2272, 13, 3166, 623, 1388, 9857, 1053, 3667, 29879, 13, 13, 3166, 3619, 29889, 3188, 29918, 932, 1053, 7399, 2052, 13, 3166, 451, 14903, 29889...
tests/api_interface/test_runbooks/test_files/parallel_task.py
tuxtof/calm-dsl
37
53401
""" Calm DSL Sample Runbook for parallel task """ from calm.dsl.runbooks import runbook, parallel, branch from calm.dsl.runbooks import RunbookTask as Task @runbook def ParallelTask(): "Runbook Service example" with parallel() as p: with branch(p): Task.Delay(60, name="Delay1") w...
[ 1, 9995, 13, 7856, 29885, 360, 12750, 21029, 7525, 2909, 363, 8943, 3414, 13, 13, 15945, 29908, 13, 13, 3166, 21732, 29889, 29881, 2536, 29889, 3389, 12733, 1053, 1065, 2909, 29892, 8943, 29892, 5443, 13, 3166, 21732, 29889, 29881, 2536, ...
2021/Python/6/lanternfish_2_from_Jonathan_Paulson.py
ames0k0/AdventOfCode
0
64780
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ No need to create a list of fishes and add new one to the end of the list """ from collections import defaultdict def main(): # XXX: COPY/PASTED input_file = './input.txt' X = defaultdict(int) with open(input_file, 'r') as ftr: for n in map(int, ftr.read...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 15945, 29908, 13, 3782, 817, 304, 1653, 263, 1051, 310, 9427, 267, 322, 788, 716, 697, 30...
tsaotun/lib/Addon/loader.py
qazbnm456/tsaotun
47
68398
"""Addon Loader module""" import os import pkgutil import imp from ast import literal_eval from ConfigParser import RawConfigParser from git import RemoteProgress from ..Utils.deepgetattr import deepgetattr from ..Utils.hightlight import hightlight_python from ..Utils.urlutil import is_git_url class Progress(Remote...
[ 1, 9995, 2528, 265, 4309, 1664, 3883, 15945, 29908, 13, 13, 5215, 2897, 13, 5215, 282, 9415, 4422, 13, 5215, 2411, 13, 3166, 8717, 1053, 16333, 29918, 14513, 13, 3166, 12782, 11726, 1053, 22038, 3991, 11726, 13, 3166, 6315, 1053, 5240, ...
pyconcz_2016/sponsors/migrations/0007_auto_20161019_1700.py
pyvec/cz.pycon.org-2016
10
88891
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-19 15:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sponsors', '0006_auto_20160929_1218'), ] operations = [ migrations.AlterFie...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 3251, 630, 491, 15337, 29871, 29896, 29889, 29896, 29900, 29889, 29906, 373, 29871, 29906, 29900, 29896, 29953, 29899, 29896, 29900, 29899, 29896, 299...
python/qitoolchain/test/test_qitoolchain_remove.py
vbarbaresi/qibuild
0
185267
# Copyright (c) 2012-2018 SoftBank Robotics. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the COPYING file. import pytest import qibuild.config from qibuild.test.conftest import TestBuildWorkTree import qitoolchain.toolchain def test_simple(qitoolchain_act...
[ 1, 396, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29906, 29899, 29906, 29900, 29896, 29947, 1105, 615, 29933, 804, 6417, 327, 1199, 29889, 2178, 10462, 21676, 29889, 13, 29937, 4803, 310, 445, 2752, 775, 338, 4095, 287, ...
gen-post.py
younghk/younghk.netlify.com
0
964
<gh_stars>0 import os import errno from datetime import datetime print("Generating A New Post\n") post_name = input('Input Post Name: ') date_time = datetime.now() date_time_dir = date_time.strftime("%Y-%m-%d") date_time_post = date_time.strftime("%Y-%m-%d %H:%M:%S") p_name = post_name.replace(" ","-") p_name = p_n...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 2897, 13, 5215, 4589, 1217, 13, 3166, 12865, 1053, 12865, 13, 13, 2158, 703, 5631, 1218, 319, 1570, 4918, 29905, 29876, 1159, 13, 13, 2490, 29918, 978, 353, 1881, 877, 4290, 491...
python/createTestVector.py
marbleton/FPGA_MNIST
7
80072
import numpy as np from numpy.random import rand from numpy import * from pathlib import Path import csv # activation function? if we'd use ReLU with grayscale images the value stays # the same # This script creates a .csv file in the work directory # containing integer numbers in the following form # Input X : x1, ...
[ 1, 1053, 12655, 408, 7442, 13, 3166, 12655, 29889, 8172, 1053, 20088, 13, 3166, 12655, 1053, 334, 13, 3166, 2224, 1982, 1053, 10802, 13, 5215, 11799, 13, 13, 29937, 26229, 740, 29973, 565, 591, 29915, 29881, 671, 830, 29931, 29965, 411,...
custom_components/hacs/frontend/views/static.py
adr29truck/hacs
0
132386
"""Serve static files used by HACS.""" # pylint: disable=broad-except import logging import os from aiohttp import web from aiohttp.web import HTTPNotFound from ...blueprints import HacsViewBase _LOGGER = logging.getLogger('custom_components.hacs.frontend') class HacsStaticView(HacsViewBase): """Serve static fil...
[ 1, 9995, 1748, 345, 2294, 2066, 1304, 491, 379, 2477, 29903, 1213, 15945, 13, 29937, 282, 2904, 524, 29901, 11262, 29922, 6729, 328, 29899, 19499, 13, 5215, 12183, 13, 5215, 2897, 13, 3166, 263, 601, 1124, 1053, 1856, 13, 3166, 263, 6...
wbb/utils/read_lines.py
Imran95942/userbotisl
1
50858
<filename>wbb/utils/read_lines.py from random import choice async def random_line(fname): with open(fname) as f: data = f.read().splitlines() return choice(data)
[ 1, 529, 9507, 29958, 29893, 1327, 29914, 13239, 29914, 949, 29918, 9012, 29889, 2272, 13, 3166, 4036, 1053, 7348, 13, 13, 13, 12674, 822, 4036, 29918, 1220, 29898, 29888, 978, 1125, 13, 1678, 411, 1722, 29898, 29888, 978, 29897, 408, 28...
Introduction-to-data-visualization-with-matplotlib/2. Plotting time-series/script_2.py
nhutnamhcmus/datacamp-playground
1
189560
import matplotlib.pyplot as plt # Import pandas as pd import pandas as pd # Read the data from file using read_csv climate_change = pd.read_csv('climate_change.csv', parse_dates=['date'], index_col='date') print(climate_change.head()) fig, ax = plt.subplots() # Add the time-series for "relative_temp" t...
[ 1, 1053, 22889, 29889, 2272, 5317, 408, 14770, 30004, 13, 29937, 16032, 11701, 408, 10518, 30004, 13, 5215, 11701, 408, 10518, 30004, 13, 30004, 13, 29937, 7523, 278, 848, 515, 934, 773, 1303, 29918, 7638, 30004, 13, 30004, 13, 695, 649...
ch01/c118.py
claudiordgz/GoodrichTamassiaGoldwasser
2
123921
__author__ = 'Claudio' """Demonstrate how to use Python’s list comprehension syntax to produce the list [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. """ def demonstration_list_comprehension(): return [idx*x for idx, x in enumerate(range(1,11))]
[ 1, 4770, 8921, 1649, 353, 525, 20216, 2881, 29915, 13, 13, 13, 15945, 29908, 29928, 9857, 710, 403, 920, 304, 671, 5132, 30010, 29879, 1051, 15171, 2673, 5877, 304, 7738, 13, 1552, 1051, 518, 29900, 29892, 29871, 29906, 29892, 29871, 29...
x11_hash_py/bmw.py
zebra-lucky/x11-hash-py
0
152381
<gh_stars>0 # -*- coding: utf-8 -*- from struct import pack from . import op from .op import u64 V_INIT = [ u64(0x80818283, 0x84858687), u64(0x88898A8B, 0x8C8D8E8F), u64(0x90919293, 0x94959697), u64(0x98999A9B, 0x9C9D9E9F), u64(0xA0A1A2A3, 0xA4A5A6A7), u64(0xA8A9AAAB, 0xACADAEAF), u64(0xB0B1B2B3, 0x...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 3166, 2281, 1053, 4870, 13, 13, 3166, 869, 1053, 1015, 13, 3166, 869, 459, 1053, 318, 29953, 2994...
PyMOTW/source/sysconfig/sysconfig_get_path_names.py
axetang/AxePython
1
81430
<reponame>axetang/AxePython #!/usr/bin/env python3 # encoding: utf-8 # # Copyright (c) 2010 <NAME>. All rights reserved. # """The names of the paths in a scheme. """ #end_pymotw_header import sysconfig for name in sysconfig.get_path_names(): print(name)
[ 1, 529, 276, 1112, 420, 29958, 1165, 300, 574, 29914, 29909, 17115, 11980, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 8025, 29901, 23616, 29899, 29947, 13, 29937, 13, 29937, 14187, 1266, 313, 29883, 29897, 2...
diceThing.py
HappyNapalm/dungeon_crawl_python
0
92109
from random import randint while(True): stats=[0,1,2,3,4,5] i=0 while(i<6): a=1 j=0 while(j<4): a = a+randint(1,6) if(a>8&a<18): j=j+1 a = a-3 stats[i] = a i=i+1 print("\nWhat is your race A...
[ 1, 515, 4036, 1053, 20088, 524, 30004, 13, 8000, 29898, 5574, 1125, 30004, 13, 30004, 13, 1678, 22663, 11759, 29900, 29892, 29896, 29892, 29906, 29892, 29941, 29892, 29946, 29892, 29945, 29962, 30004, 13, 30004, 13, 1678, 474, 29922, 29900,...
setup.py
finsberg/scholar_bot
0
20466
<reponame>finsberg/scholar_bot # -*- coding: utf-8 -*- import os import sys import platform import glob from setuptools import setup, find_packages, Command if sys.version_info < (3, 6): print("Python 3.6 or higher required, please upgrade.") sys.exit(1) version = "0.1" name = "scholar_bot" description = (...
[ 1, 529, 276, 1112, 420, 29958, 29888, 1144, 2552, 29914, 816, 10170, 29918, 7451, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 5215, 2897, 13, 5215, 10876, 13, 5215, 7481, 13, 5215, 13149, ...
Assignment1/old - hpc tested/hw1/Task2-c/src/mapper.py
HyperTars/NYC-Taxi-Analysis
0
194352
#!/usr/bin/env python import sys for line in sys.stdin: # extract data key, val = line.strip().split('\t', 1) # passenger_count try: key = int(val.split(',')[3]) except ValueError: continue # print print '%s\t%s' % (key, 1) ''' cd ~/hw1/Task2-c/ rm -rf NumberPassengersSam...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 5215, 10876, 13, 13, 1454, 1196, 297, 10876, 29889, 4172, 262, 29901, 13, 1678, 396, 6597, 848, 13, 1678, 1820, 29892, 659, 353, 1196, 29889, 17010, 2141, 5451, 28909, 29873, 742, 2987...
db/models/example.py
thesnapdragon/python-cli
0
149032
<reponame>thesnapdragon/python-cli from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String Base = declarative_base() class Example(Base): __tablename__ = 'examples' id = Column(Integer, primary_key=True) name = Column(String) def __init__(self, id_, na...
[ 1, 529, 276, 1112, 420, 29958, 26041, 8971, 20515, 265, 29914, 4691, 29899, 11303, 13, 3166, 4576, 284, 305, 6764, 29889, 1062, 29889, 311, 16544, 1230, 1053, 7669, 1230, 29918, 3188, 13, 3166, 4576, 284, 305, 6764, 1053, 12481, 29892, ...
deepvariant/runtime_by_region_vis.py
tahashmi/deepvariant
4
6049
<filename>deepvariant/runtime_by_region_vis.py # Copyright 2020 Google LLC. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list ...
[ 1, 529, 9507, 29958, 24535, 19365, 29914, 15634, 29918, 1609, 29918, 12803, 29918, 1730, 29889, 2272, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29906, 29900, 5087, 365, 12182, 29889, 13, 29937, 13, 29937, 4367, 391, 3224, 322, 671, 297, ...
CEV/ex033.py
EduardoMachadoCostaOliveira/Python
0
76276
# Faça um programa que leia três números e mostre # qual é o Maior e qual é o Menor. a = int(input('\033[34;43mPrimeiro valor:\033[m ')) b = int(input('\033[32;44mSegundo valor:\033[m ')) c = int(input('\033[32;47mTerceiro valor:\033[m ')) # Verificando quem é o menor menor = a if b < a and b < c: menor = b if c < ...
[ 1, 396, 7748, 4277, 1922, 16914, 712, 454, 423, 26299, 12158, 359, 321, 1556, 276, 13, 29937, 4021, 904, 288, 3219, 1611, 321, 4021, 904, 288, 7567, 272, 29889, 13, 29874, 353, 938, 29898, 2080, 28909, 29900, 29941, 29941, 29961, 29941,...
gym_tetris/envs/__init__.py
michielcx/Tetris-DQN
13
165860
<reponame>michielcx/Tetris-DQN<gh_stars>10-100 from gym_tetris.envs.tetris_env import TetrisEnv
[ 1, 529, 276, 1112, 420, 29958, 29885, 436, 709, 18904, 29914, 29911, 300, 3780, 29899, 29928, 29984, 29940, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 3166, 330, 962, 29918, 29873, 300, 3780, 29889,...
convlab2/policy/ppo/multiwoz/__init__.py
Malavikka/ConvLab-2
339
86781
<reponame>Malavikka/ConvLab-2<filename>convlab2/policy/ppo/multiwoz/__init__.py from convlab2.policy.ppo.multiwoz.ppo_policy import PPOPolicy
[ 1, 529, 276, 1112, 420, 29958, 22995, 485, 638, 1335, 29914, 1168, 29894, 28632, 29899, 29906, 29966, 9507, 29958, 20580, 8205, 29906, 29914, 22197, 29914, 9759, 29914, 9910, 827, 29920, 29914, 1649, 2344, 26914, 2272, 13, 3166, 7602, 8205,...
src/adventofcode/year_2015/day_24_2015.py
Frazzer951/Advent-Of-Code
0
116424
<gh_stars>0 from functools import reduce from itertools import combinations from operator import mul from typing import List from adventofcode.util.helpers import solution_timer from adventofcode.util.input_helpers import get_input_for_day def splitPresents(weights, num_groups): group_size = sum(weights) // num_...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 2090, 312, 8789, 1053, 10032, 13, 3166, 4256, 8504, 1053, 18240, 13, 3166, 5455, 1053, 15065, 13, 3166, 19229, 1053, 2391, 13, 13, 3166, 17623, 974, 401, 29889, 4422, 29889, 3952,...
Exercise6.6/environment.py
yuishihara/ReinforcementLearningExcersices
0
136575
<filename>Exercise6.6/environment.py class Environment(object): def __init__(self): pass def act(self, state, action): pass def end_state(self, state): return True def reset(self): pass def available_actions(self): return None
[ 1, 529, 9507, 29958, 1252, 6269, 895, 29953, 29889, 29953, 29914, 20944, 29889, 2272, 13, 1990, 16738, 29898, 3318, 1125, 13, 29871, 822, 4770, 2344, 12035, 1311, 1125, 13, 1678, 1209, 13, 13, 13, 29871, 822, 1044, 29898, 1311, 29892, 2...
src/robotide/ui/treenodehandlers.py
crylearner/RIDE3X
1
16926
<gh_stars>1-10 # Copyright 2008-2015 Nokia Solutions and Networks # # 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 r...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 29871, 14187, 1266, 29871, 29906, 29900, 29900, 29947, 29899, 29906, 29900, 29896, 29945, 405, 554, 423, 4956, 17925, 322, 8527, 29879, 30004, 13, 29937, 30004, ...
api/exceptions.py
SirSkaro/smogon.py
0
78235
class Error(Exception): """Base class for other exceptions""" pass class InvalidSpecies(Error): """Species out of bounds of legitimate species""" pass class InvalidForm(Error): """Form is invalid""" pass class APIError(Error): """Something wrong with the API""" pass
[ 1, 770, 4829, 29898, 2451, 1125, 13, 1678, 9995, 5160, 770, 363, 916, 15283, 15945, 29908, 13, 1678, 1209, 13, 13, 1990, 21403, 10649, 2478, 29898, 2392, 1125, 13, 1678, 9995, 10649, 2478, 714, 310, 13451, 310, 25204, 6490, 6606, 15945,...
app.py
sasidharpunna/CRMFBot
0
52352
from flask import Flask, render_template, request from chatterbot import ChatBot import pypyodbc as odbc import re app = Flask(__name__) CRMFBot = ChatBot("Chatterbot", storage_adapter="chatterbot.storage.SQLStorageAdapter") @app.route("/") def home(): return render_template("index.html") @app.route("/get") def g...
[ 1, 515, 29784, 1053, 2379, 1278, 29892, 4050, 29918, 6886, 29892, 2009, 13, 3166, 521, 2620, 7451, 1053, 678, 271, 29933, 327, 13, 5215, 282, 1478, 29891, 10396, 29883, 408, 2413, 12328, 13, 5215, 337, 13, 13, 932, 353, 2379, 1278, 22...
tasks/task 2.py
Mirror-Shard/L2.8
0
116795
<filename>tasks/task 2.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ в основной ветке программы вызывается функция cylinder(), которая вычисляет площадь цилиндра. В теле cylinder() определена функция circle(), вычисляющая площадь круга по формуле. В теле cylinder() у пользователя спрашивается, хочет ли он получ...
[ 1, 529, 9507, 29958, 20673, 29914, 7662, 29871, 29906, 29889, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 299...
catalyst/dl/experiment/__init__.py
andrey-avdeev/catalyst
3
18634
<filename>catalyst/dl/experiment/__init__.py # flake8: noqa from .base import BaseExperiment from .config import ConfigExperiment from .supervised import SupervisedExperiment
[ 1, 529, 9507, 29958, 16431, 858, 29914, 11671, 29914, 735, 15362, 29914, 1649, 2344, 26914, 2272, 13, 29937, 17422, 446, 29947, 29901, 694, 25621, 13, 13, 3166, 869, 3188, 1053, 7399, 1252, 15362, 13, 3166, 869, 2917, 1053, 12782, 1252, ...
examples/scatters/scatter5.py
aengelke/z-plot
22
1605179
<gh_stars>10-100 #! /usr/bin/env python # should be in your PYTHONPATH or installed somewhere from zplot import * ctype = 'eps' if len(sys.argv) < 2 else sys.argv[1] c = canvas(ctype, title='scatter5', dimensions=[300,300]) t = table(file='scatter5.data') d = drawable(canvas=c, xrange=[0,80], yrange=[0,80], coord=[30...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 29937, 29991, 847, 4855, 29914, 2109, 29914, 6272, 3017, 13, 13, 29937, 881, 367, 297, 596, 349, 29979, 4690, 1164, 10145, 470, 5130, 9051, 13, 3166, ...
data/transforms/utils.py
apple/ml-cvnets
209
116019
<reponame>apple/ml-cvnets<gh_stars>100-1000 # # For licensing see accompanying LICENSE file. # Copyright (C) 2022 Apple Inc. All Rights Reserved. # from typing import Any import numpy as np def setup_size(size: Any, error_msg="Need a tuple of length 2"): if isinstance(size, int): return size, size i...
[ 1, 529, 276, 1112, 420, 29958, 11548, 29914, 828, 29899, 11023, 1212, 29879, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29900, 29899, 29896, 29900, 29900, 29900, 13, 29937, 13, 29937, 1152, 7794, 575, 292, 1074, 10259, 1384, 292, ...
package/awesome_panel/application/services/message_service.py
Jhsmit/awesome-panel
179
30712
"""This module implements the MessageService The MessageService enables sending and receiving messages """ import param class MessageService(param.Parameterized): """The MessageService enables sending and receiving messages"""
[ 1, 9995, 4013, 3883, 10703, 278, 7777, 3170, 30004, 13, 30004, 13, 1576, 7777, 3170, 28936, 9348, 322, 13442, 7191, 30004, 13, 15945, 19451, 13, 5215, 1828, 30004, 13, 30004, 13, 30004, 13, 1990, 7777, 3170, 29898, 3207, 29889, 9329, 18...
pthtemplate/iterator/__init__.py
try-skycn/PytorchTemplate
0
105984
from .epoch import Epoch from .iteration import Iteration
[ 1, 515, 869, 1022, 2878, 1053, 382, 1129, 305, 13, 3166, 869, 1524, 362, 1053, 20504, 362, 13, 2 ]
dacman/plugins/csv/__init__.py
yocheah/dac-man
0
35522
<reponame>yocheah/dac-man from pathlib import Path from collections import defaultdict import numpy as np try: import pandas as pd except ImportError: from dacman.core.utils import dispatch_import_error dispatch_import_error(module_name='pandas', plugin_name='CSV') from dacman.compare import base try: ...
[ 1, 529, 276, 1112, 420, 29958, 9029, 1173, 801, 29914, 29881, 562, 29899, 1171, 13, 3166, 2224, 1982, 1053, 10802, 13, 3166, 16250, 1053, 2322, 8977, 13, 13, 5215, 12655, 408, 7442, 13, 13, 2202, 29901, 13, 1678, 1053, 11701, 408, 105...
core/self6dpp/tools/hb_bdp/lm_pbr_so_mlBCE_2_merge_hbBdpAll_InitResultsWithRefinedPosesToJson.py
THU-DA-6D-Pose-Group/self6dpp
33
97943
<filename>core/self6dpp/tools/hb_bdp/lm_pbr_so_mlBCE_2_merge_hbBdpAll_InitResultsWithRefinedPosesToJson.py import os.path as osp import sys import numpy as np import mmcv from tqdm import tqdm from functools import cmp_to_key cur_dir = osp.dirname(osp.abspath(__file__)) PROJ_ROOT = osp.normpath(osp.join(cur_dir, "../....
[ 1, 529, 9507, 29958, 3221, 29914, 1311, 29953, 29881, 407, 29914, 8504, 29914, 29882, 29890, 29918, 29890, 6099, 29914, 21457, 29918, 29886, 1182, 29918, 578, 29918, 828, 29933, 4741, 29918, 29906, 29918, 14634, 29918, 29882, 29890, 29933, 60...
emitter_observer.py
HerculesJack/grtrans
25
1604550
<reponame>HerculesJack/grtrans import geokerr_interface import numpy as np from scipy.optimize import minimize g = geokerr_interface.geokerr() def cartesian(u,mu,phi): x = 1./u*np.sqrt(1.-mu**2.)*np.cos(phi) y = 1./u*np.sqrt(1.-mu**2.)*np.sin(phi) z = 1./u*mu return x,y,z def calc_orbit(ab,args): ...
[ 1, 529, 276, 1112, 420, 29958, 18650, 21337, 27006, 29914, 629, 3286, 13, 5215, 1737, 554, 3127, 29918, 13248, 13, 5215, 12655, 408, 7442, 13, 3166, 4560, 2272, 29889, 20640, 675, 1053, 6260, 675, 13, 13, 29887, 353, 1737, 554, 3127, ...
titration/utils/devices/temperature_probe.py
kieransukachevin/AlkalinityTitrator
0
179211
import adafruit_max31865 import busio import digitalio from titration.utils import constants class Temperature_Probe: def __init__(self, sck, mosi, miso, cs, wires=2): self.spi = busio.SPI(sck, MOSI=mosi, MISO=miso) self.cs = digitalio.DigitalInOut(cs) self.sensor = adafruit_max31865.MAX3...
[ 1, 1053, 594, 2142, 9216, 29918, 3317, 29941, 29896, 29947, 29953, 29945, 13, 5215, 3593, 601, 13, 5215, 13436, 601, 13, 13, 3166, 4329, 29878, 362, 29889, 13239, 1053, 17727, 13, 13, 13, 1990, 6789, 546, 1535, 29918, 1184, 915, 29901, ...
pkg_dir/src/utils/notion_utils.py
robperch/robase_datalysis
2
4606
## MODULE WITH UTIL FUNCTIONS - NOTION "----------------------------------------------------------------------------------------------------------------------" ####################################################### Imports ######################################################## "---------------------------------...
[ 1, 444, 341, 13668, 29965, 1307, 22659, 501, 29911, 6227, 383, 28700, 29903, 448, 6058, 2725, 13, 13, 13, 13, 13, 13, 29908, 2683, 2683, 2683, 2683, 2683, 2683, 2683, 807, 13869, 13, 13383, 13383, 13383, 4136, 2277, 29937, 1954, 4011, ...
pact/test/test_constants.py
dwang7/pact-python
0
15125
from unittest import TestCase from mock import patch from .. import constants class mock_service_exeTestCase(TestCase): def setUp(self): super(mock_service_exeTestCase, self).setUp() self.addCleanup(patch.stopall) self.mock_os = patch.object(constants, 'os', autospec=True).start() d...
[ 1, 515, 443, 27958, 1053, 4321, 8259, 13, 13, 3166, 11187, 1053, 13261, 13, 13, 3166, 6317, 1053, 17727, 13, 13, 13, 1990, 11187, 29918, 5509, 29918, 8097, 3057, 8259, 29898, 3057, 8259, 1125, 13, 1678, 822, 731, 3373, 29898, 1311, 11...
smart_meter/apps.py
GPXenergy/gpx_server_api
0
35750
<reponame>GPXenergy/gpx_server_api<filename>smart_meter/apps.py from django.apps import AppConfig class SmartMeterConfig(AppConfig): name = 'smart_meter'
[ 1, 529, 276, 1112, 420, 29958, 19903, 29990, 27548, 29914, 29887, 1756, 29918, 2974, 29918, 2754, 29966, 9507, 29958, 3844, 442, 29918, 29391, 29914, 13371, 29889, 2272, 13, 3166, 9557, 29889, 13371, 1053, 2401, 3991, 13, 13, 13, 1990, 41...
cctbx/dmtbx/boost_python/tst_dmtbx.py
dperl-sol/cctbx_project
155
135036
<filename>cctbx/dmtbx/boost_python/tst_dmtbx.py<gh_stars>100-1000 from __future__ import absolute_import, division, print_function from cctbx import dmtbx from cctbx import sgtbx from cctbx.array_family import flex from libtbx.test_utils import approx_equal def exercise_triplet_generator(): sg = sgtbx.space_group_in...
[ 1, 529, 9507, 29958, 29883, 312, 29890, 29916, 29914, 29881, 4378, 29890, 29916, 29914, 17079, 29918, 4691, 29914, 29873, 303, 29918, 29881, 4378, 29890, 29916, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29900, 29899, 2...
shadowsocks/util.py
lyrl/ssmgr-ssrest
0
109580
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Created on 2016-07-26 11:04:34 import socket import urllib2 import json import requests import logging def is_port_using(port): ''' https://docs.python.org/2/library/socket.html#example ''' while True: s = socket.socket(socket.AF_INET, socket.S...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 8025, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 6760, 630, 373, 29871, 29906, 29900, 29896, 29953, 29899, 29900, 29955, 29899, 29906, 29953, 29871, ...
qqbot_ipc.py
AndrewWayne/bot-flandre
0
154965
# -*- coding: utf-8 -*- """ Created on Wed Feb 26 16:52:29 2020 @author: eliphat """ import win32api import win32con import win32gui import time hwnd = win32gui.FindWindow("TXGuiFoundation", "bot/ctf交流") print(hwnd) def send_msg(s): for c in s: win32api.SendMessage(hwnd, win32con.WM_CHAR, ord(c), 0) ...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 20399, 373, 15050, 26319, 29871, 29906, 29953, 29871, 29896, 29953, 29901, 29945, 29906, 29901, 29906, 29929, 29871, 29906, 29900, 29906, 2...
scripts/opendict_to_json.py
md84419/English-to-IPA
0
1605687
<reponame>md84419/English-to-IPA #!/usr/bin/python # USAGE: # PYTHONPATH=".." python opendict_to_json.py ../eng_to_ipa/resources/Opendict_source_files/en_UK.txt > ../eng_to_ipa/resources/Open_dict.json import getopt, json, io, os, re, sys, subprocess from signal import signal, SIGPIPE, SIG_DFL from eng_to_ipa import...
[ 1, 529, 276, 1112, 420, 29958, 3487, 29947, 29946, 29946, 29896, 29929, 29914, 24636, 29899, 517, 29899, 5690, 29909, 13, 29937, 14708, 4855, 29914, 2109, 29914, 4691, 13, 13, 29937, 8278, 1692, 29901, 13, 29937, 29871, 349, 29979, 4690, ...
tests/helpers/imports.py
neptune-ml/pytorch-lightning
15,666
144950
<reponame>neptune-ml/pytorch-lightning<gh_stars>1000+ import operator from pytorch_lightning.utilities.imports import _compare_version, _TORCHTEXT_LEGACY if _TORCHTEXT_LEGACY: if _compare_version("torchtext", operator.ge, "0.9.0"): from torchtext.legacy.data import Batch, Dataset, Example, Field, Iterator...
[ 1, 529, 276, 1112, 420, 29958, 484, 415, 1540, 29899, 828, 29914, 2272, 7345, 305, 29899, 4366, 1076, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29900, 29900, 29974, 13, 5215, 5455, 13, 13, 3166, 282, 3637, 25350, 29918, 4366, ...
facturapi/types/exc.py
cuenca-mx/facturapi-python
1
176059
<filename>facturapi/types/exc.py from dataclasses import dataclass from typing import Any, Dict class FacturapiException(Exception): ... class NoResultFound(FacturapiException): """No results where found""" class MultipleResultsFound(FacturapiException): """One result was expected but multiple were re...
[ 1, 529, 9507, 29958, 17028, 332, 2754, 29914, 8768, 29914, 735, 29883, 29889, 2272, 13, 3166, 848, 13203, 1053, 848, 1990, 13, 3166, 19229, 1053, 3139, 29892, 360, 919, 13, 13, 13, 1990, 26748, 332, 2754, 2451, 29898, 2451, 1125, 13, ...
db.py
Technik-Tueftler/TeTueTwitchBot
2
168437
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from sqlalchemy import Column, String, Integer, ForeignKey, TIMESTAMP, func, and_, or_ from sqlalchemy.sql import text from sqlalchemy.orm import sessionmaker, relationship, query, backref from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import creat...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 3166, 4576, 284, 305, 6764, 1053, 12481, 29892, 1714, 29892, 8102, 29892, 19358, 2558, 29892, 323...
examples/collect_match_result.py
ceb10n/okerr
0
1616307
<reponame>ceb10n/okerr from okerr import Err, Ok, Match class User: def __init__(self, username): self.username = username def __str__(self): return f"I'm {username} and I'm authenticated ;)" def authenticate(username, password): if username == 'ok' and password == '<PASSWORD>': ...
[ 1, 529, 276, 1112, 420, 29958, 346, 29890, 29896, 29900, 29876, 29914, 554, 3127, 13, 3166, 3431, 3127, 1053, 25361, 29892, 3674, 29892, 14514, 13, 13, 13, 1990, 4911, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 8952, 1125...
labelit/active_learning/scorer/allconv.py
shibing624/labelit
5
135805
<reponame>shibing624/labelit # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ 1, 529, 276, 1112, 420, 29958, 845, 747, 292, 29953, 29906, 29946, 29914, 1643, 277, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29955, 5087, 9266, 29889, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, ...
tests/tools/test_openvino2tf.py
fixstars/arachne
3
108167
import os import subprocess import sys import tarfile import tempfile from dataclasses import asdict import numpy as np import onnxruntime as ort import tensorflow as tf import yaml from tvm.contrib.download import download from arachne.data import ModelSpec, TensorSpec from arachne.tools.openvino2tf import OpenVINO2...
[ 1, 1053, 2897, 13, 5215, 1014, 5014, 13, 5215, 10876, 13, 5215, 9913, 1445, 13, 5215, 5694, 1445, 13, 3166, 848, 13203, 1053, 408, 8977, 13, 13, 5215, 12655, 408, 7442, 13, 5215, 373, 23818, 15634, 408, 20289, 13, 5215, 26110, 408, ...
lumin/nn/models/blocks/body.py
kiryteo/lumin
0
176036
from typing import Optional, Callable, Any, List, Dict import numpy as np from functools import partial import torch.nn as nn import torch from torch import Tensor from ..layers.activations import lookup_act from ..initialisations import lookup_normal_init from .abs_block import AbsBlock __all__ = ['FullyConnected',...
[ 1, 515, 19229, 1053, 28379, 29892, 8251, 519, 29892, 3139, 29892, 2391, 29892, 360, 919, 13, 5215, 12655, 408, 7442, 13, 3166, 2090, 312, 8789, 1053, 7687, 13, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 5215, 4842, 305, 1...
RSICompute.py
bluefin1986/tinyspark
3
7524
<reponame>bluefin1986/tinyspark # coding: utf-8 # In[1]: import baostock as bs import pandas as pd import numpy as np import talib as ta import matplotlib.pyplot as plt import KlineService import BaoStockUtil import math import datetime from scipy import integrate from RSI import DayRSI,WeekRSI,MonthRSI,SixtyMinRS...
[ 1, 529, 276, 1112, 420, 29958, 9539, 4951, 29896, 29929, 29947, 29953, 29914, 29873, 262, 952, 6378, 13, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 13, 29937, 512, 29961, 29896, 5387, 13, 13, 13, 5215, 9922, 520, 1698, 408, 24512...
tests/attr/test_kernel_shap.py
trsvchn/captum
3,140
7398
<filename>tests/attr/test_kernel_shap.py #!/usr/bin/env python3 import io import unittest import unittest.mock from typing import Any, Callable, List, Tuple, Union import torch from captum._utils.typing import BaselineType, TensorOrTupleOfTensorsGeneric from captum.attr._core.kernel_shap import KernelShap from tests....
[ 1, 529, 9507, 29958, 21150, 29914, 5552, 29914, 1688, 29918, 17460, 29918, 845, 481, 29889, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 5215, 12013, 13, 5215, 443, 27958, 13, 5215, 443, 27958, 29889, 17640...
chainer_/chainercv2/models/common.py
snsnlou/imgclsmob
0
133120
""" Common routines for models in Chainer. """ __all__ = ['round_channels', 'BreakBlock', 'ReLU6', 'HSwish', 'get_activation_layer', 'GlobalAvgPool2D', 'SelectableDense', 'DenseBlock', 'ConvBlock1d', 'conv1x1', 'conv3x3', 'depthwise_conv3x3', 'ConvBlock', 'conv1x1_block', 'conv3x3_block', 'co...
[ 1, 9995, 13, 1678, 13103, 6745, 1475, 363, 4733, 297, 678, 4008, 29889, 13, 15945, 29908, 13, 13, 1649, 497, 1649, 353, 6024, 14486, 29918, 305, 12629, 742, 525, 20130, 557, 7445, 742, 525, 1123, 29931, 29965, 29953, 742, 525, 29950, ...
dasem/data.py
fronovics/AI_playground
18
63033
<reponame>fronovics/AI_playground """Data. Functions to read datasets from the data subdirectory. """ from os.path import join, split from pandas import read_csv def four_words(): """Read and return four words odd-one-out dataset. Returns ------- >>> df = four_words() >>> df.ix[0, 'word4'] ==...
[ 1, 529, 276, 1112, 420, 29958, 1341, 265, 586, 1199, 29914, 23869, 29918, 1456, 2057, 13, 15945, 29908, 1469, 29889, 13, 13, 6678, 29879, 304, 1303, 20035, 515, 278, 848, 1014, 12322, 29889, 13, 13, 15945, 29908, 13, 13, 3166, 2897, 2...
src/graphics/font.py
JacobLondon/pyngine
0
107910
import pygame class Font(object): """@brief Hold a set of fonts and allow for user defined fonts. """ def __init__(self, font, scale): pygame.font.init() # details about the font created self.name = font # scale is the ratio of screen width / number of grids wide the scre...
[ 1, 1053, 22028, 13, 13, 1990, 10928, 29898, 3318, 1125, 13, 1678, 9995, 29992, 1182, 2575, 21771, 263, 731, 310, 23849, 322, 2758, 363, 1404, 3342, 23849, 29889, 13, 1678, 9995, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 4079, ...
pinochle/Game.py
Atrus619/DeckOfCards
1
23219
<reponame>Atrus619/DeckOfCards from pinochle.State import State from classes.Deck import Deck from classes.Hand import Hand from pinochle.MeldUtil import MeldUtil from pinochle.Meld import Meld from pinochle.Trick import Trick from pinochle.MeldTuple import MeldTuple from util.Constants import Constants as cs from util...
[ 1, 529, 276, 1112, 420, 29958, 29909, 509, 375, 29953, 29896, 29929, 29914, 2772, 384, 2776, 29907, 3163, 13, 3166, 282, 1789, 305, 280, 29889, 2792, 1053, 4306, 13, 3166, 4413, 29889, 2772, 384, 1053, 897, 384, 13, 3166, 4413, 29889, ...
fundamentals/15-advance-objects-and-data-structures/5-advance-lists.py
davidokun/Python
0
46298
<filename>fundamentals/15-advance-objects-and-data-structures/5-advance-lists.py # Advance Lists my_list = [1, 2, 3] # Add element print('\n# Add element\n') my_list.append(4) my_list.append(4) print(my_list) # Count element's occurrences print('\n# Count element\'s occurrences\n') print(f'2 = {my_list.count(2)}') p...
[ 1, 529, 9507, 29958, 27159, 1166, 1338, 29914, 29896, 29945, 29899, 17263, 749, 29899, 12650, 29899, 392, 29899, 1272, 29899, 4984, 1973, 29914, 29945, 29899, 17263, 749, 29899, 21513, 29889, 2272, 13, 29937, 25215, 749, 2391, 29879, 13, 13...
neon/params/tests/test_val_init.py
zhenglab/neon
0
82262
<reponame>zhenglab/neon #!/usr/bin/env python # ---------------------------------------------------------------------------- # Copyright 2014 Nervana Systems Inc. # 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 ...
[ 1, 529, 276, 1112, 420, 29958, 17599, 6180, 370, 29914, 484, 265, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 2683, 2683, 2683, 2683, 1378, 5634, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29946, 405, ...
Chapter14/c14_11_rainbow_callMaxOn2_viaSimulation.py
John-ye666/Python-for-Finance-Second-Edition
236
30759
""" Name : c14_11_rainbow_callMaxOn2_viaSimulation.py Book : Python for Finance (2nd ed.) Publisher: Packt Publishing Ltd. Author : <NAME> Date : 6/6/2017 email : <EMAIL> <EMAIL> """ import scipy as sp from scipy import zeros, sqrt, shape # sp.random.seed(123) # fix our ra...
[ 1, 9995, 13, 29871, 4408, 268, 584, 274, 29896, 29946, 29918, 29896, 29896, 29918, 6038, 17729, 29918, 4804, 7976, 2951, 29906, 29918, 6071, 8942, 2785, 29889, 2272, 13, 29871, 6726, 268, 584, 5132, 363, 4231, 749, 313, 29906, 299, 1226, ...
python/tests/test_observation.py
lascavana/ecole
0
50001
<gh_stars>0 """Test Ecole observation functions in Python. Most observation functions are written in Ecole C++ library. This is where the logic should be tested. Here, - Some tests automatically run the same assertions on all functions; - Other tests that observation returned form observation functions are bound t...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 15945, 29908, 3057, 382, 10936, 15500, 3168, 297, 5132, 29889, 13, 13, 29924, 520, 15500, 3168, 526, 3971, 297, 382, 10936, 315, 1817, 3489, 29889, 13, 4013, 338, 988, 278, 5900, 881, ...
src/algorithm/__init__.py
ShogoAkiyama/metaworld.pytorch
0
21064
<filename>src/algorithm/__init__.py from .sac import SAC from .eval import EvalAlgorithm
[ 1, 529, 9507, 29958, 4351, 29914, 20567, 29914, 1649, 2344, 26914, 2272, 13, 3166, 869, 29879, 562, 1053, 317, 2477, 13, 3166, 869, 14513, 1053, 382, 791, 22461, 4540, 13, 2 ]
ozone-framework-python-server/people/urls.py
aamduka/ozone
6
33646
from django.urls import path from rest_framework import routers from .administration.views import AdministrationOfUserAPIView from .views import PersonDetailView, PersonDashboardsWidgetsView, PersonWidgetDefinitionViewSet, PersonStackViewset router = routers.SimpleRouter() router.register(r'admin/users', Administrati...
[ 1, 515, 9557, 29889, 26045, 1053, 2224, 13, 3166, 1791, 29918, 4468, 1053, 16053, 2153, 13, 3166, 869, 6406, 8306, 29889, 7406, 1053, 23303, 2776, 2659, 8787, 1043, 13, 3166, 869, 7406, 1053, 5196, 16570, 1043, 29892, 5196, 29928, 1161, ...
lathermail/default_settings.py
reclosedev/lathermail
13
1601483
<reponame>reclosedev/lathermail import os DB_URI = "sqlite:///" + os.path.expanduser("~/.lathermail.db") DEBUG_MODE = False SMTP_HOST = "127.0.0.1" SMTP_PORT = 2525 API_HOST = "127.0.0.1" API_PORT = 5000 SQLITE_FAST_SAVE = True SQLALCHEMY_TRACK_MODIFICATIONS = False
[ 1, 529, 276, 1112, 420, 29958, 276, 15603, 5750, 29914, 29880, 1624, 2549, 13, 5215, 2897, 13, 13, 13, 4051, 29918, 15551, 353, 376, 22793, 597, 12975, 718, 2897, 29889, 2084, 29889, 18837, 1792, 703, 30022, 6294, 29880, 1624, 2549, 298...
acquisitions/providers/fake_agency.py
18F/acqstackdb
2
91553
<filename>acquisitions/providers/fake_agency.py<gh_stars>1-10 import random from faker.providers import BaseProvider class AgencyProvider(BaseProvider): agency_parts = ( ( "Department of", "Office of", "Bureau of", ), ( "the Interior", "Administrating", "Hats", "Man...
[ 1, 529, 9507, 29958, 562, 7680, 2187, 29914, 771, 29454, 29914, 29888, 1296, 29918, 351, 3819, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 4036, 13, 3166, 285, 5790, 29889, 771, 29454, 1053, 7...
main.py
pepetox/gae-angular-materialize
1
13043
<reponame>pepetox/gae-angular-materialize # Copyright 2013 Google, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
[ 1, 529, 276, 1112, 420, 29958, 412, 10963, 2251, 29914, 3249, 29872, 29899, 6825, 29899, 15388, 675, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29941, 5087, 29892, 9266, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, ...
apiclient_pydantic/__init__.py
ljnsn/api-client-pydantic
0
1600950
from .serializers import ( ParamsSerializer, ResponseSerializer, params_serializer, response_serializer, serialize, serialize_all_methods, serialize_request, serialize_response, ) __all__ = ( 'params_serializer', 'ParamsSerializer', 'response_serializer', 'ResponseSerial...
[ 1, 515, 869, 15550, 19427, 1053, 313, 13, 1678, 1459, 2232, 17679, 29892, 13, 1678, 13291, 17679, 29892, 13, 1678, 8636, 29918, 15550, 3950, 29892, 13, 1678, 2933, 29918, 15550, 3950, 29892, 13, 1678, 28755, 29892, 13, 1678, 28755, 29918,...
src/driver.py
01mu/gamefaqs-scraper
1
38050
# # gamefaqs-scraper # github.com/01mu # from gamefaqs_scraper import GFSBoard from gamefaqs_scraper import GFSThread board = GFSBoard() board.get_site('234547-super-smash-bros-ultimate', 0) threads = board.find() print("Pages: " + str(board.max_page) + "\n") for i in range(len(threads)): print(threads[i].title...
[ 1, 396, 13, 29937, 3748, 5444, 29939, 29879, 29899, 1557, 336, 546, 13, 29937, 18546, 29889, 510, 29914, 29900, 29896, 2589, 13, 29937, 13, 13, 3166, 3748, 5444, 29939, 29879, 29918, 1557, 336, 546, 1053, 402, 29943, 1744, 29877, 538, 1...
LeetCode/0101. Symmetric Tree.py
null-kryptonian/ProblemSolving
1
80328
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def isMirror(self, r1: TreeNode, r2: TreeNode) -> bool: if r1 == None and r2 == None: re...
[ 1, 396, 21940, 363, 263, 7581, 5447, 2943, 29889, 13, 29937, 770, 15472, 4247, 29901, 13, 29937, 268, 822, 4770, 2344, 12035, 1311, 29892, 659, 29922, 29900, 29892, 2175, 29922, 8516, 29892, 1492, 29922, 8516, 1125, 13, 29937, 308, 1583, ...
utils/__init__.py
ilvar/lotien
0
56466
<gh_stars>0 from django.conf import settings from django.core.files.storage import get_storage_class thumbnail_storage = get_storage_class(settings.DEFAULT_FILE_STORAGE)()
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 9557, 29889, 5527, 1053, 6055, 13, 3166, 9557, 29889, 3221, 29889, 5325, 29889, 12925, 1053, 679, 29918, 12925, 29918, 1990, 13, 13, 386, 21145, 29918, 12925, 353, 679, 29918, 12925...
mosqito/functions/sharpness/comp_sharpness.py
JosemaAlvarez/MoSQITo
0
137793
<reponame>JosemaAlvarez/MoSQITo # -*- coding: utf-8 -*- """ Created on Mon Nov 16 10:00:50 2020 @author: wantysal """ import sys sys.path.append('../..') # Standard library import import numpy as np # Local imports from mosqito.functions.loudness_zwicker.comp_loudness import comp_loudness from mosqito.functions.sha...
[ 1, 529, 276, 1112, 420, 29958, 29967, 359, 2603, 2499, 5280, 29920, 29914, 22638, 29903, 29984, 29902, 1762, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 20399, 373, 2598, 2864, ...
color/closest_term_colors.py
nixprime/jhome
0
121970
<reponame>nixprime/jhome #!/usr/bin/env python from __future__ import print_function import fileinput import math import re import jcolor CTERM_LAB = {code: jcolor.TERM256_RGB[code].to_xyz().to_lab() for code in xrange(16, 256)} def color_dist(x_lab, y_lab): dl = x_lab.L - y_lab.L da = x_lab.a...
[ 1, 529, 276, 1112, 420, 29958, 29876, 861, 10080, 29914, 29926, 5184, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 13, 13, 5215, 934, 2080, 13, 5215, 5844, 13, ...
.mypy/type_coverage.py
MatthewWilkes/pyramid-realworld-example-app
0
141574
<gh_stars>0 """Verify that minimum type coverage is reached.""" from pathlib import Path import argparse import sys def main(argv=sys.argv) -> None: # pragma: no cover """Run type coverage check.""" parser = argparse.ArgumentParser( usage=("python type_coverage.py coverage=80 file=typecov/linecount...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 15945, 29908, 6565, 1598, 393, 9212, 1134, 23746, 338, 7450, 1213, 15945, 13, 13, 3166, 2224, 1982, 1053, 10802, 13, 13, 5215, 1852, 5510, 13, 5215, 10876, 13, 13, 13, 1753, 1667, 298...