Metadata-Version: 2.1
Name: tiny-userpic
Version: 0.2.0
Summary: A small Python module for userpics creation
Home-page: https://github.com/shpaker/tiny-userpic
Author: Aleksandr Shpak
Author-email: shpaker@gmail.com
Requires-Python: >=3.7.2,<4.0.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Provides-Extra: cairo
Requires-Dist: CairoSVG (>=2.5.2,<3.0.0); extra == "cairo"
Requires-Dist: click (>=8.1.3,<9.0.0)
Project-URL: Repository, https://github.com/shpaker/tiny-userpic
Description-Content-Type: text/markdown

# Userpic Generator

[![PyPI version](https://badge.fury.io/py/tiny-userpic.svg)](https://pypi.org/project/tiny-userpic/)

## Getting Started

## Installing

tiny-userpic can be installed using pip:

```bash
pip install tiny-userpic
```

## Usage

To test that installation was successful, try:

```bash
python -m userpic --output img.png
```

tiny-userpic can be used both from the command line and as a Python library.

```python
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)
```

