Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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.

Metadata

Release files for ghga-message-schemas 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghga-message-schemas 0.3.1
File Size Uploaded
ghga_message_schemas-0.3.1.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ghga-message-schemas 0.3.1
File Interpreter ABI Platform
ghga_message_schemas-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.3 kB

Release files / ghga_message_schemas-0.3.1.tar.gz

Download URL ghga_message_schemas-0.3.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8adbf6d73a283674a76f48077916b9163c81740fd032ee735bafa04649d5a46d
BLAKE2b-256 checksum
How to use checksums
767f4d3347322f8f1f651fe158ee4de5b62acfc7417a45388d7871899ff113e3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ghga_message_schemas-0.3.1-py3-none-any.whl

Download URL ghga_message_schemas-0.3.1-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40ecc43aab138b6b7460c262b0e6dda34fc76700d6faa585dbdce43f40d140b6
BLAKE2b-256 checksum
How to use checksums
89bf21acd4f213675c5668f9d1c96cb5853dae4347fce4f8e7e1b65cbfb4553f
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page