Dear all,
I’ve completed the initial implementation of the gnubg Python package and
published it to TestPyPI:
🔗 https://test.pypi.org/project/gnubg/
This builds upon the existing pygnubg program by Joseph Heled wraps the GNUBG
neural network evaluation engine and exposes it to Python3 as a module
installed via pip. The project is now in a reviewable state, and I’d welcome
your feedback before progressing to a full PyPI release.
What's Included
*
⚙️ Prebuilt binary wheels for Python 3 on:
*
Linux (manylinux)
*
macOS (Intel and ARM)
*
Windows
*
🐍 Pythonic API using snake_case naming conventions
*
🔬 Core evaluation and board utilities ported from the GNUBG C++ codebase
*
❗ training.cc from the original py/ directory is not yet ported
*
🧪 Basic test suite included
*
🔄 CI/CD workflows for building and testing (GitHub Actions)
*
🚨 Linting is still failing – currently being addressed
*
📚 API documentation is in progress https://gnubg.readthedocs.io/en/latest/
AI Code Generation
A significant portion of the code, documentation, and DevOps work was generated
with the assistance of generative AI tools, including:
*
GPT-4o and o4-mini-high via OpenAI ChatGPT
All outputs were reviewed and curated, but please be aware that some mistakes
may still exist.
________________________________
Please take a look and let me know if there’s anything you’d like changed or
added. I’ll be happy to adjust the structure, naming, or packaging details
based on your feedback.
Thanks again,
David Reay