Skip to main content

LeRobot-style dataset I/O:core / io / schemas(本地数据集与录制;不含 Web 服务)。

Project description

lsdataset

独立仓库中的 LeRobot 风格数据集库:coreLsRobotDatasetLsDatasetManager)、ioschemas。负责本地数据集的创建、写入、episode 生命周期管理与磁盘元信息;不包含 Web 框架或 HTTP 服务实现。

PyPI 项目名与 import 名均为 lsdataset

安装

pip install -e .

版本单一来源datasets / pyarrow / jsonlines / avpydanticnumpyscipyPillowpyproject.toml

异步图像写入并发度(默认 4):

  • LSDATASET_IMAGE_WRITER_PROCESSES
  • LSDATASET_IMAGE_WRITER_THREADS

测试

pip install -e ".[dev]"
make test
# 或:python -m pytest tests -q --tb=short

集成脚本在 scripts/(多为本地调试;parquet2json.py 需设置 LSDATASET_PARQUET2JSON_IN 等环境变量,见脚本内说明)。本仓库 tests/ 覆盖核心数据集与编码流程。

版本与依赖声明

在宿主项目的依赖文件中 pin lsdataset==x.y.z(与 PyPIeditable 安装一致即可)。

本地 editable 示例:

pip install -e /path/to/lsdataset

版本号与发布脚本

python scripts/release.py patch --sync-readme
make release PART=minor
make release-build PART=patch

--sync-readme 会替换本仓库 README.md 中出现的 lsdataset==旧版本,以及历史上可能存在的 lsdataset[…]==旧版本 写法。

发版后:更新依赖方声明的版本号,再执行 twine upload 等发布步骤。


发布到 PyPI(摘要)

  1. python scripts/release.py patch --sync-readme(或手改 version
  2. python -m buildtwine check dist/*twine upload dist/*
  3. git tag v<x.y.z>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lsdataset-0.3.4.tar.gz (55.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lsdataset-0.3.4-py3-none-any.whl (67.0 kB view details)

Uploaded Python 3

File details

Details for the file lsdataset-0.3.4.tar.gz.

File metadata

  • Download URL: lsdataset-0.3.4.tar.gz
  • Upload date:
  • Size: 55.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for lsdataset-0.3.4.tar.gz
Algorithm Hash digest
SHA256 ff5ccc7d4617108745361f3142ee43112d32db00d16e43c1be1d7d9a2e19d6f3
MD5 a80b94b8eea011f16f60c3c9e79c261c
BLAKE2b-256 4715a03ac11ca195c1aad5ca99f293a175cdd2fba982763c11bb9daf9d41b29c

See more details on using hashes here.

File details

Details for the file lsdataset-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: lsdataset-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 67.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for lsdataset-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42d4123fe313f6a01e2343eccd37d6258fcd2251c10ccc8da29eb6e2c6155b18
MD5 7d8fca8b00b40baa1c78cf55c6071ece
BLAKE2b-256 a5aafa01ee3d5f9147deef4677cd603296791a5da977be4cc0656b77cf06bb66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page