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.10 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.

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.7.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.7-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for modelcif-1.7.tar.gz
Algorithm Hash digest
SHA256 440b7ae64659e5533cba4cc04bdde8f63c05bac308904d809a790d8ee1799ae0
MD5 c3e7684b8bbf1aebea8c975a3a1c26f5
BLAKE2b-256 76d6b2a65e0545d7db5426aa18c9c52817c0dfb712faab2ea9c756608ba295a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modelcif-1.7-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.13

File hashes

Hashes for modelcif-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 755167d7d7bd8f17de26e5cf9b9e3a3b6750ebcb6409894eab2dbcc6f6fb20bf
MD5 a7c70dee7b9ea5e31abbc5ef563d2929
BLAKE2b-256 8c3e9080991af429741c410c20d3545717c6d42e1241a017b758371cc8431748

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