Skip to main content

twstatus.py

Get the server information of teeworlds servers.

Tested on vanilla and ddnet based servers.

pip install twstatus.py

from twstatus import ServerHandler
import asyncio

server = ServerHandler("1.1.1.1", 8303)

async def main():
    print(vars(await server.get_info()))

# Note: asyncio.run is only available on 3.7+
# https://docs.python.org/3/library/asyncio-task.html#id3
asyncio.run(main())

Metadata

Release files for twstatus.py 0.3.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 twstatus.py 0.3.3
File Size Uploaded
twstatus.py-0.3.3.tar.gz 3.3 kB Details

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / twstatus.py-0.3.3.tar.gz

Download URL twstatus.py-0.3.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1d500f55f2e5bd8b6be1a7fa5a1af03bf44e436556fb3869c07e51a96af435ff
BLAKE2b-256 checksum
How to use checksums
d1ce610f380c975679ffe3a196332b73e8ce8c4d3961bd33380fb20ae7dce592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release files / twstatus.py-0.3.3-py3-none-any.whl

Download URL twstatus.py-0.3.3-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bb588b6dfe3d546872210bed3002aa5b595bab6cb7eee1f51cf9ff5d9f0cd12
BLAKE2b-256 checksum
How to use checksums
a8efdaa2164c288a03210dc854874c53aa52801b568502b31f6c6badebf04818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

1 release file

0.3.0

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

2 release files

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