Table Of Contents

Previous topic

EPICS test database

Next topic

PvMail Python Package

This Page

PvMail as a Python package

This section provides the source code documentation. The documentation here may be of little or no use to the casual user of this software.

installation

The PvMail project can be installed as a Python package.

  1. Checkout the project from subversion
  2. Change into the project working directory
  3. Run setup.py install

starter program

Once the PvMail project has been installed as a package, the PvMail application can be run using a simple Python script (included in the project tree at the top-level directory as pvMail.py). Here is the current version of that script.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/usr/bin/env python

''' 
runs the PvMail application

Documentation:
    http://subversion.xray.aps.anl.gov/admin_bcdaext/pvMail

see the help option for immediate details about the command-line::

    pvMail.py --help

'''

from PvMail import pvMail
pvMail.main()