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

Uploaded Python 3Windows x86-64

libretro_py-0.9.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (740.4 kB view details)

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

libretro_py-0.9.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (745.2 kB view details)

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

libretro_py-0.9.1-py3-none-macosx_11_0_arm64.whl (441.3 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

libretro_py-0.9.1-py3-none-macosx_10_15_x86_64.whl (425.5 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

libretro_py-0.9.1-py3-none-any.whl (253.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libretro_py-0.9.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 718.3 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.9.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e5f27eb7e37925a88656a73c3a86ade6b4ffd0034434fd6bd3472300a773fd7c
MD5 a4f36646903bcb6d7028bebf6b3760b6
BLAKE2b-256 9b17d105637341cc287caadb9fcb3c4301333a0c4a6bd4792bd46e4fd7179c18

See more details on using hashes here.

Provenance

The following attestation bundles were made for libretro_py-0.9.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.9.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.9.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a481a87867676caf38e5326517c6fea6befce1b4637aaaad18ce06badac1dcd
MD5 aaddbd3bf63f67cf953bf64980097b4f
BLAKE2b-256 96a127200c8135c11f1f6c3a2daf528f2b25cee910088e3933bd20fe41c7c1bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.9.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3815cbe43ae1d79303c66935acde682c6ef2a4e494419efbf73358f77208856b
MD5 e2ed7b37a2b1eb29eea5eff26dd9ab8b
BLAKE2b-256 ee0d9481fd6b64a3a176b8aacd416f19c0f9664a6b1af4a371bf25b87c2b4003

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.9.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46ec85e2affa84952d6ccf6372ca61282dba97422107493b2edb54f90b34324e
MD5 b45ae2902c60e52c8be312d768562650
BLAKE2b-256 b20847596c22a9864c9eddeb7ef8cd719dccc3c1fb75d1462356aee9e88b70ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for libretro_py-0.9.1-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 08c8d3e8325c7ef8af1f933e1c95fea5f1f9760ee2ceb29a32d3279ed148ccbe
MD5 9bb15e38a2394442f3c7c195c41adb8f
BLAKE2b-256 3584da5d320764e61352fca5c5a01d4a5fea672128e9b48eef25f930cb7929fd

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libretro_py-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 253.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.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4985b0aefd4cdf771ad45f27b3f7259a2e617bf9c9eebe72ae0e87c89aacda6d
MD5 0140519bbf107971cbf38919e248bd9b
BLAKE2b-256 caf21be4eb9609fbb259e8c68e87d195f4e8eb8638e91e59981d8ac181293fa6

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

0.11.0

6 files

0.10.0

6 files

This release

0.9.1 This release

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