DDnet econ
Project description
Installation
pip install ddecon
Usage/Examples
from ddecon import ECON
if __name__ == "__main__":
econ = ECON("127.0.0.1", 8303, "password")
econ.connect()
econ.message("Hello World")
while True:
message = econ.read()
if message is None:
continue
print(message.decode()[:-3])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ddecon-0.2.0.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file ddecon-0.2.0.tar.gz
.
File metadata
- Download URL: ddecon-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68045f6dc3ab3979181093606f44c613b6f4bfb4655e628c817aa5a52e7ec6ae |
|
MD5 | 21f7a38a7f3a76da4777abe3986f3ff3 |
|
BLAKE2b-256 | 700791160c967ddafcb0de61538f4b221acf3d91835b94a1a1a6e6d0e5e73bfb |
File details
Details for the file ddecon-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ddecon-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8d04f48799a2192994bf5eafb174a2673f4c49d82fa66d4b619bb73815853f |
|
MD5 | b881ef8facc2aec51c0efcbfa1f6aae7 |
|
BLAKE2b-256 | e06e1cd62ac77a2c075b66a4e61d24e1f8b2526890d34c89276589b1e8f5d247 |