Skip to main content

mc-protocol

简体中文 | English

一个轻量、快速、易用的、以Minecraft协议为主的库。
PyPI

环境

本项目基于Windows平台 Python 3.11开发,支持3.8以上的Python版本。

安装

你可以在不同平台上安装。
Windows (配置了Scripts环境变量):

pip install mc-protocol

Windows (通用):

python -m pip install mc-protocol

Linux:

python3 -m pip3 install mc-protocol

使用

开发文档

我们提供了官方文档供查阅。

验证API

本项目有独立的Azure应用,用于Minecraft的登录。
Client ID(客户端ID):18a1a4c2-ccae-4306-9e55-e9500a1793d7
Client Secret (客户端密钥):.1p8Q~pZg4SAtJbRckX2Iq-TW8V3_sWkd-h7maQA (2027年7月30日到期)
Redirect Uri (重定向链接):http://localhost:11451

鸣谢

本项目离不开广大开源开发者的支持,以下是主要开发者名单:

本项目全部采用Visual Studio Code开发。

Metadata

Release files for mc-protocol 1.0.3

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

Source distribution (sdist)

Source distribution for mc-protocol 1.0.3
File Size Uploaded
mc_protocol-1.0.3.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mc-protocol 1.0.3
File Interpreter ABI Platform
mc_protocol-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / mc_protocol-1.0.3.tar.gz

Download URL mc_protocol-1.0.3.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
69bf84968b16b3728fd8352d99098762e4273b0aa6c37cc0c347a29d1e03c0ae
BLAKE2b-256 checksum
How to use checksums
ffe5ee45fcb41f95b127a77fde9d9bd1b407bb81632661a5cb76a5e000f41932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / mc_protocol-1.0.3-py3-none-any.whl

Download URL mc_protocol-1.0.3-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c0b15f38e4ef4ae3edba9d1aaed2ad0b116de5aa9d9748058a7ecabd423904c
BLAKE2b-256 checksum
How to use checksums
35b6fdf9c1b19ffd9424ecbb1aae8b52611ab2a8e7bf6b02751df6ae387dfea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4
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