Metadata-Version: 2.3
Name: premai
Version: 0.13.0
Summary: The official Python library for the PremAI API
Project-URL: Homepage, https://github.com/premAI-io/prem-py-sdk
Project-URL: Repository, https://github.com/premAI-io/prem-py-sdk
Author: Prem AI
License: Apache-2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.8
Requires-Dist: anyio<5,>=3.5.0
Requires-Dist: distro<2,>=1.7.0
Requires-Dist: httpx<1,>=0.23.0
Requires-Dist: pydantic<3,>=1.9.0
Requires-Dist: sniffio
Requires-Dist: typing-extensions<5,>=4.10
Provides-Extra: aiohttp
Requires-Dist: aiohttp; extra == 'aiohttp'
Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
Description-Content-Type: text/markdown

# Prem AI Python API library

<!-- prettier-ignore -->
[![PyPI version](https://img.shields.io/pypi/v/premai.svg?label=pypi%20(stable))](https://pypi.org/project/premai/)

The Prem AI Python library provides convenient access to the Prem AI REST API from any Python 3.8+
application. The library includes type definitions for all request params and response fields,
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).

## Installation

```sh
# install from PyPI
pip install premai
```

## Documentation and Usage

Check out the full [PremAI SDK documentation](https://docs.premai.io/get-started/sdks).

- Use with [PremAI SDK](https://docs.premai.io/get-started/sdks#use-with-premai-sdk)
- Use with [OpenAI compatible SDK](https://docs.premai.io/get-started/sdks#use-with-openai-compatible-sdk)
