Skip to main content

VERDANT SDK

VERDANT is a lightweight SDK for making AI outputs inspectable. It wraps an AI call and returns the clean model output together with a structured audit payload, bias flags, a plain-language explanation, and a 0-100 trust score.

The SDK is built for Nigerian and African teams shipping AI into higher-stakes contexts such as hiring, lending, content moderation, and healthcare.

Install

pip install verdant

Usage

from verdant import VerdantClient

client = VerdantClient(api_key="vd_live_...")

result = await client.wrap(
    fn=openai.chat.completions.create,
    model="gpt-4o",
    messages=[{"role": "user", "content": user_input}],
)

print(result.output)
print(result.trust_score)
print(result.flags)
print(result.explanation)

Project

Source code, documentation, and issue tracking live at:

https://github.com/lgndcraft2/Verdant

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verdant-0.1.5.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verdant-0.1.5-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file verdant-0.1.5.tar.gz.

File metadata

  • Download URL: verdant-0.1.5.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for verdant-0.1.5.tar.gz
Algorithm Hash digest
SHA256 010d2ab32c0304d9520426c1febca85a0a2c5e8abf4cc331c9bdad55155da260
MD5 52cf70fac55e5f9aa0f17d14736a7344
BLAKE2b-256 48d6a863f9bd2eea59bfb02236848a350d38fbe703fdadefb0cbc2b38c97593c

See more details on using hashes here.

File details

Details for the file verdant-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: verdant-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for verdant-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c7a3aad8b68f9dd8dcc12c3b4dc1ff49f3430eada0511bba22277ffef604c82f
MD5 ab6a450c5acc56bbb5db32f753815a16
BLAKE2b-256 9165758e9edcda19b309da99c9872b3f697de34a1dbfa10fe192f96a5224bfdf

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