{ "info": { "author": "Alexandre Yukio Harano", "author_email": "email+docker_cp@ayharano.dev", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: System :: Systems Administration" ], "description": "# simple-docker-cp\n\n> Simple `docker cp` command mimic as a Python package\n\n![PyPI - License](https://img.shields.io/pypi/l/simple-docker-cp.svg?style=plastic)\n![PyPI](https://img.shields.io/pypi/v/simple-docker-cp.svg?style=plastic)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/simple-docker-cp.svg?style=plastic)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/simple-docker-cp.svg?style=plastic)\n\n## Installation\n\nThis package requires Python 3.6+. To install it, just do:\n\n```sh\n$ pip install simple-docker-cp\n```\n\n## Usage\n\nUsage of the provided command-line script `docker-cp`:\n\n```sh\nusage: docker-cp [-h] [--buffer-size buffer_size_in_kilobytes]\n source_path destination_path\n\nCopies a file from or to the container using a fixed size buffer.\n\npositional arguments:\n source_path Source path\n destination_path Destination path\n\noptional arguments:\n -h, --help show this help message and exit\n --buffer-size buffer_size_in_kilobytes\n Optional number of kilobytes argument to set fixed\n size buffer. Defaults to 2048 kilobytes\n```\n\nCurrently, it only works from a container file to a local path.\n\nExample:\n```sh\n$ docker run -d --name test fedora:25 /usr/bin/sleep\n293f80ab6d2bf57e85a6d10762b3cc795cdb104a152d0257471b63544e093166\n$ docker-cp test:/etc/fedora-release .\n$ cat fedora-release\nFedora release 25 (Twenty Five)\n```\n\n## Rationale\n\nIf one is interested in reading about the rationale for this project's development, just read `docs/RATIONALE.md`.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ayharano/simple-docker-cp", "keywords": "docker cp container", "license": "", "maintainer": "", "maintainer_email": "", "name": "simple-docker-cp", "package_url": "https://pypi.org/project/simple-docker-cp/", "platform": "", "project_url": "https://pypi.org/project/simple-docker-cp/", "project_urls": { "Bug Reports": "https://github.com/ayharano/simple-docker-cp/issues", "Homepage": "https://github.com/ayharano/simple-docker-cp", "Source": "https://github.com/ayharano/simple-docker-cp/" }, "release_url": "https://pypi.org/project/simple-docker-cp/2019.7.2.0/", "requires_dist": [ "docker" ], "requires_python": ">=3.6, <4", "summary": "Simple `docker cp` command mimic as a Python package", "version": "2019.7.2.0" }, "last_serial": 5478786, "releases": { "2019.7.2.0": [ { "comment_text": "", "digests": { "md5": "34c0639de4c0d13e1e8c5912b6400e13", "sha256": "acd86355301d365ff98f5649424e6d16aff183e180abc77a5c5aca207294fd32" }, "downloads": -1, "filename": "simple_docker_cp-2019.7.2.0-py3-none-any.whl", "has_sig": true, "md5_digest": "34c0639de4c0d13e1e8c5912b6400e13", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 8952, "upload_time": "2019-07-02T23:38:58", "url": "https://files.pythonhosted.org/packages/f1/08/e65fa781aa11d7060cfdfe61bfaa240b334bc85c52ea0ddc3796e754cefc/simple_docker_cp-2019.7.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7617dce3ded7232538bfcb041fb0c2a", "sha256": "0e649741b7498c57b06294293687fd202efd3db94a44c1a339b3819c25e0ae14" }, "downloads": -1, "filename": "simple_docker_cp-2019.7.2.0.tar.gz", "has_sig": true, "md5_digest": "b7617dce3ded7232538bfcb041fb0c2a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 5836, "upload_time": "2019-07-02T23:39:00", "url": "https://files.pythonhosted.org/packages/43/9e/67ec322d928a4f897dad8f57c310bf28d7d0f09fc92faf8d579b52aa4707/simple_docker_cp-2019.7.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34c0639de4c0d13e1e8c5912b6400e13", "sha256": "acd86355301d365ff98f5649424e6d16aff183e180abc77a5c5aca207294fd32" }, "downloads": -1, "filename": "simple_docker_cp-2019.7.2.0-py3-none-any.whl", "has_sig": true, "md5_digest": "34c0639de4c0d13e1e8c5912b6400e13", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 8952, "upload_time": "2019-07-02T23:38:58", "url": "https://files.pythonhosted.org/packages/f1/08/e65fa781aa11d7060cfdfe61bfaa240b334bc85c52ea0ddc3796e754cefc/simple_docker_cp-2019.7.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7617dce3ded7232538bfcb041fb0c2a", "sha256": "0e649741b7498c57b06294293687fd202efd3db94a44c1a339b3819c25e0ae14" }, "downloads": -1, "filename": "simple_docker_cp-2019.7.2.0.tar.gz", "has_sig": true, "md5_digest": "b7617dce3ded7232538bfcb041fb0c2a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 5836, "upload_time": "2019-07-02T23:39:00", "url": "https://files.pythonhosted.org/packages/43/9e/67ec322d928a4f897dad8f57c310bf28d7d0f09fc92faf8d579b52aa4707/simple_docker_cp-2019.7.2.0.tar.gz" } ] }