client-python
by
mistralai

Description: Python client library for Mistral AI platform

View on GitHub ↗

Summary Information

Updated 52 minutes ago
Added to GitGenius on May 29th, 2024
Created on December 7th, 2023
Open Issues & Pull Requests: 22 (+0)
Number of forks: 197
Total Stargazers: 755 (+0)
Total Subscribers: 27 (+0)

Issue Activity (beta)

Open issues: 21
New in 7 days: 0
Closed in 7 days: 2
Avg open age: 62 days
Stale 30+ days: 15
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 2

Top labels

No label distribution available yet.

Repository Insights (GitGenius)

Median issue/PR response: 7.1 days
Mean response time: 72.1 days
90th percentile: 197.0 days
Tracked items: 126

Most active contributors

Detailed Description

The mistralai/client-python repository is the official Python client library for the Mistral AI platform, providing developers with programmatic access to Mistral's Chat Completion, Embeddings, and other AI APIs. The library enables integration with Mistral's cloud services through a straightforward Python interface, with support for both synchronous and asynchronous operations.

The SDK supports multiple installation methods including uv, pip, and poetry, with a documented Python version upgrade policy that provides a three-month grace period after official Python end-of-life dates before minimum version requirements are updated. The library includes comprehensive examples and documentation for getting started, with API key setup as the primary prerequisite for use. The README explicitly notes a migration guide for users upgrading from version 1 to version 2, indicating significant breaking changes between major versions.

The available resources and operations span multiple functional areas. The Agents API enables agents completion with both standard and streaming modes. Audio capabilities include speech synthesis, transcription with streaming support via server-sent events, and voice management operations such as listing, creating, deleting, updating, and retrieving voice details along with sample audio. Batch operations provide job management functionality including listing, creation, retrieval, deletion, and cancellation of batch jobs. Beta features include agent management with version control, aliasing, and connector operations.

The SDK documentation covers essential features including pagination, file uploads, retry mechanisms, error handling, server selection, custom HTTP client configuration, authentication, resource management, debugging, and IDE support. The library supports provider-specific implementations for Azure AI and Google Cloud, with automatic credential detection and token refresh for Google Cloud deployments.

According to GitGenius activity tracking, the repository has experienced median issue and pull request response latency of 170.3 hours across 125 tracked items, with a mean latency of 1737.1 hours indicating some items receive significantly delayed responses. The most active contributors tracked by GitGenius are louis-sanna-dev with 83 events, sophiamyang with 50 events, and GaspardBT with 24 events. The repository shares overlapping contributors with dmlc/xgboost, vllm-project/vllm, and streamlit/streamlit, suggesting cross-pollination within the machine learning and AI tooling ecosystem.

The library is classified across multiple domains including Python integration, API client libraries, orchestration, workflow automation, cloud-native architecture, serverless functions, and microservices orchestration. This broad classification reflects the SDK's role as a foundational integration layer for building AI-powered applications and workflows on the Mistral platform. The repository includes an examples directory with runnable code samples demonstrating various use cases, supporting rapid development and integration for Python developers working with Mistral AI services.

client-python
by
mistralaimistralai/client-python

Repository Details

Fetching additional details & charts...