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.2.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.2.0
File Size Uploaded Provenance Actions
pymetadata_core-0.2.0.tar.gz 2.9 MB With provenance Details for pymetadata_core-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pymetadata-core 0.2.0
File Actions
pymetadata_core-0.2.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for pymetadata_core-0.2.0-cp311-abi3-win_amd64.whl
pymetadata_core-0.2.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.2.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pymetadata_core-0.2.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for pymetadata_core-0.2.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
pymetadata_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for pymetadata_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
pymetadata_core-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for pymetadata_core-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 4.6 MB

Release files / pymetadata_core-0.2.0.tar.gz

Download URL pymetadata_core-0.2.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
fc55450a8dd2d747b04b056bf64c44edaadb4661edc04ee2a53bc0d46c660aa5
BLAKE2b-256 checksum
How to use checksums
814d8b797e3eca73e2d235dbe15aad81fa215624d8c903401eac828ca537a32c
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 23, 2026.

Transparency log

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

Download URL pymetadata_core-0.2.0-cp311-abi3-win_amd64.whl
Size 296.8 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
58436779eccafa09bc99c62e4d0b3f16df5da9470fac60c378f4ff195bb4dc87
BLAKE2b-256 checksum
How to use checksums
44aa9b5a0483aba4954cc5e21d06f30a870171dcb5fc2d02d844c39e42386576
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 23, 2026.

Transparency log

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

Download URL pymetadata_core-0.2.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 379.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
286e0738be52e391e046c073a2e3572046ceb56f1ba890501675479e5cb32a2b
BLAKE2b-256 checksum
How to use checksums
8dc687cdbffe496961fa2adf6279d5cc97b0777fa7843f7da53b3b17e969b261
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 23, 2026.

Transparency log

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

Download URL pymetadata_core-0.2.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 368.7 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
f22eac69c111ee7f9652bb5f9d32bef698239aae1214f49b81fed6aa73b72ea7
BLAKE2b-256 checksum
How to use checksums
5f84d41456fcff928812bb5a5880ae4d8c5f9606e50ac974a9b4e36dc82179e3
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 23, 2026.

Transparency log

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

Download URL pymetadata_core-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 338.6 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
052a49e96097d8eebb0f7bce361cce4169259728db1f746bc34fc465fc299103
BLAKE2b-256 checksum
How to use checksums
8a04152d9d4a7477ef8db5e3306229c5d6b541bb78f8ce92472709e4ff2c70a8
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 23, 2026.

Transparency log

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

Download URL pymetadata_core-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 365.3 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cf3224576ba25395ed9ec68ab46929a2e34be9e12f7a826fd56ead4f120173f3
BLAKE2b-256 checksum
How to use checksums
83dacab66714c8406d9b0977343cd5de90ae564758edf22463214f1d6c516f38
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 23, 2026.

Transparency log

Security for pymetadata-core 0.2.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.2.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 23, 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