BMIO
Boring Man Rcon Scripting made simple
# Create a Bmio
app = Bmio('localhost', 42070, 'admin')
# Register a handler
@app.handler(RconEvent.log_message)
def do_something(some_data: log_message):
print(some_data.Message)
# Run it!
app.run()
Voila! You now have an RCON bot that prints out the log messages
Let BMIO handle the type conversions and connection logic, so you have more time to create fun scripts!
Features
- Enums for just about every ID type, so you don't have write magic number checks in your code
- Automatically retry if one of the handlers fails
- Configure the level of concurrency for the size of the server
- Callback functions for handling data requests
- Sending commands has never been easier!
What's Next
- Use pydantic to coerce types
- Completion of type coercions: Flag data, Team information still needs to be completed
- Gamestate stores for gamemode specific Bmios
- Finish implementation of scoreboard object
- pypi publish
Metadata
Release files for bmio 0.2.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 | |
|---|---|---|---|
| bmio-0.2.0.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bmio-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.6 kB
Release files / bmio-0.2.0.tar.gz
| Download URL | bmio-0.2.0.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba0202fae26e637871ee3096aa062ff5c5b348bd3c7f5565f8406edd8ed64482
|
|
BLAKE2b-256 checksum How to use checksums |
97895752abb1f8d3bae29343f6b612ee6ec8b4c6f412c1576cf1194b4adc3ece
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / bmio-0.2.0-py3-none-any.whl
| Download URL | bmio-0.2.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f52703108efe865cb9d73234190cbd469b5e8dda08ec02105ea7ffaeb2be217d
|
|
BLAKE2b-256 checksum How to use checksums |
72a71b622620c60e1a5a7538e03e58f83801fadfd5e3fb0acf8b47f61ec3cbe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|