Skip to main content

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)

Metadata

Release files for icon-generator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icon-generator 1.0.0
File Size Uploaded Provenance Actions
icon_generator-1.0.0.tar.gz 8.1 kB Without provenance Details for icon_generator-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for icon-generator 1.0.0
File Interpreter ABI Platform Actions
icon_generator-1.0.0-py3-none-any.whl Python 3 none any Details for icon_generator-1.0.0-py3-none-any.whl

Total release size: 22.1 kB

Release files / icon_generator-1.0.0.tar.gz

Download URL icon_generator-1.0.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5e18fa1f4a92d20f268ffa7b12d18734d9b60227e3c4c5d23487a38e121d524e
BLAKE2b-256 checksum
How to use checksums
fac20da5f129cc20e204666d73021f883dbb84ffbb59b8ef742c6c9583cff57f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

Release files / icon_generator-1.0.0-py3-none-any.whl

Download URL icon_generator-1.0.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23e551b0ed822a90ce13f67aa2ae6649a8239dbb9347daefd4d091de3b1dff3a
BLAKE2b-256 checksum
How to use checksums
3cb0769e2615280252231a78aa82ed49fb730dd6b5f074aafc61b38347ba1866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

Security for icon-generator 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page