Skip to content

freesasa/freesasa-python

Repository files navigation

FreeSASA Python module

The module provides Python bindings for the FreeSASA C Library. There are PyPi packages for Python 3.7+, on Linux, Mac OS X and Windows. And it can be built from source for 2.7+ (Or by downloading older PyPi packages). Documentation can be found at http://freesasa.github.io/python/.

Install the module by

pip install freesasa

Or, alternatively, by using conda

conda install -c conda-forge freesasa

Developers can clone the library, and then build the module by the following

git submodule update --init
USE_CYTHON=1 python setup.py build

Tests can be run using

python setup.py test

Adding new features

This Python module provides a limited mapping to the C API of FreeSASA. I wish to extend the module with more functionality out of the box, to match the capabilities of the C API more closely, and perhaps also add more complex analysis that would be cumbersome to write in C. Feel free to submit feature request as GitHub issues. A few simple suggestions are already listed as issues. I only work on FreeSASA in my spare time, so PRs are always welcome.