From d19b28b42a56c4ebc173ff41976e85b0d5a55b8c Mon Sep 17 00:00:00 2001 From: Raelon Masters Date: Fri, 31 Jan 2020 20:05:45 -0500 Subject: [PATCH 01/12] removed bad call to render_to_response --- src/interface/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/views.py b/src/interface/views.py index 57d299d..5ed23af 100755 --- a/src/interface/views.py +++ b/src/interface/views.py @@ -4,7 +4,7 @@ from base64 import b64decode, b64encode from django.db import models from django.http import JsonResponse -from django.shortcuts import HttpResponse, render, render_to_response +from django.shortcuts import HttpResponse, render #render_to_response from django.utils.text import slugify from .models import Books From 33c62124bc32d521a0cc60ce48b6cfd51b564ca5 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Fri, 31 Jan 2020 20:52:03 -0500 Subject: [PATCH 02/12] config[USER]='pyshelf' --- installer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer b/installer index 95ff4f1..c104b69 100644 --- a/installer +++ b/installer @@ -222,7 +222,8 @@ installer = sysinstall.bin install_answers = TerminalDisplay().installer() for key in install_answers: config[key["name"]] = key["answer"] -config["USER"] = os.environ["USER"] +#config["USER"] = os.environ["USER"] +config["USER"] = 'pyshelf' # Write configuration Configuration().write_file(config) From 9edf182c2bbc99033af5f36dc99e1e79cba5ac80 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Fri, 31 Jan 2020 21:01:20 -0500 Subject: [PATCH 03/12] sql_user='pyshelf' --- installer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer b/installer index c104b69..c524396 100644 --- a/installer +++ b/installer @@ -302,7 +302,8 @@ if RequiredServices().db_server_found(req) is False: for r in install_answers: if r["name"] == "PASSWORD": sql_pass = r["answer"] - sql_user = config["USER"] + #sql_user = config["USER"] + sql_user = "pyshelf" db_name = "pyshelf" psql_cmd = """ CREATE DATABASE %s; From ed0abeb71c5c425003211d53473463c7f9692461 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Fri, 31 Jan 2020 21:49:32 -0500 Subject: [PATCH 04/12] added user to database configuration --- src/frontend/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/settings.py b/src/frontend/settings.py index bddbcb7..38fb3b3 100755 --- a/src/frontend/settings.py +++ b/src/frontend/settings.py @@ -108,6 +108,7 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", "NAME": CONFIG.catalogue_db, + "USER":"pyshelf", "PASSWORD": CONFIG.password, } } From 8767dd4c26958678d51c971e02c52237f0921aa1 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sat, 1 Feb 2020 23:17:26 -0500 Subject: [PATCH 05/12] Adjust file extension grabbing --- src/backend/lib/library.py | 2 +- src/interface/views.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/lib/library.py b/src/backend/lib/library.py index da764ed..6585f6d 100755 --- a/src/backend/lib/library.py +++ b/src/backend/lib/library.py @@ -56,7 +56,7 @@ class Catalogue: :returns self._book_list_expanded: json string containing all book metadata """ - self.scan_folder() + self.scan_folder() # Populate file list regx = re.compile(r"\.epub") try: self.books = list(filter(regx.search, filter(None, self.file_list))) diff --git a/src/interface/views.py b/src/interface/views.py index 5ed23af..7fb51de 100755 --- a/src/interface/views.py +++ b/src/interface/views.py @@ -123,4 +123,5 @@ def hr_name(book): """ Nicer file names """ - return "{0}.{1}".format(slugify(book.title), book.file_name.split(".")[1]) + # return "{0}.{1}".format(slugify(book.title), book.file_name.split(".")[1]) + return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name.split)) From a3dd7f180ad5cbff5c0e309dda7f59b20b5f6056 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sat, 1 Feb 2020 23:46:10 -0500 Subject: [PATCH 06/12] removed .split from hr_name --- src/interface/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/views.py b/src/interface/views.py index 7fb51de..ca06793 100755 --- a/src/interface/views.py +++ b/src/interface/views.py @@ -124,4 +124,4 @@ def hr_name(book): Nicer file names """ # return "{0}.{1}".format(slugify(book.title), book.file_name.split(".")[1]) - return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name.split)) + return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name)) From 00e4fa8159e0c854aefb9c6ed6f660792e091a8a Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sun, 2 Feb 2020 01:02:07 -0500 Subject: [PATCH 07/12] Updated django settings to track psql username as pyshelf --- src/frontend/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/settings.py b/src/frontend/settings.py index bddbcb7..8eecb1f 100755 --- a/src/frontend/settings.py +++ b/src/frontend/settings.py @@ -108,6 +108,7 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", "NAME": CONFIG.catalogue_db, + "USER": "pyshelf", "PASSWORD": CONFIG.password, } } From 2b2eb42d7122e931b710be58d6630da9fc9a562c Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sun, 2 Feb 2020 07:56:39 -0500 Subject: [PATCH 08/12] Fixed improper filename detection --- src/interface/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/interface/views.py b/src/interface/views.py index ca06793..8b5c82f 100755 --- a/src/interface/views.py +++ b/src/interface/views.py @@ -123,5 +123,4 @@ def hr_name(book): """ Nicer file names """ - # return "{0}.{1}".format(slugify(book.title), book.file_name.split(".")[1]) - return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name)) + return "{0}{1}".format(slugify(book.title), os.path.splitext(book.file_name)[1]) From 19706668d29d053d6755a26fbdb64eeb9042819b Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sun, 2 Feb 2020 08:11:16 -0500 Subject: [PATCH 09/12] Versioning --- README.md | 20 +++++++------------- config.json | 2 +- doxygen.conf | 2 +- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 63e3590..b8ab274 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# pyShelf 0.4.0 +# pyShelf 0.4.1

Terminal based ebook server. Open source & Lightweight.

