scrapster
Rust-powered system metrics collector exposed to Python via PyO3.
Installation
pip install scrapster
Usage
import scrapster
m = scrapster.get_metrics_once(1000) # wait ~1s and return a dict
print(m["cpu_usage_percent"], m["mem_used_bytes"])
Notes
- Some metrics rely on Linux
/proc/*files; on non-Linux systems these may be zero.
Release files for scrapster 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| scrapster-1.0.6-cp38-abi3-manylinux_2_28_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| scrapster-1.0.6-cp38-abi3-manylinux_2_28_aarch64.whl | CPython 3.8 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| scrapster-1.0.6-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
| scrapster-1.0.6-cp38-abi3-macosx_10_12_x86_64.whl | CPython 3.8 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 1.6 MB
Release files / scrapster-1.0.6-cp38-abi3-manylinux_2_28_x86_64.whl
| Download URL | scrapster-1.0.6-cp38-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 429.9 kB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6c518fb0026330466390b6f7eb9ae60cb76058d33b30963bd5c1a2313aa8b548
|
|
BLAKE2b-256 checksum How to use checksums |
2a4db98ac233d4383a61f1254f8c9f4510653fa477ce3b631e30192e69f0ae00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / scrapster-1.0.6-cp38-abi3-manylinux_2_28_aarch64.whl
| Download URL | scrapster-1.0.6-cp38-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 402.4 kB |
| Tags | CPython 3.8 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5a49c534c7198908a85d6002b5615936679f0641e5e19086ac0907dac98cd3fd
|
|
BLAKE2b-256 checksum How to use checksums |
f246c909de67359313e78dcec2a6220f4a6813cef45bb482a3b002219736aa9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / scrapster-1.0.6-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | scrapster-1.0.6-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 372.9 kB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
27c60ad77ee0e10ab22ca9c34997354ccddd1aedfb20c5f5f2e65ca8b032ae1c
|
|
BLAKE2b-256 checksum How to use checksums |
18223ba2c407ca30bdcae02f2d363ab8dcc1b38fc32989e565fdc1fb98d410a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / scrapster-1.0.6-cp38-abi3-macosx_10_12_x86_64.whl
| Download URL | scrapster-1.0.6-cp38-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 387.3 kB |
| Tags | CPython 3.8 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
ccd868f7e88024f79d839e8979f2c85a1eb12e46857e0cda436eb5eb4e50f643
|
|
BLAKE2b-256 checksum How to use checksums |
4266b5d9be18fb70051746bbffbd0989c1e970b72e660a4a80521baf089ee8d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|