Package dakweb :: Package queries :: Module madison
[hide private]
[frames] | no frames]

Module madison

source code

"Madison" interface


Contact: Debian FTPMaster <ftpmaster@debian.org>

Copyright:

License: GNU General Public License version 2 or later

Functions [hide private]
 
madison()
Display information about `package`\ (s).
source code

Imports: bottle, json, list_packages, QueryRegister


Function Details [hide private]

madison()

source code 

Display information about `package`\ (s).

.. versionadded:: December 2014

Parameters:
  • package - Space separated list of packages.
  • a - only show info for specified architectures.
  • b - only show info for a binary type. deb/udeb/dsc
  • c - only show info for specified component(s). main/contrib/non-free
  • s - only show info for this suite.
  • S - show info for the binary children of source pkgs. true/false
  • f - output json format. json

    :return: Text or Json format of the data

    .. seealso:: :func:`~dakweb.queries.suite.suites` on how to receive a list of valid suites.

Decorators:
  • @bottle.route('/madison')