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
ibsng/handler/ldap/get_user_info.py
ParspooyeshFanavar/pyibsng
6
64454
"""Get user info API method.""" from ibsng.handler.handler import Handler class getUserInfo(Handler): """Get user info method class.""" def control(self): """Validate inputs after setup method. :return: None :rtype: None """ self.is_valid(self.username, str) def ...
[ 1, 9995, 2577, 1404, 5235, 3450, 1158, 1213, 15945, 13, 3166, 474, 5824, 865, 29889, 13789, 29889, 13789, 1053, 5166, 1358, 13, 13, 13, 1990, 679, 2659, 3401, 29898, 4598, 1125, 13, 1678, 9995, 2577, 1404, 5235, 1158, 770, 1213, 15945, ...
SLpackage/private/pacbio/pythonpkgs/pbreports/lib/python2.7/site-packages/pbreports/report/structural_variants.py
fanglab/6mASCOPE
5
25109
<gh_stars>1-10 """ Structural Variants Report """ import os import os.path as op import logging import sys import json import itertools import collections import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt import matplotlib.patches as mpatches import matplotlib.ticker as ticker from matplotlib i...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 13, 15945, 29908, 13, 19560, 3631, 9586, 1934, 13969, 13, 15945, 29908, 13, 13, 5215, 2897, 13, 5215, 2897, 29889, 2084, 408, 1015, 13, 5215, 12183, 13, 5215, 10876...
dbcog/models/exchange_model.py
turtleworks/padbot-cogs
3
100323
import re from datetime import datetime from tsutils.enums import Server from .base_model import BaseModel class ExchangeModel(BaseModel): def __init__(self, **kwargs): self.exchange_id = kwargs['exchange_id'] self.trade_id = kwargs['trade_id'] self.server = Server(('JP', 'NA', 'KR')[kwa...
[ 1, 1053, 337, 13, 3166, 12865, 1053, 12865, 13, 13, 3166, 18696, 13239, 29889, 264, 6762, 1053, 5656, 13, 13, 3166, 869, 3188, 29918, 4299, 1053, 7399, 3195, 13, 13, 13, 1990, 24004, 3195, 29898, 5160, 3195, 1125, 13, 1678, 822, 4770,...
jnpy/app/cta_backtester/db_operation.py
fakecoinbase/jojoquantslashjonpy
2
96088
<reponame>fakecoinbase/jojoquantslashjonpy #!/usr/bin/env python # _*_coding:utf-8_*_ """ @Datetime : 2020/1/24 下午8:23 @Author : Fangyang """ import pandas as pd from sqlalchemy import create_engine from vnpy.trader.setting import get_settings from vnpy.trader.utility import get_file_path import platform clas...
[ 1, 529, 276, 1112, 420, 29958, 29888, 1296, 1111, 262, 3188, 29914, 2212, 2212, 339, 1934, 29880, 1161, 13022, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 903, 29930, 29918, 29883, 3689, 29901, 9420, 29899, 29...
examples/validate_ndc.py
almarklein/visvis2
7
34317
<gh_stars>1-10 """ Example (and test) for the NDC coordinates. Draws a square that falls partly out of visible range. * The scene should show a band from the bottom left to the upper right. * The bottom-left (NDC -1 -1) must be green, the upper-right (NDC 1 1) blue. * The other corners must be black, cut off at exactl...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 15945, 29908, 13, 14023, 313, 392, 1243, 29897, 363, 278, 405, 12696, 10350, 29889, 18492, 29879, 263, 6862, 393, 20074, 22669, 714, 310, 7962, 3464, 29889, 13, 13, ...
oauth/provider.py
giuseppe/quay
2,027
795
<filename>oauth/provider.py<gh_stars>1000+ # Ported to Python 3 # Originally from https://github.com/DeprecatedCode/oauth2lib/blob/d161b010f8a596826050a09e5e94d59443cc12d9/oauth2lib/provider.py import json import logging from requests import Response from io import StringIO try: from werkzeug.exceptions import Un...
[ 1, 529, 9507, 29958, 23106, 29914, 18121, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29900, 29900, 29974, 13, 29937, 3371, 287, 304, 5132, 29871, 29941, 13, 29937, 22118, 635, 515, 2045, 597, 3292, 29889, 510, 29914, ...
flask_caching/backends/rediscache.py
komailrk/flask-caching
1
73047
<gh_stars>1-10 # -*- coding: utf-8 -*- """ flask_caching.backends.rediscache ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The redis caching backend. :copyright: (c) 2018 by <NAME>. :copyright: (c) 2010 by <NAME>. :license: BSD, see LICENSE for more details. """ from flask_caching.backends.base import Bas...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 1678, 29784, 29918, 29883, 9733, 29889, 1627, 1975, 29889, 1127, 2...
apps/order/migrations/0002_auto_20180710_0937.py
jakejie/ShopPro
1
34108
<reponame>jakejie/ShopPro # Generated by Django 2.0.7 on 2018-07-10 09:37 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_U...
[ 1, 529, 276, 1112, 420, 29958, 29926, 1296, 29926, 347, 29914, 2713, 459, 1184, 13, 29937, 3251, 630, 491, 15337, 29871, 29906, 29889, 29900, 29889, 29955, 373, 29871, 29906, 29900, 29896, 29947, 29899, 29900, 29955, 29899, 29896, 29900, 29...
cd/checks/is_player_connected.py
Axelware/CD-bot
2
22324
# Future from __future__ import annotations # Standard Library from collections.abc import Callable from typing import Literal, TypeVar # Packages from discord.ext import commands # Local from cd import custom, exceptions __all__ = ( "is_player_connected", ) T = TypeVar("T") def is_player_connected() -> Ca...
[ 1, 396, 16367, 13, 3166, 4770, 29888, 9130, 1649, 1053, 25495, 13, 13, 29937, 10117, 9538, 13, 3166, 16250, 29889, 10736, 1053, 8251, 519, 13, 3166, 19229, 1053, 5449, 284, 29892, 5167, 9037, 13, 13, 29937, 18744, 1179, 13, 3166, 2313, ...
conduit/domain/user/module.py
utilmeta/utilmeta-py-realworld-example-app-
0
107067
<gh_stars>0 from utilmeta.utils import * from .models import User from .schema import UserSchema, ProfileSchema class UserCurrent(Module): model = User schema = UserSchema option = Option( filters={ 'id': Filter(auto_user_id=True) } ) method = Method( get=Auth(r...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 3667, 7299, 29889, 13239, 1053, 334, 13, 3166, 869, 9794, 1053, 4911, 13, 3166, 869, 11010, 1053, 4911, 12763, 29892, 20802, 12763, 13, 13, 13, 1990, 4911, 7583, 29898, 7355, 1125...
scripts/hello.py
No9/node-neon-usdt
0
182616
#!/usr/bin/python3 # # This is a Hello World example that formats output as fields. from __future__ import print_function from bcc import BPF, USDT from bcc.utils import printb import sys if len(sys.argv) < 2: print("USAGE: probe.py PID") exit() pid = sys.argv[1] # define BPF program bpf_text = """ int hello...
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 29941, 13, 29937, 13, 29937, 910, 338, 263, 15043, 2787, 1342, 393, 21971, 1962, 408, 4235, 29889, 13, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 13, 3166, 289, 617, 1053, 350, ...
main.py
rajpratim/dynamic-meta-embeddings
5
83490
<reponame>rajpratim/dynamic-meta-embeddings<gh_stars>1-10 import argparse from functools import partial from torchtext import data, vocab from models import SNLIModel from utils import CustomVocab, FastTextCC from embedders import SingleEmbedder, ConcatEmbedder, DMEmbedder, CDMEmbedder data.Field.vocab_cls = CustomVoc...
[ 1, 529, 276, 1112, 420, 29958, 10665, 558, 271, 326, 29914, 16626, 29899, 7299, 29899, 17987, 29881, 886, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 1852, 5510, 13, 3166, 2090, 312, 8789, 1053, 7687, 13, ...
responder/routes.py
tselepakis/responder
0
195632
from parse import parse, search def memoize(f): def helper(self, s): memoize_key = f'{f.__name__}:{s}' if memoize_key not in self._memo: self._memo[memoize_key] = f(self, s) return self._memo[memoize_key] return helper class Route: def __init__(self, route, endpoint)...
[ 1, 515, 6088, 1053, 6088, 29892, 2740, 13, 13, 13, 1753, 2626, 29877, 675, 29898, 29888, 1125, 13, 1678, 822, 16876, 29898, 1311, 29892, 269, 1125, 13, 4706, 2626, 29877, 675, 29918, 1989, 353, 285, 29915, 29912, 29888, 17255, 978, 1649...
ABC/131/a.py
fumiyanll23/AtCoder
0
18771
<filename>ABC/131/a.py S = str(input()) if S[0]==S[1] or S[1]==S[2] or S[2]==S[3]: print("Bad") else: print("Good")
[ 1, 529, 9507, 29958, 19658, 29914, 29896, 29941, 29896, 29914, 29874, 29889, 2272, 13, 29903, 353, 851, 29898, 2080, 3101, 13, 13, 361, 317, 29961, 29900, 29962, 1360, 29903, 29961, 29896, 29962, 470, 317, 29961, 29896, 29962, 1360, 29903, ...
textauthenticator/tests/jupyterhub_config.py
torcato/JupyterTextAuthenticator
0
191697
<filename>textauthenticator/tests/jupyterhub_config.py # Configuration file for jupyterhub. c = get_config() c.JupyterHub.authenticator_class = 'rawauthenticator.TextAuthenticator' # The docker instances need access to the Hub, so the default loopback port doesn't work: from IPython.utils.localinterfaces import pub...
[ 1, 529, 9507, 29958, 726, 27218, 1061, 29914, 21150, 29914, 29926, 786, 25547, 29882, 431, 29918, 2917, 29889, 2272, 13, 29937, 20999, 934, 363, 432, 786, 25547, 29882, 431, 29889, 13, 13, 29883, 353, 679, 29918, 2917, 580, 13, 13, 2988...
mmhuman3d/core/conventions/segmentation/__init__.py
JasonBoy1/mmhuman3d
1
157033
from .smpl import SMPL_SEGMENTATION_DICT, SMPL_SUPER_SET from .smplx import SMPLX_SEGMENTATION_DICT, SMPLX_SUPER_SET class body_segmentation(object): """SMPL(X) body mesh vertex segmentation.""" def __init__(self, model_type='smpl') -> None: if model_type == 'smpl': self.DICT = SMPL_SEGME...
[ 1, 515, 869, 3844, 572, 1053, 317, 3580, 29931, 29918, 1660, 29954, 13780, 8098, 29918, 4571, 1783, 29892, 317, 3580, 29931, 29918, 29903, 4897, 1001, 29918, 10490, 13, 3166, 869, 3844, 572, 29916, 1053, 317, 3580, 29931, 29990, 29918, 16...
atcoder/scrape/scrape.py
pogin503/vbautil
0
124671
#!/usr/bin/env python # coding: utf-8 """ atcoderの問題のスクレイピング用スクリプト pipenv run start """ import sys import re import requests import copy from bs4 import BeautifulSoup import config LOGIN_URL = "https://atcoder.jp/login" url = "http://arc001.contest.atcoder.jp/tasks/arc001_1" def main(): # セッション開始 session ...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 13, 13, 15945, 29908, 13, 271, 29883, 6119, 30199, 232, 152, 146, 236, 164, 143, 30199, 30255, 30305, 30420, 30260, 31172, 30203, 30521, 304...
components/homme/scripts_for_paper/calc_energy_error_baroclinicinstability_ars343.py
cjvogl/E3SM
1
84078
<filename>components/homme/scripts_for_paper/calc_energy_error_baroclinicinstability_ars343.py from dictionaries import methodDict import numpy as np import sys if (len(sys.argv) < 2): print "Usage: python calc_error_baroclinicinstability_ars232.py <base_output_directory>" exit() outpath = sys.argv[1] method = 'A...
[ 1, 529, 9507, 29958, 14036, 29914, 21708, 29914, 16713, 29918, 1454, 29918, 19773, 29914, 28667, 29918, 27548, 29918, 2704, 29918, 1646, 542, 1915, 293, 2611, 3097, 29918, 1503, 29941, 29946, 29941, 29889, 2272, 13, 3166, 21503, 4314, 1053, ...
tests/test_text.py
Kairu-Madigan/sakurai-lib
0
145880
<reponame>Kairu-Madigan/sakurai-lib<filename>tests/test_text.py #!/usr/bin/env python3 # -*- coding:utf-8 -*- # @Author : Kyle # @License : MIT # @Contact : <EMAIL> # @Date : 2018/08/05 12:58 import unittest from sakurailib import text as text_lib class EastLiteralWidthTestCase(unittest.TestCase): def ...
[ 1, 529, 276, 1112, 420, 29958, 29968, 1466, 29884, 29899, 21878, 11163, 29914, 27909, 332, 1794, 29899, 1982, 29966, 9507, 29958, 21150, 29914, 1688, 29918, 726, 29889, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13...
core_api/core_api/cli_entrypoint.py
ldss-hse/ldss-core-api
0
180474
<filename>core_api/core_api/cli_entrypoint.py import argparse import os import shlex import subprocess from threading import Timer def run(cmd, timeout_sec): proc = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE, stderr=subprocess.PIPE) timer = Timer(timeout_sec, proc.kill) try: timer.s...
[ 1, 529, 9507, 29958, 3221, 29918, 2754, 29914, 3221, 29918, 2754, 29914, 11303, 29918, 8269, 3149, 29889, 2272, 13, 5215, 1852, 5510, 13, 5215, 2897, 13, 5215, 528, 2506, 13, 5215, 1014, 5014, 13, 3166, 3244, 292, 1053, 29168, 13, 13, ...
Documents/Router/CVE-2017-7494/impacket/testcases/SMB_RPC/test_wkst.py
edinjapan/NSABlocklist
201
136056
############################################################################### # Tested so far: # # NetrWkstaGetInfo # NetrWkstaUserEnum # NetrWkstaTransportEnum # NetrWkstaTransportAdd # NetrUseAdd # NetrUseGetInfo # NetrUseDel # NetrUseEnum # NetrWorkstationStatisticsGet # NetrGetJoinInformation # NetrJoinDomain2 ...
[ 1, 835, 13383, 13383, 13383, 13383, 7346, 4136, 13, 29937, 29871, 323, 2868, 577, 2215, 29901, 29871, 13, 29937, 13, 29937, 12670, 29878, 29956, 29895, 5173, 2577, 3401, 13, 29937, 12670, 29878, 29956, 29895, 5173, 2659, 16854, 13, 29937, ...
automator/__main__.py
C-CINA/zorro
8
48282
def main(): from matplotlib import rc rc('backend', qt4="PySide") import automator, sys try: mainGui = automator.Automator() except SystemExit: del mainGui sys.exit() exit # Instantiate a class if __name__ == '__main__': # Windows multiprocessing safety...
[ 1, 29871, 13, 1753, 1667, 7295, 13, 1678, 515, 22889, 1053, 364, 29883, 13, 1678, 364, 29883, 877, 27852, 742, 3855, 29873, 29946, 543, 19737, 23908, 1159, 13, 268, 13, 1678, 1053, 3345, 1061, 29892, 10876, 13, 1678, 1018, 29901, 13, ...
file.py
AllenGao6/P2P-File-Sharing
0
14285
<gh_stars>0 ''' objective of file.py: define the object class for file, information to include: name size of file chunk list (should automaticlly be splitted into chunks, each chunk should have indicator) ''' import base64 import sys import hashlib JPG, PNG, PDF, MP3, MP4, UNKNOWN = 1, 2...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 12008, 13, 1678, 12091, 310, 934, 29889, 2272, 29901, 13, 13, 1678, 4529, 278, 1203, 770, 363, 934, 29892, 1678, 13, 13, 1678, 2472, 304, 3160, 29901, 13, 13, 1678, 1024, 13, 1678, ...
gitScrabber/reportTaskRunner.py
Eyenseo/gitScrabber
0
1603543
""" The MIT License (MIT) Copyright (c) 2017 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
[ 1, 9995, 13, 1576, 341, 1806, 19245, 313, 26349, 29897, 13, 13, 11882, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29955, 529, 5813, 29958, 13, 13, 27293, 338, 1244, 1609, 16896, 29892, 3889, 310, 8323, 29892, 304, 738, 2022, 4...
fict_location_energy_db_update_script.py
nagasudhirpulla/wrldc_metering_warehouse
0
72713
<gh_stars>0 # -*- coding: utf-8 -*- """ Created on Sat Sep 14 10:50:06 2019 @author: Nagasudhir """ from fict_location_energy_adapter import FictLocationEnergyAdapter import datetime as dt fromTime = dt.datetime(2020, 4, 1) toTime = dt.datetime(2020, 7, 1) locEn = FictLocationEnergyAdapter() locEn.connectToDb() # loc...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 20399, 373, 12178, 29639, 29871, 29896, 29946, 29871, 29896, 29900, 29901, 29945, 29900, ...
shock-server/plug-ins/boto-s3-download.py
folker/Shock
2
103421
<reponame>folker/Shock<filename>shock-server/plug-ins/boto-s3-download.py #!/usr/bin/python # boto3 python client to download files from S3 and check md5 # AWS_ACCESS_KEY_ID .. The access key for your AWS account. # AWS_SECRET_ACCESS_KEY .. The secret key for your AWS account. # <EMAIL> import sys, getopt, boto3, ha...
[ 1, 529, 276, 1112, 420, 29958, 4542, 3946, 29914, 29903, 1251, 384, 29966, 9507, 29958, 845, 1698, 29899, 2974, 29914, 572, 688, 29899, 1144, 29914, 29890, 3747, 29899, 29879, 29941, 29899, 10382, 29889, 2272, 13, 29937, 14708, 4855, 29914,...
solutions/solution523.py
Satily/leetcode_python_solution
3
166820
<reponame>Satily/leetcode_python_solution class Solution: def checkSubarraySum(self, nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ sums = [0] s = 0 for num in nums: s += num sums.append(s) for i in ra...
[ 1, 529, 276, 1112, 420, 29958, 29903, 271, 2354, 29914, 280, 300, 401, 29918, 4691, 29918, 2929, 918, 13, 1990, 24380, 29901, 13, 1678, 822, 1423, 4035, 2378, 11139, 29898, 1311, 29892, 954, 29879, 29892, 413, 1125, 13, 4706, 9995, 13, ...
python/finess/__init__.py
dcseal/finess
0
49007
<reponame>dcseal/finess<filename>python/finess/__init__.py<gh_stars>0 """Python library written for FINESS. """
[ 1, 529, 276, 1112, 420, 29958, 13891, 344, 284, 29914, 29888, 3335, 29966, 9507, 29958, 4691, 29914, 29888, 3335, 29914, 1649, 2344, 26914, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 15945, 29908, 11980, 3489, 3971, 363, 383, ...
win/devkit/other/pymel/extras/completion/py/maya/app/sceneAssembly/__init__.py
leegoonz/Maya-devkit
21
30160
<reponame>leegoonz/Maya-devkit from . import adskPrepareRender import maya.cmds as cmd import maya
[ 1, 529, 276, 1112, 420, 29958, 280, 2412, 265, 29920, 29914, 29924, 9010, 29899, 3359, 7354, 13, 3166, 869, 1053, 594, 808, 29925, 3445, 598, 10716, 13, 5215, 1122, 29874, 29889, 9006, 29879, 408, 9920, 13, 5215, 1122, 29874, 13, 13, ...
oauth2_provider/tests/models.py
sfx/django-oauth-toolkit
1
188662
<gh_stars>1-10 from django.db import models from oauth2_provider.models import AbstractApplication class TestApplication(AbstractApplication): custom_field = models.CharField(max_length=255)
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 9557, 29889, 2585, 1053, 4733, 13, 3166, 288, 5150, 29906, 29918, 18121, 29889, 9794, 1053, 25513, 4873, 13, 13, 13, 1990, 4321, 4873, 29898, 9118, 4873, 1125, ...
colorize.py
FloHofstetter/colorise-segmap
0
1615619
<reponame>FloHofstetter/colorise-segmap<gh_stars>0 #!/usr/bin/env python from Colorize.colorize import Colorizer from PIL import Image import argparse def setup_parser() -> argparse.Namespace: """ Ask user for source and destination path. :return: Arguments from CLI user. """ parser: argparse.Arg...
[ 1, 529, 276, 1112, 420, 29958, 29943, 417, 29950, 974, 303, 19036, 29914, 2780, 895, 29899, 10199, 1958, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 3166, 9159, 675, 29889, 278...
image_analyzer.py
heidtn/ksp_autopilot
2
99519
<reponame>heidtn/ksp_autopilot import numpy as np import cv2 from tqdm import tqdm from mayavi.mlab import surf from mayavi import mlab import scipy.signal import numba from numba import njit, prange import matplotlib.pyplot as plt """ This code is based on this paper: http://www.sci.utah.edu/~gerig/CS6320-S2015/Mat...
[ 1, 529, 276, 1112, 420, 29958, 9722, 6277, 29914, 29895, 1028, 29918, 1300, 459, 309, 327, 13, 5215, 12655, 408, 7442, 13, 5215, 13850, 29906, 13, 3166, 260, 29939, 18933, 1053, 260, 29939, 18933, 13, 3166, 1122, 17345, 29889, 828, 370,...
spark-programs/ratingscounter.py
malvekas/Projects
0
159129
from pyspark import SparkConf, SparkContext import collections conf = SparkConf().setMaster("local").setAppName("RatingsHistogram") #sc = SparkContext(conf = conf) sc = SparkContext.getOrCreate(); lines = sc.textFile("ml-100k/u.data") ratings = lines.map(lambda x: x.split()[2]) result = ratings.countByValue() sorted...
[ 1, 515, 282, 952, 6378, 1053, 20814, 16376, 29892, 20814, 2677, 13, 5215, 16250, 13, 13, 5527, 353, 20814, 16376, 2141, 842, 19203, 703, 2997, 2564, 842, 2052, 1170, 703, 29934, 271, 886, 29950, 391, 13342, 1159, 13, 29937, 1557, 353, ...
examples/basic.py
gadhagod/flask-geomapper
1
108617
""" This example shows a super basic usage of flask-geomapper. On running, the server, `/` route will show you a map of request locations. COMPATIBLE VERSIONS: * 1.0.0^ """ import flask from flask_geomapper import flask_geomapper app = flask.Flask(__name__) # init flask app fg = flask_geomapper(app, count_tri...
[ 1, 9995, 13, 4013, 1342, 3697, 263, 2428, 6996, 8744, 310, 29784, 29899, 479, 290, 23239, 29889, 1551, 2734, 29892, 29871, 13, 29871, 278, 1923, 29892, 7034, 29952, 5782, 674, 1510, 366, 263, 2910, 310, 2009, 14354, 29889, 13, 13, 21514...
subject/tests/functional/v2/test_images.py
laoyigrace/subject
0
28475
<reponame>laoyigrace/subject # Copyright 2012 OpenStack Foundation # 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/L...
[ 1, 529, 276, 1112, 420, 29958, 433, 12602, 335, 25525, 29914, 16009, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29906, 4673, 7264, 10606, 13, 29937, 2178, 26863, 2538, 9841, 29889, 13, 29937, 13, 29937, 1678, 10413, 21144, 1090, ...
epg2xml/providers/naver.py
epg2xml/epg2xml
21
92852
<gh_stars>10-100 import logging from datetime import datetime, timedelta, date from xml.sax.saxutils import unescape from epg2xml.providers import EPGProvider, EPGProgram from epg2xml.providers import ParserBeautifulSoup as BeautifulSoup from epg2xml.utils import request_data log = logging.getLogger(__name__....
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 5215, 12183, 30004, 13, 3166, 12865, 1053, 12865, 29892, 5335, 287, 2554, 29892, 2635, 30004, 13, 3166, 4903, 29889, 29879, 1165, 29889, 29879, 1165, 1323...
self driving/controls/control/tests/path_test.py
Systemx-ai/Pilot-X
1
151356
# Not consistent with test passing import numpy as np import path_plan from path_plan import compute_probability from path_plan import model_polyfit from numpy import interp import sys def main(): # Indian Road congress (INC) V_lane_width = [2.0, 23.5] # https://nptel.ac.in/content/storage2/courses/105101008/...
[ 1, 396, 2216, 13747, 411, 1243, 6819, 13, 13, 5215, 12655, 408, 7442, 259, 13, 5215, 2224, 29918, 9018, 13, 3166, 2224, 29918, 9018, 1053, 10272, 29918, 22795, 3097, 29871, 13, 3166, 2224, 29918, 9018, 1053, 1904, 29918, 22678, 9202, 13...
General Questions/Longest_Common_Prefix.py
siddhi-244/CompetitiveProgrammingQuestionBank
931
34254
#Longest Common Prefix in python #Implementation of python program to find the longest common prefix amongst the given list of strings. #If there is no common prefix then returning 0. #define the function to evaluate the longest common prefix def longestCommonPrefix(s): p = '' #declare an empty s...
[ 1, 396, 8208, 342, 13103, 349, 9569, 297, 3017, 13, 29937, 1888, 14607, 310, 3017, 1824, 304, 1284, 278, 27217, 3619, 10944, 22611, 278, 2183, 1051, 310, 6031, 29889, 29871, 13, 29937, 3644, 727, 338, 694, 3619, 10944, 769, 7863, 29871,...
tests/testsuite.py
nilason/ctypesgen
20
145202
<filename>tests/testsuite.py<gh_stars>10-100 #!/usr/bin/env python3 """Simple test suite using unittest. By clach04 (<NAME>). Calling: python3 -m unittest tests.testsuite Calling a specific test only: python3 -m unittest tests.testsuite.[TestCase class].[test name] e.g.: python3 -m unittest test...
[ 1, 529, 9507, 29958, 21150, 29914, 1688, 13495, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 15945, 29908, 15427, 1243, 9460, ...
rus_pl8_detector.py
tomsaleeba/thumbor-custom-detector-example
0
123788
from thumbor.detectors.local_detector import CascadeLoaderDetector from thumbor.point import FocalPoint from thumbor.utils import logger class Detector(CascadeLoaderDetector): def __init__(self, context, index, detectors): super(Detector, self).__init__(context, index, detectors) self.load_cascade...
[ 1, 515, 28968, 272, 29889, 4801, 11142, 29889, 2997, 29918, 4801, 3019, 1053, 6960, 6332, 10036, 6362, 3019, 13, 3166, 28968, 272, 29889, 3149, 1053, 383, 18642, 5228, 13, 3166, 28968, 272, 29889, 13239, 1053, 17927, 13, 13, 1990, 5953, ...
src/book/swap.py
krontzo/nume.py
0
1605966
<reponame>krontzo/nume.py ## module swap ''' swapRows(v,i,j). Swaps rows i and j of a vector or matrix [v]. swapCols(v,i,j). Swaps columns of matrix [v]. ''' def swapRows(v,i,j): if len(v.shape) == 1: v[i],v[j] = v[j],v[i] else: v[[i,j],:] = v[[j,i],:] def swap...
[ 1, 529, 276, 1112, 420, 29958, 12748, 609, 2502, 29914, 1949, 29872, 29889, 2272, 13, 2277, 3883, 17945, 30004, 13, 12008, 17945, 10661, 29898, 29894, 29892, 29875, 29892, 29926, 467, 30004, 13, 1678, 3925, 2547, 4206, 474, 322, 432, 310,...
mcp_generation/mcqa_formatter.py
yuchenlin/XCSR
16
22600
<gh_stars>10-100 import json probes = [] with open("./multilingual_probes.jsonl",'r') as f: for line in f: probes.append(json.loads(line.rstrip('\n|\r'))) results = [] for probe in probes: new_items = {} answer_labels = ["A", "B", "C", "D", "E","F","G","H"] print(probe["truth_id"]) answerK...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 5215, 4390, 13, 13, 771, 5707, 353, 5159, 13, 2541, 1722, 703, 6904, 4713, 6504, 950, 29918, 771, 5707, 29889, 3126, 29880, 613, 29915, 29878, 1495, 4...
analysis/sst_setup_project.py
thackerybrown/SST
0
1616985
#! /usr/bin/env python print 'v2' import os import re import sys import imp import os.path as op import numpy as np import matplotlib import matplotlib.pyplot as plt import pandas as pd # for dprime from scipy.stats import norm from math import exp,sqrt Z = norm.ppf def gather_experiment_info(exp_name=None, dirs=No...
[ 1, 396, 29991, 847, 4855, 29914, 2109, 29914, 6272, 3017, 13, 13, 2158, 525, 29894, 29906, 29915, 13, 13, 5215, 2897, 13, 5215, 337, 13, 5215, 10876, 13, 5215, 2411, 13, 5215, 2897, 29889, 2084, 408, 1015, 13, 5215, 12655, 408, 7442, ...
Ensemble/mlxtendStacking.py
MlGroupsWJ/Customer-Satisfication
0
131716
<reponame>MlGroupsWJ/Customer-Satisfication from mlxtend.classifier import StackingClassifier from xgboost import XGBClassifier from sklearn import linear_model from bestScore import * params1 = {} params1['objective'] = 'binary:logistic' params1['booster'] = 'gbtree' params1['learning_rate'] = 0.02 params1['max_dept...
[ 1, 529, 276, 1112, 420, 29958, 29924, 29880, 24020, 29956, 29967, 29914, 15122, 29899, 29903, 27685, 293, 362, 13, 3166, 286, 29880, 486, 355, 29889, 1990, 3709, 1053, 10292, 292, 2385, 3709, 13, 3166, 921, 29887, 17079, 1053, 1060, 7210,...
dumpscad.py
arpruss/zttf
5
113297
import re import sys from zttf.ttfile import TTFile from struct import unpack def glyphBox(f,g): data = f.get_glyph_data(g) if not len(data): return (0,0,0,0) return unpack(">hhhhh", data[:10])[1:] def describeChar(c): if c >= 32 and c<127 and c != ord('\\') and c != ord('"'): return '...
[ 1, 1053, 337, 13, 5215, 10876, 13, 3166, 503, 698, 29888, 29889, 698, 1445, 1053, 323, 29911, 2283, 13, 3166, 2281, 1053, 443, 4058, 13, 13, 1753, 330, 27026, 3313, 29898, 29888, 29892, 29887, 1125, 13, 1678, 848, 353, 285, 29889, 657...
pluribus/poker/evaluation/__init__.py
keithlee96/pluribus-poker-AI
113
37983
from .eval_card import EvaluationCard from .evaluator import Evaluator from .lookup import LookupTable
[ 1, 515, 869, 14513, 29918, 7543, 1053, 382, 4387, 362, 13200, 13, 3166, 869, 24219, 1061, 1053, 382, 4387, 1061, 13, 3166, 869, 20401, 1053, 7419, 786, 3562, 13, 2 ]
2019/08 August/dp08232019.py
vishalkarda/DailyPracticeProblemsDIP
5
157131
# This problem was recently asked by AirBNB: # You are given a singly linked list and an integer k. Return the linked list, removing the k-th last element from the list. # Try to do it in a single pass and using constant space. class Node: def __init__(self, val, next=None): self.val = val self.n...
[ 1, 396, 910, 1108, 471, 10325, 4433, 491, 5593, 29933, 23189, 29901, 13, 13, 29937, 887, 526, 2183, 263, 1809, 368, 9024, 1051, 322, 385, 6043, 413, 29889, 7106, 278, 9024, 1051, 29892, 11077, 278, 413, 29899, 386, 1833, 1543, 515, 27...
server/plugins/machine_detail_ard_info/scripts/ard_info.py
gregneagle/sal
2
39461
#!/usr/bin/python import os import sys sys.path.append("/usr/local/munki/munkilib") import FoundationPlist RESULTS_PATH = "/usr/local/sal/plugin_results.plist" def main(): ard_path = "/Library/Preferences/com.apple.RemoteDesktop.plist" if os.path.exists(ard_path): ard_prefs = FoundationPlist.read...
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 13, 13, 13, 5215, 2897, 13, 5215, 10876, 13, 13, 9675, 29889, 2084, 29889, 4397, 11974, 4855, 29914, 2997, 29914, 24579, 1984, 29914, 29885, 2960, 15943, 1159, 13, 5215, 10606, 29925, 1761, 13, ...
sparse_causal_model_learner_rl/complexity/__init__.py
sergeivolodin/causality-disentanglement-rl
2
57070
from sparse_causal_model_learner_rl.complexity.l1 import L1, Lp
[ 1, 515, 29234, 29918, 1113, 375, 284, 29918, 4299, 29918, 1945, 1089, 29918, 2096, 29889, 19676, 537, 29889, 29880, 29896, 1053, 365, 29896, 29892, 365, 29886, 30004, 13, 2 ]
dojo/tools/dependencycheck/parser.py
xebia/django-DefectDojo
0
74439
import hashlib from defusedxml import ElementTree from dojo.models import Finding class DependencyCheckParser(object): def get_field_value(self, parent_node, field_name): field_node = parent_node.find(self.namespace + field_name) field_value = '' if field_node is None else field_node.text ...
[ 1, 1053, 6608, 1982, 13, 3166, 822, 3880, 3134, 1053, 10619, 9643, 13, 3166, 437, 2212, 29889, 9794, 1053, 383, 4015, 13, 13, 13, 1990, 10034, 5197, 5596, 11726, 29898, 3318, 1125, 13, 13, 1678, 822, 679, 29918, 2671, 29918, 1767, 298...
main_menu.py
Johnson070/Graphics.py-to-Python-code
0
142704
from graphics import * def create_menu(win): ln = Line(Point(1000, 0), Point(1000, 999)) ln.setOutline("black") ln.draw(win)
[ 1, 515, 18533, 1053, 334, 13, 13, 13, 1753, 1653, 29918, 6510, 29898, 5080, 1125, 13, 1678, 301, 29876, 353, 7407, 29898, 5228, 29898, 29896, 29900, 29900, 29900, 29892, 29871, 29900, 511, 8984, 29898, 29896, 29900, 29900, 29900, 29892, 2...
hummingbot/connector/exchange/binarz/frame.py
amirhosein-fasihi/hummingbot
0
116610
Byte = { 'LF': '\x0A', 'NULL': '\x00' } class Frame: def __init__(self, command, headers, body): self.command = command self.headers = headers self.body = '' if body is None else body def __str__(self): lines = [self.command] skipContentLength = 'content-lengt...
[ 1, 19831, 353, 426, 13, 1678, 525, 29931, 29943, 2396, 11297, 29916, 29900, 29909, 742, 13, 1678, 525, 10074, 2396, 11297, 29916, 29900, 29900, 29915, 13, 29913, 13, 13, 13, 1990, 12218, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311...
src/stk/molecular/topology_graphs/host_guest/complex.py
stevenbennett96/stk
0
75392
""" Host Guest Complex ================== """ from __future__ import annotations import typing from collections import abc from ...molecules import BuildingBlock from ...reactions import GenericReactionFactory from ..topology_graph import ( ConstructionState, NullOptimizer, Optimizer, TopologyGraph,...
[ 1, 9995, 13, 8514, 2088, 342, 26596, 13, 9166, 1360, 13, 13, 15945, 29908, 13, 13, 3166, 4770, 29888, 9130, 1649, 1053, 25495, 13, 13, 5215, 19229, 13, 3166, 16250, 1053, 25638, 13, 13, 3166, 2023, 29885, 1772, 21337, 1053, 17166, 744...
package/PartSeg/common_backend/except_hook.py
monotropauniflora/PartSeg
0
89914
<gh_stars>0 import sys import sentry_sdk from PartSeg import parsed_version from PartSegCore import state_store def my_excepthook(type_, value, trace_back): """ Custom excepthook. base on base on :py:data:`state_store.show_error_dialog` decide if shown error dialog. """ # log the exception here ...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 10876, 13, 13, 5215, 2665, 719, 29918, 15348, 13, 13, 3166, 3455, 17669, 1053, 21213, 29918, 3259, 13, 3166, 3455, 17669, 9203, 1053, 2106, 29918, 8899, 13, 13, 13, 1753, 590, 2...
produtos/migrations/0007_auto_20171110_1138.py
Moisestuli/karrata
0
43975
<filename>produtos/migrations/0007_auto_20171110_1138.py<gh_stars>0 # -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-11-10 10:38 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('produtos', '0006_auto_20171109_1...
[ 1, 529, 9507, 29958, 10633, 20864, 29914, 26983, 800, 29914, 29900, 29900, 29900, 29955, 29918, 6921, 29918, 29906, 29900, 29896, 29955, 29896, 29896, 29896, 29900, 29918, 29896, 29896, 29941, 29947, 29889, 2272, 29966, 12443, 29918, 303, 1503,...
quiz/migrations/0004_auto_20151218_1656.py
pbx/django-quiz
0
71876
<gh_stars>0 # -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-18 16:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quiz', '0003_auto_20151214_1556'), ] operations = [ migrations.Alt...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 3251, 630, 491, 15337, 29871, 29896, 29889, 29929, 373, 29871, 29906, 29900, 29896, 29945, 29899, ...
tests/test_color.py
lukasz-migas/SimpleParam
0
177666
"""Test Color class""" import pytest import simpleparam as param class TestColor(object): """Test Color class""" @staticmethod def test_creation_hex(): """Test Color - correct initilization""" value = "#FFF000" color = param.Color(value=value) assert color.value == value ...
[ 1, 9995, 3057, 9159, 770, 15945, 29908, 13, 5215, 11451, 1688, 13, 13, 5215, 2560, 3207, 408, 1828, 13, 13, 13, 1990, 4321, 3306, 29898, 3318, 1125, 13, 1678, 9995, 3057, 9159, 770, 15945, 29908, 13, 13, 1678, 732, 7959, 5696, 13, 1...
odoo-13.0/addons/l10n_es/__manifest__.py
VaibhavBhujade/Blockchain-ERP-interoperability
0
74250
<reponame>VaibhavBhujade/Blockchain-ERP-interoperability<gh_stars>0 # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. # List of contributors: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Dpto. Consultoría Grupo Opentia <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME>...
[ 1, 529, 276, 1112, 420, 29958, 29963, 29874, 747, 8708, 29933, 6905, 1764, 311, 29914, 7445, 14153, 29899, 1001, 29925, 29899, 1639, 3372, 3097, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616...
chainer_bcnn/updaters/cgan/_replay_buffer.py
yuta-hi/bayesian_unet
36
1600811
from __future__ import absolute_import from chainer import backend from chainer import Variable import numpy as np class ReplayBuffer(object): """ Buffer for handling the experience replay. Args: size (int): buffer size p (float): probability to evoke the past experience return_variab...
[ 1, 515, 4770, 29888, 9130, 1649, 1053, 8380, 29918, 5215, 13, 13, 3166, 521, 4008, 1053, 14998, 13, 3166, 521, 4008, 1053, 28736, 13, 5215, 12655, 408, 7442, 13, 13, 13, 1990, 830, 1456, 7701, 29898, 3318, 1125, 13, 1678, 9995, 16534,...
rllib/utils/test_utils.py
kifarid/ray
3
137626
<reponame>kifarid/ray import gym import logging import numpy as np from ray.rllib.utils.framework import try_import_jax, try_import_tf, \ try_import_torch jax, _ = try_import_jax() tf1, tf, tfv = try_import_tf() if tf1: eager_mode = None try: from tensorflow.python.eager.context import eager_mode ...
[ 1, 529, 276, 1112, 420, 29958, 29895, 361, 279, 333, 29914, 764, 13, 5215, 330, 962, 13, 5215, 12183, 13, 5215, 12655, 408, 7442, 13, 13, 3166, 15570, 29889, 2096, 1982, 29889, 13239, 29889, 4468, 1053, 1018, 29918, 5215, 29918, 6487, ...
calculadora.py
rheimon1/Calculadora
0
31482
<reponame>rheimon1/Calculadora def media_suicida (mediaProvas, mediaTrabalhos): if mediaProvas >= 5 and mediaTrabalhos >= 5: return mediaProvas * 0.6 + mediaTrabalhos * 0.4 return min(mediaProvas, mediaTrabalhos) notasProva = [] notasTrabalho = [] quantidadeProva = int(input("Quantidade de provas: ")...
[ 1, 529, 276, 1112, 420, 29958, 29878, 6391, 265, 29896, 29914, 27065, 15441, 13, 1753, 5745, 29918, 2146, 293, 1458, 313, 9799, 1184, 4428, 29892, 5745, 29911, 4201, 284, 15656, 1125, 13, 1678, 565, 5745, 1184, 4428, 6736, 29871, 29945, ...
env.py
DGarciaMedina/PiArmDiego
0
5714
<reponame>DGarciaMedina/PiArmDiego import piarm import time import numpy as np import cv2 import random class MyArm2D: def __init__(self, move_robot = False): self.move_robot = move_robot if self.move_robot: self.robot = piarm.PiArm() self.open_connection() se...
[ 1, 529, 276, 1112, 420, 29958, 29928, 29954, 279, 1512, 19302, 1099, 29914, 12197, 27429, 29928, 9383, 13, 5215, 2930, 2817, 13, 5215, 931, 13, 5215, 12655, 408, 7442, 13, 5215, 13850, 29906, 13, 5215, 4036, 13, 13, 1990, 1619, 27429, ...
final_learn_korean/classes.py
juliapochynok/LearnKorean_project
1
54204
from arrays import DynamicArray import fileinput import random class WordController: ''' Class representation of WordController ''' def __init__(self, fl): ''' Creates new WordController :type fl: str :param fl: user txt file ''' self._file = fl def...
[ 1, 515, 7049, 1053, 27747, 2588, 13, 5215, 934, 2080, 13, 5215, 4036, 13, 13, 1990, 10803, 2956, 29901, 13, 1678, 14550, 13, 1678, 4134, 8954, 310, 10803, 2956, 13, 1678, 14550, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1652, 112...
0.1.build_BST/0.1.py
teryokhin/bsu-famcs-algo-solutions
0
52941
class BinarySearchTree: class Node: def __init__(self, value): self.left = None self.right = None self.value = value def __init__(self): self.root = None def add(self, value): if self.root: self._add(value, self.root) ...
[ 1, 6756, 13, 1990, 29479, 7974, 9643, 29901, 30004, 13, 30004, 13, 1678, 770, 9071, 29901, 30004, 13, 4706, 822, 4770, 2344, 12035, 1311, 29892, 995, 1125, 30004, 13, 9651, 1583, 29889, 1563, 353, 6213, 30004, 13, 9651, 1583, 29889, 126...
libs/file/nxpy/core/file/__init__.py
nmusatti/nxpy
5
89234
<filename>libs/file/nxpy/core/file/__init__.py from .file import *
[ 1, 529, 9507, 29958, 10254, 29914, 1445, 29914, 23818, 2272, 29914, 3221, 29914, 1445, 29914, 1649, 2344, 26914, 2272, 13, 3166, 869, 1445, 1053, 334, 30004, 13, 2 ]
IRIS_data_download/IRIS_download_support/obspy/clients/httpproxy.py
earthinversion/Fnet_IRIS_data_automated_download
2
140094
# -*- coding: utf-8 -*- """ Establish a socket connection through an HTTP proxy. Author: <NAME> <<EMAIL>> License: This code can be used, modified and distributed freely, as long as it is this note containing the original author, the source and this license, is put along with the source code. <NAME>, modified fr...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, 12787, 370, 1674, 263, 9909, 3957, 1549, 385, 7331, 10166, 29889, 13, 13720, 29901, 529, 5813, 29958, 3532, 26862, 6227, 6778, 13, 2993...
cirq/google/optimizers/convert_to_sycamore_gates.py
Lisayg/Cirq
0
131812
<reponame>Lisayg/Cirq<gh_stars>0 # Copyright 2019 The Cirq Developers # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ 1, 529, 276, 1112, 420, 29958, 29931, 275, 388, 29887, 29914, 29907, 381, 29939, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29929, 450, 25079, 29939, 10682, 414, 13, 29937, 13, 29937, ...
biostar/recipes/test/test_ajax.py
Oribyne/biostar-central-fork
477
140174
<filename>biostar/recipes/test/test_ajax.py import logging import os import json from unittest.mock import patch, MagicMock from django.conf import settings from django.test import TestCase, override_settings from django.urls import reverse from biostar.recipes import models, auth, ajax from biostar.utils.helpers imp...
[ 1, 529, 9507, 29958, 5365, 520, 279, 29914, 4361, 5547, 29914, 1688, 29914, 1688, 29918, 6538, 29889, 2272, 13, 5215, 12183, 13, 5215, 2897, 13, 5215, 4390, 13, 3166, 443, 27958, 29889, 17640, 1053, 13261, 29892, 26494, 18680, 13, 13, 3...
news/admin.py
yegorkowalew/local_kow
0
179231
# -*- coding:utf-8 -*- from django.contrib import admin from .models import News # admin.site.register(News) class NewsAdmin(admin.ModelAdmin): list_display = ('title',) admin.site.register(News, NewsAdmin)
[ 1, 396, 448, 29930, 29899, 14137, 29901, 9420, 29899, 29947, 448, 29930, 29899, 13, 13, 3166, 9557, 29889, 21570, 1053, 4113, 13, 3166, 869, 9794, 1053, 10130, 13, 13, 29937, 4113, 29889, 2746, 29889, 9573, 29898, 29328, 29897, 13, 13, ...
src/flask_app_generator/templates/views/__init__.py
SeoDongMyeong/flask-generator
0
61392
<reponame>SeoDongMyeong/flask-generator<filename>src/flask_app_generator/templates/views/__init__.py<gh_stars>0 import index BLUEPRINTS = [ index.blueprint ] def register_blueprint(app): for blueprint in BLUEPRINTS: app.register_blueprint(blueprint)
[ 1, 529, 276, 1112, 420, 29958, 2008, 29877, 29928, 549, 3421, 29872, 549, 29914, 1579, 1278, 29899, 27959, 29966, 9507, 29958, 4351, 29914, 1579, 1278, 29918, 932, 29918, 27959, 29914, 20943, 29914, 7406, 29914, 1649, 2344, 26914, 2272, 299...
examples/serialization/identified_data_serializable_example.py
tonytheonlypony/hazelcast-python-client
98
82438
<reponame>tonytheonlypony/hazelcast-python-client<filename>examples/serialization/identified_data_serializable_example.py import hazelcast from hazelcast.serialization.api import IdentifiedDataSerializable class Student(IdentifiedDataSerializable): FACTORY_ID = 1 CLASS_ID = 1 def __init__(self, id=None,...
[ 1, 529, 276, 1112, 420, 29958, 880, 29891, 1552, 6194, 1112, 29891, 29914, 29882, 834, 295, 4384, 29899, 4691, 29899, 4645, 29966, 9507, 29958, 19057, 29914, 15550, 2133, 29914, 1693, 2164, 29918, 1272, 29918, 15550, 13902, 29918, 4773, 298...
personal-IO/interfaces/dialogo_registro_datos.py
hostelix/personal-IO
6
1600210
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'plantillas_interfaces/interfaz_registro_datos.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except A...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 29937, 3812, 5314, 5759, 515, 5183, 14313, 934, 525, 24389, 21338, 29918, 1639, 8726, 29914, 1639, 29888, 834, 29918, 1727, 19150, 29918, 4130, 359, ...
gnosis/protocol/tests/test_gnosis_protocol_api.py
titandac/gnosis-py
64
143813
<gh_stars>10-100 from time import time from django.test import TestCase from eth_account import Account from web3 import Web3 from ...eth import EthereumNetwork from ...eth.constants import NULL_ADDRESS from .. import GnosisProtocolAPI, Order, OrderKind class TestGnosisProtocolAPI(TestCase): @classmethod d...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 3166, 931, 1053, 931, 13, 13, 3166, 9557, 29889, 1688, 1053, 4321, 8259, 13, 13, 3166, 11314, 29918, 10149, 1053, 16535, 13, 3166, 1856, 29941, 1053, ...
iiwaaControler/test_force.py
LaurentBimont/DemoLearning
0
158001
from sunrisePy import sunrisePy import time import numpy as np ip='172.31.1.148' # ip='localhost' iiwa=sunrisePy(ip) iiwa.setBlueOn() time.sleep(2) iiwa.setBlueOff() try: while True: print(iiwa.getJointsMeasuredTorques()) time.sleep(0.2) except KeyboardInterrupt: iiwa.close() print('an error ...
[ 1, 515, 6575, 29878, 895, 19737, 1053, 6575, 29878, 895, 19737, 13, 5215, 931, 13, 5215, 12655, 408, 7442, 13, 666, 2433, 29896, 29955, 29906, 29889, 29941, 29896, 29889, 29896, 29889, 29896, 29946, 29947, 29915, 13, 29937, 10377, 2433, 7...
core/uicalc.py
JorgeDeLosSantos/PiChi
0
153152
# -*- coding: utf-8 -*- # *********************************** # PiChi 0.0.1 # Author: <NAME> # E-mail: <EMAIL> # Web: labdls.blogspot.mx # License: MIT License # *********************************** import wx import sympy import matplotlib matplotlib.use('WXAgg') from matplotlib.backends.backend_wxagg import ...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 334, 7775, 7775, 1068, 13, 29937, 29871, 7362, 1451, 29875, 29871, 29900, 29889, 29900, 29889, 29896, 13, 29937, 29871, 13361, 29901, 529, 5813, 299...
self_supervised/loss.py
ravidziv/self-supervised-learning
0
22138
<filename>self_supervised/loss.py """Contrastive loss functions.""" from functools import partial import tensorflow as tf LARGE_NUM = 1e9 def cont_loss2(temperature: float): func = partial(add_contrastive_loss, temperature=temperature) func.__name__ = 'cont_loss2' return func def add_supervised_loss(l...
[ 1, 529, 9507, 29958, 1311, 29918, 9136, 11292, 29914, 6758, 29889, 2272, 13, 15945, 29908, 1168, 509, 579, 573, 6410, 3168, 1213, 15945, 13, 3166, 2090, 312, 8789, 1053, 7687, 13, 13, 5215, 26110, 408, 15886, 13, 13, 29931, 1718, 1692, ...
MVMOO/multi_mixed_optimiser.py
jmanson377/MVMOO
5
33862
<filename>MVMOO/multi_mixed_optimiser.py<gh_stars>1-10 import numpy as np from scipy.stats import norm from .mixed_optimiser import MVO from scipy.optimize import shgo, differential_evolution, dual_annealing import scipy as stats class MVMOO(MVO): """ Multi variate mixed variable optimisation """ def _...
[ 1, 529, 9507, 29958, 29924, 29963, 6720, 29949, 29914, 9910, 29918, 29885, 11925, 29918, 20640, 7608, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 12655, 408, 7442, 13, 3166, 4560, 2272, 29889, 1...
utils/gameUtil.py
leofrozen/Mutuca
1
88998
<reponame>leofrozen/Mutuca<filename>utils/gameUtil.py # -*- coding: UTF-8 -*- #This class loads all config files and tests some issue before the game begins. import json import pygame #from gameEntities.gameEntity import * from gameItems.gameItem import * import gameItems.itemSets from gameStages.stage import ...
[ 1, 529, 276, 1112, 420, 29958, 280, 974, 307, 2256, 29914, 29924, 329, 18393, 29966, 9507, 29958, 13239, 29914, 11802, 7270, 29889, 2272, 13, 268, 13, 29937, 448, 29930, 29899, 14137, 29901, 18351, 29899, 29947, 448, 29930, 29899, 13, 13,...
language_features/exception/dict_keyerror_exception.py
PrasadHonrao/python-samples
3
149027
<filename>language_features/exception/dict_keyerror_exception.py<gh_stars>1-10 student = { "firstName": "Prasad", "lastName": "Honrao", "age": 37 } try: #try to get wrong value from dictionary last_name = student["last_name"] except KeyError as error: print("Exception thrown!") p...
[ 1, 529, 9507, 29958, 11675, 29918, 22100, 29914, 11739, 29914, 8977, 29918, 1989, 2704, 29918, 11739, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 18945, 353, 3336, 13, 1678, 376, 4102, 1170, 1115, 376...
examples/surface.py
pedromxavier/svg-motion
0
44554
from cstream import stdwar from svgen import Point, Vector, SVG, Figure, Camera, Domain, Map, Surface, Animation from math import radians, sin, cos, pi, hypot, sqrt import sys from tqdm import tqdm from svgen.svglib.math import Transform COLOR = "#3703b3" if len(sys.argv) > 1 and sys.argv[1] == "-o": proj = C...
[ 1, 515, 274, 5461, 1053, 3659, 4495, 13, 13, 3166, 3731, 1885, 1053, 8984, 29892, 16510, 29892, 13955, 29954, 29892, 11479, 29892, 24321, 29892, 28460, 29892, 7315, 29892, 6298, 2161, 29892, 530, 7715, 13, 13, 3166, 5844, 1053, 2971, 5834...
diplom_test/data_reader.py
CrackedSTone/algorithm-detects-liver-pathology
8
20824
<gh_stars>1-10 import glob import numpy as np #import cv2 from PIL import Image #import os.path class ImgReader: def __init__(self): pass @staticmethod def read_directory(dir_path, file_format=None): try: images = [np.asarray(Image.open(img_path).convert('L'), dtype=np.uint8) ...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 13149, 13, 5215, 12655, 408, 7442, 13, 29937, 5215, 13850, 29906, 13, 3166, 349, 6227, 1053, 7084, 13, 29937, 5215, 2897, 29889, 2084, 13, 13, 13, 1990, 1954,...
Menta/Profiles/models.py
reembot/Menta
2
170898
from django.db import models # Create your models here. class Skill(models.Model): skillName= models.CharField(verbose_name='Skill', max_length=100) SKILL_CHOICES = [ ('B', 'Beginner'), ('I', 'Intermediate'), ('E', 'Expert'), ] level= models.CharField(verbose_name='Profici...
[ 1, 515, 9557, 29889, 2585, 1053, 4733, 13, 13, 29937, 6204, 596, 4733, 1244, 29889, 13, 13, 1990, 4971, 453, 29898, 9794, 29889, 3195, 1125, 13, 1678, 13, 1678, 19911, 1170, 29922, 4733, 29889, 27890, 29898, 369, 15828, 29918, 978, 2433...
queuemonitor.py
jlyoung/queuemonitor
0
196141
"""Raise Notification Center messages when new cases arrive in SalesForce Incoming Queue.""" import logging import pprint import subprocess import sys import time from urlparse import urljoin import yaml from pync import Notifier from retrying import retry from selenium import webdriver from selenium.common.exception...
[ 1, 9995, 29934, 29874, 895, 28578, 7817, 7191, 746, 716, 4251, 18331, 297, 28389, 2831, 346, 512, 11506, 5462, 434, 1213, 15945, 13, 13, 5215, 12183, 13, 5215, 282, 2158, 13, 5215, 1014, 5014, 13, 5215, 10876, 13, 5215, 931, 13, 3166,...
tests/test_clustering.py
SanthiSridharan/global-attribution-mapping-1
0
1616600
import numpy as np from gam.clustering import KMedoids from gam.spearman_distance import spearman_squared_distance def test_kmedoids(): """"Run kmedoids on sample attributions""" kmedoids_2 = KMedoids(2, dist_func=spearman_squared_distance, max_iter=1000, tol=0.0001, init_medoids=None) attributions = np.a...
[ 1, 1053, 12655, 408, 7442, 13, 3166, 24988, 29889, 695, 504, 3241, 1053, 476, 19302, 3398, 29879, 13, 3166, 24988, 29889, 5965, 279, 1171, 29918, 19244, 1053, 961, 279, 1171, 29918, 26613, 1965, 29918, 19244, 13, 13, 13, 1753, 1243, 299...
src/CommentCrawling.py
nlpproject-2019/NLP_project
1
107371
#-*- coding:utf-8 -*- import time import requests import credential from bs4 import BeautifulSoup from selenium import webdriver binary= './chromedriver' driver=webdriver.Chrome(binary) f = open('./data/50.txt', 'a') driver.get('https://pann.nate.com/talk/c20005') driver.find_element_by_xpath('//*[@id="GnbWrap"]/div...
[ 1, 396, 29899, 29930, 29899, 14137, 29901, 9420, 29899, 29947, 448, 29930, 29899, 13, 5215, 931, 13, 5215, 7274, 13, 5215, 6625, 2556, 13, 3166, 24512, 29946, 1053, 25685, 29903, 1132, 13, 3166, 18866, 1053, 1856, 9465, 13, 13, 19541, 2...
covid.py
renancvr/covid19-piumhi
0
143205
import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as mpatches import pandas as pd import math def moving_average(a, n=7) : ret = np.cumsum(a, dtype=float) ret[n:] = ret[n:] - ret[:-n] return ret[n - 1:] / n #leitura de dados e montagem dos arrays para plotagem: df = pd.read_exc...
[ 1, 1053, 12655, 408, 7442, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, 22889, 29889, 5041, 267, 408, 286, 5041, 267, 13, 5215, 11701, 408, 10518, 13, 5215, 5844, 13, 13, 1753, 8401, 29918, 12483, 482, 29898, 29874, 29892, ...
test/test-funders.py
yurivict/habanero
0
27645
<filename>test/test-funders.py import pytest import os import requests from habanero import exceptions, Crossref from requests.exceptions import HTTPError cr = Crossref() @pytest.mark.vcr def test_funders(): "funders - basic test" res = cr.funders(limit=2) assert dict == res.__class__ assert dict == ...
[ 1, 529, 9507, 29958, 1688, 29914, 1688, 29899, 27159, 414, 29889, 2272, 13, 5215, 11451, 1688, 13, 5215, 2897, 13, 5215, 7274, 13, 3166, 2299, 273, 1489, 1053, 15283, 29892, 11189, 999, 13, 3166, 7274, 29889, 11739, 29879, 1053, 7331, 2...
Data Structures and Algorithms/LeetCode Algo Solutions/EASY DIFFICULTY PROBLEMS/SetMismatch.py
akkik04/Python-DataStructures-and-Algorithms
1
62588
# SET MISMATCH LEETCODE SOLUTION: # creating a class. class Solution(object): # creating a function to solve the problem. def findErrorNums(self, nums): # creating multiple variables to store various sums. actual_sum = sum(nums) set_sum = sum(set(nums)) a_sum = len(...
[ 1, 396, 11368, 341, 3235, 29924, 14789, 11060, 2544, 16524, 317, 5607, 2692, 2725, 29901, 30004, 13, 30004, 13, 29937, 4969, 263, 770, 22993, 13, 1990, 24380, 29898, 3318, 1125, 30004, 13, 30004, 13, 1678, 396, 4969, 263, 740, 304, 4505...
quarkchain/cluster/tests/test_miner.py
TahiG/pyquarkchain
17
3299
<filename>quarkchain/cluster/tests/test_miner.py import asyncio import time import unittest from typing import Optional from quarkchain.cluster.miner import DoubleSHA256, Miner, MiningWork, validate_seal from quarkchain.config import ConsensusType from quarkchain.core import RootBlock, RootBlockHeader from quarkchain....
[ 1, 529, 9507, 29958, 339, 935, 14153, 29914, 19594, 29914, 21150, 29914, 1688, 29918, 1195, 261, 29889, 2272, 13, 5215, 408, 948, 3934, 13, 5215, 931, 13, 5215, 443, 27958, 13, 3166, 19229, 1053, 28379, 13, 13, 3166, 439, 935, 14153, ...
HashiCorp/VagrantURLProvider.py
cwhits/hjuutilainen-recipes
0
115276
<gh_stars>0 #!/usr/bin/env python # # Copyright 2013 <NAME> # # 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 applicabl...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29941, 529, 5813, 29958, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, ...
supersql/datatypes/uuid.py
tersoo/supersql
1
158762
<reponame>tersoo/supersql from supersql.datatypes.base import Base class UUID(Base): def __init__(self, *args, **kwargs): self.pk = kwargs.get("pk") or kwargs.get("primary_key") self.required = kwargs.get("required") self.default = kwargs.get("default") self.unique = kwargs.get("u...
[ 1, 529, 276, 1112, 420, 29958, 357, 578, 29877, 29914, 12587, 414, 1519, 13, 13, 3166, 480, 6774, 1519, 29889, 4130, 271, 7384, 29889, 3188, 1053, 7399, 13, 13, 13, 1990, 501, 11150, 29898, 5160, 1125, 13, 1678, 822, 4770, 2344, 12035...
ros_ws/src/crazyswarm/scripts/hello_world.py
dasc-lab/crazyswarm
0
112711
"""Takeoff-hover-land for one CF. Useful to validate hardware config.""" from pycrazyswarm import Crazyswarm def main(): swarm = Crazyswarm() timeHelper = swarm.timeHelper cf = swarm.allcfs.crazyflies[0] t0 = timeHelper.time() state = "TAKEOFF" while not timeHelper.isShutdown(): ...
[ 1, 9995, 26772, 2696, 29899, 13194, 29899, 1049, 363, 697, 17861, 29889, 4803, 1319, 304, 12725, 12837, 2295, 1213, 15945, 13, 13, 3166, 282, 11078, 9504, 952, 29893, 2817, 1053, 315, 9504, 952, 29893, 2817, 13, 13, 13, 13, 13, 1753, ...
v21/main.py
felipesch92/Pythontkinter
0
161829
<reponame>felipesch92/Pythontkinter from tkinter import * def mostrar(): endereco.set(text_box_endereco.get() + ' - ' + text_box_data_nasc.get()) def acessar(): login.set(text_box_login.get() + ' - ' + text_box_senha.get()) menu_inicial = Tk() menu_inicial.title('Duas frames') frame_login = Frame(menu_ini...
[ 1, 529, 276, 1112, 420, 29958, 13287, 666, 1968, 29929, 29906, 29914, 29925, 1541, 609, 29895, 1639, 13, 3166, 18883, 1639, 1053, 334, 13, 13, 13, 1753, 1556, 13678, 7295, 13, 1678, 1095, 406, 1111, 29889, 842, 29898, 726, 29918, 1884, ...
active_ap/test_new.py
Rui-Chun/ESP32-CSI-Collection-and-Display
1
175129
import pyqtgraph as pg import numpy as np x = np.arange(1000) y = np.random.normal(size=(3, 1000)) plotWidget = pg.plot(title="Three plot curves") for i in range(3): plotWidget.plot(x, y[i], pen=(i,3)) ## setting pen=(i,3) automaticaly creates three different-colored pens
[ 1, 1053, 11451, 17915, 4262, 408, 23822, 13, 5215, 12655, 408, 7442, 13, 29916, 353, 7442, 29889, 279, 927, 29898, 29896, 29900, 29900, 29900, 29897, 13, 29891, 353, 7442, 29889, 8172, 29889, 8945, 29898, 2311, 7607, 29941, 29892, 29871, ...
cat-classifier-simple-nn/backprop.py
SamKirkiles/deep-learning-demos
0
77182
# -*- coding: utf-8 -*- import activation as a import numpy as np import forwardpropagate as fp import copy def back_propagation(X, y, al, L, parameters, caches,dropout=False): m = X.shape[1] grads = {} da3 = (-np.divide(y, caches["a3"]) + np.divide(1 - y, 1 - caches["a3"])) dz3 =...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 5215, 26229, 408, 263, 13, 5215, 12655, 408, 7442, 13, 5215, 6375, 7728, 351, 403, 408, 285, 29886, 13, 5215, 3509, 13, 13, 1753, 1250, 29918, 77...
deep_disfluency/corpus/create_fake_timing_corpus.py
Nagasaki45/deep_disfluency
34
67175
import csv from corpus_util import add_word_continuation_tags def get_tag_data_from_corpus_file(f): """Loads from file into four lists of lists of strings of equal length: one for utterance iDs (IDs)) one for words (seq), one for pos (pos_seq) one for tags (targets).""" f = open(f) prin...
[ 1, 1053, 11799, 13, 3166, 1034, 13364, 29918, 4422, 1053, 788, 29918, 1742, 29918, 20621, 362, 29918, 11338, 13, 13, 13, 1753, 679, 29918, 4039, 29918, 1272, 29918, 3166, 29918, 2616, 13364, 29918, 1445, 29898, 29888, 1125, 13, 1678, 9995...
iptvtools/constants/helps.py
haleez/iptvtools
2
61289
<reponame>haleez/iptvtools #!/usr/bin/env python # -*- coding: utf-8 -*- """ File: constants.py Author: huxuan Email: i(at)huxuan.org Description: Helps for iptvtools. """ from . import defaults CONFIG = ( f'Configuration file to unify title and id information, defaults to ' f'`{defaults.CONFIG}`' ) INPUT = ( ...
[ 1, 529, 276, 1112, 420, 29958, 29882, 744, 6096, 29914, 21278, 29894, 8504, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 13, ...
vyperlogix/win/UserGetInfo.py
raychorn/chrome_gui
1
195400
__copyright__ = """\ (c). Copyright 2008-2013, Vyper Logix Corp., All Rights Reserved. Published under Creative Commons License (http://creativecommons.org/licenses/by-nc/3.0/) restricted to non-commercial educational use only., http://www.VyperLogix.com for details THE AUTHOR VYPER LOGIX CORP DIS...
[ 1, 4770, 8552, 1266, 1649, 353, 9995, 29905, 13, 29898, 29883, 467, 14187, 1266, 29871, 29906, 29900, 29900, 29947, 29899, 29906, 29900, 29896, 29941, 29892, 478, 29891, 546, 4522, 861, 2994, 29886, 1696, 29871, 13, 13, 795, 2178, 26863, ...
sdk/python/pulumi_azure_nextgen/marketplace/private_store_offer.py
pulumi/pulumi-azure-nextgen
31
10171
<filename>sdk/python/pulumi_azure_nextgen/marketplace/private_store_offer.py # coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any...
[ 1, 529, 9507, 29958, 15348, 29914, 4691, 29914, 29886, 352, 15547, 29918, 17688, 29918, 4622, 1885, 29914, 28549, 6689, 29914, 9053, 29918, 8899, 29918, 974, 571, 29889, 2272, 13, 29937, 14137, 29922, 9420, 29899, 29947, 13, 29937, 18610, 3...
loophole/polar/pb/sportprofile_mclaren_settings_pb2.py
oscarpicas/loophole
153
108636
<reponame>oscarpicas/loophole<gh_stars>100-1000 # Generated by the protocol buffer compiler. DO NOT EDIT! # source: sportprofile_mclaren_settings.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf impor...
[ 1, 529, 276, 1112, 420, 29958, 359, 4287, 29886, 5070, 29914, 7888, 29716, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29900, 29899, 29896, 29900, 29900, 29900, 13, 29937, 3251, 630, 491, 278, 9608, 6835, 6516, 29889, 29871, 11662,...