ConsentOS — a privacy-first cookie consent management platform. Self-hosted, source-available alternative to OneTrust, Cookiebot, and CookieYes. Full standards coverage (IAB TCF v2.2, GPP v1, Google Consent Mode v2, GPC, Shopify Customer Privacy API), multi-tenant architecture with role-based access, configuration cascade (system → org → group → site → region), dark-pattern detection in the scanner, and a tamper-evident consent record audit trail. This is the initial public release. Prior development history is retained internally. See README.md for the feature list, architecture overview, and quick-start instructions. Licensed under the Elastic Licence 2.0 — self-host freely; do not resell as a managed service.
40 lines
809 B
TOML
40 lines
809 B
TOML
[project]
|
|
name = "consentos-scanner"
|
|
version = "0.1.0"
|
|
description = "ConsentOS — Playwright-based cookie scanner"
|
|
license = "Elastic-2.0"
|
|
requires-python = ">=3.12"
|
|
|
|
dependencies = [
|
|
"playwright>=1.49,<2",
|
|
"httpx>=0.28,<1",
|
|
"pydantic>=2.0,<3",
|
|
"pydantic-settings>=2.0,<3",
|
|
"fastapi>=0.115,<1",
|
|
"uvicorn[standard]>=0.34,<1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0,<9",
|
|
"pytest-asyncio>=0.24,<1",
|
|
"ruff>=0.8,<1",
|
|
"pytest-cov>=6.0,<7",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "session"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP"]
|