Start by cloning the repository:
$ git clone https://github.com/Infisical/infisical-python
$ cd infisical-pythonWe recommand that you create a virtual environment:
$ python -m venv envThen activate the environment with:
# For linux
$ source ./env/bin/activate
# For Windows PowerShell
$ .\env\Scripts\Activate.ps1Make sure that you have the latest version of pip to avoid errors on the next step:
$ python -m pip install --upgrade pipThen install the project in editable mode and the dependencies with:
$ pip install -e '.[dev,test]'To run all the tests you can use the following command:
$ pytest tests