Skip to main content

Onager (de-onager)

Merges small Parquet files in a local dataset directory into one file, and runs backfills in an isolated workspace that replaces the dataset only when you promote it.

pip install de-onager
onager compact ./data/events --dry-run    # show which files would be merged; changes nothing
onager compact ./data/events              # merge files under 128 MB (--target-bytes)
  • The dataset is moved to a sibling backup before the compacted copy is installed, and the backup is removed only after the swap succeeds. A failed install restores the original.
  • Compaction refuses to run while a registered Hasta stream or Pugio run is writing to the dataset, or while a stream has uncommitted batches there.
  • Each run appends a line to .onager/compaction-log.jsonl beside the dataset.
  • run_backfill and promote_backfill (Python API) keep a failed backfill's workspace and its status for inspection.
  • Local directories only. S3 and GCS paths are refused.

The distribution is de-onager; the import name and the command are onager. Part of DE Arsenal. Limits: docs/08-limits.md.

Metadata

Release files for de-onager 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for de-onager 1.0.0
File Size Uploaded Provenance Actions
de_onager-1.0.0.tar.gz 12.3 kB With provenance Details for de_onager-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for de-onager 1.0.0
File Interpreter ABI Platform Actions
de_onager-1.0.0-py3-none-any.whl Python 3 none any Details for de_onager-1.0.0-py3-none-any.whl

Total release size: 24.3 kB

Release files / de_onager-1.0.0.tar.gz

Download URL de_onager-1.0.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cffb4d47b580660c0508e3fb7ba5487de57a47df48a09587634644887b5f456d
BLAKE2b-256 checksum
How to use checksums
5a00b8d54935163bb52aee040c9b4361befb8e84f2540521ddda603e5be7e473
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / de_onager-1.0.0-py3-none-any.whl

Download URL de_onager-1.0.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c99920afad7e0809fd753698ae87cbb4c362d3b61f152c91903f8f463c50157d
BLAKE2b-256 checksum
How to use checksums
d86de657947b43c26572125fcf7675a867cd118e3e0bdaf381d7d6b4d219a2e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for de-onager 1.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for de_onager-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page