Metadata-Version: 2.1
Name: meobook
Version: 0.1.0
Summary: Module to search and download a book from the internet
Home-page: https://github.com/Tina-rt/meobook
Author: Tina Ratolojanahary
Author-email: <rtinahubert@gmail.com>
License: UNKNOWN
Project-URL: Github, https://github.com/Tina-rt/meobook
Keywords: module to download pdf ,python download book,pdf downloader,book search engine module
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown

# 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
```bash
pip install meobook
```
## Usage
```Python
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
```python
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
```python
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


