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

Uploaded Python 3Windows x86-64

libretro_py-0.8.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (721.2 kB view details)

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

libretro_py-0.8.3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (724.7 kB view details)

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

libretro_py-0.8.3-py3-none-macosx_11_0_arm64.whl (422.7 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

libretro_py-0.8.3-py3-none-macosx_10_15_x86_64.whl (406.8 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

libretro_py-0.8.3-py3-none-any.whl (238.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libretro_py-0.8.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 695.8 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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6e6570de61110042208b26c5dc209c2f3f406da56fa9ef6126d7c6eaa18dbb3c
MD5 8198129d56a39adf2b9ab3fed05ad044
BLAKE2b-256 a3ef372c465392e8f651399661d01550338e9046b8972ce36b57bb7e98368709

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.8.3-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.3-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.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7bbae144ad9f16d30fade26976b351b0b3358cb2c873a100c37b692d7212449b
MD5 7e3d477fdc37031ae7c4566fa364bee1
BLAKE2b-256 c6f06c664ea1e580e6df1ede5bd34fb04cad5d8a578a45ad4f413036d199ed95

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b6d645c95dd81b28750e1b02a8fa816c82ae9681e0aeeaa310d2d6964e9e51f
MD5 ce83e7682c708ba10e5e74e37edb30d8
BLAKE2b-256 2fb7113a39f0922d1889cca9daa758edb5ce2eba0edebe7bede1961d21236707

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d7dbc232cf7bbdba6c57eba309e8669bf0ca7300aacccb9e03ff63ca99dff30
MD5 6806da70dcd9e1e4b38dc306afea1b64
BLAKE2b-256 33bc378750c8205a3de603ccdcdccfd446c88bf121ef29770dbec69b44ef9247

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.3-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a9a414c68974cdcd4059fdd91e6e8e88da954e6c6ade9ff9b1443731e91027f0
MD5 589e44e7f72c01b09db5857b451c6bd3
BLAKE2b-256 2719d917e46e4bf334a94017c286f24a5fad0325a1b8870f6d2a227a37476a85

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libretro_py-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 238.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24142bd884c04a2347b30a5296741c150ac6f01f1d436f0b3bd62bfad6b7defe
MD5 87270d9d18313eb4db3e98ba4e8a783c
BLAKE2b-256 3a9b696eed2d9b43d95310b9526bb6912af72c99b5c8e8956c2847cbc06efea4

See more details on using hashes here.

Provenance

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

0.8.4

6 files

This release

0.8.3 This release

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