
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
google-places-scraper
Advanced tools
A Python wrapper and CLI tool to scrape nearby places using the Google Places API. Useful for lead generation, local business discovery, and location data gathering.
From PyPI:
pip install google-places-scraper
From local build:
pip install dist/google_places_scraper-0.1.0-py3-none-any.whl
For development (editable mode):
pip install -e .
You can use it directly in your Python scripts:
from google_places_scraper import GooglePlacesScraper
scraper = GooglePlacesScraper(api_key="YOUR_GOOGLE_API_KEY")
scraper.run(
user_location_input="Karachi Pakistan",
radius=3000,
type_="school",
export_format="csv", # Options: csv, json, yaml
max_results=50
)
After installation, run the CLI:
google-places-scraper
You’ll be prompted to enter:
Enter your Google Places API Key: AIzaxxxxx Enter location name or 'latitude,longitude': Karachi Enter radius in meters (default 5000): 3000 Export format (csv/json/yaml) [default=csv]: csv Enter type of place (default=school): school Max number of results (leave blank for no limit): 10
The tool generates one of the following files based on your export format:
leads.csv
leads.json
leads.yaml
Containing the following fields:
name
formatted_address
formatted_phone_number
website
Example (CSV):
name,formatted_address,formatted_phone_number,website "ABC School","Main Street, Karachi","021-1234567","http://abcschool.edu.pk"
Build the package:
rm -rf dist build *.egg-info python -m build
or
make install
then
twine upload dist/*
Reinstall after changes:
pip install --force-reinstall dist/google_places_scraper-0.1.0-py3-none-any.whl
FAQs
A wrapper to scrape Google Places API with logging and export support
We found that google-places-scraper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.