API Reference#

subdir

Utilities for file i/o, directory management and streamlined versioned caching.

version([version, dependencies, auto_class, ...])

Decorator to "version" a function or class, which may depend on other versioned functions or classes.

uniquehash

Framework for producing unique hashes for various Python elements.

config

Tooling for setting up program-wide configuration hierachies.

verbose

This module contains the cdxcore.verbose.Context manager class which supports printing hierarchical verbose progress reports.

npio

Fast binary disk i/o for numpy arrays.

npshm

Shared memory numpy arrays.

bs

Basic Black & Scholes pricing routines.

dynaplot

Tools for dynamic plotting in Jupyer/IPython.

jcpool

Simple multi-processing conv wrapper around (already great) joblib.Parallel().

pretty

The main feature of this module is the simple cdxcore.pretty.PrettyObject class which mimics directory access to its members.

util

Basic utilities for Python such as type management, formatting, some trivial timers.

err

Basic error handling and reporting functions with minimal runtime performance overhead for string formatting.