A small Python module for userpics creation
Project description
Userpic Generator
Getting Started
Installing
tiny-userpic can be installed using pip:
pip install tiny-userpic
Usage
To test that installation was successful, try:
python -m userpic --output img.png
tiny-userpic can be used both from the command line and as a Python library.
from userpic import make_userpic
data = make_userpic(
cells_count=7,
cell_size=32,
offset=16,
data_format="svg",
)
with open("output.svg", "wb") as file:
file.write(data)
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
tiny-userpic-0.2.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for tiny_userpic-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678db6382f31657640e6b13df88bfe102b6039145112742b153f6ac37fdf327c |
|
MD5 | 56394624a9ce783fcc8759430bf53d75 |
|
BLAKE2b-256 | 02ae3bde41375886e1a331266ccf665f4c7b6f066a6e0f1b811c1f4a46aebd3a |