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
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/checkpoints/test_checkpoint_callback.py
null
null
null
null
null
null
Python
2026-05-04T02:50:09.979678
"""Unit tests for checkpoint callback _last_saved_step correctness. Validates that _last_saved_step is only updated AFTER the save operation succeeds, so that a failed save does not suppress future retry attempts. """ from types import SimpleNamespace from unittest.mock import MagicMock, patch import pytest from ve...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/checkpoints/test_trainer_saveload.py
null
null
null
null
null
null
Python
2026-05-04T02:50:09.980846
import copy import os import shutil import subprocess from typing import Any, Dict, List, Optional import pytest import torch import yaml try: from .checkpoint_verification_utils import verify_dcp_to_hf_conversion from .utils import ( get_checkpoint_dir, get_checkpoint_test_command, g...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
scripts/merge_dcp_to_hf.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.085193
import argparse import gc import json import os from collections import OrderedDict from typing import TYPE_CHECKING, Optional, Sequence, Union import torch from safetensors.torch import save_file from transformers import AutoConfig, AutoProcessor from transformers.utils import SAFE_WEIGHTS_INDEX_NAME, SAFE_WEIGHTS_NA...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/checkpoints/utils.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.104834
# Checkpoint trainer save/load test scripts (exec_scripts style). # One base_config; per-model only config_path/tokenizer_path; each model tests 3 EP cases. import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) from tools import hf_local_or_remote from tools.launch_utils import find...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/multimodal/test_vlm_data_process.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.173779
# Test module for Vision-Language Model data processing validation # This module compares outputs when using HF-loaded processor and position_id_func versus VeOmni-loaded sample transform function # # The test validates both ways produce the same input_ids, attention_mask, image_grid_thw, video_grid_thw, pixel_values, ...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_classification_data_processor.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.191443
import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) import pytest import torch from tools import hf_local_or_remote from transformers import AutoTokenizer from veomni.data.data_transform import process_classification_example from veomni.utils.constants import IGNORE_INDEX class ...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/multimodal/test_video_utils.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.192684
import os import time from io import BytesIO import av import numpy as np import PIL.Image import pytest import torch from veomni.data.multimodal.video_utils import ( _apply_dynamic_video_max_pixels, calculate_frame_indices, fetch_videos, fetch_videos_metadata, load_video, load_video_from_byte...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_collators.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.490020
import types import pytest import torch from veomni.utils.constants import IGNORE_INDEX from veomni.utils.device import IS_NPU_AVAILABLE def _fake_ps(sp_enabled: bool, sp_size: int = 1, sp_rank: int = 0): return types.SimpleNamespace(sp_enabled=sp_enabled, sp_size=sp_size, sp_rank=sp_rank) @pytest.fixture def...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_dataloader.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.500023
import types from functools import partial from typing import Literal import pytest from utils import DummyDataset, process_dummy_example from veomni.data import build_dataloader, build_dataset def _fake_ps(sp_size: int): sp_enabled = sp_size > 1 return types.SimpleNamespace( dp_size=1, dp_r...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_dpo_data_processor.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.561976
import types import torch from veomni.data.data_transform import process_dpo_example from veomni.utils.constants import IGNORE_INDEX def _fake_ps(sp_enabled: bool, sp_size: int = 1, sp_rank: int = 0): return types.SimpleNamespace(sp_enabled=sp_enabled, sp_size=sp_size, sp_rank=sp_rank) class _FakeChatTemplate...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_datasets.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.571996
import copy import os import random import subprocess from functools import partial from typing import Any, Dict, List import pytest import yaml from transformers import PretrainedConfig from utils import DummyDataset, FakeModel, compare_global_batch, compare_items, compare_metrics, process_dummy_example from veomni....
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_prepare_fa_kwargs.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.700513
import torch from veomni.utils.seqlen_pos_transform_utils import prepare_fa_kwargs_from_position_ids def make_pos_ids_concat(lengths): seqs = [torch.arange(L, dtype=torch.long) for L in lengths] if len(seqs) == 0: return torch.tensor([], dtype=torch.long) return torch.cat(seqs, dim=0) def run_t...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_multisource_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.712869
import argparse import copy import dataclasses import os import subprocess import sys import time from contextlib import nullcontext from dataclasses import field from functools import partial from typing import Any, Dict, List, Literal, cast from unittest.mock import patch sys.path.insert(0, os.path.join(os.path.dir...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/utils.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.757473
import math import os from typing import Any, Callable, Dict, List, Optional import torch import torch.distributed as dist import torch.nn as nn from datasets import Dataset as HuggingFaceDataset from torch.utils.data import IterableDataset from veomni.distributed.parallel_state import init_parallel_state from veomni...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_dynamic_batching_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.792029
"""Tests for DynamicBatchingSizeDataset functionality. This module tests the ``DynamicBatchingSizeDataset`` class using ``ShardedIterableDataset``. It validates that ``DynamicBatchingSizeDataset`` can properly: 1. Batch samples based on token count (``micro_batch_seq_length``). 2. Handle buffer management with ``read...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/data/test_preprocessor.py
null
null
null
null
null
null
Python
2026-05-04T02:50:10.806186
# Copyright 2025 Bytedance Ltd. and/or its affiliates # # 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 ...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/distributed/test_fsdp_equivalence.py
null
null
null
null
null
null
Python
2026-05-04T02:50:11.091471
"""Single-GPU vs FSDP2 equivalence tests. Validates that training with FSDP2 produces the same gradient norms as single-GPU training (no FSDP wrapping). This catches FSDP-induced numerical differences such as: - Incorrect gradient reduction - Mixed-precision casting issues in FSDP communication - Parameter sharding/ga...
ByteDance-Seed/VeOmni
https://github.com/ByteDance-Seed/VeOmni
null
null
null
null
1,889
null
null
apache-2.0
null
null
null
null
null
null
null
tests/distributed/test_dummy_forward.py
null
null
null
null
null
null
Python
2026-05-04T02:50:11.120890
"""Asymmetric multimodal forward tests under FSDP2. Validates that forward + backward complete without NCCL hangs when some ranks have multimodal data (images/audio/video) while other ranks have text-only data. The model's dummy_forward() must fire on text-only ranks so that all ranks participate in FSDP collectives. ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/mavlink.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.434676
from __future__ import print_function import logging import time import socket import errno import sys import os import platform import copy from dronekit import APIException from pymavlink import mavutil from queue import Queue, Empty from threading import Thread if platform.system() == 'Windows': from errno imp...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_110.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.464947
import time from dronekit import connect, VehicleMode from dronekit.test import with_sitl, wait_for from nose.tools import assert_equals @with_sitl def test_110(connpath): vehicle = connect(connpath, wait_ready=True) # NOTE these are *very inappropriate settings* # to make on a real vehicle. They are lev...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_115.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.465460
import time from dronekit import connect, VehicleMode from dronekit.test import with_sitl from nose.tools import assert_equals @with_sitl def test_115(connpath): v = connect(connpath, wait_ready=True) # Dummy callback def mavlink_callback(*args): mavlink_callback.count += 1 mavlink_callback....
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_12.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.527377
import time from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_equals def current_milli_time(): return int(round(time.time() * 1000)) @with_sitl def test_timeout(connpath): v = connect(connpath, wait_ready=True) value = v.parameters['THR_MIN'] assert_equa...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.540090
import time from contextlib import contextmanager from nose.tools import assert_equal from pymavlink import mavutil @contextmanager def assert_command_ack( vehicle, command_type, ack_result=mavutil.mavlink.MAV_RESULT_ACCEPTED, timeout=10 ): """Context manager to assert that: 1) exactly one CO...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_channels.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.559006
import time from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_equals def assert_readback(vehicle, values): i = 10 while i > 0: time.sleep(.1) i -= .1 for k, v in values.items(): if vehicle.channels[k] != v: contin...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.570687
from __future__ import print_function import os from dronekit_sitl import SITL from nose.tools import with_setup import time sitl = None sitl_args = ['-I0', '--model', 'quad', '--home=-35.363261,149.165230,584,353'] if 'SITL_SPEEDUP' in os.environ: sitl_args += ['--speedup', str(os.environ['SITL_SPEEDUP'])] if 'S...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_capability_and_version.py
null
null
null
null
null
null
Python
2026-05-04T02:50:13.571715
import time from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_false, assert_true @with_sitl def test_115(connpath): v = connect(connpath, wait_ready=True) time.sleep(5) assert_false(v.capabilities.ftp) # versions of ArduCopter prior to v3.3 will send out ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_earlyattrs.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.019947
from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_equals, assert_not_equals @with_sitl def test_battery_none(connpath): vehicle = connect(connpath, _initialize=False) # Ensure we can get (possibly unpopulated) battery object without throwing error. assert_equa...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_goto.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.020986
""" simple_goto.py: GUIDED mode "simple goto" example (Copter Only) The example demonstrates how to arm and takeoff in Copter and how to navigate to points using Vehicle.simple_goto. Full documentation is provided at http://python.dronekit.io/examples/simple_goto.html """ import time from dronekit import connect, Ve...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_errprinter.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.048456
import logging import time from nose.tools import assert_true from dronekit import connect from dronekit.test import with_sitl @with_sitl def test_115(connpath): """Provide a custom status_printer function to the Vehicle and check that the autopilot messages are correctly logged. """ logging_check ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_mavlink.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.118803
import time from dronekit import connect from dronekit.mavlink import MAVConnection from dronekit.test import with_sitl @with_sitl def test_mavlink(connpath): vehicle = connect(connpath, wait_ready=True) out = MAVConnection('udpin:localhost:15668') vehicle._handler.pipe(out) out.start() vehicle2 ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_locations.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.125722
import time from dronekit import connect, VehicleMode from dronekit.test import with_sitl, wait_for from nose.tools import assert_equals, assert_not_equals @with_sitl def test_timeout(connpath): vehicle = connect(connpath, wait_ready=True) # NOTE these are *very inappropriate settings* # to make on a rea...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_mode_settings.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.126929
from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_equals @with_sitl def test_modes_set(connpath): vehicle = connect(connpath) def listener(self, name, m): assert_equals('STABILIZE', self._flightmode) vehicle.add_message_listener('HEARTBEAT', listener)...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_sensor_calibration.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.139225
from pymavlink import mavutil from dronekit import connect from dronekit.test import with_sitl from dronekit.test.sitl import assert_command_ack @with_sitl def test_gyro_calibration(connpath): """Request gyroscope calibration, and check for the COMMAND_ACK.""" vehicle = connect(connpath, wait_ready=True) ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_parameters.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.144717
import time from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_equals, assert_not_equals @with_sitl def test_parameters(connpath): vehicle = connect(connpath) # When called on startup, parameter (may!) be none. # assert_equals(vehicle.parameters.get('THR_MIN', ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_modeavailable.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.208327
""" Simple test to trigger a bug in Vehicle class: issue #610 fixed in PR #611 """ from dronekit import connect from dronekit.test import with_sitl @with_sitl def test_timeout(connpath): v = connect(connpath) # Set the vehicle and autopilot type to 'unsupported' types that MissionPlanner uses as of 17.Apr.2...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_reboot.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.208859
from nose.tools import assert_equal from dronekit import connect from dronekit.test import with_sitl import time @with_sitl def test_reboot(connpath): """Tries to reboot the vehicle, and checks that the autopilot ACKs the command.""" vehicle = connect(connpath, wait_ready=True) reboot_acks = [] de...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_state.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.560444
from dronekit import connect, SystemStatus from dronekit.test import with_sitl from nose.tools import assert_equals @with_sitl def test_state(connpath): vehicle = connect(connpath, wait_ready=['system_status']) assert_equals(type(vehicle.system_status), SystemStatus) assert_equals(type(vehicle.system_sta...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_timeout.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.606492
import time import socket from dronekit import connect from dronekit.test import with_sitl from nose.tools import assert_equals @with_sitl def test_timeout(connpath): # Connect with timeout of 10s. vehicle = connect(connpath, wait_ready=True, heartbeat_timeout=20) # Stall input. vehicle._handler._acc...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_simpledemo.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.607890
""" This test represents a simple demo for testing. Feel free to copy and modify at your leisure. """ from dronekit import connect, VehicleMode from dronekit.test import with_sitl from nose.tools import assert_equals # This test runs first! @with_sitl def test_parameter(connpath): v = connect(connpath, wait_read...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_vehicleclass.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.694109
import time from dronekit import connect, Vehicle from dronekit.test import with_sitl class DummyVehicle(Vehicle): def __init__(self, *args): super(DummyVehicle, self).__init__(*args) self.success = False def success_fn(self, name, m): self.success = True self.add_me...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/sitl/test_waypoints.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.711946
import time from dronekit import connect, LocationGlobal, Command from pymavlink import mavutil from dronekit.test import with_sitl from nose.tools import assert_not_equals, assert_equals @with_sitl def test_empty_clear(connpath): vehicle = connect(connpath) # Calling clear() on an empty object should not cr...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/test/unit/test_api.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.730245
from dronekit import VehicleMode from nose.tools import assert_equals, assert_not_equals def test_vehicle_mode_eq(): assert_equals(VehicleMode('GUIDED'), VehicleMode('GUIDED')) def test_vehicle_mode_neq(): assert_not_equals(VehicleMode('AUTO'), VehicleMode('GUIDED'))
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
dronekit/util.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.730811
from __future__ import print_function import logging import sys def errprinter(*args): logger(*args) def logger(*args): print(*args, file=sys.stderr) sys.stderr.flush() class ErrprinterHandler(logging.Handler): """Logging handler to support the deprecated `errprinter` argument to connect()""" ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/channel_overrides/channel_overrides.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.812084
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. channel_overrides.py: Demonstrates how set and clear channel-override information. # NOTE: Channel overrides (a.k.a "RC overrides") are highly discommended (they are primarily implemented for simulating user input and when impl...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/create_attribute/create_attribute.py
null
null
null
null
null
null
Python
2026-05-04T02:50:14.938928
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. create_attribute.py: Demonstrates how to create attributes from MAVLink messages within your DroneKit-Python script and use them in the same way as the built-in Vehicle attributes. The code adds a new attribute to the Vehicle cla...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/create_attribute/my_vehicle.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.113672
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. my_vehicle.py: Custom Vehicle subclass to add IMU data. """ from dronekit import Vehicle class RawIMU(object): """ The RAW IMU readings for the usual 9DOF sensor setup. This contains the true raw values without any ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/drone_delivery/drone_delivery.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.183483
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. drone_delivery.py: A CherryPy based web application that displays a mapbox map to let you view the current vehicle position and send the vehicle commands to fly to a particular latitude and longitude. Full documentation is provided...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/follow_me/follow_me.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.277374
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. followme - Tracks GPS position of your computer (Linux only). This example uses the python gps package to read positions from a GPS attached to your laptop and sends a new vehicle.simple_goto command every two seconds to move the v...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/guided_set_speed_yaw/guided_set_speed_yaw.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.282055
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. guided_set_speed_yaw.py: (Copter Only) This example shows how to move/direct Copter and send commands in GUIDED mode using DroneKit Python. Example documentation: http://python.dronekit.io/examples/guided-set-speed-yaw-demo.html ""...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/gcs/microgcs.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.286503
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. """ from __future__ import print_function # # This is a small example of the python drone API - an ultra minimal GCS # from dronekit import connect, VehicleMode from pymavlink import mavutil from Tkinter import * # The tkinter root...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mission_import_export/mission_import_export.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.288102
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. mission_import_export.py: This example demonstrates how to import and export files in the Waypoint file format (http://qgroundcontrol.org/mavlink/waypoint_protocol#waypoint_file_format). The commands are imported into a list, and ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/flight_replay/flight_replay.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.341237
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. flight_replay.py: This example requests a past flight from Droneshare, and then 'replays' the flight by sending waypoints to a vehicle. Full documentation is provided at http://python.dronekit.io/examples/flight_replay.html """ f...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/performance_test/performance_test.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.411133
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. performance_test.py: This performance test logs the interval between messages being sent by Dronekit-Python and an acknowledgment being received from the autopilot. It provides a running report of the maximum, minimum, and most ...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mission_basic/mission_basic.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.429131
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. mission_basic.py: Example demonstrating basic mission operations including creating, clearing and monitoring missions. Full documentation is provided at https://dronekit-python.readthedocs.io/en/latest/examples/mission_basic.html ""...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/play_tune/play_tune.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.520238
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2017, Peter Barker play_tune.py: GUIDED mode "simple goto" example (Copter Only) Demonstrates how to play a custom tune on a vehicle using the vehicle's buzzer Full documentation is provided at http://python.dronekit.io/examples/play_tune.html """ from _...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/reboot/reboot.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.694031
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function from dronekit import connect import time # Set up option parsing to get connection string import argparse parser = argparse.ArgumentParser(description='Reboots vehicle') parser.add_argument('--connect', help="Vehi...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/set_attitude_target/set_attitude_target.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.764561
#!/usr/bin/env python """ set_attitude_target.py: (Copter Only) This example shows how to move/direct Copter and send commands in GUIDED_NOGPS mode using DroneKit Python. Caution: A lot of unexpected behaviors may occur in GUIDED_NOGPS mode. Always watch the drone movement, and make sure that you are in da...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.824899
import setuptools import os version = '2.9.2' with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f: LongDescription = f.read() setuptools.setup( name='dronekit', zip_safe=True, version=version, description='Developer Tools for Drones.', long_description_content_type="text/mark...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/simple_goto/simple_goto.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.853892
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. simple_goto.py: GUIDED mode "simple goto" example (Copter Only) Demonstrates how to arm and takeoff in Copter and how to navigate to points using Vehicle.simple_goto. Full documentation is provided at http://python.dronekit.io/exam...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
examples/vehicle_state/vehicle_state.py
null
null
null
null
null
null
Python
2026-05-04T02:50:15.956926
#!/usr/bin/env python # -*- coding: utf-8 -*- """ © Copyright 2015-2016, 3D Robotics. vehicle_state.py: Demonstrates how to get and set vehicle state and parameter information, and how to observe vehicle attribute (state) changes. Full documentation is provided at http://python.dronekit.io/examples/vehicle_state.h...
dronekit/dronekit-python
https://github.com/dronekit/dronekit-python
null
null
null
null
1,887
null
null
apache-2.0
null
null
null
null
null
null
null
windows/returnVersion.py
null
null
null
null
null
null
Python
2026-05-04T02:50:16.010476
from __future__ import print_function # This script reads the setup.py and returns the current version number # Used as part of building the WIndows setup file (DronekitWinBuild.bat) # It assumes there is a line like this: # version = "12344" # glob supports Unix style pathname extensions with open("../setup.py") as f...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/external_dataset/pytorch_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:18.437723
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/external_dataset/generate_external_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:18.463999
# Copyright (c) 2018-2019 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/external_dataset/python_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:18.475791
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/external_dataset/tensorflow_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:18.476878
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/external_dataset/tests/test_generate_external_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:18.495918
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/petastorm_dataset/python_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.023536
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/petastorm_dataset/generate_petastorm_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.024706
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/petastorm_dataset/pytorch_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.026080
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/petastorm_dataset/pyspark_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.062823
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/petastorm_dataset/tensorflow_hello_world.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.074595
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/imagenet/schema.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.085030
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/imagenet/generate_petastorm_imagenet.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.086565
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/petastorm_dataset/tests/test_generate_petastorm_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.108641
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/imagenet/tests/test_generate_imagenet_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:50:19.129632
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/generate_petastorm_mnist.py
null
null
null
null
null
null
Python
2026-05-04T02:50:20.036045
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/tests/test_pytorch_mnist.py
null
null
null
null
null
null
Python
2026-05-04T02:50:20.036636
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/tests/conftest.py
null
null
null
null
null
null
Python
2026-05-04T02:50:20.038478
import numpy as np import pytest MOCK_IMAGE_SIZE = (28, 28) MOCK_IMAGE_3DIM_SIZE = (28, 28, 1) SMALL_MOCK_IMAGE_COUNT = { 'train': 30, 'test': 5 } LARGE_MOCK_IMAGE_COUNT = { 'train': 600, 'test': 100 } class MockDataObj(object): """ Wraps a mock image array and provide a needed getdata() interfac...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/tests/test_tf_mnist.py
null
null
null
null
null
null
Python
2026-05-04T02:50:20.134538
from examples.mnist import tf_example as tf_example from examples.mnist.generate_petastorm_mnist import mnist_data_to_petastorm_dataset from petastorm.tests.test_tf_utils import create_tf_graph @create_tf_graph def test_full_tf_example(large_mock_mnist_data, tmpdir): # First, generate mock dataset dataset_url...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/schema.py
null
null
null
null
null
null
Python
2026-05-04T02:50:20.135601
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:20.240276
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/pytorch_example.py
null
null
null
null
null
null
Python
2026-05-04T02:50:21.655236
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/spark_dataset_converter/pytorch_converter_example.py
null
null
null
null
null
null
Python
2026-05-04T02:50:21.722576
# Copyright (c) 2020 Databricks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/arrow_reader_worker.py
null
null
null
null
null
null
Python
2026-05-04T02:50:21.723529
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/spark_dataset_converter/tensorflow_converter_example.py
null
null
null
null
null
null
Python
2026-05-04T02:50:21.761445
# Copyright (c) 2020 Databricks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/spark_dataset_converter/tests/test_converter_example.py
null
null
null
null
null
null
Python
2026-05-04T02:50:21.761988
from distutils.version import LooseVersion import pyspark import pytest from examples.spark_dataset_converter.utils import get_mnist_dir @pytest.fixture(scope='module') def mnist_dir(): return get_mnist_dir() @pytest.mark.skipif( LooseVersion(pyspark.__version__) < LooseVersion("3.0"), reason="Vector ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/spark_dataset_converter/utils.py
null
null
null
null
null
null
Python
2026-05-04T02:50:21.763856
import os import tempfile import requests def download_mnist_libsvm(mnist_data_dir): mnist_data_path = os.path.join(mnist_data_dir, "mnist.bz2") data_url = "https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass/mnist.bz2" r = requests.get(data_url) with open(mnist_data_path, "wb") as f: ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/benchmark/cli.py
null
null
null
null
null
null
Python
2026-05-04T02:50:22.393229
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/benchmark/dummy_reader.py
null
null
null
null
null
null
Python
2026-05-04T02:50:22.566880
# Copyright (c) 2017-2020 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/benchmark/throughput.py
null
null
null
null
null
null
Python
2026-05-04T02:50:22.567985
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/codecs.py
null
null
null
null
null
null
Python
2026-05-04T02:50:22.597216
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/dataset_metadata.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.062551
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/legacy.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.187241
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/petastorm_generate_metadata.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.199158
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/metadata_util.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.237714
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/cache.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.445917
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/errors.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.512837
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.546446
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/rowgroup_indexers.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.646156
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/etl/rowgroup_indexing.py
null
null
null
null
null
null
Python
2026-05-04T02:50:23.749758
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...