No project description provided
Project description
ImageEngine
ImageEngine is a Python package that allows users to search and download images from multiple sources such as DuckDuckGo, Bing, and Google. With a simple interface and command-line tools, you can easily obtain images related to any search term.
Features
- Search DuckDuckGo: Download images using the DuckDuckGo search engine.
- Search Bing: Download images using the Bing search engine.
- Search Google, DuckDuckGo, and Bing: Download images from all three search engines with a single command.
Installation
To install the package, simply run:
pip install ImageEngine
Alternatively, you can clone the repository and install it locally:
git clone https://github.com/your-username/ImageEngine.git
cd ImageEngine
pip install .
Usage
Command Line Interface (CLI)
After installing the package, you can use the following commands from your terminal:
-
Search and download images from DuckDuckGo:
search-ddg --term="cute puppies" --path="puppy_images" --max_images=10
-
Search and download images from Bing:
search-bing --term="beautiful landscapes" --path="landscapes" --max_images=20
-
Search and download images from Google, DuckDuckGo, and Bing:
search-web --term="happy animals" --path="animals" --max_images=30
Using Functions in Python Scripts
You can also import the functions directly in your Python scripts:
from ImageEngine.search_duckduckgo import searchDDG
from ImageEngine.search_bing import searchBing
from ImageEngine.search_web import searchWeb
# Search images from DuckDuckGo
searchDDG(term="sunsets", path="sunset_images", max_images=10)
# Search images from Bing
searchBing(term="mountain views", path="mountain_images", max_images=15)
# Search images from all three engines
searchWeb(term="cute cats", path="cat_images", max_images=20)
Requirements
- Python 3.6 or higher
duckduckgo_search
fastai
icrawler
- Other dependencies listed in
setup.py
Contributing
Contributions are welcome! Please fork the repository and submit a pull request to contribute.
License
This project is licensed under the MIT License. See the LICENSE
file for more details.
Contact
For any inquiries or issues, please contact jay.punekar@icloud.com.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ImageEngine-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9800e055568ae3e036b2cc64ef94d7ca7c79ed1dc11232237fbb40406c649aa |
|
MD5 | 3bead4a45efe1b82e65324e734a82912 |
|
BLAKE2b-256 | 260670841d08757d30d414ddb8a8f6ed66cdf41e8912de2a537de4db32337d05 |