@@ -6,6 +6,8 @@ Having used Calibre for hosting my eBook collection in the past, I found myself frustrated having to install X on my server, or manage my library externally, Thus I have decided to spin up my own. +### Join the discussion: Discord [https://discord.gg/H9TbNJS](https://discord.gg/H9TbNJS) | IRC freenode.net @ #pyshelf + ## Current Features * Custom Installer * Recursive Scanning @@ -23,6 +25,10 @@ Having used Calibre for hosting my eBook collection in the past, I found myself ## Further Installation & Support Information * [SUPPORT.md](https://github.com/th3r00t/pyShelf/blob/development/.github/SUPPORT.md) +## 0.4.1 Patch Notes. +### Filename detection +Now using os.path.splitext to ensure proper formating of downloaded files + ## 0.4.0 Patch Notes. ### The Installer Initiative @@ -36,18 +42,6 @@ process is listed in the process list. At this time I would suggest stopping both your postgresql and nginx servers should you already have them and allowing the installer to do its work generating custom configurations and putting the nginx config files in place (/etc/nginx/sites-available, and symlinked to /etc/nginx/sites-enabled/) None of your existing configurations will be overwritten. -## 0.3.0 Patch Notes. -### "And now we search." - -Just about all the changes in this release were in some way related to implementing the search features. -There is one new requirement -* Requirement: **PostgreSQL** -*This is what I believe to be the last infrastructure requirement, users with larger libraries should notice an increase in access speed.* -* Feature: **Searching** -*The search feature is now implemented. In its current incarnation you will by default search the author, title, & file_name fields. More defined search options will be available in future releases. Searches are paginated @ 20 results per page.* -* Discord [https://discord.gg/H9TbNJS](https://discord.gg/H9TbNJS) -* IRC find us on freenode.net @ #pyshelf - ## Development * [`pre-commit`](https://pre-commit.com/) diff --git a/config.json b/config.json index 18a02eb..b83d7e3 100644 --- a/config.json +++ b/config.json @@ -1 +1 @@ -{"TITLE": "pyShelf E-Book Server", "VERSION": "0.3.0", "BOOKPATH": "/home/raelon/Books", "DB_HOST": "localhost", "DB_PORT": "5432", "DATABASE": "pyshelf", "USER": "pyshelf", "PASSWORD": "pyshelf", "BOOKSHELF": "data/shelf.json", "ALLOWED_HOSTS": "*", "hostname": "localhost", "webport": "8000", "wsgiport": "8001"} +{"TITLE": "pyShelf E-Book Server", "VERSION": "0.4.1", "BOOKPATH": "", "DB_HOST": "localhost", "DB_PORT": "5432", "DATABASE": "pyshelf", "USER": "pyshelf", "PASSWORD": "pyshelf", "BOOKSHELF": "data/shelf.json", "ALLOWED_HOSTS": "*", "hostname": "localhost", "webport": "8000", "wsgiport": "8001"} diff --git a/doxygen.conf b/doxygen.conf index 0340ad9..b33a684 100644 --- a/doxygen.conf +++ b/doxygen.conf @@ -38,7 +38,7 @@ PROJECT_NAME = "pyShelf Open Source Ebook Server" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 0.4.0 +PROJECT_NUMBER = 0.4.1 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a From 5a0c19128e233adf8d591aac5492bc4770425518 Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sun, 2 Feb 2020 08:13:32 -0500 Subject: [PATCH 10/12] Versioning --- docs/html/HTML/D/index.html | 1 - docs/html/HTML/FILEMAP | 0 docs/html/HTML/GTAGSROOT | 1 - docs/html/HTML/I/index.html | 1 - docs/html/HTML/J/index.html | 1 - docs/html/HTML/R/index.html | 1 - docs/html/HTML/S/index.html | 1 - docs/html/HTML/Y/index.html | 1 - docs/html/HTML/defines.html | 13 - docs/html/HTML/defines/index.html | 1 - docs/html/HTML/files.html | 15 - docs/html/HTML/files/index.html | 1 - docs/html/HTML/help.html | 24 - docs/html/HTML/index.html | 28 -- docs/html/HTML/mains.html | 28 -- docs/html/HTML/rebuild.sh | 8 - docs/html/HTML/style.css | 77 --- docs/html/annotated.html | 10 +- docs/html/classes.html | 10 +- ..._1_1lib_1_1display_1_1TerminalDisplay.html | 10 +- ...nd_1_1lib_1_1config_1_1Config-members.html | 76 --- ...library__test_1_1Test__Config-members.html | 77 --- ..._1lib_1_1pyShelf_1_1InitFiles-members.html | 10 +- ...1backend_1_1lib_1_1storage_1_1Storage.html | 214 -------- ...kend_1_1lib_1_1pyShelf_1_1BookDisplay.html | 206 -------- ...ests_1_1library__test_1_1Test__Config.html | 12 +- ...nd_1_1lib_1_1config_1_1Config-members.html | 10 +- ...ibrary__test_1_1TestCatalogue-members.html | 10 +- ...1_1display_1_1TerminalDisplay-members.html | 10 +- ...ackend_1_1lib_1_1library_1_1Catalogue.html | 407 --------------- ...backend_1_1lib_1_1library_1_1Catalogue.png | Bin 1179 -> 0 bytes ...s_1_1library__test_1_1Test__Catalogue.html | 462 ------------------ ...ts_1_1library__test_1_1Test__Catalogue.png | Bin 1179 -> 0 bytes ...ibrary__test_1_1TestCatalogue-members.html | 65 --- ...sts_1_1library__test_1_1TestCatalogue.html | 83 ---- ...ackend_1_1lib_1_1library_1_1Catalogue.html | 28 +- ...library__test_1_1Test__Config-members.html | 10 +- ...1_1config__test_1_1TestConfig-members.html | 10 +- ..._1lib_1_1library_1_1Catalogue-members.html | 10 +- ...1backend_1_1lib_1_1storage_1_1Storage.html | 20 +- ...ests_1_1library__test_1_1Test__Config.html | 158 ------ ...tests_1_1library__test_1_1Test__Config.png | Bin 1104 -> 0 bytes ...lib_1_1pyShelf_1_1BookDisplay-members.html | 10 +- ...rary__test_1_1Test__Catalogue-members.html | 83 ---- ...nd_1_1lib_1_1api__hooks_1_1DuckDuckGo.html | 12 +- ...1_1backend_1_1lib_1_1config_1_1Config.html | 188 ------- ..._1_1backend_1_1lib_1_1config_1_1Config.png | Bin 1106 -> 0 bytes ...sts_1_1library__test_1_1TestCatalogue.html | 10 +- ...1_1backend_1_1lib_1_1config_1_1Config.html | 14 +- ..._1lib_1_1library_1_1Catalogue-members.html | 82 ---- ...ackend_1_1lib_1_1pyShelf_1_1InitFiles.html | 12 +- ..._1lib_1_1pyShelf_1_1InitFiles-members.html | 64 --- ...kend_1_1lib_1_1pyShelf_1_1BookDisplay.html | 18 +- ..._1_1lib_1_1storage_1_1Storage-members.html | 10 +- ...s_1_1library__test_1_1Test__Catalogue.html | 28 +- ..._1_1lib_1_1storage_1_1Storage-members.html | 75 --- ...rary__test_1_1Test__Catalogue-members.html | 10 +- ...b_1_1api__hooks_1_1DuckDuckGo-members.html | 65 --- ...nd_1_1lib_1_1api__hooks_1_1DuckDuckGo.html | 113 ----- ...ackend_1_1lib_1_1pyShelf_1_1InitFiles.html | 105 ---- ...1_1config__test_1_1TestConfig-members.html | 66 --- ...lib_1_1pyShelf_1_1BookDisplay-members.html | 72 --- ...b_1_1api__hooks_1_1DuckDuckGo-members.html | 10 +- ..._1tests_1_1config__test_1_1TestConfig.html | 86 ---- ..._1tests_1_1config__test_1_1TestConfig.html | 10 +- .../dir_1c7294442ce83d360610449d04c9d7fc.html | 10 +- .../dir_3f615ade772d23cefe5e20dcb18424a2.html | 10 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 10 +- .../dir_9020577e2da81c4cf5a5554c26431f94.html | 10 +- docs/html/doxygen.css | 68 +-- docs/html/files.html | 10 +- docs/html/functions.html | 10 +- docs/html/functions_func.html | 10 +- docs/html/hierarchy.html | 10 +- docs/html/index.html | 10 +- docs/html/jquery.js | 2 +- docs/html/tabs.css | 2 +- ...elf_src_backend_lib_api_hooks_DuckDuckGo.3 | 50 -- .../pyShelf_src_backend_lib_config_Config.3 | 98 ---- ...yShelf_src_backend_lib_library_Catalogue.3 | 187 ------- ...helf_src_backend_lib_pyShelf_BookDisplay.3 | 107 ---- ...yShelf_src_backend_lib_pyShelf_InitFiles.3 | 42 -- .../pyShelf_src_backend_lib_storage_Storage.3 | 115 ----- ...src_backend_tests_config_test_TestConfig.3 | 35 -- ...backend_tests_library_test_TestCatalogue.3 | 32 -- ...ackend_tests_library_test_Test_Catalogue.3 | 179 ------- ...c_backend_tests_library_test_Test_Config.3 | 79 --- .../src_backend_lib_api_hooks_DuckDuckGo.3 | 12 +- docs/man/man3/src_backend_lib_config_Config.3 | 16 +- .../src_backend_lib_display_TerminalDisplay.3 | 6 +- .../man3/src_backend_lib_library_Catalogue.3 | 28 +- .../src_backend_lib_pyShelf_BookDisplay.3 | 20 +- .../man3/src_backend_lib_pyShelf_InitFiles.3 | 12 +- .../man3/src_backend_lib_storage_Storage.3 | 20 +- ...src_backend_tests_config_test_TestConfig.3 | 6 +- ...backend_tests_library_test_TestCatalogue.3 | 6 +- ...ackend_tests_library_test_Test_Catalogue.3 | 26 +- ...c_backend_tests_library_test_Test_Config.3 | 10 +- docs/warn.log | 287 ++++++----- 99 files changed, 472 insertions(+), 4316 deletions(-) delete mode 100644 docs/html/HTML/D/index.html delete mode 100644 docs/html/HTML/FILEMAP delete mode 100644 docs/html/HTML/GTAGSROOT delete mode 100644 docs/html/HTML/I/index.html delete mode 100644 docs/html/HTML/J/index.html delete mode 100644 docs/html/HTML/R/index.html delete mode 100644 docs/html/HTML/S/index.html delete mode 100644 docs/html/HTML/Y/index.html delete mode 100644 docs/html/HTML/defines.html delete mode 100644 docs/html/HTML/defines/index.html delete mode 100644 docs/html/HTML/files.html delete mode 100644 docs/html/HTML/files/index.html delete mode 100644 docs/html/HTML/help.html delete mode 100644 docs/html/HTML/index.html delete mode 100644 docs/html/HTML/mains.html delete mode 100644 docs/html/HTML/rebuild.sh delete mode 100755 docs/html/HTML/style.css delete mode 100644 docs/html/d1/d06/classpyShelf_1_1src_1_1backend_1_1lib_1_1config_1_1Config-members.html delete mode 100644 docs/html/d1/d44/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config-members.html delete mode 100644 docs/html/d2/d53/classpyShelf_1_1src_1_1backend_1_1lib_1_1storage_1_1Storage.html delete mode 100644 docs/html/d2/dd1/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html delete mode 100644 docs/html/d4/d49/classpyShelf_1_1src_1_1backend_1_1lib_1_1library_1_1Catalogue.html delete mode 100644 docs/html/d4/d49/classpyShelf_1_1src_1_1backend_1_1lib_1_1library_1_1Catalogue.png delete mode 100644 docs/html/d4/d5d/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue.html delete mode 100644 docs/html/d4/d5d/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue.png delete mode 100644 docs/html/d5/d74/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue-members.html delete mode 100644 docs/html/d5/d85/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html delete mode 100644 docs/html/d7/d46/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config.html delete mode 100644 docs/html/d7/d46/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config.png delete mode 100644 docs/html/d7/d7c/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue-members.html delete mode 100644 docs/html/d7/dc4/classpyShelf_1_1src_1_1backend_1_1lib_1_1config_1_1Config.html delete mode 100644 docs/html/d7/dc4/classpyShelf_1_1src_1_1backend_1_1lib_1_1config_1_1Config.png delete mode 100644 docs/html/da/d1e/classpyShelf_1_1src_1_1backend_1_1lib_1_1library_1_1Catalogue-members.html delete mode 100644 docs/html/da/de5/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles-members.html delete mode 100644 docs/html/dc/d11/classpyShelf_1_1src_1_1backend_1_1lib_1_1storage_1_1Storage-members.html delete mode 100644 docs/html/dc/deb/classpyShelf_1_1src_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo-members.html delete mode 100644 docs/html/dd/d4a/classpyShelf_1_1src_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html delete mode 100644 docs/html/dd/d7e/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html delete mode 100644 docs/html/dd/df1/classpyShelf_1_1src_1_1backend_1_1tests_1_1config__test_1_1TestConfig-members.html delete mode 100644 docs/html/dd/df7/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html delete mode 100644 docs/html/df/d16/classpyShelf_1_1src_1_1backend_1_1tests_1_1config__test_1_1TestConfig.html delete mode 100644 docs/man/man3/pyShelf_src_backend_lib_api_hooks_DuckDuckGo.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_lib_config_Config.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_lib_library_Catalogue.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_lib_pyShelf_BookDisplay.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_lib_pyShelf_InitFiles.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_lib_storage_Storage.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_tests_config_test_TestConfig.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_tests_library_test_TestCatalogue.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_tests_library_test_Test_Catalogue.3 delete mode 100644 docs/man/man3/pyShelf_src_backend_tests_library_test_Test_Config.3 diff --git a/docs/html/HTML/D/index.html b/docs/html/HTML/D/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/D/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/FILEMAP b/docs/html/HTML/FILEMAP deleted file mode 100644 index e69de29..0000000 diff --git a/docs/html/HTML/GTAGSROOT b/docs/html/HTML/GTAGSROOT deleted file mode 100644 index c725022..0000000 --- a/docs/html/HTML/GTAGSROOT +++ /dev/null @@ -1 +0,0 @@ -/home/raelon/Projects/pyShelf/src/backend diff --git a/docs/html/HTML/I/index.html b/docs/html/HTML/I/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/I/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/J/index.html b/docs/html/HTML/J/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/J/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/R/index.html b/docs/html/HTML/R/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/R/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/S/index.html b/docs/html/HTML/S/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/S/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/Y/index.html b/docs/html/HTML/Y/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/Y/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/defines.html b/docs/html/HTML/defines.html deleted file mode 100644 index ff101d5..0000000 --- a/docs/html/HTML/defines.html +++ /dev/null @@ -1,13 +0,0 @@ - - - -DEFINITIONS - - - - - - -

