PySimpleGUI / SpringerFreeBooks_GUI

GUI to download the free books released by Springer during the COVID19 quarantine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PySimpleGUI based GUI to download all Springer books released for free during the 2020 COVID-19 quarantine

This repo has the code that dowhnloads the files:

https://github.com/alexgand/springer_free_books

It lacks a GUI and control of where to save the files which is what this new program provides.

Using

Run the program PSG_Download_Springer_Books.py

You will be prompted for a folder to save the books to. In that folder a subfolder named "springer_books" will be created.

Books will be downloaded to this subfolder and categorized by subject.

The books are organized according to the subject ("English Package Name" column).

If you want just one or two specific books, get the excel file from the folowing link and download the titles you seek:

https://resource-cms.springernature.com/springer-cms/rest/v1/content/17858272/data/v4

The GUI Additions

The addition of the GUI was not a difficult one to add to this program. You will find that converting most command line programs into a GUI program are easy when using PySimpleGUI. There were 2 primary changes.

  1. Where the code previously had a path that was hard coded, replace with a call to popup_get_folder
  2. Added a "smarter progress meter". TQDM is OK. It's better than nothing

Each of these changes amounted to 7 lines of code. The result is a program that could be make into an EXE file and distributed to anyone. Previously you had to modify the source code to change the download folder so creating an EXE file wouldn't have helped. You would also have to continue to run as a command line program as the TQDM output is to the console.

If you're just getting into GUIs, try converting somee of your programs like this.

Information about Springer Books' Generous Gestrure

Spreadsheet listinging available books

Screenshots

image

One thing that the original program did not provide you was the ability to safely abort the download. Nor were you informed about the estimated download time.

image

This softwared is licensed using LGPL3

Requires

PySimpleGUI

ezoic increase your site revenue

About

GUI to download the free books released by Springer during the COVID19 quarantine

License:GNU General Public License v3.0


Languages

Language:Python 100.0%