A tool for handling automated tasks in Steinwurf.
Project description
In Steinwurf we have a few general tasks that every developer in Steinwurf needs to carry out once in a while.
For example, Releasing a new version of a project.
Steinwurf Tasker is the tool for automating such tasks.
Installation
Install the steinwurf-tasker tool using pip:
python -m pip install steinwurf-tasker
Alternatively you can also use pipx for the installation (this works in ubuntu 23.04):
pipx install steinwurf-tasker
Setup config
Create a file in your home folder called .steinwurf-tasker.yaml.
Add the following content and modify the values to the
editor: code
resolve_path: /home/username/projects/dependencies
project_paths:
- /home/username/projects/
release_email:
host: smtp.emailhost.com
port: 587
sender: release_email@email.com
password: release_email_password
receiver: release_email_receiver@email.com
tailscale:
api_key: tskey-123456789
url: <tailscale api URL, something like: https://api.tailscale.com/api/v2/tailnet/{user}>
credentials:
user: common_account_name
password: common_account_password
Usage
You’ll now be able to use the sw command line tool. The following will list the available sw commands:
sw -l
Update
To update Steinwurf Tasker use pip:
python -m pip install steinwurf-tasker
Please make sure to also extend the config file with required information.
Development
When developing a new feature for Steinwurf Tasker it can be nice to install the local version in editable mode. This can done using the following command:
cd steinwurf-tasker python3 -m pip install -e .
To revert this and use the pip package use this command:
cd steinwurf-tasker python3 -m pip uninstall steinwurf-tasker python -m pip install steinwurf-tasker
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steinwurf_tasker-3.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: steinwurf_tasker-3.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033c0cc48b670a42c957c6578b389db8a0a8625ec441adb8e90dd14091849ca5
|
|
| MD5 |
16704a0d073161a589ba5d939082f1f4
|
|
| BLAKE2b-256 |
9bfa38ea1ddd0a75b7b7055f553df2db1f1dc9da45890f224db2e05d864e4072
|