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

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

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

scrapster-1.0.5-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-1.0.5-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scrapster-1.0.5-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 812bf1a02deecaa9c95168892cc146e0287bdc1b65d65991fbf57f60bb24febe
MD5 12cc0d85bb8167042ae404cefa866046
BLAKE2b-256 1614e260f5a4b95df7232d0d1b042e0019df29f544aaa2f90da2f94fa45a632f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scrapster-1.0.5-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 520542926dd640d5b954b207189adcf40a1142b1cae300f7f42e82f5d0696e23
MD5 29c96be3a10abb3ca90c37cc0fda0eb2
BLAKE2b-256 ba76994a46373489f9d11394b576ab4f5a059f0c501b9fa785016ff77e60362d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scrapster-1.0.5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 faf2531d9021832ca2e758c0ad542d81dbada6f75aa5884a361bf60cdb3f2be8
MD5 ffd759c85b0b52065196817338214504
BLAKE2b-256 f8560dd03b9e8a96c848b8cb068a5bca365cf409a0147f37328cbdaebbc2cf06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scrapster-1.0.5-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2059dfad609624c380cc555553d3c04109b26a816c0b87e3c0d97d1736cb7fc8
MD5 dcbb0b291664bfe9c0c82e778516e7d6
BLAKE2b-256 124311a37c06be8fc7677e76ce52f9e5e65e8965cc1d914829f6f2866206d2f2

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