Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Import alias Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad ClassDef bases NameLoad body Assign NameStore Str Assign NameStore ListLoad TupleLoad Str Str Str TupleLoad Str NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call Call NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad Num NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpAdd Str NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore BinOpAdd Str NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign NameStore BinOpAdd NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Return BinOpMod Str Call AttributeLoad NameLoad attr NameLoad orelse Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Return Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign TupleStore NameStore Call Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Return NameLoad orelse Assign NameStore ListLoad If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Str If CompareIn Str AttributeLoad NameLoad attr body If CompareNotIn Str AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Print Str decorator_list decorator_list Assign NameStore ListLoad Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Expr Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str keyword Str keyword Str keyword Call NameLoad keyword ListLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword ListLoad Str Str Str Str Str Str Str Str Str Str Str Str keyword Str keyword Dict Str Str NameLoad NameLoad keyword Dict Str ListLoad Str
N/A N/A 
script to install pwman3
 N/A datetime distutils.core Command distutils.errors DistutilsOptionError distutils.command.build build N/A argparse setuptools setup setuptools find_packages N/A sys setuptools.command.install install N/A os N/A 
Add a `build_manpage` command  to your setup.py.
To use this Command class import the class to your setup.py,
and add a command to call this class::

    from build_manpage import BuildManPage

    ...
    ...

    setup(
    ...
    ...
    cmdclass={
        'build_manpage': BuildManPage,
    )

You can then use the following setup command to produce a man page::

    $ python setup.py build_manpage --output=prog.1
        --parser=yourmodule:argparser

Alternatively, set the variable AUTO_BUILD to True, and just invoke::

    $ python setup.py build

If automatically want to build the man page every time you invoke your build,
add to your ```setup.cfg``` the following::

    [build_manpage]
    output = <appname>.1
    parser = <path_to_your_parser>
 N/A N/A N/A N/A build sub_commands append N/A build_manpage None BuildManPage N/A Command N/A N/A description Generate man page from an ArgumentParser instance. N/A user_options N/A N/A output= O output file N/A parser= None module path to an ArgumentParser instance(e.g. mymod:func, where func is a method or function which returnan arparse.ArgumentParser instance. initialize_options N/A N/A self N/A N/A N/A N/A self output None N/A N/A self parser None N/A finalize_options N/A N/A self N/A N/A N/A N/A N/A self output None N/A N/A N/A DistutilsOptionError 'output' option is required N/A N/A N/A self parser None N/A N/A N/A DistutilsOptionError 'parser' option is required N/A N/A mod_name func_name N/A N/A N/A self parser split : N/A fromlist N/A N/A mod_name split . N/A N/A N/A mod N/A __import__ mod_name fromlist fromlist N/A N/A self _parser N/A N/A getattr mod func_name formatter_class ManPageFormatter N/A N/A N/A ImportError N/A err N/A N/A err N/A N/A N/A self announce N/A Writing man page %s N/A self output N/A N/A self _today N/A N/A N/A datetime date today N/A run N/A N/A self N/A N/A N/A dist N/A self distribution N/A homepage N/A N/A dist get_url N/A appname N/A N/A self _parser prog N/A sections N/A authors distribution pwman3 was originally written by Ivan Kelly <ivan@ivankelly.net>.
 pwman3 is now maintained by Oz Nahum <nahumoz@gmail.com>. N/A N/A The latest version of {} may be downloaded from {} format appname homepage N/A dist N/A self distribution N/A mpf N/A ManPageFormatter appname desc N/A N/A dist get_description long_desc N/A N/A dist get_long_description ext_sections sections N/A m N/A N/A mpf format_man_page N/A self _parser N/A N/A open N/A self output w f N/A N/A N/A N/A f write m N/A N/A ManPageFormatter N/A N/A argparse HelpFormatter N/A N/A 
    Formatter class to create man pages.
    This class relies only on the parser, and not distutils.
    The following shows a scenario for usage::

        from pwman import parser_options
        from build_manpage import ManPageFormatter

        # example usage ...

        dist = distribution
        mpf = ManPageFormatter(appname,
                               desc=dist.get_description(),
                               long_desc=dist.get_long_description(),
                               ext_sections=sections)

        # parser is an ArgumentParser instance
        m = mpf.format_man_page(parsr)

        with open(self.output, 'w') as f:
            f.write(m)

    The last line would print all the options and help infomation wrapped with
    man page macros where needed.
     __init__ N/A N/A self prog indent_increment max_help_position width section desc long_desc ext_sections authors N/A 2 24 None 1 None None None None N/A N/A N/A N/A N/A super ManPageFormatter self __init__ prog N/A N/A self _prog prog N/A N/A self _section 1 N/A N/A self _today N/A N/A N/A N/A N/A datetime date today strftime %Y\-%m\-%d N/A N/A self _desc desc N/A N/A self _long_desc long_desc N/A N/A self _ext_sections ext_sections N/A _get_formatter N/A N/A self N/A kwargs N/A N/A N/A N/A self formatter_class prog N/A self prog kwargs N/A _markup N/A N/A self txt N/A N/A N/A N/A N/A txt replace - \- N/A _underline N/A N/A self string N/A N/A N/A N/A N/A \fI\s-1 string \s0\fR N/A _bold N/A N/A self string N/A N/A N/A N/A N/A N/A N/A N/A string strip startswith \fB N/A N/A string N/A \fB string N/A N/A N/A N/A N/A N/A string strip endswith \fR N/A N/A string N/A string \fR N/A string N/A _mk_synopsis N/A N/A self parser N/A N/A N/A N/A N/A self add_usage N/A parser usage N/A parser _actions N/A parser _mutually_exclusive_groups prefix N/A usage N/A N/A self _format_usage None N/A parser _actions N/A parser _mutually_exclusive_groups N/A usage N/A N/A usage replace N/A %s  N/A self _prog N/A usage N/A .SH SYNOPSIS
 \fB%s\fR %s
 N/A N/A N/A self _markup N/A self _prog usage N/A usage N/A _mk_title N/A N/A self prog N/A N/A N/A N/A N/A .TH {0} {1} {2}
 format prog N/A self _section N/A self _today N/A _make_name N/A N/A self parser N/A N/A N/A 
        this method is in consitent with others ... it relies on
        distribution
         N/A N/A .SH NAME
%s \- %s
 N/A N/A parser prog N/A parser description N/A _mk_description N/A N/A self N/A N/A N/A N/A self _long_desc N/A N/A long_desc N/A N/A N/A self _long_desc replace 
.br
 N/A N/A .SH DESCRIPTION
%s
 N/A N/A self _markup long_desc N/A N/A N/A _mk_footer N/A N/A self sections N/A N/A N/A N/A N/A hasattr sections __iter__ N/A N/A N/A footer N/A N/A N/A section value N/A N/A sections items N/A N/A part N/A N/A .SH {}
 {} format N/A N/A section upper value N/A N/A N/A footer append part N/A N/A N/A join footer N/A format_man_page N/A N/A self parser N/A N/A N/A page N/A N/A N/A N/A page append N/A N/A self _mk_title N/A self _prog N/A N/A N/A page append N/A N/A self _mk_synopsis parser N/A N/A N/A page append N/A N/A self _mk_description N/A N/A N/A page append N/A N/A self _mk_options parser N/A N/A N/A page append N/A N/A self _mk_footer N/A self _ext_sections N/A N/A N/A join page N/A _mk_options N/A N/A self parser N/A N/A N/A formatter N/A N/A parser _get_formatter N/A action_group N/A parser _action_groups N/A N/A N/A N/A formatter start_section None N/A N/A N/A formatter add_text None N/A N/A N/A formatter add_arguments N/A action_group _group_actions N/A N/A N/A formatter end_section N/A N/A N/A formatter add_text N/A parser epilog N/A N/A .SH OPTIONS
 N/A N/A formatter format_help N/A _format_action_invocation N/A N/A self action N/A N/A N/A N/A N/A action option_strings N/A N/A N/A metavar N/A N/A N/A self _metavar_formatter action N/A action dest 1 N/A metavar N/A N/A parts N/A N/A N/A N/A action nargs 0 N/A N/A N/A N/A parts extend N/A N/A N/A self _bold action_str N/A action_str N/A action option_strings N/A N/A default N/A N/A self _underline N/A N/A N/A action dest upper N/A args_string N/A N/A self _format_args action default N/A option_string N/A action option_strings N/A N/A N/A N/A parts append N/A %s %s N/A N/A N/A self _bold option_string args_string N/A N/A N/A ,  join parts N/A N/A ManPageCreator N/A object N/A N/A 
    This class takes a little different approach. Instead of relying on
    information from ArgumentParser, it relies on information retrieved
    from distutils.
    This class makes it easy for package maintainer to create man pages in
    cases, that there is no ArgumentParser.
     _mk_name N/A N/A self distribution N/A N/A N/A N/A N/A .SH NAME
%s \- %s
 N/A N/A N/A distribution get_name N/A N/A distribution get_description N/A N/A N/A N/A N/A N/A sys path insert 0 N/A N/A os getcwd PyCryptoInstallCommand N/A install N/A N/A 
    A Custom command to download and install pycrypto26
    binary from voidspace. Not optimal, but it should work ...
     N/A description A Custom command to download and install pycrypto26binary from voidspace. run N/A N/A self N/A N/A N/A base_path http://www.voidspace.org.uk/downloads/pycrypto26 N/A N/A win32 N/A sys platform N/A N/A N/A AMD64 N/A sys version N/A N/A pycrypto pycrypto-2.6.win32-py2.7.exe N/A N/A pycrypto pycrypto-2.6.win-amd64-py2.7.exe N/A N/A N/A os system N/A N/A N/A easy_install  base_path / pycrypto N/A N/A N/A install run self N/A N/A Please use pip or your Distro's package manager to install pycrypto ... N/A N/A N/A install_requires N/A pycrypto>=2.6 colorama>=0.2.4 N/A N/A N/A N/A sys platform startswith win N/A N/A N/A N/A install_requires append pyreadline N/A long_description Pwman3 aims to provide a simple but powerful commandline interface for
password management.
It allows one to store passwords in database locked by master password which
is AES encrypted.
Pwman3 supports MySQL, Postgresql and SQLite and even MongoDB N/A N/A setup name pwman3 version 0.7.4 description a command line password manager with support for multiple databases. long_description long_description author Oz Nahum Tiram author_email nahumoz@gmail.com url http://pwman3.github.io/pwman3/ license GNU GPL packages N/A find_packages exclude N/A tests include_package_data True zip_safe False install_requires install_requires keywords password-manager crypto cli classifiers N/A Environment :: Console Intended Audience :: End Users/Desktop Intended Audience :: Developers Intended Audience :: System Administrators License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.2 Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.4 test_suite tests.test_pwman.suite cmdclass N/A install_pycrypto build_manpage PyCryptoInstallCommand BuildManPage entry_points N/A console_scripts N/A pwman3 = pwman.ui.cli:main