brainglobe / BrainGlobe

General information, resources and dicussions for the BrainGlobe project.
https://brainglobe.info/
9 stars 1 forks source link

Simplifying the BrainGlobe (meta-)package structure for users and developers #20

Closed alessandrofelder closed 7 months ago

alessandrofelder commented 1 year ago

Currently, the BrainGlobe tools are split into 35 different repositories (not all of which are to be used by users directly), which

We'd like to address this by

This has the additional advantage that we can hide changes in the repo structure from users. So once this is done, we'd like to

in order to make CI and testing between closely related repos easier.

Possibly useful resources around Python Packaging

alessandrofelder commented 1 year ago

@adamltyson the above is initial draft for a meta-issue for @willGraham01 to work on once he joins. Comments welcome.

adamltyson commented 1 year ago

All looks good. We have the brainglobe name on PyPI. This package was eventually renamed bg-atlasapi.

do the equivalent for pypi (if possible?)

I think it's possible, even it it's just:

This would also allow us to do things like: init.py

from cellfinder_core.main import main as cell_detector_3D
from brainreg.main import main as register_whole_brain

Usage

import brainglobe as bg

bg.cell_detector_3D()
bg.register_whole_brain()

Then in later versions, we can completely restructure the underlying packages.

adamltyson commented 7 months ago

Superceeded by brainglobe/BrainGlobe#33