The tool that helps quickly create a basis for aiohttp application
Project description
Create aio app
The tool that lets you bootstrap aiohttp application with best practices ready for development.
Here is a screenshot of our interfaces
Installation
Requires python3.6 - python3.7 and docker-compose
pip install create-aio-app
Usage
create-aio-app my_project
If you want to use interactive mode enter the next command:
create-aio-app
This will create a new directory called my_project
.
To start you new project run the next commands:
cd my_project
make run # start your project
Here is a link to all the make commands.
Then, navigate in your browser to http://localhost:8080/
Salient Features
- aiohttp - the best python framework :)
- mypy - optional static typing
- pytest - unit tests
- flake8 - linter
- black - code formatter
- trafaret - data validation
- aio devtools - developer tools
- aiohttp debug toolbar - tool for debugging
- postgres - storage
- alembic - database migration tool
- sqlAlchemy - orm
- sphinx - docs
- docker-compose - tool for defining and running multi-container Docker applications
- py-spy - Sampling profiler for Python programs
Options
--without-postgres
- remove postgres and all of its requirements
--redis
- add redis to the template
--uvloop
- uvloop event loop for aiohttp
Contributing
create-aio-app
is a boilerplate from aiohttp community for aiohttp
community. Feel free to make any suggestions on the issues or
create a pull request. We will be very 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.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed25e60018f92f95a07b3d8ec3430268f98438523a3982b832c70eac75d8d29d |
|
MD5 | f742e66b538c2acc8bb779b65146a08a |
|
BLAKE2b-256 | ccdd2a9ccbad25aa2a49ebd4ea95b4c87a4ccd0241cf9dab37ff36aff6c9286d |