Skip to main content

A python package that fetchs your monitor refresh rate.

Project description

refreshrate

A Python package that fetches your monitor refresh rate.

Installation

Install the package via pip:

pip install refreshrate

Usage

To use refreshrate in your project:

import refreshrate

# Get the monitor's refresh rate
rate = refreshrate.get()

if rate:
    print(f"Your monitor's refresh rate is {rate} Hz.")
else:
    print("Could not retrieve the refresh rate.")

Project details


Download files

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

Source Distribution

refreshrate-0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

refreshrate-0.3-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file refreshrate-0.3.tar.gz.

File metadata

  • Download URL: refreshrate-0.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for refreshrate-0.3.tar.gz
Algorithm Hash digest
SHA256 00374eef222aa4d5e4342ea531723391ebfc211f1f64c8380ed4fba0fbf6955e
MD5 9f1f85dcacfd2cfb2aef66cbab475642
BLAKE2b-256 da7733de0b58d2f1f01f2c5711e7508765ff8f76c9b274ceaa8b27262d7b8fb5

See more details on using hashes here.

File details

Details for the file refreshrate-0.3-py3-none-any.whl.

File metadata

  • Download URL: refreshrate-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for refreshrate-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6b0316a1d56183b167c347a41bd4352c4c259de8683679d33bd7fe723ced09b
MD5 3d8313075657fa076aea2c81b7ce862a
BLAKE2b-256 46ac089fb608f8cce8cfe45ca51b01533eb28a92b6c915c0cc8e4dcac32ac3b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page