Skip to main content

mapscopex

mapscopex searches Google Maps for businesses and attempts to extract email addresses from their websites.

Install

pip install mapscopex

Public API

from mapscopex import collect_searchprobe, searchprobe
  • searchprobe(keyword, location, max_items=None) streams cumulative results as they are found.
  • collect_searchprobe(keyword, location, max_items=None) waits for the scrape to finish and returns the final list once.

Usage

Streaming search

from mapscopex import searchprobe

for results_so_far in searchprobe(
    keyword="lawyers and law firm",
    location="Houston, TX",
    max_items=None,
):
    print(results_so_far[-1])

searchprobe() yields the cumulative result set each time a new business is found.

max_items=None searches until Google Maps stops yielding new businesses.

Collect final results

from mapscopex import collect_searchprobe

results = collect_searchprobe(
    keyword="lawyers and law firm",
    location="Houston, TX",
    max_items=None,
)

collect_searchprobe() waits for the search to finish and returns the final list once.

Output Shape

Each result is a dictionary with these keys:

{
    "name": str,
    "category": str,
    "address": str,
    "city": str,
    "state": str,
    "zip": str,
    "phone": str,
    "website": str,
    "emails": list[str],
}

searchprobe() yields a list of these dictionaries after each new business is added. collect_searchprobe() returns the final list once the scraper stops.

Release Notes

The current package version is 0.1.4. That is a reasonable initial public release while the API is still settling.

Release files for mapscopex 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapscopex 0.1.4
File Size Uploaded
mapscopex-0.1.4.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mapscopex 0.1.4
File Interpreter ABI Platform
mapscopex-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 17.4 kB

Release files / mapscopex-0.1.4.tar.gz

Download URL mapscopex-0.1.4.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3d3b851262f4b15e663dc9552ed45c37d812032cd7e13eb1d4d142b032f1d3d3
BLAKE2b-256 checksum
How to use checksums
08b3fe6e8bdaa17c544ff85fb854d91a36ca49905502cf9a7823cfa1167f0040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 7, 2026.

Transparency log

Release files / mapscopex-0.1.4-py3-none-any.whl

Download URL mapscopex-0.1.4-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
763f3b38dbc9bf11bcbdefe3e030cea8923b2a2652b502b077893a8d5625b740
BLAKE2b-256 checksum
How to use checksums
a6397dfad2c233876cc73d3d89cf9530e470f45f727a71c0d53907863e4716c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page