Application Framework for Python
Go to file
2017-04-19 10:02:18 -05:00
cement Drop Reload Config Extension 2017-04-18 22:37:58 -05:00
doc/source Drop Reload Config Extension 2017-04-18 22:37:58 -05:00
doc-new Working on New Documentation 2017-04-10 01:54:18 -05:00
docker Rework Docker on Alpine 2017-04-18 22:34:42 -05:00
examples Resolves Issue #254 2016-02-09 00:59:11 -06:00
scripts Fix Memcache/Redis Environment for Tests 2017-04-19 10:02:18 -05:00
tests Fix Memcache/Redis Environment for Tests 2017-04-19 10:02:18 -05:00
.coveragerc Fix coverage issues with ext_daemon 2014-01-29 18:03:52 -06:00
.gitignore Git Ignore doc/build 2016-11-23 12:37:38 -06:00
.pylintrc Pylint fixes. Part of Issue #132 2012-09-07 16:44:08 -05:00
.travis.yml Fix Travic / Python Versions 2017-04-18 23:00:31 -05:00
ChangeLog Drop Reload Config Extension 2017-04-18 22:37:58 -05:00
CONTRIBUTORS Refactor tests to comply with Flake8 2017-02-04 13:27:29 +05:30
docker-compose.yml Fix Memcache/Redis Environment for Tests 2017-04-19 10:02:18 -05:00
Dockerfile Rework Docker on Alpine 2017-04-18 22:34:42 -05:00
LICENSE Update Verbage 2017-02-04 21:59:30 -06:00
Makefile Resolves Issue #378 2017-02-04 15:37:41 -06:00
MANIFEST.in Add Makefile/MANIFEST.in - Resolves Issue #405 2016-11-23 12:39:03 -06:00
README.md Update Verbage 2017-02-04 21:59:30 -06:00
requirements-dev.txt Rework Docker on Alpine 2017-04-18 22:34:42 -05:00
requirements.txt Rework Docker on Alpine 2017-04-18 22:34:42 -05:00
setup.cfg Resolves Issue #394 - Related to Issue #326 2016-07-13 13:19:09 -05:00
setup.py Resolves Issue #202 and #217 2014-01-22 18:09:03 -06:00
Vagrantfile Improvide Vagrantfile 2017-02-04 17:03:49 -06:00

Cement Framework

NOTE: Portland is a complete fork of Cement 2, and will eventually become Cement 3. It is guaranteed to be broken! Please use Cement 2 in production until stable/3.0.0 is released.

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. Cement is flexible, and it's use cases span from the simplicity of a micro-framework to the complexity of a mega-framework. Whether it's a single file script, or a multi-tier application, Cement is the foundation you've been looking for.

The first commit to Git was on Dec 4, 2009. Since then, the framework has seen several iterations in design, and has continued to grow and improve since it's inception. Cement is the most stable, and complete framework for command line and backend application development.

Continuous Integration Status Gitter

Cement 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* (not including optional extensions)
  • 100% test coverage using nose and coverage
  • 100% PEP8 and style compliant using flake8
  • Extensive Sphinx documentation
  • Tested on Python 3.3, 3.4, and 3.5

Note that argparse is required as an external dependency for Python < 2.7 and < 3.2. Additionally, some optional extensions that are shipped with the mainline Cement sources do require external dependencies. It is the responsibility of the application developer to include these dependencies along with their application, as Cement explicitly does not include them.

More Information

License

The Cement CLI Application Framework is Open Source and is distributed under the BSD License (three clause). Please see the LICENSE file included with this software.