Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 2.59 KB

README.md

File metadata and controls

50 lines (34 loc) · 2.59 KB

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