Skip to main content

CFG visualization library

Project description

Python bindings for the triskel library.

Getting started

$ pip install pytriskel
from pytriskel.pytriskel import *

builder = make_layout_builder()

# Build the graph
n1 = builder.make_node("Hello")
n2 = builder.make_node("World")
builder.make_edge(n1, n2)

# Measure node size using font size
png_renderer = make_png_renderer()
builder.measure_nodes(png_renderer)

# Export an image
layout = builder.build()
layout.save(png_renderer, "out.png")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pytriskel-0.5.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl (3.9 MB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl (3.9 MB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp313-cp313t-manylinux_2_34_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp39-cp39-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp38-cp38-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.34+ x86-64

pytriskel-0.5.0-cp37-cp37m-manylinux_2_34_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.34+ x86-64

File details

Details for the file pytriskel-0.5.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1c7033b27e7c5a48e32555c5fb3eaa1e4ab96e0ce0eda355b0e72ec53a4f88f4
MD5 f97067fa1e357a70d2ef2c26c84e1da7
BLAKE2b-256 d49c4dfa3f750214c1a9c6400630fd4621fb551d03a4fed5732d4a0fb7ca7528

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 63077c217953e737d00f25907efef1c371db509ace7b64d83ef397a3ffb95be9
MD5 b3eb30693ec0fc463d9e99bd97b0f3bf
BLAKE2b-256 ff0a0cf941c9bc4f3eaca23fdd8e0617efcf2dc68d6e89b2fd172666321b543a

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp313-cp313t-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp313-cp313t-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 13ce8af52550ce27a462f1a3e294a7d1c72e76346eb31ff94e491d688c396508
MD5 fb45e2bff064e9aa581c368806f28d0c
BLAKE2b-256 84f540258ce92ae36ac23e2c6b8315e9871617550cb1efc8ee28fb538921edee

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 99da47b70d061b665a6c7869f258142c5646e5f9ab6cc8e0d8b41084d0706dfe
MD5 38bb877baf3348c2b80a567fcd6287c3
BLAKE2b-256 5db6798e9df4c71b8bd8a3a8366d695ac0cdd83aae675e7d27249430da8757e7

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7acf96ce7d0d8e6e186dcaa3ffa7fee0347a8875879e01e243f98fb2729dbf15
MD5 db32b5e0f8ae3c7124892d0b9f027a51
BLAKE2b-256 347d1e6e258962d4979e3bd0f900c4b0159089408fe30f71afab11a456e0afa6

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 09130ca32d20b9520e2ebed236790a99cced555a78a50d5a29b46ef6cecbd89c
MD5 72e019ea26f3e930581158b9f29e1f63
BLAKE2b-256 593204b6ae891f31b3f040492f02a4b7522335861b0f7b97cd8286d51fb08c2d

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7ff5c6ae174dcdf2c943b7432cfba158fb912538b02d431d67e98f0fa573c7f0
MD5 b42c14a045d595e41f3746ee9ffe443a
BLAKE2b-256 90a1614d6bd9cd8c28ca2f54de138933a6ae41a607d693b49f2a700a1cda49d3

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 efcfa0b0e631ccf15e63880863a29f90468552ed46a34f4f7d3ef5bbd0f586c7
MD5 919c769414f77886de4f43d0d8a0ac80
BLAKE2b-256 2bc3e062b4f9505dd0ee90caf6266248f9e294f956ee9d021b8777009611b806

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp38-cp38-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 847c913c8a71e3ad4c0d4d9f4a83098a213d909bd521ecb839a62061cf0f9aed
MD5 8185a7e5cb22439fc4624b81b971dd99
BLAKE2b-256 c85ccfee1c379c49dcce3861de514f979c89e1d08fe71bcf891d73f670607177

See more details on using hashes here.

File details

Details for the file pytriskel-0.5.0-cp37-cp37m-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pytriskel-0.5.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e12cce2765b381d56c2ac6456b2c405da9a888843cc2d0d79f997f16d10e2115
MD5 e325536c02ea472b87fb54aab3762847
BLAKE2b-256 2f1020ce9523286b6242477af5d086dc24f3a9296ca893104fd5d7e14857785b

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