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.

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

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

Total release size: 16.8 MB

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

Download URL pilotlight-0.2.0-cp314-cp314-win_amd64.whl
Size 6.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
f1eadfd279ae533dd9f7cd0a298312663fe3622b94e51140bdcf5f92e8d29c26
BLAKE2b-256 checksum
How to use checksums
351339c31fa5079c5152ec3590026a65ddfd709cd05e7a0653fd8251130bc164
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.0-cp314-cp314-manylinux_2_35_x86_64.whl

Download URL pilotlight-0.2.0-cp314-cp314-manylinux_2_35_x86_64.whl
Size 6.3 MB
Tags CPython 3.14 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
d186bcbb1a452a4d2ae46ef14e5bb023f6d566f813b7343e45c78fe1f71be688
BLAKE2b-256 checksum
How to use checksums
35f117eb1a4c38358ed08c45d88cf25f592d3f755b6fd1c55df5edd482643ab3
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.0-cp314-cp314-macosx_15_0_arm64.whl

Download URL pilotlight-0.2.0-cp314-cp314-macosx_15_0_arm64.whl
Size 4.4 MB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
1f5872fa49e78f1ec10019249d47bd8c6e1ea6f4647021c2699ff2a06061acbb
BLAKE2b-256 checksum
How to use checksums
6c6eda70760144f30ee5b6959b60483f7a6be3ac487b6cb8c19c5c4fb5d218de
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.0

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