Skip to main content

Pydantic schema for TissUUmaps

Project description

TissUUmaps-schema

pypi python test-and-deploy coverage issues pull requests license

Pydantic schema for TissUUmaps

Requirements

Python 3.9 or later

Installation

Use the package manager pip to install tissuumaps-schema:

pip install tissuumaps-schema

Usage

To list all available $VERSION values:

tissuumaps-schema versions

To list all available $MODEL values for the specified $VERSION:

tissuumaps-schema models --version $VERSION

To generate a JSON Schema for the specified $VERSION and $MODEL:

tissuumaps-schema generate --version $VERSION $MODEL

To upgrade an existing instance of $MODEL to the specified $VERSION:

tissuumaps-schema upgrade --to-version $VERSION $MODEL myinstance.json

To validate an existing instance of $MODEL against the specified $VERSION:

tissuumaps-schema validate --expect-version $VERSION $MODEL myinstance.json

Support

For each $VERSION and $MODEL (lower case), a JSON Schema is hosted on:

https://tissuumaps.github.io/TissUUmaps-schema/$VERSION/$MODEL.json

The JSON Schema of each $VERSION and $MODEL (lower case) is documented on:

https://tissuumaps.github.io/TissUUmaps-schema/$VERSION/$MODEL.html

If you find a bug, please raise an issue.

Contributing

Pull requests are welcome.

For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Changelog

Changelog

Authors

SciLifeLab BioImage Informatics Facility (BIIF)

License

MIT

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

tissuumaps-schema-0.1.0.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

tissuumaps_schema-0.1.0-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

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