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.71.tar.gz (933.9 kB view details)

Uploaded Source

Built Distributions

mmcif-0.71-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (557.7 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

mmcif-0.71-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (569.3 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

mmcif-0.71-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (527.6 kB view details)

Uploaded PyPy macOS 10.9+ x86-64

mmcif-0.71-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

mmcif-0.71-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl (571.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686

mmcif-0.71-cp310-cp310-macosx_10_9_x86_64.whl (539.3 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mmcif-0.71-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

mmcif-0.71-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (571.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

mmcif-0.71-cp39-cp39-macosx_10_15_x86_64.whl (539.2 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mmcif-0.71-cp39-cp39-macosx_10_9_x86_64.whl (539.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mmcif-0.71-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

mmcif-0.71-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (571.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

mmcif-0.71-cp38-cp38-macosx_10_9_x86_64.whl (539.3 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mmcif-0.71-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (572.5 kB view details)

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

mmcif-0.71-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (585.7 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

mmcif-0.71-cp37-cp37m-macosx_10_9_x86_64.whl (527.6 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

mmcif-0.71-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (572.5 kB view details)

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

mmcif-0.71-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (585.6 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

mmcif-0.71-cp36-cp36m-macosx_10_9_x86_64.whl (527.5 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mmcif-0.71.tar.gz
  • Upload date:
  • Size: 933.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for mmcif-0.71.tar.gz
Algorithm Hash digest
SHA256 90ec184c22538c68d357638e833a9b4f2967779d906f8e0fff3b0e54fdc639e6
MD5 b6073d09120b39e752bef83de54f76e9
BLAKE2b-256 3550112f6759b96cff1685c0123f2f7483ea8a155e192f23e1991ff766cdecd7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 69be3ebcf612f9da9d998d49ecc6574491010ef2888841de13d091cc820545d1
MD5 945e24fffda89d95f8372d7bbd62d07a
BLAKE2b-256 2a2f4686b987a68eb7f873dc26d00388bba0a61e47eb7e8ff6d96e1e06a816e1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 8247944dc489adf05f8db1db9b5c54c7e9a26a8149eb6a0415e7ae058bb781ba
MD5 d54a2dbfd2e179ecaa0f20f20719864e
BLAKE2b-256 7033450bbb573902987724c28624510977e355b76ba6da6eab891ec4cbd32d91

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.71-pp37-pypy37_pp73-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mmcif-0.71-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 527.6 kB
  • Tags: PyPy, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 250f62c79804805cb81a333aa79338e4b48baf1697dd86595b01f7ff8d709408
MD5 ed40aa7762c3ac0a7c98c312bffe6aa2
BLAKE2b-256 7e2268f5e99306db81d5457e54e97cef27464074a5008a87da9a461d70c740a6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f33ee952e7f433871703f661b6e6548eab8f770aa01faf116d227eff1d941678
MD5 70278930b91fd2bbb907f8b029c13d18
BLAKE2b-256 88f25d996543c08a239a315b2044ec5eb2cb71ffea1f6a499b948a8f87d7f79a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
  • Upload date:
  • Size: 571.1 kB
  • Tags: CPython 3.10, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7a07c86c0574d3b2b94919093ad33e5c04918236df39517fb3fb0f01110d656d
MD5 e45848f98977d200adb56a1d881f61aa
BLAKE2b-256 5fd51afa7bbf16cbf3a71c53b59c0015234b08ee52303bc6870bc1723b0395f3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 539.3 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dfea61f179de2b30706b59b0068e1d0085ed5d72e6bfe8801698a02dec294eef
MD5 0d3dcd52933b0526e1a703921efb7ee4
BLAKE2b-256 1db97e7b14f4b21b5db4b6ae4c88aa0af03a58a99c3445164832fb4ded013e19

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d12c9d990e93c600eb5fb3b7755a90795a3b189e42e9ec8f8a00f6acf27d125c
MD5 37e3eb5a9e2a193061764da98f37fe8e
BLAKE2b-256 2025b608224744f618072297e9b8eafae0fb38deb274c080e9be73a11528dba1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
  • Upload date:
  • Size: 571.5 kB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 347bf7606b41c52911699ddce801b8511243719914b52c0a929c5c6f398c1b9c
MD5 63f08bfb9e7d019846938ac63239c9a3
BLAKE2b-256 607e81abb6a6651b0a5b6a6ea9d8c4b8736916695b145489b95b048224338204

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.71-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: mmcif-0.71-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 539.2 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3a9fcc8c4c41358f2cec3cda19400593e9b7133aeea4420310f52bdac10e6488
MD5 4b0c9978f46df4fc15e29b23f8bd3559
BLAKE2b-256 d88cfcc90356a1c07337b21c8830bd818e56df9b17ef366c3f838e43b6395c6f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 539.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f55b02a54337c15574bcea5fba87d595fe031fd121a230e0ef28178b03e1d0a5
MD5 c2c1fea68ce127d65292192d1ebdbff3
BLAKE2b-256 34cbd53f02e7d5cfa7a7ea2d293d685b80cc756000c6e3315ad51b5a06710409

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 88f3a2e49de6b39a8b82e4a5ef003dda7c654a1066aeb5781396a7894147b720
MD5 794f7e255fc93b3aedfa662649ff5594
BLAKE2b-256 5cf337df3292ebd3c41770c17109a45664158c810a621a60238dad462f659e12

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
  • Upload date:
  • Size: 571.2 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 8d988d5de7d74b49e518a00f9c8a1030f3279984776a84815196ac121069c20b
MD5 f36f0c592dfd4d4ff8785c07f4fc1e05
BLAKE2b-256 fe481d155069deaec0b420cc3c1ee3fc8c9248dcce16a3a268a7b8c142ddb672

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 539.3 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 933c03f526724fb8b70f9dffb8e973d783307675e2c0fba367c0796c3d6e724b
MD5 ed5858bd942f3187e70b6f76437e8acb
BLAKE2b-256 02dff4b2140d046aa188370c31d8370216f5bdb9443e12742add36b4edacbedb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 25609c2d4a7f0615832c91b68b791567f3c30c94efc6da3d151016827ce18156
MD5 9757d0c8e4bf48ae47d2d88c49e907fd
BLAKE2b-256 01e9214a377a1ca1d8db4d45a8bf2fd1e79a073533047007a780db2e222b56e9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
  • Upload date:
  • Size: 585.7 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f449d62f9a2f807f9cc4e27b99244e4825d205d6f762513b825a6ebab62ab530
MD5 ad11f3a15c32bbf28c9d464a5dd1dfe0
BLAKE2b-256 0b2368e4ebe38374ba3cec21350971e2e741bdbe25128253cfb4d7d8c95f0916

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 527.6 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 279ff84c8977cad22d5c7d2b3b83c017967836dea13838d173f557192a961956
MD5 2c02a93775bfd276c179d981cf272387
BLAKE2b-256 f3494308d9a2fe80958572fc28ad0c35b7911a3c96521f2992ef1f7fad75ebf2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.71-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c27c0495b8aed62bdc517f3c10b302d74bd7cab00c00eb86e7f66b704e1e7ea8
MD5 6872ee8f7b273021070c4d7a07827c50
BLAKE2b-256 8893b4b4b0bb8d95481416f908090dd46ff89e126a27a20de197d22eb9a704ec

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
  • Upload date:
  • Size: 585.6 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 c91aeec7628b9872f03aa8976d4b55390631b4416cfbe34413b086f817e0a069
MD5 3030b7d453004981999bd7d91cde65fe
BLAKE2b-256 e439ca3ad98ad11833a1641f262f5585ef6f4df66b2066700022993a46e6c5bf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.71-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 527.5 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for mmcif-0.71-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 90862cb738095d1fa6b19de86cdbbbb73a5bb5339a964a55dde72dc537e6bc7a
MD5 15e6cf713e09cd9f5f353e2c1e2a545d
BLAKE2b-256 8478a429b48979b09140e7193f52be81d76313abade66575f349164e462973f2

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