Metadata-Version: 2.3
Name: icon-generator
Version: 1.0.0a0
Summary: This package generates various icons.
License: MIT License
         
         Copyright (c) 2025 kazuma tunomori
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Author: pochimoritaro
Author-email: pochimoritaro@gmail.com
Requires-Python: >=3.12
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: numpy (>=2.1.3)
Requires-Dist: pillow (>=11.1.0)
Description-Content-Type: text/markdown

# IconGenerator

IconGeneratorは、多様なスタイルのアイコンを生成できるPythonパッケージです。  
GitHubのユーザアイコン風の画像も生成可能で、プロジェクトやアプリケーションのアイコン作成を手軽に行えます。

---

## 主な特徴

- 多彩なアイコンパターン生成（幾何学模様、ランダムカラーなど）  
- GitHubユーザアイコン風（Identicon風）アイコン生成機能  
- シンプルなAPI設計で使いやすい

---

## インストール

```bash
pip install icon-generator
```

---

## 使い方

```python
import uuid
from icon_generator import GitIconGenerator

unique_id = uuid.uuid4()
generator = GitIconGenerator(unique_id)
img_io = generator.generate_on_memory()

# バイナリデータとして取得
png_binary = img_io.getvalue()

# ファイルに書き込み
with open("icon.png", "wb") as f:
    f.write(png_binary)

```
