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.

Metadata

Release files for modelcif 1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modelcif 1.8
File Size Uploaded
modelcif-1.8.tar.gz 81.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for modelcif 1.8
File Interpreter ABI Platform
modelcif-1.8-py3-none-any.whl Python 3 none any Details

Total release size: 128.8 kB

Release files / modelcif-1.8.tar.gz

Download URL modelcif-1.8.tar.gz
Size 81.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2cb61d88b6a4d5baf4b0faf48d61e9fc1b304bbed948e3dd3ec5e5a7363a4f73
BLAKE2b-256 checksum
How to use checksums
ecb5ddd89be156bed7be3fb6a1c15c5b8f9acbfd78903f897c33e87f1ff25d08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.15

Release files / modelcif-1.8-py3-none-any.whl

Download URL modelcif-1.8-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3056280bb0b307046c64f2c536afa631f5d226f255d3459fde75ca8275a56937
BLAKE2b-256 checksum
How to use checksums
6b756cd6230dfa7a7a85a948d7a788d5d11d160694112ba84276dbca9f183908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.15

Release history Release notifications | RSS feed

This release

1.8 This release

2 release files

1.7

2 release files

1.6

2 release files

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page