MNPO primitives, runtime helpers, and package-level compatibility utilities.

Package source: tabnetics.core

Package overview

Core numerical, compatibility, and runtime helpers.

Stable exports

  • def configure_runtime_environment() -> None (function) - Source. Apply BLAS and CUDA safety defaults before heavy imports.
  • def find_repo_root(anchor: str | Path) -> Path (function) - Source. Resolve the monorepo root when available, else fall back to the project root.
  • def find_repo_root_or_none(anchor: str | Path) -> Path | None (function) - Source. Like :func:find_repo_root but returns None when called from an installed package (e.g. inside site-packages) where no project root or repo root can be located. Safe for module-level use.
  • def get_sklearn_n_jobs() -> int (function) - Source. Get the thread-local sklearn n_jobs value.
  • def set_sklearn_n_jobs(n_jobs: int = 1) -> None (function) - Source. Set the thread-local sklearn n_jobs value used across the package.
  • tabnetics.core.runtime - Source. Shared runtime bootstrap helpers for stable package entrypoints.
  • tabnetics.core.paths - Source. Filesystem path helpers for packaged tabnetics modules.
  • tabnetics.core.mnpo - Source. Shared MNPO (Nash Multi-Portfolio Optimization) utilities.

Module details

tabnetics.core.__init__

Source file

Core numerical, compatibility, and runtime helpers.

No top-level public symbols are exported directly from this module.


Documentation and webpages on this site are generated from authoritative internal sources using a combination of deterministic rules and generative AI. Errors are possible. Please report issues via GitHub Discussions or email [email protected].