'Get User Information - A library for get user information.'
Project description
Get User Information v 0.0.2
Get User Information - A library for get user information.
Help:
pip install getuserinformation
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.
--------------------------------------------------------
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file getuserinformation-0.0.2.tar.gz
.
File metadata
- Download URL: getuserinformation-0.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c908fdedf34598f05eb6c730890c8227fbc55e13cc6c3286973c1ce2257b14 |
|
MD5 | 9023151efb373c15c0a7454b22437552 |
|
BLAKE2b-256 | 5160aba8a7c6d9e00ea0271c97b6f04edf49b1478a7b3e07f60ff20bd71d13c3 |
File details
Details for the file getuserinformation-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: getuserinformation-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56ab172ebfb9121d01d8d3915ffc2f6ae3f9c1092c2db63075c764faae13040c |
|
MD5 | 03a2a5cd5398d482dc8316645cedd8b6 |
|
BLAKE2b-256 | c11f5b686f50e315caaf8c873520522e9a50662238091f455da41385aabcffd3 |