Skip to main content

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}")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ome_metadata-0.5.0.tar.gz (66.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ome_metadata-0.5.0-cp310-abi3-win_arm64.whl (1.6 MB view details)

Uploaded CPython 3.10+Windows ARM64

ome_metadata-0.5.0-cp310-abi3-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

ome_metadata-0.5.0-cp310-abi3-musllinux_1_2_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

ome_metadata-0.5.0-cp310-abi3-musllinux_1_2_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

ome_metadata-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

ome_metadata-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

ome_metadata-0.5.0-cp310-abi3-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

ome_metadata-0.5.0-cp310-abi3-macosx_10_12_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file ome_metadata-0.5.0.tar.gz.

File metadata

  • Download URL: ome_metadata-0.5.0.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ome_metadata-0.5.0.tar.gz
Algorithm Hash digest
SHA256 db545be6091feaa3ed290457e786bcba836bc6a20cc07ece513e656975bffcc7
MD5 cf3a1da99949891d459944149dcbb8df
BLAKE2b-256 6f2ad79e51cf6446d824cf82df394abcacd4b638fde89dafaaf9a0fbc581d316

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 caee9bb7c421f6169a7c672376e0d4610d5166169c765d9ca01381379c9fdd18
MD5 f8186462f7740ed1263ec8737ca4d3c0
BLAKE2b-256 9ce2c34f95bf4ac1f768ea34eabde78e4c74653c6997690063049b0c8c36b34f

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6809d247b4b8ef45742d174731d26f29d2f097f4d4e2fa966833e39766fd4ff4
MD5 697297fb3eddf41f71f6f6672fa5af3c
BLAKE2b-256 95a8b4c2cb96b923652cefa5805c82d8efcd72225187ec00f38fdedb388e442f

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8ddc58af248f658a64bd4d1ab15b884d15d602753666ee587c919f98f10ff65f
MD5 9670348134c7960a6ec6b3f3cfbe843d
BLAKE2b-256 ab8a51a856fb681e47f69ddd24bcb2359529e3aeb9a690cd70c32d271a89f95d

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5629b755492314e7c3cfaea3b54aed00abf1d2901571bb2165a6a246c7ee4031
MD5 dfe4fd59b8d43bda6bad8f2fdfa587d1
BLAKE2b-256 c710e74f828106a3b6188a459abbb73c72b20752aac61365c10b525c1ce79061

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f0549c70d85e348b349fb8227a79961efa92812a8953699969558f61bdb1a829
MD5 1c59acc89dba83d565649cb7000ff61a
BLAKE2b-256 7c7476dbd2e92bd4b399231d4b1cbb591d8f44075d81221209f1d7af51f60e88

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3c43c53f6b9ac6a329bd7a9b5d8808232fdc551dd8c96ea648dcc1d2887894da
MD5 4b6e5b1976b4646c74b0620a24676b94
BLAKE2b-256 872eea68472382f326662c838606f56af3caf5dfb2c05a9236fa1f05b4c9f1b2

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f4714853e9b4d6b6f682b5f8b76e372a92a16ea122e8770d83275fbfe61b872
MD5 a07431d920a0a2eadcf4e4fa358f547d
BLAKE2b-256 a65471ceef1bcca6c8d8afe71e10a84f0a0aecf743a5e5099f8cc4d76700a614

See more details on using hashes here.

File details

Details for the file ome_metadata-0.5.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ome_metadata-0.5.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5d74d427b5415c68b462982e34edbdf3caa73e26addef64e7f0d9dc1857ec6dc
MD5 9ff7bea98ec2fabe4944071a2b6a9658
BLAKE2b-256 815df37ae8c4af2556bab6be5fc90052a5f33bd5a777bebdfe6f726fb62f95ca

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.0 This release

9 files

0.4.0

10 files

0.3.3

10 files

0.3.2

10 files

0.3.1

10 files

0.3.0

10 files

0.2.2

10 files

0.2.1

10 files

0.2.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page