Gradiant / pyodi

Python Object Detection Insights
https://gradiant.github.io/pyodi/
Mozilla Public License 2.0
189 stars 17 forks source link

[apps] Organize groups of apps by package #138

Closed David-Lor closed 3 years ago

David-Lor commented 3 years ago

In the pyodi.apps directory, it seems that most apps are composed by two types of files (modules): an "entrypoint" module that defines the commands of the app, and one module for each command/feature, with the logic inside. For example, the "coco" app has a coco.py entrypoint and two logic modules (coco_merge.py and coco_split.py).

I think this could be refactored into having one package within pyodi.apps for each app (so, for example, a pyodi.apps.coco package).

Possible caveat: this might cause problems if running an entrypoint directly (as __main__)?

github-actions[bot] commented 3 years ago

Branch issue-138-_apps_Organize_groups_of_apps_by_package created!