Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andrewpetrochenkov/mac-afk.py

:apple: :watch: get macOS afk time
https://github.com/andrewpetrochenkov/mac-afk.py

afk cli macos python

Last synced: about 2 months ago
JSON representation

:apple: :watch: get macOS afk time

Awesome Lists containing this project

README

        

[![](https://img.shields.io/badge/OS-macOS-blue.svg?longCache=True)]()
[![](https://img.shields.io/pypi/v/mac-afk.svg?maxAge=3600)](https://pypi.org/project/mac-afk/)
[![](https://img.shields.io/npm/v/mac-afk.svg?maxAge=3600)](https://www.npmjs.com/package/mac-afk)[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
[![](https://github.com/andrewp-as-is/mac-afk.py/workflows/tests42/badge.svg)](https://github.com/andrewp-as-is/mac-afk.py/actions)

### Installation
```bash
$ [sudo] pip install mac-afk
```

```bash
$ [sudo] npm i -g mac-afk
```

#### Examples
```python
>>> import mac_afk
>>> import time
>>> time.sleep(2); mac_afk.seconds()
2
```

```bash
$ sleep 3 && afk
3
```


readme42.com