Skip to main content

pilotlight-python

Python bindings and project tools for the Pilot Light real-time application framework.

Build status PyPI version

About • Installation • Quick Start • Python API • Development • License


About

pilotlight-python provides Python bindings and development tools for the Pilot Light real-time application framework.

It can be used to:

  • create Pilot Light projects from ready-to-use templates
  • prototype real-time applications in Python
  • access Pilot Light engine systems through Python
  • build development tools and editor workflows
  • automate asset processing and other engine tasks

Pilot Light is designed around a modular collection of APIs and extensions. Applications can use only the systems they need while retaining access to rendering, input, UI, ECS, asset loading, and other framework features.

Installation

Install the latest published version from PyPI:

python -m pip install pilotlight

To upgrade an existing installation:

python -m pip install --upgrade pilotlight

Requirements

Wheels are published for CPython 3.14 on:

  • Windows (x64) — requires a GPU driver with Vulkan support.

  • Linux (x86_64, glibc 2.35+) — requires a GPU driver with Vulkan support and X11. The Vulkan loader and X11/xcb libraries are not bundled; on Debian/Ubuntu they can be installed with:

    sudo apt install libvulkan1 libx11-6 libx11-xcb1 libxcb1 libxcb-cursor0 libxcb-xfixes0 libxcb-keysyms1 libxkbcommon0
    
  • macOS (Apple Silicon, macOS 15+) — uses Metal, no additional dependencies.

Check the installation

Open the demo window (3D scene, UI demo, drawing, and the engine's profiling, logging and memory tools under Tools):

python -m pilotlight demo

pilotlight-demo does the same. Compiled shaders and window/tool settings are cached in your user cache folder (--cache-dir changes it).

Quick Start - Project Generator

The project generator is the recommended starting point for new applications:

python -m pilotlight new <project-name> [options]

For example:

python -m pilotlight new MyGame -2d

Use -3d for the 3D template (the default is -2d).

This creates a new MyGame directory containing the files and configuration needed to get started.

MyGame/
├── ...
└── ..

Using the generator helps ensure that a new project has the expected structure, startup code, build configuration, and supporting files for the installed Pilot Light version.

You can now run the project like so:

cd MyGame
python src/app.py

Using the Python API

The generated projects are the best starting point for now; the repository's sandbox/app.py shows more of the API (3D drawing, UI, textures, and 2D drawing). Documentation is lacking at the moment but will come soon.

The Python API is still under active development. Some names and interfaces may change between releases until the package reaches a stable version.

Development

WIP

Status

The project is under active development.

Bug reports, documentation improvements, examples, and other contributions are welcome through the GitHub issue tracker.

License

pilotlight-python is licensed under the MIT License, matching the core Pilot Light framework. Third party components bundled with or compiled into the published wheels are listed in THIRD_PARTY_NOTICES.md.

Metadata

Release files for pilotlight 0.2.1

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

Built distributions (wheels)

Table of built distributions (wheels) for pilotlight 0.2.1
File Interpreter ABI Platform Actions
pilotlight-0.2.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for pilotlight-0.2.1-cp314-cp314-win_amd64.whl
pilotlight-0.2.1-cp314-cp314-manylinux_2_35_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.35+ x86-64 Details for pilotlight-0.2.1-cp314-cp314-manylinux_2_35_x86_64.whl
pilotlight-0.2.1-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details for pilotlight-0.2.1-cp314-cp314-macosx_15_0_arm64.whl

Total release size: 17.3 MB

Release files / pilotlight-0.2.1-cp314-cp314-win_amd64.whl

Download URL pilotlight-0.2.1-cp314-cp314-win_amd64.whl
Size 6.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
81135ff6d47f69592a1c9b64bda0e01d86ad0796069de2345add127207e99355
BLAKE2b-256 checksum
How to use checksums
51d62d3c87f83095b82e35fc6f3c4cb0d1fb64c55261114f5cf536b1392eb9da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / pilotlight-0.2.1-cp314-cp314-manylinux_2_35_x86_64.whl

Download URL pilotlight-0.2.1-cp314-cp314-manylinux_2_35_x86_64.whl
Size 6.4 MB
Tags CPython 3.14 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
af29e6d878b3cd2b63fc5b074b740491a352c6288a004d67701d56d1e240c506
BLAKE2b-256 checksum
How to use checksums
417ea58a9acd2c083363ff8db5fbd0aa2799673f11c26b93164e8f3cff550f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / pilotlight-0.2.1-cp314-cp314-macosx_15_0_arm64.whl

Download URL pilotlight-0.2.1-cp314-cp314-macosx_15_0_arm64.whl
Size 4.6 MB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
cdd363a9aa1c795436c4a03cffed862a0e46bdf062ff2c82e6381b6a06d1c76c
BLAKE2b-256 checksum
How to use checksums
5fd19a3953bf1fec0d8590f997908f0a3f47c2385075142511fee290633e72f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for pilotlight 0.2.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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