🐍🤖 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 details)
Built Distribution
conjuring-0.7.0-py3-none-any.whl
(41.0 kB
view details)
File details
Details for the file conjuring-0.7.0.tar.gz
.
File metadata
- Download URL: conjuring-0.7.0.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f200aed18921e3eab83ab80ab05b97e3b18ba6b688270d18d318753a2d8d55 |
|
MD5 | 610d333761848b64302448a25d5b42b2 |
|
BLAKE2b-256 | 9d5965356711f711d2c45a182dcd3c1dbe86c93bab9e99350bf3de8382f80381 |
File details
Details for the file conjuring-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: conjuring-0.7.0-py3-none-any.whl
- Upload date:
- Size: 41.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.0-1037-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e1c66d51871824e0c094314ab465dc47a2dbbfaaa43da5553135c0a53d837ad |
|
MD5 | b912408c926df6eb9f7a7ab052306ed9 |
|
BLAKE2b-256 | a9955eb82502dbf5624ad9b4024a3faddc4e652fd51e1e854577a9ab0168b1aa |