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
AdvBox/models/blackbox.py
honshj/PaddleSleeve
41
79265
<gh_stars>10-100 # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 29937, 259, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29906, 29896, 349, 22352, 29925, 22352, 13189, 943, 29889, 2178, 26863, 2538, 9841, 29889, ...
BackEnd/venv/lib/python3.8/site-packages/pytest_cov/__init__.py
MatheusBrodt/App_LabCarolVS
1
101396
<reponame>MatheusBrodt/App_LabCarolVS<filename>BackEnd/venv/lib/python3.8/site-packages/pytest_cov/__init__.py """pytest-cov: avoid already-imported warning: PYTEST_DONT_REWRITE.""" __version__ = "2.7.1"
[ 1, 529, 276, 1112, 420, 29958, 9782, 354, 375, 29933, 5964, 29873, 29914, 2052, 29918, 28632, 8179, 324, 21819, 29966, 9507, 29958, 5841, 5044, 29914, 854, 29894, 29914, 1982, 29914, 4691, 29941, 29889, 29947, 29914, 2746, 29899, 8318, 2991...
probnmn/trainers/_trainer.py
kdexd/probnmn-clevr
69
35272
<gh_stars>10-100 from typing import Any, Dict, Generator, List, Optional import torch from torch import nn, optim from torch.utils.data import DataLoader from tensorboardX import SummaryWriter from probnmn.config import Config from probnmn.utils.checkpointing import CheckpointManager class _Trainer(object): r""...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 3166, 19229, 1053, 3139, 29892, 360, 919, 29892, 3251, 1061, 29892, 2391, 29892, 28379, 13, 13, 5215, 4842, 305, 13, 3166, 4842, 305, 1053, 302, 29876, ...
02 laban data/lmadatagen/lmadatagen/Prettyplots.py
SMC7-2019/ASDF-RNN
4
1605453
<filename>02 laban data/lmadatagen/lmadatagen/Prettyplots.py #!/usr/bin/env python # coding: utf-8 # In[1]: import numpy as np import matplotlib.pyplot as plt from matplotlib.lines import Line2D # In[2]: joint_hier = [ ('head', 'neck', 'blue'), ('neck', 'root', 'darkred'), ('root', 'clavicle', 'brown...
[ 1, 529, 9507, 29958, 29900, 29906, 9775, 273, 848, 29914, 29880, 19581, 271, 5370, 29914, 29880, 19581, 271, 5370, 29914, 6572, 4349, 26762, 29889, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 14137, 29901, 23616...
Udemy/GeekUniversity/secao_4/ex2.py
SandboxGTASA/Python-1
0
65932
# Faça um programa que leia um numero real e imprima num_real = float(input('Entre com um numero real: ')) print(f'O numero real digitado foi: {num_real}')
[ 1, 396, 7748, 4277, 1922, 16914, 712, 454, 423, 1922, 17910, 1855, 321, 16921, 2946, 13, 13, 1949, 29918, 6370, 353, 5785, 29898, 2080, 877, 5292, 276, 419, 1922, 17910, 1855, 29901, 525, 876, 13, 2158, 29898, 29888, 29915, 29949, 17910...
vespa/tests/test_fpp.py
timothydmorton/vespa
37
161417
<reponame>timothydmorton/vespa from __future__ import print_function, division import os, os.path import unittest import tempfile from vespa.fpp import FPPCalculation import pkg_resources ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__))) class TestFPP(unittest.TestCase): name = 'kepler-22' in...
[ 1, 529, 276, 1112, 420, 29958, 9346, 720, 2941, 29885, 26342, 29914, 1960, 3274, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 29892, 8542, 13, 13, 5215, 2897, 29892, 2897, 29889, 2084, 13, 5215, 443, 27958, 13, 5215, 5694...
scipy/linalg/_decomp_ldl.py
smola/scipy
2
195886
from __future__ import division, print_function, absolute_import from warnings import warn import numpy as np from numpy import (atleast_2d, ComplexWarning, arange, zeros_like, imag, diag, iscomplexobj, tril, triu, argsort, empty_like) from .decomp import _asarray_validated from .lapack import get_...
[ 1, 515, 4770, 29888, 9130, 1649, 1053, 8542, 29892, 1596, 29918, 2220, 29892, 8380, 29918, 5215, 13, 13, 3166, 18116, 1053, 29383, 13, 13, 5215, 12655, 408, 7442, 13, 3166, 12655, 1053, 313, 271, 280, 579, 29918, 29906, 29881, 29892, 26...
my_funcs.py
IgorReshetnyak/Spectra
0
93851
<filename>my_funcs.py<gh_stars>0 #COPYRIGHT <NAME> 2016-2020 import math import numpy import time def broad_gauss(data, energies, broad=0.1): if len(data)!=len(energies): exit("Error data and energies length differ") data1=numpy.zeros(len(energies)); ne=len(energies) for i in ran...
[ 1, 529, 9507, 29958, 1357, 29918, 7692, 2395, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 3217, 20055, 22789, 3912, 529, 5813, 29958, 29871, 29906, 29900, 29896, 29953, 29899, 29906, 29900, 29906, 29900, 6756, 13, ...
examples/rotate/rotate.py
dbrainio/wrappa
11
144373
import numpy as np from wrappa import WrappaObject, WrappaImage class DSModel: def __init__(self, **kwargs): pass def predict(self, data, **kwargs): _ = kwargs # Data is always an array of WrappaObjects responses = [] for obj in data: img = obj.image.as_n...
[ 1, 1053, 12655, 408, 7442, 13, 13, 3166, 11463, 13410, 1053, 399, 336, 13410, 2061, 29892, 399, 336, 13410, 2940, 13, 13, 13, 1990, 360, 29903, 3195, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 3579, 19290, 1125, 13, 470...
gym_env/gridworld/gridworld_env.py
dkkim93/gumbel-rl-gridworld
4
124548
<reponame>dkkim93/gumbel-rl-gridworld import gym import numpy as np from gym import spaces class GridworldEnv(gym.Env): def __init__(self, row, col, n_action): super(GridworldEnv, self).__init__() self.row = row self.col = col self.target_loc = np.array([1, 0], dtype=np.uint16) ...
[ 1, 529, 276, 1112, 420, 29958, 29881, 6859, 326, 29929, 29941, 29914, 29887, 3774, 295, 29899, 2096, 29899, 7720, 11526, 13, 5215, 330, 962, 13, 5215, 12655, 408, 7442, 13, 3166, 330, 962, 1053, 8162, 13, 13, 13, 1990, 11657, 11526, 2...
chapter2/wok/develop/examples/multiport/sum.py
chris-zen/phd-thesis
1
30523
<reponame>chris-zen/phd-thesis<filename>chapter2/wok/develop/examples/multiport/sum.py<gh_stars>1-10 from wok.task import task @task.main() def main(): values, count_port, sum_port = task.ports("x", "count", "sum") count = 0 sum = 0 for v in values: task.logger.info("value = {0}".format(v)) count += 1 sum ...
[ 1, 529, 276, 1112, 420, 29958, 305, 3780, 29899, 2256, 29914, 561, 29881, 29899, 26533, 29966, 9507, 29958, 27349, 29906, 29914, 29893, 554, 29914, 4888, 29914, 19057, 29914, 9910, 637, 29914, 2083, 29889, 2272, 29966, 12443, 29918, 303, 15...
csv_to_weighted_digraph.py
weberdc/socmed_repeatability
2
107171
<reponame>weberdc/socmed_repeatability #!/usr/bin/env python3 from __future__ import print_function from argparse import ArgumentParser import csv import networkx as nx import ntpath # https://stackoverflow.com/a/8384788 import os import sys class Options: def __init__(self): self.usage = 'csv_to_weig...
[ 1, 529, 276, 1112, 420, 29958, 705, 495, 13891, 29914, 29879, 542, 2168, 29918, 14358, 3097, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 3166, 4770, 29888, 9130, 1649, 1053, 1596, 29918, 2220, 13, 3166, 1852, ...
test_utils/mocks.py
radomd92/botjagwar
7
10422
from xml.dom import minidom import pywikibot from api.decorator import time_this SiteMock = pywikibot.Site class PageMock(pywikibot.Page): def __init__(self, *args, **kwargs): super(PageMock, self).__init__(*args, **kwargs) self.filename = "test_data/test_pages_%s.xml" % self.site.lang ...
[ 1, 515, 4903, 29889, 3129, 1053, 1375, 333, 290, 13, 13, 5215, 11451, 2851, 747, 327, 13, 13, 3166, 7882, 29889, 19557, 1061, 1053, 931, 29918, 1366, 13, 13, 17033, 18680, 353, 11451, 2851, 747, 327, 29889, 17033, 13, 13, 13, 1990, ...
openhgnn/dataset/RecommendationDataset.py
zsy0828/OpenHGNN
0
193753
<reponame>zsy0828/OpenHGNN<filename>openhgnn/dataset/RecommendationDataset.py<gh_stars>0 import dgl import torch as th from . import BaseDataset, register_dataset from dgl.data.utils import load_graphs @register_dataset('recommendation') class RecommendationDataset(BaseDataset): """ """ def __init__(self...
[ 1, 529, 276, 1112, 420, 29958, 22381, 29891, 29900, 29947, 29906, 29947, 29914, 6585, 29950, 29954, 10262, 29966, 9507, 29958, 3150, 29882, 5138, 29876, 29914, 24713, 29914, 1123, 2055, 355, 362, 16390, 24541, 29889, 2272, 29966, 12443, 29918...
06/LaborSupplyModel.py
AskerNC/lectures-2021
9
50042
<filename>06/LaborSupplyModel.py import numpy as np from scipy import optimize def implied_tax(l,w,tau0,tau1,kappa): """ calculate implied tax of labor supply choice Args: l (float): labor supply w (float): wage tau0 (float): standard labor tax tau1 (float): top bracke...
[ 1, 529, 9507, 29958, 29900, 29953, 29914, 29931, 3717, 20182, 368, 3195, 29889, 2272, 13, 5215, 12655, 408, 7442, 13, 3166, 4560, 2272, 1053, 24656, 13, 13, 1753, 2411, 2957, 29918, 20725, 29898, 29880, 29892, 29893, 29892, 4722, 29900, 2...
tests/utils/test_in_memory_zip.py
goldworm-icon/gw-iconsdk
2
112694
# -*- coding: utf-8 -*- import os from icon.utils.in_memory_zip import InMemoryZip def test_in_memory_zip(): parent_path: str = os.path.dirname(__file__) path: str = os.path.join(parent_path, "data_to_zip") mem_zip = InMemoryZip() mem_zip.run(path) with open("data.zip", "wb") as f: f.w...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 5215, 2897, 13, 13, 3166, 9849, 29889, 13239, 29889, 262, 29918, 14834, 29918, 7554, 1053, 512, 16015, 26264, 13, 13, 13, 1753, 1243, 29918, 262, 2...
examplecms/urls.py
nacady/django-publish
0
108105
<filename>examplecms/urls.py<gh_stars>0 from django.conf.urls import include, url from django.conf import settings from django.contrib import admin from django.views import static urlpatterns = [ url('^admin/', include(admin.site.urls)), url(r'^media/(?P<path>.*)$', static.serve, {'document_root': settings.ME...
[ 1, 529, 9507, 29958, 4773, 29883, 1516, 29914, 26045, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 9557, 29889, 5527, 29889, 26045, 1053, 3160, 29892, 3142, 13, 3166, 9557, 29889, 5527, 1053, 6055, 13, 3166, 9557, ...
pyjswidgets/pyjamas/ui/GlassWidget.ie6.py
takipsizad/pyjs
739
123953
# Copyright 2006 <NAME> and contributors # Copyright (C) 2009 <NAME> <<EMAIL>> # Copyright (C) 2010 <NAME> <<EMAIL>> # Copyright (C) 2010 <NAME> (IE override) <<EMAIL>> # # 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...
[ 1, 396, 14187, 1266, 29871, 29906, 29900, 29900, 29953, 529, 5813, 29958, 322, 17737, 29560, 13, 29937, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29900, 29929, 529, 5813, 29958, 3532, 26862, 6227, 6778, 13, 29937, 14187, 1266, 31...
Python Data Structures/Problem Set 10.py
Karoline0097/University-of-Michigan-Python-for-Everybody
0
123925
## Problem 10.2 # write a program to read through the mbox-short.txt # and figure out the distribution by hour of the day for each of the messages. file_name = input("Enter file:") file_handle = open(file_name) hour_list = list() for line in file_handle: # pull the hour out from the 'From ' line # From <EMAIL...
[ 1, 444, 11583, 29871, 29896, 29900, 29889, 29906, 13, 29937, 2436, 263, 1824, 304, 1303, 1549, 278, 286, 1884, 29899, 12759, 29889, 3945, 13, 29937, 322, 4377, 714, 278, 4978, 491, 7234, 310, 278, 2462, 363, 1269, 310, 278, 7191, 29889,...
lab/hw03-part-i_nov14.py
jzacsh/neuralnets-cmp464
1
1741
<reponame>jzacsh/neuralnets-cmp464<gh_stars>1-10 """ <NAME> solution to homework #3, Nov 14., Part I """ # Per homework instructions, following lead from matlab example by professor: # http://comet.lehman.cuny.edu/schneider/Fall17/CMP464/Maple/PartialDerivatives1.pdf import sys import tensorflow as tf import tempfile...
[ 1, 529, 276, 1112, 420, 29958, 29926, 29920, 562, 845, 29914, 484, 3631, 1212, 29879, 29899, 21058, 29946, 29953, 29946, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 15945, 29908, 13, 29966, 5813, 29958, 1650, 304,...
application/src/database_manager/authenticate_user.py
eyardley/CSC648-SoftwareEngineering-Snapster
0
178106
<filename>application/src/database_manager/authenticate_user.py import bcrypt import base64 import hashlib import mysql.connector def authenticate_user(username, password_plain, db): user_authentication_query = ("SELECT user_id, username, password FROM user WHERE username=%s") # query the database for the rec...
[ 1, 529, 9507, 29958, 6214, 29914, 4351, 29914, 9803, 29918, 12847, 29914, 27218, 403, 29918, 1792, 29889, 2272, 13, 5215, 289, 29883, 4641, 13, 5215, 2967, 29953, 29946, 13, 5215, 6608, 1982, 13, 5215, 5749, 29889, 11958, 2801, 13, 13, ...
helpers/db_helper.py
funsojoba/davent
0
1602155
import uuid from django.db import models def generate_id(): return uuid.uuid4().hex class BaseAbstractModel(models.Model): id = models.CharField( primary_key=True, editable=False, default=generate_id, max_length=70 ) created_at = models.DateTimeField(auto_now_add=True) updated_at = model...
[ 1, 1053, 318, 5416, 13, 3166, 9557, 29889, 2585, 1053, 4733, 13, 13, 13, 1753, 5706, 29918, 333, 7295, 13, 1678, 736, 318, 5416, 29889, 25118, 29946, 2141, 20970, 13, 13, 13, 1990, 7399, 9118, 3195, 29898, 9794, 29889, 3195, 1125, 13,...
imlib/imglog.py
sungcheolkim78/py_imlib
0
62170
""" imgLog.py - experimental log for imgFolder initial: 2019-10-04 """ import os import pandas as pd if ('np' not in dir()): import numpy as np from imlib.imgfolder import ImgFolder __author__ = '<NAME> <<EMAIL>>' __version__ = '1.0.0' class ImgLog(ImgFolder): """ imgFolder for channel experiment images """ ...
[ 1, 9995, 13, 2492, 3403, 29889, 2272, 448, 17986, 1480, 363, 10153, 12924, 13, 13, 11228, 29901, 29871, 29906, 29900, 29896, 29929, 29899, 29896, 29900, 29899, 29900, 29946, 13, 15945, 29908, 13, 13, 5215, 2897, 13, 5215, 11701, 408, 1051...
examples/wagsley/wagsley/urls.py
Blogsley/blogsley
0
20809
from django.conf import settings from django.urls import include, path, re_path from django.contrib import admin from ariadne_django.views import GraphQLView from wagtail.admin import urls as wagtailadmin_urls from wagtail.core import urls as wagtail_urls from wagtail.documents import urls as wagtaildocs_urls from p...
[ 1, 515, 9557, 29889, 5527, 1053, 6055, 13, 3166, 9557, 29889, 26045, 1053, 3160, 29892, 2224, 29892, 337, 29918, 2084, 13, 3166, 9557, 29889, 21570, 1053, 4113, 13, 13, 3166, 263, 374, 328, 484, 29918, 14095, 29889, 7406, 1053, 12367, 2...
fdbk/data_tools/functions/__init__.py
kangasta/fdbk
1
112410
from ._chart_funcs import * from ._collection_funcs import * from ._status_funcs import * from ._value_funcs import * # pylint: disable=invalid-name functions = {**CHART_FUNCS, **COLLECTION_FUNCS, **STATUS_FUNCS, **VALUE_FUNCS}
[ 1, 515, 869, 29918, 15425, 29918, 7692, 2395, 1053, 334, 13, 3166, 869, 29918, 10855, 29918, 7692, 2395, 1053, 334, 13, 3166, 869, 29918, 4882, 29918, 7692, 2395, 1053, 334, 13, 3166, 869, 29918, 1767, 29918, 7692, 2395, 1053, 334, 13, ...
PlatformIndependence/gen_sse_impl.py
ZJUCVG/EIBA
86
109134
<reponame>ZJUCVG/EIBA #!/usr/bin/python import clang.cindex import re import subprocess intrinsic_types = {'__m64', '__m128', '__m128i', '__m128d'} pointer_arg_matcher = re.compile(r'.*(__m64|__m128|__m128i|__m128d).*\*.*') non_pointer_arg_matcher = re.compile(r'.*(__m64|__m128|__m128i|__m128d).*') header = "//Do not...
[ 1, 529, 276, 1112, 420, 29958, 29999, 29967, 29965, 15633, 29954, 29914, 29923, 29902, 5688, 13, 29937, 14708, 4855, 29914, 2109, 29914, 4691, 13, 13, 5215, 1067, 574, 29889, 29883, 2248, 13, 5215, 337, 13, 5215, 1014, 5014, 13, 13, 262...
server/apps/api/notice/migrations/0003_alter_event_priority.py
NikitaGrishchenko/csp-tender-hack-server
0
20795
# Generated by Django 3.2.9 on 2021-11-27 12:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('notice', '0002_auto_20211127_0236'), ] operations = [ migrations.AlterField( model_name='event', name='priority', ...
[ 1, 396, 3251, 630, 491, 15337, 29871, 29941, 29889, 29906, 29889, 29929, 373, 29871, 29906, 29900, 29906, 29896, 29899, 29896, 29896, 29899, 29906, 29955, 29871, 29896, 29906, 29901, 29906, 29896, 13, 13, 3166, 9557, 29889, 2585, 1053, 9725, ...
lsh/utils/strings_utils.py
singhj/locality-sensitive-hashing
19
185013
import re import string DEFAULT_TOKENIZER_DELIMITER = ' ' def remove_all_whitespace(str): """ Strips all whitespace from a given string. :return: new string without whitespaces, will return the original string if it is empty or None """ if str: return re.sub(r'\s+', '', str) el...
[ 1, 1053, 337, 13, 5215, 1347, 13, 13, 23397, 29918, 4986, 29968, 1430, 26664, 1001, 29918, 2287, 5265, 26349, 1001, 353, 525, 525, 13, 13, 1753, 3349, 29918, 497, 29918, 1332, 3246, 3535, 29898, 710, 1125, 13, 1678, 9995, 13, 4706, 62...
LPP/lmsff/lms_app/migrations/0002_auto_20180912_0920.py
teamdiniz/Projeto-devops-lms
0
189852
# Generated by Django 2.0.6 on 2018-09-12 12:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('lms_app', '0001_initial'), ] operations = [ migrations.RenameField( model_name='disciplina', old_name='nomedd'...
[ 1, 396, 3251, 630, 491, 15337, 29871, 29906, 29889, 29900, 29889, 29953, 373, 29871, 29906, 29900, 29896, 29947, 29899, 29900, 29929, 29899, 29896, 29906, 29871, 29896, 29906, 29901, 29906, 29900, 30004, 13, 30004, 13, 3166, 9557, 29889, 2585...
Python3/专利检索爬虫/solvecsvFUCKED.py
BillChen2K/LearningRepo
11
154745
from lxml import etree import lxml import pickle with open('/Users/billchen/OneDrive/Workspace/LearningRepo/Python3/专利检索爬虫/20050101_20101231_B09B_PAGE1.pickle', 'rb') as f: source = '' p = pickle.load(f) html = etree.HTML(p)
[ 1, 515, 301, 3134, 1053, 634, 929, 13, 5215, 301, 3134, 13, 5215, 5839, 280, 13, 13, 2541, 1722, 11219, 5959, 29914, 29890, 453, 2724, 29914, 6716, 29928, 4401, 29914, 5531, 3493, 29914, 29931, 799, 1076, 5612, 29877, 29914, 11980, 2994...
load_model.py
zhfeing/cifar-10-test
0
27458
import keras import os def load_model(version, new_model, retrain=False, *args): """ :param version: model version :param new_model: method for call to get a new model e.g. my_ResNet.my_ResNet :param retrain: True: load new model :return: """ create_new_model = False # load model i...
[ 1, 1053, 13023, 294, 13, 5215, 2897, 13, 13, 13, 1753, 2254, 29918, 4299, 29898, 3259, 29892, 716, 29918, 4299, 29892, 337, 14968, 29922, 8824, 29892, 334, 5085, 1125, 13, 1678, 9995, 13, 1678, 584, 3207, 1873, 29901, 1904, 1873, 13, ...
sgcache/control.py
vfxetc/sgcache
13
8516
<gh_stars>10-100 from __future__ import absolute_import from select import select import errno import functools import itertools import json import logging import os import socket import threading import time import traceback log = logging.getLogger(__name__) from .utils import makedirs, unlink class TimeOut(Exce...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 3166, 4770, 29888, 9130, 1649, 1053, 8380, 29918, 5215, 13, 13, 3166, 1831, 1053, 1831, 13, 5215, 4589, 1217, 13, 5215, 2090, 312, 8789, 13, 5215, 425...
scripts/run_shard.py
spmckenney/Devv-Core
0
59865
<filename>scripts/run_shard.py<gh_stars>0 #!/usr/bin/python3 ''' Usage: ./run_shard.py config_file output_dir Example: ./run_shard.py ../../my_config.txt /tmp/output Creates an X node shard on localhost. Each node will read the config file for default options. The nodes will be connected to each other and each wil...
[ 1, 529, 9507, 29958, 16713, 29914, 3389, 29918, 845, 538, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 4691, 29941, 13, 12008, 13, 27573, 29901, 13, 29871, 11431, 3389, 29918, 845, ...
object_detection/fine_tuning_utils/create_food_annotations.py
SirSykon/object_detection
0
82698
<reponame>SirSykon/object_detection<filename>object_detection/fine_tuning_utils/create_food_annotations.py import pandas as pd import os import cv2 import argparse import numpy as np from shutil import copyfile from xml.etree.ElementTree import Element, SubElement, Comment, tostring, parse, ElementTree def create_anno...
[ 1, 529, 276, 1112, 420, 29958, 29903, 381, 29903, 29891, 8077, 29914, 3318, 29918, 29881, 2650, 428, 29966, 9507, 29958, 3318, 29918, 29881, 2650, 428, 29914, 29888, 457, 29918, 29873, 27964, 29918, 13239, 29914, 3258, 29918, 1181, 397, 299...
Extensions/Event-Handler.py
Drageast/Die_Botin
0
168762
# Import from discord.ext import commands import discord import asyncio # Utils import Utils # Cog Initialising class EventHandler(commands.Cog): def __init__(self, client): self.client = client @commands.Cog.listener() async def on_member_remove(self, user: discord.Member): try: ...
[ 1, 396, 16032, 13, 3166, 2313, 536, 29889, 1062, 1053, 8260, 13, 5215, 2313, 536, 13, 5215, 408, 948, 3934, 13, 13, 29937, 22310, 29879, 13, 5215, 22310, 29879, 13, 13, 13, 29937, 315, 468, 17250, 5921, 13, 13, 13, 1990, 6864, 4598,...
config.py
R4MS0T/PYREZ
9
150645
<filename>config.py #!/usr/bin/env python # -*- coding: utf-8 -*- import os from app.utils import ( get_env, to_bool, ) from app.utils.num import ( random_func, ) app_dir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SQLALCHEMY_DATABASE_URI = get_env('DATABASE_URL', default=f'sqlite:///...
[ 1, 529, 9507, 29958, 2917, 29889, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 5215, 2897, 13, 13, 3166, 623, 29889, 13239, 1053,...
artigoRITA/techniques.py
Hadamanthis/Mestrado
1
88286
<gh_stars>1-10 import cv2 import numpy as np from convolution import conv2D def s(x, T): if (x > T): return 1 else: return 0 ''' Uma função que aplica LBP 3x3 ''' def LBP(img): # Kernel de pesos padrão 3x3 kernel = np.array([[1, 2, 4], [8, 0, 16], [32, 64, 128]]) outputs = [] # Percorrendo a imagem for...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 13850, 29906, 13, 5215, 12655, 408, 7442, 13, 3166, 26851, 1053, 7602, 29906, 29928, 13, 13, 1753, 269, 29898, 29916, 29892, 323, 1125, 13, 12, 361, 313, 2991...
tests/fixtures.py
junteudjio/runtimedocs
2
69273
import pytest from .context import mock, builtin_str @pytest.fixture(scope='function') def func(): def dummy(*agrs, **kwargs): pass f = mock.create_autospec(spec=dummy, name='fixture_function_to_decorate') return f @pytest.fixture(scope='function', autouse=True) @mock.patch('{builtin}.open'.forma...
[ 1, 1053, 11451, 1688, 13, 13, 3166, 869, 4703, 1053, 11187, 29892, 4240, 262, 29918, 710, 13, 13, 29992, 2272, 1688, 29889, 7241, 15546, 29898, 6078, 2433, 2220, 1495, 13, 1753, 3653, 7295, 13, 1678, 822, 20254, 10456, 351, 2288, 29892,...
src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_arg0_is_emptyString.py
Leo-Enrique-Wu/chocopy_compiler_code_generation
0
109926
print("" + "1234") print("Hello" + "World")
[ 1, 1596, 703, 29908, 718, 376, 29896, 29906, 29941, 29946, 1159, 13, 2158, 703, 10994, 29908, 718, 376, 14058, 1159, 2 ]
comments/admin.py
KingAnduin/fitness
0
140956
<filename>comments/admin.py from django.contrib import admin from comments.models import CommentsInfo class CommentAdmin(admin.ModelAdmin): list_display = ('comment_content', 'comment_create_time', 'order') admin.site.register(CommentsInfo, CommentAdmin)
[ 1, 529, 9507, 29958, 21032, 29914, 6406, 29889, 2272, 13, 3166, 9557, 29889, 21570, 1053, 4113, 13, 3166, 6589, 29889, 9794, 1053, 461, 29879, 3401, 13, 13, 13, 1990, 461, 12754, 29898, 6406, 29889, 3195, 12754, 1125, 13, 1678, 1051, 29...
experiment_utils/utils/jupyter_utils.py
ayasyrev/experiment_utils
0
135581
from pathlib import Path, PosixPath from typing import List, Union from hydra import compose, initialize_config_dir from omegaconf import DictConfig from experiment_utils import __path__ as experiment_utils_path experiment_utils_path = experiment_utils_path[0] def initialize_config(overrides: List[str] = [], ...
[ 1, 515, 2224, 1982, 1053, 10802, 29892, 10321, 861, 2605, 13, 3166, 19229, 1053, 2391, 29892, 7761, 13, 13, 3166, 27246, 336, 1053, 27435, 29892, 11905, 29918, 2917, 29918, 3972, 13, 3166, 2703, 2442, 5527, 1053, 360, 919, 3991, 13, 13,...
racoon/view/error/custom.py
onukura/Racoon
3
31274
# -*- coding: utf-8 -*- from flask import Blueprint, render_template bp_error = Blueprint("bp_error", __name__, url_prefix="/error") # Specific Error Handlers @bp_error.route("/default") def default(): return render_template( "error/error_base.html", error_code=500, header_n...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 30004, 13, 3166, 29784, 1053, 10924, 2158, 29892, 4050, 29918, 6886, 30004, 13, 30004, 13, 30004, 13, 25288, 29918, 2704, 353, 10924, 2158, 703, 25288, 29918, ...
app/admin/views.py
jiejiang/inventory
1
178508
<gh_stars>1-10 # -*- coding: utf-8 -*- __author__ = 'jie' import os, zipfile import pandas as pd from markupsafe import Markup from flask import redirect, url_for, flash, current_app from flask_admin.contrib import sqla from flask_admin.menu import MenuLink from flask_admin.model.form import InlineFormAdmin from sqla...
[ 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, 13, 1649, 8921, 1649, 353, 525, 29926, 347, 29915, 13, 13, 5215, 2897, 29892, 1431...
masters/droidapiminer_timeline.py
markansn/masters_project
0
132242
<filename>masters/droidapiminer_timeline.py<gh_stars>0 import datetime import sys from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import StratifiedKFold sys.path.append("..") from sklearn.svm import LinearSVC from sklearn import metrics as sklearn_metrics from sklearn.feature_extracti...
[ 1, 529, 9507, 29958, 6207, 29879, 29914, 29881, 1007, 481, 326, 4983, 29918, 9346, 5570, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 12865, 13, 5215, 10876, 13, 13, 3166, 2071, 19668, 29889, 24031, 1053, 16968, 28...
custom_components/bhyve/util.py
allistermaguire/bhyve-home-assistant
0
124537
<reponame>allistermaguire/bhyve-home-assistant import hashlib from homeassistant.util import dt def orbit_time_to_local_time(timestamp: str): if timestamp is not None: return dt.as_local(dt.parse_datetime(timestamp)) return None def anonymize(device): device["address"] = "REDACTED" device["f...
[ 1, 529, 276, 1112, 420, 29958, 497, 1531, 29885, 10617, 533, 29914, 29890, 5819, 345, 29899, 5184, 29899, 465, 22137, 13, 5215, 6608, 1982, 13, 3166, 3271, 465, 22137, 29889, 4422, 1053, 11636, 13, 13, 13, 1753, 16980, 29918, 2230, 2991...
elastalert/alerts.py
dekhrekh/elastalert
0
1472
<filename>elastalert/alerts.py<gh_stars>0 # -*- coding: utf-8 -*- import copy import datetime import json import logging import subprocess import sys import warnings from email.mime.text import MIMEText from email.utils import formatdate from smtplib import SMTP from smtplib import SMTP_SSL from smtplib import SMTPAuth...
[ 1, 529, 9507, 29958, 295, 579, 12888, 29914, 12888, 29879, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 5215, 3509, 13, 5215, 12865, 13, ...
generator_configuration.py
mariaangelapellegrino/virtual_assistant_generator
2
28863
from nltk.corpus import wordnet as wn import json from pyinflect import getAllInflections, getInflection import re import inflect import urllib.parse from SPARQLWrapper import SPARQLWrapper, JSON from urllib.parse import quote from py_thesaurus import Thesaurus import sys, getopt WN_NOUN = 'n' WN_VERB = 'v' WN_ADJECTI...
[ 1, 515, 302, 1896, 29895, 29889, 2616, 13364, 1053, 1734, 1212, 408, 281, 29876, 13, 5215, 4390, 13, 3166, 11451, 7192, 781, 1053, 679, 3596, 25433, 5942, 29892, 679, 25433, 1464, 13, 5215, 337, 13, 5215, 3041, 781, 13, 5215, 3142, 19...
tests/test_library.py
dsecca/FotoFriend_LanguageBinding
0
150335
import pytest import fotofriend import urllib.request import os class TestLibrary: def test_login(self): links = fotofriend.login("fotofriendtest") assert links == { 'Links': ['https://s3-us-west-2.amazonaws.com/foto-friend/5a1848632bc46432713be66d/dog.jpg'] } @pytest.mark.dependency() def...
[ 1, 1053, 11451, 1688, 13, 5215, 10105, 974, 374, 355, 13, 5215, 3142, 1982, 29889, 3827, 13, 5215, 2897, 13, 13, 1990, 4321, 12284, 29901, 13, 1678, 822, 1243, 29918, 7507, 29898, 1311, 1125, 13, 4706, 2988, 353, 10105, 974, 374, 355,...
colornumber.py
kkdp13/testforbot
0
197499
# colorcodingfor rows(...) def colornumber(color): if color == 'd': return 0 elif color == 'e': return 1 elif color == 'f': return 2 elif color == 'g': return 3 elif color == 'h': return 4 elif color == 'i': return 5 elif color ==...
[ 1, 396, 2927, 29883, 3689, 1454, 4206, 19327, 8443, 13, 1753, 784, 1398, 2807, 29898, 2780, 1125, 30004, 13, 1678, 565, 2927, 1275, 525, 29881, 2396, 30004, 13, 4706, 736, 29871, 29900, 30004, 13, 1678, 25342, 2927, 1275, 525, 29872, 23...
pyppi/base/constants.py
Aniket-Pradhan/pyPPI
7
1609726
<gh_stars>1-10 """Definitions of some commonly used variables throughout the application.""" __all__ = [ 'P1', 'P2', 'G1', 'G2', 'SOURCE', 'TARGET', 'LABEL', 'PUBMED', 'EXPERIMENT_TYPE', 'NULL_VALUES', ] import numpy as np P1 = 'protein_a' P2 = 'protein_b' G1 = 'gene_a' G2 = 'gene_b' SOURCE = 'source' T...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 15945, 29908, 3206, 262, 2187, 310, 777, 15574, 1304, 3651, 10106, 278, 2280, 1213, 15945, 13, 13, 1649, 497, 1649, 353, 518, 13, 1678, 525, 29925, 29896, 742, 525,...
custom_components/xiaomi_cloud_map_extractor/vacuum_manager.py
elad-bar/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor
0
29139
import io import logging import time from typing import List, Optional from custom_components.xiaomi_cloud_map_extractor.common.map_data import MapData from custom_components.xiaomi_cloud_map_extractor.types import Colors, Drawables, ImageConfig, Sizes, Texts try: from miio import RoborockVacuum, DeviceException ...
[ 1, 1053, 12013, 13, 5215, 12183, 13, 5215, 931, 13, 3166, 19229, 1053, 2391, 29892, 28379, 13, 13, 3166, 2888, 29918, 14036, 29889, 29916, 423, 21019, 29918, 9274, 29918, 1958, 29918, 21111, 272, 29889, 9435, 29889, 1958, 29918, 1272, 105...
docs/stats_explainer.py
msdslab/ASReview-vizualisation
1
78189
"""Create example plot with different metrics. Example ------- python docs/stats_explainer.py """ import matplotlib.pyplot as plt import numpy as np from asreviewcontrib.insights.plot import _fix_start_tick # The recall at a given number of documents read is the fraction of the # relevant records found at that mo...
[ 1, 9995, 4391, 1342, 6492, 411, 1422, 21556, 29889, 13, 13, 14023, 13, 26589, 13, 13, 4691, 10561, 29914, 16202, 29918, 4548, 433, 4983, 29889, 2272, 13, 15945, 29908, 13, 13, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, ...
bucket/models.py
passuf/blackhole
0
166731
<filename>bucket/models.py import json import uuid import traceback from picklefield.fields import PickledObjectField from django.db import models from django.utils.translation import ugettext_lazy as _ from django.conf import settings class Bucket(models.Model): id = models.UUIDField(primary_key=True, default=u...
[ 1, 529, 9507, 29958, 21454, 29914, 9794, 29889, 2272, 13, 5215, 4390, 13, 5215, 318, 5416, 13, 5215, 9637, 1627, 13, 3166, 5839, 280, 2671, 29889, 9621, 1053, 23868, 839, 2061, 3073, 13, 13, 3166, 9557, 29889, 2585, 1053, 4733, 13, 31...
invoice/tests.py
Chris7/django-invoice
139
60020
<reponame>Chris7/django-invoice<filename>invoice/tests.py import datetime from django.test import TestCase from django.contrib.auth.models import User from addressbook.models import Address, Country from .models import Invoice class InvoiceTestCase(TestCase): def setUp(self): usr = User.objects.create(u...
[ 1, 529, 276, 1112, 420, 29958, 11626, 275, 29955, 29914, 14095, 29899, 262, 14917, 29966, 9507, 29958, 262, 14917, 29914, 21150, 29889, 2272, 13, 5215, 12865, 13, 13, 3166, 9557, 29889, 1688, 1053, 4321, 8259, 13, 3166, 9557, 29889, 21570...
mednorm/datasets/base.py
mbelousov/MedNorm-corpus
11
1607213
import os import pandas as pd class DatasetConverter(object): def __init__(self, dataset_path, dataset_name=None): self.dataset_path = dataset_path if dataset_name is None: self.dataset_name = os.path.basename(dataset_path).upper() else: self.dataset_name = dataset...
[ 1, 1053, 2897, 13, 13, 5215, 11701, 408, 10518, 13, 13, 13, 1990, 13373, 24541, 18545, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 8783, 29918, 2084, 29892, 8783, 29918, 978, 29922, 8516, 1125, 13, 4706, 1583, 2988...
pyfitnesspal/settings.py
gord1anknot/pyfitnesspal
2
147540
<reponame>gord1anknot/pyfitnesspal # Copyright 2015 <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 applicable ...
[ 1, 529, 276, 1112, 420, 29958, 29887, 536, 29896, 804, 1333, 29914, 2272, 9202, 2264, 7830, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29896, 29945, 529, 5813, 29958, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 1...
pymtl3/passes/rtlir/behavioral/test/BehavioralRTLIRL4Pass_test.py
hsqforfun/pymtl3
1
24323
<filename>pymtl3/passes/rtlir/behavioral/test/BehavioralRTLIRL4Pass_test.py #========================================================================= # BehavioralRTLIRL4Pass_test.py #========================================================================= # Author : <NAME> # Date : Feb 2, 2019 """Test the level 4 b...
[ 1, 529, 9507, 29958, 29886, 962, 15206, 29941, 29914, 3364, 267, 29914, 2273, 29880, 381, 29914, 915, 16300, 284, 29914, 1688, 29914, 28100, 284, 13079, 5265, 2241, 29946, 7129, 29918, 1688, 29889, 2272, 13, 29937, 9166, 9166, 9166, 9166, ...
myblog/apps.py
HaibaraAi123/DjangoBlog-chenfeng123.cn
1
161007
from django.apps import AppConfig class Newapp1Config(AppConfig): name = 'myblog'
[ 1, 515, 9557, 29889, 13371, 1053, 2401, 3991, 13, 13, 13, 1990, 1570, 932, 29896, 3991, 29898, 2052, 3991, 1125, 13, 1678, 1024, 353, 525, 1357, 7312, 29915, 13, 2 ]
odoo/custom/src/private/nxpo_budget_revision_monitoring_project/report/budget_monitor_revision_report.py
Saran440/nxpo
0
28140
<reponame>Saran440/nxpo<filename>odoo/custom/src/private/nxpo_budget_revision_monitoring_project/report/budget_monitor_revision_report.py # Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models class BudgetMonitorRevisi...
[ 1, 529, 276, 1112, 420, 29958, 29903, 23029, 29946, 29946, 29900, 29914, 23818, 1129, 29966, 9507, 29958, 397, 3634, 29914, 6341, 29914, 4351, 29914, 9053, 29914, 23818, 1129, 29918, 15841, 657, 29918, 276, 4924, 29918, 3712, 2105, 292, 299...
hyperaxis.py
wngu6/tourpy
0
1612338
""" A visual class containing multiple axes. """ import numpy as np from vispy.visuals import CompoundVisual, LineVisual, TextVisual class HyperAxisVisual(CompoundVisual): def __init__(self, pos, color="black", labels=None): self.pos = np.zeros((pos.shape[0]*2, 3)) for i in range(pos.shape[0]): ...
[ 1, 9995, 13, 29909, 7604, 770, 6943, 2999, 27815, 29889, 13, 15945, 29908, 13, 13, 5215, 12655, 408, 7442, 13, 3166, 1998, 2272, 29889, 20119, 29879, 1053, 3831, 618, 16227, 29892, 7407, 16227, 29892, 3992, 16227, 13, 13, 1990, 26078, 1...
example.py
wesselb/gparolmm
1
151177
<filename>example.py from collections import namedtuple import numpy as np import lab as B import matplotlib.pyplot as plt import torch import wbml.out import wbml.plot from gpar import GPARRegressor from matrix import Dense from varz import parametrised, Unbounded, Positive from varz.torch import minimise_l_bfgs_b ...
[ 1, 529, 9507, 29958, 4773, 29889, 2272, 13, 3166, 16250, 1053, 4257, 23583, 13, 13, 5215, 12655, 408, 7442, 13, 5215, 9775, 408, 350, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 5215, 4842, 305, 13, 5215, 281, 29890, 828, 2988...
001-100/10/10-sieve.py
junwei-wang/project-euler
0
157292
<filename>001-100/10/10-sieve.py #!/usr/bin/env python # -*- coding: utf-8 -*- from math import sqrt, ceil num = 2000000 sevie = [True] * num # 0, 1, 2, 3, ..., 1999999 sevie[0] = False sevie[1] = False for i in range(3, num): if i & 1 == 0: sevie[i] = False # a number has at most one factor than its squ...
[ 1, 529, 9507, 29958, 29900, 29900, 29896, 29899, 29896, 29900, 29900, 29914, 29896, 29900, 29914, 29896, 29900, 29899, 29879, 2418, 29889, 2272, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 2990...
PythonAPI/carissma_project/lib/python3.5/site-packages/pandas/util/_doctools.py
AbdulHoffmann/carla_carissma
6,989
135472
import numpy as np import pandas.compat as compat import pandas as pd class TablePlotter(object): """ Layout some DataFrames in vertical/horizontal layout for explanation. Used in merging.rst """ def __init__(self, cell_width=0.37, cell_height=0.25, font_size=7.5): self.cell_width = cel...
[ 1, 1053, 12655, 408, 7442, 13, 13, 5215, 11701, 29889, 12667, 408, 10007, 13, 13, 5215, 11701, 408, 10518, 13, 13, 13, 1990, 6137, 20867, 357, 29898, 3318, 1125, 13, 1678, 9995, 13, 1678, 20259, 777, 3630, 14438, 1280, 297, 11408, 299...
squarespiral.py
lstoomet/peeterscript
0
31080
#!/usr/bin/env python3 import turtle t = turtle.Pen() for x in range(400): t.forward(x) t.left(90) input("press enter to exit")
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 5215, 260, 4227, 280, 13, 29873, 353, 260, 4227, 280, 29889, 29925, 264, 580, 13, 1454, 921, 297, 3464, 29898, 29946, 29900, 29900, 1125, 13, 1678, 260, 29889, 11333, 29898, 299...
plots/plotsV2.py
hoseinkh/Distributed-Optimization-for-Coupled-Market
1
1617409
# # import seaborn as sns import pandas as pd import matplotlib.pyplot as plt # plt.interactive(False) plt.interactive(True) # # Reading from text file # # df = pd.read_csv('Results.csv') # print(df.head(10)) # sns.set_style("whitegrid") # fig1 = sns.barplot(x = 'list_k', y = 'list_T_r1_to_r2_updated', data = df) # fig...
[ 1, 396, 13, 29937, 13, 5215, 409, 370, 1398, 408, 269, 1983, 13, 5215, 11701, 408, 10518, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 29937, 14770, 29889, 1639, 4925, 29898, 8824, 29897, 13, 572, 29873, 29889, 1639, 4925, 29898,...
tests/security/test_security_multistream.py
g-r-a-n-t/py-libp2p
315
189909
<reponame>g-r-a-n-t/py-libp2p import pytest from libp2p.crypto.rsa import create_new_key_pair from libp2p.security.insecure.transport import PLAINTEXT_PROTOCOL_ID, InsecureSession from libp2p.security.noise.transport import PROTOCOL_ID as NOISE_PROTOCOL_ID from libp2p.security.secio.transport import ID as SECIO_PROTOC...
[ 1, 529, 276, 1112, 420, 29958, 29887, 29899, 29878, 29899, 29874, 29899, 29876, 29899, 29873, 29914, 2272, 29899, 1982, 29886, 29906, 29886, 13, 5215, 11451, 1688, 13, 13, 3166, 4303, 29886, 29906, 29886, 29889, 29883, 17929, 29889, 2288, 2...
sample_hpc_scripts/sac.py
yjl450/spinningup-drl-prototyping
0
199274
from spinup.utils.run_utils import ExperimentGrid from spinup.algos.sac_pytorch.sac_multistep_student import sac_multistep as function_to_run ## here make sure you import correct function import time """ always first change the experiment name first change it to a name that makes sense to your experiment, and make s...
[ 1, 515, 10917, 786, 29889, 13239, 29889, 3389, 29918, 13239, 1053, 1222, 15362, 5756, 13, 3166, 10917, 786, 29889, 9564, 359, 29889, 29879, 562, 29918, 2272, 7345, 305, 29889, 29879, 562, 29918, 4713, 2488, 29886, 29918, 18945, 1053, 7067, ...
GRABCONCTF 2021/PWN/pwn2/pwn2_solve.py
yl-ang/CTF
0
68441
<gh_stars>0 from pwn import * r = remote('192.168.127.12', 1337) r.recvuntil('eat some ') stack_add = int(r.recvuntil('!\n', drop = True).decode(),16) payload = b'' # shellcraft.sh() is shell code, asm() compiles your shellcode and provides its binary string payload += asm(shellcraft.sh()) # print(shellcraft.sh...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 282, 1233, 1053, 334, 13, 13, 13, 13, 29878, 353, 7592, 877, 29896, 29929, 29906, 29889, 29896, 29953, 29947, 29889, 29896, 29906, 29955, 29889, 29896, 29906, 742, 29871, 29896, 299...
1.Study/2. with computer/4.Programming/2.Python/8. Python_intermediate/p_chapter04_02.py
jskim0406/Study
0
118034
# chapter 04-02 # 시퀀스 형 # 파이썬의 자료구조 형태 : 컨테이너형 / 플랫 또는 가변형 / 불변형 # 자료형 1. 컨테이너(Container) : 서로 다른 자료형을 담을 수 있음 (리스트, 튜플, collections.deque) # 컨테이너 ex) a = [3, 3.0, 'a', [1,2]] # 자료형 2. 플랫(Flat) : 한 개의 자료형을 담을 수 있음 (str, bytes, bytearray, array.array, memoryview) # 자료형 1. 가변 : 리스트, bytearray, array.array, memoryview,...
[ 1, 396, 16385, 29871, 29900, 29946, 29899, 29900, 29906, 13, 29937, 29871, 30889, 240, 131, 131, 30784, 29871, 240, 155, 152, 13, 13, 29937, 29871, 240, 143, 143, 30393, 239, 144, 175, 30708, 29871, 31013, 238, 166, 143, 31231, 31408, 2...
python-objects_statements_and_data_structures-practice-master/even_in_range.py
valcal/python_practice
0
38837
<reponame>valcal/python_practice """ EVEN IN RANGE: Use range() to print all the even numbers from 0 to 10. """ for number in range(11): if number % 2 == 0: if number == 0: continue print(number)
[ 1, 529, 276, 1112, 420, 29958, 791, 1052, 29914, 4691, 29918, 29886, 1461, 625, 13, 15945, 29908, 13, 22240, 1430, 2672, 390, 24336, 29901, 4803, 3464, 580, 304, 1596, 599, 278, 1584, 3694, 515, 29871, 29900, 304, 29871, 29896, 29900, 2...
tf3d/utils/projections_test.py
deepneuralmachine/google-research
23,901
44671
<reponame>deepneuralmachine/google-research # coding=utf-8 # Copyright 2021 The Google Research 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...
[ 1, 529, 276, 1112, 420, 29958, 24535, 484, 3631, 23523, 29914, 3608, 29899, 690, 2842, 13, 29937, 14137, 29922, 9420, 29899, 29947, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29906, 29896, 450, 5087, 10550, 13189, 943, 29889, 13, 29937, ...
py/sam3x8e/tester.py
segrids/arduino_due
3
146028
<reponame>segrids/arduino_due<filename>py/sam3x8e/tester.py """ MIT License Copyright (c) 2021 by <NAME> <<EMAIL>> 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 w...
[ 1, 529, 276, 1112, 420, 29958, 344, 629, 4841, 29914, 538, 29884, 1789, 29918, 29123, 29966, 9507, 29958, 2272, 29914, 13445, 29941, 29916, 29947, 29872, 29914, 1688, 261, 29889, 2272, 13, 15945, 29908, 341, 1806, 19245, 13, 13, 11882, 12...
GrowingNeuralGas.py
Kursula/GrowingNeuralGas
0
140760
""" This code implements the Growing Neural Gas algorithm that creates a graph that learns the topologies in the given input data. See e.g. followning documents references: https://papers.nips.cc/paper/893-a-growing-neural-gas-network-learns-topologies.pdf http://www.booru.net/download/MasterThesisProj.pdf """ fro...
[ 1, 9995, 13, 4013, 775, 10703, 278, 402, 798, 292, 2448, 3631, 19141, 5687, 393, 10017, 263, 3983, 29871, 13, 5747, 24298, 1983, 278, 2246, 11763, 297, 278, 2183, 1881, 848, 29889, 29871, 13, 13, 13393, 321, 29889, 29887, 29889, 1101, ...
setup.py
abeerupadhyay/py-redismutex
3
1610123
<reponame>abeerupadhyay/py-redismutex<filename>setup.py<gh_stars>1-10 import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as version: VERSION = version.read().strip() setup( name="redismutex", version=VERSION, description="Python implemen...
[ 1, 529, 276, 1112, 420, 29958, 4302, 261, 786, 328, 5819, 388, 29914, 2272, 29899, 1127, 1608, 329, 735, 29966, 9507, 29958, 14669, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 2897, 13, 3166, ...
zemberek/morphology/morphotactics/attribute_to_surface_cache.py
Loodos/zemberek-python
52
59686
from threading import Lock from typing import Dict, Set, Union from zemberek.core.turkish.phonetic_attribute import PhoneticAttribute class AttributeToSurfaceCache: def __init__(self): self.attribute_map: Dict[int, str] = {} self.lock = Lock() def add_surface(self, attributes: Set[PhoneticA...
[ 1, 515, 3244, 292, 1053, 18199, 13, 3166, 19229, 1053, 360, 919, 29892, 3789, 29892, 7761, 13, 13, 3166, 503, 1590, 20400, 29889, 3221, 29889, 29873, 29641, 728, 29889, 17607, 7492, 29918, 12715, 1053, 1963, 265, 7492, 6708, 13, 13, 13,...
main.py
zhuxinqimac/Ramiel
0
145447
<reponame>zhuxinqimac/Ramiel #!/usr/bin/python #-*- coding: utf-8 -*- # >.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>. # Licensed under the Apache License, Version 2.0 (the "License") # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # --- File Name: main.py # --- Creation Date: 07-09-2020 # --...
[ 1, 529, 276, 1112, 420, 29958, 17599, 1314, 262, 29939, 326, 562, 29914, 29934, 314, 709, 13, 29937, 14708, 4855, 29914, 2109, 29914, 4691, 13, 29937, 29899, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 2993...
Programming/simple_programming/fancy_count.py
NovusEdge/CTFLearn_Writeups
0
143721
from time import time def count_stuff(): flag = "" f = open("data.dat", "r"); data = f.read().split("\n") check_zeros = lambda x: x.count('0') % 3 == 0 check_ones = lambda x: x.count('1') % 2 == 0 checked_data = [ line for line in data if (check_ones(line) or check_zeros(line)) and line ] ...
[ 1, 515, 931, 1053, 931, 13, 13, 13, 1753, 2302, 29918, 303, 3096, 7295, 13, 1678, 7353, 353, 5124, 13, 1678, 285, 1678, 353, 1722, 703, 1272, 29889, 4130, 613, 376, 29878, 1496, 848, 353, 285, 29889, 949, 2141, 5451, 14182, 29876, 1...
example_dag.py
grecoe/apache-airflow-dag
0
156612
<filename>example_dag.py<gh_stars>0 # Copyright (c) Microsoft Corporation. All rights reserved. # # Licensed under Microsoft Incubation License Agreement: import os import logging from datetime import datetime, timedelta from dagcontext.airflowutil.varloader import AirflowVarialbeLoader from dagcontext.configurations...
[ 1, 529, 9507, 29958, 4773, 29918, 24157, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14187, 1266, 313, 29883, 29897, 7783, 15025, 29889, 2178, 10462, 21676, 29889, 13, 29937, 13, 29937, 10413, 21144, 1090, 7783, 92...
rasa/version.py
harada4atsushi/rasa
1
1607890
<filename>rasa/version.py<gh_stars>1-10 # this file will automatically be changed, # do not add anything but the version number here! __version__ = "1.10.0"
[ 1, 529, 9507, 29958, 3417, 29874, 29914, 3259, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 445, 934, 674, 6336, 367, 3939, 29892, 13, 29937, 437, 451, 788, 3099, 541, 278, 1873, 1353, 1244, ...
src/filetools/cli.py
ownport/filemeta
1
1600373
<filename>src/filetools/cli.py<gh_stars>1-10 import os import sys import logging import argparse from filetools import utils from filetools.cleaner import Cleaner from filetools.reporter import Reporter from filetools.scanner import Scanner from filetools.version import version FILETOOLS_USAGE = '''filetools <comma...
[ 1, 529, 9507, 29958, 4351, 29914, 1445, 8504, 29914, 11303, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 13, 5215, 2897, 13, 5215, 10876, 13, 5215, 12183, 13, 5215, 1852, 5510, 13, 13, 3166, 934, 8...
script/generate-matcher.py
BrianHicks/elm-grapheme
25
138658
#!/usr/bin/env python import argparse import json import os.path as path import sys parser = argparse.ArgumentParser() parser.add_argument('destination') args = parser.parse_args() classes = json.load(sys.stdin) module = args.destination[len('src/'):-len('.elm')].replace('/', '.') class_ = module.split('.')[-1] if ...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 5215, 1852, 5510, 13, 5215, 4390, 13, 5215, 2897, 29889, 2084, 408, 2224, 13, 5215, 10876, 13, 13, 16680, 353, 1852, 5510, 29889, 15730, 11726, 580, 13, 16680, 29889, 1202, 29918, 2351...
Sampling/gp/GPy_wrapper.py
josephhic/AutoDot
7
28001
import numpy as np import GPy from .GP_interface import GPInterface, convert_lengthscale, convert_2D_format class GPyWrapper(GPInterface): def __init__(self): # GPy settings GPy.plotting.change_plotting_library("matplotlib") # use matpoltlib for drawing super().__init__() self.cen...
[ 1, 1053, 12655, 408, 7442, 13, 13, 5215, 402, 19737, 13, 13, 3166, 869, 19903, 29918, 13248, 1053, 28258, 10448, 29892, 3588, 29918, 2848, 7052, 29892, 3588, 29918, 29906, 29928, 29918, 4830, 13, 13, 1990, 402, 19737, 15646, 29898, 19903,...
finalProject_nknySystem/Project/NKNUSystemBackend/Tests/WebSocketTest/ServerUnitTest.py
JE-Chen/je_old_repo
3
1604404
<reponame>JE-Chen/je_old_repo<gh_stars>1-10 import sys import time import unittest import JEWebSocket class TestServer(unittest.TestCase): def tearDown(self) -> None: pass def setUp(self) -> None: pass def testServer(self): websocket = JEWebSocket.WebsocketServe...
[ 1, 529, 276, 1112, 420, 29958, 29967, 29923, 29899, 1451, 264, 29914, 1324, 29918, 1025, 29918, 20095, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 10876, 30004, 13, 5215, 931, 30004, 13, 5215, 443, 27958, ...
mepserver/main.py
ATNoG/netedge-mep
0
199523
# Copyright 2022 Instituto de Telecomunicações - Aveiro # # 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, 396, 14187, 1266, 29871, 29906, 29900, 29906, 29906, 20314, 316, 9699, 510, 348, 983, 5616, 448, 319, 345, 3350, 13, 29937, 13, 29937, 10413, 21144, 1090, 278, 13380, 19245, 29892, 10079, 29871, 29906, 29889, 29900, 313, 1552, 376, 299...
tests/test_prepareDeploymentContainerDefinitionsStep.py
AdventielFr/ecs-crd-cli
1
20034
import pytest from unittest.mock import MagicMock import logging from ecs_crd.canaryReleaseInfos import CanaryReleaseInfos from ecs_crd.prepareDeploymentContainerDefinitionsStep import PrepareDeploymentContainerDefinitionsStep from ecs_crd.canaryReleaseInfos import ScaleInfos logger = logging.Logger('mock') infos = C...
[ 1, 1053, 11451, 1688, 13, 3166, 443, 27958, 29889, 17640, 1053, 26494, 18680, 13, 5215, 12183, 13, 13, 3166, 321, 2395, 29918, 29883, 5499, 29889, 3068, 653, 19729, 25433, 359, 1053, 1815, 653, 19729, 25433, 359, 13, 3166, 321, 2395, 29...
SOAPapi/conftest.py
altazur/PythonAutomationExamples
0
142562
<reponame>altazur/PythonAutomationExamples<filename>SOAPapi/conftest.py from CalculatorSOAP import Calculator import pytest @pytest.fixture def get_calculator(): calculator = Calculator() yield calculator def pytest_addoption(parser): parser.addoption('--SOAPver', default='1.1', help='SOAP version: 1 or 2...
[ 1, 529, 276, 1112, 420, 29958, 1997, 834, 332, 29914, 11980, 28451, 362, 1252, 9422, 29966, 9507, 29958, 6156, 3301, 2754, 29914, 535, 615, 342, 29889, 2272, 13, 3166, 20535, 1061, 6156, 3301, 1053, 20535, 1061, 13, 5215, 11451, 1688, 1...
geosolver/utils/run_utils.py
mhrmm/geosolver
83
53794
from geosolver.utils.prep import sentence_to_words_statements_values __author__ = 'minjoon' def test_prep(): paragraph = r"If \sqrt{x+5}=40.5, what is x+5?" print(sentence_to_words_statements_values(paragraph)) if __name__ == "__main__": test_prep()
[ 1, 515, 1737, 359, 324, 369, 29889, 13239, 29889, 15287, 1053, 10541, 29918, 517, 29918, 9303, 29918, 6112, 4110, 29918, 5975, 13, 13, 1649, 8921, 1649, 353, 525, 1195, 2212, 265, 29915, 13, 13, 1753, 1243, 29918, 15287, 7295, 13, 1678,...
plugin.video.rebirth/resources/lib/modules/libtools.py
TheWardoctor/wardoctors-repo
1
14868
# -*- coding: utf-8 -*- ################################################################################ # | # # | ______________________________________________________________ # # | :~8a.`~888a:::::::::::::::88......88:::::::::...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13383, 13383, 13383, 13383, 13383, 13, 29937, 891, 462, 462, 462, 462, 9651, 396, 13, 29937, 891, 268, 903, 27097, 27097, 27097, 14365, 7652, 29918, 308,...
rpython/jit/backend/arm/helper/assembler.py
kantai/passe-pypy-taint-tracking
2
148818
from __future__ import with_statement from rpython.jit.backend.arm import conditions as c from rpython.jit.backend.arm import registers as r from rpython.jit.backend.arm.codebuilder import AbstractARMv7Builder from rpython.jit.metainterp.history import ConstInt, BoxInt, FLOAT from rpython.rlib.rarithmetic import r_uint...
[ 1, 515, 4770, 29888, 9130, 1649, 1053, 411, 29918, 20788, 13, 3166, 364, 4691, 29889, 29926, 277, 29889, 27852, 29889, 2817, 1053, 5855, 408, 274, 13, 3166, 364, 4691, 29889, 29926, 277, 29889, 27852, 29889, 2817, 1053, 28975, 408, 364, ...
profiles_api/urls.py
arun65/profiles-rest-api
0
172231
<filename>profiles_api/urls.py<gh_stars>0 from django.urls import path, include from profiles_api import views from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register('hello-viewset', views.HelloViewSet, base_name='hello-viewset') # (url, class, basename) router.register('profile', vi...
[ 1, 529, 9507, 29958, 771, 5325, 29918, 2754, 29914, 26045, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 9557, 29889, 26045, 1053, 2224, 29892, 3160, 13, 3166, 28723, 29918, 2754, 1053, 8386, 13, 3166, 1791, 29918, ...
finance/cron.py
momantang/cobrass
1
149937
<gh_stars>1-10 # coding:utf8 import os import sys sys.path.insert(0, os.path.abspath('../')) import logging import pandas as pd from finance.models import Stock, CrontabAction, MarketSnapshot import datetime import pytdx import easyquotation from utils.timeutils import is_tradetime_now from local import local_settin...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 14137, 29901, 9420, 29947, 13, 5215, 2897, 13, 5215, 10876, 13, 13, 9675, 29889, 2084, 29889, 7851, 29898, 29900, 29892, 2897, 29889, 2084, 29889, 370, 1028, 4...
examples/snippets/dataset/manage/migrate_dataset_changes.py
ErinCompaan/tamr-toolbox
1
121511
""" An example script to migrate changes to a dataset attributes from one instance of Tamr to another """ import tamr_toolbox as tbox # load example multi config my_config = tbox.utils.config.from_yaml("examples/resources/conf/migrate_dataset.config.yaml") # Create the source tamr client source_client = tbox.utils.cl...
[ 1, 9995, 13, 2744, 1342, 2471, 304, 9725, 403, 3620, 304, 263, 8783, 8393, 515, 697, 2777, 310, 16939, 29878, 304, 1790, 13, 15945, 29908, 13, 5215, 21308, 29878, 29918, 10154, 1884, 408, 260, 1884, 13, 13, 29937, 2254, 1342, 2473, 22...
code/debugging-example-pleistocene-overkill.py
Vegpathology/phyto-data-viz
60
105199
<reponame>Vegpathology/phyto-data-viz import numpy as np def mean_mass(masses): """Return the mean of a list of masses""" mean_mass = np.mean(masses) return mean_mass all_data = np.genfromtxt('MOMv3.3.txt', delimiter='\t', dtype=None, names=['continent', 'status', 'order', 'famil...
[ 1, 529, 276, 1112, 420, 29958, 29963, 387, 2084, 3002, 29914, 11461, 517, 29899, 1272, 29899, 29894, 466, 13, 5215, 12655, 408, 7442, 13, 13, 1753, 2099, 29918, 25379, 29898, 25379, 267, 1125, 13, 1678, 9995, 11609, 278, 2099, 310, 263,...
edd/settings/__init__.py
TeselaGen/jbei-edd
0
96189
<gh_stars>0 # -*- coding: utf-8 -*- """ Settings for the Experiment Data Depot. """ # import baseline settings included in EDD's git repo from .base import * # noqa from .auth import * # noqa from .celery import * # noqa # try to load overridden settings from local.py, if present try: from .local import * # n...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 15945, 29908, 19215, 363, 278, 1222, 15362, 3630, 10034, 327, 29889, 9995, 13, 13, 29937, 1053, 2362, 5...
tests/test_SQL.py
mfulghum/pyZRD
0
61249
import unittest import sql.db import sql.elements class TestSQLConnection(unittest.TestCase): def test_initialization(self): """ Start up the SQLAlchemy engine and initialize the database, then shut it all down. :return: """ # Initialize the database. session, engin...
[ 1, 1053, 443, 27958, 13, 13, 5215, 4576, 29889, 2585, 13, 5215, 4576, 29889, 17664, 13, 13, 1990, 4321, 4176, 5350, 29898, 348, 27958, 29889, 3057, 8259, 1125, 13, 1678, 822, 1243, 29918, 11228, 2133, 29898, 1311, 1125, 13, 4706, 9995, ...
APPS/MEMBER/models.py
RockhoRockho/Project_FG
1
191987
<gh_stars>1-10 from django.db import models class Member(models.Model): member_id = models.AutoField(primary_key=True, verbose_name='회원ID') username = models.CharField(max_length=30, verbose_name='아이디') pw = models.CharField(max_length=30, verbose_name='비밀번호') name = models.CharField(max_length=30, ver...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 9557, 29889, 2585, 1053, 4733, 13, 13, 1990, 19495, 29898, 9794, 29889, 3195, 1125, 13, 1678, 4509, 29918, 333, 353, 4733, 29889, 12300, 3073, 29898, 16072, 299...
Perforce.py
zillow/Sublime-Text-2-Perforce-Plugin
0
84920
# Written by <NAME> (<EMAIL> / www.ericmartel.com) # Available commands are listed in Default.sublime-commands # changelog # <NAME> - first implementation of add / checkout # <NAME> & <NAME> - handling of forward slashes in clientspec folder # <NAME> & <NAME> - first implementation of revert # <NAME> - first implemen...
[ 1, 396, 16849, 841, 491, 529, 5813, 29958, 313, 29966, 26862, 6227, 29958, 847, 7821, 29889, 261, 293, 28402, 295, 29889, 510, 29897, 13, 13, 29937, 7740, 3106, 8260, 526, 9904, 297, 13109, 29889, 1491, 28046, 29899, 26381, 13, 13, 2993...
FNWhisperBot.py
v1001/FNWhisperBot
1
112060
<reponame>v1001/FNWhisperBot<filename>FNWhisperBot.py<gh_stars>1-10 import fortnitepy import datetime import os import asyncio import threading from fortnitepy.ext import commands import json def time() -> str: '''Return current system datetime as string.''' return datetime.datetime.now().strftime('%H:%M:%S'...
[ 1, 529, 276, 1112, 420, 29958, 29894, 29896, 29900, 29900, 29896, 29914, 29943, 29940, 8809, 275, 546, 29933, 327, 29966, 9507, 29958, 29943, 29940, 8809, 275, 546, 29933, 327, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 2989...
python/coding_bat/make_bricks/README.py
lmregus/Portfolio
0
1613816
# Make Bricks We want to make a row of bricks that is goal inches long. We have a number of small bricks (1 inch each) and big bricks (5 inches each). Return True if it is possible to make the goal by choosing from the import given bricks. This is a little harder than it looks and can be done without any loops. See...
[ 1, 396, 8561, 1771, 7358, 13, 13, 4806, 864, 304, 1207, 263, 1948, 310, 1506, 7358, 393, 338, 7306, 22831, 1472, 29889, 1334, 505, 263, 1353, 310, 2319, 1506, 7358, 313, 29896, 297, 305, 1269, 29897, 322, 29871, 13, 3752, 1506, 7358, ...
__scraping__/investopedia.com - selenium/main.py
furas/python-code
2
166149
<gh_stars>1-10 # author: Bartlomiej "furas" Burek (https://blog.furas.pl) # date: 2022.03.11 # [Scraping Investopedia using selenium python - Stack Overflow](https://stackoverflow.com/questions/71443533/scraping-investopedia-using-selenium-python/71444720#71444720) from selenium import webdriver from selenium.webdrive...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 4148, 29901, 12245, 29880, 290, 8586, 376, 29888, 10939, 29908, 350, 545, 29895, 313, 991, 597, 7312, 29889, 29888, 10939, 29889, 572, 29897, 13, 29937, 2635, ...