python-gflags - implementation of the Google command line flags module - Python 2.x

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-gflags
Package version: 1.5.1
Package release: 2
Package architecture: all
Package type: deb
Installed size: 179 B
Download size: 34.41 KB
Official Mirror:
GFlags defines a distributed command line system, replacing systems like getopt(), optparse and manual argument processing. Rather than an application having to define all flags in or near main(), each Python module defines flags that are useful to it. When one Python module imports another, it gains access to the other's flags. It includes the ability to define flag types (boolean, float, integer, list), autogeneration of help (in both human and machine readable format) and reading arguments from a file. It also includes the ability to automatically generate man pages from the help flags. This package provides the Python 2.x module.



    Source package: python-gflags

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-gflags deb package:
      # sudo apt-get install python-gflags


    • /usr/bin/python2-gflags2man
    • /usr/lib/python2.7/dist-packages/
    • /usr/lib/python2.7/dist-packages/
    • /usr/lib/python2.7/dist-packages/python_gflags-1.5.1.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/python_gflags-1.5.1.egg-info/SOURCES.txt
    • /usr/lib/python2.7/dist-packages/python_gflags-1.5.1.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/python_gflags-1.5.1.egg-info/top_level.txt
    • /usr/share/doc/python-gflags/changelog.Debian.gz
    • /usr/share/doc/python-gflags/copyright
    • /usr/share/man/man1/python2-gflags2man.1.gz


    2014-08-28 - Thomas Goirand <> python-gflags (1.5.1-2) unstable; urgency=medium * Added Python 3 support. * Added myself as uploader. * Standards-Version is no 3.9.5.

    2011-06-17 - Soren Hansen <> python-gflags (1.5.1-1) unstable; urgency=low * New upstream release * python2.7-testsuite.patch: Make test suite pass with Python 2.7. (Closes: #625155) * Convert to dh7 and dh_python2. * Bump Standards-Version to 3.9.2. No changes needed. * Add Vcs headers. * Stop depending on in debian/watch. * Make sure to remove generated man page on clean. * Drop update-SOURCES.txt.patch and just delete SOURCES.txt on clean. * Make failure of the test suite fatal for every python version, not just the last one.

    2010-07-28 - Soren Hansen <> python-gflags (1.3-1) unstable; urgency=low * Initial upload to unstable. (Closes: #588284)