Skip to main content

Native SDL2 backend for mini-arcade-core using SDL2 + pybind11.

Project description

mini-arcade-native-backend

Native SDL2 backend for mini-arcade-core.

This package combines:

  • a compiled _native extension built with SDL2 and pybind11
  • a Python NativeBackend adapter that implements the shared backend protocol

The design goal is to keep gameplay logic in Python while moving windowing, event polling, text, audio, capture, and drawing primitives into a native SDL2 layer.

Install

pip install mini-arcade-native-backend

Development notes

In the monorepo, local Python sources may run against a compiled _native extension from the active virtual environment. If you change native backend code and the extension is stale, rebuild it with:

python -m pip install -e .\packages\mini-arcade-native-backend

For Windows native builds, the maintained path is vcpkg plus:

  • SDL2
  • SDL2_ttf
  • SDL2_mixer

See docs/source/contributing/dev_setup.md for the current contributor flow.

Docs

See the monorepo docs for backend architecture and parity guidance:

  • docs/source/concepts/backends.md
  • docs/source/tutorials/config/backend_swap.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mini_arcade_native_backend-1.6.4.tar.gz (68.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mini_arcade_native_backend-1.6.4-cp311-cp311-win_amd64.whl (164.4 kB view details)

Uploaded CPython 3.11Windows x86-64

mini_arcade_native_backend-1.6.4-cp310-cp310-win_amd64.whl (163.5 kB view details)

Uploaded CPython 3.10Windows x86-64

mini_arcade_native_backend-1.6.4-cp39-cp39-win_amd64.whl (172.0 kB view details)

Uploaded CPython 3.9Windows x86-64

File details

Details for the file mini_arcade_native_backend-1.6.4.tar.gz.

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.4.tar.gz
Algorithm Hash digest
SHA256 2e2b02d1a07d2514e7b64e2d823be5542491bf122f4ac4d3610d5bdd22595213
MD5 679e5dcec03b3bf3e025292b3c4b96f0
BLAKE2b-256 9aaca580e914ffce8cafb577a893b12d2c096b89479ff0507aaa35732cdb785d

See more details on using hashes here.

File details

Details for the file mini_arcade_native_backend-1.6.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1302af4c2a14e03f200d44edfeaabfc8bb02a7b73378434905319084268e29bb
MD5 5660fc22dd4d9536856330a78d600088
BLAKE2b-256 68014efe744e74d69d215ea6c6d44dcfb22f95e875ee751635ddd48c41ef4334

See more details on using hashes here.

File details

Details for the file mini_arcade_native_backend-1.6.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 683d6f41daf94eebd0066ead619b8679e0ace921c30999c3ba6bbff383771066
MD5 4f8687d60c1f61d7a14e010abf6c3d4a
BLAKE2b-256 7426ad66551bfe39e30f94ebd1783a61536f543ac446477191c89796862b8123

See more details on using hashes here.

File details

Details for the file mini_arcade_native_backend-1.6.4-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d3f882b32a1ebd61e11152571751d9b226d82fc429f49b95fa6c2dbeabbcf82c
MD5 6084a69a970e97eb45ff99cbcb8367b6
BLAKE2b-256 3fbefd0d905363c71d55574ac0fd9b9cdf19feb21d44b13bdcf6db5fe8c9f0b1

See more details on using hashes here.

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