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

Uploaded Python 3

File details

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

File metadata

  • Download URL: laser_prynter-0.4.0.tar.gz
  • Upload date:
  • Size: 14.3 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.0.tar.gz
Algorithm Hash digest
SHA256 b992aa379722eeb36fcffec74e7a9d0e54fc85126c54612128df83923ff12609
MD5 5e3fcda98427dce987c343cc65a261d6
BLAKE2b-256 1c74efa0bcaa78ecb2b30606245c36ddfebecf06e5de6417cde1cd39bc2f6a5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laser_prynter-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bf252239bc5a7ead0cd8ac24595c228ed98d1378abeb54d2d2806bdb9510453
MD5 ee0136c9e81b4861e80adf4d1d6fbbc6
BLAKE2b-256 b14fd56df17d7f214480a2f96bc614fe1b1c1720e21f6f5ba3c278307294f56f

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