Skip to main content

Cement is an advanced CLI Application Framework for Python. Its goal is to introduce a standard, and feature-full platform for both simple and complex command line applications as well as support rapid development needs without sacrificing quality.

Core features include (but are not limited to):

  • Core pieces of the framework are customizable via handlers/interfaces

  • Extension handler interface to easily extend framework functionality

  • Config handler supports parsing multiple config files into one config

  • Argument handler parses command line arguments and merges with config

  • Log handler supports console and file logging

  • Plugin handler provides an interface to easily extend your application

  • Hook support adds a bit of magic to apps and also ties into framework

  • Handler system connects implementation classes with Interfaces

  • Output handler interface renders return dictionaries to console

  • Cache handler interface adds caching support for improved performance

  • Controller handler supports sub-commands, and nested controllers

  • Zero external dependencies* (ext’s with dependencies ship separately)

  • 99% test coverage

  • Extensive Sphinx documentation

  • Tested on Python 2.6, 2.7, 3.1, and 3.2

Note that argparse is required as an external dependency for Python < 2.7 and < 3.2.

More Information

Release history Release notifications | RSS feed

3.0.16

2 files

3.0.14

2 files

3.0.12

2 files

3.0.10

2 files

3.0.8

2 files

3.0.6

2 files

3.0.4

2 files

3.0.2

2 files

3.0.0

2 files

2.10.14

2 files

2.10.12

2 files

2.10.10

2 files

2.10.4

3 files

2.10.2

1 file

2.10.0

2.8.2

1 file

2.8.0

1 file

2.6.2

1 file

2.6.0

1 file

2.4.0

1 file

2.2.2

1 file

2.2.0

1 file

2.0.2

1 file

2.0.0

1.9.14

This release

1.9.12 This release

1.9.10

1.0.0

0.8.18

0.8.16

0.8.14

0.8.12

0.8.10

0.8.8

0.8.6

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page