polyaxon-dockerizer


Namepolyaxon-dockerizer JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/polyaxon/polyaxon-dockerizer
SummaryPython dockerizer to generate and build docker images.
upload_time2020-01-12 17:59:35
maintainerMourad Mourafiq
docs_urlNone
authorMourad Mourafiq
requires_python
licenseMIT
keywords polyaxon docker deep-learning machine-learning data-science neural-networks artificial-intelligence ai reinforcement-learning kubernetes
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Build Status](https://travis-ci.com/polyaxon/polyaxon-dockerizer.svg?branch=master)](https://travis-ci.com/polyaxon/polyaxon-dockerizer)
[![PyPI version](https://badge.fury.io/py/polyaxon-dockerizer.svg)](https://badge.fury.io/py/polyaxon-dockerizer)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a33947d729f94f5da7f7390dfeef7f94)](https://www.codacy.com/app/polyaxon/polyaxon-dockerizer?utm_source=github.com&utm_medium=referral&utm_content=polyaxon/polyaxon-dockerizer&utm_campaign=Badge_Grade)
[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg)


# polyaxon-dockerizer

Python tool to generate dockerfiles compatible with Polyaxon dockerizer and Polyaxon CLI local run.


## Install

```bash
$ pip install -U polyaxon-dockerizer
```

## Usage

### Generate Dockerfiles

```python
from polyaxon_dockerizer import generate

generate(repo_path,
         from_image,
         build_steps=['apt-get install git', 'pip install tensorflow'],
         env_vars=[['ENV_VAR1', 'VALUE1'], ['ENV_VAR2', 'VALUE2']],
         nvidia_bin=None,
         lang_env='en_US.UTF-8',
         uid=2222,
         gid=2222)
```

### Build images

```python
from polyaxon_dockerizer import build

build(build_context,
      image_tag,
      image_name,
      nocache,
      credstore_env=None,
      registries=None)
```


### Build & Push images

```python
from polyaxon_dockerizer import build_and_push

build_and_push(build_context,
               image_tag,
               image_name,
               nocache,
               credstore_env=None,
               registries=None)
```


## Install polyaxon

Please check [polyaxon installation guide](https://docs.polyaxon.com/setup/)


## Quick start

Please check our [quick start guide](https://docs.polyaxon.com/concepts/quick-start/) to start training your first experiment.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/polyaxon/polyaxon-dockerizer",
    "name": "polyaxon-dockerizer",
    "maintainer": "Mourad Mourafiq",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "mourad@polyaxon.com",
    "keywords": "polyaxon,docker,deep-learning,machine-learning,data-science,neural-networks,artificial-intelligence,ai,reinforcement-learning,kubernetes",
    "author": "Mourad Mourafiq",
    "author_email": "mourad@polyaxon.com",
    "download_url": "https://files.pythonhosted.org/packages/3d/ce/506feb8b15676b7441eb038de8e5066252b6113ac87f5b8bdd26d6006d7f/polyaxon-dockerizer-0.1.0.tar.gz",
    "platform": "any",
    "description": "[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![Build Status](https://travis-ci.com/polyaxon/polyaxon-dockerizer.svg?branch=master)](https://travis-ci.com/polyaxon/polyaxon-dockerizer)\n[![PyPI version](https://badge.fury.io/py/polyaxon-dockerizer.svg)](https://badge.fury.io/py/polyaxon-dockerizer)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a33947d729f94f5da7f7390dfeef7f94)](https://www.codacy.com/app/polyaxon/polyaxon-dockerizer?utm_source=github.com&utm_medium=referral&utm_content=polyaxon/polyaxon-dockerizer&utm_campaign=Badge_Grade)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg)\n\n\n# polyaxon-dockerizer\n\nPython tool to generate dockerfiles compatible with Polyaxon dockerizer and Polyaxon CLI local run.\n\n\n## Install\n\n```bash\n$ pip install -U polyaxon-dockerizer\n```\n\n## Usage\n\n### Generate Dockerfiles\n\n```python\nfrom polyaxon_dockerizer import generate\n\ngenerate(repo_path,\n         from_image,\n         build_steps=['apt-get install git', 'pip install tensorflow'],\n         env_vars=[['ENV_VAR1', 'VALUE1'], ['ENV_VAR2', 'VALUE2']],\n         nvidia_bin=None,\n         lang_env='en_US.UTF-8',\n         uid=2222,\n         gid=2222)\n```\n\n### Build images\n\n```python\nfrom polyaxon_dockerizer import build\n\nbuild(build_context,\n      image_tag,\n      image_name,\n      nocache,\n      credstore_env=None,\n      registries=None)\n```\n\n\n### Build & Push images\n\n```python\nfrom polyaxon_dockerizer import build_and_push\n\nbuild_and_push(build_context,\n               image_tag,\n               image_name,\n               nocache,\n               credstore_env=None,\n               registries=None)\n```\n\n\n## Install polyaxon\n\nPlease check [polyaxon installation guide](https://docs.polyaxon.com/setup/)\n\n\n## Quick start\n\nPlease check our [quick start guide](https://docs.polyaxon.com/concepts/quick-start/) to start training your first experiment.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python dockerizer to generate and build docker images.",
    "version": "0.1.0",
    "split_keywords": [
        "polyaxon",
        "docker",
        "deep-learning",
        "machine-learning",
        "data-science",
        "neural-networks",
        "artificial-intelligence",
        "ai",
        "reinforcement-learning",
        "kubernetes"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "fabca3d672dc02fc694a65005b35d2e5",
                "sha256": "80a20be0e4107682f98110db71007f87267cd756a36f6a47c46721f5d7e70115"
            },
            "downloads": -1,
            "filename": "polyaxon_dockerizer-0.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fabca3d672dc02fc694a65005b35d2e5",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 10723,
            "upload_time": "2020-01-12T17:59:34",
            "upload_time_iso_8601": "2020-01-12T17:59:34.309372Z",
            "url": "https://files.pythonhosted.org/packages/3c/e6/18efb9ca7087f064dd64dcaf0709fdb34eee18c5f2a8a8d023e9ecdacf37/polyaxon_dockerizer-0.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "048ef6013523502800ad081cdc6edd67",
                "sha256": "58ca489f3e51d4f3865f866cc8258c4030d3dbebfd44d93b56b2ab971bb6a278"
            },
            "downloads": -1,
            "filename": "polyaxon-dockerizer-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "048ef6013523502800ad081cdc6edd67",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9994,
            "upload_time": "2020-01-12T17:59:35",
            "upload_time_iso_8601": "2020-01-12T17:59:35.965177Z",
            "url": "https://files.pythonhosted.org/packages/3d/ce/506feb8b15676b7441eb038de8e5066252b6113ac87f5b8bdd26d6006d7f/polyaxon-dockerizer-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-01-12 17:59:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "polyaxon",
    "github_project": "polyaxon-dockerizer",
    "lcname": "polyaxon-dockerizer"
}
        
Elapsed time: 0.06637s