Skip to main content

No project description provided

Project description

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

scrapster-1.0.6-cp38-abi3-manylinux_2_28_x86_64.whl (429.9 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

scrapster-1.0.6-cp38-abi3-manylinux_2_28_aarch64.whl (402.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

scrapster-1.0.6-cp38-abi3-macosx_11_0_arm64.whl (372.9 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

scrapster-1.0.6-cp38-abi3-macosx_10_12_x86_64.whl (387.3 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file scrapster-1.0.6-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scrapster-1.0.6-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6c518fb0026330466390b6f7eb9ae60cb76058d33b30963bd5c1a2313aa8b548
MD5 b17cc20a03daddb092c7251bfd1f2bf1
BLAKE2b-256 2a4db98ac233d4383a61f1254f8c9f4510653fa477ce3b631e30192e69f0ae00

See more details on using hashes here.

File details

Details for the file scrapster-1.0.6-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for scrapster-1.0.6-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5a49c534c7198908a85d6002b5615936679f0641e5e19086ac0907dac98cd3fd
MD5 ea7115d044cfa19364d35e0b2a288179
BLAKE2b-256 f246c909de67359313e78dcec2a6220f4a6813cef45bb482a3b002219736aa9c

See more details on using hashes here.

File details

Details for the file scrapster-1.0.6-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for scrapster-1.0.6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27c60ad77ee0e10ab22ca9c34997354ccddd1aedfb20c5f5f2e65ca8b032ae1c
MD5 d34c7d802d09b51375d676ceb5a7c1f8
BLAKE2b-256 18223ba2c407ca30bdcae02f2d363ab8dcc1b38fc32989e565fdc1fb98d410a1

See more details on using hashes here.

File details

Details for the file scrapster-1.0.6-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for scrapster-1.0.6-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ccd868f7e88024f79d839e8979f2c85a1eb12e46857e0cda436eb5eb4e50f643
MD5 1004515ab01072a7307c85046b1eabce
BLAKE2b-256 4266b5d9be18fb70051746bbffbd0989c1e970b72e660a4a80521baf089ee8d8

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