Skip to main content

An API for CBF/imgCIF Crystallographic Binary Files

Project description

pycbf - CBFlib for python

PyPI release Supported Python versions Code style: black

This repository builds the pycbf portion only of Paul J Ellis and Herbert J Bernstein's CBFlib, as a manylinux binary wheel installable through pip install pycbf.

In order to do this, it has some limitations compared to the full build of CBFlib:

  • No HDF5 bindings
  • No (custom) libTiff bindings
  • No CBF regex capabilities
  • No header files included - this is not intended to be used as a linking target

In addition to the base 0.9.6, this has the following significant alterations:

Version Changes
0.9.6.0 Regenerated SWIG bindings for Python 3 compatibility. Compiled with SWIG_PYTHON_STRICT_BYTE_CHAR.
0.9.6.2 Drop python 2.7. Accept both bytes and str. Add read_buffer method, and libimg bindings.
0.9.6.4 Windows support, type annotations for pycbf.Img, and dials-data regression tests.

For details, please see the CHANGELOG.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page