Skip to main content

Build script aggregator and remote executor

Project description

Cook

Local and remote shell commands executor written and configured in Python

Quickstart

Installation

Cook is available on PyPI as cook-builder. The recommended way is to install it using pipx:

pipx install cook-builder

Recipe Reference

Cook uses recipe.py files to store project configuration.

Check out the Examples for a reference on recipe.py format and features.

For a dry run use: cook --dry.

To select project and/or build server interactively run: cook -i.

Generating Recipe Template

To generate a recipe template for your project, run:

cook -t

You can open the created recipe.py file and adjust the projects/commands to your needs.

Running Cook

Simply use the cook command to run the recipe file:

cook

To see all available command-line options, use:

cook --help

VS Code recipe autocomplete

If cook is installed via pipx, VS Code's Pylance won't find it for autocomplete by default. Add the following to your User settings:

{
    "python.analysis.extraPaths": [
        "~/.local/share/pipx/venvs/cook-builder/lib/python3.12/site-packages"
    ]
}

Adjust the Python version in the path if needed.

To find the venvs path on your system, run:

pipx environment --value PIPX_LOCAL_VENVS

Project details


Download files

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

Source Distribution

cook_builder-0.5.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cook_builder-0.5.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file cook_builder-0.5.0.tar.gz.

File metadata

  • Download URL: cook_builder-0.5.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for cook_builder-0.5.0.tar.gz
Algorithm Hash digest
SHA256 dabdc57c35d33243adcaab980f09ba2e2ac30e369a5933e70acd668922754974
MD5 64dc0a4d69616fa6cde10cf0f3130fc8
BLAKE2b-256 7df378b38ca7f44d6c063e4f11d3e608f879511963736a52c7e15bd85922677b

See more details on using hashes here.

File details

Details for the file cook_builder-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: cook_builder-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for cook_builder-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e64bd2accfcb3c908163d4da57edc0b32415e66ff267aeb57dd7938df310aa
MD5 4d65239b24cf6659523753af4934a5d0
BLAKE2b-256 e345c15fad70fdb2392b5aa6e05e506bdd20f2b5475a4e37202d72478dd7106d

See more details on using hashes here.

Supported by

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