$npx skillfedfor your agent

ome-types

Python dataclasses for the OME data model

With conditionsPyPI Information AnalysisReleased Nov 2025178.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ome_types-0.6.3-py3-none-any.whl
v0.6.3 · released 2025-11-26 · Python >=3.9 · 4 runtime deps: pydantic-core, pydantic-extra-types, pydantic, xsdata

Yes, if you work with OME-XML or OME-TIFF microscopy data in Python. The library is stable, has no known vulnerabilities, and low install friction. The aging maintenance status (261 days since last release) is a minor concern for long-term schema compatibility, but the package remains functional and the repository is not archived. Install with optional dependencies (lxml, pint) only if you need XML validation or unit quantity support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Optional dependencies (lxml, pint, xmlschema) needed for XML validation or unit quantity properties.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions; attribution is required but no copyleft obligations apply.

last release 2025-11-26 (261 days) · last repo commit 2026-02-12 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 178,508 downloads/mo, #10,190 on PyPI

Verify before relying

pip install ome-types

from ome_types import from_xml
ome = from_xml('path/to/file.ome.xml')
print(ome.images[0].pixels.physical_size_x)
  • Whether the aging maintenance status (261 days since release) poses risk for long-term compatibility with evolving OME schema versions.
  • Performance characteristics when parsing large or deeply nested OME-XML documents.
  • Completeness of OME-2016-06 schema coverage and support for newer OME schema versions.
Same gist for agents: .md · .json

What it is and what it does

ome-types is a pure-Python library that converts OME-XML microscopy metadata into fully-typed Python dataclasses and back again. It parses OME-XML files or extracts metadata from OME-TIFF images into an object model where all OME concepts (Image, Plate, Pixels, Channel, etc.) are accessible as snake_case attributes on Python objects. You can then read, modify, or construct new metadata programmatically and serialize it back to valid OME-XML.

The library depends on pydantic, pydantic-core, pydantic-extra-types, and xsdata for schema validation and XML handling. It does not require a Java virtual machine, making it lightweight for Python-native workflows. Most of the model code is generated at install time from the OME schema, ensuring consistency with the OME-2016-06 specification.

Use it for

  • Extract and inspect microscopy acquisition metadata from OME-TIFF files in Python without external tools.
  • Programmatically modify OME metadata (e.g., update physical pixel sizes, add instrument details) and write back to OME-XML.
  • Validate OME-XML documents against the OME schema and convert between XML and Python object representations.
  • Build OME-compliant metadata from scratch by constructing Instrument, Microscope, Objective, and Image objects.
  • Integrate OME metadata handling into scientific image processing pipelines written in Python.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with OME-XML or OME-TIFF microscopy data in Python.

The library is stable, has no known vulnerabilities, and low install friction. The aging maintenance status (261 days since last release) is a minor concern for long-term schema compatibility, but the package remains functional and the repository is not archived. Install with optional dependencies (lxml, pint) only if you need XML validation or unit quantity support.

Install

ome-types on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 261 days ago and the repository shows minimal activity (1 star), though it remains actively maintained with a recent commit on 2026-02-12.

Requires Python 3.9 or later. Optional dependencies (lxml, pint, xmlschema) needed for XML validation or unit quantity properties.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions; attribution is required but no copyleft obligations apply.

Quickstart

pip install ome-types

from ome_types import from_xml
ome = from_xml('path/to/file.ome.xml')
print(ome.images[0].pixels.physical_size_x)

Verify before relying

  • Whether the aging maintenance status (261 days since release) poses risk for long-term compatibility with evolving OME schema versions.
  • Performance characteristics when parsing large or deeply nested OME-XML documents.
  • Completeness of OME-2016-06 schema coverage and support for newer OME schema versions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
pydantic-corepydantic-extra-typespydanticxsdata
MaintenanceAging 261 days since the last release
Last repo commit
First released
Downloads178,508 / month, #10,190 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: ome_types-0.6.3-py3-none-any.whl

Tags

Capabilities
ome-xml parsing pythonmicroscopy metadata dataclassesome data model typesome-tiff metadata extractionxml to python objects microscopy
Topics
microscopy-metadataome-xmlschema-validation
PyPI keywords
microscopyomeome-modelschematypes

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ome-xml parsing python”

  • ome-typesParse and manipulate OME-XML microscopy metadata as fully-typed…
  • tree-sitterPython bindings to the tree-sitter parsing library, enabling…
  • libvalkeylibvalkey is a Python C extension that accelerates parsing of…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also ome-zarr · Sickle · tifffile · maec · xsdata · lxml · pydantic-xml · pykml · xml-python · types-lxml