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

Uploaded Source

Built Distributions

mmcif-0.73-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (557.8 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

mmcif-0.73-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (569.4 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

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

Uploaded PyPy macOS 10.9+ x86-64

mmcif-0.73-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.73-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.73-cp310-cp310-macosx_10_9_x86_64.whl (539.3 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mmcif-0.73-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.3 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

mmcif-0.73-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.73-cp39-cp39-macosx_10_9_x86_64.whl (539.4 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mmcif-0.73-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.3 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

mmcif-0.73-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (571.3 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

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

Uploaded CPython 3.8 macOS 10.9+ x86-64

mmcif-0.73-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.73-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.73-cp37-cp37m-macosx_10_9_x86_64.whl (527.6 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

mmcif-0.73-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.73-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (585.7 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

mmcif-0.73-cp36-cp36m-macosx_10_9_x86_64.whl (527.6 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mmcif-0.73.tar.gz
  • Upload date:
  • Size: 934.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73.tar.gz
Algorithm Hash digest
SHA256 babd83c9f97cb8916fd95685f193f7db104d84644daed6beeb79b65b7398e97c
MD5 7f1969703c6fdba11dea5cd7ed9c9b0c
BLAKE2b-256 0e1e708096393537eeb04149ac7890caf5c6a6d933ecc1612ddf32ae3ea2244d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4a78cfe1d0be73e10bc6094519c6f30a139841dd3232a7ec09157869996d4494
MD5 e06f6148c3ffbd717e57ebf331ac491a
BLAKE2b-256 93f9efe8418470aea39608ae5734c950c9129bcef34edcad94fd1a27aeef47d3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7b42fdf2ee9292be4f096d2444554cf019b07e93bc2b16f109220636855f3d75
MD5 e824511d332036691aef4e0da58533f2
BLAKE2b-256 9b5ad5b6c7eae6e47f5c57ffa37a8a44257235702e63dcd7e5266a2c3ff3e80e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b91a8b4bf20d329a7a4a0b07153903f9327e29d6ec9cb4677bff0634bc2b772d
MD5 f326e86e9d1812cac2494850de6476f3
BLAKE2b-256 ff092cef9435d8812f6450b3db87c341f7b171efffd15aa8e55e837993215e98

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f2e8b139b3ce37427cb41dfc729fe056cc377a21da5db0cfdab1d26575d5ea88
MD5 1d7038055f53e29415a12a73331cd78d
BLAKE2b-256 0db8931fbe95b99af740571d17b96677e701b253c12d3882f3ed06ac355f75da

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7e55abbdd265cb9a47ed24f4c937e7c999b2e72f9bee168b36b145e100e815cc
MD5 5425bdca8e1739399ef894edfbad4afd
BLAKE2b-256 46a0f818b09c91c566bd19aec8a45f0559ade1048b1d11add2b3c30d85b39c2c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 27c2c01330e9288397e11c8249312fc390cc7837542e093c0d6caa76fd495c35
MD5 a3e1e7339d144cb3c3ef8012d2b081e0
BLAKE2b-256 2de3cb633b2c04db58129726470248415e29da8308d4eef17ba838dad83c071f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 216e6d25760ac0b24ff0a0fe26f22cc11ed6412851ea82d8e8963e010b15f977
MD5 2975d5ee4c507c78aadc7f20991c5f21
BLAKE2b-256 d83346620b304a0fe61aaa596211fb48cc0e838156bc26702dc7f5f6023e902a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d0fbd3d465a202d03670f53b86cddb66d95a121ddea94cf814311ca82534f3b1
MD5 445d4369d5f750d69d40911da28fe510
BLAKE2b-256 3647397d09afd9a6bcc20dc6c2370a4d41d2b298c6ab4ca80e7c324e0e5dc755

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for mmcif-0.73-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7d88045a298c2a646f53c9fae5fcc8802db514bfc3ece03573c2fa0d53351b16
MD5 4a08e28821ec33f55f1d0ae9f545a852
BLAKE2b-256 9b3ebd18d61074526e662a0eb81c755b9cd52cbcb71d7bb1763a5796ce5bf651

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 43717e2424a444c1f8022568544be2f1cfd815ae3f69b231fae260e5038fdd1d
MD5 85b606cdfbf1d8ad8bcf7ce2dd9c95ed
BLAKE2b-256 c2c2040ee521442efae2e0adae3d75d9dc2875c6143416cb5e6573ec761f65fd

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for mmcif-0.73-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 1dff1be23c7136b264c061d67952157d387c73e3de33c38b4bec81c2a278122c
MD5 7c10094f4d04d30a8dc9c59a17cfc836
BLAKE2b-256 9c2d76d1769bfd7ecc958d5cb15f71f15f99d343be0c207a649690b149d64429

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 901d470a9fc8cba82971508f8f17bd3faba524327d69aa7076fb4f2c784b2eb8
MD5 ed185c042bac495955364343b57f353b
BLAKE2b-256 3d508c84abda953cc0b0ee7246daf34ab3f0bed49c0688b34aad696b07505fc4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 46ff0039a370094dfc67fe437f68b87b025c1783971a6bad14a89d5883aca521
MD5 09d06b39ce7f5d25a0965d63136ebbd3
BLAKE2b-256 5f6e7248fadbf073c8ad6e65d2d5592cf4c60b319ceafaec90786a14b7acc226

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e8214028bca555bc189d09f9d058ad5fc091dadee76ce4291e2acf86c12d7c40
MD5 42126d862856e7f84c8b083cc11478d6
BLAKE2b-256 77cd4ed9200755fa0b5e0c867fa9e65569224b1681d5ab72977bfc000f847e62

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.73-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.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mmcif-0.73-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 59385b47c27f9b9527fbe4f0bb29720c9ce2bd3d0b87235c169dc4e600234f81
MD5 f3d2b9a9dedb73f874fda2f391c244d2
BLAKE2b-256 46c3a4ecea34a9ff5a0555f3d1d5aae6b0b4f5429c7e17246705f3d12fcf86c8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.73-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4645fec0f3a8156e439e4fec5db563f569e18334d5a88462c6a408dc6578345a
MD5 c4c5a0b02079692f9d40b8731d67c82c
BLAKE2b-256 5b65aea6287b51d490fe992a102dfe48bce1898c13472c54d908107f4ded78c7

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for mmcif-0.73-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 622fb945ffc284425dcaa47665978b85e3ffa54c0049b13fb91305b80990e5ca
MD5 fecb28cf2bf22a9021bd33df9bb9a7c7
BLAKE2b-256 079404da4133c4f086bd5f8e20a3d1b5046e5c32713ea70565197b4409952b92

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for mmcif-0.73-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 aba239ecf40aa513b1557c0a220fec28f6d9207e1febe00960491c49a6cdea2a
MD5 8a3b0cfa149653669582d71b7515b8b9
BLAKE2b-256 f5297384c17cc66d8d9a42d5e58f1d9a2d41070a76437867f7e29d145491d5ac

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