Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-routes
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: routes  ]

套件: python3-routes (2.4.1-2)

Routing Recognition and Generation Tools for Python 3

Routes is a Python 3 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

其他與 python3-routes 有關的套件

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

下載 python3-routes

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 86.0 kB648 kB [文件列表]