mcedu
Provides methods to query Minecraft Education's discovery/joincode API and to generate related tokens.
Installation
From PyPI
pip install mcedu
From Github
pip install git+https://github.com/josef240/mcedu.git
Build Locally
git clone https://github.com/josef240/mcedu.git
cd mcedu
python -m pip install setuptools, build
python -m build
Usage Example
from mcedu.discovery import DiscoveryClient,WorldParams, parseJoinCode
from mcedu.config import get_config, easyStartup
from mcedu.auth import AuthFlow
auth=easyStartup()
config=get_config()
config.saveSettings()
discovery=DiscoveryClient(auth.mstoken)
ServerToken,JoinCode=discovery.host(WorldParams(nethernetID=67212867493148092771))
print(parseJoinCode(JoinCode))
Metadata
Release files for mcedu 0.0.3
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 |
|---|---|---|---|---|
| mcedu-0.0.3.tar.gz | 13.8 kB | Without provenance | Details for mcedu-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcedu-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for mcedu-0.0.3-py3-none-any.whl |
Total release size: 30.4 kB
Release files / mcedu-0.0.3.tar.gz
| Download URL | mcedu-0.0.3.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90ebe13ff0e284b146a8a712ec92ba9e1cae6bfaefb521f45ac3f96301cc0bec
|
|
BLAKE2b-256 checksum How to use checksums |
8af3cb673790d4c9a08da40c487c502530bbb4cb1473dc0f62731784630b0336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Release files / mcedu-0.0.3-py3-none-any.whl
| Download URL | mcedu-0.0.3-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4f8cf83265073978f45b42f83e21db586dacb7b243da536b7d6bd211d5ae48e
|
|
BLAKE2b-256 checksum How to use checksums |
72262a44e426ecb644c47051a72c829830e19e218f9c1c5136e07bab39b1e99e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Security for mcedu 0.0.3
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.