Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carglglz/ipystats
Python bindings to istats (http://chris911.github.io/iStats/)
https://github.com/carglglz/ipystats
cpu macosx monitoring python system temperature
Last synced: 18 days ago
JSON representation
Python bindings to istats (http://chris911.github.io/iStats/)
- Host: GitHub
- URL: https://github.com/carglglz/ipystats
- Owner: Carglglz
- License: mit
- Created: 2019-11-15T17:14:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-15T17:34:17.000Z (about 5 years ago)
- Last Synced: 2024-11-05T07:40:48.492Z (2 months ago)
- Topics: cpu, macosx, monitoring, python, system, temperature
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ipyStats : python bindings to istats
***Requirements***:
* istats (http://chris911.github.io/iStats/)
***Install***:
```
git clone https://github.com/Carglglz/ipyStats.git
cd ipyStats
pip install .
```***Usage example:***
```python
from ipyStats import istatistat.cpu_temp()
{'CPU temp': '40.81°C'}istat.batt_time()
{'Battery time remaining': 'Unlimited'} ## This means charger is connectedistat.batt_charge()
{'Battery charge': '100%'}istat.palmr_temp()
{'palmr_temp': '27.56 ºC'}istat.fan_speed()
{'Fan 0 speed': '0 RPM', 'Fan 1 speed': '0 RPM'}istat.batt_temp()
{'Battery temp': '31.5°C'}istat.batt_time()
{'Battery time remaining': '5:23'}
```