{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"}],"enrichment":{"capability":"Provides a typed Python client for the Llama API with support for synchronous and asynchronous requests, streaming responses, and automatic error handling.","skillfed_tags":["llama-models","api-client","async-support"],"use_cases":["Build a chatbot or conversational AI application using Llama models with typed, autocompleted API calls.","Stream Llama model responses token-by-token for real-time user feedback in web or CLI applications.","Integrate Llama API calls into async Python services or concurrent batch-processing pipelines.","Upload fine-tuning datasets to Llama API using the built-in file upload and multipart handling.","Handle API errors gracefully with automatic retries and specific exception types for different failure modes."],"what_it_does":"This is an official Python client library for the Llama API, generated using Stainless. It wraps the Llama API REST endpoints with type-safe request and response objects, built on httpx for HTTP transport. The library supports both synchronous and asynchronous usage patterns, with the async client optionally using aiohttp for improved concurrency. It includes full type hints for all request parameters and response fields, enabling IDE autocomplete and static type checking.\n\nThe client handles common API patterns: chat completions (including streaming via Server-Side Events), file uploads with multipart support, and structured error handling with automatic retries for transient failures. Responses are Pydantic models with helper methods for JSON serialization and dictionary conversion. The library targets Python 3.9 and later, supporting current and recent Python versions.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and installs with low friction. It provides a well-typed, officially-backed client for Llama API access with both sync and async support. Install it if you need to integrate Llama models into a Python application."},"id":"llama-api-client","links":{"html":"https://skillfed.io/packages/llama-api-client","md":"https://skillfed.io/packages/llama-api-client.md","pypi":"https://pypi.org/project/llama-api-client/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-18","license_spdx":null,"license_treatment":"permissive","name":"llama-api-client","python_support":"supports_current","summary":"The official Python library for the llama-api-client API"},"popularity":{"monthly_downloads":136863,"position":11385,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
