Skip to main content

vo-models

vo-models is an open-source project to provide Python models for IVOA service protocols.

The project is designed to be used by IVOA members, service implementors, and developers to help facilitate the development of IVOA-compliant services and clients.

Features

  • Pydantic-xml Models: The project includes Python models for IVOA protocols, using pydantic-xml. Based on Pydantic, these models describe transactions for an IVOA protocol, such as UWS, and feature automatic validation, parsing and serialization of XML data for use with Python clients and web frameworks.

  • Expandability: The project is designed with future expansion in mind. Plans include extending the schema and models to cover other IVOA standards and future versions of existing standards where possible.

Protocols

The following IVOA protocols are currently supported:

  • UWS (Universal Worker Service) version 1.1
  • VOSI (IVOA Support Interfaces) version 1.1
    • VOSI Availability
    • VOSI Tables
    • VOSI Capabilities
  • VODataService version 1.2 (limited)
    • DataType
    • FKColumn
    • ForeignKey
    • Table
    • TableParam
    • TableSchema
    • TableSet
    • others
  • VOResource version 1.1
  • TAPRegExt version 1.0
  • VORegistry 1.1
  • RegistryInterfaces version 1.0

You can read more about using these models in our documentation: https://vo-models.readthedocs.io/

Installation

The latest version of the project can be installed from PyPI:

pip install vo-models

Conda

To install the project using Conda, you can use the provided environment file:

git clone https://github.com/spacetelescope/vo-models.git
cd vo-models
conda env create -f environment.yml
conda activate vo-models
pip install -r requirements.txt
pip install .

For active development, install the project in development mode:

pip install -e .[dev,test]

Contributing

Contributions to the project are more than welcome. Collaboration and discussion with other IVOA members, service implementors, and developers is what started this project, and is what makes the IVOA great.

If you are interested in contributing, whether that be adding a new protocol, improving the schema, fixing a bug or even a typo, please feel free to open an issue or pull request.

License

This project is licensed under the MIT License.

Metadata

Release files for vo-models 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vo-models 0.5.4
File Size Uploaded
vo_models-0.5.4.tar.gz 27.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vo-models 0.5.4
File Interpreter ABI Platform
vo_models-0.5.4-py3-none-any.whl Python 3 none any Details

Total release size: 61.2 kB

Release files / vo_models-0.5.4.tar.gz

Download URL vo_models-0.5.4.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7dab0274e6e751c563f70d02863ebd84dbc31a19f91502ba4ebcd02cb169e1bf
BLAKE2b-256 checksum
How to use checksums
1607840dd941ea4e2063baf3ec806c0af5466105b43c3f2c5e7b8f084195e64d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / vo_models-0.5.4-py3-none-any.whl

Download URL vo_models-0.5.4-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b590c9601e3b331e3a7390555d30e0cccea9b1353716a312d7fa60448aa04500
BLAKE2b-256 checksum
How to use checksums
e28f91fee54e2a07ec3a9dbcb95744001cc60b95b4c8fab7195c19c34b3f5015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page