Pocket Utils
Warning
A lot of this documentation is out of date.
Introduction / getting started
To install pocketutils and its optional packages via pip, run:
pip install pocketutils[all]
You can avoid installing some dependencies by installing only what you need. For example:
pip install pocketutils
pip install pocketutils[numeric]
The optional dependency sets are:
tools
plotting
notebooks
misc
You can import the most general-purpose parts of pocketutils like this:
from pocketutils.full import *
print(Tools)
This will load:
Tools
, containing various utility functionsChars
, containing common Unicode charactersabcd
, containing decorators~10 miscellaneous classes, such as
SmartEnum
a collection of exceptions such as
MultipleMatchesError
andDataWarning
numpy as
np
and pandas aspd