This is a Python package to assist in handling mmCIF and BinaryCIF files compliant with the integrative/hybrid modeling (IHM) extension. It works with Python 2.7 or Python 3.
To handle non-integrative theoretical models (for example, homology models), see the python-modelcif package which supports files compliant with the ModelCIF extension.
Please see the documentation or some worked examples for more details.
Installation with conda, Homebrew or pip
If you are using Anaconda Python, install with
conda install -c conda-forge ihm
On a Mac with Homebrew, install with
brew tap salilab/salilab; brew install ihm
Alternatively, install with pip:
pip install ihm
(Note that pip builds a C extension module for faster parsing of mmCIF files.
This requires that your system has a C compiler. If you don't want to build
the C extension module, install with
pip install ihm --install-option="--without-ext".)
Installation from source code
To build and install from a clone of the GitHub repository, run
python setup.py build
python setup.py install
Note that a C extension module is built for faster parsing of mmCIF files.
This requires that your system has a C compiler
and SWIG. If either of these components are missing, you
can choose to build without the extension by adding --without-ext to both
setup.py command lines above.
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. They will also test
the C extension module if it is first built with
python setup.py build_ext --inplace.
Metadata
Release files for ihm 0.36
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 |
|---|---|---|---|---|
| ihm-0.36.tar.gz | 288.6 kB | Without provenance | Details for ihm-0.36.tar.gz |
Release files / ihm-0.36.tar.gz
| Download URL | ihm-0.36.tar.gz |
|---|---|
| Size | 288.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5abad1962d8acf61ae509995da2bf19222d239bd3726b967f20a76fe0bb1c33
|
|
BLAKE2b-256 checksum How to use checksums |
cae484b42207923ea71775e12f8589e0279f28242416385d14e7a2a8bac4d36b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.9
|
Security for ihm 0.36
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.