Skip to main content

A simple package to gather system OS and memory info

Project description

warpt

A simple Python package to gather system OS and memory information.

Installation

pip install warpt

Usage

from warpt import get_os_info, get_memory_info

# Get OS information
os_info = get_os_info()
print(os_info)
# {'system': 'Darwin', 'node': 'MacBook-Pro', 'release': '23.5.0', ...}

# Get memory information
mem_info = get_memory_info()
print(mem_info)
# {'total': 17179869184, 'available': 5367709696, 'percent': 68.8, ...}

Requirements

  • Python 3.6+
  • psutil

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warpt-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

warpt-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file warpt-0.1.0.tar.gz.

File metadata

  • Download URL: warpt-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for warpt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 216aae20379f0327e1807508a293175d6321749b38b6535a3d21493a804b3b51
MD5 7d910cfc56ffe02d7bc3cac5c832e879
BLAKE2b-256 b47d0872487db64e30ff1863013295f9e27701af90c60a7ca64304917a2169e3

See more details on using hashes here.

File details

Details for the file warpt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: warpt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for warpt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d471544b05a16e006f35560615d432d09ef193630b98237c78ab38db3bb3ddb
MD5 0250088dacd3514858d87703621face1
BLAKE2b-256 01b99826306613733b9610f3a21adddf1904c01ccce038770f101ab8b2cee3a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page