Where to download kits
The recommended way to install Python on OpenVMS is to download two LD images from:
http://downloads.vmspython.org/anonymous/kits/axp/images_ld/ for Alpha processors
http://downloads.vmspython.org/anonymous/kits/ia64/images_ld/ for Itanium processors
If you prefer to install separately each kit visit:
http://downloads.vmspython.org/anonymous/kits/
There are beta version of forthcoming kit/ld images in:
http://downloads.vmspython.org/anonymous/kits/tmp/axp/ for Alpha processors
http://downloads.vmspython.org/anonymous/kits/tmp/ia64/ for Itanium processors
How to install Python on OpenVMS
Two LD images disk which contains various libraries and Python installed can now be download.
Useful to:
- test Python or any of these libraries very quickly and easily.
- use these libraries and Python on a system where no ODS5 device is available or on which you can’t install these software using the VMS command PRODUCT.
The first LD image contains:
- All libraries needed by Python and modules included
The second LD image contains:
- Python 2.7.18
- Mercurial 5.4.2
Install libraries
In the followings examples replace '{arch}
‘ by 'i
‘ or 'a
‘:
'a
‘ for an AXP architecture kits'i
‘ for an Itanium architecture kits
System wide installation
$ unzip jfplib0009{arch}.zip
$! which extract jfplib0009{arch}.dsk
$ ld CONNECT jfplib0009{arch}.dsk lda1: ! <- Don’t forget to give a device and directory for the .DSK
$ mount/system lda1: jfplib0008{arch}
$ @lda1:[000000]lib_startup
$! this defines system logicals names
Process installation
$ unzip jfplib0009{arch}.zip
$! which extract jfplib0009{arch}.dsk
$ ld CONNECT jfplib0009{arch}.dsk lda1:
$ mount lda1: jfplib0009{arch}
$ @lda1:[000000]lib_logicals
$! this only defines process logicals names
Install Python and Mercurial
System wide installation
$ unzip JFPPY1000{arch}_2712.zip
$! which extract jfppy1000{arch}.dsk
$ ld CONNECT jfppy1000{arch}.dsk lda2: ! <- Don’t forget to give a device and directory for the .DSK
$ mount/system lda2: jfppy1000{arch}
$ @lda2:[000000]python_startup
$! this defines system logicals names
The very first time you will have to compile all the Python modules:
$ @lda2:[000000]compile_all
Process installation
$ unzip jfppy1000{arch}.zip
$! which extract jfppy1000{arch}_278.dsk
$ ld CONNECT jfppy1000{arch}.dsk lda2:
$ mount lda2: jfppy1000{arch}
$ @lda2:[000000]python_logicals
$! this only defines process logicals names
The very first time you will have to compile all the Python modules:
$ @lda2:[000000]compile_all
Test the installation
$ @python_vms:setup
$ python
Python 2.7.8 (default, Oct 29 2014, 12:52:16) [DECC] on OpenVMS
Type “help”, “copyright”, “credits” or “license” for more information.
>>> exit()
$
What is included in the kit (jfppy0600)
Python for OpenVMS distribution contains Python 2.7.8 and the following extra modules :
Module | version | URL | Description |
---|---|---|---|
amqlib | 0.6.1 | http://code.google.com/p/py-amqplib/ | Implements a simple non-threaded Python client library for AMQP 0-8, tested with RabbitMQ. |
Babel | 0.9.3 | http://babel.edgewall.org/ | A collection of tools for internationalizing Python applications |
barcode | http://www.wiredfool.com/2006/07/04/barcode-recognition/ | barcode recognition | |
beaker | svn 21-MAY-2010 | http://beaker.groovie.org/ | A Session and Caching library with WSGI Middleware |
BeautifulSoup | 4.2.0 | http://www.crummy.com/software/BeautifulSoup/bs4/doc/ | Beautiful Soup is a Python HTML/XML parser |
cdecimal | 2.2 | http://www.bytereef.org/mpdecimal/ | |
Cheetah | 2.0 | http://www.cheetahtemplate.org/ | open source template engine and code generation tool |
cjson | 1.0.5 | http://pypi.python.org/pypi/python-cjson | Fast JSON encoder/decoder for Python |
ClientForm | 0.2.11 | http://wwwsearch.sourceforge.net/ClientForm/ | ClientForm is a Python module for handling HTML forms on the client side |
construct | 2.0.6 | https://github.com/construct/construct | a python library for parsing and building of data structures (binary or textual) |
Crypto(pycrypto) | 2.6 | http://www.dlitz.net/software/pycrypto/ | The Python Cryptography Toolkit |
curl | 7.19.0 | http://pycurl.sourceforge.net/ | PycURL is a Python interface to libcurl |
dateutil | 1.5 | http://labix.org/python-dateutil | The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. |
demjson | 1.3 | http://deron.meranda.us/python/demjson/ | This is a comprehensive python language binding to the JSON language-independent data encoding standard |
docutils | 0.7 | http://docutils.sourceforge.net/ | Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX |
drv_libxml2 | 0.3 | http://www.opensource.apple.com/source/libxml2/libxml2-3/libxml2/python/drv_libxml2.py | A SAX2 driver for libxml2, on top of it’s XmlReader API |
dsml | 0.5.2 | Directory Services Markup Language (DSML) is an XML schema for working with directories | |
elementtree | 1.2.6 | http://effbot.org/zone/element-index.htm | The Element type is a simple but flexible container object, designed to store hierarchical data structures, such as simplified XML infosets, in memory |
errorhandler | 1.1.1 | http://packages.python.org/errorhandler/ | This is a handler for the python standard logging framework that can be used to tell whether messages have been logged at or above a certain level. |
EXIF | 1.0.8 | http://sourceforge.net/projects/exif-py/ | Python library to extract EXIF data from tiff and jpeg files |
formencode | svn 29-DEC-2010 | http://formencode.org/ | FormEncode is a validation and form generation package |
fpconst | 0.7.3 | https://pypi.python.org/pypi/fpconst/ | Utilities for handling IEEE 754 floating point special values |
hachoir | svn 1-MAY-2009 | http://bitbucket.org/haypo/hachoir/ | Hachoir is a Python library that allows to view and edit a binary stream field by field. In other words, Hachoir allows you to “browse” any binary stream just like you browse directories and files. A file is split in a tree of fields, where the smallest field is just one bit. |
html5lib | 0.95 dev | http://code.google.com/p/html5lib/ | A ruby/python based HTML parser/tokenizer based on the WHATWG HTML5 specification for maximum compatibility with major desktop web browsers. |
FormKit | 0.9b2 | http://dalchemy.com/opensource/formkit/ | FormKit is built up from the Form object class. A servlet can instantiate one or more Form objects, each of which represents a form. |
ftputil | 2.4.2b | http://ftputil.sschwarzer.net/trac | a high-level FTP client library for Python |
gd | 0.56 | http://newcenturycomputers.net/projects/gdmodule.html | This module is a python wrapper for the GD library |
genshi | 0.5.1 | http://genshi.edgewall.org/ | Python toolkit for generation of output for the web |
gmpy | 1.04 | http://gmpy.sourceforge.net/ | Gmpy focuses on Python-usable modules providing multiprecision arithmetic functionality to Python programmers |
graph | 1.8.2 | http://code.google.com/p/python-graph/ | python-graph is a library for working with graphs in Python |
hcpy | v6 | http://code.google.com/p/hcpy/ | hcpy is a yet another RPN calculator |
kid | 0.9.6 | http://kid-templating.org/ | Kid is a simple template language for XML based vocabularies written in Python |
ldap | 2.3.4 | http://python-ldap.sourceforge.net/ | python-ldap provides an object-oriented API to access LDAP directory servers from Python programs |
ldapurl | 0.5.2 | http://python-ldap.sourceforge.net/ | This module parses and generates LDAP URLs |
ldif | 0.5.5 | http://python-ldap.sourceforge.net/ | This module parses and generates LDAP data in the format LDIF |
libxml2 | 2.6.32 | http://xmlsoft.org/python.html | The XML C parser and toolkit of Gnome |
libxslt | 1.1.21 | http://xmlsoft.org/XSLT/python.html | The XSLT C library for GNOME |
lxml | 2.2.2 | http://codespeak.net/lxml/ | lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language. |
M2Crypto | 0.21.1 | http://sandbox.rulemaker.net/ngps/m2/ | A Python crypto and SSL toolkit |
magic | 0.1 | http://pypi.python.org/pypi/magic/0.1 | Determines a file’s mime type by its magic number |
mako | svn 1-MAY-2009 | http://www.makotemplates.org/ | Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance |
mako_django | Mako Templates Plugin for Django | ||
markdown | 1.7.0rc2 | http://www.freewisdom.org/projects/python-markdown/ | This is a Python implementation of John Gruber’s Markdown |
mechanize | dev 1-MAY-2009 | http://wwwsearch.sourceforge.net/mechanize/ | Stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize |
mod_python | 3.3.1 | http://www.modpython.org/ | Mod_python is an Apache module that embeds the Python interpreter within the server |
mpmath | 0.17 | http://code.google.com/p/mpmath/ | Mpmath is a pure-Python library for multiprecision floating-point arithmetic |
mx | 3.2 | https://pypi.python.org/pypi/mx | The mx top-level Python package is installed as part of the eGenix mx Base package. |
MySQLdb | 1.2.2 | http://sourceforge.net/projects/mysql-python | MySQL support for Python. |
nose | 0.10.1 | http://code.google.com/p/python-nose/ | nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic. |
openid | 2.2.1 | http://openidenabled.com/python-openid/ | The OpenID library with batteries included |
paramiko | 1.10.1 | http://www.lag.net/paramiko/ | paramiko is a module that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines |
pika | 0.9.5 | http://github.com/tonyg/pika | pika is a pure-Python implementation of the AMQP 0-8 protocol(synchronous and asynchronous) |
PIL | 1.1.6 | http://www.pythonware.com/products/pil/ | The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter |
pisa | 3.0.29 | http://www.xhtml2pdf.com/ | XHTML2PDF is a converter for HTML/XHTML and CSS to PDF and a Python package |
pyamf | svn 07-MAY-2010 | http://pyamf.org/ | PyAMF provides Action Message Format ( AMF) support for Python that is compatible with the Adobe Flash Player. It includes integration with Python web frameworks like Django, Pylons, Twisted, SQLAlchemy, web2py and more |
pychecker | 0.8.19 | http://pychecker.sourceforge.net/ | PyChecker is a tool for finding bugs in python source code |
pydot | 1.0.2 | http://code.google.com/p/pydot/ | a Python interface to Graphviz’s Dot language |
pyExcelerator | 0.6.4.1 | http://sourceforge.net/projects/pyexcelerator | Generating Excel 97+ files with Python 2.4+ (need decorators), importing Excel 95+ files, support for UNICODE in Excel files, using variety of formatting features and printing options, Excel files and OLE2 compound files dumper. No need in Windows/COM |
pyftpdlib | 1.5.0 | http://code.google.com/p/pyftpdlib/ | Python FTP server library provides a high-level portable interface to easily write asynchronous FTP servers with Python. pyftpdlib is currently the most complete RFC-959 FTP server implementation available for Python programming language. |
PyGDChart2 | 2.0a2 | http://www.nullcube.com/software/pygdchart2 | Python interface to the nice 2d and 3d graphics library GDChart |
pygments | 1.6 | http://pygments.org/ | It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code |
pyodbc | 2.1.6 | http://code.google.com/p/pyodbc/ | pyodbc is a Python module that allows you to use ODBC to connect to almost any database from Windows, Linux, OS/X, and more. |
pyparsing | 1.5.7 | http://pyparsing.wikispaces.com/ | The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions |
pyPdf | 1.12 | http://pybrary.net/pyPdf/ | A Pure-Python library built as a PDF toolkit |
PySimpleXML | http://pypi.python.org/pypi/PySimpleXML/1.0 | A simple and practical interface between Python and XML.PySimpleXML simplifies the translation of XML documents into very usable trees of Python structures | |
pyro | 3.12 | http://pyro.sourceforge.net/ | Pyro is short for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. Never worry about writing network communication code again, when using Pyro you just write your Python objects like you would normally |
Pyro4 | 4.18 | https://pypi.python.org/pypi/Pyro4 | Pyro means PYthon Remote Objects. It is a library that enables you to build applications in which objects can talk to each other over the network |
pythoncolor | |||
pytz | 2013b | https://pypi.python.org/pypi/pytz/ | pytz brings the Olson tz database into Python. |
pyXLWriter | 0.4a4 | http://sourceforge.net/projects/pyxlwriter/ | pyXLWriter is a Python library for generating Excel compatible spreadsheets |
rabbitpy | 0.17 | https://rabbitpy.readthedocs.org/en/latest/ | rabbitpy is a pure python, thread-safe [1], and pythonic BSD Licensed AMQP/RabbitMQ library that supports Python 2.6+ and 3.2+ |
readline | 5.2 | standard module based on gnu readline | |
rdb | 6.0 | Python module for accessing a Rdb database | |
reportlab | 3.1.8 | http://www.reportlab.org/ | The ReportLab Toolkit is the time-proven, ultra-robust open-source engine for programatically creating PDF documents |
requests | 2.4.0 | http://docs.python-requests.org/en/latest/ | Requests is an Apache2 Licensed HTTP library, written in Python, for human beings. |
roman | 1.4 | http://diveintopython.org/ | Dive Into Python is a Python book for experienced programmers |
rpclib | 2.8.0-rc | http://arskom.github.io/rpclib/ | Rpclib aims to save the protocol implementers the hassle of implementing their own remote procedure call api |
rpdb2 | 2.4.6 | http://winpdb.org/ | Winpdb is a platform independent GPL Python debugger with support for multiple threads, namespace modification, embedded debugging, encrypted communication and is up to 20 times faster than pdb |
setuptools | 0.6 | http://peak.telecommunity.com/DevCenter/setuptools | setuptools is a collection of enhancements to the Python distutils (for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python 2.4) that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages |
simplejson | 3.3.0 | http://pypi.python.org/pypi/simplejson | simplejson is a simple, fast, complete, correct and extensible JSON http://json.org encoder and decoder for Python 2.4+ |
spyne | 2.10.7 | http://spyne.io/ | Spyne is a Python RPC toolkit that makes it easy to expose online services that have a well-defined API using multiple protocols and transports. |
ssl | 1.14 | http://pypi.python.org/pypi/ssl/ | SSL wrapper for socket objects (2.3, 2.4, 2.5 compatible) |
standout | 3.0.0 | http://www.voidspace.org.uk/python/standout.html | standout is a module that provides a single class StandOut – the flexible output object. It provides a simple way of adding logging to a program, and an easy way of adding verbosity levels |
suds | 0.4 | https://fedorahosted.org/suds/ | Suds is a lightweight SOAP python client for consuming Web Services |
svg | |||
sympy | 0.6.5 | http://code.google.com/p/sympy/ | SymPy is a Python library for symbolic mathematics |
textile | 2.1.3 | http://pypi.python.org/pypi/textile | Textile is a XHTML generator using a simple markup developed by Dean Allen. Python 2.4 users will need to install the uuid module |
trml2pdf | 1.2 | http://openreport.org/ | |
vms | 1.0 | The VMS specific modules | |
xapian | 1.0.20 | http://xapian.org/docs/bindings/python/ | The Python bindings for Xapian are packaged in the xapian module, and largely follow the C++ API, with the following differences and additions. Python strings and lists, etc., are converted automatically in the bindings, so generally it should just work as expected |
xlrd | 0.7.1 | http://www.python-excel.org/ | This package is for reading data and formatting information from Excel files. |
xlwt | 0.7.2 | http://www.python-excel.org/ | This package is for writing data and formatting information to Excel files. |
xlutils | 1.4.1 | http://www.python-excel.org/ | This package collects utilities that require both xlrd and xlwt, including the ability to copy and modify or filter existing excel files. |
yaml | 3.10 | http://pyyaml.org/ | various YAML implementations for Python |
ZSI | 2.1-a1 | http://pywebsvcs.sourceforge.net/ | The Web Services for Python Project provides libraries for developing web services using the python programming language. The libraries implement the various protocols used when writing web services including SOAP, WSDL, and other related protocols |
python-docx | 0.7.4 | https://github.com/python-openxml/python-docx | python-docx is a Python library for creating and updating Microsoft Word (.docx) files. |