py-docker-gadgets


Namepy-docker-gadgets JSON
Version 0.1.3 PyPI version JSON
download
home_page
SummarySome convenience tools for managing docker containers in python
upload_time2023-10-05 22:04:12
maintainer
docs_urlNone
authorTucker Beck
requires_python>=3.8,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image::  https://badge.fury.io/py/py-docker-gadgets.svg
   :target: https://badge.fury.io/py/py-docker-gadgets
   :alt:    Latest Version

*****************
 py-docker-tools
*****************

-----------------------------------------------------------------
 Some convenience tools for managing docker containers in python
-----------------------------------------------------------------

py-docker-gadgets is a very compact set of tools for working with docker containers in python. Its API exposes
a very simple command to spin up a container and then shut it down.


Super Quick Start
-----------------

 - requirements: `python3`
 - install through pip: `$ pip install py-docker-tools`

Example Usage
-------------

Here's a very basic example of how this could be used:

.. code-block:: python

   from docker_gadgets import start_service, stop_service

   start_service(
       "test-postgres",
       image="postgres",
       env=dict(
           POSTGRES_PASSWORD="test-password",
           POSTGRES_USER="test-user",
           POSTGRES_DB="test-db",
       ),
       ports={"5432/tcp": 8432},
   )
   stop_service("test-postgres")

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "py-docker-gadgets",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Tucker Beck",
    "author_email": "tucker.beck@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d3/87/9b9083300b3820c4b25df9e3cb7ed08b5a3958920f209c09bf1cd9b1d704/py_docker_gadgets-0.1.3.tar.gz",
    "platform": null,
    "description": ".. image::  https://badge.fury.io/py/py-docker-gadgets.svg\n   :target: https://badge.fury.io/py/py-docker-gadgets\n   :alt:    Latest Version\n\n*****************\n py-docker-tools\n*****************\n\n-----------------------------------------------------------------\n Some convenience tools for managing docker containers in python\n-----------------------------------------------------------------\n\npy-docker-gadgets is a very compact set of tools for working with docker containers in python. Its API exposes\na very simple command to spin up a container and then shut it down.\n\n\nSuper Quick Start\n-----------------\n\n - requirements: `python3`\n - install through pip: `$ pip install py-docker-tools`\n\nExample Usage\n-------------\n\nHere's a very basic example of how this could be used:\n\n.. code-block:: python\n\n   from docker_gadgets import start_service, stop_service\n\n   start_service(\n       \"test-postgres\",\n       image=\"postgres\",\n       env=dict(\n           POSTGRES_PASSWORD=\"test-password\",\n           POSTGRES_USER=\"test-user\",\n           POSTGRES_DB=\"test-db\",\n       ),\n       ports={\"5432/tcp\": 8432},\n   )\n   stop_service(\"test-postgres\")\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Some convenience tools for managing docker containers in python",
    "version": "0.1.3",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cf39d43d9ddfb34c00acfed25eab6cb71e5921dc7295c32078835329fa94c7e7",
                "md5": "48be24414b1e5df79988da5e32e670a2",
                "sha256": "37cffcd451fb49096fe0687f85824b757319bdb7ad773eb8527e7a01b06b3f46"
            },
            "downloads": -1,
            "filename": "py_docker_gadgets-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "48be24414b1e5df79988da5e32e670a2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 4174,
            "upload_time": "2023-10-05T22:04:11",
            "upload_time_iso_8601": "2023-10-05T22:04:11.627102Z",
            "url": "https://files.pythonhosted.org/packages/cf/39/d43d9ddfb34c00acfed25eab6cb71e5921dc7295c32078835329fa94c7e7/py_docker_gadgets-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3879b9083300b3820c4b25df9e3cb7ed08b5a3958920f209c09bf1cd9b1d704",
                "md5": "667d259e10ec1fdcb92d642dfdd15e40",
                "sha256": "5d360c9f057387c2ff19c6e1a7859a112254a4002b00c220f8693064292e716b"
            },
            "downloads": -1,
            "filename": "py_docker_gadgets-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "667d259e10ec1fdcb92d642dfdd15e40",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 3062,
            "upload_time": "2023-10-05T22:04:12",
            "upload_time_iso_8601": "2023-10-05T22:04:12.974102Z",
            "url": "https://files.pythonhosted.org/packages/d3/87/9b9083300b3820c4b25df9e3cb7ed08b5a3958920f209c09bf1cd9b1d704/py_docker_gadgets-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-05 22:04:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "py-docker-gadgets"
}
        
Elapsed time: 0.46238s