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.2.tar.gz (68.2 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.2-cp311-cp311-win_amd64.whl (164.3 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

mini_arcade_native_backend-1.6.2-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.2.tar.gz.

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.2.tar.gz
Algorithm Hash digest
SHA256 65bbe7dd2e743b42163a4a771561acc7981356b83ae8220b9b62b29e895383b2
MD5 ec57cd40ad7af3492da5cedc868b1de2
BLAKE2b-256 4c57bad84d57805993a2fa07e07c5749b0cdaf28d810023224890c787eacb407

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7f62c0765630ceaaa0468ddf999396c25cd1d0875a019b1f8e2f421c4b88588c
MD5 ba001d2ece99e4c4989bb8981919f6da
BLAKE2b-256 b267e2b368fc437f227aca19f7e507719783f7156703916a46177a7d6050d452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 53509262a2e2e24f71ecc66c7f367fa8c7e743e3b354e2ea78963870c9d509c4
MD5 fdc83240e945bdec0c75af185ae61bf8
BLAKE2b-256 27f0068ec31e39f9b31971ade6440e983af7749beb2a7ff3f57da7f4f44bd99b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bd1e246f4c55123dd9e840c2e8d276d5598acb2ad7db79789830f6e3b64e6872
MD5 e3500dcbf62a8a268a8d9b2465d1f9f0
BLAKE2b-256 372bb910cd8cdaa15be8da325466d2464e197595517fb2230c1c3706c52bb099

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