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

Uploaded Python 3Windows x86-64

libretro_py-0.8.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (721.0 kB view details)

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

libretro_py-0.8.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (724.5 kB view details)

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

libretro_py-0.8.2-py3-none-macosx_11_0_arm64.whl (422.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.15+ x86-64

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: libretro_py-0.8.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ad88406ee6d15160fc30d040e1ce0027714e6cb0cd6de8570adaa6ae7a1f9c2f
MD5 cdcdc82aa6ebd981db8a9517eaea1234
BLAKE2b-256 e488709508d4b260a548f1ca2dd31ab40da62247c98a4eca9e6391d026a12875

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.8.2-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.2-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.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 874373da7b8a8b1a1cf2b7d712ad05e9f0cd1aa72d07f1a0f1060783f817c912
MD5 07387343d7d264cb80d05bc40d355e77
BLAKE2b-256 0181dfefcb5bc412dd1f0a921ae04fa9f5d1ecf51dfe66044e2535eb7945d108

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0b7de879aa3512993640f3584f4c55eedfb763a41c79041314389719184e80f1
MD5 1bb8d48c7c15a3920263ce5518afac7c
BLAKE2b-256 f3ecd167a8827101a92bf42ab511e014c0d18466f0b17739f94fc248712e5f6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbf7b7427a7ed74ed8f3b2492212e7bc45dfee95b3f2293b6bdff2e41c84c173
MD5 13ca42d3d19fa1d12e5784ae0983a2d5
BLAKE2b-256 4bd7683bbd4cecdc291063eafc489475ee5264825fdd0f8f5e6cab7237d4d283

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.8.2-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 27703e3ce9cc0a963a1f7833a664998a7eeda5a94ae29f9cccc0fbd51ded9b20
MD5 1358863310e8f21266809c0bceb4cc2d
BLAKE2b-256 17ef0018a1c0eb0e9e146858336388dbd897995f3eecba3b67df730c4e42e9f3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libretro_py-0.8.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ac4de5a7e7da0b191484f3c14e3eb3887e8c4756376173c41e3b0ee26c9dc3cb
MD5 78282234013219359334254fbc5875f7
BLAKE2b-256 eb323e262749901ad090552211f9fed6c62c9dabe5f572a1487694a187fd7f92

See more details on using hashes here.

Provenance

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

0.8.3

6 files

This release

0.8.2 This release

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