semvec/pypi-packages huggingface dataset:
search-python 1.0
A fast, efficiency python package for searching and getting search results with many different search engines.
Requires Python: >3.0.0

# search
A fast, efficiency python package for searching and getting search results with many different search engines.
# Installation
To install the package, run the following command:
```bash
python3 -m pip install search-python
```
Or install from Github:
```bash
python3 -m pip install git+https://github.com/Neurs1/search.git
```
# Features
This package support many different search engines.
Provide the best speed with BS4 using lxml.
Fix bugs, adapt new features and page design from fearch engines.
Output in dict type, easier to interact with.
# Usage
Search using multiple search engines!
```python3
import search
search.google("Python")
search.bing("Python")
search.yahoo("Python")
```
Customize Google search engine:
```python3
import search
search.google("Python", max_results = 30, lang = "en")
```
You could use your own proxy:
```python3
import search
search.google("Python", proxies = {
    "https": "https://example.com"
  })
```
# Output format
Example `search.google("YouTube")`:
```python3
{
  0: {
    "title": "YouTube",
    "url": "https://www.youtube.com/"
  },
  1: {
    "title": "YouTube - Apps on Google Play",
    "url": "https://play.google.com/store/apps/details?id=com.google.android.youtube&hl=en_US&gl=US"
  },
  2: {
    "title": "YouTube - Home | Facebook",
    "url": "https://www.facebook.com/youtube/"
  },
  3: {
    "title": "YouTube - Wikipedia",
    "url": "https://en.wikipedia.org/wiki/YouTube"
  }
}
```
How to access search results:
```python3
import search
results = search.google("YouTube")
#At the first result, get the title of the result.
print(results[0]["title"])
#At the second result, get the url of the result.
print(results[1]["url"])
```
Output:
```bash
YouTube
https://play.google.com/store/apps/details?id=com.google.android.youtube&hl=en_US&gl=US
```
# Supported search engines
- Google
- Bing
- Yahoo
- Aol
You could pull a request for other search engines.
# Known issues
I could only find max results and languages in Google search engine, still trying to figure it out on other search engines.
auto-whatsapp 0.0.5
Automating WhatsApp using python with custom multiple messaging options, attachment options and supporting images and video sending
Requires Python: >=3.6
Keywords: automate,whatsapp,py-whatsapp,web_whatsapp,python_whatsapp

# auto_whatsapp
Automating WhatsApp using python with custom multiple messaging options, attachment options and supporting images and video sending as well. *auto_whatsapp* also persist your login state once QR code is scanned on web whatsapp.

## Setup
### Installation
In the terminal type the following
```python
pip install auto_whatsapp
```

### Usage
Import *auto_whatsapp* module use its ```sendChat``` function to send messages.
```python
from auto_whatsapp import auto_whatsapp

msg = 'This is a test message'
users = ["user1", "user2", "+91 9876543210"]
auto_whatsapp.sendChat(users, msg)
```
users1 and user2 are saved contact name according to your use case.<br>
Messages can also be send to unsaved contacts like ```+91 9876543210``` as shown above.
Just run the code you can see the magic happening. It will open web whatsapp automatically send the given message to specified users.

> Make sure you have selenium installed <br>```pip install selenium``` <br>and have chromedriver in the same directory. If you don't have chromedriver installed click [here](https://chromedriver.chromium.org/downloads)

___

## Examples
### Sending a document
```python
from auto_whatsapp import auto_whatsapp

users = ["user1", "user2", "+91 9876543210"]
src = 'C:\\Users\\Your_user\\Desktop\\dots.jpg'
auto_whatsapp.sendDoc(users, src)
```

> Note that you have to provide absolute path as src argument and with double backslackes(\\) as shown in example.

### Sending a media
Media can be images, videos or audio which whatsapp supports.
```python
from auto_whatsapp import auto_whatsapp

users = ["user1", "user2", "+91 9876543210"]
src = 'C:\\Users\\Your_user\\Desktop\\dots.jpg'
auto_whatsapp.sendMedia(users, src)
```

> Note that you have to provide absolute path as src argument and with double backslackes(\\) as shown in example.

___

## License
*auto_whatsapp* is been licensed under [MIT LICENSE](https://github.com/adil-01/auto-whatsapp/blob/main/LICENSE)