A simple psutil web front end
Project description
psrv
Simple web utility to serve up a system’s statistics using psutil. This can be referred to as ps service or process and service remote viewer. This is a basic demo proof of concept that really aims to showcase how Python backends and JavaScript frontends can be integrated together.
This demo may be installed using the following commands into a Python virtual environment:
$ git clone https://github.com/metatoaster/psrv.git
$ cd psrv
$ pip install -e .[dev,webpack,scss]
$ calmjs npm --install -i -D psrv[dev,webpack,scss]
$ python setup.py build
$ psrv-demo
Connect a web browser to http://localhost:8000 and a simple page showing the current CPU and memory utilization for the current machine will be visible with updates done by polling the status endpoint every three seconds (defined in the JavaScript code in this module).
0.0.0 (Unreleased)
Initial release.
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 Distributions
Built Distribution
File details
Details for the file psrv-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: psrv-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 92.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c294c61f5ad50f74d3072e66428842210dc2057bfa7d9956949df8935c91978 |
|
MD5 | cc1d96a609486695f651ef25d6a18e1f |
|
BLAKE2b-256 | 4d6b3ed730bdb64006cb9704d4a309ff741452f20b2ea9554e367e46af0d86c8 |