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.

Metadata

Release files for ventro-minecraft-status 1.0.0

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.0
File Size Uploaded Provenance Actions
ventro_minecraft_status-1.0.0.tar.gz 4.2 kB Without provenance Details for ventro_minecraft_status-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.4 kB

Release files / ventro_minecraft_status-1.0.0.tar.gz

Download URL ventro_minecraft_status-1.0.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0d201cbf005ef9f21209de83f92ca84e36a7039a0d60d360398d9653ffd03a1a
BLAKE2b-256 checksum
How to use checksums
47025f881d94d2fa094a186a6c4b81c6c76ff1f9e66af83afb29a71fd18dc4d0
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.0-py3-none-any.whl

Download URL ventro_minecraft_status-1.0.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
229f68d8238ec4ae00383d8cff1c1dcdf342bd6eced43c726034220ce6005f25
BLAKE2b-256 checksum
How to use checksums
f872a19ecd35279a7646a800321dc4f77046432c310c1c762ca18923e5c13361
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.0

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.0 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