Installation

Get started with joserfc from installation.


We recommend using the latest version of Python. joserfc supports Python 3.8 and newer. The package has a dependency of cryptography, if you encountered any issues related with cryptography, you can follow the documentation installation of cryptography.

pip install

joserfc is conveniently available as a Python package on PyPI and can be easily installed using pip.

pip install joserfc
pip install joserfc pycryptodome

Important

To use C20P and XC20P algorithms, developers have to install the PyCryptodome module.

Dependency management

There are several ways to manage the dependencies of your project, here are some examples to track joserfc in your project.

pyproject.toml

If you’re using pyproject.toml for your Python project, you can add joserfc to project.dependencies.

pyproject.toml
[project]
dependencies = [
    "joserfc",
]

Pipfile

If you prefer pipenv, you would like to track dependencies in Pipfile, then add joserfc to [packages] section.

Pipfile
[packages]
joserfc = "*"

requirements.txt

If you’re tracking dependencies in requirements.txt, you can add joserfc to the requirements file.

requirements.txt
joserfc