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.4.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.4.0
File Size Uploaded Provenance Actions
pymetadata_core-0.4.0.tar.gz 2.9 MB With provenance Details for pymetadata_core-0.4.0.tar.gz

Built distributions (wheels)

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

Total release size: 4.8 MB

Release files / pymetadata_core-0.4.0.tar.gz

Download URL pymetadata_core-0.4.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
942049953d420623d3104a9d6a190c9b7fba0f6bfcf3451b2a3d1ca9d4c7e40a
BLAKE2b-256 checksum
How to use checksums
837c05044c87264f91ff78b34f2b8de803e11fc8c3978b11c56529360f8d4168
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.4.0-cp311-abi3-win_amd64.whl

Download URL pymetadata_core-0.4.0-cp311-abi3-win_amd64.whl
Size 331.7 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fe65dfaa4c551d11105a9dbfedb48f9a2a788136631a7299c7b1d5578f9f46a3
BLAKE2b-256 checksum
How to use checksums
379004cd2a77f7ee31bf8c777329e0b31181cffae0bc23dfff7ede732bded3a0
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.4.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pymetadata_core-0.4.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 409.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e8cbbb71e9fd01bea774ddf7b907345df832f090b00aba864df1d139805e6e96
BLAKE2b-256 checksum
How to use checksums
ed9d5bc4f739e28ebc23a934e30e4cfc30e0a36ec62ffdf4522dd022672e123c
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.4.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pymetadata_core-0.4.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 396.7 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
ce6678a4299106f592f203fb4f21e4d20a210267a20c92b14e8fc5af6af4164c
BLAKE2b-256 checksum
How to use checksums
660d13a5847a9ad374231079b7cf6cc89089b5ebaa93fc757a8405249f940a1e
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.4.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL pymetadata_core-0.4.0-cp311-abi3-macosx_11_0_arm64.whl
Size 367.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e13126e2132bac925feeedc20d1d8a628c9efec534294d731dad8c2523fd02ab
BLAKE2b-256 checksum
How to use checksums
8eefea3ba1863431ee82ceeaa993a24e7b941b7b0dea51ae28d122013cf70751
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.4.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL pymetadata_core-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 393.6 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
02ac188981cc5f594f4a77aebe6bebef8f1b16189cb21714b894d56aa39914ec
BLAKE2b-256 checksum
How to use checksums
fcffd5ba77acb71eca5c414ccc771b1e9816b60751491aba058c9d9226c81b67
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.4.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.4.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