Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruskydev/refreshrate
A Python package that fetches your monitor refresh rate.
https://github.com/ruskydev/refreshrate
hz refreshrate
Last synced: 6 days ago
JSON representation
A Python package that fetches your monitor refresh rate.
- Host: GitHub
- URL: https://github.com/ruskydev/refreshrate
- Owner: RuskyDev
- License: mit
- Created: 2024-11-02T12:52:23.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T13:00:46.000Z (3 months ago)
- Last Synced: 2024-12-24T02:23:54.781Z (about 1 month ago)
- Topics: hz, refreshrate
- Language: Python
- Homepage: https://pypi.org/project/refreshrate/
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# refreshrate
A Python package that fetches your monitor refresh rate.## Installation
Install the package via pip:```bash
pip install refreshrate
```## Usage
To use `refreshrate` in your project:```python
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.")
```