Skip to main content

A small Python module for userpics creation

Project description

Userpic Generator

PyPI version

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


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)

Uploaded Source

Built Distribution

tiny_userpic-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for tiny-userpic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 da437267379beac5da1c352f063fa30a2ffb210e47dbd270cffd06e172f9e316
MD5 cfc2bfdb1111ffc70e6708065b376dbb
BLAKE2b-256 78691ac8cd7ed6b0dbfd99305c53365d1759952cfc6751daab97356f372688eb

See more details on using hashes here.

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

Hashes for tiny_userpic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 678db6382f31657640e6b13df88bfe102b6039145112742b153f6ac37fdf327c
MD5 56394624a9ce783fcc8759430bf53d75
BLAKE2b-256 02ae3bde41375886e1a331266ccf665f4c7b6f066a6e0f1b811c1f4a46aebd3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page