run
doit
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
run
-
Fig Has Joined AWS
I've been using Run [0] for this purposes.
[0]: https://github.com/TekWizely/run
-
Show HN: Xc – A Markdown Defined Task Runner
To the extent that posts like these evolve into discussing the merits of Make as a task runner, I would like to offer my tool for review:
* https://github.com/TekWizely/run
I built it to feel like make, but be better at managing tasks and wrappers.
If you are evaluating task runners and appreciate the simplicity of Make's syntax, I hope you'll give Run a try.
-
Just: A Command Runner
I invite you take a look at Run, a similar tool that I maintain:
* https://github.com/TekWizely/run
Support for including other Runfiles was recently introduced, with support for globbing and the ability to indicate if an error should be generated if no files are found.
- Automatic Makefile help generation
-
DevOps Is Bullshit
Unrelated to this topic, I invite you take a look at my project which a tool purpose-built to be a better version of what your makefile became:
Run: Task runner that helps you easily manage and invoke small scripts and wrappers
https://github.com/TekWizely/run
Defining commands feels like make, but comes with a bunch of extras targeted at the needs of a task-runner.
I hope you'll check it out!
-
sd – a cozy nest for your scripts
This looks like an interesting way to manage scripts globally. I could even see it able to manage n-sub-commands deep (vs usual "command sub-command" - maybe it already does?) by just trying to resolve each argument as a dir until you find a script to execute.
If you're interested in ways to better-manage small scripts and wrappers more locally, please take a look at my project, Run:
https://github.com/TekWizely/run
- Run v0.9.0 - Easily manage and invoke small scripts and wrappers - Now with support for Includes!
-
run VS makesure - a user suggested alternative
2 projects | 13 Aug 2022
-
The Unreasonable Effectiveness of Makefiles
For those looking for a powerful task runners that feel like a makefile, please take a look at Run:
https://github.com/TekWizely/run
It's better a managing and invoking tasks and generates help text from comments.
doit
-
How do you deal with CI, project config, etc. falling out of sync across repos?
I like mage for Go and doit for Python.
-
What’s with DevOps engineers using `make` of all things?
Some competitors - Rake (ruby) - Bake - Earthly - SCons - doit
-
Show HN: Jeeves – A Pythonic Alternative to GNU Make
An alternative to Scons could be Doit (<https://pydoit.org/>), which if I remember correctly was built as a faster alternative to Scons. See also reasons of some users to prefer the later to other mentioned here: <https://pydoit.org/stories.html>.
- A Python powered task management and automation tool
- Makefile Tricks for Python Projects
-
Write Posix Shell
If you code in Python, your probably should use the language as much as possible and avoid calling shell commands.
E.G:
- manipulate the file system with pathlib
- do hashes with hashlib
- zip with zipfile
- set error code with sys.exit
- use os.environ for env vars
- print to stderr with print(..., file=...)
- sometimes you'll need to install lib. Like, if you want to manipulate a git repo, instead of calling the git command, use gitpython (https://gitpython.readthedocs.io/en/stable/)
But if you don't feel like installing a too many libs, or just really want to call commands because you know them well, then the "sh" lib is going to make things smoother:
https://pypi.org/project/sh/
Also, enjoy the fact Python comes with argparse to parse script arguments (or if you feel like installing stuff, use typer). It sucks to do it in bash .
If what you need is more build oriented, like something to replace "make", then I would instead recommend "doit":
https://pydoit.org/
It's the only task runner that I haven't run away from yet.
Remember to always to everything in a venv. But you can have a giant venv for all the scripts, and just she-bang the venv python executable so that it's transparent. Things don't have to be difficult.
-
Alternatives to Makefile for Python
I've been using Doit for a project which involves gathering together documents made up of multiple Markdown files and converting to multiple formats. It's really cool but has some irritations. It didn't end up being much simpler than Make for me. I'm interested in trying some of the alternatives people have posted.
- Just: A Command Runner
-
I used Python to control a custom stop-motion animation drawing machine
The code for all of this is available here, and described in detail in my article. I'm particularly fan of doit for this type of project, and highly encourage everyone to check it out!
-
Monorepo Build Tools
Instead, I use pydoit (which is basically a Python version of make). It's simple, flexible, and quite extensible. So, here's what I do with it:
What are some alternatives?
bashly - Bash command line framework and CLI generator
Invoke - Pythonic task management & command execution.
earthly - Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.
Prefect - The easiest way to build, run, and monitor data pipelines at scale.
pure-sh-bible - 📖 A collection of pure POSIX sh alternatives to external processes.
Joblib - Computing with Python functions.
shtlang - A toy scripting dynamic imperative programming language.
schedule - Python job scheduling for humans.
Cake - :cake: Cake (C# Make) is a cross platform build automation system.
Task - A task runner / simpler Make alternative written in Go
makesure - Simple task/command runner with declarative goals and dependencies
TaskFlow - A library to complete workflows/tasks in HA manner. Mirror of code maintained at opendev.org.