GHGA Message Schemas: A package that collects schemas used for messaging between GHGA service.
Project description
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
Built Distribution
File details
Details for the file ghga_message_schemas-0.2.1.tar.gz
.
File metadata
- Download URL: ghga_message_schemas-0.2.1.tar.gz
- Upload date:
- Size: 8.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e95e244afc8d8971afedd3c0175ae6a196ee3d560b0ebccb6294989278890c8 |
|
MD5 | 50c64d50aa15867145db69530d4dc2b8 |
|
BLAKE2b-256 | f410a5c827d7f5a64b5d394f89ca8407aa87b78b408efc606c904fdcd12797e5 |
File details
Details for the file ghga_message_schemas-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: ghga_message_schemas-0.2.1-py3-none-any.whl
- Upload date:
- Size: 13.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33c6298948ae5dbd6b80ec4929724b27c8618d8a08a43286bcd6cd43e529de45 |
|
MD5 | 940caceb01c4147b4c10ea91bcc4c258 |
|
BLAKE2b-256 | 492eec2081399cd3811e38108026341849fb04a2262b90a401dd6e68d715830c |