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
icon_generator-1.0.0.tar.gz
(8.1 kB
view details)
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.0.tar.gz.
File metadata
- Download URL: icon_generator-1.0.0.tar.gz
- Upload date:
- Size: 8.1 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 |
5e18fa1f4a92d20f268ffa7b12d18734d9b60227e3c4c5d23487a38e121d524e
|
|
| MD5 |
522100bcfc88b86af8f8b456a4f8f015
|
|
| BLAKE2b-256 |
fac20da5f129cc20e204666d73021f883dbb84ffbb59b8ef742c6c9583cff57f
|
File details
Details for the file icon_generator-1.0.0-py3-none-any.whl.
File metadata
- Download URL: icon_generator-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.0 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 |
23e551b0ed822a90ce13f67aa2ae6649a8239dbb9347daefd4d091de3b1dff3a
|
|
| MD5 |
81ed690f81718e80c822d3a358b8badf
|
|
| BLAKE2b-256 |
3cb0769e2615280252231a78aa82ed49fb730dd6b5f074aafc61b38347ba1866
|