Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
user=tlambert03
user=imaging-formats
project=ome-types
issues=false
exclude-labels=duplicate,question,invalid,wontfix,hide
Expand Down
520 changes: 260 additions & 260 deletions CHANGELOG.md

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# ome-types

[![License](https://img.shields.io/github/license/tlambert03/ome-types)](LICENSE)
[![License](https://img.shields.io/github/license/imaging-formats/ome-types)](LICENSE)
[![Version](https://img.shields.io/pypi/v/ome-types.svg)](https://pypi.python.org/pypi/ome-types)
[![CondaVersion](https://img.shields.io/conda/v/conda-forge/ome-types)](https://anaconda.org/conda-forge/ome-types)
[![Python
Version](https://img.shields.io/pypi/pyversions/ome-types.svg)](https://python.org)
[![Tests](https://github.com/tlambert03/ome-types/workflows/tests/badge.svg)](https://github.com/tlambert03/ome-types/actions)
[![Tests](https://github.com/imaging-formats/ome-types/workflows/tests/badge.svg)](https://github.com/imaging-formats/ome-types/actions)
[![Docs](https://readthedocs.org/projects/ome-types/badge/?version=latest)](https://ome-types.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/tlambert03/ome-types/branch/main/graph/badge.svg?token=GocY9y8A32)](https://codecov.io/gh/tlambert03/ome-types)
[![Benchmarks](https://img.shields.io/badge/⏱-codspeed-%23FF7B53)](https://codspeed.io/tlambert03/ome-types)
[![codecov](https://codecov.io/gh/imaging-formats/ome-types/branch/main/graph/badge.svg?token=GocY9y8A32)](https://codecov.io/gh/imaging-formats/ome-types)
[![Benchmarks](https://img.shields.io/badge/⏱-codspeed-%23FF7B53)](https://codspeed.io/imaging-formats/ome-types)

## A pure-python implementation of the OME data model

Expand All @@ -21,7 +21,7 @@ can also take these python objects and output them into valid OME-XML.
machine.

> Note: The generated python code can be seen in the [`built`
> branch](https://github.com/tlambert03/ome-types/tree/built).
> branch](https://github.com/imaging-formats/ome-types/tree/built).
> (Read the [code generation](#code-generation) section for details).

### 📖   [documentation](https://ome-types.readthedocs.io/)
Expand Down Expand Up @@ -56,7 +56,7 @@ conda install -c conda-forge ome-types
### from github (bleeding edge dev version)

```shell
pip install git+https://github.com/tlambert03/ome-types.git
pip install git+https://github.com/imaging-formats/ome-types.git
```

## Usage
Expand Down Expand Up @@ -230,7 +230,7 @@ generated at install time, and is therefore not checked into source (or visible
in the main branch of this repo).

You can see the code generated by the main branch in the [built
branch](https://github.com/tlambert03/ome-types/tree/built)
branch](https://github.com/imaging-formats/ome-types/tree/built)

The package at `src/ome_autogen` converts the [ome.xsd
schema](https://www.openmicroscopy.org/Schemas/OME/2016-06/ome.xsd) into valid
Expand All @@ -248,7 +248,7 @@ The documentation and types for the full model can be in the [API Reference](htt
To clone and install this repository locally:

```shell
git clone https://github.com/tlambert03/ome-types.git
git clone https://github.com/imaging-formats/ome-types.git
cd ome-types
pip install -e .[test,dev]
```
Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
site_name: ome-types
site_author: Talley Lambert
repo_name: tlambert03/ome-types
repo_url: https://github.com/tlambert03/ome-types
repo_name: imaging-formats/ome-types
repo_url: https://github.com/imaging-formats/ome-types
edit_uri: edit/main/docs/
site_description: Python dataclasses for the OME data model
copyright: "Talley Lambert © 2023"
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ dependencies = [
]

[project.urls]
Source = "https://github.com/tlambert03/ome-types"
Tracker = "https://github.com/tlambert03/ome-types/issues"
Source = "https://github.com/imaging-formats/ome-types"
Tracker = "https://github.com/imaging-formats/ome-types/issues"
Documentation = "https://ome-types.readthedocs.io/en/latest/"

[project.entry-points."napari.manifest"]
Expand All @@ -56,7 +56,7 @@ lxml = [
"lxml >=5.3; python_version >= '3.13'",
]
# Keep build here for hatch compatibility
build = ["ruff ==0.13.2", "xsdata[cli] >=24.7"]
build = ["ruff ==0.13.2", "xsdata[cli] ==25.7"]

# https://peps.python.org/pep-0735/
[dependency-groups]
Expand Down
2 changes: 1 addition & 1 deletion src/xsdata_pydantic_basemodel/pydantic_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _pydantic_field_to_dataclass_field(
metadata = _get_metadata(pydantic_field).copy()

# HACK
# see https://github.com/tlambert03/ome-types/pull/235 for description of problem
# see https://github.com/imaging-formats/ome-types/pull/235 for background
# This is a hack to get around the fact that xsdata requires Element choices
# to be added to the Field metadata as `choices: List[dict]` ... but pydantic
# requires that everything in a Field be hashable (if you want to cast the model
Expand Down
Loading