Skip to main content

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

Project description

laser-prynter

GitHub Actions Workflow Status PyPI - Version

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.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.8.0.tar.gz (15.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.8.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: laser_prynter-0.8.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.9

File hashes

Hashes for laser_prynter-0.8.0.tar.gz
Algorithm Hash digest
SHA256 ad7d1fca20235418ddce4bbadcac7b28dca6de506111ff4ab4387ff9782e3e71
MD5 3ee1bf5ea0f444fab6a641e709828ac8
BLAKE2b-256 8e8ce2683a8836ea9a0bb04f025356c1a81100ea9ae3456a96c9f923bfe352ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for laser_prynter-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 375193f5fc98cd9498278be147b7526c1dd20cc665af5e9111d0ede1cf0ac14a
MD5 77f4b451986c8fcf062920a2013636dc
BLAKE2b-256 491b75385c81ec2a905ac46ec9402f2122ae2dc382f10cbae3fc4a150fab42ad

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