Python SDK for AI-powered document validation and text extraction
Project description
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"
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aidoc_validator-0.1.6.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aidoc_validator-0.1.6.tar.gz.
File metadata
- Download URL: aidoc_validator-0.1.6.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddb9c8ed904d2763f8a700b44d6d395dc18ea98806881465c695b85c532512bd
|
|
| MD5 |
19fbb5547e192b971c12eef52f17dd99
|
|
| BLAKE2b-256 |
137636c7abf1d9f3333c8fa750b51aa21a4e162f9adad44d7d0704d36186bb2f
|
File details
Details for the file aidoc_validator-0.1.6-py3-none-any.whl.
File metadata
- Download URL: aidoc_validator-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1152cd135cab8b5d5cc4b3420bd4dc6388e19ce9251dae71a093ea1dc98e590
|
|
| MD5 |
17b306e0b95be6a1e1b64df51b80a1ee
|
|
| BLAKE2b-256 |
fc3a518f06274993f0af19aa173f4018fa7dd090f164ffe30ce0457036c38830
|