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

Uploaded Source

Built Distributions

mmcif-0.69-cp39-cp39-macosx_10_15_x86_64.whl (538.9 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

mmcif-0.69-cp27-cp27m-macosx_10_15_x86_64.whl (529.3 kB view details)

Uploaded CPython 2.7m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: mmcif-0.69.tar.gz
  • Upload date:
  • Size: 932.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.18

File hashes

Hashes for mmcif-0.69.tar.gz
Algorithm Hash digest
SHA256 7720f6d855b9aadfd76a5b4ef93cd48db69e887930a6c932afd684111fbf0999
MD5 3938414302d6e41912df89138cc2c7cf
BLAKE2b-256 359e6e0b4fae2a4301e219d62d51630f117d564d3091ac166eb9873771c85b70

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mmcif-0.69-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 538.9 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for mmcif-0.69-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a22609bf73dd5a045e11e1f672814746184ae3d04586262bd0317e9f56f87c2e
MD5 bd0dd8b927c9b88f04f43fdf19d23938
BLAKE2b-256 d1f97075adff6c7c98a59e397f7d8fa3a4071c6c32855cee47521d5260fee54b

See more details on using hashes here.

Provenance

File details

Details for the file mmcif-0.69-cp27-cp27m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: mmcif-0.69-cp27-cp27m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 529.3 kB
  • Tags: CPython 2.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.18

File hashes

Hashes for mmcif-0.69-cp27-cp27m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f86f3b261984997348899ea17819eaacbd1204968bfb45f7695ad084fe3b29d0
MD5 9929958a0415d84090dd29051d58a4b4
BLAKE2b-256 c136900289a6975fb9343cf257c2e5ab59e762c7b8ddf921414823740f22795a

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