Metadata-Version: 2.4
Name: bedrockprotopy
Version: 0.0.3
Summary: Minecraft bedrock edition protocol library written in python
Home-page: https://github.com/elitrycraft/bedrockprotopy
Author: Deniz1111212(elitrycraft)
Author-email: elitrycraft@outlook.com
License: MIT
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# Bedrock Protocol Python (bedrockprotopy)

Python implementation of Minecraft Bedrock Edition protocol - ping servers, connect clients, and analyze packets.

## Installation

From git:
```bash
pip install git+https://github.com/elitrycraft/bedrockprotopy.git
```
From PyPI:
```bash
pip install bedrockprotopy
```

## Current Status

### Implemented
- Full server ping functionality
- Server response parsing (MOTD, version, player count)

### In Progress
- Packet send
- Player client functions
- Microsoft authentication
- World functions

## Usage Examples

### Basic Server Ping
```python
# import library
import bedrockprotopy

# ping local server
result = bedrockprotopy.ping(host="minescar.com", port=19132, timeout=5)

# print a result
print("Raw response:")
print(result["raw_response"])
print("")
print(f"""server info:

motd_line1: {result.get('motd_line1')}
motd_line2: {result.get('motd_line2')}
protocol: {result.get('protocol')}
version: {result.get('version')}
online: {result.get('online_players')}
max_players: {result.get('max_players')}""")
```
