# docker-pycreds
[](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/')
```
[](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/')
```
Release files for docker-pycreds 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docker-pycreds-0.4.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docker_pycreds-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 17.7 kB
Release files / docker-pycreds-0.4.0.tar.gz
| Download URL | docker-pycreds-0.4.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4
|
|
BLAKE2b-256 checksum How to use checksums |
c5e6d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / docker_pycreds-0.4.0-py2.py3-none-any.whl
| Download URL | docker_pycreds-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49
|
|
BLAKE2b-256 checksum How to use checksums |
f5e8f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|