AsyncAPY - A fully fledged Python 3.6+ library to serve APIs asynchronously
AsyncAPY is a Python framework, supporting Python 3.6 and above, that simplifies the process of creating API backends with an async flavor without having to actually deal with the low-level I/O operation, cancellation/timeout handling and all that messy stuff, because AsyncAPY does that automatically under the hood, and it does so in a smart way that grants stability and low resource demand.
Some of its features are:
- Fully asynchronous
- Automatic timeout and error handling
- Custom application layer protocol
- Groups: multiple functions can handle the same packet and interact with the remote client
- Powerful, easy-to-use and high level API for clients, packets and sessions
- Packets filtering
- Easy to code, read and understand
- Minimize boilerplate code
- Native support for JSON and a custom standard (see here)
- Simple protocol specifications: The protocol can be easily reimplemented in any language
- Automatic handling of API subscriptions (API keys)
Documentation
The official documentation is available here
Getting started
Installing
Right now, the package is not available on PyPi because some custom dependencies need to be documented and published to the index before AsyncAPY can be succesfully installed via pip. In the meanwhile, you can run the following command in your terminal/shell (assuming pip and git are already installed):
python3 -m pip install --user git+https://github.com/intellivoid/AsyncAPY
This will install AsyncAPY and its dependencies in your system
Note: On Windows systems, unless you are using PowerShell, you may need to replace python3 with py or py3, assuming you added Python to PYTHONPATH when installed it.
Credits
The main developer
Nocturn9x aka IsGiambyy - Github & Telegram
