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 details)
Built Distribution
File details
Details for the file tiny-userpic-0.2.0.tar.gz
.
File metadata
- Download URL: tiny-userpic-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.13 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da437267379beac5da1c352f063fa30a2ffb210e47dbd270cffd06e172f9e316 |
|
MD5 | cfc2bfdb1111ffc70e6708065b376dbb |
|
BLAKE2b-256 | 78691ac8cd7ed6b0dbfd99305c53365d1759952cfc6751daab97356f372688eb |
Provenance
File details
Details for the file tiny_userpic-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: tiny_userpic-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.13 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678db6382f31657640e6b13df88bfe102b6039145112742b153f6ac37fdf327c |
|
MD5 | 56394624a9ce783fcc8759430bf53d75 |
|
BLAKE2b-256 | 02ae3bde41375886e1a331266ccf665f4c7b6f066a6e0f1b811c1f4a46aebd3a |