library for instagram filters
Maintained. Last release 12 months ago, commits in 24 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install pilgrampilgram
A python library for instagram filters.

The filter implementations are inspired by CSSgram.
Requirements
- Python >= 3.10
- Pillow or pillow-simd
- NumPy
Pillow Compatibility Notes
Important: This library requires specific Pillow versions for optimal compatibility:
- Pillow >= 10.3.0: Use latest pilgram version for full feature support including
ImageMath.lambda_eval - Pillow < 10.3.0: Use
pilgram<2.0.0which supports older Pillow versions withImageMath.eval - pillow-simd: Use
pilgram<2.0.0(pillow-simd lacksImageMath.lambda_evalsupport)
Version Selection Guide
# For Pillow >= 10.3.0
pip install pillow>=10.3.0
pip install pilgram # Latest version
# For Pillow < 10.3.0 or pillow-simd
pip install pillow<10.3.0 # or pillow-simd
pip install "pilgram<2.0.0"
Install
Recommended (Latest Pillow)
pip install pillow>=10.3.0
pip install numpy
pip install pilgram # Latest version with ImageMath.lambda_eval support
