Education Warehouse maintenance tools
Project description
edwh
Table of Contents
Installation
pipx install edwh
# or: uvenv install edwh
# or with all plugins:
pipx install[plugins]
# or with specific plugins:
pipx install[multipass,restic]
# managing plugins later:
edwh plugins
edwh plugin.add multipass
edwh plugin.remove multipass
Usage
# to see all available commands:
ew # or `edwh`
# to see help about a specific namespace:
ew help <namespace> # e.g. `ew help plugin`
# to see help about a specific command:
ew help <command> # e.g. `ew help plugin.list`
Task Load Order
Commands are loaded in the following order:
-
EDWH Package:
- Loaded into the global namespace and its own namespaces (like
ew plugins.
).
- Loaded into the global namespace and its own namespaces (like
-
Plugins:
- Loaded into their own namespaces (like
ew mp.
).
- Loaded into their own namespaces (like
-
Current Directory:
- Loaded into the
local.
namespace. If it doesn't exist, it traverses up the directory tree - (e.g.,
../tasks.py
,../../tasks.py
).
- Loaded into the
-
Other Local Tasks:
- Other local tasks with their own namespace are loaded (e.g.,
namespace.tasks.py
) and can be invoked withedwh namespace.command
.
- Other local tasks with their own namespace are loaded (e.g.,
-
Personal Global Tasks:
- Personal global tasks (e.g.,
~/.config/edwh/tasks.py
) are also loaded into the global namespace, useful for shortcuts, custom aliases, etc. (+add_alias
).
- Personal global tasks (e.g.,
-
Personal Namespaced Tasks:
- Personal tasks with their own namespace (e.g.,
~/.config/edwh/namespace.tasks.py
). Similar to a plugin, but for personal use.
- Personal tasks with their own namespace (e.g.,
Plugins
Multipass
- pip name:
edwh-multipass-plugin
- github:
educationwarehouse/edwh-multipass-plugin
- plugin name:
edwh[multipass]
- subcommand namespace:
mp
Restic
- pip name:
edwh-restic-plugin
- github:
educationwarehouse/edwh-restic-plugin
- plugin name:
edwh[restic]
- subcommand namespace:
restic
Pip Compile
- pip name:
edwh-pipcompile-plugin
- github:
educationwarehouse/edwh-pipcompile-plugin
- plugin name:
edwh[pip]
- subcommand namespace:
pip
Bundler
- pip name:
edwh-bundler-plugin
- github:
educationwarehouse/edwh-bundler-plugin
- plugin name:
edwh[bundler]
- subcommand namespace:
bundle
Server Provisioning
- pip name:
edwh-server-provisioning-plugin
- github:
educationwarehouse/server_provisioning
- plugin name:
edwh[server-provisioning]
- subcommand namespace:
remote
b2
- pip name:
edwh-b2-plugin
- github:
educationwarehouse/edwh-b2-plugin
- plugin name:
edwh[b2]
- subcommand namespace:
b2
Locust
- pip name:
edwh-locust-plugin
- github:
educationwarehouse/edwh-locust-plugin
- plugin name:
edwh[locust]
- subcommand namespace:
locust
sshkey
- pip name:
edwh-sshkey-plugin
- github:
educationwarehouse/edwh-sshkey-plugin
- plugin name
edwh[sshkey]
- subcommand namespace
sshkey
sshfs
- pip name:
edwh-sshfs-plugin
- github:
educationwarehouse/edwh-sshfs-plugin
- plugin name
edwh[sshfs]
- subcommand namespace
sshfs
files
- pip name:
edwh-files-plugin
- github:
educationwarehouse/edwh-files-plugin
- plugin name
edwh[files]
- subcommand namespace
file
whitelabel
- pip name:
edwh-whitelabel-plugin
- github:
educationwarehouse/edwh-whitelabel-plugin
- plugin name
edwh[whitelabel]
- subcommand namespace
wl
License
edwh
is distributed under the terms of the MIT license.
Changelog
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
edwh-0.49.1.tar.gz
(58.4 kB
view details)
Built Distribution
edwh-0.49.1-py3-none-any.whl
(45.9 kB
view details)
File details
Details for the file edwh-0.49.1.tar.gz
.
File metadata
- Download URL: edwh-0.49.1.tar.gz
- Upload date:
- Size: 58.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d41938e88189b6599868f75a8f256af12b4d5c9e73ea7cc3d8839103a046b83a |
|
MD5 | 76417c2aece5b184f56d762fc9a26802 |
|
BLAKE2b-256 | 03a6787cab6cd00bc0b109bdcee735e60930d63eaa4ecc8fa1111e6d2ac3b760 |
File details
Details for the file edwh-0.49.1-py3-none-any.whl
.
File metadata
- Download URL: edwh-0.49.1-py3-none-any.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925702e9a85859bd648d614fe49a5b3a8ea01f37f3f14b5c09e83b8bf3ba2473 |
|
MD5 | 8728c62bb0b794b77c43dc1f6f26421f |
|
BLAKE2b-256 | 1acacc85585bfed4670c98e25c6e50f547a9e70c99f7e36355f47d9d4cf804f6 |