Pydantic Models for the GA4GH Task Execution Service
Low maintenance activity. Last release 8 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install pydantic-tespydantic-tes
---------------------
.. image:: https://badge.fury.io/py/pydantic-tes.svg
:target: https://pypi.python.org/pypi/pydantic-tes/
:alt: pydantic-tes on the Python Package Index (PyPI)
A collection of pydantic_ models for `GA4GH Task Execution Service`_.
In addition to the models, this package contains a lightweight client for TES based
on them using requests_ and utilities for working and testing it against Funnel_ -
a the TES implementation.
This Python project can be installed from PyPI using ``pip``.
::
$ python3 -m venv .venv
$ . .venv/bin/activate
$ pip install pydantic-tes
Checkout `py-tes`_ for an alternative set of Python models and an API client based on the
more lightweight attrs_ package.
.. _Funnel: https://ohsu-comp-bio.github.io/funnel/
.. _requests: https://requests.readthedocs.io/en/latest/
.. _GA4GH Task Execution Service: https://github.com/ga4gh/task-execution-schemas
.. _pydantic: https://pydantic-docs.helpmanual.io/
.. _py-tes: https://github.com/ohsu-comp-bio/py-tes
.. _attrs: https://www.attrs.org/en/stable/
.. :changelog:
History
-------
.. to_doc
---------------------
0.4.0 (2026-04-13)
---------------------
* Drop deprecated pydantic V1 syntax, require pydantic>=2 (thanks to @mvdbeek, `PR #6 <https://github.com/jmchilton/pydantic-tes/pull/6>`__).
* Migrate to Trusted Publishing (PyPI OIDC) for automated releases.
* Migrate Makefile to use uv when available.
* Replace distutils.version with packaging.version in release scripts.
---------------------
0.3.0 (2026-03-03)
---------------------
---------------------
0.2.0 (2025-04-10)
---------------------
* Allow creating tes client with extra headers (e.g. for auth) thanks to @BorisYourich.
* Fixes for running against tesk thanks to @mvdbeek.
---------------------
0.1.5 (2022-10-06)
---------------------
* Messed up 0.1.4 release, retrying.
---------------------
0.1.4 (2022-10-06)
---------------------
* Further hacking around funnel responses to produce validating responses.
---------------------
0.1.3 (2022-10-05)
---------------------
* Another attempt at publishing types.
---------------------
0.1.2 (2022-10-05)
---------------------
* Add support for Python 3.6.
* Add py.typed to package.
---------------------
0.1.1 (2022-09-29)
---------------------
* Fixes to project publication scripts and process.
---------------------
0.1.0 (2022-09-29)
---------------------
* Inital version.