Installation¶
Dependencies¶
For pyCDB
- Python 2.6 or 2.7
- MySQLdb or pymysql
- numpy
- h5py
- matplotlib (for the example only)
For cyCDB (the C-interface)
- Cython (tested with versions 0.14 and 0.15)
pyCDB¶
Just place pyCDB on Python path and import pyCDB
cyCDB¶
Run make
in the src directory.
Database¶
CDB needs MySQL database. Import database/localhost.sql to create the CDB database structure with sample data.