Skip to main content

Performance monitoring and system utilities

Project description

warpt

A unified command-line tool for hardware discovery, stress testing, and performance monitoring.

warpt provides a vendor-agnostic interface for understanding and validating computational resources—answering questions like "What hardware do I have?", "Is it working correctly?", and "How fast is it?"

Installation

pip install warpt

For stress testing capabilities:

pip install warpt[stress]

Requirements: Python 3.8+ (3.11+ recommended) | Linux, macOS, or Windows

Quick Start

# Discover your hardware
warpt list

# Run CPU stress tests
warpt stress -c cpu

# Monitor system in real-time
warpt monitor

# Check power consumption (Linux/macOS)
warpt power

Features

Command Description
warpt list Detect CPU, GPU, memory, storage, and installed ML frameworks
warpt stress Run stress tests across CPU, GPU, RAM, storage, and network
warpt monitor Real-time system monitoring with TUI dashboard
warpt power Power consumption monitoring and per-process attribution
warpt carbon Track energy consumption, CO2 emissions, and estimated cost
warpt benchmark Performance benchmarking suite

Documentation

Platform Support

Platform Status
Linux Full support
macOS Full support (power monitoring requires sudo)
Windows Limited support (see Known Limitations)

GPU Support: NVIDIA GPUs supported. AMD, Intel, and Apple Silicon GPU support coming soon.

Carbon Tracking

warpt automatically tracks energy usage and CO2 emissions during stress tests and power monitoring. You can also track any workload manually:

# Automatic — built into stress tests
warpt stress -c cpu -d 30
# [carbon] 30.2s | 23.8W avg | 199.7 mWh | 0.08g CO2 | $0.0000 | less than breathing for a minute

# Manual — track any workload
warpt carbon start
# ... run your workload ...
warpt carbon stop

# View history and totals
warpt carbon history
warpt carbon summary

# Check available grid regions and carbon intensities
warpt carbon regions

Carbon calculations use regional grid intensity data to estimate CO2 emissions from energy consumption. Configure your region with --region (defaults to US).

Example Output

$ warpt list

CPU Information:
  Make:               Intel
  Model:              Xeon W-2295
  Architecture:       x86_64

Topology:
  Total Sockets:      1
  Total Phys Cores:   18
  Total Logic Cores:  36

Memory Information:
  Total:              128.0 GB
  Type:               DDR4

GPU Information:
  GPU 0: NVIDIA RTX 4090
    Memory: 24576 MB
    Driver: 545.23.08

Alpha Release

This is an alpha release. Some features are still in development:

  • Carbon tracking — new in v0.2.0
  • AMD GPU support (ROCm) — in progress
  • Intel GPU support (oneAPI) — in progress
  • Apple Neural Engine — in progress
  • Additional benchmarks — expanding

See the Support Matrix for full details.

Feedback

We'd love to hear from you:

License

MIT License — see LICENSE for details.

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.2.1.tar.gz (193.9 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.2.1-py3-none-any.whl (253.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for warpt-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7a941726e529d83f9ddd2e12ceb5e9c2276696c386a1f3421c4d6d17f3d99618
MD5 7b7be7b4c80ab1f5a349baf1d1d83511
BLAKE2b-256 1f81ebb44d65ac5222563b92cd22471dfa3ec90bcde668b9cd94ac856f7fdee4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for warpt-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3091cc79e7c018acd0ae1522a091f9621565081cafc274bfe94ae10e080ad3b0
MD5 ef15c463615f2c650e3752004eeeed9c
BLAKE2b-256 d3cab8eaea97cf07e67721d919337687bc8373d3d5661fdbd5ccfd241478c59a

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