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 | |
|---|---|---|---|
| mcedu-0.0.3.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcedu-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|