{ "info": { "author": "Jhon Honce", "author_email": "jhonce@redhat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development" ], "description": "# podman - pythonic library for working with varlink interface to Podman\n\n[![Build Status](https://travis-ci.org/containers/python-podman.svg?branch=master)](https://travis-ci.org/containers/python-podman)\n![PyPI](https://img.shields.io/pypi/v/podman.svg)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/podman.svg)\n![PyPI - Status](https://img.shields.io/pypi/status/podman.svg)\n\n## Status: Active Development\n\nSee [libpod](https://github.com/containers/python-podman)\n\n## Overview\n\nPython podman library.\n\nProvide a stable API to call into.\n\n## Releases\n\n### Requirements\n\n* Python 3.5+\n* OpenSSH 6.7+\n* Python dependencies in requirements.txt\n\n### Install\n\n#### From pypi\n\nInstall `python-podman` to the standard location for third-party\nPython modules:\n\n```sh\npython3 -m pip install podman\n```\n\nTo use this method on Unix/Linux system you need to have permission to write\nto the standard third-party module directory.\n\nElse, you can install the latest version of python-podman published on\npypi to the Python user install directory for your platform.\nTypically ~/.local/. ([See the Python documentation for site.USER_BASE for full\ndetails.](https://pip.pypa.io/en/stable/user_guide/#user-installs))\nYou can install like this by using the `--user` option:\n\n```sh\npython3 -m pip install --user podman\n```\n\nThis method can be useful in many situations, for example,\non a Unix system you might not have permission to write to the\nstandard third-party module directory. Or you might wish to try out a module\nbefore making it a standard part of your local Python installation.\nThis is especially true when upgrading a distribution already present: you want\nto make sure your existing base of scripts still works with the new version\nbefore actually upgrading.\n\nFor further reading about how python installation works [you can read\nthis documentation](https://docs.python.org/3/install/index.html#how-installation-works).\n\n#### By building from source\n\nTo build the podman egg and install as user:\n\n```sh\ncd ~/python-podman\npython3 setup.py clean -a && python3 setup.py sdist bdist\npython3 setup.py install --user\n```\n\n## Code snippets/examples:\n\n### Show images in storage\n\n```python\nimport podman\n\nwith podman.Client() as client:\n list(map(print, client.images.list()))\n```\n\n### Show containers created since midnight\n\n```python\nfrom datetime import datetime, time, timezone\n\nimport podman\n\nmidnight = datetime.combine(datetime.today(), time.min, tzinfo=timezone.utc)\n\nwith podman.Client() as client:\n for c in client.containers.list():\n created_at = podman.datetime_parse(c.createdat)\n\n if created_at > midnight:\n print('Container {}: image: {} created at: {}'.format(\n c.id[:12], c.image[:32], podman.datetime_format(created_at)))\n```\n\nCHANGES\n=======\n\n* Fix pypi deployment by using documentation at markdown format\n\nv0.0.2\n------\n\n* Fix up pushing to pypi\n\nv0.0.1\n------\n\n* Pull image function throws KeyError for id\n* Secure Travis\n* Introduce travis-ci and autodeployments on tags\n* Improve packaging by using PBR\n* Add base requirements to README.md\n* Remove pypodman to python-pypodman repo\n* Update module to align with varlink API changes\n* Use GetVersion instead of Ping, as recommended\n* Improve README\n* pypodman: add options to handle ssh host keys\n* Update README.md\n* add missing bits\n* Initial copy from containers/libpod\n* Initial commit\n\nAnders F Bj\u00f6rklund \nBrent Baude \nDaniel J Walsh \nDhanisha Phadate \nHerv\u00e9 Beraud \nJhon Honce \nJhon Honce \n\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/containers/python-podman", "keywords": "varlink,libpod,podman", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "podman", "package_url": "https://pypi.org/project/podman/", "platform": "", "project_url": "https://pypi.org/project/podman/", "project_urls": { "Bug Tracker": "https://github.com/containers/python-podman/issues", "Homepage": "https://github.com/containers/python-podman", "Source Code": "https://github.com/containers/python-podman" }, "release_url": "https://pypi.org/project/podman/1.6.0/", "requires_dist": [ "setuptools", "wheel", "psutil", "python-dateutil", "setuptools (>=39)", "varlink", "pbr", "fixtures ; extra == 'devel'", "pbr ; extra == 'devel'", "tox ; extra == 'devel'", "bandit ; extra == 'devel'", "flake8 ; extra == 'test'" ], "requires_python": "", "summary": "A library to interact with a Podman server", "version": "1.6.0" }, "last_serial": 5961736, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "2fe16c53e6d1acfb761bde1ab12ba012", "sha256": "66fd7a0b5019dbb0c2b599b14b5d4e8ac93b90d8f57fea3428e6f08c6459f8fa" }, "downloads": -1, "filename": "podman-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2fe16c53e6d1acfb761bde1ab12ba012", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22367, "upload_time": "2019-07-09T13:31:35", "url": "https://files.pythonhosted.org/packages/67/aa/894b49efe10c0ec8ee750ee05fcaf46d5f6e14e16c2eb0d05906e63d1e71/podman-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "849ee66470d870c4e7febb29108b001f", "sha256": "3d0a787fe6f5e4e5317942de066eb17f14270c9694b5409f3708712109bc09a3" }, "downloads": -1, "filename": "podman-0.0.3.tar.gz", "has_sig": false, "md5_digest": "849ee66470d870c4e7febb29108b001f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26877, "upload_time": "2019-07-09T13:31:36", "url": "https://files.pythonhosted.org/packages/64/05/afb80fc85d28fae26df61b26f420a7411a3ac5a7e2c03be0545d0a89d1f5/podman-0.0.3.tar.gz" } ], "0.11.1.1": [ { "comment_text": "", "digests": { "md5": "26297de70dbae0282a133e69f7fc5a13", "sha256": "c5729e9478d7b820eeb1a0fc5d01cabc1b245104bc1c2d3c54006b07b176e84f" }, "downloads": -1, "filename": "podman-0.11.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "26297de70dbae0282a133e69f7fc5a13", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 21325, "upload_time": "2019-05-28T17:21:52", "url": "https://files.pythonhosted.org/packages/65/42/92a65fddad0b01997abcd95ce2f77079c754cc30979bed745278a1e25e3d/podman-0.11.1.1-py3-none-any.whl" } ], "0.12.0": [ { "comment_text": "", "digests": { "md5": "81d8c543f67b2b1676abf6565718a748", "sha256": "0c1941df05110306d0efa60dac42ddbd93bdba0228f4986030aa5c3dbbf6c8f7" }, "downloads": -1, "filename": "podman-0.12.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "81d8c543f67b2b1676abf6565718a748", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 21829, "upload_time": "2019-07-01T18:47:37", "url": "https://files.pythonhosted.org/packages/dc/94/8332c2980d4067fed79daa6bb0f1962dd4f263734d1b9a300e4ac30999d4/podman-0.12.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e388a73406339db9082af2e76e1b0492", "sha256": "6342d5112cb3bc70b8519ced1fe426475237e6e2a576af5d771dcc6868c35891" }, "downloads": -1, "filename": "podman-0.12.0.tar.gz", "has_sig": false, "md5_digest": "e388a73406339db9082af2e76e1b0492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26912, "upload_time": "2019-07-01T18:47:39", "url": "https://files.pythonhosted.org/packages/a6/40/6be42a06fcd76c6e5cd3e5821e325cc37e92f5cbb7a8ba80bd49db28aeed/podman-0.12.0.tar.gz" } ], "1.6.0": [ { "comment_text": "", "digests": { "md5": "05f0a48567cf892f8fa7be8eb4a84c48", "sha256": "97a338081ec16dcd378631b5ea179b1a0e44e3e9502cdc54c8250a90658bcfc5" }, "downloads": -1, "filename": "podman-1.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "05f0a48567cf892f8fa7be8eb4a84c48", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22656, "upload_time": "2019-10-11T19:15:56", "url": "https://files.pythonhosted.org/packages/3a/d5/f274a254b18d170138ccdbde97ad14a49cad3f3ea42b0631684756718873/podman-1.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4199ef12f90d0b4339433608b4ccae77", "sha256": "5f6493ee9087126f1cd8f5e2bff708cada59f841aef6ea0ee594efbb5b17916c" }, "downloads": -1, "filename": "podman-1.6.0.tar.gz", "has_sig": false, "md5_digest": "4199ef12f90d0b4339433608b4ccae77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28733, "upload_time": "2019-10-11T19:15:58", "url": "https://files.pythonhosted.org/packages/d4/ac/d8261f952ff106081fce2464f9fdffd5b29e9e96d85cab4ca7ece9e3e1a7/podman-1.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05f0a48567cf892f8fa7be8eb4a84c48", "sha256": "97a338081ec16dcd378631b5ea179b1a0e44e3e9502cdc54c8250a90658bcfc5" }, "downloads": -1, "filename": "podman-1.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "05f0a48567cf892f8fa7be8eb4a84c48", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22656, "upload_time": "2019-10-11T19:15:56", "url": "https://files.pythonhosted.org/packages/3a/d5/f274a254b18d170138ccdbde97ad14a49cad3f3ea42b0631684756718873/podman-1.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4199ef12f90d0b4339433608b4ccae77", "sha256": "5f6493ee9087126f1cd8f5e2bff708cada59f841aef6ea0ee594efbb5b17916c" }, "downloads": -1, "filename": "podman-1.6.0.tar.gz", "has_sig": false, "md5_digest": "4199ef12f90d0b4339433608b4ccae77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28733, "upload_time": "2019-10-11T19:15:58", "url": "https://files.pythonhosted.org/packages/d4/ac/d8261f952ff106081fce2464f9fdffd5b29e9e96d85cab4ca7ece9e3e1a7/podman-1.6.0.tar.gz" } ] }