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)
- Clone the repository and change into its directory
- Create a virtual environment:
uv venv --seed
- Install dev dependencies:
uv sync --only-dev
- Activate the virtual environment:
source .venv/bin/activate
- Make changes to the code and tests
- Build the package:
maturin develop
- Run the tests:
pytest