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.0.tar.gz (13.5 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.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crawldex_report-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 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.0.tar.gz
Algorithm Hash digest
SHA256 8c8b89f8c4b3a236e0f7787bf37590ae7063e59dce9be543738fff15821c201a
MD5 e8d066070af2da2f85f99474e7c5193c
BLAKE2b-256 54c6872596367a94c5bf13989fb58423a45d6a0d1362c8e5ecb07edcf8604794

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for crawldex_report-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 917f3e84fd98a6ae0fb8be0a2082180f353f866e2eba134c66b730d4cdc1f895
MD5 66a338c49b6494602ada2b5fcb6a7672
BLAKE2b-256 67388ca0a9a2348c4c7bc0d51f2a2c6983dffcb601129fb4afc931211aff37a1

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