serverjars-api
Download and fetch details about Minecraft server jars.
Installation
Install the module with pip:
pip3 install serverjars-api
Update existing installation: pip3 install serverjars-api --upgrade
Features
- Access vanilla or modded Minecraft jars.
- No 3rd party APIs.
- Add support for your own jar service.
Links
Dependencies
| Name | Description |
|---|---|
| requests | Requests is a simple, yet elegant, HTTP library. |
| pydantic | Data validation using Python type hints |
Code Examples:
Fetching the latest jar:
import serverjars
latest = serverjars.fetch_latest('vanilla', 'release')
print(latest)
Fetching all the Jars:
import serverjars
allJars = serverjars.fetch_all('vanilla', 'snapshot')
print(allJars)
Fetching types:
import serverjars
subtypes = serverjars.fetch_types('modded')
print(subtypes)
Downloading Jars:
import serverjars
serverjars.download_jar('vanilla', "release")
Create and run a Minecraft server
import serverjars
app = serverjars.App.create('vanilla', "release", fp="svr/server.jar")
app.run()
Metadata
Release files for serverjars-api 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serverjars-api-1.4.0.tar.gz | 7.8 kB | Without provenance | Details for serverjars-api-1.4.0.tar.gz |
Release files / serverjars-api-1.4.0.tar.gz
| Download URL | serverjars-api-1.4.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f75321fbb7d8339da8d9c635f531f7cb8c96ae8a697015a83975a73cbe885cfe
|
|
BLAKE2b-256 checksum How to use checksums |
2d9f7867066483f641ec42efffbe23ef09f0ef752ff6252e3ad746eb10b90e8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for serverjars-api 1.4.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.