Skip to main content

almasix-inertia

Server-side Inertia.js adapter for Almasix. Use the official @inertiajs/vue3, @inertiajs/react, or @inertiajs/svelte clients — this package does not fork them. SSR uses Inertia’s Node SSR protocol.

pip install 'almasix[inertia]'
# or
pip install almasix-inertia
from inertia import Inertia, lazy, defer

def dashboard():
    return Inertia.render("Dashboard", {
        "user": user,
        "stats": lazy(lambda: expensive()),
        "notes": defer(lambda: load_notes()),
    })

Root Prism template ships @inertia / @inertiaHead. Prop helpers: lazy, optional, defer, once, merge. Page url honors APP_BASE_PATH. A Node SSR stub lives at src/inertia/ssr/server.js.

SPA kits register InertiaServiceProvider explicitly; the package also advertises it via the almasix.providers entry-point group.

Framework docs: Inertia.

Develop

pip install -e ".[dev]"
ruff check src tests && ruff format --check src tests
pytest -q

Release

Tag vX.Y.Z matching project.version and publish a GitHub Release. The publish workflow uses PyPI Trusted Publishing (OIDC).

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

almasix_inertia-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

almasix_inertia-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file almasix_inertia-0.1.0.tar.gz.

File metadata

  • Download URL: almasix_inertia-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for almasix_inertia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 70655698f24d7b796273d273479d13acf1e7a03a33720c67d81a182d854b8afb
MD5 2a0691b1807fd34f50efce73937fa337
BLAKE2b-256 1e88d49b85827dbe69c8e49356efdc01416b6dc43e6921d9cd1b30b68be7cbdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for almasix_inertia-0.1.0.tar.gz:

Publisher: publish.yml on almasix-dev/inertia

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

File details

Details for the file almasix_inertia-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: almasix_inertia-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for almasix_inertia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a96d0c1ea498324c7eab424b34ea21df21467083a9b749bb43798b1b01cc6d7f
MD5 383981a63eda66d36dce7101e1b81619
BLAKE2b-256 08b8895c1709b96c80ead468b01a955c65d3ce5b4e15608a20f54e3521fb137a

See more details on using hashes here.

Provenance

The following attestation bundles were made for almasix_inertia-0.1.0-py3-none-any.whl:

Publisher: publish.yml on almasix-dev/inertia

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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