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
_nativeextension built withSDL2andpybind11 - a Python
NativeBackendadapter 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:
SDL2SDL2_ttfSDL2_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.mddocs/source/tutorials/config/backend_swap.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mini_arcade_native_backend-1.6.0.tar.gz.
File metadata
- Download URL: mini_arcade_native_backend-1.6.0.tar.gz
- Upload date:
- Size: 67.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e007491be01191bc6995c2325e5df796dffeec2e596d49bd8072bf5843b857dc
|
|
| MD5 |
77d4323584893402e51f11cf8547f2a8
|
|
| BLAKE2b-256 |
33233ece466239996fad9a90c0aca3e8b475808de3eb49c025fcfe38edb26620
|
File details
Details for the file mini_arcade_native_backend-1.6.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: mini_arcade_native_backend-1.6.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 164.1 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1097d9ca43c84ab6379a5ca62251b564eab6b6e72b7e2140e2cf601ea0f9105a
|
|
| MD5 |
6adad9dc1d11848c4c53408dc2309841
|
|
| BLAKE2b-256 |
927b2ca4efa5a4fd1197cf59e65c0d1ce56f9a130c14e4aaa9ad2be872639344
|
File details
Details for the file mini_arcade_native_backend-1.6.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: mini_arcade_native_backend-1.6.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 163.3 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e0132f2e79cba2f0b6564faffafbaffa5a10a5acd751471c0941934e09113f0
|
|
| MD5 |
5f7b208e091dd55dd3d898652863c334
|
|
| BLAKE2b-256 |
caf8a004d2728d788d5e0d35bed2e959578b1316c6b45e5bc75f3f49426747fa
|
File details
Details for the file mini_arcade_native_backend-1.6.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: mini_arcade_native_backend-1.6.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 171.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08644a29dea5b9c24e25294acf1f103a8018d430d5faa5aa1e7c918ef309b4f
|
|
| MD5 |
02604d07ff49b6ed390390b08f494ca1
|
|
| BLAKE2b-256 |
9d324c16cc71c7e199f42d383b9f43a398af2621c2f9b0be96d9d047d634f4e3
|