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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

libretro_py-0.9.0-py3-none-win_amd64.whl (717.4 kB view details)

Uploaded Python 3Windows x86-64

libretro_py-0.9.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (739.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

libretro_py-0.9.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (744.3 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

libretro_py-0.9.0-py3-none-macosx_11_0_arm64.whl (440.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

libretro_py-0.9.0-py3-none-macosx_10_15_x86_64.whl (424.6 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

libretro_py-0.9.0-py3-none-any.whl (252.4 kB view details)

Uploaded Python 3

File details

Details for the file libretro_py-0.9.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: libretro_py-0.9.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 717.4 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for libretro_py-0.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b5bf3e07ece8219e13b6df6a2262932a5d36fad5f2ae859f9b089d5ad22dff1c
MD5 07f596680b2f92f11f87c67c91950bd9
BLAKE2b-256 738375031149fc0a0bda4f9e766c3524995e276c2941b6c810f1edcb67c453bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.0-py3-none-win_amd64.whl:

Publisher: release.yml on JesseTG/libretro.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libretro_py-0.9.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for libretro_py-0.9.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e02f260b359d3bc5d84dbf89d7858e01e4a197147ec43398b5b9d8eb0f2949f1
MD5 4b786c0547b066c673fb2695e3783725
BLAKE2b-256 699983639b6e46f82cb8081a23cff315d092e614453ada0f9d142126fc376d07

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on JesseTG/libretro.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libretro_py-0.9.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for libretro_py-0.9.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 24abe5ca9358fdca8f89af6bd5d66774e6ae90259103281d7a3cfcc0598a8f3d
MD5 a3f9ec3e59abb347d151752a7456e324
BLAKE2b-256 f6b8a8cf9402cc574f917ee296d1e1f93a9356c71bf183a3eb140821a7ed6b4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on JesseTG/libretro.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libretro_py-0.9.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for libretro_py-0.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8960abe8977c1ac33934ea36c0b22d34e1228cdb95fe7aa7cdc17555e7aa6b0
MD5 a47b90fadaf809499dd8e7b1d48d2e9c
BLAKE2b-256 7936a12b159fc9a01b7c6ce59dceaa61401953d6150d0bd187ecd69eed3e7281

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.0-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on JesseTG/libretro.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libretro_py-0.9.0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for libretro_py-0.9.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c81358f0033ea1a8f7cf7705d3876d68342e7c46bfaeb3731d5e0deb27284630
MD5 d57364ef1b69def026720710ff5d06c9
BLAKE2b-256 4d384658603a50d45b79504340cc85a8cac21a0c520ce7ea47d5abb25d43e149

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.0-py3-none-macosx_10_15_x86_64.whl:

Publisher: release.yml on JesseTG/libretro.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libretro_py-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: libretro_py-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 252.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for libretro_py-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d72a333c59fd96cc77edfd908fc6c2a3f33c6e5b0d3d365d6d8cf8157e604c5
MD5 800fc0c775a07687705aaf2ebbb0450c
BLAKE2b-256 a22fb31c960ba8f487a189f7ff20ed7e326515f960ddec1b7ecdad1f720c8eb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.0-py3-none-any.whl:

Publisher: release.yml on JesseTG/libretro.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.11.0

6 files

0.10.0

6 files

0.9.1

6 files

This release

0.9.0 This release

6 files

0.8.5

6 files

0.8.4

6 files

0.8.3

6 files

0.8.2

6 files

0.8.1

6 files

0.8.0

4 files

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

0.0.0

2 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