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-0015 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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ghga_service_commons-8.1.0.tar.gz.
File metadata
- Download URL: ghga_service_commons-8.1.0.tar.gz
- Upload date:
- Size: 41.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
713d31c1d57ad102a569ceb782a8309f3425afa0396329250efb646702fe5b6d
|
|
| MD5 |
71cd2533aecc3995ed438bdbcfc46a6f
|
|
| BLAKE2b-256 |
6d0acd9d0927f7dbd5123518ea6bee657265fc787201c309a59e688f881a81ba
|
File details
Details for the file ghga_service_commons-8.1.0-py3-none-any.whl.
File metadata
- Download URL: ghga_service_commons-8.1.0-py3-none-any.whl
- Upload date:
- Size: 71.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8af8eb67428a38dd1aaa153839a82d48c07498ee41b11693fa82229c6fbfad9b
|
|
| MD5 |
990e3b63d9b049eb3beafce0239851cf
|
|
| BLAKE2b-256 |
5c3176d5a626afa159293f5867710ecfc0484e77ea22771e4bfb759dfc5a2e18
|