Installation

Requirements

Before install iam-python-sdk, please make sure these requirements have been installed on your environments:

  • Python >= 3.6 (tested on Python 3.6, 3.7, 3.8 and 3.9)
  • PIP > 19.0

If you don’t have pip installed, this Python installation guide can guide you through the process.

Stable release

To install iam-python-sdk, run this command in your terminal:

$ pip install iam-python-sdk

This is the preferred method to install iam-python-sdk, as it will always install the most recent stable release.

Frameworks

To install iam-python-sdk with Flask frameworks support, run this command in your terminal:

$ pip install 'iam-python-sdk[flask]'

This will install flask frameworks with the latest stable version.

To install iam-python-sdk with FastAPI frameworks support, run this command in your terminal:

$ pip install 'iam-python-sdk[fastapi]'

This will install fastapi frameworks with the latest stable version.

From sources

The sources for iam-python-sdk can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/accelbyte/iam-python-sdk

Or download the tarball:

$ curl -OJL https://github.com/accelbyte/iam-python-sdk/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install