# Get User Information <sup>v 0.0.1</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.
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/75/53/b31211a5d34044c9b2fedec37c08095309a1a8146bf3df887d3337454acb/getuserinformation-0.0.1.tar.gz",
"platform": null,
"description": "\n# Get User Information <sup>v 0.0.1</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",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "'Get USer Information - A library for get user information.'",
"version": "0.0.1",
"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": "2d069c49e9e56f2349b0edd9513db1df736b0a203980819aebbff4053e33fd65",
"md5": "0db03f79b8b0fba36e5c341776cea82a",
"sha256": "fdd92b84226f6f0623434b957279068a9cb2d387d4a970b3f313234dccb38681"
},
"downloads": -1,
"filename": "getuserinformation-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0db03f79b8b0fba36e5c341776cea82a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4907,
"upload_time": "2024-05-24T16:43:23",
"upload_time_iso_8601": "2024-05-24T16:43:23.771635Z",
"url": "https://files.pythonhosted.org/packages/2d/06/9c49e9e56f2349b0edd9513db1df736b0a203980819aebbff4053e33fd65/getuserinformation-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7553b31211a5d34044c9b2fedec37c08095309a1a8146bf3df887d3337454acb",
"md5": "6c68151e99037e2a0a6b95097cafef24",
"sha256": "2890f1d44d82a316d67f0ab95cc41b712f22f3ba8f53e5614b0faa24428ab9bf"
},
"downloads": -1,
"filename": "getuserinformation-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "6c68151e99037e2a0a6b95097cafef24",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3952,
"upload_time": "2024-05-24T16:43:25",
"upload_time_iso_8601": "2024-05-24T16:43:25.669963Z",
"url": "https://files.pythonhosted.org/packages/75/53/b31211a5d34044c9b2fedec37c08095309a1a8146bf3df887d3337454acb/getuserinformation-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-24 16:43:25",
"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"
}