Python for shell scripting
Project description
run.yml
# py-shell-runner is an npm like run configuration and shell scripting package.
# you can define your commands in a run.yml file and simply run with the run
# command, like `run build`, `run clean`, etc.
#
# ______ __ __ _______
# / \ / | / |/ \
# /$$$$$$ |$$ | $$ |$$$$$$$ |
# $$ | $$/ $$ | $$ |$$ | $$ |
# $$ | $$ \__$$ |$$ | $$ |
# $$ | $$ $$/ $$ | $$ |
# $$/ $$$$$$/ $$/ $$/
#
#
# Getting started:
#
# # Install with any of the bellow command.
# .---------------------------------------.
# | uv add py-shell-runner |
# | pip install py-shell-runner |
# '---------------------------------------'
#
# # Create a `run.yml` file in your project root
# run --init
#
# # Run the commands defined in `run.yml`
# run build
#
commands:
push:
- desc: Commit and push changes
- throw: true
- pytest
- git add .
- git commit
- git push
publish:
desc: Build and publish the package
ensure_env:
- UV_PUBLISH_TOKEN
cmd:
- rm -r dist
- throw: true
- pytest
- uv build
- uv publish
clean:
- desc: Clean up build artifacts
- rm -r dist
- rm -r src/py_shell_runner.egg-info
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 py_shell_runner-0.1.0.dev5.tar.gz.
File metadata
- Download URL: py_shell_runner-0.1.0.dev5.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ce6347bdd56f17362644714cd7aca4bbd87883e7df9a8937e68fbae7d64112
|
|
| MD5 |
f6a6325c505094af0702bdbef07a27e3
|
|
| BLAKE2b-256 |
06ed717a9067008523653ea45b0dbfab4830b4d76816489ef78d5bfe6348d1e7
|
File details
Details for the file py_shell_runner-0.1.0.dev5-py3-none-any.whl.
File metadata
- Download URL: py_shell_runner-0.1.0.dev5-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0748a3b5ce7d345c49bf15b3d02da11e5ee5518c02a2cbdf2d28ff664f0eaf0
|
|
| MD5 |
a71323be750f03333ad0e2b78848ae81
|
|
| BLAKE2b-256 |
54601cc9c71530d97103070ba2c323e11c8ee9c8b4c81b208d38e29845c65c10
|