Locked History Attachments

DownloadAndInstallationPython

Where to download kits

The recommended way to install Python on OpenVMS is to download two LD images from:

http://www.vmspython.org/anonymous/kits/axp/images_ld/ for Alpha processors

http://www.vmspython.org/anonymous/kits/ia64/images_ld/ for Itanium processors

If you prefer to install separately each kit visit:

http://www.vmspython.org/anonymous/kits/

There are beta version of forthcoming kit/ld images in:

http://www.vmspython.org/anonymous/kits/tmp/axp/ for Alpha processors

http://www.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:

  • Zlib V1.2.7
  • LibBZ2 V1.0.6
  • LibJPEG V8.4
  • LibPNG V1.5.13
  • Freetype V2.3.7
  • FreeTDS 0.82
  • LibFFI 3.0.9
  • LibImaging V1.1.6

  • LibGD V2.0.35
  • GDChart V1.1.4
  • LibXML2 V2.9.1
  • Libxslt/Libexslt V1.1.28
  • UnixODBC 2.2.14
  • Swish-E V2.4.3

The second LD image contains:

  • Python 2.7.5
  • Django 1.3.1
  • Mercurial 2.5.4
  • MoinMoin 1.9.3

  • Pyro 3.12
  • Pyro 4.10
  • Webware for Python 1.0b1

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 jfplib0006{arch}.zip
$! which extract jfplib0006{arch}.dsk
$ ld CONNECT jfplib0006{arch}.dsk lda1:   !  <- Don't forget to give a device and directory for the .DSK
$ mount/system lda1: jfplib0006{arch}
$ @lda1:[000000]lib_startup
$! this defines system logicals names

Process installation

$ unzip jfplib0006{arch}.zip
$! which extract jfplib0006{arch}.dsk
$ ld CONNECT jfplib0006{arch}.dsk lda1:
$ mount lda1: jfplib0006{arch}
$ @lda1:[000000]lib_logicals
$! this only defines process logicals names

Install Python, Webware for Python, Django, MoinMoin and Mercurial

System wide installation

$ unzip JFPPY0301{arch}_273.zip
$! which extract  jfppy0202{arch}.dsk
$ ld CONNECT  jfppy0301{arch}.dsk lda2:   !  <- Don't forget to give a device and directory for the .DSK
$ mount/system lda2:  jfppy0301{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 jfppy0301{arch}.zip
$! which extract  jfppy0301{arch}_273.dsk
$ ld CONNECT  jfppy0301{arch}.dsk lda2:
$ mount lda2:  jfppy0301{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.5.4 (r254:67916, Mar 26 2009, 13:16:56) [DECC] on OpenVMS
Type "help", "copyright", "credits" or "license" for more information.
 >>> exit()
 $

What is included in the kit (jfppy0301)

Python for OpenVMS distribution contains Python 2.7.4 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.

argparse

1.1

http://code.google.com/p/argparse/

The argparse module provides an easy, declarative interface for creating command line tools

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

3.0.7a

http://www.crummy.com/software/BeautifulSoup/

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

dev 28-APR-2009

http://wwwsearch.sourceforge.net/ClientForm/

ClientForm is a Python module for handling HTML forms on the client side

construct

2.0.3

http://construct.wikispaces.com/

a python library for parsing and building of data structures (binary or textual)

Crypto(pycrypto)

2.0.1

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.4.1

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

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

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

dev 23-SEP-2009

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.

fpconst

0.7.3

http://www.analytics.washington.edu/statcomp/projects/rzope/fpconst/

Utilities for handling IEEE 754 floating point special values

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.6.1

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.20.2

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

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.4

http://openidenabled.com/python-openid/

The OpenID library with batteries included

paramiko

1.7.6

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.6.1

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

0.5.2

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

svn 18-MAR-2009

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.5

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.10

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

pythoncolor

pyXLWriter

0.4a4

http://sourceforge.net/projects/pyxlwriter/

pyXLWriter is a Python library for generating Excel compatible spreadsheets

readline

standard module based on gnu readline 5.2

rdb

Python module for accessing a Rdb database

reportlab

2.5

http://www.reportlab.org/

The ReportLab Toolkit is the time-proven, ultra-robust open-source engine for programatically creating PDF documents

roman

1.4

http://diveintopython.org/

Dive Into Python is a Python book for experienced programmers

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.6c8

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

2.0.9

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+

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

dev 15-DEC-2009

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

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.09

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

from the 2010/01/10

http://github.com/mikemaccana/python-docx

The docx module creates, reads and writes Microsoft Office Word 2007 docx files. These are referred to as 'WordML', 'Office Open XML' and 'Open XML' by Microsoft. These documents can be opened in Microsoft Office 2007 / 2010, Microsoft Mac Office 2008, Google Docs, OpenOffice.org 3, and Apple iWork 08. They also validate as well formed XML