headphones

detect if headphones are plugged


Keywords
headphones, pypi, python, python-library
License
BSD-3-Clause
Install
pip install headphones==0.0.0

Documentation

Travis

Install

$ [sudo] pip install headphones

Features

  • MacOS only

Examples

>>> import headphones
>>> headphones.plugged()
True

cli

$ python -c "import headphones; print(headphones.plugged())"
True