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

Uploaded Python 3

File details

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

File metadata

  • Download URL: laser_prynter-0.5.0.tar.gz
  • Upload date:
  • Size: 15.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.5.0.tar.gz
Algorithm Hash digest
SHA256 048310131fdd5a4635e6857b1c51de4c0dbd54b3483d05adfd9894e4092b21d6
MD5 783c4704ea769c049200fb4d202cf585
BLAKE2b-256 c8445ec4f150bb86df257190d61c142ecb02e3dfd53aec7fe3a5feb9697af942

See more details on using hashes here.

File details

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

File metadata

  • Download URL: laser_prynter-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 16.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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2faef4730e925ff4fc5cfe024a7183f90483edc38a3f6ee2f48f5ee6f327f249
MD5 63af14dc53c07211a162e60ffd5c4ea7
BLAKE2b-256 f903a09b54f05b391a76495295854ad52886e2810cc5d6bdedb5c7cce3cafdca

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