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

Built distribution (wheel)

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

Total release size: 62.5 kB

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

Download URL fusionauth-client-1.47.0.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a6d4265eb6fbe270fa8f96d9161d43384638b35b10c32a4d99c78920fd0242e7
BLAKE2b-256 checksum
How to use checksums
a18787def12fdcd4df91d1652e3620b4d1c37aefadd84dbbd78604fa14e5182f
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.47.0-py3-none-any.whl

Download URL fusionauth_client-1.47.0-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0abfbe4ced2e4b14ce045d3aa87c6ae94c59cd818684d2b6f4570ae6ce955de2
BLAKE2b-256 checksum
How to use checksums
f93b24e9edcdbba54772b73658293c730a7109cba3b733d0f3940532ee559b24
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.47.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.47.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