semvec/pypi-packages huggingface dataset:
aidoc-validator 0.1.6
Python SDK for AI-powered document validation and text extraction
Requires Python: >=3.7

# AI Validator

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

## Installation
```bash
pip install aidoc-validator
```

## Quick Start
```python
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)
```python
validator = Validator(
    apiKey="sk_test_...",
    productId="pId"
)
# Uses: http://127.0.0.1:5002
```

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

### Custom URL
```python
validator = Validator(
    apiKey="sk_test_...",
    productId="pId",
    baseUrl="http://your-custom-domain.com"
)
```
wapi2nsconf 0.6.1
Infoblox WAPI to DNS server configuration tool
Requires Python: <4.0,>=3.11

# Infoblox WAPI to Nameserver

This program creates nameserver configuration files for secondary name servers based on configuration fetched via [Infoblox](https://www.infoblox.com/) WAPI.

The following nameserver formats are supported:

- [ISC BIND](https://www.isc.org/bind/)
- [NLnet Labs NSD](https://www.nlnetlabs.nl/projects/nsd/)
- [Knot DNS](https://www.knot-dns.cz/)


Development of this software was sponsored by [AddPro AB](https://addpro.se/).


## Installing

This program is available via [PyPI](https://pypi.org/) and the latest version may be install using the following command:

    pip install wapi2nsconf


## Building

This package uses [UV](https://docs.astral.sh/uv/) for packaging and dependency management. To build a wheel, use:

    uv build


## Templates

The following default configuration templates are provided:

- bind.conf
- knot.conf
- nsd.conf
- zones.yaml.j2
- zones.json.j2

## Configuration

The configuration file is written in [YAML](https://yaml.org/). Example configuration can be found below.

### WAPI Connection

    wapi:
      endpoint: https://infoblox.example.com/wapi/v2.5
      version: 2.5          # optional (guessed from endpoint URL)
      username: username
      password: password
      check_hostname: True  # default True
      verify: True          # default True
      ca_bundle: ca.pem     # optional

### IPAM Filters

The IPAM filters configures what view to use to find zones. Zones can also be filtered based on name server groups (`ns_groups`) and external attribute (key/value). There's a logic OR between `ns_groups` and `extattr_key`, so a zone is include if it is qualified by any of these options. If the `extattr_value` is configured, the `extattr_key` must have this value. If not specified, any value of `extattr_key` is accepted.

    ipam:
      view: default
      ns_groups:
        - "Group1"
        - "Group2"
      extattr_key: "foo"
      extattr_value: "bar"

### DNS Hidden Masters

    masters:
      - ip: 10.0.0.1
        tsig: tsig.example.com

### Configuration File Output

The `output` section defines what configuration files to output. Each output is created using a template, output file and an optionally set of variables (defined per template).

    output:

      - template: knot.conf
        filename: knot.conf
        variables:
          master_base: infoblox
          template_id: infoblox
          storage: /var/lib/knot/zones

      - template: nsd.conf
        filename: nsd.conf
        variables:
          storage_prefix: ""

      - template: bind.conf
        filename: bind.conf
        variables:
          master: infoblox
          storage_prefix: /var/named/infoblox/