Skip to main content

Jekillow

Pillow, but with one l — and every image you touch becomes the same selfie.

jekillow is a joke clone of Pillow. It exposes the same module structure (Image, ImageDraw, ImageFilter, ImageOps, ImageEnhance, ImageChops, ImageColor, ImageFont, ImageStat, ImageQt, ImageTk, ImageWin, ImageCms, ImageGrab, ImageMath, ImageMorph, ImagePalette, ImagePath, ImageShow, ImageSequence, ImageTransform, ExifTags, TiffTags, features) and the same set of functions and methods. They all do exactly one thing: turn the image they touch into the photo bundled with the package.

import jekillow                # this also hijacks the name `PIL`
from PIL import Image, ImageFilter, ImageOps   # joke version

img = Image.open("kitten.png")          # not a kitten anymore
img = img.rotate(90)                    # still the photo
img = img.filter(ImageFilter.GaussianBlur(8))   # still the photo
img = ImageOps.grayscale(img)           # still the photo
img.save("output.jpg")                  # writes the photo

Install

pip install -e .

Importing as PIL

If real Pillow is also installed in your environment (other libraries often require it), import jekillow first — that forcibly registers itself under the PIL name in sys.modules. After that, from PIL import Image gives the joke version for the rest of the process.

import jekillow
from PIL import Image, ImageDraw   # joke version, even with real Pillow installed

If real Pillow is not installed, import PIL works directly because we ship a PIL package alongside jekillow.

What it actually does

  • Module-level constructors (Image.open, Image.new, Image.frombytes, ...) always return an Image whose pixels are the bundled photo.
  • Every Image method (rotate, resize, filter, convert, crop, paste, ...) returns a fresh Image of the same photo. Mutating methods like paste are no-ops.
  • Image.save(path) writes the bundled photo's bytes to path regardless of the format you ask for.
  • Image.show() opens the photo in the system viewer.
  • Pixel access (getpixel, load()[x, y], etc.) returns plausible values.
  • ImageDraw.Draw(img).rectangle(...), .text(...), .line(...) — all no-ops. Drawing on the photo doesn't change it.
  • ImageColor.getrgb("red"), EXIF tag tables, etc. work for real because they don't depend on pixel data.

It is a joke. Don't ship it to production.

Metadata

Release files for jekillow 11.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jekillow 11.0.1
File Size Uploaded Provenance Actions
jekillow-11.0.1.tar.gz 126.4 kB Without provenance Details for jekillow-11.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jekillow 11.0.1
File Interpreter ABI Platform Actions
jekillow-11.0.1-py3-none-any.whl Python 3 none any Details for jekillow-11.0.1-py3-none-any.whl

Total release size: 257.9 kB

Release files / jekillow-11.0.1.tar.gz

Download URL jekillow-11.0.1.tar.gz
Size 126.4 kB
Tags Source
SHA-256 checksum
How to use checksums
08b5de4077f543cbb3fb113c67665c769664bc9d7a867a0b973a70d1d6c950d5
BLAKE2b-256 checksum
How to use checksums
4a4b86f5b0de2cdc92414196f2eb6d606b59a5e7aeb1286be6f6506d53047091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.2

Release files / jekillow-11.0.1-py3-none-any.whl

Download URL jekillow-11.0.1-py3-none-any.whl
Size 131.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3930adf7483fd4275fdb4ceb63a64dda5b905d7b836b8886ca7bc5fd780a7ff
BLAKE2b-256 checksum
How to use checksums
b37d430c1aaa9059617a39b3e4207e3f23151e3572fec2c2c77b2e425acfbc0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.2

Security for jekillow 11.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

11.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page