Unofficial high-level Python bindings for the Rust gamedig crate.
pip install gamedig
from socket import gethostbyname
from gamedig import query
ip_address = gethostbyname('minecraftonline.com')
response = query('minecraft', ip_address)
print(response)
- Install dependencies into a virtual env:
uv sync
- Make changes to the code and tests
- Build the package:
uv run maturin develop
- Run the tests:
uv run pytest