GitHub stars
408
PyPI downloads / week
5.9K
Commits, last 12 months
0
Contributors
8
Last commit

Overview

diagram is an open-source terminal plotting library released under the MIT license. Its GitHub repository has 408 stars, 22 forks, and 8 contributors. It has not had a commit since Apr 12, 2022. On PyPI it is downloaded about 5.9K times per week.

Its GitHub description: Text mode diagrams using UTF-8 characters and fancy colors

Install

PyPI
pip install diagram
v0.2.28

Development activity

Commits per month to the default branch over the last 12 complete months.

01 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep Oct
01 Nov 2025 Feb 2026 May Aug
0 commits from Nov 2025 to Oct 2026.
Show data as a table
diagram commits per month
MonthCommits
Nov 20250
Dec 20250
Jan 20260
Feb 20260
Mar 20260
Apr 20260
May 20260
Jun 20260
Jul 20260
Aug 20260
Sep 20260
Oct 20260

Popularity among Terminal plotting libraries for Python

GitHub stars for diagram and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
termgraph3,302
Plotext2,216
uniplot461
diagram408

Alternatives to diagram

More comparisons: diagram vs termgraph · diagram vs Plotext · diagram vs uniplot

diagram FAQ

Is diagram open source?

Yes. diagram is released under the MIT license, and its source code is on GitHub.

Is diagram still maintained?

It appears inactive: the latest commit was on Apr 12, 2022, over a year ago. It may still work well, but expect fewer fixes and updates.

How do I install diagram?

From PyPI: pip install diagram.

What are the best alternatives to diagram?

The most popular alternatives listed in Terminal plotting libraries for Python are termgraph, Plotext, and uniplot. See the full ranking.

What language is diagram written in?

diagram is primarily written in Python, according to GitHub.

Data: GitHub API, PyPI. Updated Nov 18, 2026.