Skip to main content

genipng

Infinite pattern generator in Python.

Installation

pip install genipng

Usage

# Generate flower pattern (default)
genipng -o flowers.png

# Generate different patterns
genipng -p yin_yang -o yinyang.png
genipng -p mandala -o mandala.png
genipng -p cross_stitch -o crossstitch.png
genipng -p geometric_tiles -o tiles.png
genipng -p waves -o waves.png

# Custom size and seed
genipng -p flowers -W 1920 -H 1080 -s 42 -o big_flowers.png

# SVG output
genipng -p geometric_tiles -f svg -o tiles.svg

Available Patterns

  • yin_yang - Yin-yang symbol
  • flowers - Flower patterns
  • pseudocalligraphy - Brush stroke style
  • cross_stitch - Cross-stitch pattern
  • mandala - Mandala design
  • geometric_tiles - Geometric tile patterns
  • waves - Wave patterns

As Library

from genipng import generate, PatternGenerator

# Generate from code
generate("flowers", "output.png", width=800, height=600, seed=42)

# Or use class directly
gen = PatternGenerator(width=800, height=600, seed=123)
img = gen.flowers()
img.save("my_flowers.png")

Metadata

Release files for genipng 0.1.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 genipng 0.1.1
File Size Uploaded Provenance Actions
genipng-0.1.1.tar.gz 6.1 kB Without provenance Details for genipng-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 12.5 kB

Release files / genipng-0.1.1.tar.gz

Download URL genipng-0.1.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b40d89cf22dfe1839576a63c862c971d76e103dba8f5097fc9136f593ee13231
BLAKE2b-256 checksum
How to use checksums
417ab5efc79bb5530f6269eb80659e3f96f4a53f7f84025f1e18a7f40cab1e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / genipng-0.1.1-py3-none-any.whl

Download URL genipng-0.1.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c63fbedc9223e25dfeab5c5f8f77adf2a79afa576a0bbb15ba3997ed8d035c75
BLAKE2b-256 checksum
How to use checksums
28f008ce07a5758bfb3710803c63581190df9a8194b2c02ec5b7a6fb8f07d639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for genipng 0.1.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

0.1.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