The acis-python library provides tools for ACIS Web Services client applications. There is also a PHP version.
- Python 2.6 - 2.7
- dateutil
- numpy (optional; required for
result_array()
function) - simplejson (optional; improved performance with Python 2.6)
- unittest2 (optional; required to run tests with Python 2.6)
Requirements can be installed using pip
:
pip install -r requirements.txt
pip install -r optional-requirements.txt
The test suite can run using the test script or a setup script command (unittest2 required for Python 2.6).
python test/run_tests.py
python setup.py test
Place the acis directory in the Python module search path. The
setup script can be used to install the library in the user or system
site-packages
directory.
python setup.py install --user # install for the current user
The library requires a single import:
import acis
RequestQueue
is not part of the core library yet and requires a separate
import:
import acis.queue
The tutorial has examples of how to use the library.
MultiStnDataResult
will give the wrong dates when iterating over "groupby" results.GridDataResult
cannot be used with image output.RequestQueue
should be considered experimental.