# datafolklabs/cement

Application Framework for Python

Repository: https://github.com/datafolklabs/cement
Canonical: https://ross.abutalabs.com/products/cement
Homepage: http://builtoncement.com
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-10T01:36:38+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 61, longevity 100
- inputs: {"age_days": 6115, "days_push": 24, "days_rel": 51, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1347, forks 118 (observed 2026-08-28T04:04:27.618521+00:00)

## What it is
Cement is an advanced application framework for Python with a primary focus on building command line interfaces, ranging from single-file scripts to complex multi-tier applications. It provides a handler/interface system with built-in support for configuration parsing, argument handling, logging, plugins, output rendering, caching, and controllers with sub-commands.

## Use cases
- build a command line tool in python
- structure a multi-command cli application with subcommands
- add plugin support to a python cli app
- parse config files and merge them with command line arguments
- add logging and output rendering to a backend python application
- rapidly scaffold a python cli framework with zero dependencies

## When to choose
- you need a full-featured, battle-tested framework for complex CLI applications
- you want extensibility via handlers, interfaces, hooks, and plugins
- you want zero external dependencies in the core
- you need config, logging, argument parsing, and output handled in one framework

## When to avoid
- you only need a simple argument parser (use argparse or click instead)
- you are building a web application or GUI rather than a CLI/backend tool
- you prefer a minimal micro-framework with less structure
- you need support for Python versions older than 3.10

## Facets
- artifact type: framework
- maturity: stable
- function: cli, web-framework, configuration-management, logging, caching, plugin-system, templating
- domain: developer-tools, backend, web-development
- platform: python, cli, cross-platform
- tags: cli-framework, application-framework, handlers, interfaces, zero-dependencies, command-line

## Member repositories
- datafolklabs/cement (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.618521+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:36.322687+00:00, confidence not recorded.
  - readme: https://github.com/datafolklabs/cement (fetched 2026-08-28T04:04:27.618521+00:00, sha 573a2e65dcc2)
  - registry_pypi: https://pypi.org/pypi/cement/json (fetched 2026-08-29T12:01:37.389705+00:00, sha 60d729ea79d9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
