-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
107 lines (104 loc) · 3.45 KB
/
setup.py
File metadata and controls
107 lines (104 loc) · 3.45 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
"""Setup script for AI Cortex."""
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="aicortex-core",
version="1.1.0",
author="Erasmus A. Junior",
author_email="eirasmx@duck.com",
maintainer="Erasmus A. Junior",
maintainer_email="eirasmx@duck.com",
description=(
"AI Cortex: A Python toolkit for free access to cloud and local language models. "
"Chat with Gemma, Mistral, Deepseek, Qwen, Llama, and more through community-hosted cloud endpoints or your own Ollama server — "
"completely free, zero-signup, zero API keys. "
"Unified chat API, real-time streaming, multi-server orchestration, and OpenAI-compatible endpoints."
),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/eirasmx/aicortex",
project_urls={
"Documentation": "https://aicortex.readthedocs.io/",
"Repository": "https://github.com/eirasmx/aicortex",
"Issues": "https://github.com/eirasmx/aicortex/issues",
"Changelog": "https://github.com/eirasmx/aicortex/blob/master/CHANGELOG.md",
},
license="LGPL-3.0-or-later",
packages=find_packages(include=["aicortex*"]),
package_data={
"aicortex": ["models/*.json", "stubs/*.pyi", "stubs/**/*.pyi"],
},
python_requires=">=3.8",
install_requires=[
"ollama>=0.1.0",
"pydantic>=2.0.0",
],
extras_require={
"server": [
"fastapi>=0.100.0",
"uvicorn[standard]>=0.20.0",
],
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"mypy>=1.0.0",
"flake8>=6.0.0",
"tox>=4.0.0",
"sphinx>=5.0.0",
"sphinx-rtd-theme>=1.2.0",
],
"all": [
"fastapi>=0.100.0",
"uvicorn[standard]>=0.20.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"mypy>=1.0.0",
"flake8>=6.0.0",
"tox>=4.0.0",
"sphinx>=5.0.0",
"sphinx-rtd-theme>=1.2.0",
],
},
entry_points={
"console_scripts": [
"aicortex-server=aicortex.tools.server:run_server",
"aicortex=aicortex.__main__:main",
],
},
keywords=[
"llm",
"language-model",
"ai",
"chat",
"api",
"openai-compatible",
"free",
"no-signup",
"local-models",
"cloud-models",
"ollama",
"sdk",
"toolkit",
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
],
zip_safe=False,
include_package_data=True,
)