Skip to main content

pymetadata-core

Lazy reading and writing of COMBINE archives (OMEX, a zip with a manifest.xml), as a Rust core with a python binding. Opening an archive reads the manifest and nothing else, an entry is inflated when it is asked for, and writing copies every untouched entry as the compressed blob it already is.

from pymetadata_core import Archive, lookup_format

with open("model.omex", "rb") as f:
    archive = Archive.from_bytes(f.read())

print(archive.entries)  # [(location, format, master), ...]
sbml = archive.entry_bytes("./model.xml")

archive.set_entry("data/notes.txt", lookup_format("txt"), False, b"hello")
data = archive.to_bytes()  # only the new entry is deflated

Errors are raised as pymetadata_core.OmexError, a subclass of ValueError.

Inflating an entry, set_entry and writing the archive run without the GIL, so another thread can work meanwhile. An Archive is in use by one call at a time: a second thread which uses it meanwhile gets pymetadata_core.ArchiveBusyError, a RuntimeError. Use one Archive per thread.

The design is in docs/design/omex-core.md.

Metadata

Release files for pymetadata-core 0.3.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 pymetadata-core 0.3.0
File Size Uploaded Provenance Actions
pymetadata_core-0.3.0.tar.gz 2.9 MB With provenance Details for pymetadata_core-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pymetadata-core 0.3.0
File Actions
pymetadata_core-0.3.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for pymetadata_core-0.3.0-cp311-abi3-win_amd64.whl
pymetadata_core-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for pymetadata_core-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pymetadata_core-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for pymetadata_core-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
pymetadata_core-0.3.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for pymetadata_core-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
pymetadata_core-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for pymetadata_core-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 4.7 MB

Release files / pymetadata_core-0.3.0.tar.gz

Download URL pymetadata_core-0.3.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7bc5162f2cc8d91084ce2189d87486a79e352ae238a13cc3dd897d99b7c23fbb
BLAKE2b-256 checksum
How to use checksums
0f11836807b7f9cf9ae99278dab744a9a00412a6c073f8d10559e62fe25c9517
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 Nov 24, 2026.

Transparency log

Release files / pymetadata_core-0.3.0-cp311-abi3-win_amd64.whl

Download URL pymetadata_core-0.3.0-cp311-abi3-win_amd64.whl
Size 324.5 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
83c5103d3e4be5d699202ab66c653380b03d091c980338f4a1065cf041c7a5cc
BLAKE2b-256 checksum
How to use checksums
c0d140667e9e981d9c209f3bba54cce6162e1f3a67a53325739392c1ee4b8114
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 Nov 24, 2026.

Transparency log

Release files / pymetadata_core-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pymetadata_core-0.3.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 402.8 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
43a5f3ceca948aae398bf6dc07cf2a441308f6b4d12ea837ecfa9aea665974fb
BLAKE2b-256 checksum
How to use checksums
ffd78c70bb7b5c4701d848c7fbb0d0998d68a41ee099a8b4ae184cc4ca4c2ebb
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 Nov 24, 2026.

Transparency log

Release files / pymetadata_core-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pymetadata_core-0.3.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 390.3 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
14fda53c506d33abbf5dfc5958a7cb17cbe756972a731beeacdeb4b92ac0a2a6
BLAKE2b-256 checksum
How to use checksums
33c5eb680a471f2d489003bbf1da3595c1cb44e69c6ad8ab56188b026ecead5d
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 Nov 24, 2026.

Transparency log

Release files / pymetadata_core-0.3.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL pymetadata_core-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
Size 361.4 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1dd42984f7961f5bb8626ece4afe8d41f0715e997d27428030c5c9658c06a41b
BLAKE2b-256 checksum
How to use checksums
2b293e45cae19d1f56d1fe59f5c2a26a3d17eb12a5899832f16e7c465a4af031
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 Nov 24, 2026.

Transparency log

Release files / pymetadata_core-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL pymetadata_core-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 387.7 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
aa811baa195f88c0770b0dae422fcdfb5fa1b930bc015f98ca14c698d7b95ef6
BLAKE2b-256 checksum
How to use checksums
f443f6eb66721fa76520a8c943a8b0ae829ace6f2cceeb77846d19410a36e9f2
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 Nov 24, 2026.

Transparency log

Security for pymetadata-core 0.3.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

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for pymetadata_core-0.3.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 Nov 24, 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.

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