oras-py
oras-py copied to clipboard
[feature request] Provide python SDK
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.
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.
+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: https://github.com/mlperf/mlbox/issues/89
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.
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.
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.
@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.
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
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.
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
Cool!
Can you please push it to the upstream https://github.com/oras-project/oras-py, then maybe we can collaborate on it!
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.
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.
@SteveLasker @vsoch What's the repository status on the oras python SDK?
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.
@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?
Sure, that works for me! Any issues / questions that are opened there I'm happy to field.
Is there a reason this was re-opened?