jax-tools


Namejax-tools JSON
Version 1.0.161 PyPI version JSON
download
home_pagehttps://jax-arsenals.com
SummaryJax common tools library
upload_time2024-10-09 10:23:59
maintainerNone
docs_urlNone
authorJax
requires_python>=3.0.0
licenseMIT Licence
keywords jax
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Jax Tools
Jax common tools

## Install
```shell
pip3 install jax-tools
```

update
```shell
pip3 install jax-tools --upgrade
```


## Usage

### Use network port detection

```shell
nd dest_ip dest_port
```

### Use logger

```python
from jax_tools.logger import logger
logger.info('info')
logger.debug('debug')
logger.warning('warning')
logger.error('error')
logger.critical('critical')
```
### Use ssh

```python
from jax_tools.ssh import SSHClient
ssh_client = SSHClient(host='dest_ip', port=22, username='username', password='password')
print(ssh_client.run_cmd('ls'))
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://jax-arsenals.com",
    "name": "jax-tools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.0.0",
    "maintainer_email": null,
    "keywords": "jax",
    "author": "Jax",
    "author_email": "alvin.wan.cn@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/86/94af1aa78a6bffaa4ed13aaf21a8f34231d1c9e6a023435f4a7b5add0be1/jax-tools-1.0.161.tar.gz",
    "platform": "CentOS",
    "description": "# Jax Tools\r\nJax common tools\r\n\r\n## Install\r\n```shell\r\npip3 install jax-tools\r\n```\r\n\r\nupdate\r\n```shell\r\npip3 install jax-tools --upgrade\r\n```\r\n\r\n\r\n## Usage\r\n\r\n### Use network port detection\r\n\r\n```shell\r\nnd dest_ip dest_port\r\n```\r\n\r\n### Use logger\r\n\r\n```python\r\nfrom jax_tools.logger import logger\r\nlogger.info('info')\r\nlogger.debug('debug')\r\nlogger.warning('warning')\r\nlogger.error('error')\r\nlogger.critical('critical')\r\n```\r\n### Use ssh\r\n\r\n```python\r\nfrom jax_tools.ssh import SSHClient\r\nssh_client = SSHClient(host='dest_ip', port=22, username='username', password='password')\r\nprint(ssh_client.run_cmd('ls'))\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT Licence",
    "summary": "Jax common tools library",
    "version": "1.0.161",
    "project_urls": {
        "Download": "https://jax-arsenals.com",
        "Homepage": "https://jax-arsenals.com"
    },
    "split_keywords": [
        "jax"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d18694af1aa78a6bffaa4ed13aaf21a8f34231d1c9e6a023435f4a7b5add0be1",
                "md5": "6b27da48efd415de8d858c9df6cb8cf6",
                "sha256": "fd67d9856550b72a5306dc4820fafbfe9f721ad18b58b02b0e43c5e605835d0b"
            },
            "downloads": -1,
            "filename": "jax-tools-1.0.161.tar.gz",
            "has_sig": false,
            "md5_digest": "6b27da48efd415de8d858c9df6cb8cf6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0.0",
            "size": 21983,
            "upload_time": "2024-10-09T10:23:59",
            "upload_time_iso_8601": "2024-10-09T10:23:59.407194Z",
            "url": "https://files.pythonhosted.org/packages/d1/86/94af1aa78a6bffaa4ed13aaf21a8f34231d1c9e6a023435f4a7b5add0be1/jax-tools-1.0.161.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-09 10:23:59",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "jax-tools"
}
        
Jax
Elapsed time: 0.31835s