Share your repls and programming experiences

← Back to all posts
Handy dandy: A few handy tools for your python program!
isaiah08 (86)

Handy dandy is a python package I made that helps you in your python programing. Note that on replit, auto import does not work for this, so you need to install it through the packages sidebar or the shell.
Here's a full tutorial on it's features:

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)


Records how long a function takes to run.

from handy_dandy import timer

def foo():


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


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.clicks()
{'f': 1, 's': 0}
>>> x.clicks()
{'f': 2, 's': 1}


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)
    Have fun!