# 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/')
```
Raw data
{
"_id": null,
"home_page": "https://github.com/shin-/dockerpy-creds",
"name": "docker-pycreds",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c5/e6/d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009/docker-pycreds-0.4.0.tar.gz",
"platform": "",
"description": "# docker-pycreds\n\n[![CircleCI](https://circleci.com/gh/shin-/dockerpy-creds/tree/master.svg?style=svg)](https://circleci.com/gh/shin-/dockerpy-creds/tree/master)\n\nPython bindings for the docker credentials store API\n\n## Credentials store info\n\n[Docker documentation page](https://docs.docker.com/engine/reference/commandline/login/#/credentials-store)\n\n## Requirements\n\nOn top of the dependencies in `requirements.txt`, the `docker-credential`\nexecutable for the platform must be installed on the user's system.\n\n## API usage\n\n```python\n\nimport dockerpycreds\n\nstore = dockerpycreds.Store('secretservice')\nstore.store(\n server='https://index.docker.io/v1/', username='johndoe',\n secret='hunter2'\n)\n\nprint(store.list())\n\nprint(store.get('https://index.docker.io/v1/'))\n\n\nstore.erase('https://index.docker.io/v1/')\n```\n\n\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "Python bindings for the docker credentials store API",
"version": "0.4.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "1660c3aa07d9368af96749862f00976f",
"sha256": "7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49"
},
"downloads": -1,
"filename": "docker_pycreds-0.4.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "1660c3aa07d9368af96749862f00976f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8982,
"upload_time": "2018-11-29T03:26:49",
"upload_time_iso_8601": "2018-11-29T03:26:49.575416Z",
"url": "https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "322f570cea6b4661c6ac335683988e18",
"sha256": "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4"
},
"downloads": -1,
"filename": "docker-pycreds-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "322f570cea6b4661c6ac335683988e18",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8754,
"upload_time": "2018-11-29T03:26:50",
"upload_time_iso_8601": "2018-11-29T03:26:50.996087Z",
"url": "https://files.pythonhosted.org/packages/c5/e6/d1f6c00b7221e2d7c4b470132c931325c8b22c51ca62417e300f5ce16009/docker-pycreds-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-11-29 03:26:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "shin-",
"github_project": "dockerpy-creds",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "six",
"specs": [
[
">=",
"1.4.0"
]
]
}
],
"lcname": "docker-pycreds"
}