Catalog PyPI
PACKAGE EXPLORERView in registry

aice-crawler

PyPI

Python SDK for the AICE Crawler Service

Versions collected1
Direct dependencies4From release 0.1.2
Last observed21 Oct, 10:07 UTC

README

Version 0.1.2 documentation

aice-crawler

Python SDK for the Crawler Service — multi-tenant web crawler with a page budget and an approve-then-publish flow into the Knowledge Service.

from aice_crawler import CrawlerClient

client = CrawlerClient(base_url="https://crawler.example.com", api_key="sk-…")

job = client.jobs.create(
    start_urls=["https://docs.example.com"],
    page_budget=500,
)

client.jobs.start(job["id"])

for page in client.jobs.list_pages(job["id"]):
    ...

client.jobs.approve(job["id"])
client.jobs.publish(job["id"])

Endpoints covered (see crawler_service/app/api/routes.py):

  • POST /jobs, GET /jobs, GET /jobs/{id}
  • POST /jobs/{id}/start, GET /jobs/{id}/pages, GET /pages/{id}
  • POST /jobs/{id}/approve, POST /jobs/{id}/publish
  • PUT /jobs/{id}/schedule, GET /jobs/{id}/runs, POST /jobs/{id}/reclean
  • GET /policy, PUT /policy

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.228 Sept 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e4c1593a80e6533c18ba633a2ab8d56274f24c371fa9f0b36480cfcd3b842246