pilgram
library for instagram filters
Decision gist · record as of 2026-08-14
Yes. Low install friction, active maintenance, no known vulnerabilities, permissive Apache-2.0 license, and a focused scope make it a safe choice. Install if you need Instagram-style filters or CSS-based image effects; the Pillow version requirement (>= 10.3.0) is the only real constraint, but older pilgram versions exist for earlier Pillow releases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Pillow >= 10.3.0 for version 2.0.0; use pilgram<2.0.0 with older Pillow versions or pillow-simd.
- Low friction: pure Python wheel with only NumPy and Pillow as runtime dependencies.
- Actively maintained as of 2026-08-10 with recent release.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it safe for most projects.
last release 2025-11-23 (264 days) · last repo commit 2026-08-10 · 132 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 155,684 downloads/mo, #10,803 on PyPI
Alternatives
Verify before relying
import pilgram
from pillow import Image
im = Image.open('sample.jpg')
pilgram.aden(im).save('sample-aden.jpg')- Exact count of named filters available in the library.
- Performance characteristics compared to other Instagram filter libraries at scale.
- Whether ImageMath.lambda_eval requirement in Pillow 10.3.0+ represents a breaking change for existing workflows.
What it is and what it does
Pilgram is a Python library that applies Instagram-style photo filters to images using Pillow and NumPy. It implements named filters inspired by the CSSgram project, plus a set of CSS-based filters (contrast, grayscale, hue_rotate, saturate, sepia) and blend modes for image compositing. The library works by transforming image pixel data through filter matrices and blending operations.
You use it by opening an image, calling a filter function from pilgram, and saving the result. It's designed for batch image processing, data augmentation in machine learning workflows, or any scenario where you need to apply consistent stylized effects to photos. The current version requires Python >= 3.10 and Pillow >= 10.3.0, with backward-compatible older versions available for earlier Pillow releases.
Use it for
- Apply Instagram-style filters to batches of photos for social media or portfolio preprocessing.
- Generate augmented training data for machine learning by applying multiple filter variations to images.
- Composite images using blend modes for photo editing workflows.
- Add CSS-based effects like sepia or grayscale to images in automated image processing pipelines.
- Create consistent visual styling across image datasets by applying the same named filter to all images.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, active maintenance, no known vulnerabilities, permissive Apache-2.0 license, and a focused scope make it a safe choice. Install if you need Instagram-style filters or CSS-based image effects; the Pillow version requirement (>= 10.3.0) is the only real constraint, but older pilgram versions exist for earlier Pillow releases.
Install
pilgram on PyPI
Before you install
Low friction: pure Python wheel with only NumPy and Pillow as runtime dependencies. Actively maintained as of 2026-08-10 with recent release. Requires Python >= 3.10 and Pillow >= 10.3.0 for current version; older pilgram versions available for earlier Pillow releases.
Requires Pillow >= 10.3.0 for version 2.0.0; use pilgram<2.0.0 with older Pillow versions or pillow-simd.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it safe for most projects.
Quickstart
import pilgram
from pillow import Image
im = Image.open('sample.jpg')
pilgram.aden(im).save('sample-aden.jpg')
Verify before relying
- Exact count of named filters available in the library.
- Performance characteristics compared to other Instagram filter libraries at scale.
- Whether ImageMath.lambda_eval requirement in Pillow 10.3.0+ represents a breaking change for existing workflows.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesnumpypillow |
| Maintenance | Actively maintained 264 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 155,684 / month, #10,803 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Multimedia :: GraphicsTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pilgram-2.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “instagram filters python”
- pilgramApplies Instagram-style filters and CSS-based image effects to images…
- instagrapiUnofficial Instagram API wrapper that automates private mobile and…
- instaloaderDownloads public and private Instagram profiles, hashtags, stories,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also blend-modes · blendmodes · pillow · pilkit · pi-heif · loadimg · simple-lama-inpainting · Willow · pillow-heif · piexif