PyFMask
Python version of the FMask Landsat Cloud Masking code
Requirements
Install the Python requirements listed in requirements.txt, and also ensure that you have GDAL installed (with Python bindings)
License
This code is licensed under the GPL v2, see the LICENSE.md file for more details.
The code was taken from https://github.com/ceholden/config_fmask and modified slightly (with most modifications contributed back to this project). That code, in turn, was taken from a near-literal port of the original Matlab FMask code by Mitchell Wheeler and Josh Sixsmith