This PR makes geozones a package and expose geozones cli through setuptools.
This allows a clearer separation of concerns and readability (subjective opinion, I agree):
allows countries as package (ie. geozones.france contains everything related to France including geozones.france.histo)
only keeps common features and tools on geozones root package
avoid global imports like import geojson which is also a python package
geo.py has been migrated to geozones/model.py and geozones.py to geozones/__main__.py for coherence.
This PR makes
geozones
a package and exposegeozones
cli throughsetuptools
. This allows a clearer separation of concerns and readability (subjective opinion, I agree):geozones.france
contains everything related to France includinggeozones.france.histo
)geozones
root packageimport geojson
which is also a python packagegeo.py
has been migrated togeozones/model.py
andgeozones.py
togeozones/__main__.py
for coherence.The new layout is
Documentation has been updated accordingly.