Skip to content
tenhjoPublic

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

WZK

WerkZeugKasten Logo

Abbreviation of the German noun "WerkZeugKasten" (~"toolbox")


A mixed collection of "fairly general" functions I use across different projects. The functions are structured with respect to the existing module they extend, or the functionality they facilitate.

Attention

This module has wrappers for multiprocessing and matplotlib and sets some backend flags for those. This should not interfere with anything else but be aware of it.

  • matplotlib
    • sets backend via mpl.use('TkAgg')
  • multiprocessing
    os.environ['MKL_NUM_THREADS'] = '1'
    os.environ['OPENBLAS_NUM_THREADS'] = '1'
    os.environ['NUMEXPR_NUM_THREADS'] = '1'
    os.environ['VECLIB_MAXIMUM_THREADS'] = '1'
    os.environ['OMP_NUM_THREADS'] = '1'
    

make sure you import wzk before matplotlib / numpy to get the expected behavior


This repo has nothing to do with Werkzeug. They just seem to have the same humor.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages