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.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file ddecon-0.2.1.tar.gz
.
File metadata
- Download URL: ddecon-0.2.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20f8cea6e6a7131a4d0c3bbf59fbbde9f32863fb072806f591bf6bcb2a88221f |
|
MD5 | 28a59806d95a50e82d1792bb2cb9a377 |
|
BLAKE2b-256 | 63431d42cf3ffa6dbea59e9a55f8584ac4eae18f8b828a86b76f5bca3d8a6bd5 |
File details
Details for the file ddecon-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: ddecon-0.2.1-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.13.0rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cde38557235d19be8cee89917ca538cad11cb1e825942acf7e41bc70a68a7a9 |
|
MD5 | b449fd42f8d5e2b19ee995f9664e3c78 |
|
BLAKE2b-256 | b176c0bf6f0961250bdd44aafefa31f1e6d892d7d724498ebbca962a07d77c15 |