A lightweight ASCII art library by Deepinder Singh.
Project description
hammer-patterns is a lightweight ASCII art library created, owned, and maintained by Deepinder Singh. It provides a collection of simple and clean terminal-based patterns such as stars, squares, diamonds, arrows, hammers, and other basic shapes.
The library has no external dependencies and works on all major operating systems. It is suitable for students, beginners, hobby programmers, and anyone who wants to print ASCII patterns using Python.
nstallation
Install from PyPI:
pip install hammer-patterns
Upgrade to the latest version:
pip install --upgrade hammer-patterns --no-cache-dir
Usage Example import hammer_patterns as hp
hp.c_star() hp.c_square() hp.c_diamond() hp.c_arrow() hp.c_hammer()
Each function prints a pattern directly in the terminal.
Features
Easy to use
Pure Python, no dependencies
Clean and readable ASCII output
Multiple terminal patterns included
Maintained with frequent updates
Provided Patterns
These are some of the patterns available in the package:
Star shapes
Square and box patterns
Diamond shapes
Arrow patterns
Hammer pattern
Other simple geometric and line-based patterns
More patterns are added over time.
Author
This package is created, owned, and maintained by:
Deepinder Singh Email: deepindersingh.ac@gmail.com
License
This package uses the Creative Commons Attribution-NoDerivatives 4.0 International License (CC BY-ND 4.0).
You are allowed to:
Share and redistribute the package as it is
Use it for personal or commercial work
You are not allowed to:
Modify the package
Upload modified versions
Change or adapt the source code and redistribute it
Full license text: https://creativecommons.org/licenses/by-nd/4.0/
Project Status
This project is actively maintained and updated with new patterns and improvements.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hammer_patterns-0.1.12.tar.gz.
File metadata
- Download URL: hammer_patterns-0.1.12.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e99c271477ca98eb31b76676fe217435c1ea700874d6e150e19b76f3ada1e4d9
|
|
| MD5 |
2c31b3084297eed66c45de8c22c17cd8
|
|
| BLAKE2b-256 |
8a5d9cfd82c8bb5db76f4ec721acf03d9e44239c597d8619086f269e39d70293
|
File details
Details for the file hammer_patterns-0.1.12-py3-none-any.whl.
File metadata
- Download URL: hammer_patterns-0.1.12-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbb4ba5f340b05626b6429db5773c8693018f40300c1e03b57308ca147ad0ac2
|
|
| MD5 |
a2d91931168b9b55dafbcc8a2bd98c1a
|
|
| BLAKE2b-256 |
50aa7d703e1a8c5c1103f66476071748f9e011f192c68ba131bedcd5717a9097
|