Skip to main content

Package for handling ModelCIF mmCIF and BinaryCIF files

Project description

DOI docs conda package pypi package Linux Build Status Windows Build Status codecov

This is a Python package to assist in handling mmCIF and BinaryCIF files compliant with the ModelCIF extension. It works with Python 3.6 or later.

Please see the documentation or some worked examples for more details.

Installation with conda or pip

If you are using Anaconda Python, install with

conda install -c conda-forge modelcif

On a Fedora or RedHat Enterprise Linux box, install with

dnf copr enable salilab/salilab; dnf install python3-modelcif

Alternatively, install with pip:

pip install modelcif

Installation from source code

To build and install from a clone of the GitHub repository, first build and install version 2.6 or later of the python-ihm module. Then run:

python setup.py build
python setup.py install

If you want to read or write BinaryCIF files, you will also need the Python msgpack package.

Testing

There are a number of testcases in the test directory. Each one can be run like a normal Python script to test the library. They can also be all run at once using nose or pytest.

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

modelcif-1.6.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modelcif-1.6-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file modelcif-1.6.tar.gz.

File metadata

  • Download URL: modelcif-1.6.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.11

File hashes

Hashes for modelcif-1.6.tar.gz
Algorithm Hash digest
SHA256 b1bf0751f0e2d1ea6da7a0a8a92efd2754428ae50bc3bfbff8e015183e978b19
MD5 e7b7e554ed1696f32b45b06f6ca7b68d
BLAKE2b-256 660a3ee0c1eb619f695b906439d1498899d3ae902d35f04bd56fd158d25ade96

See more details on using hashes here.

File details

Details for the file modelcif-1.6-py3-none-any.whl.

File metadata

  • Download URL: modelcif-1.6-py3-none-any.whl
  • Upload date:
  • Size: 47.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.11

File hashes

Hashes for modelcif-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7940bbdf3a5b7a40bd97579dea1f12aca58a67bae0818f554f519fd3f761d121
MD5 707c2dbb3f86726c9da3fa934bc91a1e
BLAKE2b-256 58b795ffa5e631ad5e8b1455aaea5355fb621694d58ece3859bc5bc356ab55c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page