Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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/)

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 istat

istat.cpu_temp()
{'CPU temp': '40.81°C'}

istat.batt_time()
{'Battery time remaining': 'Unlimited'} ## This means charger is connected

istat.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'}
```