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.48.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.48.0
File Size Uploaded Provenance Actions
fusionauth-client-1.48.0.tar.gz 31.2 kB Without provenance Details for fusionauth-client-1.48.0.tar.gz

Built distribution (wheel)

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

Total release size: 62.5 kB

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

Download URL fusionauth-client-1.48.0.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
884638c95bea080450b1e89aabb15d0507dff442ac4c3100a90080c79f6cd761
BLAKE2b-256 checksum
How to use checksums
b85fb19ffce9ea9093753146a9049014eeec26f94a009aa17c880a0fee26d5de
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.48.0-py3-none-any.whl

Download URL fusionauth_client-1.48.0-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f34c26d7a5c1174cffbe64708e9df1cd0a7db121c9ccda739b18f0666d7fdb5b
BLAKE2b-256 checksum
How to use checksums
7e5907a55dc6bc32aafb232dbe8db4174b5adf0f8c1889e9a47bad44a7c1dd93
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.48.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.48.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