MeoBook
A module to search and download a book from the internet
Description
This is a package for searching a book and downloading it from the internet
Installation
pip install meobook
Usage
from meoBook import MeoBook
meobook = MeoBook()
#the search method will return maximum of 5 books by default in a list of Book object
list_of_book = meobook.search_book("git hub cheat sheet")
#Download one book
book1 = list_of_book[0].download("/your/destination/path")
#
Docs
Methods in MeoBook object
self.search_book(keyword, limit=5)
limit parameter limits the return results from self.search_book function
Methods in Book object
download(directory) method will download the book in the directory which is provided with the title of the book as a file name
self.download('destination/directory/')
Book object attributes
self.title : Title of the books. (str)
self.description: A short description of the book.(str)
self.link: link of the book (str).
self.size: size of the book in bytes (int).
self.size_mb: Size of the book in MegaByte. (float).
self.page_numer: Page number. (may be none because the information is missing) (int)
Credits
Tina Hubert Ratolojanahary (rtinahubert@gmail.com, https://tina-rt.netlify.app)
Made in Madagascar
Metadata
Release files for meobook 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| meobook-0.1.1.tar.gz | 3.5 kB | Without provenance | Details for meobook-0.1.1.tar.gz |
Release files / meobook-0.1.1.tar.gz
| Download URL | meobook-0.1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcb1cbbad1c7eff8a12f7056b4d2c74689658e0464edec18aedb2cf32c34f180
|
|
BLAKE2b-256 checksum How to use checksums |
387f7f57d1e800753fb25a58c49a07035a7dcd22a42a793294cdd86927ba8a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.60.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4
|
Security for meobook 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.