New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add Python SDK docs #3658
Conversation
I created #3668 to confirm that API reference plan. Based on that decision, we can update the PR |
@helderco , Vikram will need your code by Tuesday in order to give him one day to get it into the getting started guide for a Thursday launch |
a8b85fe
to
3a63fa2
Compare
d701e6c
to
5ce2fa2
Compare
Running through the getting-started guide on a macbook. Using system python3
|
5ce2fa2
to
c2d31fb
Compare
@kpenfound the latest version doesn't use poetry, just |
c2d31fb
to
1b2c3e7
Compare
Newest updates worked for me @vikram-dagger !
|
It's possible if we put the output from each test in separate files and combine later but sometimes reaching for the language's concurrency is adequate and I wanted to show how you can do that, including seeing the performance increase of doing it in async vs sync for example. We can also put concurrency in an advanced guide or something, but I'd like to at least have that example. |
The Dagger Python SDK may *not* be a good fit if you are... | ||
|
||
* A developer who doesn't know Python, and is not interested in learning it. | ||
* A "designated devops person" who doesn't think of themselves as a developer - nothing makes you happier than a battle-hardened shell script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shykes has feedback on this line, as Python isn't normally the go to for devops.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
1b2c3e7
to
093eccf
Compare
* 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 cloud-native developer advocate or solutions engineer, looking to demonstrate a complex integration on short notice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change " A cloud-native developer advocate or solutions engineer, looking to demonstrate a complex integration on short notice." to "A data engineer looking to better integrate with your organization's CI/CD pipelines."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
"A data engineer looking to better integrate with your organization's CI/CD or MLOps pipelines."
Modified now |
72f937c
to
d72fd1e
Compare
f81d3ef
to
fe27185
Compare
This commit adds Python SDK documentation and a new set of nodes to the navigation tree, It adds the Python SDK introduction, installation steps, get started guide and additional guide. It adds the code for the guides as individual code snippets. The additional guide provides a multi-build example similar to the one used for the Go SDK. Signed-off-by: Vikram Vaswani <vikram@dagger.io>
fe27185
to
ac5998a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good after a light review. I suggest we merge quickly and keep improving iteratively.
@vikram-dagger I defer to you on when to merge.
This commit contains the Python SDK documentation, consisting of
After this commit is applied, a new sidebar navigation node will appear for the Python SDK and related docs.
Closes #3639
Signed-off-by: Vikram Vaswani vikram@dagger.io