Skip to content

Installation

Installation

Stable release

To install pysesame3, run this command in your terminal:

1
$ pip install pysesame3

If you want to use CognitoAuth, run this command instead.

1
$ pip install pysesame3[cognito]

Note

pysesame3[cognito] depends on awscrt, which makes use of C extensions. Precompiled wheels are automatically installed for major platforms (manylinux including Raspberry Pi OS, macOS and Windows) so there is no additional dependency in most environments.

If wheels are unavailable for your platform, you may encounter some issues in installation. Please rerfer to the document.

This is the preferred method to install pysesame3, as it will always install the most recent stable release.

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

From source

The source for pysesame3 can be downloaded from the Github repo.

You can either clone the public repository:

1
$ git clone git://github.com/mochipon/pysesame3

Or download the tarball:

1
$ curl -OJL https://github.com/mochipon/pysesame3/tarball/master

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

1
$ poetry install --no-dev

If you want to use CognitoAuth, run this command instead.

1
$ poetry install --no-dev -E cognito