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.1.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.1.0
File Size Uploaded Provenance Actions
pymetadata_core-0.1.0.tar.gz 2.9 MB With provenance Details for pymetadata_core-0.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 4.6 MB

Release files / pymetadata_core-0.1.0.tar.gz

Download URL pymetadata_core-0.1.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
440a99bc286fc9118346d2ab38d2d5a63f0e705a196c891d64335eca57b39a71
BLAKE2b-256 checksum
How to use checksums
908778e88111907ba1d91a9375ea00218c67cf14c46975bfcfbed27db1a2d132
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.1.0-cp311-abi3-win_amd64.whl

Download URL pymetadata_core-0.1.0-cp311-abi3-win_amd64.whl
Size 293.1 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7e0df8e0938209480a50ae194fac30288caefaa0f2c49cd8846491d568ebab46
BLAKE2b-256 checksum
How to use checksums
899ea120d9e50a2c2f7391d38948bc9af3821c24408363e53d8c2f5535f2e485
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.1.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pymetadata_core-0.1.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 375.2 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cd64e061f1ed4076e8ccfc9c613ca6e1b1565d255fe2682e0a4a4726cffc67a3
BLAKE2b-256 checksum
How to use checksums
4d9d3ae80e2650bf528f727d35349f9cd1f7c864ca92df0dfbe3e8669269c6fa
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.1.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pymetadata_core-0.1.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 364.9 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1ef035eccc87a0a4d7338833099f84ec4b409bfa17a5dfa7d17254a157d4761d
BLAKE2b-256 checksum
How to use checksums
6e59e338be4ba6a8533cf1520ec699f9ff0b1ad56ad63597360301e32ca38dba
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.1.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL pymetadata_core-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 335.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fa2f4496af03e14f87019d2f5ef1ddb400f7043c5fa97e5e30c0ae206ab2bc99
BLAKE2b-256 checksum
How to use checksums
592aa390f3d136ccc698705a217e487145209d72023700a778b51300303c8612
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.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL pymetadata_core-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 361.4 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e46e160cb1ea6225f90a90c35c1f664e3131a6f4872ecba5e0afc017b9045608
BLAKE2b-256 checksum
How to use checksums
695bb1c04d2eeff476bc091438c46e55548a42d0109fcb2e876ab05a939b0a08
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.1.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.1.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