Structured cli output — beautifully, simply, and dependency-free
Project description
Structured cli output — beautifully, simply, and dependency-free.
Overview • Install • Usage • Components • License
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file outlify-0.7.0.tar.gz.
File metadata
- Download URL: outlify-0.7.0.tar.gz
- Upload date:
- Size: 63.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee4b4605e4d6e8243cbc8597a36443edd67997c2c83ef7affaa29b44d3d3d44
|
|
| MD5 |
b637003df9b6c445dde9e7a61623d931
|
|
| BLAKE2b-256 |
9c6e939a35275ec9a72561a3a4a65e2c0a65b8d678278912c2ff1dfba4b415a5
|
Provenance
The following attestation bundles were made for outlify-0.7.0.tar.gz:
Publisher:
release.yaml on k1shk1n/outlify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
outlify-0.7.0.tar.gz -
Subject digest:
cee4b4605e4d6e8243cbc8597a36443edd67997c2c83ef7affaa29b44d3d3d44 - Sigstore transparency entry: 256843715
- Sigstore integration time:
-
Permalink:
k1shk1n/outlify@8ac395d2488a9c745dea25a0368ac7f981af797c -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/k1shk1n
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@8ac395d2488a9c745dea25a0368ac7f981af797c -
Trigger Event:
push
-
Statement type:
File details
Details for the file outlify-0.7.0-py3-none-any.whl.
File metadata
- Download URL: outlify-0.7.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46b5f08e8404b0528f7c0622c5918e17f588956101bab22806742182bce65064
|
|
| MD5 |
ff2d45e5c20e717eebebea80c56cf029
|
|
| BLAKE2b-256 |
4a2bf18a8dda786ed4cf0154a7865e362879a23040ff4d2b6860da8c2d25619c
|
Provenance
The following attestation bundles were made for outlify-0.7.0-py3-none-any.whl:
Publisher:
release.yaml on k1shk1n/outlify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
outlify-0.7.0-py3-none-any.whl -
Subject digest:
46b5f08e8404b0528f7c0622c5918e17f588956101bab22806742182bce65064 - Sigstore transparency entry: 256843728
- Sigstore integration time:
-
Permalink:
k1shk1n/outlify@8ac395d2488a9c745dea25a0368ac7f981af797c -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/k1shk1n
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@8ac395d2488a9c745dea25a0368ac7f981af797c -
Trigger Event:
push
-
Statement type: