Skip to main content

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


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 details)

Uploaded Source

Built Distribution

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

palett-0.0.18-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file palett-0.0.18.tar.gz.

File metadata

  • Download URL: palett-0.0.18.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.11.0-25-generic

File hashes

Hashes for palett-0.0.18.tar.gz
Algorithm Hash digest
SHA256 711f6fd6a994153b2cd44956f62d207ea25e86fd5af4cd92d5991ff2ccf9d615
MD5 ecc1ac600eb64fcb32e74b5d4978e465
BLAKE2b-256 1ffb6ee4b0be4ba099e81a6a0a1eaf0f6416ed690c8d030d07170ec4387e8a16

See more details on using hashes here.

File details

Details for the file palett-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: palett-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.11.0-25-generic

File hashes

Hashes for palett-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 8734ca0ca50e12a8f324fadf988048391dc00b764a2c2e7d6e1e6f0a2c27fe77
MD5 1bbd12feec02723fcd34ec875ba5b7f5
BLAKE2b-256 c92a777169deadab8abb8709fdd5e8f0d9f69d314cc46a5e5228d1bed7677a63

See more details on using hashes here.

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