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.11.0-py3-none-win_amd64.whl (720.9 kB view details)

Uploaded Python 3Windows x86-64

libretro_py-0.11.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (743.0 kB view details)

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

libretro_py-0.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (747.7 kB view details)

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

libretro_py-0.11.0-py3-none-macosx_11_0_arm64.whl (443.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

libretro_py-0.11.0-py3-none-macosx_10_15_x86_64.whl (428.0 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

libretro_py-0.11.0-py3-none-any.whl (255.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libretro_py-0.11.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 720.9 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.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6f4c44598561b2787f51de4927de4abfb84a7940a07c8df62e11622f41fd23a2
MD5 3b038546e2f3d109f58b8a402c31c623
BLAKE2b-256 20e5e1ca6672cc4f78cac8b06c80a94fbaeee824f35239aabb5eae617713832e

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.11.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.11.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.11.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 571b40206a5ab8dfff38066be3a5c95f6662839f99ce1ba1bb3e0ebc9a6a2de4
MD5 894dcd4c53703ff034d2284bb323d120
BLAKE2b-256 ab9d1157b8ddfa5c4d4a66710736ca91839ad73cdd2db34f45cf551439601061

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.11.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.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for libretro_py-0.11.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50eac3f58f0bdd01420c4ebaacd24e945404e24a67c5310c1da718f7b01da4f2
MD5 5618b4e52d78f875a073773af2c43a98
BLAKE2b-256 81ebea248459820cf6f9ff3a4dbcdd27f4b54fa2a5d9fd1dc58458a3e03fed04

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.11.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.11.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for libretro_py-0.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5a8c57423137008262fe9b2d91ba282d710d19d7007f3ec45ea5d4bb8990e97
MD5 36fe35f953f8427b121bf1138ba59c9d
BLAKE2b-256 b2b35ca67fac0491b7cb2a8bb49e3e430de415dad50aa944b951442f1a8da064

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.11.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.11.0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for libretro_py-0.11.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c5ec360c1f142047fc372fc40296a55050d440b5ddc9bfd59060591bc89586b5
MD5 3f7ab55778d3a4e34bf96d2383e16298
BLAKE2b-256 babd38eca1a1aca5373f88d9edf80143f829fe625d2c804f5f346e56ce0df91d

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.11.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.11.0-py3-none-any.whl.

File metadata

  • Download URL: libretro_py-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 255.8 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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e8ba0eae470db3bf5c70f6a92f2ce891e4a61cfd737187f8dd095bdcdf54692
MD5 effdaeed06400dd96860ac39ed7e6ce2
BLAKE2b-256 6aa2f0961ea59f3010005da619b6f8c23e21ee8cf6a19a4cd83234bd429366da

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.11.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

This release

0.11.0 This release

6 files

0.10.0

6 files

0.9.1

6 files

0.9.0

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