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.
Release files for psrv 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psrv-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / psrv-0.0.1-py2.py3-none-any.whl
| Download URL | psrv-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 92.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2c294c61f5ad50f74d3072e66428842210dc2057bfa7d9956949df8935c91978
|
|
BLAKE2b-256 checksum How to use checksums |
4d6b3ed730bdb64006cb9704d4a309ff741452f20b2ea9554e367e46af0d86c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|