vistutils provides helpful utility functions
Project description
vistutils
vistutils is a collection of modules providing helpful utility functions. The latest release includes the following functions:
Installation
You can find the latest version on pypi: https://pypi.org/project/vistutils/ To install, simply run:
pip install vistutils
waila - what am I looking at?
Instead of writing something like:
for item in dir(obj):
print(item)
Simply use waila(obj)! This prints the name of each entry like above including the documentation associated with the object. waila supports the following keyword arguments
Prints the contents found (default True)
dunder
Includes dunder methods of the objects (default False)
magic
alias for dunder (default False)
getReturn
if True, waila(obj) returns items as a list of dictionaries with keys: 'name', 'type' and 'help' (default False)
fid
saves the results to a text file of this name.
save
if True, saves results to textfile, ignored if fid is given, otherwise a filename is generated, which includes the name of the object and the time of save. (default False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for vistutils-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b1ed900050576b62f4befb9ab5833f42ae580d96c04eae6e07aa1aec738c19 |
|
MD5 | 622bc533a0566871a3a7bb65026137e8 |
|
BLAKE2b-256 | d9510650ade96dc31360f27393e28d9e53840d200454cecf5c7039d37749d5e9 |