Git Product home page Git Product logo

aiohttp_bestpractices's Introduction

AioHttp_BestPractices

AioHttp最佳实践

说明:在使用之前先需要了解协程,事件循环(Event Loop),回调(驱动生成器),IO多路复用(epoll)等相关知识,方可快速上手 可以先尝试查阅Flask最佳实践:https://github.com/yangyuexiong/Flask_BestPractices

AioHttp_BestPractices
├── ApplicationExample.py(应用实例)
├── Pipfile(环境依赖)
├── Pipfile.lock
├── README.md
├── app
│   ├── __init__.py
│   ├── all_reference.py(通用统一导入)
│   ├── api
│   │   ├── __init__.py(url统一导入)
│   │   ├── index
│   │   │   ├── __init__.py
│   │   │   └── index.py
│   │   └── login
│   │       ├── __init__.py
│   │       └── login.py
│   ├── models(模型)
│   │   └── __init__.py
│   └── static(静态文件)
│       └── __init__.py
├── common(公共类)
│   ├── __init__.py
│   └── libs
│       ├── __init__.py
│       ├── api_result.py
│       └── tools.py
├── config(配置文件)
│   ├── __init__.py
│   ├── config.py
│   ├── dev.ini
│   ├── prod.ini
│   └── uat.int
├── registry(统一注册)
│   ├── __init__.py
│   ├── api_register.py
│   ├── conf_register.py
│   ├── db_register.py
│   └── hook_register.py
└── run.py

待补充

aiohttp_bestpractices's People

Contributors

yangyuexiong avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.