Skip to main content

rich async server and easy to config

Project description

[Github-flavored Markdown](
![PyPI - Python Version](

# easyTCP2

# install 🤩
`pip install easyTCP2`

## what is easyTCP2?
it is the same concept like easyTCP (first version) but more stable, understandable, flexable, readable and more features
(and also because i was too layz to update the last one)
this gives you full controll on your server and make it easy and stable

### inspiration
I have inspired by [][discordpy] package because this
help you build bots so easily and they are useful so I wanted an easy way to build
asyncronus server so I have did many tests and took inspiration from the [][discordpy] code
(no I dont copy code accept this [function][coppiedfunc]) I dont take cradit for things I didnt think/did
all by myself


## what I get from that package? 🤔
| | easyTCP | easyTCP2 |
| user levels | yes | yes |
| groups | no | yes |
| events | no | yes |
| stable | not much | yes |
| logging | no | yes |
| encryption | yes | soon |
| logging | no | yes |

# when to use
if you creating a small project that needs a server
or an app that module can be very useful

### examples
example files [here][examples].
I add there examples in any update
if there is a missing version in the example it is because
it is not a big change or even only bug fixing


# quick start 🤯
import asyncio
from easyTCP2.Core.Settings import Settings
from easyTCP2.Server import Server

Settings.use_default() # using default

async def foo(server):
print("Server running (ip: %s | port: %d)" %(server.ip, server.port))

async def oof():
print("oof event called :)")

async def main(loop):
server = Server(loop=loop)
await server

if __name__=="__main__":
loop = asyncio.get_event_loop()


if you like or wanna try, install it! 🏅
it is not hard

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

easyTCP2-0.0.9.tar.gz (18.4 kB view hashes)

Uploaded source

Built Distribution

easyTCP2-0.0.9-py3-none-any.whl (23.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page