Metadata-Version: 2.4
Name: netext
Version: 0.5.0
Requires-Dist: rich>=13
Requires-Dist: cachetools>=5.3.0
Requires-Dist: typing-extensions>=4.12.2
Requires-Dist: textual>=1 ; extra == 'all'
Requires-Dist: networkx~=3.0 ; extra == 'all'
Requires-Dist: networkx~=3.0 ; extra == 'networkx'
Requires-Dist: pytest>=8.0.0 ; extra == 'test'
Requires-Dist: syrupy>=4.0.1 ; extra == 'test'
Requires-Dist: jinja2>=3.1.2 ; extra == 'test'
Requires-Dist: pytest-cov>=3.0.0 ; extra == 'test'
Requires-Dist: coverage[toml]>=6.4.2 ; extra == 'test'
Requires-Dist: pytest-asyncio>=0.21.1 ; extra == 'test'
Requires-Dist: importlib-metadata>=8.5.0 ; extra == 'test'
Requires-Dist: pytest-benchmark>=3.4.1 ; extra == 'test'
Requires-Dist: networkx~=3.0 ; extra == 'test'
Requires-Dist: textual>=1 ; extra == 'textual'
Provides-Extra: all
Provides-Extra: networkx
Provides-Extra: test
Provides-Extra: textual
License-File: LICENSE
Summary: A graph (network) rendering library for the terminal.
Keywords: network,graph,terminal,rich
Author-email: Malte Klemm <me@malteklemm.de>
License: MIT Licence
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://mahrz24.github.io/netext/
Project-URL: Source code, https://github.com/mahrz24/netext

# netext

[![pypi](https://img.shields.io/pypi/v/netext.svg)](https://pypi.python.org/pypi/netext)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python Version](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/)
[![Documentation](https://img.shields.io/badge/documentation-latest-green)](https://mahrz24.github.io/netext/)

![](logo.jpg)

Netext is a graph (network) rendering library for the terminal. It uses the awesome [rich](https://rich.readthedocs.io/en/stable/introduction.html) library to format output and can use different layout engines to place nodes and edges. The library has a very simple API that can render graphs from plain node and edge data, and it integrates well with applications that use rich to output to the terminal. Optional networkx support is available via `netext[networkx]` for applications that already use networkx graphs. All styling and formatting is done via special attribute keys on node and edge data.

![](example.svg)

