🐍🤖 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
- 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
andinv
). - Create a
tasks.py
file on your home dir:echo -e "from conjuring import *\n\nnamespace = cast_all_spells()" > ~/tasks.py
- 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)
Built Distribution
conjuring-0.7.0-py3-none-any.whl
(41.0 kB
view hashes)
Close
Hashes for conjuring-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e1c66d51871824e0c094314ab465dc47a2dbbfaaa43da5553135c0a53d837ad |
|
MD5 | b912408c926df6eb9f7a7ab052306ed9 |
|
BLAKE2b-256 | a9955eb82502dbf5624ad9b4024a3faddc4e652fd51e1e854577a9ab0168b1aa |