This package generates various icons.
Project description
IconGenerator
IconGeneratorは、多様なスタイルのアイコンを生成できるPythonパッケージです。
GitHubのユーザアイコン風の画像も生成可能で、プロジェクトやアプリケーションのアイコン作成を手軽に行えます。
主な特徴
- 多彩なアイコンパターン生成(幾何学模様、ランダムカラーなど)
- GitHubユーザアイコン風(Identicon風)アイコン生成機能
- シンプルなAPI設計で使いやすい
インストール
pip install icon-generator
使い方
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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file icon_generator-1.0.0a0.tar.gz.
File metadata
- Download URL: icon_generator-1.0.0a0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edae983f80adb4117d85d8fa281875b220aed8f56cf46bcbd1f49747baa7b15f
|
|
| MD5 |
e9b6f4ebdb5ea2ca62c7c01dcb4573cc
|
|
| BLAKE2b-256 |
5452a2574c8a6db9dc48dd6fd13cca56aed5918f5c1b489346b4dd4e4c96e49a
|
File details
Details for the file icon_generator-1.0.0a0-py3-none-any.whl.
File metadata
- Download URL: icon_generator-1.0.0a0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21eeb0d9c4236148a340af01c41d5725031ca12dabb9f400ddf61ce47298f7f3
|
|
| MD5 |
053599d913821497373686e392f5c237
|
|
| BLAKE2b-256 |
b824b4bf3b69ae82d48fa326f4c0c05de3bfac3e26492754ad48db5fa51b00d2
|