Skip to main content

Yantra Patterns

A Python package for generating yantras with Sinhala and English text.

Installation

Install using pip after building the package:

pip install yantra_patterns

Usage

Sinhala Yantra

from yantra_patterns import sinhala

sinhala.protactive_yantra("sinhala_yantra.png")

sinhala

English Yantra

from yantra_patterns import english

english.protactive_yantra("english_yantra.png")

english

Features

  • Generates protective yantra patterns
  • Supports Sinhala and English text
  • Uses Pillow (PIL) for image generation
  • Includes custom fonts for Sinhala text

Requirements

  • Python 3.6+
  • Pillow
  • numpy

Metadata

Release files for yantra-patterns 1.0.2

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

Source distribution (sdist)

Source distribution for yantra-patterns 1.0.2
File Size Uploaded
yantra_patterns-1.0.2.tar.gz 312.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yantra-patterns 1.0.2
File Interpreter ABI Platform
yantra_patterns-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 624.7 kB

Release files / yantra_patterns-1.0.2.tar.gz

Download URL yantra_patterns-1.0.2.tar.gz
Size 312.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f5e1e97aeacacc2be2d75cd7bac984da01dae5ba10c1555c68d3e7a240b5c277
BLAKE2b-256 checksum
How to use checksums
88e879605108361d7b28fc157c4552a37750ec7faa758b13a5e68e805fda51c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / yantra_patterns-1.0.2-py3-none-any.whl

Download URL yantra_patterns-1.0.2-py3-none-any.whl
Size 312.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
131f3feb2ede6184ca1ffe75db4cc1cd09f892d937f2a57e78184992a80c3f74
BLAKE2b-256 checksum
How to use checksums
cd004e2f99eb920e9eda708d6258cfe21b7a048faba0d0138631a82d0298ab89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

0.0.1

1 release file

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