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.3.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.3-cp311-cp311-win_amd64.whl (164.3 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

mini_arcade_native_backend-1.6.3-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.3.tar.gz.

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.3.tar.gz
Algorithm Hash digest
SHA256 ddf324a0c39a0b91fa8ecfd0d7ddc62ba417cc58082554584e0f626683665122
MD5 4c4b26a78287b053522b4755184ce042
BLAKE2b-256 2408292dd0bc6150eb193b38e4e1eed6270448167ba68a7cbaa4db1ce7bf2b81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 497e293a5964f297ac67bdae721a0202b8d672ebe4439048a27ef1859e71317f
MD5 12397b7df4e199854c477ab94514475d
BLAKE2b-256 85a098eccf110f704da84ae1a996f5b7ba1f58c60bc8c4e36f96ec6ea1863971

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 88e9e225514af3895a702d366470ee1ac53f6cb128fb1d3f074cab4f6750b53e
MD5 caee45d6f9d1895eeab390041dfdd4f3
BLAKE2b-256 498455c7a3c5a9d1e8b9f195e745e3f338ce708fc1c3628b0ed43eb8dbd8c20f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mini_arcade_native_backend-1.6.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3df3409119d8010b28eb2f144441c3e2988c874a205232b585788bf76710e98f
MD5 1ecb33a6a64b0be8b4a86b6b62cec9b4
BLAKE2b-256 e36c1afff02c4642ee355fbd909e36af9424d530be87415bb749c4b23011de35

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