Skip to main content

A libretro frontend for Python intended for testing cores.

Project description

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.

Project details


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

Uploaded Python 3Windows x86-64

libretro_py-0.8.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (721.5 kB view details)

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

libretro_py-0.8.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (725.1 kB view details)

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

libretro_py-0.8.1-py3-none-macosx_11_0_arm64.whl (419.4 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

libretro_py-0.8.1-py3-none-macosx_10_15_x86_64.whl (406.6 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

libretro_py-0.8.1-py3-none-any.whl (238.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libretro_py-0.8.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 695.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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d9dfdbe635cdb234aa1a05db3302beabd571574ce0b6811228e17e8ce8d1ddcd
MD5 c85912529e602a82491b0e5755171dd7
BLAKE2b-256 a1ad8619d55a60db3e71e4f01614e0217f6909d0b59c63d68920c900c7be51f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.8.1-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.1-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.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a51d929cb9cf309ed9800795f3290e752c03c621e4b6b108c9aee82433ecf68e
MD5 fcb0c95e5c64450eef4ace2f65e3b1f5
BLAKE2b-256 98c64ffff0c6c676d18777a4652220bc521e5ee5faf9b03aa391fa35cb79296c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c6216e7b279bc5d3e8cbbb9a61f53a058ebe8314da9741400f63dfacc9602cc6
MD5 c8a69bb20267e79ece7d64cd8397fb3e
BLAKE2b-256 623fbc0263a651f58acc8641783c8720a82d5aba9785fa3f82e21aae31fe55d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eaa721c92d53c7cbe4716d930bff42b375bd313088dfa9d80bde6421c4bd14b1
MD5 da5e308c76a36b8d0a70a88f8a895acb
BLAKE2b-256 c8ffa1904b42a3caddc3315fccc71ede883c52047684d098364aa25a5438433f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.1-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2b44744fbd5457ca73f4a79886e082044ff624e29eadf7b9aa564f04f0c35ee1
MD5 92b9b00c8082d9a178f8849ef9edda53
BLAKE2b-256 a56709f565615a336f95b9155ce942aae2c64c25d1c618c79d14c3fd1dff340d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libretro_py-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 238.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73e40bb34b477aff26b0e4ad4529f23ba551650384bf5302d186283dd5d60016
MD5 82173f81e4362c7e19ca9a786b0b057a
BLAKE2b-256 aeb3ee8a1acc65fe967df161102688272ad211820b3c2a11ba5ef4c620e8cf1c

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page