Skip to main content

ventro-minecraft-status

Check a Minecraft Java Edition server from Python: online or offline, players, version, MOTD and latency. It uses the free status API of VentroHosting. No dependencies, Python 3.8+.

from ventro_minecraft_status import status, badge_url, StatusError

try:
    s = status("play.example.com")        # SRV records are resolved, "host:port" works too
    print(s["online"], s["players"], s["max"], s["version"], s["latencyMs"])
    print(s["motdText"])
except StatusError as e:
    print(e.reason, e)                    # invalid, dns, port, blocked, rate, network ...

print(badge_url("play.example.com"))      # https://ventrohosting.com/badge/play.example.com.svg

The API limits requests per visitor. Cache the result and do not poll more than once a minute.

Only the address you pass is sent to ventrohosting.com (privacy policy). A browser version with a badge generator is on ventrohosting.com/tools/minecraft-server-status (German). MIT licence.

About

VentroHosting rents game servers (Minecraft, Valheim, Terraria and more) with a web control panel. The free tools behind this package are at ventrohosting.com/tools.

Metadata

Release files for ventro-minecraft-status 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ventro-minecraft-status 1.0.1
File Size Uploaded Provenance Actions
ventro_minecraft_status-1.0.1.tar.gz 4.3 kB Without provenance Details for ventro_minecraft_status-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ventro-minecraft-status 1.0.1
File Interpreter ABI Platform Actions
ventro_minecraft_status-1.0.1-py3-none-any.whl Python 3 none any Details for ventro_minecraft_status-1.0.1-py3-none-any.whl

Total release size: 8.7 kB

Release files / ventro_minecraft_status-1.0.1.tar.gz

Download URL ventro_minecraft_status-1.0.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6331e7d18d9736e48aca9a78a386f3049ecc86c3a5bae0fcfa826980ced5b1f8
BLAKE2b-256 checksum
How to use checksums
a7d19184e27ba61310f114b3077b03a3ed639adde904cdccd6a5776dea303fbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / ventro_minecraft_status-1.0.1-py3-none-any.whl

Download URL ventro_minecraft_status-1.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dd1043042f94808df5bc3d0d85ac23bcebc432d9d5af4491cff3905507cda3d
BLAKE2b-256 checksum
How to use checksums
48fe3587ea8c3acd73077b8bdb16db42a094bf5a52d0fc7352d6208914b445d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Security for ventro-minecraft-status 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page