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.3

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.3
File Interpreter ABI Platform Actions
pilotlight-0.2.3-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for pilotlight-0.2.3-cp314-cp314-win_amd64.whl
pilotlight-0.2.3-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.3-cp314-cp314-manylinux_2_35_x86_64.whl
pilotlight-0.2.3-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details for pilotlight-0.2.3-cp314-cp314-macosx_15_0_arm64.whl

Total release size: 17.3 MB

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

Download URL pilotlight-0.2.3-cp314-cp314-win_amd64.whl
Size 6.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
a46476dbd20fcf4204450461ac5f17163ac0736fde7b90592d93051c2dbbf8d4
BLAKE2b-256 checksum
How to use checksums
c8faa30e9b782b33945bb6b76072130479a31047d24a8c65a75a6622a4dce6a6
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.3-cp314-cp314-manylinux_2_35_x86_64.whl

Download URL pilotlight-0.2.3-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
0daae422756086027e89dbbdc51c894846cc9227dff56917b7ec28bd2c86ae37
BLAKE2b-256 checksum
How to use checksums
fdbbf196a7e4d5f6a935ac60c6d200adc11f8384f7fc55d82b4f9125afc09e1f
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.3-cp314-cp314-macosx_15_0_arm64.whl

Download URL pilotlight-0.2.3-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
e80be230dfbefba9b497c51cf7969d89a6cc4a9ebf3b7358e09a8f7934f8caa2
BLAKE2b-256 checksum
How to use checksums
c935d6b247ed358ff3a3a6a9da71d68f059d4795ae01e59d5e2e7a594ab2f6c1
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.3

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