Metadata-Version: 2.4
Name: dan-pyda
Version: 1.0.0
Summary: High-performance custom game engine (C + SDL2, zero Pygame)
Author: pyda contributors
License: MIT
Keywords: game,engine,sdl2,c-extension,2d
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pyda

A custom, high-performance 2D game engine built with C (SDL2 backend) and Python. Zero Pygame dependency—pure raw speed and modular flexibility.

## Requirements

- Python >= 3.8
- SDL2 development libraries (headers + lib)
  - Linux/Debian/Ubuntu/Termux: `libsdl2-dev`
  - macOS (Homebrew): `brew install sdl2`
  - Windows: install SDL2 and set include/lib paths or use vcpkg

## Installation (Editable Mode)

```bash
pip install --editable .
```

Or from source:

```bash
python setup.py build_ext --inplace
pip install .
```

## Quick usage

```python
import pyda

pyda.init()
# ... use pyda._core, pyda.gameplay, pyda.physics_engine, etc.
pyda.quit()
```

Core entry points live in `pyda._core` (re-exported from the top-level package). Other modules are available as:

- `pyda._draw`, `pyda._font`, `pyda._image`, `pyda._mixer`, `pyda._mouse`, `pyda._key`
- `pyda._rect`, `pyda._sprite`, `pyda._time`, `pyda._transform`
- `pyda.gameplay`, `pyda.physics_engine`, `pyda.geometry_engine`, `pyda.collision_engine`, `pyda.game_utils`
- Helpers: `pyda._math`, `pyda._text`, `pyda._bytes`, `pyda._datastruct`

## Build notes

The C extensions must match the `PyInit_*` / module names defined in the `.c` sources. SDL2-dependent modules are linked with `-lSDL2`.

## License

See repository for license information.
