Skip to main content

terminal/cli/python helpers for colour and pretty-printing

Project description

laser-prynter

terminal/cli/python helpers for colour and pretty-printing


laser_prynter

https://github.com/user-attachments/assets/cce8f690-e411-459f-a04f-8e9bef533e4a


pbar

https://github.com/user-attachments/assets/8a2c2d99-1a11-4f9f-ac6a-8153f67e21c3

from laser_prynter import pbar
with pbar(100) as bar:
    for i in range(100):
        # do something
        bar.update()

bench

https://github.com/user-attachments/assets/4af823b0-8d18-4086-9754-c76c65b66898

from laser_prynter import bench

bench.bench(
    tests=[
        (
            (range(2),), # args
            {},          # kwargs
            [0,1],       # expected
        )
    ],
    func_groups=[ [list] ],
    n=100
)

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

laser_prynter-0.3.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

laser_prynter-0.3.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file laser_prynter-0.3.0.tar.gz.

File metadata

  • Download URL: laser_prynter-0.3.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for laser_prynter-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6f8a7d044c727b77841f7ae43d36eaba8d87983736b2dbb30374824eaf035ce4
MD5 8b79718af32fbb85f99f3ecb060f3716
BLAKE2b-256 3af3ea872e5905e806902a7cc4adc529a409cf15d92251344153a3091a9813ce

See more details on using hashes here.

File details

Details for the file laser_prynter-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: laser_prynter-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for laser_prynter-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed475d51d66703e974d99af5f00667764ad879b8414920abe1bd2a106d5c41d4
MD5 8c311e017fb84db07631cee2b9df451c
BLAKE2b-256 044b78f2bb930f3b4a4721f9ea9840cb9dba0d995440ed53d26a3c31a358eebe

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