- Doc Structure
- A Globus Primer
- Globus Is Modular!
- Installing GT
- Platform Notes
- Migrating from GT2
- Migrating from GT3
- PDF version
- Best Practices
- Coding Guidelines
- API docs
- Public Interfaces
- Resource Properties
- Performance Studies
Table of Contents
pyGlobus provides a Python API to the pre-OGSI GT API (GT2). This guide contains installation and configuration information for system administrators installing pyGlobus. It explains how to install, configure and test the installation.
This information is in addition to the basic Globus Toolkit prerequisite, overview, installation, security configuration instructions in the GT 4.1.1 System Administrator's Guide. Read through this guide before continuing!
pyGlobus requires python version 2.2 or newer and the GT2 libraries built with a threaded flavor. The full source installation of GT 4.1.1 will build the prerequisite libraries with the correct flavor.
pyGlobus requires that the environment variables GLOBUS_LOCATION and GPT_LOCATION are set. These are set to the base of your globus installation and gpt installation. In GT 4.1.1 GPT (Grid Packaging Toolkit) is installed in the same place as globus, so you can set both of these environment variables to the same location.
To install pyGlobus, set the GLOBUS_LOCATION and GPT_LOCATION environment variables. Use the python distutils setup script:
%python setup.py install
pyGlobus comes with unittests that are arranged by module. To run the unittests
you first must be able to create a valid user proxy using grid-proxy-init.
You must edit
config.txt in the pyGlobus/test directory.
To run all of the tests:
If you only wish to run tests from a single module, for example the security module:
pyGlobus has a security module which allows for proxy creation, signing, encryption, and the creation and inquiry of security contexts. Care must be taken when developing applications which use GSI to ensure that authentication information will not be compromised. When creating a security context, one must ensure that the context will have the properties that they desire. For example, should the context use confidentiality of integrity? These concerns are not specific to pyGlobus but rather to any application developer who is using low level security APIs.