build

funcbuild.build

Build a Python package from notebooks.

1
2
3
4
def build(
    root='.'  # root directory containing pyproject.toml
) -> str:
    """Build a Python package from notebooks."""
funcbuild.tidy

Remove cache and temporary files (__pycache__, __marimo__, .pytest_cache, etc).

1
2
def tidy():
    """Remove cache and temporary files (__pycache__, __marimo__, .pytest_cache, etc)."""
funcbuild.nuke

Remove all build artifacts (dist, docs, src) and cache files.

1
2
def nuke():
    """Remove all build artifacts (dist, docs, src) and cache files."""