Skip to content

Commit 310e8e4

Browse files
committed
turn into pypi package, so we can use in cli which itself is published
1 parent e04b486 commit 310e8e4

5 files changed

Lines changed: 39 additions & 14 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.10'
17+
- name: Install Poetry
18+
run: |
19+
curl -sSL https://install.python-poetry.org | python3 -
20+
- name: Build and publish
21+
env:
22+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
23+
run: |
24+
poetry build
25+
poetry publish

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# aisuite
1+
# aisuite-extendedmodels
22

3-
[![PyPI](https://img.shields.io/pypi/v/aisuite)](https://pypi.org/project/aisuite/)
3+
[![PyPI](https://img.shields.io/pypi/v/aisuite-extendedmodels)](https://pypi.org/project/aisuite-extendedmodels/)
44
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
55

6-
`aisuite` is a lightweight Python library that provides a **unified API for working with multiple Generative AI providers**.
6+
`aisuite-extendedmodels` is a lightweight Python library that provides a **unified API for working with multiple Generative AI providers**.
77
It offers a consistent interface for models from *OpenAI, Anthropic, Google Vertex AI, Google GenAI, Hugging Face, AWS, Cohere, Mistral, Ollama*, and others—abstracting away SDK differences, authentication details, and parameter variations.
88
Its design is modeled after OpenAI’s API style, making it instantly familiar and easy to adopt.
99

@@ -27,24 +27,24 @@ It’s designed for low learning curve — so you can focus on building AI syste
2727

2828
## Installation
2929

30-
You can install just the base `aisuite` package, or install a provider's package along with `aisuite`.
30+
You can install just the base `aisuite-extendedmodels` package, or install a provider's package along with `aisuite-extendedmodels`.
3131

3232
Install just the base package without any provider SDKs:
3333

3434
```shell
35-
pip install aisuite
35+
pip install aisuite-extendedmodels
3636
```
3737

38-
Install aisuite with a specific provider (e.g., Anthropic):
38+
Install aisuite-extendedmodels with a specific provider (e.g., Anthropic):
3939

4040
```shell
41-
pip install 'aisuite[anthropic]'
41+
pip install 'aisuite-extendedmodels[anthropic]'
4242
```
4343

44-
Install aisuite with all provider libraries:
44+
Install aisuite-extendedmodels with all provider libraries:
4545

4646
```shell
47-
pip install 'aisuite[all]'
47+
pip install 'aisuite-extendedmodels[all]'
4848
```
4949

5050
## Setup

aisuite-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "aisuite",
2+
"name": "aisuite-extendedmodels",
33
"version": "0.1.1",
44
"description": "Unified TypeScript library for multiple LLM providers",
55
"main": "dist/index.js",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "aisuite"
2+
name = "aisuite-extendedmodels"
33
version = "0.1.14"
44
description = "Uniform access layer for LLMs"
55
authors = ["Andrew Ng <ng@deeplearning.ai>", "Rohit P <rohit.prasad15@gmail.com>"]

tests/mcp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ To run these tests, you need:
1515
pip install pytest pytest-asyncio python-dotenv
1616
```
1717

18-
3. **MCP package** (should already be installed if you have aisuite[mcp]):
18+
3. **MCP package** (should already be installed if you have aisuite-extendedmodels[mcp]):
1919
```bash
20-
pip install 'aisuite[mcp]'
20+
pip install 'aisuite-extendedmodels[mcp]'
2121
```
2222

2323
4. **Environment variables** (for e2e tests that mock LLM calls):
@@ -203,7 +203,7 @@ pytest tests/mcp/ -v -m "integration and not llm"
203203
- Install Node.js from https://nodejs.org/
204204

205205
**Error: "MCP package not installed"**
206-
- Run: `pip install 'aisuite[mcp]'`
206+
- Run: `pip install 'aisuite-extendedmodels[mcp]'`
207207

208208
**Tests hang or timeout**
209209
- Check Node.js/npx is working: `npx --version`

0 commit comments

Comments
 (0)