Bars generator
Project description
rectify
rectify is a tiny Python package whose sole purpose of life is generating
randomized images with colorful bars on a single-color background. Making,
displaying and saving a picture like the one on the top of this page is as
simple as:
from rectify.image import generate, save
picture = generate(900, 30, background=(30, 30, 30), colors='pastel')
picture.show()
save(picture, 'bars.png')
Or from the command line:
$ rectify -x 900 -y 30 -b '(30,30,30)' -c pastel -o 'bars.png' --show
Full documentation is available at jenx.gitlab.io/rectify.
Project details
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 rectify-2.2.tar.gz.
File metadata
- Download URL: rectify-2.2.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cd9720c0ffcfcb4bb7853722808a65c7dfec566cfe0378c785a68a0087f7e6e
|
|
| MD5 |
8322a9b7da21feda9f8617ecf3415525
|
|
| BLAKE2b-256 |
e060398adffedc6cb9836487327411118af609b9dd943e349ada146c141a51a6
|
File details
Details for the file rectify-2.2-py3-none-any.whl.
File metadata
- Download URL: rectify-2.2-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e20956da2035a3af3f815b09efbd2e888f5ed175021b7b56ad53f062dc450774
|
|
| MD5 |
6e140aa77da9eb5f79f65e5d7434ec8b
|
|
| BLAKE2b-256 |
c3d4fb6e80a6ef9420aa95c5f584322a2ea5141e983a56ff665ff73020e67b5c
|