# Lead-Generation
The updated version of my outdated dirty clumsy and having shockingly high amount of stars repository on Python
# Installation
```bash
pip install py-lead-generation
```
[Pypi Link]("https://pypi.org/project/py-lead-generation")
OR
```bash
git clone https://github.com/Madi-S/Lead-Generation
cd Lead-Generation
python run.py
```
# Quickstart
```python
import asyncio
from py_lead_generation import GoogleMapsEngine, YelpEngine
async def main() -> None:
q = input('Enter your search query: ').strip() or 'Barbershop'
addr = input('Enter the location you would like to search in: ').strip() \
or 'Paris'
zoom = float(input('[Optional] Enter google maps zoom: ').strip() or 12)
engine = GoogleMapsEngine(q, addr, zoom)
await engine.run()
engine.save_to_csv()
engine = YelpEngine('Pizza', 'Mexico, Pampanga, Philippines')
await engine.run()
engine.save_to_csv('pizza_leads.csv')
if __name__ == '__main__':
asyncio.run(main())
```
# Current functionality
- Parse Google Maps
- Parse Yelp
- Export collected data to a CSV file
# Expectations of this project:
- Parse Google Maps and Yelp for telephone number, email, address and other information by given keyword
- Somehow parse search results in Google Search for the same information using regex or other algorithm
- Export all parsed data to csv or excel
- For parsed emails send a message, which will be prevented from going to spam
- For parsed telephone numbers send an SMS, which will b prevented from going to spam as well
Raw data
{
"_id": null,
"home_page": "https://github.com/Madi-S/Lead-Generation",
"name": "py-lead-generation",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "python,lead generation,web automation,playwright,google maps,yelp",
"author": "Madi-S (Madi Shaiken)",
"author_email": "<khovansky99@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/01/93/94e1d0a3c263da3f1eb5bb62c478466a2e774eae7852d60b42cd3dcdcc0e/py_lead_generation-1.0.0.tar.gz",
"platform": null,
"description": "# Lead-Generation\r\n\r\nThe updated version of my outdated dirty clumsy and having shockingly high amount of stars repository on Python\r\n\r\n# Installation\r\n\r\n```bash\r\npip install py-lead-generation\r\n```\r\n\r\n[Pypi Link](\"https://pypi.org/project/py-lead-generation\")\r\n\r\nOR\r\n\r\n```bash\r\ngit clone https://github.com/Madi-S/Lead-Generation\r\ncd Lead-Generation\r\npython run.py\r\n```\r\n\r\n# Quickstart\r\n\r\n```python\r\nimport asyncio\r\nfrom py_lead_generation import GoogleMapsEngine, YelpEngine\r\n\r\n\r\nasync def main() -> None:\r\n q = input('Enter your search query: ').strip() or 'Barbershop'\r\n addr = input('Enter the location you would like to search in: ').strip() \\\r\n or 'Paris'\r\n zoom = float(input('[Optional] Enter google maps zoom: ').strip() or 12)\r\n\r\n engine = GoogleMapsEngine(q, addr, zoom)\r\n await engine.run()\r\n engine.save_to_csv()\r\n\r\n engine = YelpEngine('Pizza', 'Mexico, Pampanga, Philippines')\r\n await engine.run()\r\n engine.save_to_csv('pizza_leads.csv')\r\n\r\nif __name__ == '__main__':\r\n asyncio.run(main())\r\n```\r\n\r\n# Current functionality\r\n\r\n - Parse Google Maps\r\n - Parse Yelp\r\n - Export collected data to a CSV file\r\n\r\n# Expectations of this project:\r\n\r\n - Parse Google Maps and Yelp for telephone number, email, address and other information by given keyword\r\n - Somehow parse search results in Google Search for the same information using regex or other algorithm\r\n - Export all parsed data to csv or excel\r\n - For parsed emails send a message, which will be prevented from going to spam\r\n - For parsed telephone numbers send an SMS, which will b prevented from going to spam as well\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Lead generation scripts",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/Madi-S/Lead-Generation"
},
"split_keywords": [
"python",
"lead generation",
"web automation",
"playwright",
"google maps",
"yelp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b98a4a2ce0df14d296856ec919941b9eae3f4461e0579460386f9b119dc0da79",
"md5": "c97dc07f548b7b6f7e48a32e53c710b3",
"sha256": "f610c90dbdc95d6562943990b676c34891bc82e447240f49b1641d09e00a13fd"
},
"downloads": -1,
"filename": "py_lead_generation-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c97dc07f548b7b6f7e48a32e53c710b3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 11919,
"upload_time": "2024-01-11T04:13:15",
"upload_time_iso_8601": "2024-01-11T04:13:15.371246Z",
"url": "https://files.pythonhosted.org/packages/b9/8a/4a2ce0df14d296856ec919941b9eae3f4461e0579460386f9b119dc0da79/py_lead_generation-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "019394e1d0a3c263da3f1eb5bb62c478466a2e774eae7852d60b42cd3dcdcc0e",
"md5": "912871824f2649ce505e530e2047c75b",
"sha256": "3df6fc9844fd3bd8d5758926c2da859747171d2170eead739d759e166c1a5e61"
},
"downloads": -1,
"filename": "py_lead_generation-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "912871824f2649ce505e530e2047c75b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 9524,
"upload_time": "2024-01-11T04:13:16",
"upload_time_iso_8601": "2024-01-11T04:13:16.840815Z",
"url": "https://files.pythonhosted.org/packages/01/93/94e1d0a3c263da3f1eb5bb62c478466a2e774eae7852d60b42cd3dcdcc0e/py_lead_generation-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-11 04:13:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Madi-S",
"github_project": "Lead-Generation",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "py-lead-generation"
}