Skip to content

patlab-logo

Generate beautiful text-based patterns in Python with a clean API.


🚀 Quick Example

from patlab.pyramid import pyramid
print(pyramid(4))
   *
  ***
 *****
*******

✨ Features

  • Simple and clean API
  • Multiple pattern types
  • Custom characters
  • Numeric patterns
  • Hollow patterns

📦 Installation

pip install patlab

📚 Documentation

  • Getting Started
  • Pattern Guides
  • Examples

💡 Why Patlab?

Patlab helps beginners and developers:

  • Learn pattern logic
  • Avoid repetitive code
  • Quickly generate visual patterns

  • GitHub: https://github.com/sayampradhan/patlab
  • PyPI: https://pypi.org/project/patlab/