-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
59 lines (56 loc) · 2.15 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
from setuptools import setup, find_packages
import pathlib
# Get the long description from the README file
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text(encoding="utf-8")
_project_homepage = "https://github.com/kagisearch/pyllms"
setup(
name="pyllms",
version="0.6.1",
description="Minimal Python library to connect to LLMs (OpenAI, Anthropic, Google, Mistral, OpenRouter, Reka, Groq, Together, Ollama, AI21, Cohere, Aleph-Alpha, HuggingfaceHub), with a built-in model performance benchmark.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Vladimir Prelovac",
author_email="[email protected]",
packages=find_packages(),
install_requires=[
"openai>=1",
"tiktoken",
"anthropic>=0.18",
"ai21",
"cohere",
"aleph-alpha-client",
"huggingface_hub",
"google-cloud-aiplatform",
"prettytable",
"protobuf>=3.20.3",
"grpcio>=1.54.2",
"google-generativeai",
"mistralai",
"ollama",
],
extras_require={
"local": ["einops", "accelerate"]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Text Processing",
],
python_requires=">=3.7",
keywords="llm, llms, large language model, AI, NLP, natural language processing, gpt, chatgpt, openai, anthropic, ai21, cohere, aleph alpha, huggingface hub, vertex ai, palm, palm2",
project_urls={
"Documentation": _project_homepage,
"Source Code": _project_homepage,
"Issue Tracker": _project_homepage+"/issues",
},
)