Skip to main content

LangChain tools for the Geonode Scraper API

Project description

Geonode Scraper LangChain Tools

LangChain tools for the Geonode Scraper API.

This package depends on geonode-scraper-tools-core for the shared service, schemas, and operation registry.

Installation

pip install geonode-scraper-langchain

Usage

from geonode_scraper_langchain import build_langchain_tools
from geonode_scraper_tools_core import ScraperToolSettings

settings = ScraperToolSettings(
    host="https://api.example.com",
    api_key="your-api-key",
)

tools = build_langchain_tools(settings=settings)

Selecting a Subset of Tools

Pass an operations list to expose only the tools you need.

tools = build_langchain_tools(
    settings=settings,
    operations=["extract", "map_urls", "create_batch", "wait_for_batch"],
)

Exposed Tools

Extraction

  • scraper_extract_content
  • scraper_get_job_result
  • scraper_wait_for_job
  • scraper_list_jobs

Batch

  • scraper_create_batch
  • scraper_get_batch_status
  • scraper_wait_for_batch
  • scraper_list_batch_jobs

Crawl

  • scraper_create_crawl
  • scraper_get_crawl_status
  • scraper_wait_for_crawl
  • scraper_list_crawl_jobs

Map

  • scraper_map_urls
  • scraper_list_map_jobs
  • scraper_get_map_job

Statistics & Health

  • scraper_get_statistics
  • scraper_check_health

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

geonode_scraper_langchain-0.3.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

geonode_scraper_langchain-0.3.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file geonode_scraper_langchain-0.3.0.tar.gz.

File metadata

File hashes

Hashes for geonode_scraper_langchain-0.3.0.tar.gz
Algorithm Hash digest
SHA256 591c2c2c072a4d7322a970bd578a6cbf75495ad822ba5b155b496809cb398520
MD5 f939575992459f2fbd952ea815c79fa9
BLAKE2b-256 762e8000b63096a8e952a439e646675e33220bf1dd6b38857ebc508d5454c9fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for geonode_scraper_langchain-0.3.0.tar.gz:

Publisher: python-langchain-tools-publish.yml on geonodecom/scraper-api-sdks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geonode_scraper_langchain-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geonode_scraper_langchain-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c0a66f5ea857bce7650d418d4e05645131e0010f2131374b3ea41eba7101a8
MD5 c34e073037cdf2fe109126e92f12906c
BLAKE2b-256 efc943a1bcfe92fb27a677799a014445849261f9a30ff090624a25ad752ddf78

See more details on using hashes here.

Provenance

The following attestation bundles were made for geonode_scraper_langchain-0.3.0-py3-none-any.whl:

Publisher: python-langchain-tools-publish.yml on geonodecom/scraper-api-sdks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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