Metadata-Version: 2.5
Name: django-registries
Version: 0.0.5
Summary: django-registries is a structured way to create registries of implementations.
Project-URL: Documentation, https://django-registries.readthedocs.io/
Project-URL: Issues, https://github.com/valberg/django-registries/issues
Project-URL: Source, https://github.com/valberg/django-registries
Author-email: Víðir Valberg Guðmundsson <valberg@orn.li>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.10
Requires-Dist: django>=5.1
Provides-Extra: docs
Requires-Dist: furo==2025.12.19; extra == 'docs'
Requires-Dist: sphinx-autobuild==2024.10.3; extra == 'docs'
Requires-Dist: sphinx==8.1.3; extra == 'docs'
Provides-Extra: test
Requires-Dist: coverage[toml]>=7.9.1; extra == 'test'
Requires-Dist: django-stubs>=5.2.1; extra == 'test'
Requires-Dist: mypy>=1.16.1; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Requires-Dist: pytest>=8.4.1; extra == 'test'
Description-Content-Type: text/markdown

# Django Registries

[![Tests](https://github.com/valberg/django-registries/actions/workflows/test.yml/badge.svg)](https://github.com/valberg/django-registries/actions/workflows/test.yml)
[![Documentation](https://readthedocs.org/projects/django-registries/badge/?version=latest)](https://django-registries.readthedocs.io/en/latest/?badge=latest)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/valberg/django-registries/main.svg)](https://results.pre-commit.ci/latest/github/valberg/django-registries/main)
[![PyPI - Version](https://img.shields.io/pypi/v/django-registries.svg)](https://pypi.org/project/django-registries)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-registries.svg)](https://pypi.org/project/django-registries)

-----

**django-registries** is a structured way to create registries of implementations.

Let’s say you have a project that needs to be able to send emails. You want to be able to use different email
backends, depending on the situation. You could create a registry for that and register different implementations
of the EmailBackendInterface. Then, you could use the registry to get the implementation you want to use.

**Table of Contents**

- [Installation](#installation)
- [Development](#development)
- [Documentation](#documentation)
- [License](#license)

## Installation

```console
pip install django-registries
```

## Development

```console
git clone
cd django-registries
pip install uv
uv sync --extra test
uv run pytest -s --cov-report=term-missing --cov-config=pyproject.toml --cov=django_registries --cov=tests --cov=append
uv run mypy --config-file=pyproject.toml .
```

## Documentation

[https://django-registries.readthedocs.io/en/latest/](https://django-registries.readthedocs.io/en/latest/)

## License

`django-registries` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
