Skip to content

eegprep-lean: add a help entry point and list lazy names in dir() #428

Closed

Description

@neuromechanist

Problem

A reader in a browser notebook (the NEMAR playground installs eegprep-lean by default) has no quick way to see what the package offers.

  • read_window, plot_window, to_png and the other names supplied by an extra are loaded lazily through __getattr__, and the package defines no __dir__.
    They do not appear in dir(eegprep_lean) or in tab completion.
  • There is no overview of what each extra (zarr, plot, preprocess) provides, or of what is not implemented yet.

Every public function and class already has a docstring, so help(eegprep_lean.read_window) works once a reader knows the name.

Proposal

Context

Checked against develop: the latest change to packages/eegprep-lean is 50c5087 (eegprep-lean 0.1.0.dev3).
The NEMAR starter notebook would point readers to this help instead of listing functions itself.

Activity

  1. added
    enhancement
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions