conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
144 stars 46 forks source link

Privatize `conda-store` and `conda-store-server` internals #723

Closed pavithraes closed 3 months ago

pavithraes commented 9 months ago

Context

This project is expected only to be used through the REST API (provided by conda-store-server) or CLI (provided by conda-store). Currently, we have several Python functions implicitly "public facing", even though we don't expect users to use conda-store through a "Python API".

We can consider being explicit about the public API and moving everything else to a private space/directory (conventionally, prefixed with an underscore).

Value and/or benefit

Cleaner codebase and avoid any unintended usage/maintenance over the long-term.

Anything else?

We need to make sure this change is aligned with the backwards compatibility policy.