proteuscmd


Nameproteuscmd JSON
Version 0.7 PyPI version JSON
download
home_pagehttps://github.com/virtUOS/proteuscmd
SummaryA command line interface to modify DNS entries in Proteus.
upload_time2023-10-02 17:01:14
maintainer
docs_urlNone
authorLars Kiesow
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Proteus Command Line Client

A simple command line client to modify DNS entries in Proteus.

## Installation

Use `pip` to install `proteuscmd`:

```
❯ pip install proteuscmd
```

## Configuration

Configure access credentials in `~/.proteus.json`:
```json
{
	"user": "api-user",
	"password": "super.secret!",
	"url": "https://proteus.example.com"
}
```

Additionally, you can specify a map of automatic replacements for domains.
This can be useful if, for example, all your domains also have an alternate domain with a `DNAME` record.
```json
{
	...
	"replace": {
		".ex.com": ".example.com"
	}
}
```

## Usage

```
❯ proteuscmd
Usage: python -m proteuscmd [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  dns  Get information about or update DNS entries.
  ip   Register IP addresses.
```

Get information about a DNS record:
```
❯ proteuscmd dns get lktest.uni-osnabrueck.de
```

## Shell Completion

The `proteuscmd` command line tool supports shell completion for several major shells:

For **Bash**, add to `~/.bashrc`:

```
eval "$(_PROTEUSCMD_COMPLETE=bash_source proteuscmd)"
```

For **ZSH**, add to `~/.zshrc`:

```
eval "$(_PROTEUSCMD_COMPLETE=zsh_source proteuscmd)"
```

For **fish**, add to `~/.config/fish/completions/proteuscmd.fish`:

```
_PROTEUSCMD_COMPLETE=fish_source proteuscmd | source
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/virtUOS/proteuscmd",
    "name": "proteuscmd",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Lars Kiesow",
    "author_email": "lkiesow@uos.de",
    "download_url": "https://files.pythonhosted.org/packages/73/b4/f72bbe8f6cf875d67fd57b7898d2d789d0448fb2db3afb56502a794fb609/proteuscmd-0.7.tar.gz",
    "platform": null,
    "description": "# Proteus Command Line Client\n\nA simple command line client to modify DNS entries in Proteus.\n\n## Installation\n\nUse `pip` to install `proteuscmd`:\n\n```\n\u276f pip install proteuscmd\n```\n\n## Configuration\n\nConfigure access credentials in `~/.proteus.json`:\n```json\n{\n\t\"user\": \"api-user\",\n\t\"password\": \"super.secret!\",\n\t\"url\": \"https://proteus.example.com\"\n}\n```\n\nAdditionally, you can specify a map of automatic replacements for domains.\nThis can be useful if, for example, all your domains also have an alternate domain with a `DNAME` record.\n```json\n{\n\t...\n\t\"replace\": {\n\t\t\".ex.com\": \".example.com\"\n\t}\n}\n```\n\n## Usage\n\n```\n\u276f proteuscmd\nUsage: python -m proteuscmd [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  dns  Get information about or update DNS entries.\n  ip   Register IP addresses.\n```\n\nGet information about a DNS record:\n```\n\u276f proteuscmd dns get lktest.uni-osnabrueck.de\n```\n\n## Shell Completion\n\nThe `proteuscmd` command line tool supports shell completion for several major shells:\n\nFor **Bash**, add to `~/.bashrc`:\n\n```\neval \"$(_PROTEUSCMD_COMPLETE=bash_source proteuscmd)\"\n```\n\nFor **ZSH**, add to `~/.zshrc`:\n\n```\neval \"$(_PROTEUSCMD_COMPLETE=zsh_source proteuscmd)\"\n```\n\nFor **fish**, add to `~/.config/fish/completions/proteuscmd.fish`:\n\n```\n_PROTEUSCMD_COMPLETE=fish_source proteuscmd | source\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A command line interface to modify DNS entries in Proteus.",
    "version": "0.7",
    "project_urls": {
        "Homepage": "https://github.com/virtUOS/proteuscmd"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73b4f72bbe8f6cf875d67fd57b7898d2d789d0448fb2db3afb56502a794fb609",
                "md5": "183cb187da51a2c988a61472787ac14c",
                "sha256": "4bd8dc3c381c0b1ba2150b23c2281804fabf3b732f54862e4d446ca2da7edb5a"
            },
            "downloads": -1,
            "filename": "proteuscmd-0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "183cb187da51a2c988a61472787ac14c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7006,
            "upload_time": "2023-10-02T17:01:14",
            "upload_time_iso_8601": "2023-10-02T17:01:14.750563Z",
            "url": "https://files.pythonhosted.org/packages/73/b4/f72bbe8f6cf875d67fd57b7898d2d789d0448fb2db3afb56502a794fb609/proteuscmd-0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-02 17:01:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "virtUOS",
    "github_project": "proteuscmd",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "proteuscmd"
}
        
Elapsed time: 0.11773s