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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for laser_prynter-0.6.0.tar.gz
Algorithm Hash digest
SHA256 cbdc90f6f5446c97c5f588b97cbc6cc221d343c7be7d55bdb0ea4ee9bf30a51c
MD5 57b97f208373aae261fb4c43a5c87d0f
BLAKE2b-256 f3d28da70ef0cd74664efb6b7a521caa7917ca818535f4d3c373343e81165868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for laser_prynter-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 335c6cbea6c5d9cc9748a89c5189ef1dc8a3936f6273258cc53bf015072980ed
MD5 82a13137ea1f5a1ce3284a549c574b1c
BLAKE2b-256 beacf026d2bd792e2f37fde7168d610cff758b9f1fe3beafdfc5707fa441b099

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