安装¶
从安装开始使用 joserfc。
我们建议使用最新版本的 Python。joserfc
支持 Python 3.8 及更高版本。该库依赖 cryptography,如果您遇到与 cryptography 相关的任何问题,您可以参考文档 cryptography 的安装指南。
Package install¶
joserfc
is conveniently available as a Python package on PyPI and conda-forge.
It can be easily installed via:
pip install joserfc
uv add joserfc
conda install conda-forge::joserfc
依赖管理¶
有多种方法可以管理项目的依赖关系,以下是一些示例,可以用来跟踪您项目中的 joserfc
。
pyproject.toml¶
如果您的 Python 项目使用 pyproject.toml
,您可以将 joserfc
添加到 project.dependencies
中。
pyproject.toml¶
[project]
dependencies = [
"joserfc",
]
requirements.txt¶
如果您在 requirements.txt
中跟踪依赖项,您可以将 joserfc
添加到 requirements.txt
文件中。
requirements.txt¶
joserfc