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
You can also release a project without a config file by passing the project path directly:
sw project.release myproject --project-path /home/username/projects
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
Release
PyPI releases for this repository are published through the GitHub Actions workflow .github/workflows/pypi-publish.yml.
The workflow runs when a *.*.* tag is pushed, and it can also be started manually from the Actions tab using workflow_dispatch.
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
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.6.tar.gz.
File metadata
- Download URL: steinwurf_tasker-3.0.6.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ad063f5538c389870bfc605bf768815c8d401633af880bca6d62e78e49bd255
|
|
| MD5 |
f1bcb456cc5e15de07ebcaba40d939e0
|
|
| BLAKE2b-256 |
9ec165a2e9674b5f5af578fcd06f831d287a2a01d7f5217cd6dbc8a5c50ec020
|
Provenance
The following attestation bundles were made for steinwurf_tasker-3.0.6.tar.gz:
Publisher:
pypi-publish.yml on steinwurf/steinwurf-tasker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
steinwurf_tasker-3.0.6.tar.gz -
Subject digest:
2ad063f5538c389870bfc605bf768815c8d401633af880bca6d62e78e49bd255 - Sigstore transparency entry: 1437163757
- Sigstore integration time:
-
Permalink:
steinwurf/steinwurf-tasker@706f431b97e74ae90af6c794762fdf2f3fe71cf9 -
Branch / Tag:
refs/tags/3.0.6 - Owner: https://github.com/steinwurf
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@706f431b97e74ae90af6c794762fdf2f3fe71cf9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file steinwurf_tasker-3.0.6-py3-none-any.whl.
File metadata
- Download URL: steinwurf_tasker-3.0.6-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1906974ab6e34221dda6827edb059cd5878f70648608091fba2cc4143070b50a
|
|
| MD5 |
74f437e83555cc28da9e21c5ae5d1722
|
|
| BLAKE2b-256 |
1ff913dea7ed79b61611621ad07bff7b88159d4d1371b4c814ca71818de2c241
|
Provenance
The following attestation bundles were made for steinwurf_tasker-3.0.6-py3-none-any.whl:
Publisher:
pypi-publish.yml on steinwurf/steinwurf-tasker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
steinwurf_tasker-3.0.6-py3-none-any.whl -
Subject digest:
1906974ab6e34221dda6827edb059cd5878f70648608091fba2cc4143070b50a - Sigstore transparency entry: 1437163759
- Sigstore integration time:
-
Permalink:
steinwurf/steinwurf-tasker@706f431b97e74ae90af6c794762fdf2f3fe71cf9 -
Branch / Tag:
refs/tags/3.0.6 - Owner: https://github.com/steinwurf
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@706f431b97e74ae90af6c794762fdf2f3fe71cf9 -
Trigger Event:
push
-
Statement type: