Skip to main content

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

print

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vistutils-0.0.13.tar.gz (27.9 kB view hashes)

Uploaded Source

Built Distribution

vistutils-0.0.13-py3-none-any.whl (36.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page