lsdataset
独立仓库中的 LeRobot 风格数据集库:core(LsRobotDataset、LsDatasetManager)、io、schemas。负责本地数据集的创建、写入、episode 生命周期管理与磁盘元信息;不包含 Web 框架或 HTTP 服务实现。
PyPI 项目名与 import 名均为 lsdataset。
安装
pip install -e .
版本单一来源:datasets / pyarrow / jsonlines / av、pydantic、numpy、scipy、Pillow 在 pyproject.toml。
异步图像写入并发度(默认 4):
LSDATASET_IMAGE_WRITER_PROCESSESLSDATASET_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(与 PyPI 或 editable 安装一致即可)。
本地 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(摘要)
python scripts/release.py patch --sync-readme(或手改version)python -m build→twine check dist/*→twine upload dist/*git tag v<x.y.z>
Metadata
Release files for lsdataset 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lsdataset-0.3.4.tar.gz | 55.9 kB | Without provenance | Details for lsdataset-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lsdataset-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for lsdataset-0.3.4-py3-none-any.whl |
Total release size: 122.8 kB
Release files / lsdataset-0.3.4.tar.gz
| Download URL | lsdataset-0.3.4.tar.gz |
|---|---|
| Size | 55.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff5ccc7d4617108745361f3142ee43112d32db00d16e43c1be1d7d9a2e19d6f3
|
|
BLAKE2b-256 checksum How to use checksums |
4715a03ac11ca195c1aad5ca99f293a175cdd2fba982763c11bb9daf9d41b29c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / lsdataset-0.3.4-py3-none-any.whl
| Download URL | lsdataset-0.3.4-py3-none-any.whl |
|---|---|
| Size | 67.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42d4123fe313f6a01e2343eccd37d6258fcd2251c10ccc8da29eb6e2c6155b18
|
|
BLAKE2b-256 checksum How to use checksums |
a5aafa01ee3d5f9147deef4677cd603296791a5da977be4cc0656b77cf06bb66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for lsdataset 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.