https://aspen.io
Aspen — Aspen 2.0.dev0 documentation
Aspen — Aspen 2.0.dev0 documentation Aspen latest Filesystem Dispatch Rules How to Write a Simplate How to Write a Plugin How to Write a Framework Wrapper API Reference Aspen Docs » Aspen Edit on GitHub Aspen¶ Aspen is a filesystem dispatch library for Python web frameworks. Instead of using regular expressions, decorators, or object traversal, Aspen dispatches HTTP requests based on the natural symmetry of URL paths and filesystem paths. In the immortal words of Jeff Lindsay, “so like. a web server.” Yes! ;-) This is the documentation for the development version of the core Aspen library, describing its filesystem dispatch behavior regardless of the web framework you’re using it with. For instructions on configuring Aspen with a specific web framework, see the docs for django-aspen, Flask-Aspen, or Pando. See the project homepage for an overview. This version of Aspen has been tested with Python 3.6, 3.7, 3.8 and 3.9, on both Ubuntu and Windows. Aspen’s source code is on GitHub, and is MIT-licensed. Installation¶ Aspen is available on PyPI: $ pip install aspen Contents¶ Filesystem Dispatch Rules Dynamic Resources Path Variables Ready for Simplates? How to Write a Simplate Sections of a Simplate Context Standard Renderers Specline Defaults Content Negotiation How to Write a Plugin How to Write a Framework Wrapper API Reference aspen.http aspen.request_processor aspen.request_processor.dispatcher aspen.request_processor.typecasting aspen.simplates aspen.output aspen.testing aspen.exceptions See Also¶ The Keystone web framework was inspired by Aspen. Next © Copyright 2016, Chad Whitacre, et al Revision 17a12ce1. Built with Sphinx using a theme provided by Read the Docs.
en
en
1732439581
https://aspen.io
Сайтыңызды өңдеу керек пе?
Сен не істеп жатырсың?