Skip to main content

Handy Dandy

A collection of handy programs for your python project.

Output validator

Handy dandy's validate decorator can make sure that functions return the type that you want them to.

from handy_dandy import validator as val

@val.string # expecting function to return string
def foo(x):
	return x

y = foo(5)

Timer

Records how long a function takes to run.

from handy_dandy import timer

@timer
def foo():
	pass

System

system function. Returns the computer's os (win32, win64, mac, linux).

Recorder

Records the amount of times it has been ran. This can be helpful when you want to see how many times multiple functions have been ran durring the program.

>>> from handy_dandy import Recorder
>>> x = Recorder('f', 's')
>>> x.click('f')
1
>>> x.clicks()
{'f': 1, 's': 0}
>>> x.click()
>>> x.clicks()
{'f': 2, 's': 1}

Design

I made a bunch of text design programs for this package, inspired by this. They're really self-explanitory, so i'll just give a list of the function names:

  • scroll_clear()
  • underline(text, color='white')
  • bold(text, color='white')
  • italic(text, color='white)
  • color(text, color)
  • ascii(text)p

Release files for handy-dandy 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for handy-dandy 0.1.3
File Size Uploaded
handy-dandy-0.1.3.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for handy-dandy 0.1.3
File Interpreter ABI Platform
handy_dandy-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / handy-dandy-0.1.3.tar.gz

Download URL handy-dandy-0.1.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b5adca1e5ff5d1ef65ffed50618c0b62bbded0406c1f0c06f5d4a0e6437f76c9
BLAKE2b-256 checksum
How to use checksums
01db0018c01a828783e1bb4b9bd2d3ff28b59bcae1eadcbec40abba026fd0ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.10 Linux/5.8.0-1035-gcp

Release files / handy_dandy-0.1.3-py3-none-any.whl

Download URL handy_dandy-0.1.3-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33cb681ff5da8ca89ad5370afdcbbf4ce01208e7393e9b5e8208824310cc45de
BLAKE2b-256 checksum
How to use checksums
b95472008b4ea951ee2ef45ec930fb50dacbfa84b6b7d459d2dcc1d48993c6e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.10 Linux/5.8.0-1035-gcp

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page