Skip to main content

Minimalistic Python build tool inspired by Rake

Project description

It uses a simple python script (Cakefile) located in the project root to define its tasks. Cake can be run and can run tasks from anywhere within the project.


  • Task descriptions
  • Task arguments
  • Colored output


List all tasks


Execute task

cake [name] [args]


$ cat Cakefile
from cake.lib import task, path

@task("header information")
def test(value='test'):
    """ task description """
    print('current dir: %s' % path.current)
    print('project dir: %s' % path.root)
    print('running with value %s' % value)
$ cake
(in /home/alex/work/cake/examples)
cake test                                  # task description
$ cake test example
(in /home/alex/work/cake/examples)
** test: header information
current dir: /home/alex/work/cake/examples
project dir: /home/alex/work/cake/examples
running with value example


pip install cake

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cake, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size cake-0.2.3.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page