金字塔休息框架
lovely.pyrest的Python项目详细描述
可爱的柴堆
可爱的柴堆是 Pyramid轻松创建 休息服务。它提供了用 以下功能:
功能
- Sphinx extension to automatically generate documentation
- Schema-validation based on jsonschema
文件
看看documentation 以获取使用信息。
安装
通过PIP安装
要通过pip安装lovely.pyrest,请使用 以下命令:
$ pip install lovely.pyrest
要更新,请使用:
$ pip install -U lovely.pyrest
通过简易安装安装
如果您喜欢由 setuptools 使用以下命令:
$ easy_install lovely.pyrest
要更新,请使用:
$ easy_install -U lovely.pyrest
开发设置
有关开发设置说明,请参见:
DEVELOPER.rst
可爱的火葬的变化
2015年7月21日2.1.1
- allow a REST class to be used on multiple routes
2014年9月9日2.1.0
- extended Validator to provide custom validators by the schema
2014年1月28日2.0.10
- removed array validation conversion for get params
2014年1月28日2.0.9
- added optional convert_get_params parameter to validate function
2014年1月24日2.0.8
- modified the documentation output
- validation schema is rendered as code block
- endpoint title is first line of docstring
2014年1月16日2.0.7
- removed error views from package
2014年1月15日2.0.6
- fixed documentation setup
- removed unused error view
2014年1月14日2.0.5
- updated documentation and added first example
- moved content of testing/tests.py to lovely/pyrest/tests.py
2014年1月14日2.0.4
- updated documentation for sphinx directive
- fixed optional positional arguments in sphinx directive
2014年1月14日2.0.3
- added sphinx option for pyramid_config path. With this option set url prefixes are rendered correctly and it’s not necessary to specify a module in service directive
2014年1月14日2.0.2
- bugfix: prevent duplicate rendering of methods in autodoc
2014年1月14日2.0.1
- updated documentation generation for lovely.pyrest 2.0
2014年1月10日2.0.0
- new version using decorator approach to define rest services