金字塔休息框架

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Jetty中的java Set AccessControlAllowOrigin   java我已将我的apk上传到google play,但没有显示任何设备兼容   在内存中创建mdb副本时发生java错误   是否有类似jQuery的选择器用于JavaXML解析?   C++不能使用JNI使用外部java类   java如何创建jpql查询以获取没有关联父级的实体   maven如何重新部署java web app cargo   java如何使用Gson将嵌套的json对象添加到文件中?   用于inputfield的java Sencha GXT自定义货币格式   java在容器上设置游标,而不更改子组件的游标   java JDBI使用fluent接口选择(非对象查询)   安卓 Firebase runTransaction不工作MutableData为空   java如何修复快速排序代码   java正则表达式验证密码,密码只接受固定长度之间的值   javascript拆分值并以格式化方式显示   java Asynctask:doInBackground中Asynctask和process的两个值