{ "info": { "author": "Pavlo Dmytrenko", "author_email": "mail@pavdmyt.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "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", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System", "Topic :: System :: Filesystems", "Topic :: Utilities" ], "description": "containerutil |Build Status| |Coverage| |pypi| |Versions| |Wheel|\n=================================================================\n\n``containerutil.Path`` provides API similar to `pathlib.Path`_ for inspecting\n`docker container`_ file system:\n\n.. code:: python\n\n import docker\n import containerutil\n\n client = docker.from_env(version='auto')\n ctnr = client.containers.get('my-container')\n\n p = containerutil.Path(ctnr, '/foo/bar/path')\n\n p.exists() # True if file exists (regardless of type)\n p.is_file() # True if file exists and is a regular file\n p.is_symlink() # True if file exists and is a symbolic link\n p.is_fifo() # True if file is a named pipe (FIFO)\n\n\nInstallation\n------------\n\nFrom `PyPI`_ using ``pip`` package manager:\n\n.. code:: bash\n\n pip install --upgrade containerutil\n\n\nOr install the latest sources from GitHub:\n\n.. code:: bash\n\n pip install https://github.com/pavdmyt/containerutil/archive/master.zip\n\n\nDevelopment\n-----------\n\nClone the repository:\n\n.. code:: bash\n\n git clone https://github.com/pavdmyt/containerutil.git\n\n\nInstall dependencies:\n\n.. code:: bash\n\n make install\n\n\nLint code:\n\n.. code:: bash\n\n make lint\n\n\nRun tests:\n\n.. code:: bash\n\n make test\n\n\nContributing\n------------\n\n1. Fork it!\n2. Create your feature branch: ``git checkout -b my-new-feature``\n3. Commit your changes: ``git commit -m 'Add some feature'``\n4. Push to the branch: ``git push origin my-new-feature``\n5. Submit a pull request\n6. Make sure tests are passing\n\n\nLicense\n-------\n\nMIT - Pavlo Dmytrenko\n\n\n.. _pathlib.Path: https://docs.python.org/3/library/pathlib.html\n.. _docker container: https://www.docker.com/what-container\n.. _PyPI: https://pypi.org/\n\n.. |Build Status| image:: https://travis-ci.org/pavdmyt/containerutil.svg?branch=master\n :target: https://travis-ci.org/pavdmyt/containerutil\n.. |Coverage| image:: https://coveralls.io/repos/github/pavdmyt/containerutil/badge.svg?branch=master\n :target: https://coveralls.io/github/pavdmyt/containerutil?branch=master\n.. |pypi| image:: https://img.shields.io/pypi/v/containerutil.svg\n :target: https://pypi.org/project/containerutil/\n.. |Versions| image:: https://img.shields.io/pypi/pyversions/containerutil.svg\n :target: https://pypi.org/project/containerutil/\n.. |Wheel| image:: https://img.shields.io/pypi/wheel/containerutil.svg\n :target: https://pypi.org/project/containerutil/\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/pavdmyt/containerutil/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pavdmyt/containerutil", "keywords": "docker container path pathlib file type filesystem", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "containerutil", "package_url": "https://pypi.org/project/containerutil/", "platform": "any", "project_url": "https://pypi.org/project/containerutil/", "project_urls": { "Download": "https://github.com/pavdmyt/containerutil/archive/master.zip", "Homepage": "https://github.com/pavdmyt/containerutil" }, "release_url": "https://pypi.org/project/containerutil/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Tools for inspecting contents of docker container filesystem.", "version": "0.2.0" }, "last_serial": 3500619, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c731c701723f0084f0b6a4fb519426cf", "sha256": "eaced9a4c92c827b9ba4c7ead2be52ed0c674a53674cb04bb1f7685f1ea4eadc" }, "downloads": -1, "filename": "containerutil-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c731c701723f0084f0b6a4fb519426cf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4461, "upload_time": "2018-01-17T16:41:19", "url": "https://files.pythonhosted.org/packages/cf/b7/629d4778e7cf9170479da9429eaa929bf182b6f3a9b02a482566eac79e0d/containerutil-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b18734a6e35ad929138577d8b16bb0c8", "sha256": "7d90d1adc7d2437a9474d6e9342585fc9b61f984d61bbf2402819064b1483bd3" }, "downloads": -1, "filename": "containerutil-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b18734a6e35ad929138577d8b16bb0c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4852, "upload_time": "2018-01-17T16:41:17", "url": "https://files.pythonhosted.org/packages/d5/85/9b92c70c91f18105ef5ad3e890cda9745d9121b938bffcf692370d511cb6/containerutil-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d2905da88cb87c7b6995be702d5aa694", "sha256": "53070e03a830ffe488208d9d14ba74faf089eccae684cd092183103819df34af" }, "downloads": -1, "filename": "containerutil-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d2905da88cb87c7b6995be702d5aa694", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 5281, "upload_time": "2018-01-18T12:17:34", "url": "https://files.pythonhosted.org/packages/85/41/1ea645bd7778c4eda321da199c696ecc0ff85923c56be5f88eea68fdf709/containerutil-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b54961f5c861c8e7b5e1b6fd8d54395", "sha256": "fb9dcaabacc52364a5f47e30ca6d165f96b8907c38c6eaba7d915a999fd179cc" }, "downloads": -1, "filename": "containerutil-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8b54961f5c861c8e7b5e1b6fd8d54395", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5611, "upload_time": "2018-01-18T12:17:32", "url": "https://files.pythonhosted.org/packages/4c/de/224af5b768bb542f1fe222788e06f751ebf430fd1260cdb01f4a4cdcdad3/containerutil-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2905da88cb87c7b6995be702d5aa694", "sha256": "53070e03a830ffe488208d9d14ba74faf089eccae684cd092183103819df34af" }, "downloads": -1, "filename": "containerutil-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d2905da88cb87c7b6995be702d5aa694", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 5281, "upload_time": "2018-01-18T12:17:34", "url": "https://files.pythonhosted.org/packages/85/41/1ea645bd7778c4eda321da199c696ecc0ff85923c56be5f88eea68fdf709/containerutil-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b54961f5c861c8e7b5e1b6fd8d54395", "sha256": "fb9dcaabacc52364a5f47e30ca6d165f96b8907c38c6eaba7d915a999fd179cc" }, "downloads": -1, "filename": "containerutil-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8b54961f5c861c8e7b5e1b6fd8d54395", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5611, "upload_time": "2018-01-18T12:17:32", "url": "https://files.pythonhosted.org/packages/4c/de/224af5b768bb542f1fe222788e06f751ebf430fd1260cdb01f4a4cdcdad3/containerutil-0.2.0.tar.gz" } ] }