Skip to main content

Python reporter SDK for CrawlDex preflight and outcome reports.

Project description

crawldex-report

Python SDK for CrawlDex preflight checks and score-neutral outcome reporting.

from crawldex_report import CrawlDexReporter

reporter = CrawlDexReporter(
    report_url="https://crawldex.com/api/v1/runs",
    agent_key="aa_agent_...",
    dry_run=True,
)

verdict = reporter.preflight("demo-shop.crawldex.com", "commerce.checkout")

receipt = reporter.report({
    "site": "demo-shop.crawldex.com",
    "task": "commerce.checkout",
    "outcome": "success_with_handoff",
    "friction": ["login_required"],
    "evidence": {
        "artifact": {
            "signals": ["checkout_loaded", "login_required"],
            "removed_fields": ["screenshots", "cookies", "form_values"],
        },
        "artifact_types": ["action_summary"],
        "redaction_status": "hash_only",
    },
})

Runtime code uses only the Python standard library. Build metadata is included for local wheel/sdist creation; do not publish without CrawlDex release credentials and review.

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

crawldex_report-0.1.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

crawldex_report-0.1.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file crawldex_report-0.1.1.tar.gz.

File metadata

  • Download URL: crawldex_report-0.1.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for crawldex_report-0.1.1.tar.gz
Algorithm Hash digest
SHA256 377ac7c7683021f6583f214541a7802952a361e3fc55ee663d2cf96d57a5a1c0
MD5 6e2b5cf780bf901e8d843e94f68f3411
BLAKE2b-256 0f09751c5dbf952e6ef4d394d33191a5aa4ec02ea2980b5a8c263a924a8061cd

See more details on using hashes here.

File details

Details for the file crawldex_report-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for crawldex_report-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 887a5caf0d97d681cd3ac669c7f211ddea57569198bdd9de9d91671766c6342d
MD5 c118a8188bbece5276d3608f61832f97
BLAKE2b-256 6218847d6b6815dffddc8dcf4fa77d6b60fe657d3c3e463a5a7e504b10f36e0e

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