Skip to content
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

[feature request] Provide python SDK #84

Open
gaocegege opened this issue Jun 12, 2020 · 17 comments
Open

[feature request] Provide python SDK #84

gaocegege opened this issue Jun 12, 2020 · 17 comments
Labels
help wanted Extra attention is needed

Comments

@gaocegege
Copy link

Docker provides both Golang and Python SDK here https://docs.docker.com/engine/api/sdk/

If we can provide python sdk too for the custom artifact, I think we can expand the audience.

@mirdaki
Copy link

mirdaki commented Aug 3, 2020

This would help out a project I am going to work on soon! Hope a +1 might get it on a roadmap or what not.

@swiftdiaries
Copy link

+1 on this feature.
I would love to help get this done. I'm not really sure how this would look like. How does Docker manage the client SDKs?
Issue for reference: mlcommons/mlcube#89

@SteveLasker
Copy link
Contributor

I'd imagine this as another repo ORAS-python, so the python sdk could be built and versioned independently, but happy to support the work with a set of capabilities we focus upon.

@vsoch
Copy link
Contributor

vsoch commented Oct 19, 2020

In case it's helpful, I just finished a first draft of a distribution spec Python client, "Reggie Python" in the opencontainers distribution module to mirror the GoLang counterpart, Reggie inspired by @jdolitsky. Has anyone started working on ORAS-python, or need help? I really enjoy this stuffs so I can offer to help, but I'd probably need pointers since I'm familiar with the distribution spec but not oras specifically.

@SteveLasker
Copy link
Contributor

If anyone would like to implement ORAS in Python, we'd be happy to adopt it under ORAS. If so, please reach out and we can add it to the ORAS family. We'd love to make ORAS multi-lingual.

@vsoch
Copy link
Contributor

vsoch commented Apr 7, 2021

@SteveLasker I'd really enjoy doing this as a weekend project, seems up my alley :) Is there any documentation or discussion to be had, or just point at this repository and say "Make it Python!" I could probably do that over the weekends as a fun project.

@SteveLasker
Copy link
Contributor

Thanks @vsoch,
We're about to do a split of the libraries and binaries oras-project/oras#181, so I'd suggest tracking that item and once complete you should have what you need to do a python version. Or, this will help us understand what we need to doc, so you could write a python version.

Steve

@gaocegege
Copy link
Author

gaocegege commented Dec 6, 2021

Hi, is there any progress? I am still waiting for the upstream python SDK to support https://github.com/kleveross/ormb

Or I can help implement such an SDK for the community.

@vsoch
Copy link
Contributor

vsoch commented Dec 6, 2021

I started but I haven't been able to make the time, so please take the reins if you can! https://github.com/vsoch/oras-python

@gaocegege
Copy link
Author

Cool!

Can you please push it to the upstream https://github.com/oras-project/oras-py, then maybe we can collaborate on it!

@vsoch
Copy link
Contributor

vsoch commented Dec 6, 2021

Sure! It’s 2am here so I can do this tomorrow - feel free to grab the commits and do it on my behalf.

I can definitely more easily help if it’s a team effort - would be nice to have someone to chat to about it. I was trying to reproduce the Go structure verbatim which in retrospect I’m not sure was the right approach.

@gaocegege
Copy link
Author

I am in https://cloud-native.slack.com/archives/CJ1KHJM5Z and my slack ID is https://cloud-native.slack.com/archives/D91B8M3J4 (gaocegege), we can discuss it in the channel.

@shizhMSFT
Copy link
Contributor

@SteveLasker @vsoch What's the repository status on the oras python SDK?

@vsoch
Copy link
Contributor

vsoch commented May 7, 2022

There is a branch that starts to mirror the Go SDK, but after starting i I think copying the same design is the wrong approach, so it's largely abandoned. If there were a more general design spec I could probably whip together the project, but I wasn't able to not knowing those details.

@FeynmanZhou
Copy link
Member

FeynmanZhou commented Aug 31, 2022

@swiftdiaries @mirdaki @gaocegege Now we have the ORAS-py project officially: https://github.com/oras-project/oras-py, I would appreciate you if you can try it and provide your feedback.

@vsoch Shall we move this discussion to the ORAS-py repo?

@vsoch
Copy link
Contributor

vsoch commented Aug 31, 2022

Sure, that works for me! Any issues / questions that are opened there I'm happy to field.

@shizhMSFT shizhMSFT transferred this issue from oras-project/oras Mar 22, 2023
@vsoch
Copy link
Contributor

vsoch commented Mar 22, 2023

Is there a reason this was re-opened?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
No open projects
Status: No status
Development

No branches or pull requests

7 participants