Skip to content

OCI Registry as Storage Python client (under development)

License

Notifications You must be signed in to change notification settings

vsoch/oras-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORAS Python

https://raw.githubusercontent.com/oras-project/oras-www/main/docs/assets/images/oras.png

OCI Registry as Storage enables client libraries to push OCI Artifacts to OCI Conformant registries. This is a Python client for that.

under development

Usage

You should see supported registries, or if you want to deploy a local testing registry, you can do:

$ docker run -it --rm -p 5000:5000 registry 

And follow the instructions here to add authentication (recommended). There is a start-dev-server.sh script in the root of this repository that will start your registry for you after you generate a credential.

Login

Once you create (or already have) a registry, you will want to login. You can do:

$ oras-py login -u myuser -p mypass localhost:5000

# or localhost (insecure)
$ oras-py login -u myuser -p mypass -k localhost:5000

TODO

  • finish all basic commands
  • add testing
  • need to have git commit, state, added to defaults on install/release. See here.

License

This code is licensed under the MIT LICENSE.

About

OCI Registry as Storage Python client (under development)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages