-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (104 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
114 lines (104 loc) · 2.83 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
108
109
110
111
112
113
114
[project]
name = "langbase"
version = "0.0.5"
description = "Python SDK for the Langbase API"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "Ahmad Awais", email = "aa@ahmadawais.com" },
{ name = "Ahmad Bilal", email = "bilal@langbase.com" },
{ name = "Ashar Irfan", email = "ashar@langbase.com" },
{ name = "Saad Irfan", email = "saad@langbase.com" },
{ name = "Ankit Kumar", email = "ankit@langbase.com" },
{ name = "Saqib Ameen", email = "saqib@langbase.com" },
]
requires-python = ">=3.7"
keywords = [
"ai",
"langbase",
"agent",
"memory",
"rag",
"mcp",
"pipes",
"workflow",
"llms",
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["requests>=2.25.0", "typing-extensions>=4.0.0"]
[project.optional-dependencies]
[project.urls]
Documentation = "https://docs.langbase.com"
Homepage = "https://langbase.com"
Repository = "https://github.com/LangbaseInc/langbase-python-sdk"
Issues = "https://github.com/LangbaseInc/langbase-python-sdk/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["langbase*"]
[tool.black]
line-length = 88
target-version = ["py37", "py38", "py39", "py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 88
known_first_party = ["langbase"]
skip_glob = ["*/venv/*", "*/.venv/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --strict-markers --tb=short"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
]
[tool.coverage.run]
source = ["langbase"]
branch = true
omit = ["*/tests/*", "*/__init__.py", "*/venv/*", "*/.venv/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
show_missing = true
precision = 2
[tool.coverage.html]
directory = "htmlcov"