Skip to main content

Python CLI to convert between Lastra and Parquet/CSV/Arrow. Mirror of QTSurfer/lastra-convert (Java).

Project description

Lastra

CI PyPI License

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

lastra_convert-0.8.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

lastra_convert-0.8.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for lastra_convert-0.8.2.tar.gz
Algorithm Hash digest
SHA256 762b75eca317197a358fd4c912b2dfc3b5c7026cc8539aa65b27c995d5465e84
MD5 2a8cf2b456346eb5c361c66885815eaa
BLAKE2b-256 22a3b02c6567c911ced3d2f9335b675385f36d0b8f071ea3cb5b445b9b973133

See more details on using hashes here.

Provenance

The following attestation bundles were made for lastra_convert-0.8.2.tar.gz:

Publisher: release.yml on QTSurfer/lastra-convert-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lastra_convert-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b65dabbaf4ccd31f10f1253f3187915a3761d0a833ee68d945670a0a382cfa67
MD5 52521b244e35227d62707d816ff5b045
BLAKE2b-256 f176877de410f4746d45ae468bdfb6875def0c298b51d843ab01b3422f85bf96

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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