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

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

Total release size: 17.3 MB

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

Download URL pilotlight-0.2.2-cp314-cp314-win_amd64.whl
Size 6.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
70498c2387ea1fdc5fcaf3b6db9939fdb244ddfd7751d78181dc61bd4b9d5c70
BLAKE2b-256 checksum
How to use checksums
b87cd14a866a0ad1261a9ec20d8d0ea18c0cc0e30dc555a855790308061bdbcd
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.2-cp314-cp314-manylinux_2_35_x86_64.whl

Download URL pilotlight-0.2.2-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
f675da38efa53c3839b98dc0a631abadb36abe0e2745e22b0c830139c56a7820
BLAKE2b-256 checksum
How to use checksums
8a2c0cdd0fb76d9b9e8e29e5ad51248a3bf0f0b270ec6d03b69455435ab41d18
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.2-cp314-cp314-macosx_15_0_arm64.whl

Download URL pilotlight-0.2.2-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
f692cef9e863219f38a4cb471dffb2526d976975d6de77aa7762d787a8af247e
BLAKE2b-256 checksum
How to use checksums
8d01fa9a4c651eb18f2fe60df35ed65d3b439c401f601254890387f40a65a1ed
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.2

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