ipwho


Nameipwho JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/techdjay/ipwho
Summaryip information gathering. originally created by kamabay modified the code to get only some specific data.
upload_time2023-07-08 17:13:57
maintainer
docs_urlNone
authorJay
requires_python
licenseApache License 2.0
keywords jay ipwho techdjay ip whois information gathering
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ``KAMABAY`` WHOIS updated by Jay
------------------------------------------------
``I just updated the instructions in case you want to use my updated code``

**Installation**

.. code :: python

        #windows/ Linux
        pip install ipwho
        #linux & termux if above does not work
        pip3 install ipwho
        # OR
        $ git clone https://github.com/techdjay/ipwho 
        $ cd ipwhois && pip3 install requests
        $ clear && python3 main.py
        

*using command line type* ``ipwho ip-address``

**Please Note** ``that this has been updated to show only the below instructions, as most people want this output regularly``

.. code :: python

		# ipwhois 8.8.8.8
		IP: 8.8.8.8
		Organization: Google LLC
		ISP: Google LLC

*using import package* ``from ipwhois import ipwhois``

.. code :: python

        >>> from ipwhois import ipwhois
        >>>
        >>> ipwhois('0') # zero string default local IP
        {
        "asn":"AS4818",
        "city": "Batu Pahat",
        "completed_requests": 2,
        "continent": "Asia",
        "continent_code": "AS",
        "country": "Malaysia",
        "country_capital": "Kuala Lumpur",
        "country_code": "MY",
        "country_flag": "https://cdn.ipwhois.io/flags/my.svg",
        "country_neighbours": "BN,TH,ID",
        "country_phone": "+60",
        "currency": "Malaysian Ringgit",
        "currency_code": "MYR",
        "currency_plural": "Malaysian ringgits",
        "currency_rates": "4.146",
        "currency_symbol": "RM",
        "ip": "115.164.173.247",
        "isp": "DiGi Telecommunications Sdn Bhd., Digi Internet Exchange",
        "latitude": "1.849442",
        "longitude": "102.9288341",
        "org": "DiGi Telecommunications Sdn Bhd., Digi Internet Exchange",
        "region": "Johor",
        "success": true,
        "timezone": "Asia/Kuala_Lumpur",
        "timezone_dstOffset": "0",
        "timezone_gmt": "GMT +8:00",
        "timezone_gmtOffset": "28800",
        "timezone_name": "Malaysia Time",
        "type": "IPv4",
        }

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/techdjay/ipwho",
    "name": "ipwho",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "jay,ipwho,techdjay,ip,whois,information,gathering",
    "author": "Jay",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/c5/62/f9a38c5014615e3ce873134155808c757ea85777e7e84f00589c33f76ce1/ipwho-0.1.2.tar.gz",
    "platform": null,
    "description": "``KAMABAY`` WHOIS updated by Jay\n------------------------------------------------\n``I just updated the instructions in case you want to use my updated code``\n\n**Installation**\n\n.. code :: python\n\n        #windows/ Linux\n        pip install ipwho\n        #linux & termux if above does not work\n        pip3 install ipwho\n        # OR\n        $ git clone https://github.com/techdjay/ipwho \n        $ cd ipwhois && pip3 install requests\n        $ clear && python3 main.py\n        \n\n*using command line type* ``ipwho ip-address``\n\n**Please Note** ``that this has been updated to show only the below instructions, as most people want this output regularly``\n\n.. code :: python\n\n\t\t# ipwhois 8.8.8.8\n\t\tIP: 8.8.8.8\n\t\tOrganization: Google LLC\n\t\tISP: Google LLC\n\n*using import package* ``from ipwhois import ipwhois``\n\n.. code :: python\n\n        >>> from ipwhois import ipwhois\n        >>>\n        >>> ipwhois('0') # zero string default local IP\n        {\n        \"asn\":\"AS4818\",\n        \"city\": \"Batu Pahat\",\n        \"completed_requests\": 2,\n        \"continent\": \"Asia\",\n        \"continent_code\": \"AS\",\n        \"country\": \"Malaysia\",\n        \"country_capital\": \"Kuala Lumpur\",\n        \"country_code\": \"MY\",\n        \"country_flag\": \"https://cdn.ipwhois.io/flags/my.svg\",\n        \"country_neighbours\": \"BN,TH,ID\",\n        \"country_phone\": \"+60\",\n        \"currency\": \"Malaysian Ringgit\",\n        \"currency_code\": \"MYR\",\n        \"currency_plural\": \"Malaysian ringgits\",\n        \"currency_rates\": \"4.146\",\n        \"currency_symbol\": \"RM\",\n        \"ip\": \"115.164.173.247\",\n        \"isp\": \"DiGi Telecommunications Sdn Bhd., Digi Internet Exchange\",\n        \"latitude\": \"1.849442\",\n        \"longitude\": \"102.9288341\",\n        \"org\": \"DiGi Telecommunications Sdn Bhd., Digi Internet Exchange\",\n        \"region\": \"Johor\",\n        \"success\": true,\n        \"timezone\": \"Asia/Kuala_Lumpur\",\n        \"timezone_dstOffset\": \"0\",\n        \"timezone_gmt\": \"GMT +8:00\",\n        \"timezone_gmtOffset\": \"28800\",\n        \"timezone_name\": \"Malaysia Time\",\n        \"type\": \"IPv4\",\n        }\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "ip information gathering. originally created by kamabay modified the code to get only some specific data.",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/techdjay/ipwho"
    },
    "split_keywords": [
        "jay",
        "ipwho",
        "techdjay",
        "ip",
        "whois",
        "information",
        "gathering"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6bf7aa6e9335ed10c609e5b29cd93116a53ed41d6b0a68267582fbc5f9c655b",
                "md5": "649c837a88d099dd3af243ccab5aae77",
                "sha256": "fdb9d11f22a10d2a087df24c17d238720313054b78f096cf4a94911f58e7ac9e"
            },
            "downloads": -1,
            "filename": "ipwho-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "649c837a88d099dd3af243ccab5aae77",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7179,
            "upload_time": "2023-07-08T17:13:54",
            "upload_time_iso_8601": "2023-07-08T17:13:54.716033Z",
            "url": "https://files.pythonhosted.org/packages/b6/bf/7aa6e9335ed10c609e5b29cd93116a53ed41d6b0a68267582fbc5f9c655b/ipwho-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c562f9a38c5014615e3ce873134155808c757ea85777e7e84f00589c33f76ce1",
                "md5": "00300b73817915440034f6966799acd7",
                "sha256": "bb2a62a2d4f940676f2dd7087665c83517005908f69ad92db3a498dd6bb6a953"
            },
            "downloads": -1,
            "filename": "ipwho-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "00300b73817915440034f6966799acd7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6798,
            "upload_time": "2023-07-08T17:13:57",
            "upload_time_iso_8601": "2023-07-08T17:13:57.480730Z",
            "url": "https://files.pythonhosted.org/packages/c5/62/f9a38c5014615e3ce873134155808c757ea85777e7e84f00589c33f76ce1/ipwho-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-08 17:13:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "techdjay",
    "github_project": "ipwho",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ipwho"
}
        
Jay
Elapsed time: 1.76718s