ome-metadata
Open Microscopy XML metadata (https://www.openmicroscopy.org/Schemas/) as a collection of Rust structs and enums, with translation to Python.
Rust
use std::fs::read_to_string;
use ome_metadata::Ome;
let xml = read_to_string($file)?;
let ome: Ome = xml.parse()?;
let image = &ome.image[0];
println!("acquisition date: {:#?}", image.acquisition_date);
Python
from ome_metadata import Ome
with open($file) as f:
xml = f.read()
ome = Ome.from_xml(xml)
image = ome.image[0]
print(f"acquisition date: {image.acquisition_date}")
Metadata
Release files for ome-metadata 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ome_metadata-0.6.1.tar.gz | 69.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| ome_metadata-0.6.1-cp310-abi3-win_arm64.whl | CPython 3.10 | abi3 | Windows ARM64 | Details |
| ome_metadata-0.6.1-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| ome_metadata-0.6.1-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| ome_metadata-0.6.1-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| ome_metadata-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| ome_metadata-0.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| ome_metadata-0.6.1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| ome_metadata-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 15.0 MB
Release files / ome_metadata-0.6.1.tar.gz
| Download URL | ome_metadata-0.6.1.tar.gz |
|---|---|
| Size | 69.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20b402c65b09eaa111d38d78d3c841ba66b823e55c43684fcf42c296cf2e3bac
|
|
BLAKE2b-256 checksum How to use checksums |
64de6c8a39525906045a0c09ac5a3ae5fb79f90275f3e76f3f20cd41eaf17309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-win_arm64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
3a3ded0822d00c12f17564ccb68089008e9e2431bafc1d162542d5c687bd63b4
|
|
BLAKE2b-256 checksum How to use checksums |
8d36a815d9bbd916813d0af9968265c2eeadfb84cd4732c11d78a02e1bd8c19f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-win_amd64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9dd93cfbe40549bdb9a0eb0cfb84bf915a20efd2ca2308f8f22a09a8e469edd1
|
|
BLAKE2b-256 checksum How to use checksums |
f7d83cdc90a0e8c6726d09abbd9253fe5852481283bd116c274aa87da34213b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4bc4a4602e0a4a9fa99faea8eb3bdae1874a1ba945aa4212af8fb1ce5c97f33e
|
|
BLAKE2b-256 checksum How to use checksums |
8bb252b82b97d8b439b18c4c1dc0442ad1a5406875d7054e3ac90d04dc8d3e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
b114a7f0842c2514b699b7163cd8ab3bbf70b68b8874dc0fcd410eb960c95bf2
|
|
BLAKE2b-256 checksum How to use checksums |
a0451e1d8089bc9910d5034e25ceca80098f3b2404cab0917413a6a082fcd17e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
91453ce6d89103cd549250e77c12de45a5f9c47456d19423edf80559621e5186
|
|
BLAKE2b-256 checksum How to use checksums |
22c372cea0c2d23e5c654d356e3653a3675a5e58fce610e96d375c1704d639ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
a3253f63810b61704f864ac8fddb9ec78490638e317625dd9c466cd0e1b0e20b
|
|
BLAKE2b-256 checksum How to use checksums |
44d32e377a66821f7d62ccd6e11dc9f28dabdb9b36c29e8a780ff470ac9f9abd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d31ddc533acda2dd1b0fe64489005f71b010f2ad27cdb4af6aeb67366418a537
|
|
BLAKE2b-256 checksum How to use checksums |
2cfe3d356b69b48ed2519fc1ea38a3093f684763cb126a6e7bf4ef2307c5927e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ome_metadata-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | ome_metadata-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
68614f850233f60fd1729e73f829e5c74bd937a0917869d68fd18c8f3eb56ea4
|
|
BLAKE2b-256 checksum How to use checksums |
ef042aed4f9ced24cea31d422177e6a9953a84c5d3d1718a8038469037e5e441
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|