# sysinfolib
Library for obtaining system information and user information.
---
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/sysinfolib)](https://github.com/smartlegionlab/sysinfolib/)
[![PyPI](https://img.shields.io/pypi/v/sysinfolib)](https://pypi.org/project/sysinfolib)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/sysinfolib?label=pypi%20downloads)](https://pypi.org/project/sysinfolib/)
![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/sysinfolib)
[![GitHub](https://img.shields.io/github/license/smartlegionlab/sysinfolib)](https://github.com/smartlegionlab/sysinfolib/blob/master/LICENSE)
[![PyPI - Format](https://img.shields.io/pypi/format/sysinfolib)](https://pypi.org/project/sysinfolib)
***
Author and developer: ___A.A. Suvorov.___
***
# Description:
> Library for obtaining system information:
- Internal ip
- External ip
- Memory information
- Disk information
- Network information
- Username
- Computer name
- Operating system version
- Platform information
- Information about architecture
- Processor information
- Python version information
- Information about the city
- Information about the region
- Information about the country
- Information about the provider
- Information about geolocation
- Postcode
- Timezone
***
## Help:
`pip install sysinfolib`
> Attention!!! For some methods to work correctly, an active Internet connection is required.
```python
from sysinfolib.informers import SystemInformer
informer = SystemInformer()
external_ip = informer.ip.get_external_ip()
internal_ip = informer.ip.get_internal_ip()
system_user_name = informer.system.get_system_user_name()
system_name = informer.system.get_system_name()
node_name = informer.system.get_node_name()
release_info = informer.system.get_release_info()
version_info = informer.system.get_version_info()
platform_info = informer.system.get_platform_info()
machine_info = informer.system.get_machine_info()
processor_info = informer.system.get_processor_info()
cpu_info = informer.system.get_cpu_info()
disk_info = informer.system.get_disk_info()
memory_info = informer.system.get_memory_info()
network_interfaces = informer.system.get_network_interfaces()
system_load = informer.system.get_system_load()
python_version = informer.system.get_python_version()
ip_address = informer.user.get_ip_address()
hostname = informer.user.get_hostname()
city = informer.user.get_city()
region = informer.user.get_region()
country = informer.user.get_country()
loc = informer.user.get_loc()
org = informer.user.get_org()
postal = informer.user.get_postal()
timezone = informer.user.get_timezone()
```
> There are other useful classes and methods.
***
## 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 © 2018-2024, A.A. Suvorov
All rights reserved.
--------------------------------------------------------
Raw data
{
"_id": null,
"home_page": "https://github.com/smartlegionlab/sysinfolib/",
"name": "sysinfolib",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "sysinfolib, smartlegionlab",
"author": "A.A. Suvorov",
"author_email": "smartlegiondev@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a3/99/21ce9345c2cd56d3f6aa5afd83c1737fb0934ebb4c8125dd9b0adbc82fab/sysinfolib-0.0.1.tar.gz",
"platform": null,
"description": "# sysinfolib\nLibrary for obtaining system information and user information.\n\n---\n\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/sysinfolib)](https://github.com/smartlegionlab/sysinfolib/)\n[![PyPI](https://img.shields.io/pypi/v/sysinfolib)](https://pypi.org/project/sysinfolib)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/sysinfolib?label=pypi%20downloads)](https://pypi.org/project/sysinfolib/)\n![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/sysinfolib)\n[![GitHub](https://img.shields.io/github/license/smartlegionlab/sysinfolib)](https://github.com/smartlegionlab/sysinfolib/blob/master/LICENSE)\n[![PyPI - Format](https://img.shields.io/pypi/format/sysinfolib)](https://pypi.org/project/sysinfolib)\n\n***\n\nAuthor and developer: ___A.A. Suvorov.___\n\n***\n\n# Description:\n\n> Library for obtaining system information:\n\n- Internal ip\n- External ip\n- Memory information\n- Disk information\n- Network information\n- Username\n- Computer name\n- Operating system version\n- Platform information\n- Information about architecture\n- Processor information\n- Python version information\n- Information about the city\n- Information about the region\n- Information about the country\n- Information about the provider\n- Information about geolocation\n- Postcode\n- Timezone\n\n***\n\n## Help:\n\n`pip install sysinfolib`\n\n> Attention!!! For some methods to work correctly, an active Internet connection is required.\n\n```python\nfrom sysinfolib.informers import SystemInformer\n\ninformer = SystemInformer()\nexternal_ip = informer.ip.get_external_ip()\ninternal_ip = informer.ip.get_internal_ip()\nsystem_user_name = informer.system.get_system_user_name()\nsystem_name = informer.system.get_system_name()\nnode_name = informer.system.get_node_name()\nrelease_info = informer.system.get_release_info()\nversion_info = informer.system.get_version_info()\nplatform_info = informer.system.get_platform_info()\nmachine_info = informer.system.get_machine_info()\nprocessor_info = informer.system.get_processor_info()\ncpu_info = informer.system.get_cpu_info()\ndisk_info = informer.system.get_disk_info()\nmemory_info = informer.system.get_memory_info()\nnetwork_interfaces = informer.system.get_network_interfaces()\nsystem_load = informer.system.get_system_load()\npython_version = informer.system.get_python_version()\nip_address = informer.user.get_ip_address()\nhostname = informer.user.get_hostname()\ncity = informer.user.get_city()\nregion = informer.user.get_region()\ncountry = informer.user.get_country()\nloc = informer.user.get_loc()\norg = informer.user.get_org()\npostal = informer.user.get_postal()\ntimezone = informer.user.get_timezone()\n\n```\n\n> There are other useful classes and methods.\n\n***\n\n## Disclaimer of liability:\n\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 2018-2024, A.A. Suvorov\n All rights reserved.\n --------------------------------------------------------\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "Library for obtaining system information and user information..",
"version": "0.0.1",
"project_urls": {
"Documentation": "https://github.com/smartlegionlab/sysinfolib/blob/master/README.md",
"Homepage": "https://github.com/smartlegionlab/sysinfolib/",
"Release notes": "https://github.com/smartlegionlab/sysinfolib/releases"
},
"split_keywords": [
"sysinfolib",
" smartlegionlab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0af525805ed68203dc772dffe969449f71cd0baeff5b95dda8040fd2b6d9634b",
"md5": "c79c4158d9312f2e1039970344048087",
"sha256": "4ea8092f4f22bc616225b2fa794c841425b167a4804ead39262e6e104af5c2f1"
},
"downloads": -1,
"filename": "sysinfolib-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c79c4158d9312f2e1039970344048087",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5533,
"upload_time": "2024-06-16T07:47:14",
"upload_time_iso_8601": "2024-06-16T07:47:14.977324Z",
"url": "https://files.pythonhosted.org/packages/0a/f5/25805ed68203dc772dffe969449f71cd0baeff5b95dda8040fd2b6d9634b/sysinfolib-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a39921ce9345c2cd56d3f6aa5afd83c1737fb0934ebb4c8125dd9b0adbc82fab",
"md5": "0f096ad66604a108b7946aeaaf162329",
"sha256": "2795b98a88e026d7c59180a996a36ff9b895b1c6248b487957fb4c3905806524"
},
"downloads": -1,
"filename": "sysinfolib-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "0f096ad66604a108b7946aeaaf162329",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4817,
"upload_time": "2024-06-16T07:47:17",
"upload_time_iso_8601": "2024-06-16T07:47:17.229080Z",
"url": "https://files.pythonhosted.org/packages/a3/99/21ce9345c2cd56d3f6aa5afd83c1737fb0934ebb4c8125dd9b0adbc82fab/sysinfolib-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-16 07:47:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "smartlegionlab",
"github_project": "sysinfolib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "sysinfolib"
}