remork


Nameremork JSON
Version 0.8 PyPI version JSON
download
home_pagehttps://github.com/baverman/remork/
SummaryConfiguration management and accelerator for testinfra
upload_time2024-07-08 16:49:36
maintainerNone
docs_urlNone
authorAnton Bobrov
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # 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": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Anton Bobrov",
    "author_email": "baverman@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8e/28/c8e2a5c277c885ee6ec3f020fc0cd2bb18b54af108a59f30532a6af36c29/remork-0.8.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\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Configuration management and accelerator for testinfra",
    "version": "0.8",
    "project_urls": {
        "Homepage": "https://github.com/baverman/remork/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e28c8e2a5c277c885ee6ec3f020fc0cd2bb18b54af108a59f30532a6af36c29",
                "md5": "3da7890d531e5bc13f4251d8d46a84ee",
                "sha256": "6b6b036788a61f05aa5372a0a022913a55e9dea524c22c6a9be56a02f771137e"
            },
            "downloads": -1,
            "filename": "remork-0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "3da7890d531e5bc13f4251d8d46a84ee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12248,
            "upload_time": "2024-07-08T16:49:36",
            "upload_time_iso_8601": "2024-07-08T16:49:36.118186Z",
            "url": "https://files.pythonhosted.org/packages/8e/28/c8e2a5c277c885ee6ec3f020fc0cd2bb18b54af108a59f30532a6af36c29/remork-0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-08 16:49:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "baverman",
    "github_project": "remork",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": false,
    "lcname": "remork"
}
        
Elapsed time: 0.33327s