A library of ready-to-go Python formulas


Keywords
python, formulas, recipes, cookbook, lazy, easy, quick, shortcut
Install
pip install pyformulas==0.2.11

Documentation

pyformulas

A library of ready-to-go Python formulas

Accepting new formulas (upon approval) from all contributors


Formulas:

  • pf.thread()

Runs a function in a separate thread

  • pf.screen()

Displays a dynamic NumPy canvas in a multi-threaded window

  • pf.plot()

Plots a graph (using Matplotlib as backend)

  • pf.audio.play()

Plays a PCM audio stream (e.g. a bytearray, numpy array, etc)

  • pf.settimeout()

Runs a function at a specified interval, in separate threads

  • pf.download()

Downloads a file from a web address

  • pf.net.Stream

Creates a versatile TCP network stream