Skip to main content

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 https://fusionauth.io.

Install

To install the FusionAuth Python Client package run:

pip install fusionauth-client

This library can be found on PyPI

Coding

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
}

print(client.login(data).success_response)

Each method in the client library includes documentation to describe the use and parameters. In addition to this resource, review the API documentation. https://fusionauth.io/docs/v1/tech/apis/

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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/FusionAuth/fusionauth-python-client.

License

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

Metadata

Release files for fusionauth-client 1.45.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fusionauth-client 1.45.0
File Size Uploaded Provenance Actions
fusionauth-client-1.45.0.tar.gz 30.6 kB Without provenance Details for fusionauth-client-1.45.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fusionauth-client 1.45.0
File Interpreter ABI Platform Actions
fusionauth_client-1.45.0-py3-none-any.whl Python 3 none any Details for fusionauth_client-1.45.0-py3-none-any.whl

Total release size: 61.3 kB

Release files / fusionauth-client-1.45.0.tar.gz

Download URL fusionauth-client-1.45.0.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a8e893b06841e983e4340c873f2e45d6de3c00fd2a9cd4e6fcad2c095264bce6
BLAKE2b-256 checksum
How to use checksums
41a84093af9244178db139b8fcb1266ee99186fecfebbb1c70b2fef3ffcfad4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / fusionauth_client-1.45.0-py3-none-any.whl

Download URL fusionauth_client-1.45.0-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a7f0ec1a295f584bc56576a6b7d5ed6e6d837fafc814039cbdcb30567d15979
BLAKE2b-256 checksum
How to use checksums
14ca8835f84c29f90249e86160807e447d470d097f537f1a998bf97b5ce89449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Security for fusionauth-client 1.45.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.45.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page