-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (64 loc) · 1.81 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "glassglyph-scanner"
version = "0.1.0"
description = "Scanner for invisible unicode (Glassworm-class) and homoglyph attacks."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Jim Pringle" },
]
keywords = [
"security",
"unicode",
"glassworm",
"homoglyph",
"prompt-injection",
"supply-chain",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Text Processing",
]
# Core scanner has ZERO external dependencies — just the stdlib.
dependencies = []
[project.optional-dependencies]
cli = ["typer>=0.12"]
server = ["fastapi>=0.115", "uvicorn[standard]>=0.32"]
all = ["glassglyph-scanner[cli,server]"]
dev = [
"glassglyph-scanner[cli,server]",
"pytest>=8",
"httpx>=0.27",
"ruff>=0.6",
"mkdocs>=1.6",
"mkdocs-material>=9.5",
]
[project.scripts]
glassglyph-scanner = "glassglyph_scanner.cli:app"
[project.urls]
Homepage = "https://github.com/pringlized/glassglyph-scanner"
Issues = "https://github.com/pringlized/glassglyph-scanner/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/glassglyph_scanner"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --strict-markers"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B"]
ignore = ["E501"] # line-length handled by formatter