File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
# aiomcrcon
2
- ![ Dynamic TOML Badge ] ( https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Farvitus%2Faiomcrcon%2Fmaster%2Fpyproject.toml&query=%24.project%5B%22requires-python%22%5D&style=for-the-badge&label=Python&color=blue )
2
+ ![ Python Versions ] ( https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Farvitus%2Faiomcrcon%2Fmaster%2Fpyproject.toml&query=%24.project%5B%22requires-python%22%5D&style=for-the-badge&label=Python&color=blue )
3
3
![ CodeFactor Grade] ( https://img.shields.io/codefactor/grade/github/arvitus/aiomcrcon?style=for-the-badge&color=green )
4
- <!--
5
- [](https://pypi.org/project/aiomcrcon)
6
- [](https://pypi.org/project/aiomcrcon)
7
- -->
8
- An async Minecraft RCON client library with support for fragmented responses.
4
+ [ ![ PyPI - Version] ( https://img.shields.io/pypi/v/py-aio-mcrcon?style=for-the-badge&color=green )] ( https://pypi.org/project/py-aio-mcrcon )
5
+ [ ![ PyPI - Downloads] ( https://img.shields.io/pypi/dm/py-aio-mcrcon?style=for-the-badge&color=green )] ( https://pypi.org/project/py-aio-mcrcon )
9
6
7
+ An async Minecraft RCON client library with support for fragmented responses.
10
8
11
9
## Installing
12
10
``` sh
13
- pip install git+https://github.com/arvitus/aiomcrcon
11
+ pip install py-aio-mcrcon
14
12
```
15
13
16
14
## Example
@@ -24,7 +22,7 @@ async def main():
24
22
response = await client.command(" list" )
25
23
26
24
# Without context manager
27
- client = aiomcrcon.Client(" myserver.com" , " password" )
25
+ client = aiomcrcon.Client(" myserver.com" , " password" ) # port is optional, default is default RCON port
28
26
await client.connect()
29
27
response = await client.command(" list" )
30
28
await client.close()
You can’t perform that action at this time.
0 commit comments