Observed since 20 Oct, 17:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
🧑🏫 A library as an abstract layer to rule BackEnd side components and support it as Python plugin features.
Abstract Backend provides a pluggable backend layer for Python services. Applications code against shared protocols while concrete providers—Redis, Kafka, AWS SQS, or your own implementation—are discovered at runtime. Install a provider with pip, remove it with pip uninstall, and keep your business logic unchanged.
abe/types.py, keeping providers honest with structural typing and contract tests.load_backend() selects implementations via Python entry points, driven by environment variables.Install the core library:
pip install abstract-backend
Then install one or more providers, for example the Redis backend:
pip install abe-redis
Set QUEUE_BACKEND=redis (the entry-point exposed by abe-redis) and load_backend() will resolve the correct provider at runtime.
from abe.backends.message_queue.loader import load_backend
from abe.backends.message_queue.consumer import AsyncLoopConsumer
async def process(payload: dict[str, object]) -> None:
...
async def main() -> None:
backend = load_backend()
consumer = AsyncLoopConsumer(backend, group="billing")
await consumer.run(process)
See docs/contents/development/architecture/ for diagrams explaining the flow and provider relationships.
abe/types.py (especially MessageQueueBackendProtocol).from_env() constructor for runtime configuration.abe.backends.message_queue in pyproject.toml.test/contract_test/backends/message_queue/ against your provider.pip install and QUEUE_BACKEND.The showcase at /docs/src/pages/showcase.tsx highlights template and reference implementations such as abe-redis.
uv pip install -r pyproject.toml or your preferred tool.uv run pytest.uv run mypy.uv run pylint abe tests.The project follows black formatting and pylint linting (see .pre-commit-config.yaml).
docs/contents/development/ and include architecture, provider lifecycle, and layer integration guides./docs/src/pages/showcase.tsx) lists template and implementation repositories with release badges.cd docs && pnpm start for local previews..github/workflows/.docusaurus.config.ts and docs/contents/development/sidebars.ts manage documentation navigation.This project is licensed under the MIT License.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1 | 2 Nov 2025 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 17:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b6338adb45abd579d5007726ba27dbdedcf1b2ababf8e8ba4e3474d21a4efe98