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 integrative/hybrid modeling (IHM) extension. It works with Python 3.6 or later.

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

On a Fedora or RedHat Enterprise Linux box, install with

dnf copr enable salilab/salilab; dnf install python3-ihm

On an Ubuntu LTS box, install from our PPA with

apt install software-properties-common; add-apt-repository ppa:salilab/ppa;
apt install python3-ihm

Alternatively, install with pip:

pip install ihm

(Note that pip builds a C extension module for faster reading of mmCIF and BinaryCIF files. This requires that your system has a C compiler. If you don't have a C compiler available, the library will read files using pure Python instead.)

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 this will attempt to build a C extension module for faster reading of mmCIF and BinaryCIF files. This requires that your system has a C compiler and SWIG. If either of these components are missing, the library will fall back to reading files using pure Python instead.

If you want to write BinaryCIF files (or to read them without the C extension module), 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 2.11

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

Source distribution (sdist)

Source distribution for ihm 2.11
File Size Uploaded
ihm-2.11.tar.gz 414.3 kB Details

Release files / ihm-2.11.tar.gz

Download URL ihm-2.11.tar.gz
Size 414.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cb1bc75af04c5a7271f788f8018f30ee747a4d73fc45ab23f05d094ca44c0f0c
BLAKE2b-256 checksum
How to use checksums
34f79f2cd62abdb1ff823ceef5e58bee2d331447966c0d428dc94e0a8c8ee802
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.13

Release history Release notifications | RSS feed

This release

2.11 This release

1 release file

2.10

1 release file

2.9

1 release file

2.8

1 release file

2.7

1 release file

2.6

1 release file

2.5

1 release file

2.4

1 release file

2.3

1 release file

2.2

1 release file

2.1

1 release file

2.0

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

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

1 release file

0.42

1 release file

0.41

1 release file

0.40

1 release file

0.39

1 release file

0.38

1 release file

0.37

1 release file

0.36

1 release file

0.35

1 release file

0.34

1 release file

0.33

1 release file

0.32

1 release file

0.31

1 release file

0.30

1 release file

0.29

1 release file

0.28

1 release file

0.27

1 release file

0.26

1 release file

0.25

1 release file

0.24

1 release file

0.23

1 release file

0.22

1 release file

0.21

1 release file

0.20

1 release file

0.19

1 release file

0.18

1 release file

0.17

1 release file

0.16

1 release file

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

0.10

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