astronomy-commons/lsdb

Make internal implementations "protected"

Open

#830 opened on Jun 13, 2025

 (0 comments) (1 reaction) (0 assignees)Python (21 forks)auto 404
enhancementgood first issueinterface

Repository metrics

Stars
 (54 stars)
PR merge metrics
 (PR metrics pending)

Description

There is a lot of stuff in the package that is not supposed to be used by end users. However, it bubbles up in many places: IDE autocompletions, HTML docs search results, etc. I propose to systematically rename "internal" and "implementation" modules and classes by prefixing them with an underscore, e.g. lsdb._dask, lsdb._nested, etc. I also to propose to hide "public" stuff which is reimported in the top __init__.py.

Also see #767 for API HTML docs improvements.

Contributor guide