Skip to main content

Data models for IVOA protocols

Project description

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
  • VODataService version 1.2 (limited)
    • DataType
    • FKColumn
    • ForeignKey
    • Table
    • TableParam
    • TableSchema
    • TableSet

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.

Project details


Download files

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

Source Distribution

vo-models-0.3.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

vo_models-0.3.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file vo-models-0.3.0.tar.gz.

File metadata

  • Download URL: vo-models-0.3.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for vo-models-0.3.0.tar.gz
Algorithm Hash digest
SHA256 271f2dc867e4a41d0e08fe0da6477a0efc6fb61f55cb48525aadb1808a6df8ce
MD5 b136d8a97f85bf7287adc06d0650ece4
BLAKE2b-256 ded821e6e3a7782f0babd1dd3081829feb39a610f36abebf0c5dcfdac4c6cc5a

See more details on using hashes here.

File details

Details for the file vo_models-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: vo_models-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for vo_models-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc3588df0648d607759792d484784c838de84e796e8b9224a151fb9782dd93b
MD5 e8b2fa12a17b95338b3f21201306336f
BLAKE2b-256 29ebf20041d369e43c41c66238df7de8bcd3b9c3f2bcd1b9fa9cbb69b3fc5ac7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page