Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> python >> python-routes
etiona  ]
[ 源代码: routes  ]

软件包: python-routes (2.4.1-1)

Routing Recognition and Generation Tools

Routes is a Python re-implementation of the Rails routes system for mapping URLs to Controllers/Actions and generating URLs. Routes makes it easy to create pretty and concise URLs that are RESTful with little effort.

Speedy and dynamic URL generation means you get a URL with minimal cruft (no big dangling query args). Shortcut features like Named Routes cut down on repetitive typing.

Current features:

 * Named Routes
 * Sophisticated Route lookup and URL generation
 * Wildcard path's before and after static parts
 * Groupings syntax to allow flexible URLs to accommodate almost any need
 * Sub-domain support built-in
 * Conditional matching based on domain, cookies, HTTP method (RESTful), and
   more
 * Easily extensible utilizing custom condition functions and route generation
   functions
 * Extensive unit tests

其他与 python-routes 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libjs-sphinxdoc (>= 1.0)
    JavaScript support for Sphinx documentation
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-pkg-resources
    Package Discovery and Resource Access using pkg_resources
  • dep: python-repoze.lru
    tiny LRU cache implementation and decorator
  • dep: python-six
    Python 2 and 3 compatibility library (Python 2 interface)
  • rec: python-webob
    Python module providing WSGI request and response objects (Python 2)
  • sug: python-paste
    tools for using a Web Server Gateway Interface stack - Python 2.x

下载 python-routes

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 86.3 kB642 kB [文件列表]