Skip to main content

Python SDK for Tawala.ai

Project description

Tawala Logo

Tawala AI SDK

Official Tawala SDK and platform connector. Provides secure APIs, data models, and governance-aware mechanisms to exchange AI-related data with the Tawala Platform.

Description

Tawala https://www.tawala.ai/ is a comprehensive platform for AI governance and risk management. This Python SDK serves as the official client library, enabling developers to programmatically interact with the Tawala platform. It offers secure APIs for managing AI models, systems, risk instances, treatments, and more, ensuring compliance and governance in AI deployments.

Key features include:

  • Authentication and secure API access
  • Data models for AI-related entities
  • Repository classes for CRUD operations on platform resources
  • Utility functions for HTTP communication

Installation

The "pip install tawala" will be soon available, in the meanwhile you can clone and copy this repo.

Usage

After installation, you can import and use the client:

from tawala import Client

# Initialize the client with your credentials
client = Client(api_key="your-api-key")

# Example: List AI models
models = client.models.list()

Examples

The examples/ folder contains sample scripts to help you get started with common operations:

  • add_risk_instance.py: Demonstrates how to create and add a new risk instance to the platform.
  • list_models.py: Shows how to retrieve and display a list of available AI models.

Run these examples after installing the package to see the SDK in action.

Next Steps

  • Get Started: Follow the installation steps above and run the example scripts.
  • API Documentation: Refer to the docstrings in the source code or visit the official Tawala documentation for detailed API references.
  • Authentication: Obtain your API key from the Tawala platform dashboard.
  • Contributing: Report bugs or feature requests on the project's issue tracker.
  • Updates: Check the CHANGELOG.md for the latest changes and version history.

License

This project is licensed under the Tawala Custom Source-Available License. See the LICENSE.md file for details.

Contacts

For any information please contact the Tawala.ai team at info@tawala.ai

Project details


Download files

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

Source Distribution

tawala_gov-0.1.1.tar.gz (69.4 kB view details)

Uploaded Source

Built Distribution

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

tawala_gov-0.1.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file tawala_gov-0.1.1.tar.gz.

File metadata

  • Download URL: tawala_gov-0.1.1.tar.gz
  • Upload date:
  • Size: 69.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tawala_gov-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a67aa02dbe852705227cd3e7e032d3a0b100c5c65517a9991b7d5b65b4754467
MD5 33b40b66e4d5e960b4c381c05c10713d
BLAKE2b-256 6b36c8a4a084519a8255da1183c57183a6924fa29c496b2ba0f4b60a72cbb92f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tawala_gov-0.1.1.tar.gz:

Publisher: publish.yml on tawalai/tawala

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tawala_gov-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tawala_gov-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tawala_gov-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e32a9f91fea47a93146acddf599530ce4f57ea1e6112215a8b52df88dc356087
MD5 5d881890b31835bc45dd17d57219430d
BLAKE2b-256 6f74f529c6ec424fa15ac70b571bb1d03ad2fee0ccc59ffe6f14f8b0d8140e60

See more details on using hashes here.

Provenance

The following attestation bundles were made for tawala_gov-0.1.1-py3-none-any.whl:

Publisher: publish.yml on tawalai/tawala

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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