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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modelcif-1.8.tar.gz | 81.1 kB | Without provenance | Details for modelcif-1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modelcif-1.8-py3-none-any.whl | Python 3 | none | any | Details for modelcif-1.8-py3-none-any.whl |
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
|
Security for modelcif 1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.