Metadata-Version: 2.4
Name: cacl
Version: 0.1.1
Summary: Reusable FastAPI authentication library with JWT tokens and database-backed blacklisting
Author: Anton Serebriakov
License-Expression: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Framework :: FastAPI
Classifier: Topic :: Security
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.100.0
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: python-jose>=3.3.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: postgres
Requires-Dist: asyncpg>=0.29.0; extra == "postgres"
Requires-Dist: greenlet>=3.0.0; extra == "postgres"
Provides-Extra: test
Requires-Dist: pytest>=8.0.0; extra == "test"
Requires-Dist: pytest-asyncio>=0.23.0; extra == "test"
Dynamic: license-file

<p align="center">
  <img
  src="https://raw.githubusercontent.com/CACL-project/CACL/main/docs/assets/logo.png"
  alt="CACL logo"
  width="300"
/>
</p>

# CACL - Clear Authentication Control Library

Maintainer: Anton Serebriakov

This repository contains:

- **`cacl/`** — Reusable FastAPI authentication library ([documentation](cacl/README.md))
- **`app/`** — Demo application demonstrating library usage

## Library Documentation

See [cacl/README.md](cacl/README.md) for installation, configuration, and usage.

## Testing

- **Library tests**: See [docs/testing.md](docs/testing.md)
- **E2E verification**: See [docs/verification/auth_e2e.md](docs/verification/auth_e2e.md)

## Quick Start (Demo App)

```bash
docker compose up -d --build
docker compose exec web alembic upgrade head
```

Then visit http://localhost:8001/docs for the API documentation.
