https://github.com/simonw/asgi-csrf
asgi asgi-middleware csrf
Score: 17.684351118533268
Last synced: about 9 hours ago
JSON representation
Repository metadata:
ASGI middleware for protecting against CSRF attacks
- Host: GitHub
- URL: https://github.com/simonw/asgi-csrf
- Owner: simonw
- License: apache-2.0
- Created: 2020-03-01T23:29:31.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T01:04:32.000Z (almost 2 years ago)
- Last Synced: 2026-09-26T08:31:59.167Z (about 1 month ago)
- Topics: asgi, asgi-middleware, csrf
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 67
- Watchers: 2
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Owner metadata:
- Name: Simon Willison
- Login: simonw
- Email:
- Kind: user
- Description:
- Website: https://simonwillison.net/
- Location: Half Moon Bay, CA
- Twitter: simonw
- Company: Datasette
- Icon url: https://avatars.githubusercontent.com/u/9599?u=b14820695cc6ae03f8a831990697bc040596c0f4&v=4
- Repositories: 744
- Last Synced at: 2024-05-01T10:38:17.142Z
- Profile URL: https://github.com/simonw
GitHub Events
Total
- Create event: 3
- Delete event: 1
- Fork event: 1
- Issue comment event: 8
- Issues event: 6
- Pull request event: 3
- Push event: 12
- Release event: 1
- Watch event: 11
- Total: 46
Last Year
- Watch event: 1
- Total: 1
Committers metadata
Last synced: 1 day ago
Total Commits: 55
Total Committers: 4
Avg Commits per committer: 13.75
Development Distribution Score (DDS): 0.055
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Simon Willison | s****n@g****m | 52 |
| Ricardo Garcia Silva | r****a@g****t | 1 |
| Kevin Abraham | 5****d | 1 |
| Edward Betts | e****d@4****m | 1 |
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 29
Total pull requests: 17
Average time to close issues: 5 months
Average time to close pull requests: 4 months
Total issue authors: 8
Total pull request authors: 6
Average comments per issue: 1.97
Average comments per pull request: 1.71
Merged pull request: 12
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 4.0
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- simonw (22)
- Apteryks (1)
- dhofstetter (1)
- mweinelt (1)
- abraha2d (1)
- frankie567 (1)
- scott2b (1)
- yurivict (1)
Top Pull Request Authors
- simonw (8)
- EdwardBetts (2)
- ricardogsilva (2)
- abraha2d (2)
- adamantike (2)
- eamanu (1)
Top Issue Labels
- enhancement (15)
- bug (9)
- ops (1)
Top Pull Request Labels
Package metadata
- Total packages: 17
-
Total downloads:
- conda: 16,669 total
- pypi: 147,108 last-month
- Total docker downloads: 139
- Total dependent packages: 6 (may contain duplicates)
- Total dependent repositories: 71 (may contain duplicates)
- Total versions: 36
- Total maintainers: 2
pypi.org: asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://asgi-csrf.readthedocs.io/
- Licenses: Apache-2.0
- Latest release: 0.11 (published almost 2 years ago)
- Last Synced: 2026-11-02T01:08:58.831Z (1 day ago)
- Versions: 19
- Dependent Packages: 5
- Dependent Repositories: 71
- Downloads: 147,108 Last month
- Docker Downloads: 139
-
Rankings:
- Dependent packages count: 1.572%
- Dependent repos count: 1.776%
- Downloads: 1.894%
- Docker downloads count: 2.57%
- Average: 5.508%
- Stargazers count: 9.905%
- Forks count: 15.333%
- Maintainers (1)
conda-forge.org: asgi-csrf
This middleware implements the Double Submit Cookie pattern, where a cookie is set that is then compared to a csrftoken hidden form field or a x-csrftoken HTTP header.
- Homepage: https://github.com/simonw/asgi-csrf
- Licenses: Apache-2.0
- Latest release: 0.9 (published over 5 years ago)
- Last Synced: 2026-09-30T22:27:56.696Z (about 1 month ago)
- Versions: 2
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 16,669 Total
-
Rankings:
- Dependent packages count: 28.82%
- Dependent repos count: 34.025%
- Stargazers count: 38.168%
- Average: 38.8%
- Forks count: 54.185%
nixpkgs-unstable: python313Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/asgi-csrf/default.nix#L54
- Licenses: Apache-2.0
- Latest release: 0.11 (published 9 months ago)
- Last Synced: 2026-11-01T10:46:24.587Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.05: python310Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/asgi-csrf/default.nix#L43
- Licenses: Apache-2.0
- Latest release: 0.9 (published 9 months ago)
- Last Synced: 2026-08-13T19:37:53.234Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
guix: python-asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/python-web.scm#n2705
- Licenses: asl2.0
- Latest release: 0.11 (published 8 months ago)
- Last Synced: 2026-04-27T16:40:02.751Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
nixpkgs-24.05: python312Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/asgi-csrf/default.nix#L45
- Licenses: Apache-2.0
- Latest release: 0.9 (published 9 months ago)
- Last Synced: 2026-07-26T08:01:27.662Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.11: python312Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/asgi-csrf/default.nix#L45
- Licenses: Apache-2.0
- Latest release: 0.10 (published 9 months ago)
- Last Synced: 2026-03-07T14:15:31.272Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.11: python310Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/asgi-csrf/default.nix#L43
- Licenses: Apache-2.0
- Latest release: 0.9 (published 9 months ago)
- Last Synced: 2026-10-03T10:26:21.922Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.11: python311Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/asgi-csrf/default.nix#L45
- Licenses: Apache-2.0
- Latest release: 0.10 (published 9 months ago)
- Last Synced: 2026-04-20T17:05:53.413Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.05: python311Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/asgi-csrf/default.nix#L43
- Licenses: Apache-2.0
- Latest release: 0.9 (published 9 months ago)
- Last Synced: 2026-08-28T12:26:20.341Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
ubuntu-24.10: asgi-csrf
- Homepage: https://github.com/simonw/asgi-csrf
- Licenses: apache-2.0
- Latest release: 0.9-2 (published 9 months ago)
- Last Synced: 2026-08-18T11:30:36.898Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: asgi-csrf
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://packages.debian.org/trixie/asgi-csrf
- Licenses: apache-2.0
- Latest release: 0.11-2 (published 9 months ago)
- Last Synced: 2026-03-13T14:14:25.695Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: asgi-csrf
- Homepage: https://github.com/simonw/asgi-csrf
- Licenses: apache-2.0
- Latest release: 0.9-1 (published 9 months ago)
- Last Synced: 2026-03-09T22:18:18.137Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
nixpkgs-23.11: python311Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/asgi-csrf/default.nix#L43
- Licenses: Apache-2.0
- Latest release: 0.9 (published 9 months ago)
- Last Synced: 2026-04-15T16:07:16.762Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
ubuntu-24.04: asgi-csrf
- Homepage: https://github.com/simonw/asgi-csrf
- Licenses: apache-2.0
- Latest release: 0.9-2 (published 9 months ago)
- Last Synced: 2026-08-11T17:08:17.384Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
nixpkgs-24.05: python311Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/asgi-csrf/default.nix#L45
- Licenses: Apache-2.0
- Latest release: 0.9 (published 9 months ago)
- Last Synced: 2026-03-09T01:06:59.009Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-unstable: python314Packages.asgi-csrf
ASGI middleware for protecting against CSRF attacks
- Homepage: https://github.com/simonw/asgi-csrf
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/asgi-csrf/default.nix#L54
- Licenses: Apache-2.0
- Latest release: 0.11 (published 9 months ago)
- Last Synced: 2026-11-01T11:22:10.162Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
Dependencies
- itsdangerous *
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite