experimental/sources/: docker-pycreds-0.4.0 metadata and description

Homepage Simple index

Python bindings for the docker credentials store API

classifiers
  • Development Status :: 4 - Beta
  • Environment :: Other Environment
  • Intended Audience :: Developers
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: 3.6
  • Topic :: Utilities
  • License :: OSI Approved :: Apache Software License
license Apache License 2.0
platform
  • UNKNOWN
File Tox results History
docker-pycreds-0.4.0.tar.gz
Size
9 KB
Type
Source
# docker-pycreds

[![CircleCI](https://circleci.com/gh/shin-/dockerpy-creds/tree/master.svg?style=svg)](https://circleci.com/gh/shin-/dockerpy-creds/tree/master)

Python bindings for the docker credentials store API

## Credentials store info

[Docker documentation page](https://docs.docker.com/engine/reference/commandline/login/#/credentials-store)

## Requirements

On top of the dependencies in `requirements.txt`, the `docker-credential`
executable for the platform must be installed on the user's system.

## API usage

```python

import dockerpycreds

store = dockerpycreds.Store('secretservice')
store.store(
server='https://index.docker.io/v1/', username='johndoe',
secret='hunter2'
)

print(store.list())

print(store.get('https://index.docker.io/v1/'))


store.erase('https://index.docker.io/v1/')
```

Render warnings:
<string>:18: (WARNING/2) Inline literal start-string without end-string.