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

Uploaded Python 3Windows x86-64

libretro_py-0.8.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (722.1 kB view details)

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

libretro_py-0.8.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (725.6 kB view details)

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

libretro_py-0.8.4-py3-none-macosx_11_0_arm64.whl (423.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

libretro_py-0.8.4-py3-none-macosx_10_15_x86_64.whl (407.7 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

libretro_py-0.8.4-py3-none-any.whl (239.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libretro_py-0.8.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 696.6 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.8.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 27c7fef7908920f9bfb4312ed162821374323004481baf5facb4a6d4fa33ac8c
MD5 deeea9e60f14e4dd0884fb4ce38dc1c2
BLAKE2b-256 67fd0a86c5d47e47e5cca3131312b9fae0ffce3c15091db2acdd191e83210d75

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.8.4-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.8.4-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.8.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2fddca5ea2fbd35e8c95dc310dda1d606e9304a437f9db34b5ff0c5e6195abc4
MD5 64a0c67b1e8ed839bcb7e4f7623acd47
BLAKE2b-256 e01fc52053713c0bc3c2f7d7ad8dc6273ea1ab7fb93a18dd0792df00f10d2f65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a9694b777a8e0627d0c2fc55a71e17b836c7c95117dc00b98db668b09a6e0b42
MD5 9edd262b95e1187addaaf761dbc15075
BLAKE2b-256 f7d34e32b747b7b1d50340df6b60d02c015ac799403aaaed8bc9ee3eb0119b93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d141dd78ec194aa1352bcd2d601b6581c71c47bf8d481fdda66d2b90cebcef59
MD5 4de2703e639aabde44af9ded2220986e
BLAKE2b-256 498eab5ac08e756cf683184495f2f1642a74f9bccb685524d124ad71ff4977dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.4-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7f928a38d583b146c67649a284ffd918e208fd7c94ba130b08f625fcf8040a47
MD5 8cae2e60d2a0a1a35fe73d702aa1610a
BLAKE2b-256 79a4185d0a387be2941f7dc8a6e3c187999ecc6c0b44b47637048611c0d9d55f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libretro_py-0.8.4-py3-none-any.whl
  • Upload date:
  • Size: 239.0 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.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5ac8a1bcc8f812ec22ffa3c321a0ef41c6efa5ff4ceb154e8d47a0fc9b268854
MD5 aada14d9cd6cdc82d735628afbe7902d
BLAKE2b-256 3328431d35e15de500b1a796e40674dc9039cc9b5e6adaab50143e03debaaa54

See more details on using hashes here.

Provenance

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

0.9.0

6 files

0.8.5

6 files

This release

0.8.4 This release

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