Skip to main content

A client library for FusionAuth

Project description

FusionAuth Python Client semver 2.0.0 compliant

If you're integrating FusionAuth with a Python 3 application, this library will speed up your development time.

For additional information and documentation on FusionAuth refer to


To install the FusionAuth Python Client package run:

pip install fusionauth-client

This library can be found on PyPI


And then include the package in your code by using the following statement.

from fusionauth.fusionauth_client import FusionAuthClient

Now you're ready to begin making requests to FusionAuth. You will need to supply an API key you created in FusionAuth, the folowing example assumes an API key of 6b87a398-39f2-4692-927b-13188a81a9a3.

client = FusionAuthClient('6b87a398-39f2-4692-927b-13188a81a9a3', 'http://localhost:9011')

Here's an example which logs a user in:

from fusionauth.fusionauth_client import FusionAuthClient
client = FusionAuthClient(API_KEY, 'http://localhost:9011')

data = {
    'loginId': loginId,
    'password': password,
    'applicationId': My_App_ID


Each method in the client library includes documentation to describe the use and parameters. In addition to this resource, review the API documentation.

If you encounter a bug with this library, please open an issue.

Questions and support

If you have a question or support issue regarding this client library, we'd love to hear from you.

If you have a paid edition with support included, please open a ticket in your account portal. Learn more about paid editions here.

Otherwise, please post your question in the community forum.


Bug reports and pull requests are welcome on GitHub at


This code is available as open source under the terms of the Apache v2.0 License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fusionauth-client-1.48.0.tar.gz (31.2 kB view hashes)

Uploaded source

Built Distribution

fusionauth_client-1.48.0-py3-none-any.whl (31.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page