remork


Nameremork JSON
Version 0.6 PyPI version JSON
download
home_pagehttps://github.com/baverman/remork/
SummaryConfiguration management and accelerator for testinfra
upload_time2023-03-19 16:12:15
maintainer
docs_urlNone
authorAnton Bobrov
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Remork

Accelerator for testinfra. Remork allows to greatly speedup testinfra
operations by exploiting single ssh or docker connection.

It provides own extensions to upload files, change files on remote
host and other configuration management tasks.

## Installation

```
pip install remork
```

## Usage

Import `remork.testinfra` somewhere in `conftest.py`:

```python
import remork.testinfra
```

After that you can use hostspecs like `remork+ssh://host` or
`remork+docker://container`.

Additionally you can override default backends using `remork.testinfra.init`
call:

```python
import remork.testinfra
remork.testinfra.init('ssh docker')
```

It allows to use unmodified `ssh://` and `docker://` hostspecs.


## Custom python interpreter path

Remork relies on availability of `python` executable (any python >= 2.6 would work).
But recent RHEL based distros come without system wide python and provide platform
python only (`/usr/libexec/platform-python`).

You can pass `remork_python` param with hostspec:
`remork+ssh://host?remork_python=/usr/libexec/platform-python`).

Or pass additional options into get_host:
`testinfra.get_host(spec, remork_python='/usr/libexec/platform-python')`


## TODO

* Inventory.

* File change transactions as a sane way to apply set of configuration changes,
  validate configuration as a whole (like complex nginx config with multiple
  templates) and revert all files back if anything goes wrong.

* Ansible vault compatible encryption/decryption.

* Roles and ability to target roles from CLI runner.

* Ansible module to call remork files.

* Use remork router with paramiko backend.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/baverman/remork/",
    "name": "remork",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Anton Bobrov",
    "author_email": "baverman@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/cf/50/31cc2948fdf464cb1ace472d037a8449dce69a69f93a3bd8d84b4dcbda9b/remork-0.6.tar.gz",
    "platform": "any",
    "description": "# Remork\n\nAccelerator for testinfra. Remork allows to greatly speedup testinfra\noperations by exploiting single ssh or docker connection.\n\nIt provides own extensions to upload files, change files on remote\nhost and other configuration management tasks.\n\n## Installation\n\n```\npip install remork\n```\n\n## Usage\n\nImport `remork.testinfra` somewhere in `conftest.py`:\n\n```python\nimport remork.testinfra\n```\n\nAfter that you can use hostspecs like `remork+ssh://host` or\n`remork+docker://container`.\n\nAdditionally you can override default backends using `remork.testinfra.init`\ncall:\n\n```python\nimport remork.testinfra\nremork.testinfra.init('ssh docker')\n```\n\nIt allows to use unmodified `ssh://` and `docker://` hostspecs.\n\n\n## Custom python interpreter path\n\nRemork relies on availability of `python` executable (any python >= 2.6 would work).\nBut recent RHEL based distros come without system wide python and provide platform\npython only (`/usr/libexec/platform-python`).\n\nYou can pass `remork_python` param with hostspec:\n`remork+ssh://host?remork_python=/usr/libexec/platform-python`).\n\nOr pass additional options into get_host:\n`testinfra.get_host(spec, remork_python='/usr/libexec/platform-python')`\n\n\n## TODO\n\n* Inventory.\n\n* File change transactions as a sane way to apply set of configuration changes,\n  validate configuration as a whole (like complex nginx config with multiple\n  templates) and revert all files back if anything goes wrong.\n\n* Ansible vault compatible encryption/decryption.\n\n* Roles and ability to target roles from CLI runner.\n\n* Ansible module to call remork files.\n\n* Use remork router with paramiko backend.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Configuration management and accelerator for testinfra",
    "version": "0.6",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cf5031cc2948fdf464cb1ace472d037a8449dce69a69f93a3bd8d84b4dcbda9b",
                "md5": "016f183457a60d4d3a86ed53bb22ce1d",
                "sha256": "e5bc23a9109a8782f79ac3628ce02f4dc048ffdf919f1846ebea125774ff67f0"
            },
            "downloads": -1,
            "filename": "remork-0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "016f183457a60d4d3a86ed53bb22ce1d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12051,
            "upload_time": "2023-03-19T16:12:15",
            "upload_time_iso_8601": "2023-03-19T16:12:15.854373Z",
            "url": "https://files.pythonhosted.org/packages/cf/50/31cc2948fdf464cb1ace472d037a8449dce69a69f93a3bd8d84b4dcbda9b/remork-0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-19 16:12:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "baverman",
    "github_project": "remork",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "remork"
}
        
Elapsed time: 0.04553s