{"id":18644190,"url":"https://github.com/pavdmyt/containerutil","last_synced_at":"2025-04-11T12:30:58.907Z","repository":{"id":62564587,"uuid":"117371449","full_name":"pavdmyt/containerutil","owner":"pavdmyt","description":"Tools for inspecting contents of docker container filesystem.","archived":false,"fork":false,"pushed_at":"2018-01-18T12:11:23.000Z","size":22,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T23:29:20.220Z","etag":null,"topics":["docker","python","python-library"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/containerutil/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pavdmyt.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-13T19:20:14.000Z","updated_at":"2024-01-06T02:40:41.000Z","dependencies_parsed_at":"2022-11-03T16:00:55.171Z","dependency_job_id":null,"html_url":"https://github.com/pavdmyt/containerutil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavdmyt%2Fcontainerutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavdmyt%2Fcontainerutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavdmyt%2Fcontainerutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavdmyt%2Fcontainerutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavdmyt","download_url":"https://codeload.github.com/pavdmyt/containerutil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401936,"owners_count":21097328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","python","python-library"],"created_at":"2024-11-07T06:10:29.028Z","updated_at":"2025-04-11T12:30:58.655Z","avatar_url":"https://github.com/pavdmyt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavdmyt%2Fcontainerutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavdmyt%2Fcontainerutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavdmyt%2Fcontainerutil/lists"}