DEFINITIONS

- - diff --git a/docs/html/HTML/defines/index.html b/docs/html/HTML/defines/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/defines/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/files.html b/docs/html/HTML/files.html deleted file mode 100644 index a63dd8b..0000000 --- a/docs/html/HTML/files.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -FILES - - - - - - -

FILES

-
    -
- - diff --git a/docs/html/HTML/files/index.html b/docs/html/HTML/files/index.html deleted file mode 100644 index f931715..0000000 --- a/docs/html/HTML/files/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/html/HTML/help.html b/docs/html/HTML/help.html deleted file mode 100644 index 45bafb4..0000000 --- a/docs/html/HTML/help.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -HELP - - - - - - -

Usage of Links

-
/* [<][>][^][v][top][bottom][index][help] */
-
-
[<]
Previous definition.
-
[>]
Next definition.
-
[^]
First definition in this file.
-
[v]
Last definition in this file.
-
[top]
Top of this file.
-
[bottom]
Bottom of this file.
-
[index]
Return to index page.
-
[help]
You are seeing now.
-
- - diff --git a/docs/html/HTML/index.html b/docs/html/HTML/index.html deleted file mode 100644 index 4fe4f22..0000000 --- a/docs/html/HTML/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - -pyShelf Open Source Ebook Server-0.4.0 - - - - - - -

