Skip to content

DoctorJohn/python-gamedig

Repository files navigation

python-gamedig

Versions PyPI Downloads License

Unofficial high-level Python bindings for the Rust gamedig crate.

Installation

pip install gamedig

Usage

from socket import gethostbyname
from gamedig import query

ip_address = gethostbyname('minecraftonline.com')

response = query('minecraft', ip_address)

print(response)

Development

  1. Install dependencies into a virtual env: uv sync
  2. Make changes to the code and tests
  3. Build the package: uv run maturin develop
  4. Run the tests: uv run pytest

About

Unofficial high-level Python bindings for the Rust gamedig crate

Topics

Resources

License

Stars

Watchers

Forks