Skip to main content

Introduction

"pyCliTable" is a Python package designed to simplify the display of data in a tabular format within the command-line interface (CLI). This package offers an intuitive and user-friendly way to present structured data, making it easy for developers and users to visualize information neatly organized into rows and columns. With customizable styling options, "pyCliTable" streamlines the process of creating tables, enhancing the readability and presentation of data for CLI applications.

Additionally, the intelligent algorithm within pyCliTable detects missing data within a specific row and seamlessly replaces it with *****, ensuring a continuous, polished presentation of your data. This feature seamlessly integrates into its functionality, allowing pyCliTable to maintain its magic throughout.

pyCliTable image example.

Installation:

pip install pyCliTable Or see https://pypi.org/project/pyCliTable/

Example:

from pyclitable import pyCliTable

data = [
    {
        "ID": ["1", "2", "3"]
    },
    {
        "NAME": ["John", "Doe", "Quick"]
    },
    {
        "LOCATION": ["Foobar Foobar Foobar", "Foobar Foobar", "Foobar"]
    },
    {
        "INTRODUCTION": [
            "Hello! My name is John Doe and I'm from the bustling city of New York.",
            "I have a passion for technology and enjoy exploring the diverse cultures that thrive in this vibrant city.",
            "As a software engineer, I'm dedicated to creating innovative solutions that impact people's lives positively."
        ]
    }
]

config = ["Green", "italic"]
header_config = ["bold", "red"]

result = pyCliTable.table(data=data, config=config, table_color="red", header_config=header_config, word_space=1)

print(result)

The following are the valid values for config and and header_config arguments.

config = ["red", "green", "yellow", "blue", "magenta", "cyan", "white", "underline", "bold", "italy"]

Metadata

Release files for pyCliTable 0.0.7

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

Source distribution (sdist)

Source distribution for pyCliTable 0.0.7
File Size Uploaded Provenance Actions
pyclitable-0.0.7.tar.gz 335.6 kB Without provenance Details for pyclitable-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyCliTable 0.0.7
File Interpreter ABI Platform Actions
pyclitable-0.0.7-py2.py3-none-any.whl Python 3, Python 2 none any Details for pyclitable-0.0.7-py2.py3-none-any.whl

Total release size: 342.5 kB

Release files / pyclitable-0.0.7.tar.gz

Download URL pyclitable-0.0.7.tar.gz
Size 335.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8250a2ed097db0bbade4513c44b4224d38744ba91e81bc1b65d2ed2c567854c1
BLAKE2b-256 checksum
How to use checksums
b95a3e2178801544b6f7f77c0eb347087459ed89a06797abfc3367abf8af1d2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.3 cpython/3.14.2 HTTPX/0.28.1

Release files / pyclitable-0.0.7-py2.py3-none-any.whl

Download URL pyclitable-0.0.7-py2.py3-none-any.whl
Size 6.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
833c53e972212b852f7c8b0a8ef58bbb9d635b2e0e5f1f2dadeb214596ff9bcf
BLAKE2b-256 checksum
How to use checksums
8877a46a9a6430893197d7f016a30878a5df0099226f5826f6a01c767c88c3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.3 cpython/3.14.2 HTTPX/0.28.1

Security for pyCliTable 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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