🐍 PyIdeAI
Welcome to PyIdeAI! This Python module allows you to interact with the ideai.dev website using Selenium WebDriver. With PyIdeAI, you can easily retrieve similar products to your ideas, thanks to our friends at ideai.dev & power of web scraping.
🚀 Features
- Browser Compatibility: Choose between Firefox and Chrome for your preference.
- Easy to Use: Simple methods to retrieve project information based on user prompts.
- Headless Mode: Run the browser in headless mode for faster execution without a GUI.
📦 Installation
You can install PyIdeAI directly from PyPI using pip:
pip install pyideai
Alternatively, if you want to install it from the source, follow these steps:
-
Clone the repository:
git clone https://gitlab.com/mutkuoz/pyideai.git cd pyideai
-
Install the required packages:
pip install -r requirements.txt
-
Install the module:
pip install .
🛠️ Usage
Here's how to use the PyIdeAI module in your Python scripts:
from pyideai import PyIdeAI
# Initialize the PyIdeAI class
ideai = PyIdeAI(browser="c", is_shown=True) # Use "f" for Firefox
# Retrieve similar projects based on your idea
user_input = "Your innovative project idea"
result = ideai.retrieve_similar_projects(user_input)
# Print the results
for project in result:
print(f"Title: {project['title']}")
print(f"Description: {project['description']}")
print(f"Link: {project['link']}")
print(f"Tags: {', '.join(project['tags'])}\n")
🌐 Example
If you want to find projects similar to "AI-Powered Chatbot", you can run:
result = ideai.retrieve_similar_projects("AI-Powered Chatbot")
📄 Documentation
Class: PyIdeAI
-
__init__(self, browser="f", driver_options=None, is_shown=False): Initializes the PyIdeAI class with the specified browser and options.browser: Choose "f" for Firefox or "c" for Chrome.driver_options: Options for the selected browser.is_shown: Set toTrueto run the browser in visible mode.
-
retrieve_similar_projects(user_prompt): Navigates to ideai.dev, submits a user prompt, and returns a list of projects extracted from the resulting page.
🤝 Contributing
We welcome contributions! If you have suggestions or improvements, feel free to open an issue or submit a pull request.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
📞 Contact
For any inquiries, please reach out to Mehmet Utku ÖZTÜRK.
Happy coding! 🎉
Release files for pyideai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyideai-0.1.0.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyideai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / pyideai-0.1.0.tar.gz
| Download URL | pyideai-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2046390540ac83f7998d2ceff90fb2c83973aadf6838aea24900abc9fa7a635
|
|
BLAKE2b-256 checksum How to use checksums |
e2aaf4869ce2938afa240925cbd92d1525d0536081d5a3be99041b90218ce49b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / pyideai-0.1.0-py3-none-any.whl
| Download URL | pyideai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8dc8266cdca280e7adb0f90b9d63135a20414b365464247fee688b81ef24de8
|
|
BLAKE2b-256 checksum How to use checksums |
314492fd93bad5db4a025885ccdd0d134d2327ca38a5ac015c9b7ff3d7d6f7bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|