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.1.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.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: laser_prynter-0.4.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for laser_prynter-0.4.1.tar.gz
Algorithm Hash digest
SHA256 866c00734fd3616292496b803507ddf41ce7fccb9462a12dcee9989ddc2318dc
MD5 506eedb64cf64bf0b8c404d608ca90ef
BLAKE2b-256 4c803005cdf114cb4bf5c81c7b606e4ffe5e189ad25dcff87f6ddf0209b01a6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laser_prynter-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for laser_prynter-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ddf23b8fdd7a1f8452906e30d205040718001805082ff2e2867d89e2c70dce
MD5 bf6c622735f55de3d72156f9f2253f00
BLAKE2b-256 11905d2c0bab43037cce0f66eb146d895899035bbf2c1e9188fb66ac548f996b

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