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 2.7 or Python 3.

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 0.34 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-0.8.tar.gz (59.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: modelcif-0.8.tar.gz
  • Upload date:
  • Size: 59.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for modelcif-0.8.tar.gz
Algorithm Hash digest
SHA256 ea59529e0a92eed2e8a69e4513e46c1a97ceb8c2930d79e02b9d23f9fa4e525c
MD5 0fdeb358f02190e8e67c435bbc577656
BLAKE2b-256 1d509f731fabf3c6bf8a85b9555f395d12ad2eee45d88a8fecd332e4d85ea0a4

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