Skip to main content

Enumerate, Search, Parse, and Iterate - A tool for structured data extraction from search results

Project description

espai (Enumerate, Search, Parse, and Iterate)

A powerful tool for structured data extraction from search results using Google Search and Gemini AI.

Features

  • Parse natural language queries into structured search parameters
  • Automatically discover and enumerate search spaces
  • Perform intelligent Google searches
  • Extract structured data from search results using Gemini AI
  • Store results in efficient Polars DataFrames
  • Real-time progress tracking
  • Multiple output formats (CSV, JSON, Parquet)

Installation

pip install espai

Usage

Basic usage:

espai "Athletic center names and addresses in all California zip codes"

With options:

espai "Athletic center names and addresses in all California zip codes" \
  --max-results=10 \
  --output-format=csv

Configuration

Set your API keys as environment variables:

export GOOGLE_API_KEY="your_google_api_key"
export GOOGLE_CSE_ID="your_google_cse_id"
export GEMINI_API_KEY="your_gemini_api_key"

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

espai-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

espai-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file espai-0.1.0.tar.gz.

File metadata

  • Download URL: espai-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.4.0

File hashes

Hashes for espai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f8a564b72a5a5402f2f4f097be39baf8629fa9434bf9a48e79442105ea9221a
MD5 79a5b013ce26bc8577c7cc51d3c25a08
BLAKE2b-256 03597a75d7ce7e17d7598b2aaa498387b240513af2a2fd4eb5b89d610503c233

See more details on using hashes here.

File details

Details for the file espai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: espai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.4.0

File hashes

Hashes for espai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6fbb3289d5b121583a733fc1ecce526e969f91e7b221dfd57b25ebd143f227e
MD5 6eda64af4cd68fc70c724117ed18544b
BLAKE2b-256 a47793993b68c7bc934fd9ab071f3fcd6650808fb6ea7af626cc52caa18055bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page