Skip to main content

Data logger for Disco simulations

Project description

🧾 disco-data-logger

High-performance, C++/NumPy-backed data logger
for Disco discrete-event and Monte Carlo simulation programs.

PyPI License: MIT Build Tests


Overview

disco-data-logger provides a fast, compressed, and lightweight data recording layer
for large-scale Disco simulations and other computational experiments.

It is optimized for capturing sparse numerical state updates and accumulators during simulation runs,
and writing them efficiently to disk as Zstandard-compressed segment files.
Each simulation entity or measurement can log its data independently through labeled streams.

It combines:

  • A C++/pybind11 core for high-throughput buffering and compression.
  • Python API for easy stream registration and control.
  • Optional Parquet export for analysis and aggregation after runs.

✨ Features

  • Sparse vector logging with index/value arrays (uint32, float64).
  • Fixed-point quantization for compact and deterministic encoding.
  • Buffered, lock-free write path (ring buffer + writer thread).
  • Zstandard compression (vendored, no external dependencies).
  • Segment rotation for large simulation outputs.
  • JSON metadata for each stream (organisation, model, experiment, …).
  • Optional Parquet export for post-run analytics.
  • MIT-licensed and designed for in-cluster (on-disk/in-memory) use.

🚀 Installation

pip install disco-data-logger

For Parquet export support:

pip install "disco-data-logger[parquet]"

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

disco_data_logger-0.1.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distributions

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

disco_data_logger-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

disco_data_logger-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

disco_data_logger-0.1.0-cp313-cp313-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

disco_data_logger-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

disco_data_logger-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

disco_data_logger-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

disco_data_logger-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

disco_data_logger-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

disco_data_logger-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

disco_data_logger-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

disco_data_logger-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

disco_data_logger-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

Details for the file disco_data_logger-0.1.0.tar.gz.

File metadata

  • Download URL: disco_data_logger-0.1.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for disco_data_logger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e40dde4c6cdc128bb0b3d492e5f6f2aab789388ca955e94ebad42b7ef14585ff
MD5 46b2d39e9cec4cfcf20348702f2719f3
BLAKE2b-256 efac8484866a824ef1eafc3a397bc67b3c52cabb22a7c0c6312f1dec89931b65

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0.tar.gz:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7eec406b33c0a95c493c31ab97c570cbaff0493d85894d9f07b2fd3bd46fdabd
MD5 8f8a48b4de46eaf966821431b65bc98c
BLAKE2b-256 d9324275cfd6ce6c20d3cd65f1e2cb9ab7b3b2b181ae33a715fe0c6798052df1

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e648eda80fea6239fdc38e1230ddc23cbf22e689db30c4919f1dfe3e3bdc452a
MD5 4303ee16cbbecaa1866ca039a6c3ed12
BLAKE2b-256 f7308b867bc85f109ea4615fc0512bc4abb5ae4a5cba2b4a4624053daf71b964

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 598ee98b40e252f43b0ee678ef381ebe39fdabdac0a6a3dbd8be9c857a1cdfcb
MD5 3a27e44abeffc145963ca68984301d4c
BLAKE2b-256 20c561953f893542be6f8d0bf43adc04bcfae29c7c2976701e1ded16f4353cc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6cf4c04a550d63992005946a18646fe888d748d1a67bdb27954abd14df3d3a95
MD5 8485033df5b3adce8a02858e85e638d5
BLAKE2b-256 839816396205752f279a6185bfd0e85e1d3eed034cdc6fbc76603f7ae748c747

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 346ff68fd501459e89e6350e6e61e1e33cca084052aea8f0e13569ccf0defe96
MD5 c98f7b890c92b2df2226235ab3daa983
BLAKE2b-256 0916d7f736f4db57b2420b8c0a681a440a83f178827aae6fe86a0aa45c01c326

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0e3cf34a565015f4fd90ed165537fb3b35702b9238848a249af0628041561c06
MD5 258009d614af5b1f746e705d69342988
BLAKE2b-256 0f6e496543e5862e4a1faf9bc495412054c472b6dd767aa84fd7dc5fd7b9badd

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b4ebf8618d85a7fbf197dd01ae6440953836ed8a5429859141550ce0301f062
MD5 29f3aabe27d45ac8bc043f6f84e054f2
BLAKE2b-256 0d16a5f399d86bf0b108fb5b92b6a1649f57201af23c80dc58cb51bf7f2e62fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7908a16912be4e37bcbd80d20064042d69288947930cb435d1075e3ff5f07f64
MD5 4db0b62b6e0958e0510a42b2cd126d9e
BLAKE2b-256 ff4152ad930308195c4bce6173fb049a5dab66d9c18d369d4506e4cec8e070da

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 018a673562c0f39549380fef4f01d95cda4812984646fc4ed42467868f7d350c
MD5 acf77406514337546565cd22423b37b2
BLAKE2b-256 7e10ec4038f273dcce77b50ece4586bbcc92d6961bb2c923c2cbb1a4d46fe793

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ab551f424f4b04805cbf92944c2c20f97ca867cf5ab9b8e957d22bb20fe5b95e
MD5 a84bd56a56ca00737e227b69daa32588
BLAKE2b-256 2fee50591b173edf48bc8e27de853936fbd214ced95e454083662cf8187dc32a

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5dede4801735290db8da90af5124eee4c7ba448a3fbe322a149fb747de6513fc
MD5 60aeb32ad36c1a2ba366646030bfdd03
BLAKE2b-256 a5246c3556a711a6880555c63c92459c11ba61cc43c6054b7258338607b497b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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

File details

Details for the file disco_data_logger-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for disco_data_logger-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f03509539f73b63ab5023817e0476256a4111945f158ff4b9d51ad514d6c69ab
MD5 790da0fe75fa6fe025978b1ffddf7235
BLAKE2b-256 b82d00e82a155735d02b6a22ab77643b6057af45763e00bf13a7e107896e288a

See more details on using hashes here.

Provenance

The following attestation bundles were made for disco_data_logger-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: release-publish.yml on michielmj/disco-data-logger

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