Announcing Dagger Cloud
Read more

Develop your pipelines as code with the Dagger Python SDK

November 9th, 2022
Python with Daggernaunt

Today we are proud to introduce the Dagger Python SDK: a new way to develop your CI/CD pipelines as code and run them anywhere.

The Dagger Python SDK may be a good fit if you are...

  • A Python developer wishing your CI pipelines were Python code that you can run locally in seconds, instead of YAML that can only run on a proprietary service
  • A developer who needs CI/CD, and is looking for an excuse to learn Python
  • Your team's "designated devops person", hoping to replace a pile of artisanal scripts with something more powerful
  • A platform engineer writing custom Python tooling, with the goal of unifying continuous delivery across organizational silos
  • A data engineer looking to better integrate with your organization's CI/CD pipelines.

Just two weeks ago we announced the Dagger Go SDK, and will continue to release more SDKs in the future. Our ultimate goal is to ensure all developers can develop their CI/CD pipelines with the language of their choice, and enjoy all the benefits of running them with Dagger.

If you are looking for a different SDK, let us know by filling this form. We will notify you when your SDK is ready.

What is Dagger again?

Dagger is a programmable CI/CD engine that runs your pipelines in containers.

Programmable: develop your CI/CD pipelines as code, in the same programming language as your application.

Runs your pipelines in containers: Dagger executes your pipelines entirely as standard OCI containers. This has several benefits:

  • Instant local testing
  • Portability: the same pipeline can run on your local machine, a CI runner, a dedicated server, or any container hosting service.
  • Superior caching: every operation is cached by default, and caching works the same everywhere
  • Compatibility with the Docker ecosystem: if it runs in a container, you can add it to your pipeline
  • Cross-language instrumentation: teams can use each other’s tools without learning each other’s language


Dagger Python SDK in Action

In this demo, we’ll show you how to create a CI tool to test your Python application against multiple Python versions.

Want to try it yourself? Check out our Getting Started Guide.

Want to Get Involved?

We have lots of ways to contribute and stay engaged with Dagger updates. We look forward to seeing you in our community forum: