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:

  1. clone the github repo and install it in edit mode from within the cloned repo:
pip install -e .
  1. 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, chunked
  • NS, SimpleNameSpace
  • store_attr
  • getattrs, hasattrs, setattrs
  • ‘xify’ (listify, tuplify, setify, uniqueify, stringify…)
  • filter: filter_x, argwhere,
  • val2idx
  • patch_to
  • PrettyString
  • IPython: ipython_shell, in_ipython, in_colab, in_jupyter, in_notebook

from fastcore.foundation:

  • L
  • Config

from fastcore.utils:

  • untar_dir
  • run
  • Path with added capabilities

from fastcore.meta:

  • delegates, use_kwargs, funcs_kwargs, method