8000 GitHub - DoctorJohn/python-gamedig: Unofficial high-level Python bindings for the Rust gamedig crate
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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. Clone the repository and change into its directory
  2. Create a virtual environment: uv venv --seed
  3. Install dev dependencies: uv sync --only-dev
  4. Activate the virtual environment: source .venv/bin/activate
  5. Make changes to the code and tests
  6. Build the package: maturin develop
  7. Run the tests: pytest

About

Unofficial high-level Python bindings for the Rust gamedig crate

Topics

Resources

License

Stars

Watchers

Forks

0