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-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl (428.9 kB view details)

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

scrapster-0.1.0-cp38-abi3-manylinux_2_28_aarch64.whl (401.6 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

scrapster-0.1.0-cp38-abi3-macosx_11_0_arm64.whl (371.7 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

scrapster-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl (386.4 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for scrapster-0.1.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 726288555720eb9bdde830af6cf53a27f26caa70108f93caaac9c19aaad4b6c3
MD5 a6c7c2447e739f1dad921d8af03b6cb7
BLAKE2b-256 50bcd8b7b945c3145f5c89cc3a74c86154e5be8f89e8aa92b2fb606b1d072517

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scrapster-0.1.0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a0dc3440c0ccc7c61600664e7c86c31bed3d6b1d9d768ca1d086509a53fc9545
MD5 3bb20687837ec7afc062c5c178b8320b
BLAKE2b-256 7ca3169538d1dbe505f7d86053b86a70b43f76eb2caf62e096b2029f22b19d9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scrapster-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5bf38cfe2835c95d5de10a21f5107b4f400755c80cc930c22b9d131c47ff68f
MD5 bcdeb283c28307430c5dba83c1c37df2
BLAKE2b-256 273489dc2cd7fe67912d076878cad795e56909546d94abbbccacf40f7a00e8bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scrapster-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3131039cbce3640c066db4e72577f87e784e4e869393e66f11325c624132df52
MD5 6a60b9884afeea6c729bfa6eaa4414f8
BLAKE2b-256 5f0c842d36d6645b4c0e06d075ea393bc445f4da70fca839368a4762c9c21489

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