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
Project3/Demo_use_q2_point.py
yunchen-yang/CV_classes
0
163994
<filename>Project3/Demo_use_q2_point.py import cv2 import numpy as np import copy import sys path=sys.path[0]+'/' img_input=cv2.imread(path+"original_imgs/point.jpg",0) filter_kernel=np.array([[-1,-1,-1],[-1,8,-1],[-1,-1,-1]]) size_img_input=img_input.shape kernel_size=filter_kernel.shape decenter=int((kernel_size[1]...
[ 1, 529, 9507, 29958, 7653, 29941, 29914, 23444, 29918, 1509, 29918, 29939, 29906, 29918, 3149, 29889, 2272, 13, 5215, 13850, 29906, 13, 5215, 12655, 408, 7442, 13, 5215, 3509, 13, 5215, 10876, 13, 13, 2084, 29922, 9675, 29889, 2084, 29961...
slippy/core/tests/test_materials.py
KDriesen/slippy
12
17278
import numpy as np import numpy.testing as npt import slippy import slippy.core as core """ If you add a material you need to add the properties that it will be tested with to the material_parameters dict, the key should be the name of the class (what ever it is declared as after the class key word). The value should ...
[ 1, 1053, 12655, 408, 7442, 13, 5215, 12655, 29889, 13424, 408, 302, 415, 13, 5215, 20662, 23717, 13, 5215, 20662, 23717, 29889, 3221, 408, 7136, 13, 13, 15945, 29908, 13, 3644, 366, 788, 263, 5518, 366, 817, 304, 788, 278, 4426, 393, ...
pandaserver/workflow/pcwl_utils.py
virthead/panda-server
0
156696
<reponame>virthead/panda-server<filename>pandaserver/workflow/pcwl_utils.py import copy import re import six import os.path from pathlib import Path from ruamel import yaml from urllib.parse import urlparse from .workflow_utils import Node, ConditionItem WORKFLOW_NAMES = ['prun', 'phpo', 'junction', 'reana'] # extr...
[ 1, 529, 276, 1112, 420, 29958, 2405, 19081, 29914, 29886, 5863, 29899, 2974, 29966, 9507, 29958, 15112, 261, 369, 29914, 1287, 1731, 29914, 6739, 29893, 29880, 29918, 13239, 29889, 2272, 13, 5215, 3509, 13, 5215, 337, 13, 5215, 4832, 13, ...
h1st/model/ensemble/randomforest_classifier_stack_ensemble.py
Adatao/H1st
796
135115
<reponame>Adatao/H1st from typing import List from sklearn.ensemble import RandomForestClassifier from h1st.model.ensemble.classifier_stack_ensemble import ClassifierStackEnsemble from h1st.model.model import Model class RandomForestClassifierStackEnsemble(ClassifierStackEnsemble): """ A ready to use StackE...
[ 1, 529, 276, 1112, 420, 29958, 29909, 1272, 29877, 29914, 29950, 29896, 303, 13, 3166, 19229, 1053, 2391, 13, 13, 3166, 2071, 19668, 29889, 24031, 1053, 16968, 2831, 342, 2385, 3709, 13, 13, 3166, 298, 29896, 303, 29889, 4299, 29889, 24...
samples/sample_3D.py
bknight-i3drobotics/Stereo3D
3
65114
<reponame>bknight-i3drobotics/Stereo3D from stereo3d import Stereo3D from stereo3d.stereocalibration import StereoCalibration from stereo3d.stereocapture import StereoCapture, StereoCaptureVREP CAMERA_TYPE_PHOBOS = 0 CAMERA_TYPE_DEIMOS = 1 CAMERA_TYPE_PYLON = 2 CAMERA_TYPE_IMAGE = 3 CAMERA_TYPE_VREP = 4 camera_type =...
[ 1, 529, 276, 1112, 420, 29958, 29890, 3959, 523, 29899, 29875, 29941, 26419, 7451, 1199, 29914, 29903, 12358, 29877, 29941, 29928, 13, 3166, 269, 12358, 29877, 29941, 29881, 1053, 317, 12358, 29877, 29941, 29928, 13, 3166, 269, 12358, 29877...
cloudml-template/template/inference.py
VanessaDo/cloudml-samples
3
165876
<reponame>VanessaDo/cloudml-samples<filename>cloudml-template/template/inference.py<gh_stars>1-10 from googleapiclient import discovery from oauth2client.client import GoogleCredentials GCP_PROJECT = '' # Change to GCP project where the Cloud ML Engine model is deployed CMLE_MODEL_NAME = '' # Change to the deployed...
[ 1, 529, 276, 1112, 420, 29958, 29963, 273, 9297, 6132, 29914, 9274, 828, 29899, 27736, 29966, 9507, 29958, 9274, 828, 29899, 6886, 29914, 6886, 29914, 262, 1659, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900...
interstellar/sprite.py
AnythingTechPro/interstellar
1
62817
<reponame>AnythingTechPro/interstellar<filename>interstellar/sprite.py import random import pygame import time from interstellar import node, resource, audio, controller, mechanism class SpriteError(node.NodeError): """ A sprite specific runtime error """ class Sprite(node.Node): """ A controlled ...
[ 1, 529, 276, 1112, 420, 29958, 10773, 1918, 29911, 5309, 1184, 29914, 1639, 6236, 279, 29966, 9507, 29958, 1639, 6236, 279, 29914, 15099, 568, 29889, 2272, 13, 5215, 4036, 13, 5215, 22028, 13, 5215, 931, 13, 3166, 1006, 6236, 279, 1053,...
sockmetrics.py
ChengWu-NJ/ebpf-bcc-apps
0
58044
#!/usr/bin/python3 # wucheng August 8, 2019 # sockmetrics.py --- collect sock communication info among hosts # version 0.9 # two methods to output results: # 1. to screen # 2. to TDengine, a kind of structured time series db # please run ./sockmetrics -h to get help # This program bases on https://github.com/ioviso...
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 29941, 13, 29937, 281, 987, 996, 268, 3111, 29871, 29947, 29892, 29871, 29906, 29900, 29896, 29929, 13, 29937, 577, 384, 2527, 10817, 29889, 2272, 11474, 6314, 577, 384, 12084, 5235, 4249, 18982, ...
train.py
gakkispy/DD-Net-Pytorch
31
183520
#! /usr/bin/env python #! coding:utf-8 from pathlib import Path import matplotlib.pyplot as plt from torch import log from tqdm import tqdm import torch import torch.nn as nn import argparse import torch.optim as optim from torch.optim.lr_scheduler import ReduceLROnPlateau from sklearn.metrics import confusion_matrix ...
[ 1, 396, 29991, 847, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 29991, 14137, 29901, 9420, 29899, 29947, 13, 3166, 2224, 1982, 1053, 10802, 13, 5215, 22889, 29889, 2272, 5317, 408, 14770, 13, 3166, 4842, 305, 1053, 1480, 13, 3166, ...
Day7-HandyHaversacks.py
n-Holmes/AdventOfCode2020
0
43433
<reponame>n-Holmes/AdventOfCode2020 from collections import Counter from functools import lru_cache def get_contents(path : str) -> dict[str, dict[str, int]]: """Get a weighted, directed graph of bags. No protection for the case of cycles. """ with open(path, "r") as f: lines = f.readlines(); ...
[ 1, 529, 276, 1112, 420, 29958, 29876, 29899, 19984, 4467, 29914, 3253, 794, 2776, 3399, 29906, 29900, 29906, 29900, 13, 3166, 16250, 1053, 315, 5336, 13, 3166, 2090, 312, 8789, 1053, 301, 582, 29918, 8173, 13, 13, 1753, 679, 29918, 1085...
pyvs/LatentARTraining.py
snumrl/VSports
0
165149
<reponame>snumrl/VSports import math import random import time import os import sys import copy from datetime import datetime from os.path import join, exists from os import mkdir import collections from collections import namedtuple from collections import deque from itertools import count import torch import torch...
[ 1, 529, 276, 1112, 420, 29958, 29879, 1949, 2096, 29914, 21819, 4011, 13, 5215, 5844, 13, 5215, 4036, 13, 5215, 931, 13, 5215, 2897, 13, 5215, 10876, 13, 5215, 3509, 13, 3166, 12865, 1053, 12865, 13, 13, 3166, 2897, 29889, 2084, 1053,...
setup.py
ilkka/nap
31
39635
<reponame>ilkka/nap #!/usr/bin/env python from pip.req import parse_requirements # parse_requirements() returns generator of pip.req.InstallRequirement objects install_reqs = parse_requirements('requirements.txt') # reqs is a list of requirement # e.g. ['django==1.5.1', 'mezzanine==1.4.6'] reqs = [str(ir.req) for ir...
[ 1, 529, 276, 1112, 420, 29958, 309, 29895, 1335, 29914, 8971, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 13, 3166, 8450, 29889, 7971, 1053, 6088, 29918, 12277, 1860, 13, 13, 29937, 6088, 29918, 12277, 1860, 580, 3639, 1...
src-python/tests/test_trp2.py
kmascar/amazon-textract-response-parser
0
197998
from trp.t_pipeline import add_page_orientation, order_blocks_by_geo from typing import List from trp.t_pipeline import add_page_orientation, order_blocks_by_geo, pipeline_merge_tables, add_kv_ocr_confidence from trp.t_tables import MergeOptions, HeaderFooterType import trp.trp2 as t2 import trp as t1 import json impor...
[ 1, 515, 534, 29886, 29889, 29873, 29918, 13096, 5570, 1053, 788, 29918, 3488, 29918, 20659, 29892, 1797, 29918, 1271, 29879, 29918, 1609, 29918, 24756, 13, 3166, 19229, 1053, 2391, 13, 3166, 534, 29886, 29889, 29873, 29918, 13096, 5570, 105...
mindpong/model/serial_communication.py
PolyCortex/MindPong
22
42613
import sys from glob import glob from serial import Serial, SerialException import numpy as np BAUD_RATE = 9600 PORT = 'COM5' READ_TIMEOUT = 1 LOWER_BOUND = 0.01 UPPER_BOUND = 0.4 class SerialCommunication(): """ Manages the communication and sends the data to the Arduino """ def __init__(self): s...
[ 1, 1053, 10876, 13, 3166, 13149, 1053, 13149, 13, 13, 3166, 7797, 1053, 18896, 29892, 18896, 2451, 13, 5215, 12655, 408, 7442, 13, 13, 5688, 15789, 29918, 29934, 3040, 353, 29871, 29929, 29953, 29900, 29900, 13, 15082, 353, 525, 19795, ...
11/11.py
PaeP3nguin/advent-of-code-2017
0
171359
#!python3 from collections import Counter def main(): with open('11.txt', 'r') as f, open('11_out.txt', 'w') as f_out: line = f.readline().strip() steps = line.split(',') directions = ['n', 'ne', 'se', 's', 'sw', 'nw'] # Part 1 step_counts = Counter(steps) pairs =...
[ 1, 396, 29991, 4691, 29941, 13, 13, 3166, 16250, 1053, 315, 5336, 13, 13, 13, 1753, 1667, 7295, 13, 1678, 411, 1722, 877, 29896, 29896, 29889, 3945, 742, 525, 29878, 1495, 408, 285, 29892, 1722, 877, 29896, 29896, 29918, 449, 29889, 3...
data/data_processing.py
HenryL-study/Voice-Style-Conversion-via-Seq2Seq-model
2
62122
<gh_stars>1-10 import librosa import numpy as np import os import pyworld def world_encode_spectral_envelop(sp, fs, dim=36): # Get Mel-cepstral coefficients (MCEPs) #sp = sp.astype(np.float64) coded_sp = pyworld.code_spectral_envelope(sp, fs, dim) return coded_sp def world_decompose(wav, fs, ...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 4303, 1883, 29874, 30004, 13, 5215, 12655, 408, 7442, 30004, 13, 5215, 2897, 30004, 13, 5215, 282, 5693, 1613, 30004, 13, 1753, 3186, 29918, 12508, 29918, 21494...
test/unit_tests.py
dykesk/gaussian-wake
3
124710
""" Created by <NAME>, Sep. 2018. FLOW Lab Brigham Young University """ import unittest import numpy as np from _porteagel_fortran import porteagel_analyze, x0_func, theta_c_0_func, sigmay_func, sigma_spread_func from _porteagel_fortran import sigmaz_func, wake_offset_func, deltav_func, deltav_near_wake_lin_func from...
[ 1, 9995, 13, 20399, 491, 529, 5813, 10202, 29639, 29889, 29871, 29906, 29900, 29896, 29947, 29889, 13, 29943, 27998, 12016, 13, 12432, 1141, 314, 10443, 3014, 13, 15945, 29908, 13, 13, 5215, 443, 27958, 13, 5215, 12655, 408, 7442, 13, 1...
graph-algorithms/signal_tree.py
lucaspetry/algorithms-and-data-structures
0
195748
import random from graph import Graph def create_signal_tree(integers): vertices = [integers[0]] edges = [] for i in range(1, len(integers)): v1 = integers[i - 1] v2 = integers[i] if v2 not in vertices: vertices.append(v2) edges.append((v1, v2, min(v1, v2))) graph = Graph(vertices, edges, directed =...
[ 1, 1053, 4036, 13, 3166, 3983, 1053, 12367, 13, 13, 1753, 1653, 29918, 25436, 29918, 8336, 29898, 6693, 5743, 1125, 13, 12, 1765, 1575, 353, 518, 6693, 5743, 29961, 29900, 5262, 13, 12, 287, 2710, 353, 5159, 13, 13, 12, 1454, 474, 2...
scripts/stats-bytes-converted.py
WojciechMula/parsing-int-series
19
128321
<reponame>WojciechMula/parsing-int-series<gh_stars>10-100 from generator import Generator from table import Table if __name__ == '__main__': gen = Generator() freq = {} for bi in gen.run(): k = bi.total_skip freq[k] = freq.get(k, 0) + 1 table = Table() table.add_header(["bytes pr...
[ 1, 529, 276, 1112, 420, 29958, 29956, 3848, 5295, 305, 29924, 2497, 29914, 862, 2976, 29899, 524, 29899, 13757, 29966, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 3166, 15299, 1053, 3251, 1061, 13, 3166, ...
class15/class15_ci/app/ci.py
WesGtoX/python-selenium
0
94718
<filename>class15/class15_ci/app/ci.py from selenium.webdriver import Remote from sys import argv browser = Remote( command_executor=f'http://{argv[-1]}:4444/wd/hub', desired_capabilities={'browserName': 'firefox'} ) browser.get('http://selenium.dunossauro.live') print(browser.page_source)
[ 1, 529, 9507, 29958, 1990, 29896, 29945, 29914, 1990, 29896, 29945, 29918, 455, 29914, 932, 29914, 455, 29889, 2272, 13, 3166, 18866, 29889, 29813, 1053, 5240, 866, 13, 3166, 10876, 1053, 1852, 29894, 13, 13, 15965, 353, 5240, 866, 29898,...
src/rooms/tests/test_models.py
Bounty1993/my-blog
0
83759
<reponame>Bounty1993/my-blog from datetime import datetime from django.contrib.auth import get_user_model from django.db.models import Count, Sum from django.test import TestCase from src.rooms.models import Donation, Room User = get_user_model() class RoomTransactionModelTest(TestCase): fixtures = ['src/rooms...
[ 1, 529, 276, 1112, 420, 29958, 29933, 792, 29891, 29896, 29929, 29929, 29941, 29914, 1357, 29899, 7312, 13, 3166, 12865, 1053, 12865, 13, 13, 3166, 9557, 29889, 21570, 29889, 5150, 1053, 679, 29918, 1792, 29918, 4299, 13, 3166, 9557, 2988...
api/app/database.py
Le96/todays-mazai
0
47420
import os from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker USER = os.getenv("DB_USER") PASS = os.getenv("DB_PASSWORD") HOST = os.getenv("DB_HOST") PORT = os.getenv("DB_PORT") SCHEMA = os.getenv("DB_SCHEMA") SQLALCHEMY_DATABASE_URL = ...
[ 1, 1053, 2897, 13, 13, 3166, 4576, 284, 305, 6764, 1053, 1653, 29918, 10599, 13, 3166, 4576, 284, 305, 6764, 29889, 1062, 29889, 311, 16544, 1230, 1053, 7669, 1230, 29918, 3188, 13, 3166, 4576, 284, 305, 6764, 29889, 555, 1053, 4867, ...
civis/io/_databases.py
elsander/civis-python
0
74490
<filename>civis/io/_databases.py from __future__ import absolute_import import logging from civis import APIClient from civis._utils import maybe_get_random_name from civis.futures import CivisFuture from civis._deprecation import deprecate_param log = logging.getLogger(__name__) @deprecate_param('v2.0.0', 'api_ke...
[ 1, 529, 9507, 29958, 29883, 440, 275, 29914, 601, 19891, 29503, 2129, 29889, 2272, 13, 3166, 4770, 29888, 9130, 1649, 1053, 8380, 29918, 5215, 13, 13, 5215, 12183, 13, 13, 3166, 14175, 275, 1053, 3450, 4032, 13, 3166, 14175, 275, 3032, ...
playlist_everywhere/application/__init__.py
kde713/playlist-everywhere
4
1606175
<gh_stars>1-10 from playlist_everywhere.application.cli import CliApplication
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 1708, 1761, 29918, 17991, 3062, 29889, 6214, 29889, 11303, 1053, 315, 492, 4873, 13, 2 ]
models/rnn_model.py
intelligent-control-lab/MEKF_MAME
13
111959
<reponame>intelligent-control-lab/MEKF_MAME # Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same di...
[ 1, 529, 276, 1112, 420, 29958, 524, 9347, 296, 29899, 6451, 29899, 8205, 29914, 2303, 29968, 29943, 29918, 1529, 2303, 13, 29937, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29955, 29899, 6338, 29892, 13327, 29892, 9266, 298...
GUI.py
jkxing/stylized-neural-painting
0
199169
import tkinter as tk from tkinter import ttk from PIL import Image, ImageTk from tkinter import filedialog as fd from tkinter import messagebox as mb import matplotlib.pyplot as plt import numpy as np import cv2 class GUI(tk.Frame): def __init__(self, parent = None): tk.Frame.__init__(self, parent) ...
[ 1, 1053, 18883, 1639, 408, 18883, 13, 3166, 18883, 1639, 1053, 260, 11178, 13, 3166, 349, 6227, 1053, 7084, 29892, 7084, 29911, 29895, 13, 3166, 18883, 1639, 1053, 934, 15901, 408, 285, 29881, 13, 3166, 18883, 1639, 1053, 2643, 1884, 40...
msticpy/data/drivers/__init__.py
kubajir/msticpy
1
151340
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- """Data pr...
[ 1, 396, 448, 2683, 2683, 2683, 2683, 1378, 13, 29937, 14187, 1266, 313, 29883, 29897, 7783, 15025, 29889, 2178, 10462, 21676, 29889, 13, 29937, 10413, 21144, 1090, 278, 341, 1806, 19245, 29889, 2823, 19245, 29889, 3945, 297, 278, 2060, 38...
app.py
skrzypak/soaf
0
79492
<filename>app.py import glob import shutil import subprocess import os import sys import argparse # Read and save metadata from file def exiftool_metadata(path): metadata = {} exifToolPath = 'exifTool.exe' ''' use Exif tool to get the metadata ''' process = subprocess.Popen( [ exif...
[ 1, 529, 9507, 29958, 932, 29889, 2272, 13, 5215, 13149, 13, 5215, 528, 4422, 13, 5215, 1014, 5014, 13, 5215, 2897, 13, 5215, 10876, 13, 5215, 1852, 5510, 13, 13, 13, 29937, 7523, 322, 4078, 15562, 515, 934, 13, 1753, 429, 361, 10154...
manage-downloads.py
hackers-terabit/download-hygeine
1
87710
#!/usr/bin/python2.7 #manage-downloads - adds/removes downloads to the catalogue #TODO: # test it all \0/ import os,json,sys import hashlib,uuid from downloadhygeine import DownloadHygeine,Util,crypto color={"green":"\33[92m","blue":"\33[96m","red":"\33[31m","yellow":"\33[93m","white":"\33[98m"} def add(dh): downl...
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 29906, 29889, 29955, 13, 29937, 1171, 482, 29899, 10382, 29879, 448, 12778, 29914, 1745, 586, 267, 5142, 29879, 304, 278, 16653, 434, 13, 29937, 4986, 3970, 29901, 13, 29937, 12, 1688, 372, 599, ...
009_special_pythagorean_triplet.py
fbcom/project-euler
0
76309
<gh_stars>0 #!/usr/bin/env python # -*- coding: utf-8 -*- # # A Solution to "Special Pythagorean triplet" – Project Euler Problem No. 9 # by <NAME> # # Sourcecode: https://github.com/fbcom/project-euler # Problem statement: https://projecteuler.net/problem=9 # def isPythagoreanTriple(a, b, c): if a < b < c: ...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 13, 29937, 319, 24380, 304, 376, 24780, ...
dataset/ADS_Dataset_generator_2.py
pravk03/responsible_ai_hackathon
0
113225
#!/usr/bin/env python # coding: utf-8 # <b> Run below cells from the folder that contains ads16_dataset/ unzipped </b> # In[1]: import pandas as pd import glob import pathlib import re # In[2]: pd.set_option('display.max_colwidth', -1) # In[3]: # Global constants g_userPart1PathPrefix = "./ads16-dataset/ADS...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 13, 29937, 529, 29890, 29958, 7525, 2400, 9101, 515, 278, 4138, 393, 3743, 594, 29879, 29896, 29953, 29918, 24713, 29914, 443, 2526, 2986, 1...
Backend/issue.py
SXH7/Library-Management
2
143578
<gh_stars>1-10 import mysql.connector as i from datetime import datetime log=i.connect(host="localhost",user="root",password="<PASSWORD>",database="library") def viewissues(): c=log.cursor() c.execute("select * from issue") result= c.fetchall() for row in result: print(row) print("\...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 5215, 5749, 29889, 11958, 2801, 408, 474, 13, 3166, 12865, 1053, 12865, 13, 13, 13, 1188, 29922, 29875, 29889, 6915, 29898, 3069, 543, 7640, 613, 1792, 543, 4632, 6...
segment_classifier/keras_lstm.py
liuhongbing1220/fundanNLP_task
0
81165
<reponame>liuhongbing1220/fundanNLP_task #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri May 31 09:49:27 2019 @author: liuhongbing """ import pandas as pd import numpy as np from collections import Counter import matplotlib.pyplot as plt import re import tensorflow as tf from tensorflow.keras.prepro...
[ 1, 529, 276, 1112, 420, 29958, 492, 16099, 549, 10549, 29896, 29906, 29906, 29900, 29914, 27159, 273, 29940, 13208, 29918, 7662, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 448, 29930, 29899, 14137, 29901, 2361...
Python3-Learn/even_odd_mayankgoyal.py
nikhiljain-413/Hacktoberfest2021_beginner
65
163595
""" Name : Even odd Author : [<NAME>) [https://github.com/mayankgoyal-13] """ num = int(input("Enter your number: ")) if num % 2 == 0: print('The given number is even') else: print('The given number is odd')
[ 1, 9995, 13, 1170, 584, 7753, 7736, 13, 13720, 584, 518, 29966, 5813, 12948, 518, 991, 597, 3292, 29889, 510, 29914, 13029, 804, 1484, 4605, 29899, 29896, 29941, 29962, 13, 15945, 29908, 13, 1949, 353, 938, 29898, 2080, 703, 10399, 596,...
main.py
RowitZou/Lexicon-nn
134
64975
<gh_stars>100-1000 # -*- coding: utf-8 -*- # @Author: <NAME> # @Last Modified by: <NAME>, Contact: <EMAIL> import time import sys import argparse import random import torch import gc import pickle import os import torch.autograd as autograd import torch.optim as optim import numpy as np from utils.metric import g...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29900, 29899, 29896, 29900, 29900, 29900, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 732, 13720, 29901, 529, 5813, 29958, 13, 29937, 7...
generate_character_pair_counts.py
Anima108/malwareAnalysis-midtermproject
0
133762
<gh_stars>0 #!/usr/bin/python ############################################### # This script computes char co-occurence within # alexa's top 1-million web domains. # The co-occurence counts, probability and # log(probability) and stored in a json doc. ############################################### import json import...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 4691, 13, 13, 13383, 13383, 7346, 4136, 2277, 29937, 13, 29937, 910, 2471, 2912, 267, 1373, 1302, 29899, 542, 2764, 663, 2629, 13, 29937, 263, 25...
nasbench301/surrogate_models/bananas/bananas_src/darts/arch.py
Basvanstein/nasbench301
55
198419
import numpy as np import sys import os sys.path.append(os.path.expanduser('~/darts/cnn')) #from train_class import Train OPS = ['max_pool_3x3', 'avg_pool_3x3', 'skip_connect', 'sep_conv_3x3', 'sep_conv_5x5', 'dil_conv_3x3', 'dil_conv_5x5' ] NUM_VERTICES = 4 INP...
[ 1, 1053, 12655, 408, 7442, 13, 5215, 10876, 13, 5215, 2897, 13, 13, 9675, 29889, 2084, 29889, 4397, 29898, 359, 29889, 2084, 29889, 18837, 1792, 877, 20038, 29881, 5708, 29914, 29883, 15755, 8785, 13, 29937, 3166, 7945, 29918, 1990, 1053,...
locale/pot/api/core/_autosummary/pyvista-Light-exponent-1.py
tkoyama010/pyvista-doc-translations
4
143373
<reponame>tkoyama010/pyvista-doc-translations # Plot three planes lit by three spotlights with exponents of 1, # 2 and 5. The one with the lowest exponent has the broadest # beam. # import pyvista as pv plotter = pv.Plotter(lighting='none') for offset, exponent in zip([0, 1.5, 3], [1, 2, 5]): _ = plotter.add_mesh(...
[ 1, 529, 276, 1112, 420, 29958, 29873, 2901, 29891, 3304, 29900, 29896, 29900, 29914, 2272, 29894, 2079, 29899, 1514, 29899, 3286, 29880, 800, 13, 29937, 18399, 2211, 3814, 267, 11872, 491, 2211, 9758, 4366, 29879, 411, 429, 9340, 310, 298...
code/cleantools.py
MarkCHarris/ames_housing_regression
1
118199
<reponame>MarkCHarris/ames_housing_regression ############# DEPENDENCIES ############## import numpy as np import pandas as pd ############# TOOLS FOR EXAMINING DATA FRAMES ############## def info_frame(df): """ Given a DataFrame, gets the name, type, and number of NaN values for each column and stores ...
[ 1, 529, 276, 1112, 420, 29958, 9802, 3210, 2749, 275, 29914, 1280, 29918, 29882, 681, 292, 29918, 276, 11476, 13, 7346, 4136, 29937, 5012, 29925, 11794, 1430, 8426, 2890, 835, 7346, 2277, 29937, 13, 13, 5215, 12655, 408, 7442, 13, 5215,...
utils/models/densevoxel/parts.py
bhklab/ptl-oar-segmentation
3
77215
import torch import torch.nn as nn # from torchsummary import summary # from lib.medzoo.BaseModelClass import BaseModel """ Implementation od DenseVoxelNet based on https://arxiv.org/abs/1708.00573 Hyperparameters used: batch size = 3 weight decay = 0.0005 momentum = 0.9 lr = 0.05 """ def init_weights(m): """ ...
[ 1, 1053, 4842, 305, 13, 5215, 4842, 305, 29889, 15755, 408, 302, 29876, 13, 29937, 515, 4842, 305, 7727, 1053, 15837, 13, 29937, 515, 4303, 29889, 2168, 2502, 29877, 29889, 5160, 3195, 2385, 1053, 7399, 3195, 13, 13, 15945, 29908, 13, ...
werckercli/tests/test_metrics.py
wercker/DEPRECATED-wercker-cli
1
92829
import mock from mock import ANY import requests from werckercli.metrics import track_application_startup, default_command_name from werckercli.tests import TestCase track_command_usage_path = "werckercli.metrics.track_command_usage" class MetricsTests(TestCase): def test_track_application_startup_fails_silent...
[ 1, 1053, 11187, 13, 3166, 11187, 1053, 13764, 29979, 13, 5215, 7274, 13, 3166, 2949, 4937, 11303, 29889, 2527, 10817, 1053, 5702, 29918, 6214, 29918, 2962, 786, 29892, 2322, 29918, 6519, 29918, 978, 13, 13, 3166, 2949, 4937, 11303, 29889,...
selfdrive/can/can_define.py
matthewklinko/openpilot
4
141582
<gh_stars>1-10 from collections import defaultdict from selfdrive.can.libdbc_py import libdbc, ffi class CANDefine(object): def __init__(self, dbc_name): self.dv = defaultdict(dict) self.dbc_name = dbc_name self.dbc = libdbc.dbc_lookup(dbc_name) num_vals = self.dbc[0].num_vals self.address_to_m...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 3166, 16250, 1053, 2322, 8977, 13, 3166, 1583, 21594, 29889, 3068, 29889, 1982, 11140, 29918, 2272, 1053, 4303, 11140, 29892, 285, 7241, 13, 13, 1990, 315, 2190, 3206...
graphics/ground.py
bdemin/M113_Visualization
0
68962
<reponame>bdemin/M113_Visualization import numpy as np from vtk import vtkLookupTable, vtkUnsignedCharArray, vtkNamedColors, \ vtkCellLocator, vtkPoints, mutable, vtkParametricSpline, vtkParametricFunctionSource, \ vtkPolyDataMapper, vtkActor def visualize_elevation(PolyData): # Create colormap b...
[ 1, 529, 276, 1112, 420, 29958, 29890, 311, 1195, 29914, 29924, 29896, 29896, 29941, 29918, 16227, 2133, 13, 5215, 12655, 408, 7442, 13, 13, 3166, 325, 11178, 1053, 325, 11178, 14959, 786, 3562, 29892, 325, 11178, 25807, 12961, 5914, 2588,...
what_can_i_cook/urls.py
s-maibuecher/what_can_i_cook
0
1318
from django.urls import path from what_can_i_cook.views import WCICFilterView, WCICResultView app_name = "wcic" urlpatterns = [ path("", WCICFilterView.as_view(), name="wcic-start"), path("results/", WCICResultView.as_view(), name="wcic-results"), ]
[ 1, 515, 9557, 29889, 26045, 1053, 2224, 13, 13, 3166, 825, 29918, 3068, 29918, 29875, 29918, 15108, 29889, 7406, 1053, 399, 29907, 2965, 5072, 1043, 29892, 399, 29907, 2965, 3591, 1043, 13, 13, 932, 29918, 978, 353, 376, 29893, 29883, 2...
tests/functional/CrudTests.py
idle-code/ContextShell
0
141475
<gh_stars>0 import unittest from tests.functional.ShellTestsBase import NodeTreeTestsBase from tests.functional.TestExecutor import script_test class CrudTestsBase(NodeTreeTestsBase): pass class CreateTests(CrudTestsBase): @script_test def test_create(self): """ $ .: create foo ...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 5215, 443, 27958, 13, 13, 3166, 6987, 29889, 2220, 284, 29889, 16037, 24376, 5160, 1053, 9071, 9643, 24376, 5160, 13, 3166, 6987, 29889, 2220, 284, 29889, 3057, 13366, 1053, 2471, 29918, ...
app/web/book.py
Marticles/BookCrossing
2
102368
from flask import jsonify,request ,current_app, url_for, render_template, flash from app.view_models.trade import TradeInfo from app.forms.book import SearchForm from app.libs.helper import is_isbn_or_key from app.models.shupiao_book import ShuPiaoBook from app.view_models.book import BookViewModel,BookCollection from ...
[ 1, 515, 29784, 1053, 4390, 1598, 29892, 3827, 1919, 3784, 29918, 932, 29892, 3142, 29918, 1454, 29892, 4050, 29918, 6886, 29892, 11013, 13, 3166, 623, 29889, 1493, 29918, 9794, 29889, 3018, 311, 1053, 27226, 3401, 13, 3166, 623, 29889, 95...
sort-array-by-parity-ii/sort-array-by-parity-ii.py
Atri10/Leet-code---Atri_Patel
1
1608496
<gh_stars>1-10 class Solution: def sortArrayByParityII(self, nums: List[int]) -> List[int]: ans = [] even = 0 odd = 1 for i in nums: if i%2==0:ans.insert(even,i);even +=2 else:ans.insert(odd,i);odd +=2 return ans
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 1990, 24380, 29901, 13, 1678, 822, 2656, 2588, 2059, 2177, 537, 2687, 29898, 1311, 29892, 954, 29879, 29901, 2391, 29961, 524, 2314, 1599, 2391, 29961, 524, 5387, 13,...
aoc/2015/p18-2.py
neizod/problems
1
1609200
<gh_stars>1-10 #!/usr/bin/env python3 def fix_corner(grid): for y in [0, -1]: for x in [0, -1]: grid[y][x] = True def surround(grid, x, y): for dy in [-1, 0, 1]: for dx in [-1, 0, 1]: if (dx, dy) == (0, 0): continue if 0 <= x+dx < len(grid[...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29899, 29896, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 13, 13, 1753, 2329, 29918, 2616, 1089, 29898, 7720, 1125, 13, 1678, 363, 343, 297, 518, 29900, 29892, ...
edb/edgeql/compiler/inference/cardinality.py
ambv/edgedb
4
179926
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB 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...
[ 1, 396, 13, 29937, 910, 2752, 934, 338, 760, 310, 278, 21086, 4051, 1722, 2752, 2060, 29889, 13, 29937, 13, 29937, 14187, 1266, 29871, 29906, 29900, 29900, 29947, 29899, 6338, 26494, 7264, 9266, 29889, 322, 278, 21086, 4051, 15717, 29889,...
mafia_tally/config.py
auscompgeek/mafia-tally
0
142949
<filename>mafia_tally/config.py import json import os from typing import Dict, Set import werkzeug.security config_dir = os.path.join(os.path.dirname(__file__), '..', 'config') get_path = lambda filename: os.path.join(config_dir, filename) day_config_file = get_path('day.json') access_token_file = get_path('access_to...
[ 1, 529, 9507, 29958, 655, 29888, 423, 29918, 29873, 635, 29914, 2917, 29889, 2272, 13, 5215, 4390, 13, 5215, 2897, 13, 3166, 19229, 1053, 360, 919, 29892, 3789, 13, 13, 5215, 23085, 13289, 29889, 8926, 13, 13, 2917, 29918, 3972, 353, ...
Algorithms/Opt2_Algorithm/main.py
varshneypratyaksh2017/TSP_Using_AI
1
113215
import time from Algorithms.Opt2_Algorithm.algorithm import Opt2 # 2Opt Algorithm requires no configurations def opt2Algorithm(): opt2 = Opt2() startTime = time.time() route, _ = opt2.findSolution() endTime = time.time() time_taken = endTime - startTime solution = route distance = opt2....
[ 1, 1053, 931, 13, 3166, 11545, 12404, 29889, 20624, 29906, 29918, 22461, 4540, 29889, 20567, 1053, 20693, 29906, 13, 13, 13, 29937, 29871, 29906, 20624, 29068, 6858, 694, 22920, 13, 1753, 3523, 29906, 22461, 4540, 7295, 13, 13, 1678, 3523...
wsgi.py
ObjectionTheory/rover-voice-integration
0
1601249
import flask import json import requests import time from rover import Rover application = flask.Flask(__name__) print("Started") rovers = {1: Rover(1)} currentRover = 1 @application.route('/') def getStatus(): print("Hello? Can anyone hear me?") return "Hello, I am running...:" @application.route('/control...
[ 1, 1053, 29784, 13, 5215, 4390, 13, 5215, 7274, 13, 5215, 931, 13, 3166, 696, 369, 1053, 390, 957, 13, 13, 6214, 353, 29784, 29889, 8754, 1278, 22168, 978, 1649, 29897, 13, 2158, 703, 4763, 287, 1159, 13, 307, 874, 353, 426, 29896, ...
manhattan/backend/rollups.py
cartlogic/manhattan
1
70026
<reponame>cartlogic/manhattan from __future__ import absolute_import, division, print_function """ This module contains some example ``Rollup`` objects, each implementing the interface expected by the Manhattan backend for rollup aggregations. """ import time from datetime import datetime, timedelta import pytz cla...
[ 1, 529, 276, 1112, 420, 29958, 13823, 19227, 29914, 1171, 29882, 23586, 13, 3166, 4770, 29888, 9130, 1649, 1053, 8380, 29918, 5215, 29892, 8542, 29892, 1596, 29918, 2220, 13, 15945, 29908, 13, 4013, 3883, 3743, 777, 1342, 4954, 29934, 302...
bluebottle/donations/migrations/0009_auto_20190130_1140.py
jayvdb/bluebottle
0
17281
<reponame>jayvdb/bluebottle<filename>bluebottle/donations/migrations/0009_auto_20190130_1140.py # -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2019-01-30 10:40 from __future__ import unicode_literals import bluebottle.utils.fields from decimal import Decimal from django.db import migrations, models import dja...
[ 1, 529, 276, 1112, 420, 29958, 29926, 388, 29894, 2585, 29914, 9539, 29890, 1501, 280, 29966, 9507, 29958, 9539, 29890, 1501, 280, 29914, 9176, 800, 29914, 26983, 800, 29914, 29900, 29900, 29900, 29929, 29918, 6921, 29918, 29906, 29900, 298...
openid.py
DaniilSezonov/AuthServerClient
0
40561
import jwt import requests from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric.rsa import RSAPublicNumbers from oauth2 import Oauth2, ResponseObject, RemoteUserProfile, OAuthDiscoveryError class OpenID(Oauth2): state_token: str or None = None well_know_pat...
[ 1, 1053, 432, 14554, 13, 5215, 7274, 13, 13, 3166, 24941, 5275, 29889, 29882, 834, 2922, 29889, 1627, 1975, 1053, 2322, 29918, 27852, 13, 3166, 24941, 5275, 29889, 29882, 834, 2922, 29889, 9469, 277, 3145, 29889, 294, 962, 16414, 29889, ...
port_scanner.py
Adel-Charef/scripts
0
112754
from queue import Queue import socket import threading target = "127.0.0.1" queue = Queue() open_ports = [] """ port 80 (HTTP) or port 443 (HTTPS) 21 (FTP), 22 (SSH), 25 (SMTP) """ # connect to a target on a specific port def portscan(port): try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
[ 1, 515, 9521, 1053, 5462, 434, 13, 5215, 9909, 13, 5215, 3244, 292, 13, 13, 5182, 353, 376, 29896, 29906, 29955, 29889, 29900, 29889, 29900, 29889, 29896, 29908, 13, 9990, 353, 5462, 434, 580, 13, 3150, 29918, 4011, 353, 5159, 13, 159...
h/streamer/__init__.py
kevinjalbert/h
1
125717
<filename>h/streamer/__init__.py from h.streamer.tweens import close_db_session_tween_factory __all__ = ["close_db_session_tween_factory"] def includeme(config): config.include("h.streamer.views") config.add_subscriber( "h.streamer.streamer.start", "pyramid.events.ApplicationCreated" )
[ 1, 529, 9507, 29958, 29882, 29914, 5461, 261, 29914, 1649, 2344, 26914, 2272, 13, 3166, 298, 29889, 5461, 261, 29889, 29873, 705, 575, 1053, 3802, 29918, 2585, 29918, 7924, 29918, 29873, 1452, 29918, 14399, 13, 13, 1649, 497, 1649, 353, ...
src/app_contexts/app_factory.py
marcoprado17/flask-bone
0
156656
<filename>src/app_contexts/app_factory.py # !/usr/bin/env python # -*- coding: utf-8 -*- # ====================================================================================================================== # The MIT License (MIT) # ====================================================================================...
[ 1, 529, 9507, 29958, 4351, 29914, 932, 29918, 4703, 29879, 29914, 932, 29918, 14399, 29889, 2272, 13, 29937, 1738, 29914, 4855, 29914, 2109, 29914, 6272, 3017, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 298...
VPLVisitor.py
lamhacker/VPL-Compiler
2
163511
# Generated from VPL.g4 by ANTLR 4.7 from antlr4 import * if __name__ is not None and "." in __name__: from .VPLParser import VPLParser else: from VPLParser import VPLParser # This class defines a complete generic visitor for a parse tree produced by VPLParser. class VPLVisitor(ParseTreeVisitor): # Visit...
[ 1, 396, 3251, 630, 515, 478, 7390, 29889, 29887, 29946, 491, 13764, 14632, 29934, 29871, 29946, 29889, 29955, 13, 3166, 3677, 29212, 29946, 1053, 334, 13, 361, 4770, 978, 1649, 338, 451, 6213, 322, 376, 1213, 297, 4770, 978, 1649, 29901...
moodle/mod/workshop/__init__.py
Hardikris/moodlepy
0
1600350
from .base import BaseWorkshop __all__ = [ "BaseWorkshop", ]
[ 1, 515, 869, 3188, 1053, 7399, 5531, 19032, 13, 13, 1649, 497, 1649, 353, 518, 13, 1678, 376, 5160, 5531, 19032, 613, 13, 29962, 13, 2 ]
rob599_hw3/scripts/noiser.py
4-legends/Software-for-robotics-rob599
0
65983
#!/usr/bin/env python import rospy import math import numpy as np from sensor_msgs.msg import LaserScan ####################################### # Laser Scan: # Header: Seq, Stamp, frame_id # Angle_min, Angle_max, Angle_Increment, Time_Increment # Scan time, range_min, range_max, ranges, intensities ###############...
[ 1, 18787, 4855, 29914, 2109, 29914, 6272, 3017, 13, 13, 5215, 696, 1028, 29891, 13, 5215, 5844, 13, 5215, 12655, 408, 7442, 13, 3166, 23530, 29918, 1516, 3174, 29889, 7645, 1053, 7413, 261, 29083, 13, 13383, 13383, 4136, 2277, 29937, 13...
openGaussBase/testcase/AI/AI_MODEL/Opengauss_Function_Snapshot_Case0007.py
opengauss-mirror/Yat
0
1610319
<reponame>opengauss-mirror/Yat """ Copyright (c) 2022 Huawei Technologies Co.,Ltd. openGauss is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS ...
[ 1, 529, 276, 1112, 420, 29958, 459, 996, 11214, 29899, 11038, 729, 29914, 29979, 271, 13, 15945, 29908, 13, 11882, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29906, 29906, 379, 3357, 26599, 8364, 11763, 3189, 1696, 29931, 1594, 29889, ...
yearn/scripts/yearn.py
jonesnc/yearn-client
0
126773
import click from yearn.scripts.load import load as script_load @click.group() def cli(): pass @cli.command() @click.argument('path', default='.') @click.option('--scgi', default=None) @click.option('--mount', default=None) # TODO: support multiple mounts def load(path, scgi, mount): click.echo('Loading t...
[ 1, 1053, 2828, 13, 13, 3166, 1629, 29876, 29889, 16713, 29889, 1359, 1053, 2254, 408, 2471, 29918, 1359, 13, 13, 13, 29992, 3808, 29889, 2972, 580, 13, 1753, 9335, 7295, 13, 1678, 1209, 13, 13, 13, 29992, 11303, 29889, 6519, 580, 13, ...
bot coontrol/CollisionControl.py
aritrog/sarathi
3
55412
import BotDecidesPos import numpy as np class Collision_check: def __init__(self): self.m=0.0 self.n=0.0 def load_data(self,bot): tgx,tgy=bot.getTarget() mpx,mpy=bot.getPos() spd=bot.getSpeed() return spd,mpx,mpy,tgx,tgy def checkCollisio...
[ 1, 1053, 11273, 6185, 2247, 9135, 30004, 13, 5215, 12655, 408, 7442, 30004, 13, 30004, 13, 1990, 13435, 2459, 29918, 3198, 29901, 30004, 13, 1678, 822, 4770, 2344, 12035, 1311, 1125, 30004, 13, 4706, 1583, 29889, 29885, 29922, 29900, 2988...
lib/gstreamer/vaapi/vpp.py
ChipsnMedia/vaapi-fits
0
162450
<filename>lib/gstreamer/vaapi/vpp.py ### ### Copyright (C) 2018-2021 Intel Corporation ### ### SPDX-License-Identifier: BSD-3-Clause ### import os import slash from ....lib.gstreamer.vppbase import BaseVppTest from ....lib.gstreamer.util import have_gst_element from ....lib.gstreamer.vaapi.util import map_best_hw_for...
[ 1, 529, 9507, 29958, 1982, 29914, 29887, 5461, 261, 29914, 1564, 2754, 29914, 29894, 407, 29889, 2272, 13, 2277, 29937, 13, 2277, 29937, 14187, 1266, 313, 29907, 29897, 29871, 29906, 29900, 29896, 29947, 29899, 29906, 29900, 29906, 29896, 1...
src/start_horovod.py
jakob-ed/pytorch-dist-pos-tagger
0
84265
<reponame>jakob-ed/pytorch-dist-pos-tagger<gh_stars>0 #!/usr/bin/env python import os import random import torch from horovod_adasum.horovod_adasum import HorovodAdaSum MIN_FREQ = int(os.environ['SUSML_MIN_FREQ']) RAND_SEED = int(os.environ['SUSML_RAND_SEED']) NUM_EPOCHS = int(os.environ['SUSML_NUM_EPOCHS']) BATCH_S...
[ 1, 529, 276, 1112, 420, 29958, 24744, 711, 29899, 287, 29914, 2272, 7345, 305, 29899, 5721, 29899, 1066, 29899, 4039, 914, 29966, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14708, 4855, 29914, 2109, 29914, 6272, 3017, 13, 5215, 289...
myproject/app/serializer.py
xiaoxiansheng19/data_analysis
0
1606430
#! -*- coding:utf-8 -*- from rest_framework import serializers from .models import Job,File from djcelery.models import TaskMeta class JobSerializer(serializers.ModelSerializer): tasks = serializers.SerializerMethodField() def get_tasks(self, row): # role_obj_list = row.taskmeta.to_dict() ...
[ 1, 396, 29991, 448, 29930, 29899, 14137, 29901, 9420, 29899, 29947, 448, 29930, 29899, 13, 3166, 1791, 29918, 4468, 1053, 7797, 19427, 13, 3166, 869, 9794, 1053, 17163, 29892, 2283, 13, 3166, 270, 29926, 2242, 708, 29889, 9794, 1053, 9330...
search/serialize/__init__.py
ID2797370/arxiv-search
35
53460
<filename>search/serialize/__init__.py """Provides serialization functions for API responses.""" __all__ = ["JSONSerializer", "as_json", "AtomXMLSerializer", "as_atom"] from search.serialize.json import JSONSerializer, as_json from search.serialize.atom import AtomXMLSerializer, as_atom
[ 1, 529, 9507, 29958, 4478, 29914, 643, 6646, 29914, 1649, 2344, 26914, 2272, 13, 15945, 29908, 1184, 29894, 2247, 7797, 2133, 3168, 363, 3450, 20890, 1213, 15945, 13, 1649, 497, 1649, 353, 6796, 7249, 17679, 613, 376, 294, 29918, 3126, ...
basicThings/frozenLakeTime.py
ASH1998/RLnew
0
112485
# import gym # env = gym.make('FrozenLake8x8-v0') # env.reset() # for _ in range(10): # env.render() # env.step(env.action_space.sample()) # take a random action # env.close() # from gym import envs # import gym # frozen = gym.make('FrozenLake8x8-v0') # numEpisodes = 10 # for episode in range(numEpisodes...
[ 1, 396, 1053, 330, 962, 13, 29937, 8829, 353, 330, 962, 29889, 5675, 877, 29943, 307, 2256, 29931, 1296, 29947, 29916, 29947, 29899, 29894, 29900, 1495, 13, 29937, 8829, 29889, 12071, 580, 13, 29937, 363, 903, 297, 3464, 29898, 29896, 2...
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/calculators/calc_radio.py
PascalGuenther/gecko_sdk
82
187755
<reponame>PascalGuenther/gecko_sdk from pyradioconfig.parts.ocelot.calculators.calc_radio import CALC_Radio_ocelot class Calc_Radio_Sol(CALC_Radio_ocelot): def calc_txofdm_reg(self, model): #Read in model vars softmodem_modulator_select = model.vars.softmodem_modulator_select.value if so...
[ 1, 529, 276, 1112, 420, 29958, 29925, 294, 1052, 29954, 8122, 2276, 29914, 479, 27604, 29918, 15348, 13, 3166, 11451, 13399, 2917, 29889, 20895, 29889, 542, 295, 327, 29889, 15807, 4097, 29889, 28667, 29918, 13399, 1053, 315, 1964, 29907, ...
synergy/scheduler/abstract_state_machine.py
mushkevych/scheduler
15
1615931
<reponame>mushkevych/scheduler<filename>synergy/scheduler/abstract_state_machine.py __author__ = '<NAME>' from datetime import datetime from logging import INFO, WARNING, ERROR from synergy.db.model import job from synergy.db.model.job import Job from synergy.db.error import DuplicateKeyError from synergy.db.dao.unit...
[ 1, 529, 276, 1112, 420, 29958, 29885, 1878, 446, 29894, 3376, 29914, 816, 14952, 29966, 9507, 29958, 19274, 261, 1927, 29914, 816, 14952, 29914, 16595, 29918, 3859, 29918, 23523, 29889, 2272, 13, 1649, 8921, 1649, 353, 12801, 5813, 16299, ...
reconstruction_depth_to_3d/open3d/create_point_cloud.py
iwatake2222/opencv_sample
35
160485
import open3d as o3d image_rgb = o3d.io.read_image("image.png") image_depth = o3d.io.read_image("image_depth.png") width = int(image_rgb.get_max_bound()[0]) height = int(image_rgb.get_max_bound()[1]) camera_intrinsic = o3d.camera.PinholeCameraIntrinsic(width=width, height=height, fx=500, fy=500,cx=width/2, cy=height/2...
[ 1, 1053, 1722, 29941, 29881, 408, 288, 29941, 29881, 13, 13, 3027, 29918, 23973, 353, 288, 29941, 29881, 29889, 601, 29889, 949, 29918, 3027, 703, 3027, 29889, 2732, 1159, 13, 3027, 29918, 19488, 353, 288, 29941, 29881, 29889, 601, 29889,...
geolocator.py
Kugeleis/TeslaInventoryChecker
7
18850
<reponame>Kugeleis/TeslaInventoryChecker import http.client import json from types import SimpleNamespace def get_token(): conn = http.client.HTTPSConnection("www.tesla.com") payload = { "resource": "geocodesvc", "csrf_name": "", "csrf_value": "" } headers = { 'Content-T...
[ 1, 529, 276, 1112, 420, 29958, 29968, 5710, 280, 275, 29914, 29911, 267, 433, 797, 23886, 5596, 261, 13, 5215, 1732, 29889, 4645, 13, 5215, 4390, 13, 3166, 4072, 1053, 12545, 23335, 13, 13, 1753, 679, 29918, 6979, 7295, 13, 1678, 1100...
tests/test_create_account.py
moctarjallo/ebank
0
152881
<filename>tests/test_create_account.py import unittest import pythonapi as api from banking import CreateAccount class TestCreateAccount(unittest.TestCase): def setUp(self): self.create_account = CreateAccount() def test_normal(self): request = api.Request({ 'firstname': 'moctar'...
[ 1, 529, 9507, 29958, 21150, 29914, 1688, 29918, 3258, 29918, 10149, 29889, 2272, 13, 5215, 443, 27958, 13, 13, 5215, 3017, 2754, 408, 7882, 13, 13, 3166, 9124, 292, 1053, 6204, 10601, 13, 13, 1990, 4321, 4391, 10601, 29898, 348, 27958, ...
future_annotations.py
asottile/future-annotations
21
114123
import argparse import ast import codecs import encodings import io import sys import tokenize import warnings from typing import Match from typing import Optional from typing import Sequence from typing import Set from typing import Tuple import tokenize_rt def _ast_parse(contents_text: str) -> ast.Module: # in...
[ 1, 1053, 1852, 5510, 13, 5215, 8717, 13, 5215, 775, 2395, 13, 5215, 2094, 397, 886, 13, 5215, 12013, 13, 5215, 10876, 13, 5215, 5993, 675, 13, 5215, 18116, 13, 3166, 19229, 1053, 14514, 13, 3166, 19229, 1053, 28379, 13, 3166, 19229, ...
Python Files/preprocessing.py
errohankumar/thesis
0
45163
import os import pandas as pd from datetime import datetime from preprocessing_service import PreProcessingService class PreProcessing(PreProcessingService): """ A class used to automatically scrape CSV files from ENTSOE Transparecny Platform ... Attributes ---------- _preProcessing : str ...
[ 1, 1053, 2897, 13, 5215, 11701, 408, 10518, 13, 3166, 12865, 1053, 12865, 13, 3166, 758, 19170, 29918, 5509, 1053, 4721, 7032, 292, 3170, 13, 13, 13, 1990, 4721, 7032, 292, 29898, 6572, 7032, 292, 3170, 1125, 13, 1678, 9995, 13, 1678,...
ai2business/kpi_collector/test/test_finance_collector.py
Anselmoo/ai2business
0
147504
"""Test-Enviroment for finance_collector.py""" import pandas as pd from ai2business.kpi_collector import finance_collector as fnc ticker = fnc.FinanceCollector() builder = fnc.DesignerFinanceCollector(["SPY", "AAPL", "MSFT"]) ticker.builder = builder def test_find_chart_history(): ticker.find_chart_histogram() ...
[ 1, 9995, 3057, 29899, 2369, 2405, 2932, 363, 1436, 749, 29918, 15914, 272, 29889, 2272, 15945, 29908, 13, 5215, 11701, 408, 10518, 13, 13, 3166, 7468, 29906, 8262, 3335, 29889, 29895, 1631, 29918, 15914, 272, 1053, 1436, 749, 29918, 15914...
venv/Lib/site-packages/pandas/core/array_algos/transforms.py
arnoyu-hub/COMP0016miemie
0
4945
""" transforms.py is for shape-preserving functions. """ import numpy as np def shift(values: np.ndarray, periods: int, axis: int, fill_value) -> np.ndarray: new_values = values if periods == 0 or values.size == 0: return new_values.copy() # make sure array sent to np.roll is c_con...
[ 1, 9995, 30004, 13, 9067, 29879, 29889, 2272, 338, 363, 8267, 29899, 4569, 29530, 3168, 22993, 13, 15945, 19451, 13, 30004, 13, 5215, 12655, 408, 7442, 30004, 13, 30004, 13, 30004, 13, 1753, 9500, 29898, 5975, 29901, 7442, 29889, 299, 2...
fixture/soap.py
AlekseyVR/Python_mantis
0
44631
from suds.client import Client from suds import WebFault from model.project import Project class SoapHelper: def __init__(self, app): self.app = app def can_login(self, username, password): client = Client(self.app.base_url + "api/soap/mantisconnect.php?wsdl") try: client....
[ 1, 515, 5053, 29879, 29889, 4645, 1053, 12477, 13, 3166, 5053, 29879, 1053, 2563, 29943, 1292, 13, 3166, 1904, 29889, 4836, 1053, 8010, 13, 13, 1990, 1105, 481, 10739, 29901, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 623, 1125,...
my_weather_api/admin.py
swingthrough/weather-api-task-django
0
155557
from django.contrib import admin from .models import WeatherForecastDay # Register your models here. admin.site.register(WeatherForecastDay)
[ 1, 515, 9557, 29889, 21570, 1053, 4113, 13, 3166, 869, 9794, 1053, 1334, 1624, 29943, 487, 4384, 12742, 13, 13, 29937, 12577, 596, 4733, 1244, 29889, 13, 6406, 29889, 2746, 29889, 9573, 29898, 4806, 1624, 29943, 487, 4384, 12742, 29897, ...
d_dataprocess.py
adamyalei/Property-Graphs-Lab-Assignment
0
164617
import re regex_str = [ r'<[^>]+>', # HTML tags r'(?:@[\w_]+)', # @-mentions r"(?:\#+[\w_]+[\w\'_\-]*[\w_]+)", # hash-tags r'http[s]?://(?:[a-z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-f][0-9a-f]))+', # URLs r'(?:(?:\d+,?)+(?:\.?\d+)?)', # numbers r"(?:[a-z][a-z'\-_]+[a-z])", # words with - and ' ...
[ 1, 1053, 337, 13, 13, 13087, 29918, 710, 353, 518, 13, 1678, 364, 29915, 29966, 22896, 29958, 10062, 29958, 742, 396, 4544, 8282, 13, 1678, 364, 29915, 10780, 26984, 7110, 29893, 29918, 10062, 29897, 742, 396, 732, 29899, 358, 1080, 13,...
examples/rsa_client.py
datalogics/flask-oauthprovider
1
170757
from os.path import join, dirname from client import app def fread(fn): with open(join(dirname(__file__), fn), 'r') as f: return f.read().decode("utf-8") app.config["OAUTH_CREDENTIALS"] = { u"rsa_key": fread("mykey.pem"), u"signature_method": u"RSA-SHA1", "signature_type": "body" } app.config...
[ 1, 515, 2897, 29889, 2084, 1053, 5988, 29892, 4516, 978, 13, 3166, 3132, 1053, 623, 13, 13, 13, 1753, 285, 949, 29898, 9144, 1125, 13, 1678, 411, 1722, 29898, 7122, 29898, 25721, 22168, 1445, 1649, 511, 7876, 511, 525, 29878, 1495, 40...
library/cogs/rss_feed.py
og2701/C-3PO
3
183898
<reponame>og2701/C-3PO<filename>library/cogs/rss_feed.py<gh_stars>1-10 from discord.ext.commands import Cog, command from discord.ext import tasks from discord import Embed, Client from feedparser import parse client = Client() class RSS(Cog): def __init__(self, bot): self.bot = bot self.SWnews.start() @tas...
[ 1, 529, 276, 1112, 420, 29958, 468, 29906, 29955, 29900, 29896, 29914, 29907, 29899, 29941, 13152, 29966, 9507, 29958, 5258, 29914, 29883, 12099, 29914, 29878, 893, 29918, 18798, 29889, 2272, 29966, 12443, 29918, 303, 1503, 29958, 29896, 2989...
cplcom/moa/device/mcdaq.py
matham/cplcom
0
23791
'''Barst Measurement Computing DAQ Wrapper ========================================== ''' from functools import partial from pybarst.mcdaq import MCDAQChannel from kivy.properties import NumericProperty, ObjectProperty from moa.threads import ScheduledEventLoop from moa.device.digital import ButtonViewPort from cplco...
[ 1, 14550, 4297, 303, 2191, 3745, 358, 11796, 292, 21330, 29984, 399, 6794, 13, 9166, 9166, 4936, 1360, 13, 12008, 13, 3166, 2090, 312, 8789, 1053, 7687, 13, 3166, 11451, 1646, 303, 29889, 14047, 1388, 29939, 1053, 341, 6530, 29909, 2998...
Lib/hTools2/modules/unicode.py
gferreira/hTools2
11
67418
<gh_stars>10-100 # [h] hTools2.modules.unicode from collections import OrderedDict '''Tools to work with Unicode, convert glyph names to hex/unicode etc.''' def clear_unicodes(font): '''Remove unicodes from all glyphs in the font.''' for g in font: g.unicodes = [] font.update() def auto_unicodes...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29896, 29900, 29899, 29896, 29900, 29900, 13, 29937, 518, 29882, 29962, 298, 24183, 29906, 29889, 7576, 29889, 2523, 356, 13, 13, 3166, 16250, 1053, 8170, 287, 21533, 13, 13, 12008, 24183, 304, 664,...
darling_ansible/python_venv/lib/python3.7/site-packages/oci/os_management/models/installable_package_summary.py
revnav/sandbox
0
75731
<gh_stars>0 # coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2....
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 29937, 14137, 29901, 23616, 29899, 29947, 13, 29937, 14187, 1266, 313, 29883, 29897, 29871, 29906, 29900, 29896, 29953, 29892, 29871, 29906, 29900, 29906, 29900, 29892, 15401, 322, 29914, 272...
ngspy/Promotor.py
manuSrep/ngspy
0
42304
#!/usr/bin/python # -*- coding: utf8 -*- """ Functions and classes for handling next generation sequencing data. :author: <NAME> :license: FreeBSD License ---------- Copyright (c) 2016, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided ...
[ 1, 18787, 4855, 29914, 2109, 29914, 4691, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29947, 448, 29930, 29899, 13, 13, 15945, 29908, 13, 6678, 29879, 322, 4413, 363, 11415, 2446, 12623, 8617, 16750, 848, 29889, 13, 29901, 8921, 29...
ircclient.py
and3rson/notify
0
90703
import socket from select import select from time import sleep class IRCClient(object): def __init__(self, server, port, username, password): # super(Client, self).__init__() self.server = server self.port = port self.username = username self.password = password s...
[ 1, 1053, 9909, 13, 3166, 1831, 1053, 1831, 13, 3166, 931, 1053, 8709, 13, 13, 13, 1990, 306, 10363, 4032, 29898, 3318, 1125, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 1923, 29892, 2011, 29892, 8952, 29892, 4800, 1125, 13, 4706, 3...
test/testDecorators.py
redhog/ferenda
18
87187
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import * import sys import os import datetime import shutil import tempfile from ferenda.compat import unittest, Mock, MagicMock, patch from ferenda import util from feren...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 3166, 4770, 29888, 9130, 1649, 1053, 313, 23552, 29918, 5215, 29892, 8542, 29892, 13, 462, 4706, 1596, 29918, 2220, 29892, 29104, 29918, 20889, 1338, 29897...
076_Minimum_Window_Substring.py
joshlyman/Josh-LeetCode
0
6090
# Other solution # V2 def minWindow(s, t): need = collections.Counter(t) #hash table to store char frequency missing = len(t) #total number of chars we care start, end = 0, 0 i = 0 for j, char in enumerate(s, 1): #index j from 1 if need[char] > 0...
[ 1, 29871, 13, 29937, 5901, 1650, 13, 29937, 478, 29906, 13, 13, 1753, 1375, 5907, 29898, 29879, 29892, 260, 1125, 13, 1678, 817, 353, 16250, 29889, 17779, 29898, 29873, 29897, 9651, 396, 8568, 1591, 304, 3787, 1373, 10868, 13, 1678, 456...
coreapi/models/company.py
recentfahim/smartbusinessbd
0
191965
<gh_stars>0 from generic.models import BaseModel from django.db import models from .city import City from .country import Country class Company(BaseModel): name = models.CharField(max_length=55) website = models.CharField(max_length=50, null=True, blank=True) email = models.EmailField(max_length=30, null=...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 3166, 10035, 29889, 9794, 1053, 7399, 3195, 13, 3166, 9557, 29889, 2585, 1053, 4733, 13, 3166, 869, 12690, 1053, 4412, 13, 3166, 869, 13509, 1053, 15456, 13, 13, 13, 1990, 6938, 29898, ...
circuit_maintenance_parser/data.py
pke11y/circuit-maintenance-parser
0
78155
<gh_stars>0 """Definition of Data classes.""" import logging from typing import List, NamedTuple, Optional, Type, Set import email from pydantic import BaseModel, Extra from circuit_maintenance_parser.constants import EMAIL_HEADER_SUBJECT, EMAIL_HEADER_DATE logger = logging.getLogger(__name__) class DataPart(Named...
[ 1, 529, 12443, 29918, 303, 1503, 29958, 29900, 13, 15945, 29908, 14683, 310, 3630, 4413, 1213, 15945, 13, 5215, 12183, 13, 3166, 19229, 1053, 2391, 29892, 405, 2795, 23215, 552, 29892, 28379, 29892, 5167, 29892, 3789, 13, 13, 5215, 4876, ...
doc/epsilon_pretty_printing.py
Jojendersie/Epsilon-Intersection
14
119848
<filename>doc/epsilon_pretty_printing.py import gdb.printing import gdb class EiMatrixPrinter: "Prints ei::Matrix<> type" def __init__(self, val): self.val = val # Does not work: https://stackoverflow.com/questions/26472066/gdb-pretty-printing-returning-string-from-a-childrens-iterator-but-displa...
[ 1, 529, 9507, 29958, 1514, 29914, 5463, 29918, 1457, 4349, 29918, 2158, 292, 29889, 2272, 13, 5215, 330, 2585, 29889, 2158, 292, 13, 5215, 330, 2585, 13, 13, 1990, 382, 29875, 14609, 4040, 1639, 29901, 13, 1678, 376, 4040, 9466, 321, ...
tests/unit/props/types/test_number.py
manoadamro/jason
0
193348
import pytest from jason import props def test_validate(): props.Number().load(5) def test_loads_int_from_string(): assert props.Number().load("5") == 5 def test_loads_float_from_string(): assert props.Number().load("5.5") == 5.5 def test_not_allow_strings(): with pytest.raises(props.PropertyVa...
[ 1, 1053, 11451, 1688, 13, 13, 3166, 432, 1658, 1053, 17761, 13, 13, 13, 1753, 1243, 29918, 15480, 7295, 13, 1678, 17761, 29889, 4557, 2141, 1359, 29898, 29945, 29897, 13, 13, 13, 1753, 1243, 29918, 18132, 29918, 524, 29918, 3166, 29918,...
outerJoin.py
eyalsus/python-fun
0
43738
import pandas as pd def leftOuterJoin(left_df, right_df, key): right_df['tmp'] = '@' join_df = left_df.merge(right_df[['tmp', key]], how='left', on=key) join_df = join_df[pd.isnull(join_df['tmp'])] join_df.drop('tmp', axis=1, inplace=True) right_df.drop('tmp', axis=1, inplace=True) return join_...
[ 1, 1053, 11701, 408, 10518, 13, 13, 1753, 2175, 3744, 261, 17242, 29898, 1563, 29918, 2176, 29892, 1492, 29918, 2176, 29892, 1820, 1125, 13, 1678, 1492, 29918, 2176, 1839, 7050, 2033, 353, 18803, 29915, 13, 1678, 5988, 29918, 2176, 353, ...
prml/nn/math/product.py
brunomaga/PRML
11,017
48233
import numpy as np from prml.nn.function import Function class Product(Function): def __init__(self, axis=None, keepdims=False): if isinstance(axis, int): axis = (axis,) elif isinstance(axis, tuple): axis = tuple(sorted(axis)) self.axis = axis self.keepdims...
[ 1, 1053, 12655, 408, 7442, 13, 3166, 544, 828, 29889, 15755, 29889, 2220, 1053, 6680, 13, 13, 13, 1990, 10969, 29898, 6678, 1125, 13, 13, 1678, 822, 4770, 2344, 12035, 1311, 29892, 9685, 29922, 8516, 29892, 3013, 6229, 29879, 29922, 882...
.history/app/scrape_20201229173546.py
Super-Web112/python-scraping-for-hosting
0
47370
from django.contrib.auth.decorators import login_required from django.shortcuts import render, get_object_or_404, redirect from django.http import HttpResponse, JsonResponse from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.support.ui import WebDriverWait f...
[ 1, 515, 9557, 29889, 21570, 29889, 5150, 29889, 19557, 4097, 1053, 6464, 29918, 12403, 13, 3166, 9557, 29889, 12759, 7582, 29879, 1053, 4050, 29892, 679, 29918, 3318, 29918, 272, 29918, 29946, 29900, 29946, 29892, 6684, 13, 3166, 9557, 2988...
normalizer/__init__.py
TCC-ADS-2020/Normalizador
7
110900
from .normalizer import *
[ 1, 515, 869, 8945, 3950, 1053, 334, 13, 2 ]
nels-test-integration/api/job.py
elixir-no-nels/nels-core
3
69426
# -*- coding: utf-8 -*- ''' Created on Sep 2, 2016 @author: Kidane ''' import requests import sys import config from utils import feed_utils STORAGE_COPY = 100 STORAGE_MOVE = 101 SBI_PUSH = 106 #norstore: 102 SBI_PULL = 107 #norstore: 103 TSD_PUSH = 104 TSD_PULL = 105 def add_job(job_type_id, nels_id, src_items, ...
[ 1, 396, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 13, 12008, 13, 20399, 373, 29639, 29871, 29906, 29892, 29871, 29906, 29900, 29896, 29953, 13, 13, 29992, 8921, 29901, 27912, 1662, 13, 12008, 13, 5215, 7...
urlunescape.py
chys87/scripts
0
172960
<reponame>chys87/scripts #! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:ts=8 sts=4 sw=4 expandtab ft=python # # Copyright (c) 2014, chys <<EMAIL>> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # Redistri...
[ 1, 529, 276, 1112, 420, 29958, 305, 952, 29947, 29955, 29914, 16713, 13, 29937, 29991, 847, 4855, 29914, 2109, 29914, 6272, 3017, 29941, 13, 29937, 448, 29930, 29899, 14137, 29901, 23616, 29899, 29947, 448, 29930, 29899, 13, 29937, 325, 3...