clisender


Nameclisender JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/centroid457/
Summaryuse OS terminal
upload_time2023-12-01 10:03:14
maintainer
docs_urlNone
authorAndrei Starichenko
requires_python>=3.6
license
keywords cli cli user cli sender os terminal os terminal sender os terminal user
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # clisender
Designed to send commands into OS terminal

## Features
1. send commands into OS terminal
2. check if cli commands are accessible (special utilities is installed)
3. access to standard parts of result in a simple ready-to-use form (stdout/stderr/retcode/full state)

## License
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).


## Release history
See the [HISTORY.md](HISTORY.md) file for release history.


## Installation
```commandline
pip install clisender
```

## Import

```python
from clisender import *
```


## GUIDE

### USAGE

```python
from clisender import *

victim = CliSender()

cmd_line = "ping localhost"
victim.send(cmd_line, timeout=0.1)
victim.print_state()
"""
==================================================
self.last_cmd='ping -n 1 localhost'
self.last_finished_success=True
self.last_finished=True
self.last_retcode=0
--------------------------------------------------
self.last_stdout=
	
    ###STDOUT PING!!!
	
--------------------------------------------------
self.last_stderr=
--------------------------------------------------
self._last_exx_timeout=None
==================================================
"""
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/centroid457/",
    "name": "clisender",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "cli,cli user,cli sender,os terminal,os terminal sender,os terminal user",
    "author": "Andrei Starichenko",
    "author_email": "centroid@mail.ru",
    "download_url": "https://files.pythonhosted.org/packages/6d/88/086eac7e2dfabd5bb0524de0f2f296f7186a6f76e1c310663a78f632f55f/clisender-0.0.1.tar.gz",
    "platform": null,
    "description": "# clisender\r\nDesigned to send commands into OS terminal\r\n\r\n## Features\r\n1. send commands into OS terminal\r\n2. check if cli commands are accessible (special utilities is installed)\r\n3. access to standard parts of result in a simple ready-to-use form (stdout/stderr/retcode/full state)\r\n\r\n## License\r\nSee the [LICENSE](LICENSE) file for license rights and limitations (MIT).\r\n\r\n\r\n## Release history\r\nSee the [HISTORY.md](HISTORY.md) file for release history.\r\n\r\n\r\n## Installation\r\n```commandline\r\npip install clisender\r\n```\r\n\r\n## Import\r\n\r\n```python\r\nfrom clisender import *\r\n```\r\n\r\n\r\n## GUIDE\r\n\r\n### USAGE\r\n\r\n```python\r\nfrom clisender import *\r\n\r\nvictim = CliSender()\r\n\r\ncmd_line = \"ping localhost\"\r\nvictim.send(cmd_line, timeout=0.1)\r\nvictim.print_state()\r\n\"\"\"\r\n==================================================\r\nself.last_cmd='ping -n 1 localhost'\r\nself.last_finished_success=True\r\nself.last_finished=True\r\nself.last_retcode=0\r\n--------------------------------------------------\r\nself.last_stdout=\r\n\t\r\n    ###STDOUT PING!!!\r\n\t\r\n--------------------------------------------------\r\nself.last_stderr=\r\n--------------------------------------------------\r\nself._last_exx_timeout=None\r\n==================================================\r\n\"\"\"\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "use OS terminal",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/centroid457/",
        "Source": "https://github.com/centroid457/clisender"
    },
    "split_keywords": [
        "cli",
        "cli user",
        "cli sender",
        "os terminal",
        "os terminal sender",
        "os terminal user"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "39b89ea26f55c7429a3c580840bdd123d29b0bbe9563aaf260e8b44f84677a43",
                "md5": "35894d738422e816450cc4a447a2fddc",
                "sha256": "bcbe3b72ec2bf48a879a6b87d9177734447541e05bee81ef5a3c7e5aceffbd1a"
            },
            "downloads": -1,
            "filename": "clisender-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35894d738422e816450cc4a447a2fddc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4893,
            "upload_time": "2023-12-01T10:03:12",
            "upload_time_iso_8601": "2023-12-01T10:03:12.905713Z",
            "url": "https://files.pythonhosted.org/packages/39/b8/9ea26f55c7429a3c580840bdd123d29b0bbe9563aaf260e8b44f84677a43/clisender-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d88086eac7e2dfabd5bb0524de0f2f296f7186a6f76e1c310663a78f632f55f",
                "md5": "bd5c6f6e24f9e99aa9c56e03503b86f5",
                "sha256": "3c8c494e0646967b6fc066d6a6e2cd6d723a711bfd4070f64fdde46b353f82f0"
            },
            "downloads": -1,
            "filename": "clisender-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "bd5c6f6e24f9e99aa9c56e03503b86f5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4696,
            "upload_time": "2023-12-01T10:03:14",
            "upload_time_iso_8601": "2023-12-01T10:03:14.095471Z",
            "url": "https://files.pythonhosted.org/packages/6d/88/086eac7e2dfabd5bb0524de0f2f296f7186a6f76e1c310663a78f632f55f/clisender-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-01 10:03:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "centroid457",
    "github_project": "clisender",
    "github_not_found": true,
    "lcname": "clisender"
}
        
Elapsed time: 1.16115s