Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install jarn.viewdoc

How to install jarn.viewdoc

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install jarn.viewdoc

jarn.viewdoc contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.4
1.4 Available View build log
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
Windows (64-bit)
1.4
1.4 Available View build log
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
Mac OS X (10.5+)
1.4
1.4 Available View build log
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
Linux (32-bit)
1.4
1.4 Available View build log
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
Linux (64-bit)
1.4
1.4 Available View build log
1.3 Available View build log
1.2 Available View build log
1.1 Available View build log
1.0 Available View build log
 
License
BSD
Dependencies
Imports

viewdoc is a Python package documentation viewer. It converts reST-formatted text to HTML and displays it in a browser window. It is typically used to check a package's long description before uploading it to PyPI.

Also see jarn.mkrelease.

Installation

viewdoc requires Python 2.5 or higher. Use easy_install jarn.viewdoc to install the viewdoc script. Then put it on your system PATH by e.g. symlinking it to /usr/local/bin.

Upgrade Note: If you have jarn.viewdoc < 1.3 installed, move away your existing ~/.viewdoc file to get the updated styles.

Usage

viewdoc [options] [rst-file|egg-dir]

Options

-s style, --style=style, or --style
Select the custom style added to the HTML output. Used to override the configuration file setting of the same name.
-l, --list-styles
List available styles and exit.
-h, --help
Print the help message and exit.
-v, --version
Print the version string and exit.
rst-file
The reST file to view.
egg-dir
The Python package whose long description to view. Defaults to the current working directory.

Configuration

viewdoc reads style information from its configuration file ~/.viewdoc. Edit this file to add your own styles.

Changelog

1.5 - 2012-07-11
  • Restore Python 2.5 compatibility. [stefan]
1.4 - 2011-11-25
  • Warn if ~/.viewdoc has errors instead of raising an exception. [stefan]
1.3 - 2011-10-31
  • Be more careful with what we put on the PYTHONPATH. [stefan]
  • Add small style to the default config. [stefan]
1.2 - 2011-07-19
  • Pass the PYTHONPATH to subprocesses. [stefan]
  • Avoid temp file when extracting the long description. [stefan]
  • Add -l option to list available styles. [stefan]
  • Add --style shortcut for -s style. [stefan]
1.1 - 2011-02-08
  • Add -s option to select styles on the command line. [stefan]
  • In pypi style, only underline reference links. [stefan]
1.0 - 2010-12-30
  • Initial release [stefan]

Subscribe to package updates

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.