Comparison
asgi-csrf vs starlette-csrf
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
ASGI middleware for protecting against CSRF attacks
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install asgi-csrfStarlette middleware implementing Double Submit Cookie technique to mitigate CSRF
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install starlette-csrfIn short
- asgi-csrf is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- starlette-csrf is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
Side by side
| Metric | asgi-csrf | starlette-csrf |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | Pythie’s Index: 14 |
| Verdict | Slowing down | Slowing down |
| Downloads / month | 233.1K | 129.4K |
| Downloads, month over month | +31% | -10% |
| GitHub stars | 67 | 83 |
| Stars, last 7 days | – | – |
| Direct dependents | 3 | 6 |
| Last release | Nov 15, 2024 | Jun 27, 2023 |
| Releases, 12 months | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 |
| Recent contributors | 4 | 2 |
| First release | Mar 2020 | May 2021 |
| Python versions | – | 3.8 – 3.11 |
| License | Apache-2.0 | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.