pretty text for command line
Project description
palett
pretty text for command line
Usage
from palett.fluo.fluo_vector import fluo_vector
from palett.presets import FRESH, PLANET
vectorCollection = [
[],
['Xx', 'Yy', 'Zz', 'e', 'd', 'c', '-', '1', 2, 3],
[1, 1, 2, 3, 5, []],
['a', 'b', 'c', 'd', 'e'],
['beijing', 'shanghai', 'wuhan', 'xiamen', 'changsha']
]
def test():
COMMA_SPACE = ', '
for vec in vectorCollection:
fluoed = fluo_vector(vec, (FRESH, PLANET))
print(f'[{COMMA_SPACE.join(fluoed)}]')
test()
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
palett-0.0.18.tar.gz
(36.7 kB
view hashes)
Built Distribution
palett-0.0.18-py3-none-any.whl
(36.5 kB
view hashes)