Installation¶
py2axum has no dependencies: it reads your code, it never imports it. Install it next to your application (same virtual environment, same Python) or in a separate one: either works.
You also need Rust and PostgreSQL to build and run the binary: see What you need.
Or skip the local install: the Docker image holds py2axum and Rust and builds the
binary in one command (docker run --rm -v "$PWD:/app" ghcr.io/larrymotalavigne/py2axum build app).
The examples are not part of the wheel. To follow this guide, clone the repository:
Next: check what translates, then build your first binary.