SkillAgentSearch skills...

Prettytable

A simple Java library for easily displaying tabular data in a visually appealing ASCII table format

Install / Use

/learn @skebir/Prettytable
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PrettyTable

PrettyTable is a simple single-class Java library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables, like this:

+-----------+----------+---------------------+-------------+
| Firstname | Lastname |        Email        |    Phone    |
+-----------+----------+---------------------+-------------+
|   John    |   Doe    | johndoe@nothing.com | +2137999999 |
|   Jane    |   Doe    | janedoe@nothin.com  | +2137999999 |
+-----------+----------+---------------------+-------------+

The preceding output can be produced using the following code :

public static void main(String[] args) {
        PrettyTable table = new PrettyTable("Firstname", "Lastname", "Email", "Phone");
        table.addRow("John", "Doe", "johndoe@nothing.com", "+2137999999");
        table.addRow("Jane", "Doe", "janedoe@nothin.com", "+2137999999");
        System.out.println(table);
}

To use PrettyTable, you need to add the following dependencies to your project :

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

dependencies {
       compile 'com.github.skebir:prettytable:v1.0'
}

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated2mo ago
Forks7

Languages

Java

Security Score

95/100

Audited on Jan 20, 2026

No findings