pyShelf Open Source Ebook Server-0.4.0

-
-Last updated Wed Jan 01 09:54:41 EST 2020
-Powered by GLOBAL-6.6.3.
-
-
-

MAINS

-
-
-
-

DEFINITIONS

-
-

FILES

-
    -
-
- - diff --git a/docs/html/HTML/mains.html b/docs/html/HTML/mains.html deleted file mode 100644 index 4fe4f22..0000000 --- a/docs/html/HTML/mains.html +++ /dev/null @@ -1,28 +0,0 @@ - - - -pyShelf Open Source Ebook Server-0.4.0 - - - - - - -

pyShelf Open Source Ebook Server-0.4.0

-
-Last updated Wed Jan 01 09:54:41 EST 2020
-Powered by GLOBAL-6.6.3.
-
-
-

MAINS

-
-
-
-

DEFINITIONS

-
-

FILES

-
    -
-
- - diff --git a/docs/html/HTML/rebuild.sh b/docs/html/HTML/rebuild.sh deleted file mode 100644 index c9ea341..0000000 --- a/docs/html/HTML/rebuild.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# -# rebuild.sh: rebuild hypertext with the previous context. -# -# Usage: -# % sh rebuild.sh -# -cd /home/raelon/Projects/pyShelf/src/backend && GTAGSCONF=':langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.hh.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml:skip=HTML/,HTML.pub/,tags,TAGS,ID,y.tab.c,y.tab.h,gtags.files,cscope.files,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/,*.orig,*.rej,*.bak,*~,#*#,*.swp,*.tmp,*_flymake.*,*_flymake,*.o,*.a,*.so,*.lo,*.zip,*.gz,*.bz2,*.xz,*.lzh,*.Z,*.tgz,*.min.js,*min.css:' htags -g -s -a -n -v -w -t 'pyShelf Open Source Ebook Server-0.4.0' /home/raelon/Projects/pyShelf/docs/html diff --git a/docs/html/HTML/style.css b/docs/html/HTML/style.css deleted file mode 100755 index d7db34a..0000000 --- a/docs/html/HTML/style.css +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (c) 2005, 2010, 2011 Tama Communications Corporation - * - * This file is free software; as a special exception the author gives - * unlimited permission to copy and/or distribute it, with or without - * modifications, as long as this notice is preserved. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ -/* - * Souce code - */ -body { color: #191970; background-color: #f5f5dc; } -a.visited { color: gray; } -.title { color: #cc0000; } -.poweredby { text-align: right; } -.error { color: red; } -.loading { color: white; background-color: red; } -.cvs { font-size: 90%; } -.caution { text-align: center; margin: 1em 40px; } -img.icon { vertical-align: top; border: 0; } -.curline:hover { background-color:lightgray; } -table.flist { border-spacing: 2px; width: 100%; } -/* - * Parts - */ -em { font-style: normal; } -em.comment { color: green; font-style: italic; } -em.sharp { color: #8b0000; } -em.brace { color: red; } -em.warned { background-color: yellow; } -em.string { text-decoration: underline; } -strong.reserved { font-weight: bold; } -/* - * Tag list using table (--table-list) - */ -th, td { white-space: nowrap; } -th.tag { text-align: left; } -th.line { text-align: right; } -th.file { text-align: left; } -th.code { text-align: left; } -td.tag { text-align: left; } -td.line { text-align: right; } -td.file { text-align: left; } -td.code { text-align: left; } -/* end of TAG LIST */ -/* - * Fixed guide (--fixed-guide) - */ -#guide { - height: 35px; - position: fixed; - bottom:0px; left:0px; right:0px; - background: #f5f5dc; - border: 1px solid #ccc; -} -#guide ul { - height: 25px; - margin: 5px; - width: 90%; -} -#guide ul li { - float: left; - display: inline; - margin: 1px 1px; -} -#guide a { - line-height: 24px; -} -#guide ul li.standout span { - margin: 0px 4px; - font-size: 115%; - font-weight: bold; -} -/* end of FIXED GUIDE */ diff --git a/docs/html/annotated.html b/docs/html/annotated.html index fa4ac12..f099159 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: Class List @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.lib.config.Config Member List
-
- - - - - diff --git a/docs/html/d1/d44/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config-members.html b/docs/html/d1/d44/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config-members.html deleted file mode 100644 index b859d5b..0000000 --- a/docs/html/d1/d44/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config-members.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: Member List - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.tests.library_test.Test_Config Member List
-
-
- -

This is the complete list of members for pyShelf.src.backend.tests.library_test.Test_Config, including all inherited members.

