Skip to main content

Structured cli output — beautifully, simply, and dependency-free

Project description

outlify header

Structured cli output — beautifully, simply, and dependency-free.

OverviewInstallUsageComponentsLicense

outlify footer

PyPI PyPI - Python Version Build Repo Size ruff uv

Overview

Outlify is designed with a focus on streamlined log output, making it perfect for cli tools. It emphasizes lightweight operation and minimal dependencies, ensuring smooth integration into any project. The second key aspect of Outlify is its beautiful and user-friendly log formatting, designed to enhance readability and provide a pleasant experience for developers and their users.

Install

Outlify is available as a Python package and can be easily installed via pip from PyPI.

To install, simply run the following command:

pip install outlify

This will automatically install the latest version of Outlify.

Usage

You can view demos of any available modules by running the following command:

python -m outlify.module_name

For example, to view the demo for the Panel module:

python -m outlify.panel

Components

Outlify provides simple, elegant components for clean and structured CLI output — with zero dependencies. They help organize information clearly and improve log readability.

Each component is easy to use and comes with built-in demos. See below for examples and usage.

Static

Panels

To highlight important text by displaying it within a panel, use Panel. Here's how:

from outlify.panel import Panel

print(Panel('A very important text', title='Warning'))

To display parameters in a structured format, use the ParamsPanel:

from outlify.panel import ParamsPanel

parameters = {'parameter1': 'value1', 'parameter2': 'value2'}
print(ParamsPanel(parameters, title='Startup Parameters'))

For more details on how to use Panels, see Panels

Lists

If you need a simple titled list in structured output, use TitledList:

from outlify.list import TitledList

packages = ['first', 'second', 'third']
print(TitledList(packages))

For more details on how to use Lists, see Lists

Styles

To styling text and Outlify elements, use Colors and Styles:

from outlify.style import Colors, Styles

print(f'{Colors.red}{Styles.bold}text')

For more details on how to use Style, see Style

Decorators

You can also use Outlify's utility Decorators

import time
from outlify.decorators import timer

@timer()
def dummy():
    time.sleep(1)

dummy()

For more details on how to use Style, see Decorators

License

Licensed under the MIT License, Copyright (c) 2025 Vladislav Kishkin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

outlify-0.10.1.tar.gz (65.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

outlify-0.10.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file outlify-0.10.1.tar.gz.

File metadata

  • Download URL: outlify-0.10.1.tar.gz
  • Upload date:
  • Size: 65.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for outlify-0.10.1.tar.gz
Algorithm Hash digest
SHA256 d5d7a0c2bc1b69cfd4dd3a3cf8d5edaf27b35040d9a9a1ecb2b193aa5d33eb1a
MD5 52ee41059e96b7b5ac2272929f971958
BLAKE2b-256 ae43b7b49646c2349e8e8d3e5a62f25e997f8857e9b4daa15b26c1620b26f455

See more details on using hashes here.

Provenance

The following attestation bundles were made for outlify-0.10.1.tar.gz:

Publisher: release.yaml on k1shk1n/outlify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file outlify-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: outlify-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for outlify-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a82e1860500c2e3f2c8072fa4f9fa9e0ab927b95607b2b33098c6012cd25d3d
MD5 a84837e4b17a3d8fe33c4157d2a25de2
BLAKE2b-256 88d92e0b3125f6331ab3b7724cb98454f97fe4b35a638ae7d15927ba9d5f936e

See more details on using hashes here.

Provenance

The following attestation bundles were made for outlify-0.10.1-py3-none-any.whl:

Publisher: release.yaml on k1shk1n/outlify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page