Skip to main content
[![PyPI](https://img.shields.io/apm/l/vim-mode.svg?style=flat-square)](https://github.com/dsal3389/easyTCP/blob/master/LICENSE)
[![](https://img.shields.io/pypi/pyversions/Django.svg?style=flat-square)](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])**

Metadata

Release files for easyTCP 0.6.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 easyTCP 0.6.3
File Size Uploaded
easyTCP-0.6.3.tar.gz 13.3 kB Details

Release files / easyTCP-0.6.3.tar.gz

Download URL easyTCP-0.6.3.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
84677e942d85a21033cc20320e59df911b414d3fe5dedc48b2b4a1b97ede16d6
BLAKE2b-256 checksum
How to use checksums
aa53931f2036e2a4d87fa01fad8c98fa6c5698e340e0cdc3136e31d73e583e97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

0.6.3 This release

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.7

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

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