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.2.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

ghga_message_schemas-0.2.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ghga_message_schemas-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a50a2b64775eb4a35b74a8d24933eaaa5a802d86d933773e3c2fb2561edc18f0
MD5 d7d3f06590f1d449b1793b39213543f7
BLAKE2b-256 1e45a6a9509d41458b5c744c8661b1d55883b55ecfa12727a5a68d680f1d5ff6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ghga_message_schemas-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0aae24b34ba0a21d17f07aa44f3bc0a6159c494edd0848f387e124ed96894c7
MD5 a4356dd7bf32c699edeba836e22904f4
BLAKE2b-256 46977182b9a65b6e06e7a410501a7bcaeabaf7dd889d45a572245bd711dbe74b

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