Skip to main content

mmCIF Core Access Library

Project description

mmCIF Core Access Library

Build Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mmcif-0.79.tar.gz (936.0 kB view details)

Uploaded Source

Built Distributions

mmcif-0.79-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.9 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

mmcif-0.79-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (572.4 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

mmcif-0.79-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (560.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

mmcif-0.79-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl (573.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686

mmcif-0.79-cp310-cp310-macosx_10_9_x86_64.whl (543.0 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mmcif-0.79-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (560.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

mmcif-0.79-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (573.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

mmcif-0.79-cp39-cp39-macosx_10_9_x86_64.whl (543.0 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mmcif-0.79-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (560.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

mmcif-0.79-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (573.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

mmcif-0.79-cp38-cp38-macosx_10_9_x86_64.whl (543.1 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mmcif-0.79-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (574.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

mmcif-0.79-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (588.0 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

mmcif-0.79-cp37-cp37m-macosx_10_9_x86_64.whl (532.0 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

mmcif-0.79-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (574.6 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

mmcif-0.79-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (587.7 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

mmcif-0.79-cp36-cp36m-macosx_10_9_x86_64.whl (532.0 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file mmcif-0.79.tar.gz.

File metadata

  • Download URL: mmcif-0.79.tar.gz
  • Upload date:
  • Size: 936.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for mmcif-0.79.tar.gz
Algorithm Hash digest
SHA256 1ee1d641b221b613b7d573f66782ee7d609cf75b86002a57050cd0bfde58ce43
MD5 d41c25c2b5940b964f9938b4f5d2bf68
BLAKE2b-256 947a0b19e4d06ada0905cc51dc209a8e0350da1427d2d64ecafa8e54ab822658

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c6c2c1be6c7b053583c238303dd1196e54dce7c74dcf04f710f49b29893fc1ce
MD5 6075bc3aab2ef58cbc7e1e6e60fe2783
BLAKE2b-256 bbfa7033d9058fde13a28c9f77cc133d070bbff952421991332ff569b0b9f66f

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.79-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4d6566bb161d0b030706cc3d6998e95c78e6784a4aa50060ebde210991555f25
MD5 497bd93233f2e1e6ea3a2bfc653c51cc
BLAKE2b-256 b573b5e5fda2f4e583a57f6c6c8d619f8be542f3f1c338e0f65f75ef6f32fea7

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6a0592fc650e447248662f932ed027c4c810100a57130d1bd51668a7eb061204
MD5 27b1ca3c4c1f41a957c08808591b8944
BLAKE2b-256 4812eef0d7b38db2c2acc03ee3b87138ad62c4f214ffabb1df44aa50270aefb6

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 31fd1991ccfa761acaa0a02259a7def5c0f8ec0766e38a2d98207f363fb89918
MD5 04a357ae6cab08d8562f3ac6b0d13f58
BLAKE2b-256 8504b928710f33c7bbf69e162f6048c9daf066f025657dea97c8033caeecb342

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b1370c2f40ed28f8b1d80618a4fd169d6c6c3c2452bdd1900b1295ef895a4a58
MD5 9321eac0ea6a78f48a22c66307d6766e
BLAKE2b-256 c9df9227950bd09ae1f271201f050e8b5cdd847ffcde5aa62ccee3ccfaed64c7

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0b2342c483771d96f8067e965203a73a77e2163903855dca63f8a95704a7d428
MD5 81bab8f5672fafcdd65a131dd9fefb19
BLAKE2b-256 86fd14b762997ad83818b193ad458269d376a152449c465ccd7b162cf7d2fd5f

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9cf7978ec6bd27a8f8da62e8849774949e3f4a59d2324ce846c65b04d563f637
MD5 7672d1bdeba491412269d5e72283f999
BLAKE2b-256 04fa0ad5867a06379feeaab6ee20638fec5ba0192a3c21a740bd0170e39ee10e

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5fe45c8add531e4cea92fb273637ff9b792c8a50a34ae2cfd20f2edf7a3d8360
MD5 08bbc0ee5be2c539d1f2a2e70f01eab3
BLAKE2b-256 105c786b076b42e5be8efe12e2297d7de5ec9976a3dfdebb343890f67beb14d1

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0a6973f372b2a9c927fa54502d1333f7d9cd8b0ed62519b2365183024e64bd29
MD5 1d0aac8162f86c82b5436efacdf50b11
BLAKE2b-256 e5029aaee1d35516d62eb8d069fa769a1af852f4d5b8dbce504f06dfd73ed7f3

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 633687c7fb5112ac851f2fbdb3fd5118f6d2d46c467549cb0f848625a1881a65
MD5 f558afb6db9067ddde9c63c4193257bc
BLAKE2b-256 37503ffaafa3c465c74ead0998cf82f788f496cfe165ffb5ac438dbea70bac4d

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2cc964c1957a7e4aeee1bd1f8ffef2cee7c5950f067f7a2c6a4f499b078d7cef
MD5 3c83770741a780e451a7878cd0d39c50
BLAKE2b-256 8090b0348f7bcb31ecf5c673336c4d64bf63e6fe8db19fd5912b59ce61e81cd6

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 79989f2f4bfa7bd60a3a2fcf15aafbd97073bb5b9cb2d555b46800467d618d41
MD5 99a4f10accc3f968d0e8f64cebe4bfad
BLAKE2b-256 cc888fecc8bec86ed11439a4ef91644164ab94a7adf423f5494d491ae61a6a66

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 77911cfd9ba9d559a4f3ad93e5d43c0caabf48a214ca69015b1278f5286ab2d5
MD5 dfe9c4864f1a0f82dd588b5287ff3358
BLAKE2b-256 1f05d5d39b1507fb9dc411a235ec4c3d5bfcf87dd1a658682a095e96efc4ec4d

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ec1b2cac4da9ff8885f6fcac0c0fdbea2f997e6b55180f82800f684662e458ab
MD5 27a12d6403635ed06c71d25748b95d41
BLAKE2b-256 58904bbbe859dc62edd327d3aee6debc5a08f7993bdc5beb7d39c686edf88988

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f6acec69823ff9d078bcbd84c42490be4c51b85ce0a893301101a9498186790d
MD5 e40c9022589f2da65ed9ded1c0d00fc8
BLAKE2b-256 0a71dcd7ba1c01ed02c883794beb1badfffbc293818d4bfcc1f165bb56b382ba

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 6ef9117fd72a014f7715df2c0eb1367ea4cc0a1f9508e3236f8ded670bc0dba3
MD5 3aeee9d748c4b72180ae4f239904a257
BLAKE2b-256 7ad551f2106234bab63ddcde2885c06a35f6ca09e25280406fd9998d0c92659d

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.79-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.79-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1abf610b23bbbdac933721363c8f7f796e89c2abac5f2b9bbcbbc61d60a846f8
MD5 2054684e0dc6b08a3e169b242d462173
BLAKE2b-256 a02bab36be1cb942190b56a6d69d8bd2391c197890399cc3cc8e108e422e521a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page