About pypyr
pypyr is a free, open-source task runner that lets you define sequential steps in a YAML pipeline and run them from the command line or an API. It is positioned as a more capable alternative to shell scripts and makefiles for automating sequences of commands.
A pipeline can combine commands, scripts in different languages and other applications into a single process. Steps can run in loops, execute conditionally, wait for status changes, stop on failure or swallow errors. Simple variable substitution and configuration file management let you read, merge and write YAML, JSON or text files, which helps when orchestrating CI/CD and DevOps operations.
pypyr is licensed under Apache-2.0, tested against Python 3.7 and later, and runs on Linux, macOS and Windows, including CI servers and containers. Documentation is hosted on the project site, and community discussion happens in a forum.
Key features
- YAML-defined step pipelines
- Loops and conditional step execution
- Waits for status changes
- Break on failure or swallow errors
- Variable substitution and config merging
- Reads and writes YAML, JSON and text
Good fit for
- →CI/CD pipeline orchestration
- →Replacing shell scripts and makefiles
- Built with
- Python
- Tags
- task-runner
- pipelines
- automation
- devops
- ci-cd
- python
- yaml
- cli
pypyr: questions and answers
- What is pypyr used for?
- pypyr is a Python task runner that executes YAML-defined pipelines of steps, useful for CI/CD and DevOps automation. It is a good fit for CI/CD pipeline orchestration, and replacing shell scripts and makefiles.
- Is pypyr open source?
- Yes. pypyr is open source under the Apache-2.0 licence. Its source code is on GitHub at pypyr/pypyr and is written mainly in Python.
- Is pypyr free?
- Yes. pypyr is open source, so the software itself is free to use.
- What are some alternatives to pypyr?
- Similar open-source tools in the CI/CD & DevOps category include Dagger, Jenkins and Concourse CI. SaaS products in the same category include Buddy, CircleCI and AWS CodePipeline.
- Is pypyr actively maintained?
- The most recent commit to pypyr was on 19 December 2023, and the latest release is v5.9.1, published on 22 September 2023. The project has 645 stars on GitHub.
Open-source alternatives to pypyr
See all
Dagger
CI/CD & DevOps
Automation engine to build, test and ship any codebase. Runs locally, in CI, or directly i
Apache-2.0★ 16k
Jenkins
CI/CD & DevOps
Jenkins automation server
MITvs CircleCI★ 27k
Concourse CI
CI/CD & DevOps
Concourse is a container-based automation system written in Go. It's mostly used for CI/CD
Apache-2.0vs GitHub Actions★ 7.9k
Ansible
CI/CD & DevOps
Ansible is a radically simple IT automation platform that makes your applications and syst
GPL-3.0vs AWS CodeDeploy★ 71kactionlint
CI/CD & DevOps
:octocat: Static checker for GitHub Actions workflow files
MIT★ 4.3k
Changie
CI/CD & DevOps
Automated changelog tool for preparing releases with lots of customization options
MIT★ 913
SaaS alternatives to pypyr
See all
Buddy
CI/CD & DevOps
Visual CI/CD tool for building, testing and deploying web projects
SaaS
CircleCI
CI/CD & DevOps
Hosted continuous integration and delivery platform for build and test pipelines
SaaS
AWS CodePipeline
CI/CD & DevOps
Managed AWS service that automates build, test and deploy release pipelines
SaaS
Azure DevOps
CI/CD & DevOps
Microsoft suite for repos, boards, pipelines, test plans and artifact feeds
SaaS
Bitbucket
CI/CD & DevOps
Git repository hosting with pull requests and built-in Pipelines CI/CD
SaaS
Buildkite
CI/CD & DevOps
CI/CD platform that runs pipelines on build agents you host yourself
SaaS

