Yo-runner
Yo is a Yaml-driven task runner for lazy people. When you're coding, you may often need to run a long command many times, but you don't want to do all that typing every time. You don't want to have to remember the options or the flags every time. You could write a Makefile, but they're annoying. Maybe your toolkit provides the functionality, if you want to mess with that. You could use something like gulp or grunt, but that's a lot of overhead. All you really want is something like directory-specific aliases.
That's where yo comes in. All you do is write a yo.yaml that looks something
like this:
run: poetry run flask run
serve-docs: python -m http.server --directory docs/_build
docs:
- poetry run sphinx-build docs docs/_build | tee docs/build_errors.txt
- serve-docs
test: poetry run pytest
Now, in that directory you can run yo run to run your app, yo serve-docs to
serve your documentation folder, yo docs to build and serve documentation,
and yo test to figure out why your stupid program still isn't working. And
any arguments you pass to the yo command will be passed through the task.
Yo can handle single commands, sequential lists, and concurrent lists. Every
command is run on the shell, so pipes and redirects work. There's also support
for environment variables and variables internal to the yo.yaml so that you
don't have to type paths more than once. It's lazy all the way down.
See the full documentation for yo at https://OliverSherouse.github.io/yo-runner.
Metadata
Release files for yo-runner 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yo-runner-0.1.2.tar.gz | 4.8 kB | Without provenance | Details for yo-runner-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yo_runner-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for yo_runner-0.1.2-py3-none-any.whl |
Total release size: 15.0 kB
Release files / yo-runner-0.1.2.tar.gz
| Download URL | yo-runner-0.1.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17509b3dd74df33a6c6094daf7d730058160ac8e5657b7bf2a90b5c6b3088bb3
|
|
BLAKE2b-256 checksum How to use checksums |
7ddce014e97ce716fab3f665165f401a5d5c112477fee8c876d785e1f6bca6e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1028-gcp
|
Release files / yo_runner-0.1.2-py3-none-any.whl
| Download URL | yo_runner-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0ae76f42259ce16c5704fe7b16f84875428c6654acfe6f8377940baa2cbcaa1
|
|
BLAKE2b-256 checksum How to use checksums |
1a29ecec51977b6d3fc8a3c747283fa6c5ad3148a43159120b6193412aebc893
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1028-gcp
|
Security for yo-runner 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.