Skip to content

web框架apistar增强版,轻松构建企业级web项目

Notifications You must be signed in to change notification settings

F1928/apistellar

This branch is 68 commits behind ShichaoMa/apistellar:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 21, 2019
Jan 2, 2019
Sep 11, 2018
Dec 13, 2018
Oct 18, 2018
Jan 2, 2019
Sep 9, 2018
Jan 20, 2019
Jan 18, 2019
Jan 20, 2019
Apr 29, 2018
Sep 27, 2018
Sep 27, 2018
Nov 13, 2018
Jan 2, 2019
Oct 21, 2018

Repository files navigation

apistellar WEB框架

apistellar是基于apistar的web构建工具,同时增强了apistar的功能,使用apistellar可以轻松构建适合生产环境的web项目。

apistellar部分设计灵感参考ruby on rails

除了apistar本身的特性以外,apistellar增加如下几点高级用法:

  • CSM架构,将控制层,业务层,模型层完全分离,耦合性降至最低。
  • 模板式定制各类模型,轻松扩展模型定义的模板类。
  • 适配sphinx注释语法,使用构建命令一键生成api文档。
  • 集成flask版的session实现。
  • 自带一些event hook,轻松集成异常、session处理。
  • 集成配置模块,集中管理所有配置信息。
  • 离线任务管理,同一web服务下的离线任务,轻松复用web模块定义的model, service等等可注入对象。模板一键创建。
  • 集成IPython交互式命令行工具,自动注入model, service等对象。提供异步代码执行能力,轻松调试各模块。
  • 提供上传文件流对象,对大文件上传完美支持。
  • Apistar作者在uvicorn中提供了websocket支持,但是未集成到apistar中,apistellar对二者进行了集成,完美支持websocket。

INSTALL

# python 3.6 required
pip install apistellar

DOC

目录

参考资料

asgi web框架 APIStar----终于等到你...

asgi协议

About

web框架apistar增强版,轻松构建企业级web项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%