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.0.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.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tawala_gov-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9f00bcdb9d7ec5dcdd7729ee47435c20b14d756502348eac76f771df4045c735
MD5 578bf43ec622d37e4159b037714f9779
BLAKE2b-256 be4f11d440b612c6957d1f8273d69b0cac09ba6f6d1c2df3873b471680ba04f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tawala_gov-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: tawala_gov-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bc0337f8a4416c3fed45d3a6d42803e51f89b3c739dfe6c71289d0baaa4e6aa
MD5 6720be69aef84590e3dc15eb1b7c51f2
BLAKE2b-256 228620186afd7aeca27a8bb151b2badb0556750921c9204540b6cb56c8b29d7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tawala_gov-0.1.0-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