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

Uploaded Source

Built Distributions

mmcif-0.76-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (558.4 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

mmcif-0.76-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (570.0 kB view details)

Uploaded PyPy manylinux: glibc 2.12+ i686

mmcif-0.76-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (528.2 kB view details)

Uploaded PyPy macOS 10.9+ x86-64

mmcif-0.76-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.8 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

mmcif-0.76-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl (571.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686

mmcif-0.76-cp310-cp310-macosx_10_9_x86_64.whl (539.9 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mmcif-0.76-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.9 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

mmcif-0.76-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (572.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

mmcif-0.76-cp39-cp39-macosx_10_9_x86_64.whl (540.0 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mmcif-0.76-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (559.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

mmcif-0.76-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (571.8 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

mmcif-0.76-cp38-cp38-macosx_10_9_x86_64.whl (539.9 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mmcif-0.76-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (573.1 kB view details)

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

mmcif-0.76-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (586.3 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

mmcif-0.76-cp37-cp37m-macosx_10_9_x86_64.whl (528.2 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

mmcif-0.76-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (573.1 kB view details)

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

mmcif-0.76-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (586.2 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

mmcif-0.76-cp36-cp36m-macosx_10_9_x86_64.whl (528.2 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mmcif-0.76.tar.gz
  • Upload date:
  • Size: 935.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mmcif-0.76.tar.gz
Algorithm Hash digest
SHA256 357a3e67dae23a803c81011f3fde289bafd1ad99d03870042fe6ccaa2adb5de6
MD5 2bbfa23fcb61073874269e851898e646
BLAKE2b-256 f73a411b0e34a72078efde0173dcc5f6b95d44626eced7549f052d749e212306

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e9c8125672ef0bfc91db6afdbafcef86f315c769ada0aaa45c5db70231bff0d0
MD5 7bafb511a9a80e9b0f64ba3e2a36f014
BLAKE2b-256 3cfbfc67d1927c69b561fd8433cc72c4aa02cfba07d949e48b7ff2a6ec4513b2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4574df22ee9ee9c0ec8e31232cb57fdd9e029c1365ae9af2d1d2bcebf8647cc4
MD5 2bfbd6884fe587bde798163017b87133
BLAKE2b-256 f80c86d2db0bde27c46f7f7b82c357e4b1989b679d95d1d3548143a73798f4ec

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 68bdb32e0a1620f82289a278c62a3eb4b83dc581cd8766bd4d44e2c11a767be6
MD5 fda5578503d54ab167249fb93ad9da4c
BLAKE2b-256 90b90d2045f317c0faad0cee32de5b3c945d17be2c91a06c787e6b4992a39b24

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9927ae2b17f7bf7f0a55c57dba8c574d55b3cd9c8a923d4c479ff2d212020dc1
MD5 a2a9b2aef0f594ef487554810737f464
BLAKE2b-256 e22a7c4ed6ed32dce8b3535496e5fc6034f22a578094e07d2cdd2eec8d830003

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 dfa581d1e4f448c6bfae41f58f4bdb385c1a3d551da95d5fadbc563711bd2a3c
MD5 3907fc1006612d80ff0d32478177a888
BLAKE2b-256 cda3661f8bb21cf455d24436734e9e3a9b205e2b7ebcbbf9dab067a95deba7fa

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c144296fe79312298206acdb6bf4b27dd2dd4ec751775d9bb65af6d265585888
MD5 2f2448e349d56c8cdbbd3791cd9a405b
BLAKE2b-256 1363a15a40420a908e299b2316a5b5edd95e47f0296afb19e7379560f8406d28

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 be149263f059d579d5cdf2d7829d715943ec642336027fb594d33df478ba136a
MD5 d001e7f163abb50bb3a8348be7b45aed
BLAKE2b-256 7194708c9b3bf58c83a4c95422025799a919184b6632a8155b903f6b12790d0b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e7e57807871cd3d3e2b27e22652ff2f2978174fdb26fa694171a602ea0317a8c
MD5 957daedda713f35cbd682f2438b27018
BLAKE2b-256 fb0ba68b2d72a726f47009292cc9a1c1fdc518c8487318c510f373dd3a094110

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 009d23f3f7f8ece57192ad8437714840ef766913cde6aa017dbc436baab6f758
MD5 60a1e5bcd9cd7250762f391b716618b3
BLAKE2b-256 6e24343195e3b23f67c178d6d9333449fc869a52eb8eb60b7c1cd66b762f7fae

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3938551c5e6415f2f9cd78094170f8e932497895b5b5c4bf51a6ebb84fdf3b88
MD5 19934391641db7cc5209c79eeee5e8cc
BLAKE2b-256 8fee86bf7070b8e69efe94ff7d47e1de6f713c999acc77d1c60f0ba8143a80cc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 4ce1a20f3c64fb0cffc9950ceb3218f980b8b8bd52ac876cdfc058b26c674b7b
MD5 38c928146aa707840605586438e4ef0b
BLAKE2b-256 f09cab3e659a4d849a14736291be9cb7f83909ed0b92a633af381d222907dd33

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ed9e1938139bce4d654a8a06da0906cc1af2a890972fc1672228f8140cd48ad3
MD5 3007ef8c344f8c17218f04882f7c44c3
BLAKE2b-256 fd10f7e78007bcc1b7ae6e162e6a5c5714dfc9568e8bba6914cbfe26416789b8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5b88e7a0dccd28c6c76dbe6a7ffe8265e8b69d8cc33555a174d2cf6a96066788
MD5 6d611540552b0825db09004cac12f71c
BLAKE2b-256 625c44005da30ff69b7d52e9d5412da6cea778dfbaf18b15264de4f4e07f0607

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 84f764c79abf58e215c11e0a4271bdf41880a120691197525cc90f231c574bbe
MD5 dbccbee9d9190e1988ea9be59dce03da
BLAKE2b-256 96b851e02122219240e5c40b0024a99fa1df67b5bd1b265c7888d2881f2d50c4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 779a1880b8313cd2e414d3d53550533b9da5452203124a8d8eabc648581f04d1
MD5 553084e2d1c27a5ae107cb8de553c257
BLAKE2b-256 cb7a4cf2d2a4ffcb08acb9d6baf9e20b0f129e50c66e4a3440f8d1c8f3b31937

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c5d0b4c032681f615729806d895f08dca85816555742242de7cea096efcdb739
MD5 6ec1017e4846a4857c4162bbf0b3ac39
BLAKE2b-256 7e1cd0e1a3931ddd2ed2945fe274398b0b7b23c1060c4702cb6ea21e6c3ab2b3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 e056c8c1e6dcc2dd8a1cf4f3d7bb8c7ed503858d4241bb5fef91eb95423cfe78
MD5 6b69657f764becdeae6ee638daa0929b
BLAKE2b-256 cf98eaf1381213f7df927e3132b4a90296a79cff55b6a5e8031266a9186d2e73

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.76-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 08eb6c965351312eb7653d41ac960ad207333f6d038e95ae4f3e0d0e147b61a8
MD5 871662b8562713801270bef73d4ac1eb
BLAKE2b-256 f0f82572cd6c4b3ae3e521c31f09b8ccccd74d2805607b57159e83ed504dc22e

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