Skip to main content

SDK to talk to the Fusio REST API

Project description

Fusio Python SDK

This is the official Fusio Python SDK, it helps to talk to the Fusio REST API. Fusio is an open source API management system, more information at: https://www.fusio-project.org

Usage

The following example shows how you can get all registered routes at the backend. A working example is also available at: https://github.com/apioo/fusio-sample-python-cli

from sdk.client import Client
from sdkgen import OAuth2, MemoryTokenStore

tokenStore = MemoryTokenStore()
scopes = ["backend"]

credentials = OAuth2(
    "test",
    "FRsNh1zKCXlB",
    "https://demo.fusio-project.org/authorization/token",
    "",
    tokenStore,
    scopes
)

client = Client("https://demo.fusio-project.org", credentials)

print("Operations:")
collection = client.backend().operation().get_all(0, 16, "")

for operation in collection.entry:
    print(" * " + operation.http_method + " " + operation.http_path)

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

fusio_sdk-6.4.1.tar.gz (48.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fusio_sdk-6.4.1-py3-none-any.whl (206.6 kB view details)

Uploaded Python 3

File details

Details for the file fusio_sdk-6.4.1.tar.gz.

File metadata

  • Download URL: fusio_sdk-6.4.1.tar.gz
  • Upload date:
  • Size: 48.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fusio_sdk-6.4.1.tar.gz
Algorithm Hash digest
SHA256 5572b414ced4b472e1f3b03f5a8c1f5c49506ec1a067723ce575104ac55528ce
MD5 b0569560860760b87cf244c2546d408f
BLAKE2b-256 c67f1db8bdba61424397220c245cb5d7a6a2a83617b0da1afca57b60f42f43f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusio_sdk-6.4.1.tar.gz:

Publisher: sdkgen.yml on apioo/fusio-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fusio_sdk-6.4.1-py3-none-any.whl.

File metadata

  • Download URL: fusio_sdk-6.4.1-py3-none-any.whl
  • Upload date:
  • Size: 206.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fusio_sdk-6.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4773a9c571dbeafd12b2557b7d1fd007fa5c1538dfe1967b06dfc77fbe05f40c
MD5 df3768fa0db956007c221b795e135227
BLAKE2b-256 770d29ea194550213e5116a7a455d8e7f562082d2fe72e8687fa00cf4d0495a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusio_sdk-6.4.1-py3-none-any.whl:

Publisher: sdkgen.yml on apioo/fusio-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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