Skip to main content

Command Line Interface app to download ebooks.

Project description

Downloads pypi

BookCut is a Python Command Line Interface tool, that help the user to download free e-books, organise them in folders by genre, retrieve book details by ISBN or title, get a list with all the books from a writer and save them to .txt file.

With the help of LibGen, ArXiv and OpenLibrary.

REQUIREMENTS

  • Python 3

  • python3-pip

Installation

  • Install with pip:

pip install bookcut
#or if you have also Python 2
pip3 install bookcut

Usage

Searching and downloading books:

  • Download a single book:

bookcut book -b "White Fang" -a "Jack London"
  • Download a list of books:

bookcut list "FreeEbooksToDownload.txt"
  • Organise a folder full of e-books to folders according to genre:

bookcut organise "full/path/to/folder"

  • Search LibGen, output the results and download e-book:

bookcut search -t 'Homer Odyssey'
  • Search more book repositories with the –repos option:

bookcut search -t 'Homer Odyssey' --repos 'libgen,arxiv'

Available book repositories: Libgen, ArXiv


  • Get the details of a book by title and author, or simply ISBN.

bookcut details -b 'Homer Iliad'
  • Get a list with all the books from an author,with an option to save to .txt:

bookcut all-books -author 'Stephen King'

Searching and downloading articles:

Now you can use bookcut to search and download scientific articles.

  • Search with the Digital Object Identifier:

bookcut article --doi "10.1126/science.196.4287.293"

  • Search with the exact title:

bookcut article --title "Ribulose Bisphosphate Carboxylase  A Two-Layered, Square-Shaped Molecule of Symmetry"

Configuration

  • Also you can change some basic settings of BookCut. For more check:

bookcut config --help

TO-DO

  • Add Tests

  • Add documentation

  • Add more sources with free e-books

  • Fix organiser so it can use all types of files

  • Add a logger.

Copyrights

Please use the bookcut app to download only free e-books that are legally distributing through BookCut repositories. Bookcut contributors do not have any responsibility for the use of the tool.

Contributing

Pull requests are welcome, this is my first project so be kind. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BookCut-1.3.7-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file BookCut-1.3.7-py3-none-any.whl.

File metadata

  • Download URL: BookCut-1.3.7-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.3

File hashes

Hashes for BookCut-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c2255bb6b3141efd4114439a20dd82ce51d27ca9970757b55c0cb12032f83302
MD5 72c70351881c43989e1ad4aa4ff426d1
BLAKE2b-256 0c0f44bb9b4da93d7d74482bdc8d24384c0fe8bd6826e10c8900733661078aad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page