Current collected state Current
Observed since 21 Oct, 10:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-clients
HTTP clients for easy integration with different ai models
HTTP clients for easy integration with different AI models.
To install the package, use pip:
pip install ai-clients
Here is a simple example of how to use the Codestral client:
import aiohttp
from ai_clients.codestral.client import Codestral
import asyncio
async def main():
async with aiohttp.ClientSession() as session:
client = Codestral(base_url="https://api.example.com", api_key="your_api_key", session=session)
response = await client.chat_completion("Hello, how are you?")
print(response)
asyncio.run(main())
To set up the development environment, run:
python -m pip install --upgrade pip
python -m pip install uv
uv venv
source .venv/bin/activate
uv sync --all-extras
To run the tests, use:
uv run pytest -vv
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
aiohttpEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | aiohttp>=3.11.12 | runtime |
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pydantic>=2.10.6 | runtime |
ujsonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | ujson>=5.10.0 | runtime |
bdist_wheel · 5.86 KB · Python py3
sdist · 28.35 KB · Python source
Observed since 21 Oct, 10:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:9ee1669e6794e8373fda00cff3d4816044da7d8e7eb77e6d2184fd4210d0edb2