A pyramid plugin that describes a pyramid application URL hierarchy via inspection.
Project description
===================================
Self-Documentation for Pyramid Apps
===================================
A Pyramid plugin that makes a Pyramid application self-documenting via
inspection/reflection to:
1. Describe the application URL structure,
2. Extract documentation from Python comments, and
3. Generate formal syntax using commenting conventions.
The resulting documentation can be served by the application to an
HTTP request or displayed on the command line. It has built-in support
for plain-text hierachies, reStructuredText, HTML, PDF, JSON, YAML,
WADL, and XML, however other custom formats can be added easily.
Exposing an application's structure via HTTP is useful to dynamically
generate an API description (via WADL, JSON, or YAML) or to create
documentation directly from source code.
On the command-line it is useful to get visibility into an
application's URL structure and hierarchy so that it can be understood
and maintained.
.. note::
Although pyramid-describe is intended to be able to describe any
kind of pyramid application, currently it only supports
pyramid-controllers_ based dispatch.
.. note::
Currently, pyramid-describe can only inspect the first Controller
it finds -- this will eventually be fixed to correctly implement
the `inspect` option.
Self-Documentation for Pyramid Apps
===================================
A Pyramid plugin that makes a Pyramid application self-documenting via
inspection/reflection to:
1. Describe the application URL structure,
2. Extract documentation from Python comments, and
3. Generate formal syntax using commenting conventions.
The resulting documentation can be served by the application to an
HTTP request or displayed on the command line. It has built-in support
for plain-text hierachies, reStructuredText, HTML, PDF, JSON, YAML,
WADL, and XML, however other custom formats can be added easily.
Exposing an application's structure via HTTP is useful to dynamically
generate an API description (via WADL, JSON, or YAML) or to create
documentation directly from source code.
On the command-line it is useful to get visibility into an
application's URL structure and hierarchy so that it can be understood
and maintained.
.. note::
Although pyramid-describe is intended to be able to describe any
kind of pyramid application, currently it only supports
pyramid-controllers_ based dispatch.
.. note::
Currently, pyramid-describe can only inspect the first Controller
it finds -- this will eventually be fixed to correctly implement
the `inspect` option.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyramid_describe-0.5.3.tar.gz
(167.6 kB
view details)
File details
Details for the file pyramid_describe-0.5.3.tar.gz
.
File metadata
- Download URL: pyramid_describe-0.5.3.tar.gz
- Upload date:
- Size: 167.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c596025a21c8da8dfd7c89ee296de7a9adcaec3bf101a33b752a0cd291c7deba |
|
MD5 | 6ef72d33e4903776ac8a0dfc69a1db43 |
|
BLAKE2b-256 | ba8613240513b884138318c685797dbed9459e4b807ef07eb4757c5e40731677 |