# defgw
Get default gateway interface / IP (for Linux)
Parses/decodes /proc/net/route and prints def gw information
## Install
~~~
pip3 install getdefgw
~~~
## Usage
~~~
$ getdefgw
192.168.100.245
$ getdefgw --dev
wlp8s0
~~~
Raw data
{
"_id": null,
"home_page": "https://github.com/yaroslaff/getdefgw",
"name": "getdefgw",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "",
"author": "Yaroslav Polyakov",
"author_email": "yaroslaff@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/bc/b0/bb73c066bf10e065c0a30f999e5039bd97a1aea63d0838b64288974db9ef/getdefgw-0.0.2.tar.gz",
"platform": null,
"description": "# defgw\nGet default gateway interface / IP (for Linux)\n\nParses/decodes /proc/net/route and prints def gw information\n\n## Install\n~~~\npip3 install getdefgw\n~~~\n\n## Usage\n~~~\n$ getdefgw \n192.168.100.245\n\n$ getdefgw --dev\nwlp8s0\n~~~\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "get default gateway device / IP",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/yaroslaff/getdefgw"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "00e521c98ac1c7a178e1c9002c21b9c296b35b4c255e266f81fe545b6cc5f579",
"md5": "af103a8179433031987beb6b899e0efb",
"sha256": "f0e961a45c182e8db0d59a4498add02740417a81cf0863a45371a4e0debca663"
},
"downloads": -1,
"filename": "getdefgw-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "af103a8179433031987beb6b899e0efb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 2954,
"upload_time": "2023-05-06T10:09:50",
"upload_time_iso_8601": "2023-05-06T10:09:50.566125Z",
"url": "https://files.pythonhosted.org/packages/00/e5/21c98ac1c7a178e1c9002c21b9c296b35b4c255e266f81fe545b6cc5f579/getdefgw-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bcb0bb73c066bf10e065c0a30f999e5039bd97a1aea63d0838b64288974db9ef",
"md5": "2ab32e03aad4e33be303ddeb0794c141",
"sha256": "a7db66347e9ce47e30cb479809d96dae9b852fa5f3a79e99888948b1ca20721e"
},
"downloads": -1,
"filename": "getdefgw-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "2ab32e03aad4e33be303ddeb0794c141",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 2212,
"upload_time": "2023-05-06T10:09:53",
"upload_time_iso_8601": "2023-05-06T10:09:53.058306Z",
"url": "https://files.pythonhosted.org/packages/bc/b0/bb73c066bf10e065c0a30f999e5039bd97a1aea63d0838b64288974db9ef/getdefgw-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 10:09:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yaroslaff",
"github_project": "getdefgw",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "getdefgw"
}