Skip to main content

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


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-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icon_generator-0.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file icon_generator-0.1.0.tar.gz.

File metadata

  • Download URL: icon_generator-0.1.0.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

Hashes for icon_generator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 94dec7c9280db701e0493d637b6a39e476dfbb7849a345232d9664b873cf760a
MD5 75ae229fa33da9f056e9d759e45a9c49
BLAKE2b-256 104f6a855d9ca1ba4b73ab8d87585ed8567c080f483c0f707598fa22a626a755

See more details on using hashes here.

File details

Details for the file icon_generator-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: icon_generator-0.1.0-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

Hashes for icon_generator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9068b83668641d087789afee026761ce457501a2594f3df89e1a74734b6e94cd
MD5 0070001d886b990c646c557f7d3617bd
BLAKE2b-256 0235c82a9440d2e436e47c6d58c289408fb4854282c0f89eb8bd50fb61b380d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page