From 3dfed6272415b0e32f1caa7fda1f6e721f017bc9 Mon Sep 17 00:00:00 2001 From: thevickypedia Date: Sun, 2 Apr 2023 16:33:06 -0500 Subject: [PATCH] Reformat and move objects to models dir Update docs --- Dockerfile | 2 +- doc_generator/index.rst | 21 ++ docs/_sources/index.rst.txt | 21 ++ docs/genindex.html | 180 ++++++++- docs/index.html | 350 +++++++++++++++++- docs/objects.inv | Bin 678 -> 1013 bytes docs/py-modindex.html | 15 + docs/searchindex.js | 2 +- gmailconnector/__init__.py | 6 +- gmailconnector/{ => lib}/requirements.txt | 0 .../{models.py => models/config.py} | 0 gmailconnector/{ => models}/options.py | 6 +- gmailconnector/{ => models}/responder.py | 2 +- gmailconnector/read_email.py | 10 +- gmailconnector/send_email.py | 4 +- gmailconnector/send_sms.py | 4 +- gmailconnector/validator/validate_email.py | 2 +- pyproject.toml | 4 +- release_notes.rst | 5 + 19 files changed, 587 insertions(+), 47 deletions(-) rename gmailconnector/{ => lib}/requirements.txt (100%) rename gmailconnector/{models.py => models/config.py} (100%) rename gmailconnector/{ => models}/options.py (91%) rename gmailconnector/{ => models}/responder.py (98%) diff --git a/Dockerfile b/Dockerfile index c654ccb..3a8eedd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN mkdir /opt/temp COPY . /opt/temp RUN /usr/local/bin/python3 -m pip install --upgrade pip -RUN pip install --user gmail-connector==73b0 +RUN pip install --user gmail-connector WORKDIR /opt/temp diff --git a/doc_generator/index.rst b/doc_generator/index.rst index 0a3da59..7e1716e 100644 --- a/doc_generator/index.rst +++ b/doc_generator/index.rst @@ -68,6 +68,27 @@ Custom Exceptions :members: :undoc-members: +Models - Config +=============== + +.. automodule:: gmailconnector.models.config + :members: + :undoc-members: + +Models - Options +================ + +.. automodule:: gmailconnector.models.options + :members: + :undoc-members: + +Models - Responder +================== + +.. automodule:: gmailconnector.models.responder + :members: + :undoc-members: + Indices and tables ================== diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt index 0a3da59..7e1716e 100644 --- a/docs/_sources/index.rst.txt +++ b/docs/_sources/index.rst.txt @@ -68,6 +68,27 @@ Custom Exceptions :members: :undoc-members: +Models - Config +=============== + +.. automodule:: gmailconnector.models.config + :members: + :undoc-members: + +Models - Options +================ + +.. automodule:: gmailconnector.models.options + :members: + :undoc-members: + +Models - Responder +================== + +.. automodule:: gmailconnector.models.responder + :members: + :undoc-members: + Indices and tables ================== diff --git a/docs/genindex.html b/docs/genindex.html index 9c0b373..be9cd01 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -41,14 +41,19 @@

Navigation

Index

- A + _ + | A + | B | C | D | E + | F | G | I + | J | M | N + | O | R | S | T @@ -56,10 +61,40 @@

Index

| V
+

_

+ + + +
+

A

+
+

B

+ + + +
+

C

@@ -99,11 +154,13 @@

D

- + @@ -111,11 +168,29 @@

D

E

+
+ +

F

+ + +
@@ -130,6 +205,27 @@

G

  • get_mx_records() (in module gmailconnector.validator.domain)
  • + gmailconnector.models.config + +
  • +
  • + gmailconnector.models.options + +
  • +
  • + gmailconnector.models.responder + +
  • +
  • gmailconnector.read_email
  • + + - -