Skip to content

scleronomic/wzk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WZK

WerkZeugKasten Logo

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


A mixed collection of "fairly general" convenience 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 behaviour


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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published