Skip to main content

🐍🤖 Reusable global Invoke tasks that can be merged with local project tasks

Project description

Conjuring

Reusable global Invoke tasks that can be merged with local project tasks.

Features

  • Merge any local tasks.py file with global Conjuring tasks
  • Use all global Conjuring tasks provided by this package
  • Only include the global Conjuring tasks you want (opt-in mode)
  • Use all Conjuring tasks excluding some (opt-out mode)
  • Add your own custom tasks from Python modules or packages to global tasks
  • Display your custom task modules conditionally
  • Display your custom individual tasks conditionally
  • Merge your project tasks with the global reusable tasks
  • Prefix task names of your custom module

More details on the features documentation.

Tasks

Each module under the conjuring/spells directory is a collection of Invoke tasks.

Quick setup

  1. Install Conjuring in an isolated virtualenv with pipx:
    pipx install --include-deps conjuring
    
    The --include-deps flag is needed to install Invoke's apps (invoke and inv).
  2. Create a tasks.py file on your home dir:
    echo -e "from conjuring import *\n\nnamespace = cast_all_spells()" > ~/tasks.py
    
  3. You should see the list of Conjuring tasks from any directory where you type this:
    invoke --list
    

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

conjuring-0.7.0.tar.gz (32.6 kB view hashes)

Uploaded Source

Built Distribution

conjuring-0.7.0-py3-none-any.whl (41.0 kB view hashes)

Uploaded Python 3

Supported by

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