getuserinformation


Namegetuserinformation JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/saneksing
Summary'Get User Information - A library for get user information.'
upload_time2024-11-19 17:13:04
maintainerNone
docs_urlNone
authorA.A. Suvorov
requires_python>=3.6
licenseBSD 3-Clause License
keywords saneksking getuserinformation getuserinfo
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Get User Information <sup>v 0.0.2</sup>

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/saneksking/getuserinformation)](https://github.com/saneksking/getuserinformation/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/getuserinformation?label=pypi%20downloads)](https://pypi.org/project/getuserinformation/)
![GitHub top language](https://img.shields.io/github/languages/top/saneksking/getuserinformation)
[![PyPI](https://img.shields.io/pypi/v/getuserinformation)](https://pypi.org/project/getuserinformation)
[![GitHub](https://img.shields.io/github/license/saneksking/getuserinformation)](https://github.com/saneksking/getuserinformation/blob/master/LICENSE)
[![PyPI - Format](https://img.shields.io/pypi/format/getuserinformation)](https://pypi.org/project/getuserinformation)
***
### Get User Information - A library for get user information.
***

## Help:

---

`pip install getuserinformation`

```python
from get_user_information import UserInfoChecker
from get_user_information import SystemInfoChecker


user_info = UserInfoChecker()
system_info = SystemInfoChecker()
print(user_info.get_ip_address()) # Return IP address
print(user_info.get_hostname()) # Return hostname
print(user_info.get_city()) # Return city
print(user_info.get_region()) # Return region
print(user_info.get_country()) # Return country
print(user_info.get_loc()) # Return location
print(user_info.get_org()) # Return organisation
print(user_info.get_postal()) # Return postal
print(user_info.get_timezone()) # Return timezone
print(system_info.get_username()) # Return username

for k, v in user_info.data.items():
    print(f'{k}, {v}') # Return all info
```
***

## Disclaimer of liability:
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

---

## Copyright:
    --------------------------------------------------------
    Licensed under the terms of the BSD 3-Clause License
    (see LICENSE for details).
    Copyright © 2024, A.A Suvorov
    All rights reserved.
    --------------------------------------------------------

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/saneksing",
    "name": "getuserinformation",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "saneksking, getuserinformation, getuserinfo",
    "author": "A.A. Suvorov",
    "author_email": "saneksking@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/51/60/aba8a7c6d9e00ea0271c97b6f04edf49b1478a7b3e07f60ff20bd71d13c3/getuserinformation-0.0.2.tar.gz",
    "platform": null,
    "description": "\n# Get User Information <sup>v 0.0.2</sup>\n\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/saneksking/getuserinformation)](https://github.com/saneksking/getuserinformation/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/getuserinformation?label=pypi%20downloads)](https://pypi.org/project/getuserinformation/)\n![GitHub top language](https://img.shields.io/github/languages/top/saneksking/getuserinformation)\n[![PyPI](https://img.shields.io/pypi/v/getuserinformation)](https://pypi.org/project/getuserinformation)\n[![GitHub](https://img.shields.io/github/license/saneksking/getuserinformation)](https://github.com/saneksking/getuserinformation/blob/master/LICENSE)\n[![PyPI - Format](https://img.shields.io/pypi/format/getuserinformation)](https://pypi.org/project/getuserinformation)\n***\n### Get User Information - A library for get user information.\n***\n\n## Help:\n\n---\n\n`pip install getuserinformation`\n\n```python\nfrom get_user_information import UserInfoChecker\nfrom get_user_information import SystemInfoChecker\n\n\nuser_info = UserInfoChecker()\nsystem_info = SystemInfoChecker()\nprint(user_info.get_ip_address()) # Return IP address\nprint(user_info.get_hostname()) # Return hostname\nprint(user_info.get_city()) # Return city\nprint(user_info.get_region()) # Return region\nprint(user_info.get_country()) # Return country\nprint(user_info.get_loc()) # Return location\nprint(user_info.get_org()) # Return organisation\nprint(user_info.get_postal()) # Return postal\nprint(user_info.get_timezone()) # Return timezone\nprint(system_info.get_username()) # Return username\n\nfor k, v in user_info.data.items():\n    print(f'{k}, {v}') # Return all info\n```\n***\n\n## Disclaimer of liability:\n    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n---\n\n## Copyright:\n    --------------------------------------------------------\n    Licensed under the terms of the BSD 3-Clause License\n    (see LICENSE for details).\n    Copyright \u00a9 2024, A.A Suvorov\n    All rights reserved.\n    --------------------------------------------------------\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "'Get User Information - A library for get user information.'",
    "version": "0.0.2",
    "project_urls": {
        "Documentation": "https://github.com/saneksking/getuserinformation/blob/master/README.md",
        "Homepage": "https://github.com/saneksing",
        "Release notes": "https://github.com/saneksking/getuserinformation/releases"
    },
    "split_keywords": [
        "saneksking",
        " getuserinformation",
        " getuserinfo"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c11f5b686f50e315caaf8c873520522e9a50662238091f455da41385aabcffd3",
                "md5": "03a2a5cd5398d482dc8316645cedd8b6",
                "sha256": "56ab172ebfb9121d01d8d3915ffc2f6ae3f9c1092c2db63075c764faae13040c"
            },
            "downloads": -1,
            "filename": "getuserinformation-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03a2a5cd5398d482dc8316645cedd8b6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4958,
            "upload_time": "2024-11-19T17:13:03",
            "upload_time_iso_8601": "2024-11-19T17:13:03.396710Z",
            "url": "https://files.pythonhosted.org/packages/c1/1f/5b686f50e315caaf8c873520522e9a50662238091f455da41385aabcffd3/getuserinformation-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5160aba8a7c6d9e00ea0271c97b6f04edf49b1478a7b3e07f60ff20bd71d13c3",
                "md5": "9023151efb373c15c0a7454b22437552",
                "sha256": "07c908fdedf34598f05eb6c730890c8227fbc55e13cc6c3286973c1ce2257b14"
            },
            "downloads": -1,
            "filename": "getuserinformation-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "9023151efb373c15c0a7454b22437552",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3926,
            "upload_time": "2024-11-19T17:13:04",
            "upload_time_iso_8601": "2024-11-19T17:13:04.453005Z",
            "url": "https://files.pythonhosted.org/packages/51/60/aba8a7c6d9e00ea0271c97b6f04edf49b1478a7b3e07f60ff20bd71d13c3/getuserinformation-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-19 17:13:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "saneksking",
    "github_project": "getuserinformation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "getuserinformation"
}
        
Elapsed time: 0.37283s