Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.8 KB
Raw Blame
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "hogli"
version = "0.2.0"
description = "Developer CLI framework with YAML-based command definitions"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
    { name = "PostHog", email = "[email protected]" }
]
keywords = ["cli", "developer-tools", "devex", "yaml"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Environment :: Console",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "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 :: Software Development :: Build Tools",
    "Topic :: Utilities",
]
dependencies = [
    "click>=8.0",
    "pyyaml>=6.0",
    "requests>=2.28",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.0",
    "pytest-cov>=4.0",
]

[project.scripts]
hogli = "hogli.cli:main"

[project.urls]
Homepage = "https://github.com/PostHog/posthog"
Documentation = "https://github.com/PostHog/posthog/tree/master/tools/hogli"
Repository = "https://github.com/PostHog/posthog"

[tool.hatch.build.targets.wheel]
packages = ["src/hogli"]

[tool.uv]
exclude-newer = "7 days"
# uv keys the built wheel on pyproject.toml alone by default, so a source-only change leaves
# the stale wheel in the cache and uv installs it again. List the sources to key on them too.
cache-keys = [
    { file = "pyproject.toml" },
    { file = "src/hogli/**/*.py" },
]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "scripts"]
addopts = "-p no:warnings -p no:django"