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.0.tar.gz (46.5 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.0-py3-none-any.whl (197.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusio_sdk-6.4.0.tar.gz
  • Upload date:
  • Size: 46.5 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.0.tar.gz
Algorithm Hash digest
SHA256 57dfc6647b09f2c79b11f28ea181b6baba1e00b9063126e984feee5d23c2ac5f
MD5 4a56022d8a926e998f4d3aa762fd4e77
BLAKE2b-256 2d0c53bc77796587bddaa5ec03d392d15107c7e8c85444152bfefaa7c44bbc5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusio_sdk-6.4.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: fusio_sdk-6.4.0-py3-none-any.whl
  • Upload date:
  • Size: 197.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 829fa4c2627e6e493ce160a283f97acdfd19fcc7f28d8c0e4ae2145d9bb55282
MD5 ce2ff93420e405daf378c44041755ca9
BLAKE2b-256 2faa8fd66630a5ff3d9eecbe993c370160358a93ad0a333b5e28f8cd78754e5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusio_sdk-6.4.0-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