Skip to main content

Graphviz utility functions.

Latest release 20220805: Initial PyPI release.

See also the [https://www.graphviz.org/documentation/](graphviz documentation) and particularly the [https://graphviz.org/doc/info/lang.html](DOT language specification) and the [https://www.graphviz.org/doc/info/command.html](dot command line tool).

Function gvprint(dot_s, file=None, fmt=None, layout=None, **dot_kw)

Print the graph specified by dot_s, a graph in graphViz DOT syntax, to file (default sys.stdout) in format fmt using the engine specified by layout (default 'dot').

If fmt is unspecified it defaults to 'png' unless file is a terminal in which case it defaults to 'sixel'.

This uses the graphviz utility dot to draw graphs. If printing in SIXEL format the img2sixel utility is required, see https://saitoha.github.io/libsixel/.

Function quote(s)

Quote a string for use in DOT syntax. This implementation passes identifiers and sequences of decimal numerals through unchanged and double quotes other strings.

Release Log

Release 20220805: Initial PyPI release.

Release files for cs-gvutils 20220805

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

Source distribution (sdist)

Source distribution for cs-gvutils 20220805
File Size Uploaded
cs.gvutils-20220805.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cs-gvutils 20220805
File Interpreter ABI Platform
cs.gvutils-20220805-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / cs.gvutils-20220805.tar.gz

Download URL cs.gvutils-20220805.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
490008c78ad0870f3f1646d589c87f83a65c5847af6fcd7a371cb7f51e04365b
BLAKE2b-256 checksum
How to use checksums
34c1ec6e4266a127481e19de837d6e39e63a498939f9fa96f76971b572af0ab2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.1 readme-renderer/30.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.3.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.13

Release files / cs.gvutils-20220805-py3-none-any.whl

Download URL cs.gvutils-20220805-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7adadd30aeeda5187486cacf9da0b37d0f3939a4abecded6eb75551d02040f51
BLAKE2b-256 checksum
How to use checksums
d07466c162addb7d1b67ce0c380d4f6e6b015600d6a59fa9da63469510204ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.1 readme-renderer/30.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.3.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.13

Release history Release notifications | RSS feed

This release

20220805 This release

2 release files

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