Metadata-Version: 2.4
Name: netext
Version: 0.4.0
Requires-Dist: rich>=13
Requires-Dist: networkx~=3.0
Requires-Dist: cachetools>=5.3.0
Requires-Dist: typing-extensions>=4.12.2
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: textual>=1 ; extra == 'textual'
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 allows to render graphs created with networkx and integrates well with applications that use rich to output to the terminal. All styling and formatting is done via attributes the nodes and edges of the networkx graph data structures using special attributes keys.

![](example.svg)

