Index of /CVS_CONTENT/moby-live/Python/

NameLast ModifiedSize
UpParent Directory
DirectorybioMoby2016-09-21 16:18-
Directorydoc2016-09-21 16:18-
Directorypackages2016-09-21 16:18-
Directorytutorials2016-09-21 16:18-
Directoryutils2016-09-21 16:18-
Filechangelog2005-06-09 08:19 4k
FilePKG-INFO2005-06-09 08:19 1k
Filesetup.py2005-06-09 08:19 1k
What is bioMoby-python? It is the bioMoby API in Python and it is written by Wong Yan working as an intern at the EBGM Prerequisites: -Python 2.3 -SOAPpy : http://pywebsvcs.sourceforge.net/ -xml libraries for python: http://pyxml.sourceforge.net (generally already included in python 2.2+) however if you have some troubles you may need to install PyXML 0.8.3 -if you plan to build webservices with Python, have a look on ZSI gived in this distribution (ZSI-1.5.0-patched) the ZSI here has been patched due to some trouble with CDATA section node __init__.py has been modified in order to solve this problem -pyipc: http://www.theory.org/~mac4/software/ for ipc management with Python (the Dispatcher class needs it) All these libraries has been added in the packages directory. How to setup bioMoby-python? Just like any Python module, type: (if you are root) #python setup.py build #python setup.py install This will install the package in the system's python-site directory (if you are not root) $python setup.py build $python setup.py install --prefix=<your favorite modules directory> Important notes: MobyPDB is intended to work with our own webservices and therefore is not in the official Moby API, it is an example of how to implement classes that deal with bioMoby. Documentations are located in the doc directory, it contains a small howto and the documentation of the API index.html If you want further informations about how to use bioMoby-python, look at some scripts in tutorials. in the utils directory, moby2python can be useful, as it translate all Moby's classes definition into Python files to use it type: $moby2python this will write python files in utils/output directory $moby2python <anotherDirectory> this will write python files in the directory entered in argument (don't put the '/' character after the name of the directory!) Package plan: -README: This file -setup.py: the setup script -PKG-INFO: Contains general informations about the package +doc: contains documentations about the package (API and several example of how to use the modules) +src: contains the source of the package +tutorials: Some scripts in order to show some of the functions +webservice: Example of webservice in Python using bioMoby-python's API +utils: moby2python is a program that convert mobyObject definitions into Python files (all derived from MobyObject and has a personalized fromMoby method) +ZSI-1.6.0 Suggestions welcome!
Proudly Served by LiteSpeed Web Server at biomoby.open-bio.org Port 80