zerlok / asynchron

Python service framework with code generator based on AsyncAPI specification
MIT License
2 stars 0 forks source link
asyncapi codegen python

asynchron

DEPRECATED: don't use my project, try https://github.com/airtai/faststream instead.

Python service framework with code generator based on AsyncAPI specification

Usage example

1) install and run codegen

    poetry add asynchron -E cli
    poetry run asynchron -f /path/to/asyncapi.yaml codegen python-aio-pika -o /output/dir

2) install dependencies for you generated code

    poetry add asynchron -E aio-pika

Development

Use bash script to install all necessary dependencies. It installs all defined extras from pyproject.toml

./scripts/install-dev.sh