ghga-service-commons
This Python library serves as a collection of common utilities used by the microservices developed at German Human Genome-Phenome Archive (GHGA).
It collects boilerplate code for common functionalities such as API server setup, authentication and authorization.
This library is primarily intended for internal use at GHGA and should not be seen as a general-purpose microservice chassis. However, if this library matches your specific needs as well, please feel free to use it. It is open source.
Installation
This package is available at PyPI: https://pypi.org/project/ghga_service_commons
You can install it from there using:
pip install ghga_service_commons
Thereby, you may specify following extra(s):
api: dependencies needed to use the API server functionalitiesauth: dependencies needed for dealing with authentication and authorization
Development
This package is a member of the GHGA monorepo and is
developed from the repository root rather than on its own. The repository ships a
devcontainer with the whole toolchain: open it in VS Code and run
Remote-Containers: Reopen in Container, or set the environment up directly with
just sync.
The usual tasks, run from the repository root (see ADR-0034 for the full recipe list):
just sync # install every member plus the shared dev toolchain
just test libs/ghga-service-commons # this member's test suite
just lint # ruff check + format check across the workspace
License
This repository is free to use and modify according to the Apache 2.0 License.
Metadata
Release files for ghga_service_commons 8.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ghga_service_commons-8.1.1.tar.gz | 41.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ghga_service_commons-8.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 112.3 kB
Release files / ghga_service_commons-8.1.1.tar.gz
| Download URL | ghga_service_commons-8.1.1.tar.gz |
|---|---|
| Size | 41.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8595aadfea075f07fe11718bd081189bdb780ca597444225a26c8f47c8fe7479
|
|
BLAKE2b-256 checksum How to use checksums |
05caf8a83a4a86edc0172766059ba9c3464efc55f4ebdfe9b62d20fba6684f0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ghga_service_commons-8.1.1-py3-none-any.whl
| Download URL | ghga_service_commons-8.1.1-py3-none-any.whl |
|---|---|
| Size | 71.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e09b9768260b3d23bf68c2867e33d02ab3eb7f646ae557f86da008d986f4c8db
|
|
BLAKE2b-256 checksum How to use checksums |
66f1d08d36dcf8f6a01ead605292c6505a406e7b9888e2aca93765d3aa5bf84d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|