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

Uploaded Source

Built Distributions

mmcif-0.81-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mmcif-0.81-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (630.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.11 macOS 10.9+ x86-64

mmcif-0.81-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mmcif-0.81-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (630.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.10 macOS 10.9+ x86-64

mmcif-0.81-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.81-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.81-cp39-cp39-macosx_10_9_x86_64.whl (546.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mmcif-0.81-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mmcif-0.81-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (630.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.8 macOS 10.9+ x86-64

mmcif-0.81-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (628.1 kB view details)

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

mmcif-0.81-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (646.9 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

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

Uploaded CPython 3.7m macOS 10.9+ x86-64

mmcif-0.81-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (628.1 kB view details)

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

mmcif-0.81-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl (646.9 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686

mmcif-0.81-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.81.tar.gz.

File metadata

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

File hashes

Hashes for mmcif-0.81.tar.gz
Algorithm Hash digest
SHA256 dbe686cbeb500bf04a3e73e2858e1285ab19530e24d230a6d74654f24178c379
MD5 3a979954f4a864fd11448ca1ae108302
BLAKE2b-256 a08dbf58b0501c92d2e3a9b6c3abc06e2fa1723229064b3da9cbe2a22036da8a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d9c203774ada36849bc51135d31a231d55a68f37cf1e8443869b0f3cb08c4417
MD5 c4f7a6152336d6a303a746bfde1cb3d5
BLAKE2b-256 5b3f3f22ff9c959c143559813069df2e9a498e7c8210a84d5ee5e6230dbe1e91

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c3436e0f003b9cd2e06357b60f2157fe461265a529a38056e7734afa0ab3a8d1
MD5 67420e3fe915d167929ce0eb77ea3109
BLAKE2b-256 5f96381726409c64d8c88dfcbba9ae44a3c09017ff454d22996ef1326209a755

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6fc0dc74e10b10555cc31b57e8cb04693f5076c6d93e77659b2fafce593a2119
MD5 d5f3cc7145bb987e9927b6bfea409f0c
BLAKE2b-256 49a6c79fcb8d0efab7a15a2227ba013f6d2a5682f79b7956b6ab2a2f3c2c37a4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f3aaaccaceb3771cf39da6710a55a3e22d86388a10f77d1fbebf4ee58870a61
MD5 9ccd9f7f84dfdfe66409a3bba9767727
BLAKE2b-256 72099abaae410703aa83ce7e1e12ec90c8bfca35bb202154c98b57b703d268f4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9ad18fa8e5559ca389b05111b79450dc5b88db683c8045121ad701fc50154846
MD5 6d8650e3ea0bda4ec8383f6b8c7a62ac
BLAKE2b-256 c337a72e4b3841bef1f7f19484d66b13d305b7cde0a9b7c6d7a16c3f9844950b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e69c944f4229b2f2d9f87a91ac3352ac1ee7bde8b4c8e2a452eba142cb09389a
MD5 ea8129ed7c9d0e7e8a39d042293544c0
BLAKE2b-256 d1c7c10c460aab7509b2caca125103a941a07be917f0e48c6f33977761f5f4e8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99a3109239905085ca710bba873839ba41d0aee7c65b277c56eeb6d00c3416c8
MD5 bb25a670af76934835e6cf2431413e93
BLAKE2b-256 4d328ed19892d46713a8663d5cee082317dac0df55f963a40dc88fff0ff5490c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d76ba3b58dd6f6477b87d33fde33375b05e233be7f912e7f9e0b63afa4af8e89
MD5 442cab8aa5138a2cdba9e57ad1fb819c
BLAKE2b-256 c57df4e9fc96aee60b4697f82eb630f42265d144617f28dfd6023f8113ec03f1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cd19a84a5c270dea795e80aee35c603cf14b692b1ff67e534d12bb98ee38132c
MD5 47276f031df6241533049b541dfbfbeb
BLAKE2b-256 f4383d53a7e38178081c4126f4ba95731cb55abb8f76750c5268ade64780f9f3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ba442f2922f083ba6de3114f6a56fab2a4db265d5db3e0a1c02180ebd01250e
MD5 d5afe733667f52baddb811bf8b85b2d7
BLAKE2b-256 40a74f658441afac441e004d10aabf38e783e8a32397d28bb3198b4a00ba8c12

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ac79d8a732b12f380613bfe8b401f76a1940810c5c78d7ba56fb11895bf10a56
MD5 4e4c7a16e3adda07545b0b19d4ed2da2
BLAKE2b-256 8b32c08458d5db030b19d8053cf915a97e3486a10e543a690a4b50273c8dd172

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ccb9c21c582a2f018f9cde6682326e6f3bdc2824e439bb89662e3fe2e79a7210
MD5 c48f7037167d78160762960a0fee8a5b
BLAKE2b-256 7d8f6b92dceaa4ea68c45d3c928e4fa1d75749d298c012101241abe7e43bbb6d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1aabe2a56c4dbb830130946583fb4e7f13cc76b70aa2406f92c9b577e83dc13a
MD5 1f13a19e66f768ee3323aad89bcd3385
BLAKE2b-256 e0670810fe21de230514d1a79e1cb58928e0ffb9c3658a9f12876513ccec5ff1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 57860bbe2f470971040c454b66842585be4dd6c08d1b5904cc4fd6747a63e99a
MD5 1a52bd6885e6ff3dd1cf2e4b8f88a9dc
BLAKE2b-256 6cc712ab10c8a1007007d4d0fe1df07d425b0c3537aad70b7823bccd628fbed0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7bbddb7f8ee0fa23e130a27abb6c3dffd26138543778fd05c77819aaf534c249
MD5 28135fc41db3af37b2579f5e92b205df
BLAKE2b-256 a0289cc678d272e59476b3d5729148b74c7bfebf909529566ad3ce048d0eeed2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a1dee311f24ae7c802db25a666ae28414aa8dc3f052396f0cfdc792fc832739
MD5 429fdf647a0f69c4df651e4f43766af2
BLAKE2b-256 403082a44dc34eb17da5b9270583c8f57448ebb018a9e0f73e0aae9e83bb7c41

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5a66f751b583f06d37ee62a10920d9e4125261d5d0d6d7731ec28b29a85e52f6
MD5 85271606777632217fc89216e9ec55dd
BLAKE2b-256 7081e893e514b88acbe469b14054b5e064648fc97661e9f79a49087a2aa76fba

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for mmcif-0.81-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2daf3baaef33e10badbafd812f9af709dccf44a83d16f8ecce6af3603c3bec29
MD5 405864c8bbc489775def6b74f83df19d
BLAKE2b-256 24da8792f992af8dfe8024da098ee9eb520648afcdb39351fc7d03dead9eca54

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