This module includes a native Python mmCIF API for data files and dictionaries along with pybind11 wrappers for the PDB C++ Core mmCIF Library.
Download the library source software from the project repository:
git clone --recurse-submodules https://github.com/rcsb/py-mmcif.git
Optionally, run test suite using the Tox test runner. The C++ library bindings have been tested on Centos 7 Linux with GCC/G++ 4.8.5 and MacOS with clang-900.0.39.2 using Python versions 2.7.16 and 3.7.3.
tox
Installation is via the program pip.
pip install mmcif
or from the local repository:
pip install .
To generate API documentation using Sphinx:
cd scripts
# Check Sphinx dependencies in the introductory comments to the following script.
./initdocs.sh