Skip to main content

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.11 or later of the python-ihm module. Then run:

python3 setup.py build
python3 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.

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.8.tar.gz (81.1 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.8-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modelcif-1.8.tar.gz
Algorithm Hash digest
SHA256 2cb61d88b6a4d5baf4b0faf48d61e9fc1b304bbed948e3dd3ec5e5a7363a4f73
MD5 0c65a2667ab10ca8096f293c01f23490
BLAKE2b-256 ecb5ddd89be156bed7be3fb6a1c15c5b8f9acbfd78903f897c33e87f1ff25d08

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for modelcif-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3056280bb0b307046c64f2c536afa631f5d226f255d3459fde75ca8275a56937
MD5 9682db470a6c67e928b9676bc8ee1c3f
BLAKE2b-256 6b756cd6230dfa7a7a85a948d7a788d5d11d160694112ba84276dbca9f183908

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 Sentry Error logging StatusPage Status page