ns2json


Namens2json JSON
Version 1.1.0b0 PyPI version JSON
download
home_page
SummaryA Python script to converts and saves a data from a DNS response to a JSON file.
upload_time2024-01-10 18:16:10
maintainer
docs_urlNone
author
requires_python>=3.10
license
keywords convert dns file json mit python script
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# NS2JSON

Name Server to JavaScript Object Notation is a Python script to converts and saves a data from a DNS response to a JSON file.


## Installing

Install the module by [pip][1] (check [how to use pip][2]):

```
py -m pip install ns2json
```


## How to use

```python
py -m ns2json [domain] [dns] [path]
```

|| Domain | DNS | Path |
| :--- | :--- | :--- | :--- |
| Full name | Domain name | DNS resolver | Path to save |
| Required | Yes | No | No |
| Default | No | 1.1.1.1 | From executed script |
| Example | google.com | 8.8.8.8 | C:\Users\Name\Desktop


## Examples

```python
py -m ns2json google.com 8.8.8.8 C:\Users\Name\Desktop
py -m ns2json google.com 8.8.8.8
py -m ns2json google.com C:\Users\Name\Desktop

# Output file name: google.com.json
```

## Comments

- The script uses the nslookup tool.
- Currently, the script works only on Windows.

## To Do
- Linux version.

[1]: https://pypi.org/ 
[2]: https://pip.pypa.io/en/stable/getting-started/
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ns2json",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "convert,dns,file,json,mit,python,script",
    "author": "",
    "author_email": "Bart\u0142omiej Dr\u0105\u017ckiewicz <bartlomiej@drazkiewicz.me>",
    "download_url": "https://files.pythonhosted.org/packages/28/fb/7e592e264efb8d98edf6487b0d6756a43c8cb563f9671a3b418513f6d2d7/ns2json-1.1.0b0.tar.gz",
    "platform": null,
    "description": "\n# NS2JSON\n\nName Server to JavaScript Object Notation is a Python script to converts and saves a data from a DNS response to a JSON file.\n\n\n## Installing\n\nInstall the module by [pip][1] (check [how to use pip][2]):\n\n```\npy -m pip install ns2json\n```\n\n\n## How to use\n\n```python\npy -m ns2json [domain] [dns] [path]\n```\n\n|| Domain | DNS | Path |\n| :--- | :--- | :--- | :--- |\n| Full name | Domain name | DNS resolver | Path to save |\n| Required | Yes | No | No |\n| Default | No | 1.1.1.1 | From executed script |\n| Example | google.com | 8.8.8.8 | C:\\Users\\Name\\Desktop\n\n\n## Examples\n\n```python\npy -m ns2json google.com 8.8.8.8 C:\\Users\\Name\\Desktop\npy -m ns2json google.com 8.8.8.8\npy -m ns2json google.com C:\\Users\\Name\\Desktop\n\n# Output file name: google.com.json\n```\n\n## Comments\n\n- The script uses the nslookup tool.\n- Currently, the script works only on Windows.\n\n## To Do\n- Linux version.\n\n[1]: https://pypi.org/ \n[2]: https://pip.pypa.io/en/stable/getting-started/",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python script to converts and saves a data from a DNS response to a JSON file.",
    "version": "1.1.0b0",
    "project_urls": {
        "Repository": "https://github.com/drazkgi/ns2json"
    },
    "split_keywords": [
        "convert",
        "dns",
        "file",
        "json",
        "mit",
        "python",
        "script"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0a42af12a90dd5733bf3d5ba4baa278492dba03a7e33001795b3b315fd8f33e",
                "md5": "82d83597f0597b23b949c2e697213e1d",
                "sha256": "e69e85efa0e2db48a099c2202aa9c3d8a2ae4daf4c1efacf6878fc4a6efe69dc"
            },
            "downloads": -1,
            "filename": "ns2json-1.1.0b0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "82d83597f0597b23b949c2e697213e1d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 12915,
            "upload_time": "2024-01-10T18:16:07",
            "upload_time_iso_8601": "2024-01-10T18:16:07.951025Z",
            "url": "https://files.pythonhosted.org/packages/d0/a4/2af12a90dd5733bf3d5ba4baa278492dba03a7e33001795b3b315fd8f33e/ns2json-1.1.0b0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "28fb7e592e264efb8d98edf6487b0d6756a43c8cb563f9671a3b418513f6d2d7",
                "md5": "db877ab716a9bad4be2f00e2d53aeb39",
                "sha256": "f1702330a76941abe78455445397e50f30c445adee02d171a907a2333c0ec9f7"
            },
            "downloads": -1,
            "filename": "ns2json-1.1.0b0.tar.gz",
            "has_sig": false,
            "md5_digest": "db877ab716a9bad4be2f00e2d53aeb39",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8104,
            "upload_time": "2024-01-10T18:16:10",
            "upload_time_iso_8601": "2024-01-10T18:16:10.030076Z",
            "url": "https://files.pythonhosted.org/packages/28/fb/7e592e264efb8d98edf6487b0d6756a43c8cb563f9671a3b418513f6d2d7/ns2json-1.1.0b0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-10 18:16:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "drazkgi",
    "github_project": "ns2json",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ns2json"
}
        
Elapsed time: 0.16220s