Skip to main content

AI Validator

Python SDK for AI-powered document validation and text extraction.

Installation

pip install aidoc-validator

Quick Start

from aiValidator import Validator

# Initialize
validator = Validator(
    apiKey="sk_test_your_api_key",
    productId="pId"
)

# Extract text (user already has publicUrl from their S3/storage)
result = validator.extractText(
    publicUrl="https://your-bucket.s3.amazonaws.com/document.pdf",
    fc="identityProof",
    fid="F123",
    uid="U456"
)

print(f"Status: {result['status']}")
print(f"Queue: {result['payload']['queueName']}")

Features

  • Text extraction from documents
  • Face validation
  • Combined validation
  • Webhook support for async results

Configuration

Development (default)

validator = Validator(
    apiKey="sk_test_...",
    productId="pId"
)
# Uses: http://127.0.0.1:5002

Production

validator = Validator(
    apiKey="sk_prod_...",
    productId="pId",
    environment="production"
)
# Uses: https://api.yourproduction.com

Custom URL

validator = Validator(
    apiKey="sk_test_...",
    productId="pId",
    baseUrl="http://your-custom-domain.com"
)

Metadata

Release files for aidoc-validator 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aidoc-validator 0.1.6
File Size Uploaded Provenance Actions
aidoc_validator-0.1.6.tar.gz 5.2 kB Without provenance Details for aidoc_validator-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aidoc-validator 0.1.6
File Interpreter ABI Platform Actions
aidoc_validator-0.1.6-py3-none-any.whl Python 3 none any Details for aidoc_validator-0.1.6-py3-none-any.whl

Total release size: 10.9 kB

Release files / aidoc_validator-0.1.6.tar.gz

Download URL aidoc_validator-0.1.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ddb9c8ed904d2763f8a700b44d6d395dc18ea98806881465c695b85c532512bd
BLAKE2b-256 checksum
How to use checksums
137636c7abf1d9f3333c8fa750b51aa21a4e162f9adad44d7d0704d36186bb2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / aidoc_validator-0.1.6-py3-none-any.whl

Download URL aidoc_validator-0.1.6-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1152cd135cab8b5d5cc4b3420bd4dc6388e19ce9251dae71a093ea1dc98e590
BLAKE2b-256 checksum
How to use checksums
fc3a518f06274993f0af19aa173f4018fa7dd090f164ffe30ce0457036c38830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Security for aidoc-validator 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page