Task VS doit

Compare Task vs doit and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
Task doit
113 20
9,977 1,781
4.5% 1.4%
9.6 0.0
16 days ago 6 months ago
MDX Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Task

Posts with mentions or reviews of Task. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-04.
  • Show HN: Workflow Orchestrator in Golang
    7 projects | news.ycombinator.com | 4 Mar 2024
    So many tools in this space! This one looks a little bit like go-task, but it seems maybe better for production workflows because if timeout support, while go-task seems more aimed to command line work/makefile replacement.

    —-

    https://github.com/go-task/task

  • Essential Command Line Tools for Developers
    29 projects | dev.to | 15 Jan 2024
    View on GitHub
  • Task: A task runner / alternative to GNU Make
    1 project | news.ycombinator.com | 26 Dec 2023
  • Using Make – writing less Makefile
    6 projects | news.ycombinator.com | 26 Dec 2023
    A similar tool is `task` https://taskfile.dev/ . It is quite capable and also a single executable. I've grown to quite like it.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    check out tasks - a bit of a learning curve but arguably more powerful imo
  • Go Development with Hot Reload Using Taskfile
    2 projects | dev.to | 11 Nov 2023
    That's when I came across taskfile.dev. Task is an automation tool designed to be more accessible than other options, such as GNU Make.
  • Poetry (Packaging) in motion
    2 projects | dev.to | 27 Sep 2023
    Full disclosure, I did not review Conda or Hatch fully. Not that there is anything explicitly wrong with either of them. Conda is too specific to the scientific community for my general taste. Hatch seems to go well with Conda and also uses the PyProject manifest as well. It's nice that it gives you several built in tools, similar to commit hooks, but I tend to like to roll my own via a Taskfile and run them with Poetry.
  • Building RESTful API with Hexagonal Architecture in Go
    21 projects | dev.to | 27 Sep 2023
    Taskfile is a tool for streamlining repetitive development tasks. It helps automate activities like building, testing, and deploying applications. Unlike Makefile, Taskfile uses YAML for configuration, making it more readable and user-friendly.
  • We built the fastest CI in the world. It failed
    11 projects | news.ycombinator.com | 12 Sep 2023
    9. We test everything with another promotion which runs make targets which build docker containers to run python scripts (pytest)

    This is also built by a complicated web of wildcarded makefile targets, which need to be interoperable and support a few if/else cases for specific components.

    My plan is to migrate all of this to something simpler and more straightforward, or at least more maintainable, which is honestly probably going to turn into taskfile[0] instead of makefiles, and then simple python scripts for the glue that ties everything together or does more complex logic.

    My hope is that it can be more straightforward and easier to maintain, with more component-ized logic, but realistically every step in that labyrinthine build process (and that's just the open-source version!) came from a decision made by a very talented team of engineers who know far more about the process and the product than I do. At this point I'm wondering if it would make 'more sense' to replace it with a giant python script of some kind and get access to all the logic we need all at once (it would not).

    [0] https://taskfile.dev/

  • Exploring GCP With Terraform: Setting Up The Environment And Project
    7 projects | dev.to | 20 Aug 2023
    task - a task runner and a replacement for make

doit

Posts with mentions or reviews of doit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • How do you deal with CI, project config, etc. falling out of sync across repos?
    2 projects | /r/ExperiencedDevs | 6 Dec 2023
    I like mage for Go and doit for Python.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    Some competitors - Rake (ruby) - Bake - Earthly - SCons - doit
  • Show HN: Jeeves – A Pythonic Alternative to GNU Make
    7 projects | news.ycombinator.com | 5 Nov 2023
    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
    1 project | news.ycombinator.com | 1 Jul 2023
  • Makefile Tricks for Python Projects
    2 projects | news.ycombinator.com | 27 May 2023
  • Write Posix Shell
    10 projects | news.ycombinator.com | 11 Mar 2023
    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
    9 projects | /r/Python | 25 Jan 2023
    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
    27 projects | news.ycombinator.com | 9 Jan 2023
  • I used Python to control a custom stop-motion animation drawing machine
    6 projects | /r/Python | 26 Dec 2022
    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
    4 projects | /r/programming | 15 Dec 2022
    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?

When comparing Task and doit you can also consider the following projects:

just - 🤖 Just a command runner

Invoke - Pythonic task management & command execution.

goreleaser - Deliver Go binaries as fast and easily as possible

Prefect - The easiest way to build, run, and monitor data pipelines at scale.

boilr - :zap: boilerplate template manager that generates files or directories from template repositories

Joblib - Computing with Python functions.

JobRunner - Framework for performing work asynchronously, outside of the request flow

schedule - Python job scheduling for humans.

taskctl - Concurrent task runner, developer's routine tasks automation toolkit. Simple modern alternative to GNU Make 🧰

TaskFlow - A library to complete workflows/tasks in HA manner. Mirror of code maintained at opendev.org.

spinner - Go (golang) package with 90 configurable terminal spinner/progress indicators.

APScheduler - Task scheduling library for Python