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.
Features
Task descriptions
Task arguments
Colored output
Usage
List all tasks
cake
Execute task
cake [name] [args]
Example
$ 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
Install
pip install cake
Metadata
Release files for cake 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cake-0.2.3.tar.gz | 4.4 kB | Without provenance | Details for cake-0.2.3.tar.gz |
Release files / cake-0.2.3.tar.gz
| Download URL | cake-0.2.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27654e25203fb6f97b910c5515551b20e75f6d744f7f95832756238f30d3a4c8
|
|
BLAKE2b-256 checksum How to use checksums |
87e8cbf67392736d2a7f7cbe7e71830f76cb325ff5e3c31a3c3651aa3caaab7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cake 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.