Skip to main content

fastapi-simple-jwt

一个FastApi简单的jwt验证

参考了官方文档修改而成

https://fastapi.tiangolo.com/zh/tutorial/security/first-steps/

前端可搭配Pure-admin使用

https://github.com/pure-admin/vue-pure-admin

安装

pip install fastapi-simple-jwt

使用

确保运行目录下有.env文件,secret_key可使用 openssl rand -hex 32 生成

pip install -r requirements.txt

Release files for fastapi-simple-jwt 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-simple-jwt 0.1.1
File Size Uploaded
fastapi-simple-jwt-0.1.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-simple-jwt 0.1.1
File Interpreter ABI Platform
fastapi_simple_jwt-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / fastapi-simple-jwt-0.1.1.tar.gz

Download URL fastapi-simple-jwt-0.1.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ca48fac686c67aa034c2286b6fbf23f253570fe8ab49e39e0379a6f656607cde
BLAKE2b-256 checksum
How to use checksums
2aa33ae8dc613404073a9452b1fc5fd472cd7214065d064cc2f4eb5b5557ed07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / fastapi_simple_jwt-0.1.1-py3-none-any.whl

Download URL fastapi_simple_jwt-0.1.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
973430d2e4db64c664879501b8c81f6ab0fc026f4791a750c2cf4e84da708292
BLAKE2b-256 checksum
How to use checksums
125a3c1dec6495cb2166708b3b2d3c5c6912e3ecd0ba2c4d93a1b52261927047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page