diff --git a/README.md b/README.md index 3d7f751..7910e30 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,8 @@ To make it easier to set up new auto-archiver sheets, the auto-auto-archiver wil Code is split into functional concepts: 1. [Archivers](archivers/) - receive a URL that they try to archive 2. [Storages](storages/) - they deal with where the archived files go -3. utilities - 1. [GWorksheet](gworksheet.py) - facilitates some of the reading/writing tasks for a Google Worksheet +3. [Utilities](utils/) + 1. [GWorksheet](utils/gworksheet.py) - facilitates some of the reading/writing tasks for a Google Worksheet ### Current Archivers ```mermaid diff --git a/auto_archive.py b/auto_archive.py index cb70c58..ba05310 100644 --- a/auto_archive.py +++ b/auto_archive.py @@ -8,7 +8,7 @@ from dotenv import load_dotenv import archivers from storages import S3Storage, S3Config -from gworksheet import GWorksheet +from utils import GWorksheet load_dotenv() diff --git a/utils/__init__.py b/utils/__init__.py new file mode 100644 index 0000000..482e144 --- /dev/null +++ b/utils/__init__.py @@ -0,0 +1,2 @@ +# we need to explicitly expose the available imports here +from .gworksheet import GWorksheet \ No newline at end of file diff --git a/gworksheet.py b/utils/gworksheet.py similarity index 100% rename from gworksheet.py rename to utils/gworksheet.py