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.4.2.tar.gz (14.4 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.4.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for laser_prynter-0.4.2.tar.gz
Algorithm Hash digest
SHA256 72e093ec6943d50448d2b2bce6a6b8021cbb914b20553670cd37d757de3c63a4
MD5 3ef0cc3ae8b38f5a87fa33f63cb03c95
BLAKE2b-256 b033e6e8cf0993923dbcd4481210577d35640e90a71f72c333fbb6377b9e7ad0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for laser_prynter-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7393f7da24e922cc34ba66ca00beb3e770a6fb2bc4cc15f9daf6c546da9c8ca4
MD5 ea74cca53d49ccb11c8be4b523e77d09
BLAKE2b-256 5e399252f5f9b200a1d788736e12281fb9348bcfdf803a46f1760285726bcea0

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