Skip to content

Language guide

Python guide.

Python is a first-class package authoring path. The registry stores Python source when you include it, and package pages can expose it alongside Swift output.

01 · section

When to use Python

Use Python when your team prefers Python-first tooling or when you want the CLI distribution from PyPI while still targeting the same Apple-native output.

02 · section

Package-ready example

The registry expects the same publish concepts regardless of language: source, Swift output, README, tags, and compiler version metadata.

Python intent
from axint import define_intent, param

intent = define_intent(
    name="CreateEvent",
    title="Create calendar event",
    params={
        "title": param.string("Event title"),
        "starts_at": param.date("When it starts"),
    },
)
Python guide · axint docs · axint registry