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.0.tar.gz (67.9 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.0-cp311-cp311-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.11Windows x86-64

mini_arcade_native_backend-1.6.0-cp310-cp310-win_amd64.whl (163.3 kB view details)

Uploaded CPython 3.10Windows x86-64

mini_arcade_native_backend-1.6.0-cp39-cp39-win_amd64.whl (171.8 kB view details)

Uploaded CPython 3.9Windows x86-64

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.0.tar.gz
Algorithm Hash digest
SHA256 e007491be01191bc6995c2325e5df796dffeec2e596d49bd8072bf5843b857dc
MD5 77d4323584893402e51f11cf8547f2a8
BLAKE2b-256 33233ece466239996fad9a90c0aca3e8b475808de3eb49c025fcfe38edb26620

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1097d9ca43c84ab6379a5ca62251b564eab6b6e72b7e2140e2cf601ea0f9105a
MD5 6adad9dc1d11848c4c53408dc2309841
BLAKE2b-256 927b2ca4efa5a4fd1197cf59e65c0d1ce56f9a130c14e4aaa9ad2be872639344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6e0132f2e79cba2f0b6564faffafbaffa5a10a5acd751471c0941934e09113f0
MD5 5f7b208e091dd55dd3d898652863c334
BLAKE2b-256 caf8a004d2728d788d5e0d35bed2e959578b1316c6b45e5bc75f3f49426747fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e08644a29dea5b9c24e25294acf1f103a8018d430d5faa5aa1e7c918ef309b4f
MD5 02604d07ff49b6ed390390b08f494ca1
BLAKE2b-256 9d324c16cc71c7e199f42d383b9f43a398af2621c2f9b0be96d9d047d634f4e3

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