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

Crawl

  • scraper_create_crawl
  • scraper_get_crawl_status
  • scraper_wait_for_crawl

Map

  • scraper_map_urls

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.2.0.tar.gz (3.4 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.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for geonode_scraper_langchain-0.2.0.tar.gz
Algorithm Hash digest
SHA256 afa1e9d95dcf03ee62bc3598ed5b3af31281b1f9293692bcb9545949c9b11717
MD5 c95f2bc996b2fc6a6200d4f9c5210d9f
BLAKE2b-256 ea2f5af8f088f1240b440b71df32599d2b883f222da6f9c8c2d04a5cd4fcaab8

See more details on using hashes here.

Provenance

The following attestation bundles were made for geonode_scraper_langchain-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geonode_scraper_langchain-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a77ee175b0c463d0694be2972e4b373fbf9c9a3412d0b976ad7274b407f4d8d9
MD5 63fbaa373d2814a6a6409f676bf0b228
BLAKE2b-256 3993df7a2ac850ed8057be73bc49a38b6ef1184acadc58603a79485263fb1acd

See more details on using hashes here.

Provenance

The following attestation bundles were made for geonode_scraper_langchain-0.2.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