Skip to main content

GHGA Message Schemas: A package that collects schemas used for messaging between GHGA service.

Project description

tests codecov

GHGA Message Schemas

A package that collects schemas used for messaging between GHGA service.

Quick Start

Installation

This package is available at PyPI: https://pypi.org/project/ghga-message-schemas

You can install it from there using:

pip install ghga-message-schemas

Thereby, you may specify following extra(s):

  • dev: dependencies needed for development and testing

Development

For setting up the development environment, we rely on the devcontainer feature of vscode in combination with Docker Compose.

To use it, you have to have Docker Compose as well as vscode with its "Remote - Containers" extension (ms-vscode-remote.remote-containers) installed. Then open this repository in vscode and run the command Remote-Containers: Reopen in Container from the vscode "Command Palette".

This will give you a full-fledged, pre-configured development environment including:

  • infrastructural dependencies (databases, etc.)
  • all relevant vscode extensions pre-installed
  • pre-configured linting and auto-formating
  • a pre-configured debugger
  • automatic license-header insertion

Moreover, inside the devcontainer, there if following convenience commands available (please type it in the integrated terminal of vscode): dev_install - installs the package with all development dependencies and installs pre-commit (please run that if you are starting the devcontainer for the first time or if you added any python dependencies to the ./setup.cfg)

If you prefer not to use vscode, you could get a similar setup (without the editor specific features) by running the following commands:

# Execute in the repo's root dir:
cd ./.devcontainer

# build and run the environment with docker-compose
docker-compose up

# attach to the main container:
# (you can open multiple shell sessions like this)
docker exec -it devcontainer_app_1 /bin/bash

License

This repository is free to use and modify according to the Apache 2.0 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

ghga_message_schemas-0.3.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

ghga_message_schemas-0.3.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file ghga_message_schemas-0.3.1.tar.gz.

File metadata

  • Download URL: ghga_message_schemas-0.3.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for ghga_message_schemas-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8adbf6d73a283674a76f48077916b9163c81740fd032ee735bafa04649d5a46d
MD5 645a963f9818af93493ced6efa71b8f5
BLAKE2b-256 767f4d3347322f8f1f651fe158ee4de5b62acfc7417a45388d7871899ff113e3

See more details on using hashes here.

File details

Details for the file ghga_message_schemas-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: ghga_message_schemas-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for ghga_message_schemas-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40ecc43aab138b6b7460c262b0e6dda34fc76700d6faa585dbdce43f40d140b6
MD5 237a0d485e932f7d26a6ad8fc793211e
BLAKE2b-256 89bf21acd4f213675c5668f9d1c96cb5853dae4347fce4f8e7e1b65cbfb4553f

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