The tool that helps quickly create a basis for aiohttp application
Project description
Create aio app
The tool that helps quickly create a basis for the microservice on aiohttp and prepare the development environment.
Installation
Requires python3.6 - python3.7 and docker-compose
pip install create-aio-app
Usage
create-aio-app my_project
or if u wanna use manual mode, enter only command below
create-aio-app
After that it will create new directory my_project
.
cd my_project
make run # start your project
and open in your browser http://localhost:8080/
Features
- aiohttp - the best python framework :)
- mypy - for optional static typing
- pytest - for run unit tests
- black - for code formatter
- flake8 - for linting
- trafaret - for validation input data
- aio devtools - helpful tool for develop
- aiohttp debug toolbar - helpful tool for debugging
- postgres - storage
- alembic - tool for create migration
- sqlAlchemy - orm
- sphinx - for generate docs
- docker-compose - for running develop environment and deploy
Options
--without-postgres
- remove postgres and all helpful libs connected with db from template
--redis
- add redis to the template
--uvloop
- use uvloop event loop for aiohttp
Contributing
The create-aio-app
it's a boilerplate from aiohttp community for aiohttp
community. So, feel free to make some suggestion in the issue or make
pull requests. We will be happy 😀. See CONTRIBUTING.md for more information about
how to contribute to create-aio-app
.
License
Create aio App is an open source software available under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for create_aio_app-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98fb0f6c68b0ecab4fd79e825de534fff126ad253d1ee58dd08edcac04c9ea9 |
|
MD5 | c173ec9aa0142000b9ad114b3768bda8 |
|
BLAKE2b-256 | 61dbc8d74b851b8d97087bf869e955487fc8a2fc86fd30d348e3e2a3a422622a |