Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Simple and lightweight async console runner.

Project description

Async cli client/commander framework

aiocli is a Python library for simple and lightweight async console runner.

Full compatibility with argparse module and highly inspired by aiohttp module.


Use the package manager pip to install aiocli.

pip install aiocli


# examples/
from aiocli import commander

app = commander.Application()

@app.command(name='greet:to', positionals=[('--name', {'default': 'World!'})])
async def handle(args: dict) -> int:
    print('Hello ' + args.get('name'))
    return 0

if __name__ == '__main__':


  • Python >= 3.6


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiocli, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size aiocli-1.2.1-py3-none-any.whl (7.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiocli-1.2.1.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page