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.4.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file refreshrate-0.4.tar.gz
.
File metadata
- Download URL: refreshrate-0.4.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d6e026a31e7ec5786b2814aa60da7a23c56e83a5ed398684c52f86cda46207e |
|
MD5 | 508ab7e86a3e1a2333082608211c37a3 |
|
BLAKE2b-256 | 2e8f6e67a8b342421389c0662151fcf21c67f1d0b2b856ff4710755631ee6d42 |
File details
Details for the file refreshrate-0.4-py3-none-any.whl
.
File metadata
- Download URL: refreshrate-0.4-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f45c817314d2c3ae2440d1c2f183ef84d597a438e261a05cd1d7ae96180a31e |
|
MD5 | 1fd8d52f16ca328580393f9a10944183 |
|
BLAKE2b-256 | 3ed5dd1bf1f56ea2fb4fd3403ca3429961348be63f391e7ad5ab8d6440fd1f72 |