eye catching and informative seperator utilities for long shell client outputs
Project description
Seperator
Installation
for create virtualenv
python3 -m venv seperator_env
# according to used shell one of them
# source seperator_env/bin/activate.sh
# source seperator_env/bin/activate.csh
# source seperator_env/bin/activate.fish
for install it
pip install seperator
Usage Samples:
from seperator.lines import line,dateline
line()
line("Hello World")
line("Hello World",width=80)
line("Hello World",char='*')
line("Hello World",color='red')
line("Hello World",align=5)
line("Hello World",align=-5)
line("Hello World",margin=(5,5))
# you cannot additional
# info but other parameters are same with line
dateline()
────────────────────────────────────────────────────────────────────────────────
─ Hello World ──────────────────────────────────────────────────────────────────
─ Hello World ────────────────────────────────────
* Hello World ******************************************************************
─ Hello World ──────────────────────────────────────────────────────────────────
───── Hello World ──────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────── Hello World ─────
─ Hello World ──────────────────────────────────────────────────────────
─ 08 Sep 2019 10:35:04 ───────────────────────────────────────────────────────'
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
seperator-0.0.13.tar.gz
(2.7 kB
view hashes)