pip install fastapi-csrf-protect==0.2.1

Simple integration of Cross-Site Request Forgery (XSRF) Protection by using either Cookies or Context combined with Headers

Source
Among top 10% packages on PyPI.
Over 7.3K downloads in the last 90 days.

Version usage of fastapi-csrf-protect

Proportion of downloaded versions in the last 3 months (only versions over 1%).

0.1.9

15.70%

0.2.0

14.40%

0.1.6

11.44%

0.1.3

10.21%

0.1.7

8.75%

0.1.8

7.62%

0.2.1

7.32%

0.1.5

4.77%

0.1.4

3.01%

0.1.2

2.89%

0.1.1

2.86%

0.1.0

2.77%

0.0.2

2.75%

0.0.1

2.75%

0.0.3

2.73%