https://github.com/dsal3389/easytcp
python asyncronus server/client with encryption very very easy to use
https://github.com/dsal3389/easytcp
asynchronous easy-to-use encryption have-it-your-way python-asynchronous-server python3 simple
Last synced: 2 months ago
JSON representation
python asyncronus server/client with encryption very very easy to use
- Host: GitHub
- URL: https://github.com/dsal3389/easytcp
- Owner: dsal3389
- License: mit
- Created: 2018-11-23T20:38:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-27T21:31:32.000Z (over 4 years ago)
- Last Synced: 2025-02-15T10:39:11.842Z (3 months ago)
- Topics: asynchronous, easy-to-use, encryption, have-it-your-way, python-asynchronous-server, python3, simple
- Language: Python
- Size: 117 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/dsal3389/easyTCP/blob/master/LICENSE)
[](https://pypi.org/project/easyTCP/#description)# easyTCP
an esay way to user async server# installing
`python3 -m pip3 install -Uv easyTCP`### example
files for example [here][examples].[examples]: https://github.com/dsal3389/easyTCP/tree/master/example
### what you get
- encryption
- BUILD IN requests
- user level `superuser/normal user`# Quick start
```py
import asyncio
from easyTCP.SERVER.backend import SERVER
from easyTCP.SERVER.utils import DEFAULT_SETTINGS
from easyTCP.SERVER.utils.BUILD_IN import BUILD_IN@SERVER.on_ready
async def x(server):
print("[+] SERVER started (IP: %s | PORT: %d)" %(server.ip, server.port))async def main(loop):
server = SERVER('127.0.0.1', 25569, None, settings=DEFAULT_SETTINGS, superuser_password='123', loop=loop)
await server.start()if __name__=='__main__':
loop=asyncio.get_event_loop()
loop.run_until_complete(main(loop))try:
loop.run_forever()
finally:
loop.close()
```
**(this is a server that only show when he is ready but everything is still working like `removing/adding` clients
and build in commands are loaded recommanded looking at [here][examples])**