-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 loc) · 1.62 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ctxlens-cli"
version = "0.1.1"
description = "A context-window profiler for AI agents: see exactly what is eating your context, flag waste, and cut tokens."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "royalpinto007", email = "royalpinto007@gmail.com" }]
keywords = ["llm", "agents", "context-window", "tokens", "profiler", "claude", "openai", "observability"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Debuggers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"typer>=0.12",
"rich>=13.0",
]
[project.optional-dependencies]
tiktoken = ["tiktoken>=0.7"]
dev = [
"pytest>=8.0",
"ruff>=0.6",
]
[project.scripts]
ctxlens = "ctxlens.cli:app"
[project.urls]
Homepage = "https://github.com/AgentPostmortem/Ctxlens"
Repository = "https://github.com/AgentPostmortem/Ctxlens"
Issues = "https://github.com/AgentPostmortem/Ctxlens/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/ctxlens"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B", "C4"]
# B008: Typer uses function calls (typer.Argument/Option) as defaults by design.
ignore = ["E501", "B008"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"