Skip to main content

asyncrcon

PyPI 

asyncrcon is a client side implementation of the Minecraft RCON protocol using asyncio sockets for non-blocing socket handling.

pip install asyncrcon

Links

Usage Example

For more examples, see here. Here, we are opening a RCON connection to add a given user to the servers whitelist. Then, we close the connection.

from asyncrcon import AsyncRCON, AuthenticationException

async def add_to_whitelist(user: str):
    rcon = AsyncRCON('loclahost:25575', 'secretRCONPassword')
    try:
        await rcon.open_connection()
    except AuthenticationException:
        print('Login failed: Unauthorized.')
        return

    res = await rcon.command('whitelist add {}'.format(user))
    print(res)

    rcon.close()

© 2020 Ringo Hoffmann (zekro Development)
Covered by the Apache Licence 2.0.

Metadata

Release files for asyncrcon 1.1.4

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

Source distribution (sdist)

Source distribution for asyncrcon 1.1.4
File Size Uploaded Provenance
asyncrcon-1.1.4.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for asyncrcon 1.1.4
File Interpreter ABI Platform
asyncrcon-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / asyncrcon-1.1.4.tar.gz

Download URL asyncrcon-1.1.4.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3c8600bf76a7888687520c712414e5a2f521bb9648f3504980968445c052d57c
BLAKE2b-256 checksum
How to use checksums
c8eda74746140e33d5c97e41cf898fe3bf82b7103546eb3a9aaa317162c2da85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / asyncrcon-1.1.4-py3-none-any.whl

Download URL asyncrcon-1.1.4-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe748aa25980859399b4638f6ad7d1166bca45efb495fa3963ae1c84e30ed752
BLAKE2b-256 checksum
How to use checksums
b8540d11b9136db5b774469b7630d68f415dece3a7edfba375e0e87cb5681500
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for asyncrcon 1.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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