aioci
was a proof of concept fork of pyaci
, with typing, asyncio and PEP8 in mind.
You can read more about it in the original documentation
Work to be done:
- rewrite to be more pythonic
- function names should be
up()
,.json
,.dn
,.parent
and notUp()
,.Json
,.Dn
,.Parent
- files should be formatted by black
- function names should be
- implement typing
- typing for configurable objects
- Automatically generate stub file (see
scripts/
)
- Automatically generate stub file (see
- typing for all objects*
- typing for configurable objects
- remove clutter, such as scripts for generating meta, flask implementations etc.
- rewrite tests from
nose
/nosetests
to pytest - rewrite to asyncio
- requests to httpx / aiohttp
- websocket and threading -> websockets / aiohttp
*Only configurable objects has types at the moment. This is due to the 2.6mb cap PyCharm has on file-inspection.
The stub file (aioci/core.pyi
) generated for all objects is about 8.6mb, compared to the ~1mb with only
configurable objects.
All objects could be implemented by updating PyCharm intellisense max filesize to 10mb
(idea.max.intellisense.filesize=10000000
), but that will not be done until it is needed.
Another idea could be to utilize imports differently, but I have not experienced with this yet.
See docs