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.80.1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

mmcif-0.80.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mmcif-0.80.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (630.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

mmcif-0.80.1-cp311-cp311-macosx_10_9_x86_64.whl (546.5 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

mmcif-0.80.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mmcif-0.80.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (631.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

mmcif-0.80.1-cp310-cp310-macosx_10_9_x86_64.whl (546.5 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mmcif-0.80.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mmcif-0.80.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (630.8 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

mmcif-0.80.1-cp39-cp39-macosx_10_9_x86_64.whl (546.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mmcif-0.80.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mmcif-0.80.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (630.2 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

mmcif-0.80.1-cp38-cp38-macosx_10_9_x86_64.whl (546.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mmcif-0.80.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (628.0 kB view details)

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

mmcif-0.80.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (647.1 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

mmcif-0.80.1-cp37-cp37m-macosx_10_9_x86_64.whl (539.2 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

mmcif-0.80.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (628.0 kB view details)

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

mmcif-0.80.1-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl (647.3 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686

mmcif-0.80.1-cp36-cp36m-macosx_10_9_x86_64.whl (539.2 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mmcif-0.80.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.14

File hashes

Hashes for mmcif-0.80.1.tar.gz
Algorithm Hash digest
SHA256 5275e07e808bdd7cb7597de3a6f3e531c2931b0a68d7fd74aac48f4b1ba39d64
MD5 6e7b456dd3f80dca095450b8f31431aa
BLAKE2b-256 b062a145b8f1e8d8aa53140b1776fcb57b4b2d880c3890e930676143b50d2800

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74856f1cec2ce4b430369259e064a77746b9e63aef39af43f02c6ad515391f78
MD5 5c833c6e60798a7259c67eeaf674997b
BLAKE2b-256 85550a464ae53bbf0d656e91ee70812c19d9bdce2a3f26212afb3ccb646d1c45

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 68766822b7e7d24b7be14563f0d92cfaf7d0a006d2c0dcb7671f9ac7f87e8181
MD5 9abdb065d2dd6854312783ce4127b86b
BLAKE2b-256 075c246c2315787a7b1189298071fcfca506d1d9bf6174bb039bbd837e61e278

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d2ff899b7f2b5dd88c007b9f29e8c93d8c2c4af8178ca3da9eda143e08351168
MD5 35567757a4f297d8753d8d143ae98d45
BLAKE2b-256 96026946925bc8bab91eb00780232822976b8a74459acaacdc1573d33a90af69

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84915ebf2bb63455964313aad458802205acc68359f2f77509d9812551b83eb7
MD5 b45c587891800dee20dd775b8edd7e96
BLAKE2b-256 e2200c75ef3c0d0ffc4772d797624bd4e5ae5c926c1d07f8674ec4f4a8a33268

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fc48a27507b9c972915c945cbfdfffed181b593ebb87fb96264dc911900f87cc
MD5 73f9bd5504577674736bd80297dc89c9
BLAKE2b-256 3d6b01511fbd25af34db22ee2980306d79c48e61089d8a3aa9de658b1030ff19

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.80.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ae62f6e1b0b22d544e8e7dac6cd229e3f9abeaa923ff2a963835ab34d794bdd
MD5 e5f7e82b3c3f8bf949a8c8ca578cc206
BLAKE2b-256 c876b82544b6b923fa2cf6af8d1fa698893133d2c8ee19453a2e35c5ff93f8eb

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 492ae0fd0ddfa22b6fcced3b52868d0716e67f5dfd99e77c7bad6e1e6277b788
MD5 41761a7ebe63e30966ea1f79e9845a22
BLAKE2b-256 2d1e2f653f150e8af1b8372644d9d49ceb02d45b7e4b48341fb262b2e173d642

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 068f09bf45be9f0114f3954323b973250a4e27cb1f62f327028b17c86b347388
MD5 b693d01e37222676efb0d4f96c35a458
BLAKE2b-256 69f35fa32d02a56dfe75fa98291d5cc3bc1f7160ed374a168f4974b54ab09b6f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.80.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f5a683e0b4386b2e3655f51f50f5ba0e83988a2518e149c7e5c6df8156505e9b
MD5 4cb39c2a594f24b00b82c5d46893bf5e
BLAKE2b-256 4f4e5a5bbd5815b980b903a9da58b444132dcb721a1902dc8f5ea2a99609cfe5

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0609c36f0648a9902064c59faef1f2232bd199f453099655ffcda316e0f37c26
MD5 d4ff4d4e88a5f6bbc44a6ff149ae0bbc
BLAKE2b-256 ea1171e2e4f88d8e45df5d327a87a8177984fa17ae74c9f2c36b2dd8f837111d

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 33a10bb07f528cc3eb4ec032ef1d1594616e220204335b3c6c3600b3c1f9b98e
MD5 9981b2a9e2288b34768e7facbe08d4d5
BLAKE2b-256 35b6b1870e04baaeff70aebc39976d892bbf1bef5296d116474e5804f6f678c5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.80.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 47e17d47f1fc97a9f77183520fdd93c22f0e21ab5df49699202b644dd236fbd7
MD5 36cc061cb95ba3a2095fbc11763b1966
BLAKE2b-256 513ca5e9f127fd11d20dcfd4590fc8020a1403164eadcd9340694eb4a59760ac

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 858931fba8e5f6a53b56aae747e672fa097c4f0ad8b6680d8cf2255468b2813a
MD5 3d9c4547baa9637fe23fe4487c54f8da
BLAKE2b-256 a1c1db87ff65535d56d8d8a83ae71816b7ce7cdb841c9d40afc1518fc11ad9a0

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6e127524a9ef182bf1e9aa6e936f8c2d2b823d84a4943ac89cb021a0c8103926
MD5 83fc93d34e35f5ab1282c4daba3cda55
BLAKE2b-256 8c711f47fe196681452d35669a6cfabdb21739f47cae02b930f6dfc391397ecd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.80.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 26957654048080c1698333c89b74c9eb938287fdc4d63618a9f629b64e618772
MD5 25a756efd47bc67d9dc10805e037d62b
BLAKE2b-256 87ea5a1b8d0ba6071871d39e0929fa1f5110c92a2d429071255797e271060b04

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba001184966fa32a55dc3ab5725fd90260fdf524e759fdcc4073984194075bbb
MD5 84d09f6b87bf8b0a91b4f62131816ffd
BLAKE2b-256 5ed114344434bb1a58ce55c320bc73e8cef0393a6ff6ce0fb33edbe733deaf49

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.80.1-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mmcif-0.80.1-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8fce952f9b2f3c1fea442613e897b47a2fafb01cd0f07647a8c52cb9b41dffe7
MD5 08ca4030d7203dc7410786b05e4e9090
BLAKE2b-256 ba721256af1a4820b5474de64728e7a4e6f5bda2f949519a284eb38838846ddf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.80.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 68eeb2492ec0d445488931087c851de1d4e32ed43df29e8c33c72a2254bcc4da
MD5 69e0311b30b9db960371d0676c85f2c1
BLAKE2b-256 c89d0bfd81925a0b010f779ba8816e0e39c44502bf68e0eee1931f72b6a13e53

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