- - - - - - - - - - - - - - - - -
__init__(self) (defined in pyShelf.src.backend.tests.library_test.Test_Config)pyShelf.src.backend.tests.library_test.Test_Config
pyShelf::src::backend::lib::config::Config.__init__(self, root)pyShelf.src.backend.lib.config.Config
auto_scan (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
book_path (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
book_shelf (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
catalogue_db (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
db_host (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
db_port (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
file_array (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
open_file(self, root="config.json")pyShelf.src.backend.tests.library_test.Test_Config
password (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
root (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
TITLE (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
user (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
VERSION (defined in pyShelf.src.backend.lib.config.Config)pyShelf.src.backend.lib.config.Config
- - - - diff --git a/docs/html/d1/dca/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles-members.html b/docs/html/d1/dca/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles-members.html index 626db33..2991047 100644 --- a/docs/html/d1/dca/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles-members.html +++ b/docs/html/d1/dca/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles-members.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: Member List @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.lib.storage.Storage Class Reference
-
-
- - - - - - - - - - - - - - -

-Public Member Functions

-def __init__ (self, db_pointer, config)
 
def create_tables (self)
 
def insert_book (self, book)
 
def book_paths_list (self)
 
def commit (self)
 
def close (self)
 
- - - - - - - - - - - - - - - -

-Public Attributes

sql
 
user
 
password
 
db_host
 
db_port
 
db
 
cursor
 
-

Detailed Description

-
Contains all methods for system storage

Member Function Documentation

- -

◆ book_paths_list()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.storage.Storage.book_paths_list ( self)
-
-
Get file paths from database for comparison to system files
-
-
-
- -

◆ close()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.storage.Storage.close ( self)
-
-
Close database connection
-
-
-
- -

◆ commit()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.storage.Storage.commit ( self)
-
-
Commit database transactions
-
-
-
- -

◆ create_tables()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.storage.Storage.create_tables ( self)
-
-
Create table structure
-
-
- -

◆ insert_book()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.storage.Storage.insert_book ( self,
 book 
)
-
-
Insert book in database
-:returns: True if succeeds False if not
-
-
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d2/dd1/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html b/docs/html/d2/dd1/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html deleted file mode 100644 index 7ad638a..0000000 --- a/docs/html/d2/dd1/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: pyShelf.src.backend.lib.pyShelf.BookDisplay Class Reference - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.lib.pyShelf.BookDisplay Class Reference
-
-
- - - - - - - - - - -

-Public Member Functions

def __init__ (self, **kwargs)
 
def nextPage (self)
 
def previousPage (self)
 
def booksPerPage (self, screen_size)
 
- - - - - - - - - - - - - -

-Public Attributes

books_per_page
 
current_page
 
thumbnail_size
 
thumbnail_scale
 
total_pages
 
screen_size
 
-

Detailed Description

-
All functions related to displaying book information in the HTML UI

Constructor & Destructor Documentation

- -

◆ __init__()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.pyShelf.BookDisplay.__init__ ( self,
** kwargs 
)
-
-
Initialize class variables
-:return: None
-
-
-
-

Member Function Documentation

- -

◆ booksPerPage()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.pyShelf.BookDisplay.booksPerPage ( self,
 screen_size 
)
-
-
## TODO Remove me
-Set books per page
-:param screen_size: Array containing x,y pixel sizes
-:return: self.books_per_page
-
-
-
- -

◆ nextPage()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.pyShelf.BookDisplay.nextPage ( self)
-
-
## TODO Remove me
-Goto next book page
-:return: new current_page
-
-
-
- -

◆ previousPage()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.pyShelf.BookDisplay.previousPage ( self)
-
-
## TODO Remove me
-Goto previous book page
-:return: new current_page
-
-
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d3/d29/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Config.html b/docs/html/d3/d29/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Config.html index d4e8a48..585ec70 100644 --- a/docs/html/d3/d29/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Config.html +++ b/docs/html/d3/d29/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Config.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.tests.library_test.Test_Config Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.lib.library.Catalogue Class Reference
-
-
-
- + Inheritance diagram for pyShelf.src.backend.lib.library.Catalogue:
-
-
- - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-def __init__ (self, config)
 
def scan_folder (self, _path=None)
 
def filter_books (self)
 
def extract_metadata (self, book)
 
def extract_content (self, book_zip, book)
 
def extract_cover_html (self, book_zip, book)
 
def extract_cover_image (self, book_zip, book)
 
def compare_shelf_current (self)
 
def import_books (self, list=None)
 
- - - -

-Static Public Member Functions

def process_book (book)
 
- - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

file_list
 
opf_regx
 
cover_regx
 
html_regx
 
root_dir
 
book_folder
 
book_shelf
 
books
 
db_pointer
 
config
 
-

Detailed Description

-
Decodes book metadata for storage
-

Member Function Documentation

- -

◆ compare_shelf_current()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.compare_shelf_current ( self)
-
-
Calls storage system, gets list of books stored and compares against files on disk
-
-
-
- -

◆ extract_content()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_content ( self,
 book_zip,
 book 
)
-
-
Opens epub as zip file filters then stores as list any files matching opf_regx
-
-
-
- -

◆ extract_cover_html()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_cover_html ( self,
 book_zip,
 book 
)
-
-
Opens epub as zip file filters then stores as list any files matching html_regx
-
-
-
- -

◆ extract_cover_image()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_cover_image ( self,
 book_zip,
 book 
)
-
-
Opens epub as zip file filters then stores as list any files matching cover_regx
-
-
-
- -

◆ extract_metadata()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_metadata ( self,
 book 
)
-
-
Return extracted metadata and cover picture
-book['path'] == Full path to ebook file
-book['files'] == list of files from self.process_book(book)
-
-
-
- -

◆ filter_books()

- -
-
- - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.filter_books ( self)
-
-
Calls scan_folder and filters out book files
-Proceeds to call process_book
-
-:returns self._book_list_expanded: json string containing all book metadata
-
-

Reimplemented in pyShelf.src.backend.tests.library_test.Test_Catalogue.

- -
-
- -

◆ import_books()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.import_books ( self,
 list = None 
)
-
-
Main entry point for import operations.
-Gets a list of new files via compare_shelf_current.
-Iterates over list and inserts new books into database.
-
-
-
- -

◆ process_book()

- -
-
- - - - - -
- - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.process_book ( book)
-
-static
-
-
Return dictionary of epub file contents
-
-
- -

◆ scan_folder()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.scan_folder ( self,
 _path = None 
)
-
-
Scan folder by _path, allows recurisive scanning
-
-
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d4/d49/classpyShelf_1_1src_1_1backend_1_1lib_1_1library_1_1Catalogue.png b/docs/html/d4/d49/classpyShelf_1_1src_1_1backend_1_1lib_1_1library_1_1Catalogue.png deleted file mode 100644 index 919821398adbaece74f5fa35ba8f0bf6455c4610..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1179 zcmeAS@N?(olHy`uVBq!ia0y~yV6*|U12~w0|Zx&MFS z_RP5w2Ax9Leaa3+MZ@++)tVxJIlklAC^14fmp z?cd*+?Ph+RC(p1Wz@lvHg4^=;>)mgzWmE{e|5W5f{}Lamd&M_PTDGTq9ojrujoD#E z^7Q|fdyZdGzACaf@2-7ey|w$VbKg%M&R8~ob=4_3y{L?vwGRb>d*<=s88$VUKvEp-z81tQM z&CheH=XVI(Y&~VUG5pVoSq-ao3l}=FmzWiA^*YWdim;^ zhqv+hZ(aYBc~(W*;?MnW4H&LRwJ%@Y)oW|YGhaHfDze|RLhK38`+v92Su<6v|2nIj zSASjQJEhnhn=Q2wpVvKP-MwdJ<+=o>JK1}0_jN7T?|M6X)#4fVvUab{t$p|O#kQ`s zMUQw6&%d|eR;s-HuH5q6TfcsOw!T~Ti}``{);$NGbP9d=XH@1bE*fy&YR`VX_hEWk z3+Ay_Ff46i|G*ydfnkzX1%s!kO~Vqo4^i1`uS8{^X8MuzmthLSwa^a?MZbP(RxxM- zrRT`K>5_AB1IEx=CqxVZmB96L$vFg}MId?7SEe7ny)E~5+~1tr+iKU|aB=ZcQd+H5 zp`-+Krr^XST=P0Sf>`}sR90$Ny#1K}UvT0_8{KOvO0PJNuM;cTEpPU|fBJQ0rB7}f z7yngQzd6Qd>*B}f`J3VnRIi(}?e904{fzH77vHg*HN84YaFb}o+o{2^$4>!Mi$5^6 zR9&h4WH9UH^HuXUwRi9PbB4$Ce@*#JbNAc-&B~QaQi2QQE^P?;GP&j68e^%7$89Ta zXRd8~W$7!MIO|^jx_zfCAKz#y&wtdj(r#9_jCIjTQ~sNt7ZdOD`2t=FYT5m+Y7rkb*k^ORJdbr)}=pyF#bJnHt-R60p z;jj1JxnkASn^H2CK_3n&R_D4m?rb)<>Se7cSm#yKj?$->tuLe!sqzY?rk!-p=d2 zqT_`5>-gI_5*bb3|0jQ6^T2Ali_5*t)QQ?}u7A*a@8U9NoyPnR;E0>Q`ax%hN+^&6 pOenA@l>4wP_qG=>l289)cgc77^}0XxGq5CK@O1TaS?83{1OOk - - - - - - -pyShelf Open Source Ebook Server: pyShelf.src.backend.tests.library_test.Test_Catalogue Class Reference - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.tests.library_test.Test_Catalogue Class Reference
-
-
-
- + Inheritance diagram for pyShelf.src.backend.tests.library_test.Test_Catalogue:
-
-
- - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-def __init__ (self)
 
def filter_books (self)
 
def scan_folder (self, _path=None)
 
def extract_metadata (self, book)
 
def extract_content (self, book_zip, book)
 
def extract_cover_html (self, book_zip, book)
 
def extract_cover_image (self, book_zip, book)
 
def compare_shelf_current (self)
 
def import_books (self, list=None)
 
- - - -

-Static Public Member Functions

def process_book (book)
 
- - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

book_shelf
 
file_list
 
opf_regx
 
cover_regx
 
html_regx
 
root_dir
 
book_folder
 
books
 
db_pointer
 
config
 
-

Detailed Description

-

Member Function Documentation

- -

◆ compare_shelf_current()

- -
-
- - - - - -
- - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.compare_shelf_current ( self)
-
-inherited
-
-
Calls storage system, gets list of books stored and compares against files on disk
-
-
-
- -

◆ extract_content()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_content ( self,
 book_zip,
 book 
)
-
-inherited
-
-
Opens epub as zip file filters then stores as list any files matching opf_regx
-
-
-
- -

◆ extract_cover_html()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_cover_html ( self,
 book_zip,
 book 
)
-
-inherited
-
-
Opens epub as zip file filters then stores as list any files matching html_regx
-
-
-
- -

◆ extract_cover_image()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_cover_image ( self,
 book_zip,
 book 
)
-
-inherited
-
-
Opens epub as zip file filters then stores as list any files matching cover_regx
-
-
-
- -

◆ extract_metadata()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.extract_metadata ( self,
 book 
)
-
-inherited
-
-
Return extracted metadata and cover picture
-book['path'] == Full path to ebook file
-book['files'] == list of files from self.process_book(book)
-
-
-
- -

◆ filter_books()

- -
-
- - - - - - - - -
def pyShelf.src.backend.tests.library_test.Test_Catalogue.filter_books ( self)
-
-
Calls scan_folder and filters out book files
-Proceeds to call process_book
-
-:returns self._book_list_expanded: json string containing all book metadata
-
-

Reimplemented from pyShelf.src.backend.lib.library.Catalogue.

- -
-
- -

◆ import_books()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.import_books ( self,
 list = None 
)
-
-inherited
-
-
Main entry point for import operations.
-Gets a list of new files via compare_shelf_current.
-Iterates over list and inserts new books into database.
-
-
-
- -

◆ process_book()

- -
-
- - - - - -
- - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.process_book ( book)
-
-staticinherited
-
-
Return dictionary of epub file contents
-
-
- -

◆ scan_folder()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.library.Catalogue.scan_folder ( self,
 _path = None 
)
-
-inherited
-
-
Scan folder by _path, allows recurisive scanning
-
-
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d4/d5d/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue.png b/docs/html/d4/d5d/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue.png deleted file mode 100644 index 33ae86779522d6c15648e2171f820422fa4329cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1179 zcmeAS@N?(olHy`uVBq!ia0y~yV6*|U12~w0{p$>)702k*PRqFL{A8x< znuApp`)2=6NU;6=+y3!-OD;Fhs@0+uf49xJ{c>&JE6X!->U{YUXTmMrWsbjCyYgUF z$GsSqFo~U_W+B;22Uq_y~upvFI)%B04{i3u(SC{WtdC-c-tUa;8{`2?GAKtLr zK7RV!?}lHu$|39a*%R+><2yfP{YPf2`n<)D`_~&xDp^}vVYa&BzVpG3jfTAX`;&y` zv0EP6y?@)|K9!eyuNB`j-BWpvTl{6xs!h5aU${N zzOIE^uZBm*|8jb~Vq4qVNEL}+Rb|a-)7SoAu`M?<{Mz~X^H**=+^zE0O*h}5auLg( z{XKUtxlT=)S6WdYduMG-i08A&26fM+z|j8RfD-n$58gszXFBVL?ysx?OcCJ+nNPfY zz4`^?l8_G!MO7QLs~99jZ5p<4$vOnF@++)tVxJIlklAC^14fn54-AvEDi}P0(o4AH zD3#tXb8lO2bmr}Cxv@D6stuuNrd|=<6RulX_WR&@z6NgJ-|N&&s^65ob$|Suv10L0 zC-+#EU&*ugZQoz_;0x2e(-t|u-&)o&-AjMIBRXS_T;|ycYY$ZKky)4~Vfy;>=PlQ6 zUfyHJUcOkm?p&5)wa&$5^Cu=AoBvjza`E=(yLU@pZmr?yixr#pv2N0a*}QJ->+cH` zTkpLZXxlzhndk8Bi)TTpCA#CZwS8^I7craj;#>z!%YHg;KHMhz32m2qBa)v?p%HoK#XnBU9fxs~1K zc(38F_-^?JAI;B}7275>n!o*YeVh6W>x#XHTq?{aAMv-$`^FSE=V{_+w_~-q-|}rP=YF%?i#j)Z&KI@kM@8gUtzGGxw|ZON ztl3YqRPa(dNIsjiIyDXK5Waq f?FEd>)4!PQvYoUi - - - - - - -pyShelf Open Source Ebook Server: Member List - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.tests.library_test.TestCatalogue Member List
-
- - - - - diff --git a/docs/html/d5/d85/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html b/docs/html/d5/d85/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html deleted file mode 100644 index 19ce362..0000000 --- a/docs/html/d5/d85/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: pyShelf.src.backend.tests.library_test.TestCatalogue Class Reference - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.tests.library_test.TestCatalogue Class Reference
-
-
- - - - -

-Public Member Functions

-def test_filter_books (self)
 
- - - - - -

-Static Public Attributes

root = os.path.abspath(os.path.curdir)
 
config = Test_Config()
 
-

Detailed Description

-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d5/da5/classsrc_1_1backend_1_1lib_1_1library_1_1Catalogue.html b/docs/html/d5/da5/classsrc_1_1backend_1_1lib_1_1library_1_1Catalogue.html index ee4ff15..9ed75d7 100644 --- a/docs/html/d5/da5/classsrc_1_1backend_1_1lib_1_1library_1_1Catalogue.html +++ b/docs/html/d5/da5/classsrc_1_1backend_1_1lib_1_1library_1_1Catalogue.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.lib.library.Catalogue Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.tests.library_test.Test_Config Class Reference
-
-
-
- + Inheritance diagram for pyShelf.src.backend.tests.library_test.Test_Config:
-
-
- - - - - - - -

-Public Member Functions

-def __init__ (self)
 
def open_file (self, root="config.json")
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

book_path
 
TITLE
 
VERSION
 
book_shelf
 
catalogue_db
 
user
 
password
 
db_host
 
db_port
 
file_array
 
root
 
auto_scan
 
-

Detailed Description

-

Member Function Documentation

- -

◆ open_file()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.tests.library_test.Test_Config.open_file ( self,
 _cp = "config.json" 
)
-
-
Opens config.json and reads in configuration options
-
-

Reimplemented from pyShelf.src.backend.lib.config.Config.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d7/d46/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config.png b/docs/html/d7/d46/classpyShelf_1_1src_1_1backend_1_1tests_1_1library__test_1_1Test__Config.png deleted file mode 100644 index f564331a577e92e23b504d142fc9effd295c68be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1104 zcmeAS@N?(olHy`uVBq!ia0y~yVAKGz12~w0=7l%zOBL zuUkleU*gx#_g{aPyuep*AYfA77qJ!dnA8scS)qL6j8B)}Gj---=Cg~MUgozoMA}vw zH0?5;vP62Xcp%@E%5y(XicN_$&3SZr%dvY+3)ctEJ5Y2mrz~H?)BG3Dl&=f!hVf=j zmKR?zYv;x{$@Q!nlQj-+3^p_u-2VOM`yb&AS-bNc)@EOskpEh0s~q>W6?b>-?YECz zob`9z+#`(}{+{NI=u1B@IGTR9L}b%f12_*jEZ= zjxS}Xo4b!8h~c_d0K@lRzr2DNfT|h3R}}zR0)Sy#aH5fD-w9yQ_z;|W!Is4^%KNd43EPi??@1Uif z-|p|nPk(1FSp3y(YdYiKjq5+Z`TpX|+u!}OWA=RgsqPT_hG9nf?u&cw^jy(rJ+nFL z(w|(#l!`fv{og!~o^9!0A@$uc{a)DIg%R5e%)d$HeS2HmvEt{J=lSBFPxsbjoDFX4 z`1-zDUp(Tkdw zWvsh?ePucSs$Qhj@_T`stHa*##oyw0tqjDIuCmV_wN$EVGlI@?owmF#9ujy85}Sb4q9e E09B0#ZU6uP diff --git a/docs/html/d7/d69/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html b/docs/html/d7/d69/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html index 7432d9d..6d7ecaa 100644 --- a/docs/html/d7/d69/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html +++ b/docs/html/d7/d69/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: Member List @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.tests.library_test.Test_Catalogue Member List
-
-
- -

This is the complete list of members for pyShelf.src.backend.tests.library_test.Test_Catalogue, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - -
__init__(self) (defined in pyShelf.src.backend.tests.library_test.Test_Catalogue)pyShelf.src.backend.tests.library_test.Test_Catalogue
__init__(self, config) (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
book_folder (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
book_shelf (defined in pyShelf.src.backend.tests.library_test.Test_Catalogue)pyShelf.src.backend.tests.library_test.Test_Catalogue
books (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
compare_shelf_current(self)pyShelf.src.backend.lib.library.Catalogue
config (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
cover_regx (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
db_pointer (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
extract_content(self, book_zip, book)pyShelf.src.backend.lib.library.Catalogue
extract_cover_html(self, book_zip, book)pyShelf.src.backend.lib.library.Catalogue
extract_cover_image(self, book_zip, book)pyShelf.src.backend.lib.library.Catalogue
extract_metadata(self, book)pyShelf.src.backend.lib.library.Catalogue
file_list (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
filter_books(self)pyShelf.src.backend.tests.library_test.Test_Catalogue
html_regx (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
import_books(self, list=None)pyShelf.src.backend.lib.library.Catalogue
opf_regx (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
process_book(book)pyShelf.src.backend.lib.library.Cataloguestatic
root_dir (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
scan_folder(self, _path=None)pyShelf.src.backend.lib.library.Catalogue
- - - - diff --git a/docs/html/d7/d88/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html b/docs/html/d7/d88/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html index e86078a..cb4e721 100644 --- a/docs/html/d7/d88/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html +++ b/docs/html/d7/d88/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.lib.api_hooks.DuckDuckGo Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.lib.config.Config Class Reference
-
-
-
- + Inheritance diagram for pyShelf.src.backend.lib.config.Config:
-
-
- - - - - - - -

-Public Member Functions

def __init__ (self, root)
 
def open_file (self, _cp)
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

book_path
 
TITLE
 
VERSION
 
book_shelf
 
catalogue_db
 
user
 
password
 
db_host
 
db_port
 
file_array
 
root
 
auto_scan
 
-

Detailed Description

-
Main System Configuration
-

Constructor & Destructor Documentation

- -

◆ __init__()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.config.Config.__init__ ( self,
 root 
)
-
-
Initialize main configuration options
-
-
-
-

Member Function Documentation

- -

◆ open_file()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.config.Config.open_file ( self,
 _cp 
)
-
-
Opens config.json and reads in configuration options
-
-

Reimplemented in pyShelf.src.backend.tests.library_test.Test_Config.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/d7/dc4/classpyShelf_1_1src_1_1backend_1_1lib_1_1config_1_1Config.png b/docs/html/d7/dc4/classpyShelf_1_1src_1_1backend_1_1lib_1_1config_1_1Config.png deleted file mode 100644 index b7d4d5a3629ed4321bb75378b8274062202b07ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1106 zcmeAS@N?(olHy`uVBq!ia0y~yVAKGz12~w0I1lrN>a+?4P&h(j{J+PoqQ{L=H?95^-?gesqn*VMy*K)i%^y1J- zLFI&b{eFM=Ru0bR)3%W{J-f! z*#`}Z2YT;qdaIhCb*A5{>Fk*)FH+(pXXszh;WPMqR={BOat^nE@-_zZD*jc>q2DF@ za~x-eHVelubAP8R@yq&@aD?8Bv+sBr^S(%GNIU+Ha`&43YX`&CGrg(uzqK7^I!SJu zt5-a^@VQ}ie?9ApXMb6){OXf>m0Rn+_IOkIm7BXhOVt1FvwHV_@nj2uZS^y6-}`ED z|7(=>o2Rd3`eb}{`E83cjQ%>a@i4yon)i}7SNs9DDBp*2$6E8{AFh7hJ^iQr1plqK z7}klJ)rgB6_#cK8dK!+5EMFKxy);(_dF>QAaQ!8_0&Brq7S@9G^XIFu7OV!b*p~xY z%Ynfil*GgV(lBKK1Cv((1EZ=&LjziDP$vCC+cEd{w%XZs+j4L3^U0YsWzrIDRSi!r z4M)!)2Trd^KwBq?T##Jx>BsGQm9Nh&AGNE@Ob17K|K)doKYprGdFhtz{@XDw-O_Mw zdi>(%{lWqMi#3njo>9+yrIp?DnPsVozPa*oPt}>}ahDuyIpj1`Dz03Vtp>(_X**K< z*KT}XusQ#|v)kF-Z~yO}6L0ltrK!K9lG(oL`qLw1L(UfkC)QmN%t=$bb8?T|<(kH{ zLKf>?<-bcV7j92{zICx;<}=OwCy%5LnMgi$2<`rOLTpN;>6>S#zno}bJ^ZpJxt2dZ z|Hd<>Dt`xm0 z4%qhTxW5T|8BY6(Ti;zeeciI;dir~huXmRQzppy>{mQZF zebZvsPcO57DX@mWSZ8l$zUQy3zw8I+HU9c+VY@zaw(_KsK5g^ab5ga{X*RD( zL6f$GHBDO5AT&jVb;<%2%>^u~o{Y8*z$jb_j6l7w{4(EcUKK=Y0W&)TgQu&X%Q~lo FCICYt?XUm< diff --git a/docs/html/d8/d3d/classsrc_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html b/docs/html/d8/d3d/classsrc_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html index c978887..0bf38c5 100644 --- a/docs/html/d8/d3d/classsrc_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html +++ b/docs/html/d8/d3d/classsrc_1_1backend_1_1tests_1_1library__test_1_1TestCatalogue.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.tests.library_test.TestCatalogue Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.lib.library.Catalogue Member List
-
-
- -

This is the complete list of members for pyShelf.src.backend.lib.library.Catalogue, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - -
__init__(self, config) (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
book_folder (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
book_shelf (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
books (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
compare_shelf_current(self)pyShelf.src.backend.lib.library.Catalogue
config (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
cover_regx (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
db_pointer (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
extract_content(self, book_zip, book)pyShelf.src.backend.lib.library.Catalogue
extract_cover_html(self, book_zip, book)pyShelf.src.backend.lib.library.Catalogue
extract_cover_image(self, book_zip, book)pyShelf.src.backend.lib.library.Catalogue
extract_metadata(self, book)pyShelf.src.backend.lib.library.Catalogue
file_list (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
filter_books(self)pyShelf.src.backend.lib.library.Catalogue
html_regx (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
import_books(self, list=None)pyShelf.src.backend.lib.library.Catalogue
opf_regx (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
process_book(book)pyShelf.src.backend.lib.library.Cataloguestatic
root_dir (defined in pyShelf.src.backend.lib.library.Catalogue)pyShelf.src.backend.lib.library.Catalogue
scan_folder(self, _path=None)pyShelf.src.backend.lib.library.Catalogue
- - - - diff --git a/docs/html/da/d3c/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html b/docs/html/da/d3c/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html index 50ebda1..6c7ab61 100644 --- a/docs/html/da/d3c/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html +++ b/docs/html/da/d3c/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.lib.pyShelf.InitFiles Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.lib.pyShelf.InitFiles Member List
-
-
- -

This is the complete list of members for pyShelf.src.backend.lib.pyShelf.InitFiles, including all inherited members.

- - - -
__init__(self, file_array) (defined in pyShelf.src.backend.lib.pyShelf.InitFiles)pyShelf.src.backend.lib.pyShelf.InitFiles
CreateFile(self, _pointer)pyShelf.src.backend.lib.pyShelf.InitFiles
- - - - diff --git a/docs/html/db/d7d/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html b/docs/html/db/d7d/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html index fcbeb4b..c80f7b9 100644 --- a/docs/html/db/d7d/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html +++ b/docs/html/db/d7d/classsrc_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.lib.pyShelf.BookDisplay Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.lib.storage.Storage Member List
-
- - - - - diff --git a/docs/html/dc/d3e/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue-members.html b/docs/html/dc/d3e/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue-members.html index 921410a..1ec875b 100644 --- a/docs/html/dc/d3e/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue-members.html +++ b/docs/html/dc/d3e/classsrc_1_1backend_1_1tests_1_1library__test_1_1Test__Catalogue-members.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: Member List @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.lib.api_hooks.DuckDuckGo Member List
-
- - - - - diff --git a/docs/html/dd/d4a/classpyShelf_1_1src_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html b/docs/html/dd/d4a/classpyShelf_1_1src_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html deleted file mode 100644 index de26674..0000000 --- a/docs/html/dd/d4a/classpyShelf_1_1src_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: pyShelf.src.backend.lib.api_hooks.DuckDuckGo Class Reference - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.lib.api_hooks.DuckDuckGo Class Reference
-
-
- - - - - - -

-Public Member Functions

-def __init__ (self)
 
def image_result (self, query)
 
- - - -

-Public Attributes

url
 
-

Detailed Description

-
duckduckgo related searching

Member Function Documentation

- -

◆ image_result()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.api_hooks.DuckDuckGo.image_result ( self,
 query 
)
-
-
Returns json containing url to image
-:param _key: &t=h_&iar=images&iax=images&ia=images&format=json&pretty=1
-
-
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/dd/d7e/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html b/docs/html/dd/d7e/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html deleted file mode 100644 index af54bd7..0000000 --- a/docs/html/dd/d7e/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1InitFiles.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: pyShelf.src.backend.lib.pyShelf.InitFiles Class Reference - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.lib.pyShelf.InitFiles Class Reference
-
-
- - - - - - -

-Public Member Functions

-def __init__ (self, file_array)
 
def CreateFile (self, _pointer)
 
-

Detailed Description

-
First run file creation operations

Member Function Documentation

- -

◆ CreateFile()

- -
-
- - - - - - - - - - - - - - - - - - -
def pyShelf.src.backend.lib.pyShelf.InitFiles.CreateFile ( self,
 _pointer 
)
-
-
Checks if file exists and creates it if not
-
-
-
-
The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/dd/df1/classpyShelf_1_1src_1_1backend_1_1tests_1_1config__test_1_1TestConfig-members.html b/docs/html/dd/df1/classpyShelf_1_1src_1_1backend_1_1tests_1_1config__test_1_1TestConfig-members.html deleted file mode 100644 index d0abc73..0000000 --- a/docs/html/dd/df1/classpyShelf_1_1src_1_1backend_1_1tests_1_1config__test_1_1TestConfig-members.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: Member List - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.tests.config_test.TestConfig Member List
-
- - - - - diff --git a/docs/html/dd/df7/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html b/docs/html/dd/df7/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html deleted file mode 100644 index e448586..0000000 --- a/docs/html/dd/df7/classpyShelf_1_1src_1_1backend_1_1lib_1_1pyShelf_1_1BookDisplay-members.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - -pyShelf Open Source Ebook Server: Member List - - - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
-
-
pyShelf.src.backend.lib.pyShelf.BookDisplay Member List
-
- - - - - diff --git a/docs/html/de/d11/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo-members.html b/docs/html/de/d11/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo-members.html index 55b343e..0a29e3e 100644 --- a/docs/html/de/d11/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo-members.html +++ b/docs/html/de/d11/classsrc_1_1backend_1_1lib_1_1api__hooks_1_1DuckDuckGo-members.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: Member List @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - + - - - - -
-
- - - - - - -
-
pyShelf Open Source Ebook Server -  0.3.0 -
-
Open source, console based E-book server
-
-
- - - - - - - -
-
- -
-
pyShelf.src.backend.tests.config_test.TestConfig Class Reference
-
-
- - - - - - - - -

-Public Member Functions

-def test_book_dir (self)
 
-def test_title (self)
 
-def test_version (self)
 
- - - -

-Static Public Attributes

config = Config(os.path.abspath(os.path.curdir))
 
-

Detailed Description

-

The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/html/df/d83/classsrc_1_1backend_1_1tests_1_1config__test_1_1TestConfig.html b/docs/html/df/d83/classsrc_1_1backend_1_1tests_1_1config__test_1_1TestConfig.html index bc28bae..2a36542 100644 --- a/docs/html/df/d83/classsrc_1_1backend_1_1tests_1_1config__test_1_1TestConfig.html +++ b/docs/html/df/d83/classsrc_1_1backend_1_1tests_1_1config__test_1_1TestConfig.html @@ -3,7 +3,7 @@ - + pyShelf Open Source Ebook Server: src.backend.tests.config_test.TestConfig Class Reference @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.4.0 +  0.4.1
Open source, console based E-book server
@@ -28,7 +28,7 @@ - +