Skip to main content

appraisal-forge-sdk

Python SDK + CLI for interacting with the Appraisal Forge API.

Install

pip install appraisal-forge-sdk

Environment

export APPRAISAL_FORGE_URL=https://your-instance.com
export APPRAISAL_FORGE_TOKEN=your-api-token

CLI

Create appraisal:

appraisal-forge create --name "123 Main" --subject-address "123 Main St, Raleigh, NC 27601"

Read fields:

appraisal-forge fields-read --appraisal-id 123 --prefix 0100

Write fields from JSON file:

appraisal-forge fields-write --appraisal-id 123 --json fields.json

Validate:

appraisal-forge validate --appraisal-id 123

Status summary:

appraisal-forge status --appraisal-id 123

Upload photo:

appraisal-forge upload-photo --appraisal-id 123 --field-id 2100.0087 --image-path ./front.jpg --label Front

Token and connectivity helpers:

appraisal-forge tokens
appraisal-forge create-token --label "Claude Desktop" --scope full
appraisal-forge revoke-token --token-id 12
appraisal-forge verify-token
appraisal-forge connection-info
appraisal-forge login --api-url http://localhost:8090
appraisal-forge relay-status
appraisal-forge relay-start --agent-cmd "codex exec '{message}'"
appraisal-forge relay-resume
appraisal-forge relay-watch
appraisal-forge relay-stop

Notes:

  • create-token defaults to a sdk-scoped token; use --scope full only for CLI/SDK token-management or connection bootstrap tasks.
  • connection-info returns MCP and field-api endpoints, including a ready-to-copy claude_cli_config stanza.
  • verify-token validates the current bearer token and returns a normalized payload with valid, error, and token metadata.
  • login runs browser-based device auth and saves token/api-url to ~/.appraisal-forge/config.json (or APPRAISAL_FORGE_CONFIG_DIR).
  • relay-start and relay-resume default to local-worker mode (runs on the user's machine, not the server container).
  • Use --mode server only for diagnostics.
  • relay-resume is the restart command for users after closing/reopening CLI; it reuses the last saved relay command and appraisal id.
  • relay-watch keeps the local worker alive and auto-restarts it if it exits.

Config-driven fill:

appraisal-forge fill --config ./fill-config.json

Resume existing appraisal:

appraisal-forge fill --config ./fill-config.json --appraisal-id 123

Dry run:

appraisal-forge fill --config ./fill-config.json --dry-run

Example fill-config.json:

{
  "report_name": "123 Main",
  "subject_address": "123 Main St, Raleigh, NC 27601",
  "property_config": "ADDRESS: 123 Main St, Raleigh, NC 27601",
  "uad_fields": {
    "0100.0009": "Raleigh",
    "0100.0011": "NC",
    "0100.0012": "27601"
  },
  "validate_after": true
}

Python SDK

from appraisal_forge_sdk import AppraisalForgeClient

client = AppraisalForgeClient(
    api_url="https://your-instance.com",
    token="your-api-token",
)

created = client.create_appraisal("123 Main", "123 Main St, Raleigh, NC 27601")
appraisal_id = created["id"]

client.write_fields(appraisal_id, {
    "0100.0009": "Raleigh",
    "0100.0011": "NC",
})

validation = client.validate(appraisal_id)
print(validation)

Auth model

v0.1 uses existing Bearer token auth from the Appraisal Forge API.

Runtime requirements

  • Python 3.10+
  • Reachable Appraisal Forge API URL
  • Valid API token

Metadata

Release files for appraisal-forge-sdk 0.1.1

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

Source distribution (sdist)

Source distribution for appraisal-forge-sdk 0.1.1
File Size Uploaded Provenance
appraisal_forge_sdk-0.1.1.tar.gz 24.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for appraisal-forge-sdk 0.1.1
File Interpreter ABI Platform
appraisal_forge_sdk-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 48.3 kB

Release files / appraisal_forge_sdk-0.1.1.tar.gz

Download URL appraisal_forge_sdk-0.1.1.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a199cfbac46e01531eed6653018aac04e95183f181099370a7a8f7d327e6527d
BLAKE2b-256 checksum
How to use checksums
966b258bdc7ce0854f94c25e5e2da3cba007f3d6d3e42ad0a5e2e4bf5bc56af6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / appraisal_forge_sdk-0.1.1-py3-none-any.whl

Download URL appraisal_forge_sdk-0.1.1-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9002c0ca24ed59c3a4cb1afcbc9fba389cd617333f7577ed97b20efc00503e73
BLAKE2b-256 checksum
How to use checksums
6e740914440409dfcc9f1f53eb838071659c1fa3c78259ad8e688024e18f5640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for appraisal-forge-sdk 0.1.1

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.1 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