Skip to main content

libretro.py

A Python binding for libretro intended for testing cores, but suitable for any purpose. Ease of use, flexibility, and complete API support are top priorities.

Workflow Status PyPi License

Supported Environments

libretro.py has the following requirements:

  • Python 3.12 or newer. May not work on alternative Python implementations like PyPy.
  • Supported on Windows, macOS, and Linux. May work on other platforms, but no promises.

Nothing else is required for most functionality, but some extra features have additional dependencies or constraints.

If contributing then just is optional but recommended, as it will simplify most development tasks. For details, run just (no arguments) in the project root.

Installing

libretro.py supports Python 3.12 or newer. Nothing else is required for most functionality, but some extra features have additional dependencies.

You can install libretro.py with pip like so:

# Install the base libretro.py
pip install libretro.py

Using a virtual environment is recommended:

# Create a virtual environment
python -m venv ./venv

# Activate the virtual environment (in Bash)
source ./venv/bin/activate

# Activate the virtual environment (in PowerShell)
./venv/Scripts/activate.ps1

Extras

To install additional features, add one or more of the following extras to the install command:

  • cli: Test scripts that don't rely on the nuances of any particular core. Use these to simplify your own core's test process.
  • opengl: Support for the built-in OpenGL video driver. Required if testing a core's OpenGL support.
  • opengl-window: Same as the opengl extra, but with support for opening an actual window. Can help simplify some debugging tasks, e.g. RenderDoc usage.

For example, if you want to submit an improvement to the OpenGL video driver, you would install libretro.py like so:

pip install -e .[opengl] --group dev

And if you just want to test your libretro core's OpenGL support:

pip install libretro.py[opengl]

Some of these extras have additional dependencies.

OpenGL

If using OpenGL support on Linux, you may need to install the libopengl0 package.

Metadata

Release files for libretro.py 0.11.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 libretro.py 0.11.1
File
libretro_py-0.11.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
libretro_py-0.11.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
libretro_py-0.11.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details
libretro_py-0.11.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
libretro_py-0.11.1-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details
libretro_py-0.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.3 MB

Release files / libretro_py-0.11.1-py3-none-win_amd64.whl

Download URL libretro_py-0.11.1-py3-none-win_amd64.whl
Size 720.9 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
78fc4075f5bc168d3c4add453f4727f1fee638ed3eadfbb078ba5ffea1e6667a
BLAKE2b-256 checksum
How to use checksums
853e3525c93fddbc890e1c268fa43aa0cf84bc51769d69556fa3c2060939932b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / libretro_py-0.11.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL libretro_py-0.11.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 743.0 kB
Tags Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c39fa357785170962e812376bd2c14b1137d47a96bca22cf0afbf722ac590e49
BLAKE2b-256 checksum
How to use checksums
8abd2a7cda25fb850f4fe71c18386ee2c0658f950fa2c48d3d942fe49734b80c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / libretro_py-0.11.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL libretro_py-0.11.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 747.7 kB
Tags Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7e24dfa5da57160bf67aa7f0f6a1b284b68e90985773d261752582e70e08656e
BLAKE2b-256 checksum
How to use checksums
c6d35c6b32a0669eb8d4be95fddaa0e67115e6a13034b25fbaf644f0e5afec8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / libretro_py-0.11.1-py3-none-macosx_11_0_arm64.whl

Download URL libretro_py-0.11.1-py3-none-macosx_11_0_arm64.whl
Size 443.9 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
67ae99fe1930a5d5ae9b9ea087df4a2866ba7a90bf83e0340312933b17ba6fda
BLAKE2b-256 checksum
How to use checksums
40b3491292fd21866d1a579e8514d687b87b3ec8167716cb69c89cb7bf913b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / libretro_py-0.11.1-py3-none-macosx_10_15_x86_64.whl

Download URL libretro_py-0.11.1-py3-none-macosx_10_15_x86_64.whl
Size 428.0 kB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b2a1c4321558a01cad926ea778a96eb5bbcfbff390d4992d050893dae2649b0c
BLAKE2b-256 checksum
How to use checksums
9cf8f6c6aafdeef77cc4a845625689fe11920e3a2ee00508a7705217578f38f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / libretro_py-0.11.1-py3-none-any.whl

Download URL libretro_py-0.11.1-py3-none-any.whl
Size 255.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af2e4986a4bb25fbaba60467452cbed0b156773abe0d6d6823a03e743e00a96d
BLAKE2b-256 checksum
How to use checksums
c9d1bf25fe0b4462f76978070af8791e2dd4a2dafd2b4d90cca2b886d034a95d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.12.0

6 release files

This release

0.11.1 This release

6 release files

0.9.1

6 release files

0.9.0

6 release files

0.8.5

6 release files

0.8.4

6 release files

0.8.3

6 release files

0.8.2

6 release files

0.8.1

6 release files

0.8.0

4 release files

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

0.0.0

2 release files

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