Python CLI to convert between Lastra and Parquet/CSV/Arrow. Mirror of QTSurfer/lastra-convert (Java).
Project description
Python CLI to convert between Lastra and Parquet / CSV / Arrow.
Mirror of the Java lastra-convert tool.
Status
Scaffold only. The CLI entry points listed below are reserved on PyPI; full implementation lands in 0.9. See the PyPI badge above for the current published version.
Install
pip install lastra-convert
Usage (planned CLI)
# Lastra → Parquet
lastra2parquet ticks.lastra ticks.parquet
# Parquet → Lastra (auto-pick best codec per column)
parquet2lastra ticks.parquet ticks.lastra --best
# CSV → Lastra (with explicit schema)
csv2lastra ticks.csv ticks.lastra --schema "ts:long:delta_varint,close:double:alp"
# Lastra → Arrow IPC
lastra2arrow ticks.lastra ticks.arrow
Library API (planned)
from lastra_convert import lastra_to_parquet, parquet_to_lastra
lastra_to_parquet("ticks.lastra", "ticks.parquet")
parquet_to_lastra("ticks.parquet", "ticks.lastra", best=True)
Reference implementation
This package mirrors QTSurfer/lastra-convert (Java, JVM CLI). Output is byte-equivalent for the same input + codec choices.
License
Copyright 2026 Wualabs LTD. Apache License 2.0 — see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lastra_convert-0.8.2.tar.gz.
File metadata
- Download URL: lastra_convert-0.8.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
762b75eca317197a358fd4c912b2dfc3b5c7026cc8539aa65b27c995d5465e84
|
|
| MD5 |
2a8cf2b456346eb5c361c66885815eaa
|
|
| BLAKE2b-256 |
22a3b02c6567c911ced3d2f9335b675385f36d0b8f071ea3cb5b445b9b973133
|
Provenance
The following attestation bundles were made for lastra_convert-0.8.2.tar.gz:
Publisher:
release.yml on QTSurfer/lastra-convert-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lastra_convert-0.8.2.tar.gz -
Subject digest:
762b75eca317197a358fd4c912b2dfc3b5c7026cc8539aa65b27c995d5465e84 - Sigstore transparency entry: 1391860683
- Sigstore integration time:
-
Permalink:
QTSurfer/lastra-convert-py@efa72b7507e26805067cdbfcb381095c4c118ca9 -
Branch / Tag:
refs/tags/0.8.2 - Owner: https://github.com/QTSurfer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@efa72b7507e26805067cdbfcb381095c4c118ca9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lastra_convert-0.8.2-py3-none-any.whl.
File metadata
- Download URL: lastra_convert-0.8.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b65dabbaf4ccd31f10f1253f3187915a3761d0a833ee68d945670a0a382cfa67
|
|
| MD5 |
52521b244e35227d62707d816ff5b045
|
|
| BLAKE2b-256 |
f176877de410f4746d45ae468bdfb6875def0c298b51d843ab01b3422f85bf96
|
Provenance
The following attestation bundles were made for lastra_convert-0.8.2-py3-none-any.whl:
Publisher:
release.yml on QTSurfer/lastra-convert-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lastra_convert-0.8.2-py3-none-any.whl -
Subject digest:
b65dabbaf4ccd31f10f1253f3187915a3761d0a833ee68d945670a0a382cfa67 - Sigstore transparency entry: 1391860685
- Sigstore integration time:
-
Permalink:
QTSurfer/lastra-convert-py@efa72b7507e26805067cdbfcb381095c4c118ca9 -
Branch / Tag:
refs/tags/0.8.2 - Owner: https://github.com/QTSurfer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@efa72b7507e26805067cdbfcb381095c4c118ca9 -
Trigger Event:
push
-
Statement type: