Skip to main content

Fusion Framework (Python)

Class-based HTTP APIs on a shared Rust core (fusion-core).

Install

pip install fusion-framework

Scaffold with Fusion Tool:

fusion init --lang python --name my-app

Quick start

from fusion_framework.api import FusionBaseApi
from fusion_framework.route import route
from fusion_framework import status
from fusion_framework.app import FusionApp
from fusion_framework.config import get_settings, load_settings_module


@route("api/[module]/{id}")
class ItemModule(FusionBaseApi):
    def get(self, id: int):
        return self.response({"id": id}, status=status.HTTP_SUCCESS)


MIDDLEWARE: list = []  # your middleware; Fusion already adds framework_headers() by default


def main() -> None:
    load_settings_module("settings")
    app = FusionApp(get_settings())
    for mw in MIDDLEWARE:
        app.use(mw)
    app.listen()


if __name__ == "__main__":
    main()

Docs

Full guides (router, config, middleware, async):
https://fusion.cipherunit.xyz/en/docs/python/v1

License

BSD 3-Clause

Release files for fusion-framework 1.2.6

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

Source distribution (sdist)

Source distribution for fusion-framework 1.2.6
File Size Uploaded
fusion_framework-1.2.6.tar.gz 56.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for fusion-framework 1.2.6
File
fusion_framework-1.2.6-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
fusion_framework-1.2.6-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details
fusion_framework-1.2.6-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details
fusion_framework-1.2.6-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 4.0 MB

Release files / fusion_framework-1.2.6.tar.gz

Download URL fusion_framework-1.2.6.tar.gz
Size 56.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a4e1997ba2d6d4a48d040cfa9e7d414c58c5f1a242954145e59263a29edfce2
BLAKE2b-256 checksum
How to use checksums
f2b288f6c36b2a244e18595daa0f06b0d985c772ebce7c018d657a528d5c2565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / fusion_framework-1.2.6-cp39-abi3-win_amd64.whl

Download URL fusion_framework-1.2.6-cp39-abi3-win_amd64.whl
Size 834.4 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
057dd7e2e0bd0561b62539d8edd43e7b3935d0345289165c3c7409d064f24a32
BLAKE2b-256 checksum
How to use checksums
40a75ab5ee30ec58b17fb7d0a4809054fdf7bbb591af6235282da5fe3723d957
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / fusion_framework-1.2.6-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL fusion_framework-1.2.6-cp39-abi3-manylinux_2_28_x86_64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
ec868d3ee6b9eef1d079cb236bb5af4ab161569353dc3ff975a7302700a91cd7
BLAKE2b-256 checksum
How to use checksums
d17d2568bac6cc24536852daaea59b42cfeadd542e1e28ff3c6f298bbfc267f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / fusion_framework-1.2.6-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL fusion_framework-1.2.6-cp39-abi3-manylinux_2_28_aarch64.whl
Size 1.1 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
8e00abc211b72f9e0e14faa52dfa8ede93ef34e6bcf4be8f4d681eaae00d6235
BLAKE2b-256 checksum
How to use checksums
0832136061c29022d456b805dda60133ef2c0a45e4e3cf9c5f892d1a4a7ffdb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / fusion_framework-1.2.6-cp39-abi3-macosx_11_0_arm64.whl

Download URL fusion_framework-1.2.6-cp39-abi3-macosx_11_0_arm64.whl
Size 940.7 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
689baff9995b6520031caf9679fcb68ad9e79e2fe3a7056fc79a4eb4b02726e8
BLAKE2b-256 checksum
How to use checksums
5be95a5650e845512d1ff7795c5ad1b4bec2db247d9fe7b375bb89deeb681b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.1

5 release files

2.0.0

5 release files

1.3.0

5 release files

This release

1.2.6 This release

5 release files

1.2.5

5 release files

1.2.4

5 release files

1.2.3

5 release files

1.2.2

5 release files

1.2.1

5 release files

1.2.0

5 release files

1.1.3

5 release files

1.1.2

5 release files

1.1.1

5 release files

1.1.0

5 release files

0.1.2

5 release files

0.1.1

5 release files

0.1.0

5 release files

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