Skip to content

Collection of utilities and reusable components used throughout our Python projects.

License

Notifications You must be signed in to change notification settings

savannahghi/sghi-commons

Repository files navigation

SGHI Commons

Collection of useful Python utilities.

Python Version from PEP 621 TOML Checked with pyright Ruff pre-commit Semantic Release: conventionalcommits GitHub License

CI Coverage Status


A collection of utilities and reusable components used throughout our Python projects. They include:

  • Utilities for working with resources that require freeing or cleanup after use.
  • Components and utilities for defining retry policies, allowing applications to retry operations that might fail due to transient errors.
  • Components for defining and accessing application configurations.
  • A registry component for storing key-value pairs.
  • A signal dispatcher inspired by PyDispatch and Django Dispatch.

Contribute

Clone the project and run the following command to install dependencies:

pip install -e .[dev,test,docs]

Set up pre-commit hooks:

pre-commit install

License

MIT License

Copyright (c) 2023, Savannah Informatics Global Health Institute

About

Collection of utilities and reusable components used throughout our Python projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages