-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (50 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (50 loc) · 1.82 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "modelito"
version = "1.4.6"
description = "Lightweight Python abstractions and connectors for hosted and local LLM providers."
readme = "README.md"
requires-python = ">=3.10"
authors = [ { name = "krahd" } ]
license = "MIT"
license-files = ["LICENSE"]
keywords = ["llm", "provider", "tokenizer", "ollama", "openai", "omlx", "local-inference"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
]
dependencies = []
[project.optional-dependencies]
ollama = ["psutil", "httpx"]
http = ["httpx"]
tokenization = ["tiktoken"]
openai = ["openai"]
anthropic = ["anthropic"]
gemini = ["google-generativeai"]
grok = ["xai-sdk"]
serve = ["fastapi", "uvicorn"]
dev = ["pytest", "pytest-asyncio", "pytest-mock", "mypy", "ruff", "black", "tomli; python_version < '3.11'"]
[project.scripts]
modelito-serve = "modelito.serve:main"
modelito-doctor = "modelito.doctor:main"
modelito-benchmark-local = "modelito.local_benchmark:main"
[project.urls]
Homepage = "https://github.com/krahd/modelito"
Repository = "https://github.com/krahd/modelito"
Changelog = "https://github.com/krahd/modelito/blob/main/CHANGELOG.md"
[tool.setuptools.packages.find]
where = ["."]
include = ["modelito*"]
# Ruff 0.16 expanded its unconfigured default from 59 to 413 rules. Modelito's
# existing lint contract predates that change; make it explicit so CI does not
# change semantics when the unpinned development dependency advances.
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]