Skip to main content

Handy Tools for Developers

Project description

package wizzi utils:
pip install wizzi_utils
or
pip install wizzi_utils --upgrade

To import all functions: import wizzi_utils as wu
The above will give you all functions and tests that the dependencies modules in them is installed in your python environment.
Everything in misc_tools and misc_tools_test must work because when you 'pip install wizzi_utils', setup.py makes sure to install the requirements to misc_tools module.
Everything else, e.g. torch_tools, will work only if you have all the modules needed for torch_tools installed.
In torch_tools example, to know what is needed go to:
wizzi_utils.torch.init.py # for the tools
wizzi_utils.torch.test.init.py # for the tests and example

examples:
import wizzi_utils as wu
# direct access to the misc_tools module - must work
print(wu.misc_tools.to_str(var=1, title='my_int'))
# access to a function in the main module misc_tools via name space 'wu' - must work
print(wu.to_str(var=2, title='my_int')) # notice only wu namespace
# access to a function in the torch module - will work if you have torch and the rest of the modules needed
print(wu.tt.to_str(var=3, title='my_int')) # notice wu and tt namespaces. tt for torch tools
# access to a function in the matplotlib module - same rules as torch example above
print(wu.pyplt.get_RGB_color(color_str='r'))
# access to a module test
wu.algs.test.test_all() # all tests
wu.algs.test.find_centers_test() # specific test
wu.test.to_str_test() # access mist tools tests

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

wizzi_utils-6.0.4.tar.gz (36.9 kB view details)

Uploaded Source

File details

Details for the file wizzi_utils-6.0.4.tar.gz.

File metadata

  • Download URL: wizzi_utils-6.0.4.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.8

File hashes

Hashes for wizzi_utils-6.0.4.tar.gz
Algorithm Hash digest
SHA256 10acaf02fdda834b43290dde5f83dfc26a69227d7d4555e1fa2ac9d03ee744a5
MD5 011234c96713babadcca774888bb94d2
BLAKE2b-256 bcb428b07b9aaccbd3c5442802632583f02b17f92fbd019b46f82cf682d03a46

See more details on using hashes here.

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