Skip to main content

importするだけでGraphvizを日本語対応にするパッケージ

Project description

japanize-graphviz

importするだけでGraphvizを日本語対応にします。

インストール

pip install japanize-graphviz

使い方

import japanize_graphviz  # これだけ
from graphviz import Digraph

dot = Digraph()
dot.node('A', 'データ取得')
dot.node('B', '前処理')
dot.edge('A', 'B', label='生データ')
dot

使用フォントの確認

import japanize_graphviz
print(japanize_graphviz.current_font())

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

japanize_graphviz-0.1.0.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

japanize_graphviz-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: japanize_graphviz-0.1.0.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for japanize_graphviz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4df063464fef9f7a18da32dfc788764d1eff52b16a49f6bbcc5af44343bbf85a
MD5 69a232d5c4914beda1300d7ac550f0d8
BLAKE2b-256 e9782c466acf9ff7b296727899f74f7e37d6dab3317aaf848d81404d442423e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for japanize_graphviz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 445a0d48e0150b3789da8115c594b7b314f67993b6fb4b342d57c70f21ac6e9a
MD5 4f37d2465c1647d6514e5c405174560b
BLAKE2b-256 fd1aff8367ab6cdce6a96b33007721fbe639821aa3dbe7d5ee57d46e4cf56ade

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