eccore
Package regrouping useful functions and classe I use often. Inspired by
fastcore and adding to it.
Installation:
PyPi
pip install eccore
GitHub
Two options to get versions which are not yet released on PyPi:
- clone the github repo and install it in edit mode from within the cloned repo:
pip install -e .
- install with pip from the github repo directly for hosted virtual machines:
pip install git+https://github.com/vtecftwy/eccore.git@main
pip install git+https://github.com/vtecftwy/eccore.git@dev
Modules:
All available modules in this package are listed in the sidebar under eccore - core - ipython - plotting - comms - dev_utils
fastcore objects
fastcore objects useful to load and use once eccore is imported
from fastcore.basics:
gen,chunkedNS,SimpleNameSpacestore_attrgetattrs,hasattrs,setattrs- ‘xify’ (
listify,tuplify,setify,uniqueify,stringify…) - filter:
filter_x,argwhere, val2idxpatch_toPrettyString- IPython:
ipython_shell,in_ipython,in_colab,in_jupyter,in_notebook
from fastcore.foundation:
LConfig
from fastcore.utils:
untar_dirrunPathwith added capabilities
from fastcore.meta:
delegates,use_kwargs,funcs_kwargs,method