Skip to content

Python SDK Documentation  #3639

Closed
Closed

Description

@mircubed

What is the issue?

We will need the following for the Python launch.

  • New section in docs
  • Get Started Guide
  • API reference guide
  • Installation

@helderco can help support as needed since he is Python SDK release lead.

Activity

  1. added
    area/documentation
    on Nov 2, 2022
  2. mircubed commented on Nov 2, 2022

    @mircubed
    ContributorAuthor

    @kpenfound, @vikram-dagger is going to have this issue as his P1, so please let Vikram know if you are working on anything related to a getting started guide so y'all don't do double the work

  3. added this to the milestone on Nov 3, 2022
  4. helderco commented on Nov 4, 2022

    @helderco
    Contributor

    On the installation instructions:

    There's many ways to install python, multiple package managers and ways to manage virtual environments. Pythonistas should know this. We can say "on this guide we'll use x and y", but should be obvious that one can use whatever one's comfortable with. I leave to Vikram to add that note anyway.

    Notes:

    • Need python 3.10
    • Use poetry
      • Popular
      • Manages environment (simpler instructions)

    Pseudo, high-level overview of steps needed for the guide:

    1. brew install python1
    2. pip install pipx && pipx install poetry2
    3. mkdir, cd && poetry init
    4. poetry add dagger.io (if not chosen during init above)
    5. poetry shell
    6. (insert first example)
    7. python example.py
    8. iterate on last two points

    Footnotes

    1. Just link to python's guide on installing python, no need to give commands. ↩

    2. Same as above, just refer to poetry's guide to install it. ↩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions