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 details)
File details
Details for the file seperator-0.0.13.tar.gz
.
File metadata
- Download URL: seperator-0.0.13.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b502de5347db9dccf18a8f6e54df6b1dde2b8658a6ffc2c3702c08283fdddc5a |
|
MD5 | 6b666a63aa49568b3ae77318131716ac |
|
BLAKE2b-256 | c2fe0332b24f1aa88a63c8661d786b634f8b67b1ef686a7e8b823a4bf22ac816 |