mmCIF Core Access Library
Project description
mmCIF Core Access Library
Introduction
This module includes a native Python mmCIF API for data files and dictionaries along with pybind11 wrappers for the PDB C++ Core mmCIF Library.
Installation
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/Ubuntu 20.04 Linux with GCC/G++ > 4.8.5 and MacOS (10.15) with > clang-900.0.39.2 using Python versions 2.7.18 and 3.9.4.
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
A command-line script is provided as a preprocessor for modular dictionaries that include definition and data content using categories pdbx_include_dictionary, pdbx_include_category and pdbx_include_item.
build_dict_cli --help
usage: build_dict_cli [-h] --op OP --input_dict_path INPUT_DICT_PATH [--output_dict_path OUTPUT_DICT_PATH] [--cleanup]
optional arguments:
-h, --help show this help message and exit
--op OP Operation (build | get_version)
--input_dict_path INPUT_DICT_PATH
Path to dictionary generator file
--output_dict_path OUTPUT_DICT_PATH
Path to output dictionary text file
--cleanup Remove include instruction categories after processing
________________________________________________________________________________
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for mmcif-0.75-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcaf30f07309ba2a2f1b4cc54c51946ec06db4d91a4de70fdf51fc206c40f986 |
|
MD5 | ffabe2dd8d704b345ae5d4890278c8a5 |
|
BLAKE2b-256 | 55d423b5e3d3335507a77adc6867ec6f394e2fee915183da9e97f997d890cadf |
Hashes for mmcif-0.75-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc857cb827615b5a936309ff6b71ab632985369088755bc889cd84055e6c65c |
|
MD5 | 45535d77984133e294d77030968aba87 |
|
BLAKE2b-256 | f888d10639338853ade323a207262565c7acdec34a0a19af189f0bf32381fc94 |
Hashes for mmcif-0.75-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a39995eaf22f206e3fe74c12f97510f15e5906f0b924b530ec78459a8f1c8bd |
|
MD5 | a06eaecc31119a25c699865027a8a397 |
|
BLAKE2b-256 | cf3d74914572c2dbf94a28ee6e93a7178599ad93d9d864c12379d2fe0ba75a43 |
Hashes for mmcif-0.75-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd710f6442862ccbc5921baaaa63b9103f47050aa1f0d7f3934837701ff59ac |
|
MD5 | e37d9ee4455d367ca5a67522f03c4048 |
|
BLAKE2b-256 | df060c1540d2cf5c9eebd496996212befa49143bb6ad145c84f0a8d164c32f31 |
Hashes for mmcif-0.75-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626de0c75bf741319905096df2db3a56bc34abdff67a06d479c1bf84ec6a97de |
|
MD5 | 9e6bc8fcc72691d6d1c2b6df21d9b412 |
|
BLAKE2b-256 | eeac702901c8b345c42e581f100c1edd9f677b73f2266aca97c111df4d3e9fb6 |
Hashes for mmcif-0.75-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91057e1be5bde3eeb1b132d019a05e9becc35e4f1e2c031129fb35efeb48775e |
|
MD5 | 3bc951aafeb81dfc3c189f956b028df0 |
|
BLAKE2b-256 | 312d285b13294519a6e89482cc0a2e2afcb5c2066876be21ecd961067d5d99f3 |
Hashes for mmcif-0.75-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43bcf972467c0c176c8e83b01b6ec59625ad6eb5317ab228bc943ca8bfa132f2 |
|
MD5 | b4c4179883992a1da45d63200554c00a |
|
BLAKE2b-256 | 57a3e302feec86f0f1a7c87fe53c0a890e7b84e892e5e62b90c36e88b3a3b6fc |
Hashes for mmcif-0.75-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8693599dc4bb48109d19adcb1d5f2875dcbe50b4dbb33f58758658721c2c934e |
|
MD5 | 62ecd7e8756b1dba36132b49ae43bbdd |
|
BLAKE2b-256 | b9f55b190934ff565cb0f24ff31af54aac8d1205181fb4cfe6356518e7299203 |
Hashes for mmcif-0.75-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbdbbfd0d2a1fb3d50a275bd764a355e9081bc06ea6f7df92668c02c44cefd44 |
|
MD5 | 4b6edf41343aaf92d0439aaff8396112 |
|
BLAKE2b-256 | 8273a643ed55396d679c052498853862e197f6e4900397dd76478e94dee14c4d |
Hashes for mmcif-0.75-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefe2fa2295322e08e4b09942b00bab2721881579d05521a5e3e2662e474e3d6 |
|
MD5 | b6561a3e9f63209765450b30ec5e7ff3 |
|
BLAKE2b-256 | b56b7ce94bfc13111c241950c24fbf71557496174a84477e12def22b54b13854 |
Hashes for mmcif-0.75-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbe3679f3a861765b38a5fac3a0028968dfa07b162c99857a448a2f2763ebb8d |
|
MD5 | 4a9a5310ebf920293317607950f4154f |
|
BLAKE2b-256 | 931972cbefc992adf8ba399db605e59cd00654ea29f56c42f9ef5aa907c1c315 |
Hashes for mmcif-0.75-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a2307b76ac85249c76a3cf4f39040530cfa06c2916920464f63e32f7e22bdb6 |
|
MD5 | 39c337bbcb14650de9aeb83a1302133a |
|
BLAKE2b-256 | f3f9c0ca7a7b538e9e4b70cd509309098dd1c3d0af22fa5b4857d007f38ba88b |
Hashes for mmcif-0.75-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c25a728ec4c6ef075bc554e3354a0a59299e9153f5a2dab02463d698b6e6371 |
|
MD5 | e9cc8ecd8f162cc714c7bacdbd8ddc11 |
|
BLAKE2b-256 | d64dc34124e96058e73e54872971a2bb4fb7f7ecabd09c27aaff33cbb47d1337 |
Hashes for mmcif-0.75-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516c415a19ba4f4bcfcaf72e7281a78bc72e081bbce6136d0409bb065f211653 |
|
MD5 | 4355a73952517789f3183294e2db9ad0 |
|
BLAKE2b-256 | 37adbbdd347285b25edd2ef04624864f8a511f0230c464d9d3dd76ef16957530 |
Hashes for mmcif-0.75-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7b91a4a00345063149336628cfa36248abc6d8e233b1d4be35534b7d239affd |
|
MD5 | 932f652fe72d6580d7b24d27900b5f36 |
|
BLAKE2b-256 | 75ed2ed3c0937d0cbdfcf41f5d7239ac6f2bc99b5590a48a78f5fc2008314aa2 |
Hashes for mmcif-0.75-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988604f4d894475760b27ffea2f326b80b4ac09f787ba81b2c825936ae1d424c |
|
MD5 | d44cc2ff5fb641ce7e2b6bdb75e7374f |
|
BLAKE2b-256 | c27560611f91ea83e74e17998896a945499e990601fc2a6d10c6ee05f29f218f |
Hashes for mmcif-0.75-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154fbb58357cafc59b356e3878239a40652c066a8ca1f8000c97bd595f59229f |
|
MD5 | 76d5ff477be0cf8eb3b8133dc276f007 |
|
BLAKE2b-256 | 09d6a8e1d8f9a9e338470cc8a0763ad325116cbc628565a0fa76147a2c68ee43 |
Hashes for mmcif-0.75-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8607fdf908ed05ad3d0d81f7c0604e7e2b5f86850dc48ef5cf239002db23ea3e |
|
MD5 | bb49f8ebb2bdf18c0e648af1d46ab9d0 |
|
BLAKE2b-256 | 3b29cbd2ec1edccd16a4ca997d57d7ee998a6d7c99d362684314b9b61853b288 |