repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/locomotion/robots/go2/velocity_env_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:31:58.604064
import math import isaaclab.sim as sim_utils import isaaclab.terrains as terrain_gen from isaaclab.assets import ArticulationCfg, AssetBaseCfg from isaaclab.envs import ManagerBasedRLEnvCfg from isaaclab.managers import CurriculumTermCfg as CurrTerm from isaaclab.managers import EventTermCfg as EventTerm from isaaclab...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/locomotion/robots/h1/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:31:58.790692
import gymnasium as gym gym.register( id="Unitree-H1-Velocity", entry_point="isaaclab.envs:ManagerBasedRLEnv", disable_env_checker=True, kwargs={ "env_cfg_entry_point": f"{__name__}.velocity_env_cfg:RobotEnvCfg", "play_env_cfg_entry_point": f"{__name__}.velocity_env_cfg:RobotPlayEnvCfg"...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/locomotion/robots/h1/velocity_env_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:31:58.794287
import math import isaaclab.sim as sim_utils import isaaclab.terrains as terrain_gen from isaaclab.assets import ArticulationCfg, AssetBaseCfg from isaaclab.envs import ManagerBasedRLEnvCfg from isaaclab.managers import CurriculumTermCfg as CurrTerm from isaaclab.managers import EventTermCfg as EventTerm from isaaclab...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/agents/rsl_rl_ppo_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.000181
# Copyright (c) 2022-2025, The Isaac Lab Project Developers. # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause from isaaclab.utils import configclass from isaaclab_rl.rsl_rl import RslRlOnPolicyRunnerCfg, RslRlPpoActorCriticCfg, RslRlPpoAlgorithmCfg @configclass class BasePPORunnerCfg(RslRlOnPolicyRun...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/mdp/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.065166
"""This sub-module contains the functions that are specific to the locomotion environments.""" from isaaclab.envs.mdp import * # noqa: F401, F403 from unitree_rl_lab.tasks.mimic.mdp import * # noqa: F401, F403 from .commands import * # noqa: F401, F403 from .events import * # noqa: F401, F403 from .observations ...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/mdp/commands.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.082643
from __future__ import annotations import math import numpy as np import os import torch from collections.abc import Sequence from dataclasses import MISSING from typing import TYPE_CHECKING from isaaclab.assets import Articulation from isaaclab.managers import CommandTerm, CommandTermCfg from isaaclab.markers import...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/mdp/events.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.112163
from __future__ import annotations import torch from typing import TYPE_CHECKING, Literal import isaaclab.utils.math as math_utils from isaaclab.assets import Articulation from isaaclab.envs.mdp.events import _randomize_prop_by_op from isaaclab.managers import SceneEntityCfg if TYPE_CHECKING: from isaaclab.envs ...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/mdp/observations.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.242126
from __future__ import annotations import torch from typing import TYPE_CHECKING from isaaclab.utils.math import matrix_from_quat, subtract_frame_transforms from unitree_rl_lab.tasks.mimic.mdp.commands import MotionCommand if TYPE_CHECKING: from isaaclab.envs import ManagerBasedEnv def robot_anchor_ori_w(env:...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/mdp/terminations.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.385660
from __future__ import annotations import torch from typing import TYPE_CHECKING try: from isaaclab.utils.math import quat_apply_inverse except ImportError: from isaaclab.utils.math import quat_rotate_inverse as quat_apply_inverse if TYPE_CHECKING: from isaaclab.envs import ManagerBasedRLEnv from isaac...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/mdp/rewards.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.414012
from __future__ import annotations import torch from typing import TYPE_CHECKING from isaaclab.managers import SceneEntityCfg from isaaclab.sensors import ContactSensor from isaaclab.utils.math import quat_error_magnitude from unitree_rl_lab.tasks.mimic.mdp.commands import MotionCommand if TYPE_CHECKING: from i...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/robots/g1_29dof/dance_102/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.628275
import gymnasium as gym gym.register( id="Unitree-G1-29dof-Mimic-Dance-102", entry_point="isaaclab.envs:ManagerBasedRLEnv", disable_env_checker=True, kwargs={ "env_cfg_entry_point": f"{__name__}.tracking_env_cfg:RobotEnvCfg", "play_env_cfg_entry_point": f"{__name__}.tracking_env_cfg:Rob...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/robots/g1_29dof/gangnanm_style/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.680177
import gymnasium as gym gym.register( id="Unitree-G1-29dof-Mimic-Gangnanm-Style", entry_point="isaaclab.envs:ManagerBasedRLEnv", disable_env_checker=True, kwargs={ "env_cfg_entry_point": f"{__name__}.tracking_env_cfg:RobotEnvCfg", "play_env_cfg_entry_point": f"{__name__}.tracking_env_cf...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/robots/g1_29dof/dance_102/tracking_env_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.709147
from __future__ import annotations import os import isaaclab.sim as sim_utils from isaaclab.assets import ArticulationCfg, AssetBaseCfg from isaaclab.envs import ManagerBasedRLEnvCfg from isaaclab.managers import EventTermCfg as EventTerm from isaaclab.managers import ObservationGroupCfg as ObsGroup from isaaclab.man...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/tasks/mimic/robots/g1_29dof/gangnanm_style/tracking_env_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.711262
from __future__ import annotations import os import isaaclab.sim as sim_utils from isaaclab.assets import ArticulationCfg, AssetBaseCfg from isaaclab.envs import ManagerBasedRLEnvCfg from isaaclab.managers import EventTermCfg as EventTerm from isaaclab.managers import ObservationGroupCfg as ObsGroup from isaaclab.man...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/ui_extension_example.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.713863
import omni.ext # Functions and vars are available to other extension as usual in python: `example.python_ext.some_public_function(x)` def some_public_function(x: int): print("[unitree_rl_lab] some_public_function was called with x: ", x) return x**x # Any class derived from `omni.ext.IExt` in top level mod...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/utils/export_deploy_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:31:59.881085
import numpy as np import os import yaml from isaaclab.assets import Articulation from isaaclab.envs import ManagerBasedRLEnv from isaaclab.utils import class_to_dict from isaaclab.utils.string import resolve_matching_names def format_value(x): if isinstance(x, float): return float(f"{x:.3g}") elif i...
unitreerobotics/unitree_rl_lab
https://github.com/unitreerobotics/unitree_rl_lab
null
null
null
null
988
null
null
apache-2.0
null
null
null
null
null
null
null
source/unitree_rl_lab/unitree_rl_lab/utils/parser_cfg.py
null
null
null
null
null
null
Python
2026-05-04T02:32:00.050277
from isaaclab.envs import DirectRLEnvCfg, ManagerBasedRLEnvCfg from isaaclab_tasks.utils.parse_cfg import load_cfg_from_registry def parse_env_cfg( task_name: str, device: str = "cuda:0", num_envs: int | None = None, use_fabric: bool | None = None, entry_point_key: str = "env_cfg_entry_point", ) -...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/binarization.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.516680
# # Copyright 2015 Benjamin Kiessling # 2014 Thomas M. Breuel # # 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 a...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/configs/ro.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.518471
# # Copyright 2025 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/blla.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.538281
# # Copyright 2019 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/configs/pretrain.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.543960
# # Copyright 2025 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
docs/conf.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.545444
import os # Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.or...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/align.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.546337
# # Copyright 2021 Teklia # Copyright 2021 Benjamin Kiessling # # 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 applica...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/configs/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.552196
from .ro import * # NOQA from .base import * # NOQA from .vgsl import * # NOQA from .pretrain import * # NOQA import torch.serialization from collections import defaultdict from .base import _Counter torch.serialization.add_safe_globals([defaultdict, _Counter])
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/configs/vgsl.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.559490
# # Copyright 2025 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/configs/base.py
null
null
null
null
null
null
Python
2026-05-04T02:32:02.590075
""" kraken.configs.base ~~~~~~~~~~~~~~~~~~~ Base classes for configurations """ import logging from collections import defaultdict class _Counter: """Picklable auto-incrementing counter for use as a defaultdict factory.""" def __init__(self, start=0): self.n = start def __call__(self): ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/forced_alignment_overlay.py
null
null
null
null
null
null
Python
2026-05-04T02:32:03.400602
#!/usr/bin/env python """ Draws a transparent overlay of the forced alignment output over the input image. """ import os import re import unicodedata from itertools import cycle from unicodedata import normalize import click from lxml import etree cmap = cycle([(230, 25, 75, 127), (60, 180, 75, 127), ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/heatmap_overlay.py
null
null
null
null
null
null
Python
2026-05-04T02:32:03.502231
#! /usr/bin/env python """ Produces semi-transparent neural segmenter output overlays """ import click @click.command() @click.option('-i', '--model', default=None, show_default=True, type=click.Path(exists=True), help='Baseline detection model to use.') @click.argument('files', nargs=-1) def cli(model,...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/extract_lines.py
null
null
null
null
null
null
Python
2026-05-04T02:32:03.502759
#! /usr/bin/env python import click @click.command() @click.option('-f', '--format-type', type=click.Choice(['xml', 'alto', 'page', 'binary']), default='xml', help='Sets the input document format. In ALTO and PageXML mode all ' 'data is extracted from xml files containing both baselines, p...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/repolygonize.py
null
null
null
null
null
null
Python
2026-05-04T02:32:03.530338
#!/usr/bin/env python """ Reads in a bunch of ALTO documents and repolygonizes the lines contained with the kraken polygonizer. """ import click @click.command() @click.option('-f', '--format-type', type=click.Choice(['alto', 'page']), default='alto', help='Sets the input document format. In ALTO and Pa...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/print_word_spreader.py
null
null
null
null
null
null
Python
2026-05-04T02:32:03.703181
#!/usr/bin/env python # 2020, Bruce Robertson # Master file at https://github.com/brobertson/Lace2-tools/blob/master/normalize_hocr.py import argparse import html import os import sys from statistics import mean from lxml import etree from kraken.lib.util import open_image # a custom exception to indicate when a pag...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/add_neural_ro.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.171161
#!/usr/bin/env python """ Computes an additional reading order from a neural RO model and adds it to an ALTO document. """ import click @click.command() @click.option('-f', '--format-type', type=click.Choice(['alto']), default='alto', help='Sets the input document format. In ALTO and PageXML mode all ' ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/set_seg_options.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.337802
#!/usr/bin/env python """ A script setting the metadata of segmentation models. """ import shutil import click @click.command() @click.option('-b', '--bounding-region', multiple=True, help='Sets region identifiers which bound line bounding polygons') @click.option('--topline', 'topline', help='Sets mod...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/test_per_file.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.347754
#!/usr/bin/env python """ Test GT with per-file detailed report. """ import click import logging from typing import List from collections import defaultdict from threadpoolctl import threadpool_limits import numpy as np from torch.utils.data import DataLoader from torchmetrics.text import CharErrorRate, WordErrorRate...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/recognition_boxes.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.427458
#!/usr/bin/env python """ Draws transparent character bounding boxes over images giving a legacy segmenter model. """ import os import sys from itertools import cycle from PIL import Image, ImageDraw from kraken.binarization import nlbin from kraken.lib.util import open_image from kraken.lib import models from krake...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/baselineset_overlay.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.507763
#! /usr/bin/env python """ Produces semi-transparent neural segmenter output overlays """ import click @click.command() @click.argument('files', nargs=-1) def cli(files): from os.path import splitext import torch import torchvision.transforms as tf from PIL import Image from kraken.lib import d...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/generate_scripts.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.509393
#!/usr/bin/env python3 """ Script fetching the latest unicode Scripts.txt and dumping it as json. """ import json from urllib import request import regex uri = 'http://www.unicode.org/Public/UNIDATA/Scripts.txt' re = regex.compile(r'^(?P<start>[0-9A-F]{4,6})(..(?P<end>[0-9A-F]{4,6}))?\s+; (?P<name>[A-Za-z]+)') with...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/contrib/segmentation_overlay.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.575054
#!/usr/bin/env python """ Draws a transparent overlay of baseline segmenter output over a list of image files. """ import dataclasses import os import re import unicodedata from collections import defaultdict from itertools import cycle import click cmap = cycle([(230, 25, 75, 127), (60, 180, 75, 127)])...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/containers.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.725352
# # Copyright 2023 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/pretrain.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.750999
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/recognition.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.951871
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/repo.py
null
null
null
null
null
null
Python
2026-05-04T02:32:04.953515
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/ro.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.030569
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/util.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.120798
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.128960
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/weights.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.161462
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/segmentation.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.163789
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/kraken.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.340423
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/codec.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.532645
# # Copyright 2017 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/arrow_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.545931
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/ctc_decoder.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.632164
# # Copyright 2017 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/dataset/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.709935
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/dataset/ro.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.716156
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/dataset/recognition.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.742160
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/dataset/segmentation.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.753228
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/exceptions.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.980812
""" kraken.lib.exceptions ~~~~~~~~~~~~~~~~~~~~~ All custom exceptions raised by kraken's modules and packages. Packages should always define their exceptions here. """ class KrakenCodecException(Exception): def __init__(self, message=None): Exception.__init__(self, message) class KrakenStopTrainingExc...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/dataset/utils.py
null
null
null
null
null
null
Python
2026-05-04T02:32:05.981358
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/lineest.py
null
null
null
null
null
null
Python
2026-05-04T02:32:06.112945
import warnings from typing import TYPE_CHECKING import numpy as np from scipy.ndimage import affine_transform, gaussian_filter, uniform_filter if TYPE_CHECKING: from PIL import Image __all__ = ['CenterNormalizer', 'dewarp'] def scale_to_h(img, target_height, order=1, dtype=np.dtype('f'), cval=0): h, w = i...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/functional_im_transforms.py
null
null
null
null
null
null
Python
2026-05-04T02:32:06.136942
# # Copyright 2015 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/log.py
null
null
null
null
null
null
Python
2026-05-04T02:32:06.205131
# # Copyright 2018 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/pretrain/layers.py
null
null
null
null
null
null
Python
2026-05-04T02:32:06.507175
""" Layers for VGSL models """ import torch from torch import nn from typing import TYPE_CHECKING, Optional from kraken.models import BaseModel from kraken.lib.pretrain.util import compute_mask_indices, sample_negatives if TYPE_CHECKING: from kraken.lib.vgsl import VGSLBlock # all tensors are ordered NCHW, the ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/models.py
null
null
null
null
null
null
Python
2026-05-04T02:32:06.508098
""" kraken.lib.models ~~~~~~~~~~~~~~~~~ Wrapper around TorchVGSLModel including a variety of forward pass helpers for sequence classification. """ from os.path import abspath, expanduser, expandvars from typing import TYPE_CHECKING, Optional, Union import torch import numpy as np import kraken.lib.ctc_decoder import...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/morph.py
null
null
null
null
null
null
Python
2026-05-04T02:32:06.836069
""" Various add-ons to the SciPy morphology package """ import numpy as np from scipy.ndimage import (distance_transform_edt, maximum_filter, minimum_filter, uniform_filter) from scipy.ndimage import find_objects as _find_objects from scipy.ndimage import label as _label def label(image: np...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/lib/pretrain/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:32:07.047213
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
mittagessen/kraken
https://github.com/mittagessen/kraken
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
kraken/ketos/dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:32:13.827776
# # Copyright 2022 Benjamin Kiessling # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
jetmoe/utils/gate.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.942777
import torch import torch.nn as nn import torch.nn.functional as F class top_k_gating(nn.Module): def __init__( self, input_size, num_experts, top_k, ): """ Initialize the top-k gating mechanism. Args: input_size (int): Size of the input. ...
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
jetmoe/utils/moe.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.951721
from typing import List import torch import torch.nn as nn import torch.nn.functional as F from .parallel_experts import ParallelExperts, compute_gating from .gate import top_k_gating class MoE(nn.Module): """ A Sparsely gated mixture of experts layer with 1-layer Feed-Forward networks as experts. Arg...
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
jetmoe/configuration_jetmoe.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.959815
# coding=utf-8 # Copyright 2024 JetMoE AI and the HuggingFace Inc. team. 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....
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.962685
from setuptools import setup, find_packages setup(name='jetmoe', packages=find_packages(), install_requires=[ 'torch', 'transformers', 'scattermoe @ git+https://github.com/shawntan/scattermoe@main#egg=scattermoe' ])
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
jetmoe/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.966570
# Copyright 2024 JetMoE AI and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
jetmoe/utils/parallel_experts.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.971380
import torch import torch.nn as nn import torch.nn.functional as F @torch.jit.script def compute_gating(k: int, num_experts: int, top_k_gates: torch.Tensor, top_k_indices: torch.Tensor): """ Compute gating values for the mixture of experts based on probabilities and top-k indices. Args: k (int): ...
myshell-ai/JetMoE
https://github.com/myshell-ai/JetMoE
null
null
null
null
987
null
null
apache-2.0
null
null
null
null
null
null
null
jetmoe/modeling_jetmoe.py
null
null
null
null
null
null
Python
2026-05-04T02:32:15.971990
# coding=utf-8 # Copyright 2024 JetMoE AI and the HuggingFace Inc. team. 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....
1061700625/WeChat_Article
https://github.com/1061700625/WeChat_Article
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
tk/WeChat_tk.py
null
null
null
null
null
null
Python
2026-05-04T02:32:19.564735
import tkinter as tk from tkinter import ttk import tkinter.font as tkFont from datetime import datetime class ToolTip: def __init__(self, widget, text): self.widget = widget self.text = text self.tooltip = None self.widget.bind("<Enter>", self.show) self.widget.b...
1061700625/WeChat_Article
https://github.com/1061700625/WeChat_Article
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
main.py
null
null
null
null
null
null
Python
2026-05-04T02:32:19.711311
# -*- coding: utf-8 -*- # 设置文件编码为 UTF-8,支持中文字符处理 import json # 用于处理 JSON 文件读写 import os # 用于文件和目录操作 import random # 用于生成随机数(如请求参数中的随机值) import re # 用于正则表达式匹配 import threading # 用于多线程操作 import time # 用于时间处理和延时 from math import ceil # 用于计算分页数(向上取整) from pathlib import Path # 用于跨平台路径处理 import configp...
athackst/vscode_ros2_workspace
https://github.com/athackst/vscode_ros2_workspace
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
.devcontainer/repos_to_submodules.py
null
null
null
null
null
null
Python
2026-05-04T02:32:22.014445
import glob import os import subprocess import yaml prefix="src" def add_git_submodule(repo_name, repo_url, repo_version): subprocess.call(['git', 'submodule', 'add', '-b', repo_version, repo_url, repo_name]) def is_submodule(repo_name): try: subprocess.check_output(['git', 'submodule', 'status', rep...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_contextvars.py
null
null
null
null
null
null
Python
2026-05-04T02:32:25.819680
"""Context Variables""" class Context(object): __contains__ = "<slot wrapper '__contains__' of 'Context' objects>" copy = "<method 'copy' of 'Context' objects>" def get(self, *args): pass items = "<method 'items' of 'Context' objects>" keys = "<method 'keys' of 'Context' objects>" ...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_compression.py
null
null
null
null
null
null
Python
2026-05-04T02:32:25.824728
"""Internal classes used by the gzip, lzma and bz2 modules""" import io import sys BUFFER_SIZE = io.DEFAULT_BUFFER_SIZE # Compressed data read chunk size class BaseStream(io.BufferedIOBase): """Mode-checking helper functions.""" def _check_not_closed(self): if self.closed: raise ValueE...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_compat_pickle.py
null
null
null
null
null
null
Python
2026-05-04T02:32:25.832877
# This module is used to map the old Python 2 names to the new names used in # Python 3 for the pickle module. This needed to make pickle streams # generated with Python 2 loadable by Python 3. # This is a copy of lib2to3.fixes.fix_imports.MAPPING. We cannot import # lib2to3 and use the mapping defined there, becaus...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/VFS_import.py
null
null
null
null
null
null
Python
2026-05-04T02:32:25.834886
import os import sys from browser import doc #_scripts=doc.createElement('script') #_scripts.src="/src/py_VFS.js" #_scripts.type="text/javascript" #doc.get(tag='head')[0].appendChild(_scripts) VFS=dict(JSObject(__BRYTHON__.py_VFS)) class VFSModuleFinder: def __init__(self, path_entry): print("in VFSModule...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_codecs_jp.py
null
null
null
null
null
null
Python
2026-05-04T02:32:26.526233
from encoding_cp932 import encoding_table, decoding_table # JS module in libs ### Codec APIs class Codec: def encode(self, input, errors='strict'): b = [] for pos, car in enumerate(input): cp = ord(car) try: code = encoding_table[cp] high = ...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_codecs.py
null
null
null
null
null
null
Python
2026-05-04T02:32:26.527720
def ascii_decode(*args,**kw): pass def ascii_encode(*args,**kw): pass def charbuffer_encode(*args,**kw): pass def charmap_build(decoding_table): return {car: i for (i, car) in enumerate(decoding_table)} def charmap_decode(input, errors, decoding_table): res = '' for car in input: co...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
ansible/roles/devious-developer-data-dump/files/_git-repo-orders-processor/process-orders.py
null
null
null
null
null
null
Python
2026-05-04T02:32:26.529152
import sqlite3 from sqlite3 import Error import datetime import argparse from pathlib import Path def create_connection(db_file): conn = None try: conn = sqlite3.connect(db_file) except Error as e: print(e) return conn def check_orders(conn): current_date = datetime.date.today() ...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_collections.py
null
null
null
null
null
null
Python
2026-05-04T02:32:26.530930
# "High performance data structures # " # copied from pypy repo # # Copied and completed from the sandbox of CPython # (nondist/sandbox/collections/pydeque.py rev 1.1, Raymond Hettinger) # # edited for Brython line 558 : catch ImportError instead of AttributeError import operator #try: # from thread import get_i...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_collections_abc.py
null
null
null
null
null
null
Python
2026-05-04T02:32:26.640126
# Copyright 2007 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Abstract Base Classes (ABCs) for collections, according to PEP 3119. Unit tests are in test_collections. """ from abc import ABCMeta, abstractmethod import sys GenericAlias = type(list[int]) EllipsisType = type(.....
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/__future__.py
null
null
null
null
null
null
Python
2026-05-04T02:32:26.722108
"""Record of phased-in incompatible language changes. Each line is of the form: FeatureName = "_Feature(" OptionalRelease "," MandatoryRelease "," CompilerFlag ")" where, normally, OptionalRelease < MandatoryRelease, and both are 5-tuples of the same form as sys.version_info: (...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_functools.py
null
null
null
null
null
null
Python
2026-05-04T02:32:27.344882
from reprlib import recursive_repr class partial: """New function with partial application of the given arguments and keywords. """ __slots__ = "func", "args", "keywords", "__dict__", "__weakref__" def __new__(*args, **keywords): if not args: raise TypeError("descriptor '__new...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_dummy_thread.py
null
null
null
null
null
null
Python
2026-05-04T02:32:27.345642
"""Drop-in replacement for the thread module. Meant to be used as a brain-dead substitute so that threaded code does not need to be rewritten for when the thread module is not present. Suggested usage is:: try: import _thread except ImportError: import _dummy_thread as _thread """ # Exports ...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_frozen_importlib.py
null
null
null
null
null
null
Python
2026-05-04T02:32:27.374297
"""Core implementation of import. This module is NOT meant to be directly imported! It has been designed such that it can be bootstrapped into Python as the implementation of import. As such it requires the injection of specific modules and attributes in order to work. One should use importlib as the public-facing ver...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_signal.py
null
null
null
null
null
null
Python
2026-05-04T02:32:27.967467
"""This module provides mechanisms to use signal handlers in Python. Functions: alarm() -- cause SIGALRM after a specified time [Unix only] setitimer() -- cause a signal (described below) after a specified float time and the timer may restart then [Unix only] getitimer() -- get current value of timer [...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_socket.py
null
null
null
null
null
null
Python
2026-05-04T02:32:27.968786
"""Implementation module for socket operations. See the socket module for documentation.""" AF_APPLETALK = 16 AF_DECnet = 12 AF_INET = 2 AF_INET6 = 23 AF_IPX = 6 AF_IRDA = 26 AF_SNA = 11 AF_UNSPEC = 0 AI_ADDRCONFIG = 1024 AI_ALL = 256 AI_CANONNAME = 2 AI_NUMERICHOST = 4 AI_NUMERICSERV = 8 AI_PASSIVE = 1...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_queue.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.002462
SimpleQueue = None class Empty(Exception): 'Exception raised by Queue.get(block=0)/get_nowait().' pass
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_io.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.114197
""" Python implementation of the io module. """ import os import abc import codecs import errno # Import _thread instead of threading to reduce startup cost try: from _thread import allocate_lock as Lock except ImportError: from _dummy_thread import allocate_lock as Lock # Brython-specific from _io_classes im...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_imp.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.115882
"""(Extremely) low-level import machinery bits as used by importlib and imp.""" import sys def _fix_co_filename(*args,**kw): """Changes code.co_filename to specify the passed-in file path. code Code object to change. path File path to use.""" pass def acquire_lock(*args,**kw): ...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_markupbase.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.205826
"""Shared support for scanning document type declarations in HTML and XHTML. This module is used as a foundation for the html.parser module. It has no documented public API and should not be used directly. """ import re _declname_match = re.compile(r'[a-zA-Z][-_.a-zA-Z0-9]*\s*').match _declstringlit_match = re.com...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_multibytecodec.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.313293
class MultibyteIncrementalDecoder(object): decode = "<method 'decode' of 'MultibyteIncrementalDecoder' objects>" errors = "<attribute 'errors' of 'MultibyteIncrementalDecoder' objects>" getstate = "<method 'getstate' of 'MultibyteIncrementalDecoder' objects>" reset = "<method 'reset' of 'MultibyteI...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_sre.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.574711
# NOT_RPYTHON """ A pure Python reimplementation of the _sre module from CPython 2.4 Copyright 2005 Nik Haldimann, licensed under the MIT license This code is based on material licensed under CNRI's Python 1.6 license and copyrighted by: Copyright (c) 1997-2001 by Secret Labs AB """ MAXREPEAT = 2147483648 MAXGROUPS =...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_struct.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.595341
# # This module is a pure Python version of pypy.module.struct. # It is only imported if the vastly faster pypy.module.struct is not # compiled in. For now we keep this version for reference and # because pypy.module.struct is not ootype-backend-friendly yet. # # this module 'borrowed' from # https://bitbucket.org/py...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_sysconfigdata.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.625433
build_time_vars={'HAVE_SYS_WAIT_H': 1, 'HAVE_UTIL_H': 0, 'HAVE_SYMLINKAT': 1, 'HAVE_LIBSENDFILE': 0, 'SRCDIRS': 'Parser Grammar Objects Python Modules Mac', 'SIZEOF_OFF_T': 8, 'BASECFLAGS': '-Wno-unused-result', 'HAVE_UTIME_H': 1, 'EXTRAMACHDEPPATH': '', 'HAVE_SYS_TIME_H': 1, 'CFLAGSFORSHARED': '-fPIC', 'HAVE_HYPOT': 1...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_testcapi.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.700612
CHAR_MAX = 127 CHAR_MIN = -128 DBL_MAX = 1.7976931348623157e+308 DBL_MIN = 2.2250738585072014e-308 FLT_MAX = 3.4028234663852886e+38 FLT_MIN = 1.1754943508222875e-38 INT_MAX = 2147483647 INT_MIN = -2147483648 LLONG_MAX = 9223372036854775807 LLONG_MIN = -9223372036854775808 LONG_MAX = 2147483647 LONG_MIN = -21...
controlplaneio/simulator
https://github.com/controlplaneio/simulator
null
null
null
null
986
null
null
apache-2.0
null
null
null
null
null
null
null
scenarios/coastline-cluster-attack/emydocephalus/static/Lib/_thread.py
null
null
null
null
null
null
Python
2026-05-04T02:32:28.848948
"""Drop-in replacement for the thread module. Meant to be used as a brain-dead substitute so that threaded code does not need to be rewritten for when the thread module is not present. Suggested usage is:: try: import _thread except ImportError: import _dummy_thread as _thread """ # Exports ...