py-lead-generation


Namepy-lead-generation JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/Madi-S/Lead-Generation
SummaryLead generation scripts
upload_time2024-09-24 17:56:34
maintainerNone
docs_urlNone
authorMadi-S (Madi Shaiken)
requires_python>=3.10
licenseMIT
keywords python lead generation web automation playwright google maps yelp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Lead-Generation

The updated version of my outdated dirty clumsy with a 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
cd archived
cd google-maps
python extractor.py
```

OR to use the previous archived version
```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 algorithms
    - 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 be 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": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "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/24/b8/74de8a9d87d5badcea2c383d52046d84791c9f31c041558eeefc20c1d3db/py_lead_generation-1.0.1.tar.gz",
    "platform": null,
    "description": "# Lead-Generation\r\n\r\nThe updated version of my outdated dirty clumsy with a 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\ncd archived\r\ncd google-maps\r\npython extractor.py\r\n```\r\n\r\nOR to use the previous archived version\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 algorithms\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 be prevented from going to spam as well\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Lead generation scripts",
    "version": "1.0.1",
    "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": "cfa3901dae18a7f706c9bbe29643213d108dd3215e0404f3b3330d677d70c963",
                "md5": "fbff1f1ee16e8f3ef08143a2299b92ba",
                "sha256": "60c20c52593f141fb8a6a8417befd1c8d44bb5e15efba33116beb3e489499d18"
            },
            "downloads": -1,
            "filename": "py_lead_generation-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fbff1f1ee16e8f3ef08143a2299b92ba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 12146,
            "upload_time": "2024-09-24T17:56:33",
            "upload_time_iso_8601": "2024-09-24T17:56:33.172782Z",
            "url": "https://files.pythonhosted.org/packages/cf/a3/901dae18a7f706c9bbe29643213d108dd3215e0404f3b3330d677d70c963/py_lead_generation-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24b874de8a9d87d5badcea2c383d52046d84791c9f31c041558eeefc20c1d3db",
                "md5": "886d436b879b7917d57e6fbd3ccc1d6a",
                "sha256": "6a3d1171001c377956bf814b4e53ecaa8e53e318fdb569b5efa584208afb7a6a"
            },
            "downloads": -1,
            "filename": "py_lead_generation-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "886d436b879b7917d57e6fbd3ccc1d6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 9638,
            "upload_time": "2024-09-24T17:56:34",
            "upload_time_iso_8601": "2024-09-24T17:56:34.759981Z",
            "url": "https://files.pythonhosted.org/packages/24/b8/74de8a9d87d5badcea2c383d52046d84791c9f31c041558eeefc20c1d3db/py_lead_generation-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-24 17:56:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Madi-S",
    "github_project": "Lead-Generation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "py-lead-generation"
}
        
Elapsed time: 3.30966s