Metadata-Version: 2.1
Name: streamdeck
Version: 0.7.1
Summary: Library to control Elgato StreamDeck devices.
Home-page: https://github.com/abcminiuser/python-elgato-streamdeck
Author: Dean Camera
Author-email: dean@fourwalledcubicle.com
License: MIT
Description: # Python Elgato Stream Deck Library
        
        ![Example Deck](ExampleDeck.jpg)
        
        This is an open source Python 3 library to control an
        [Elgato Stream Deck](https://www.elgato.com/en/gaming/stream-deck) directly,
        without the official software. This can allow you to create your own custom
        front-ends, such as a custom control front-end for home automation software.
        
        [PyPi Project Entry](https://pypi.org/project/streamdeck/)
        
        [Online Documentation](https://python-elgato-streamdeck.readthedocs.io)
        
        ## Status:
        
        Working - you can enumerate devices, set the brightness of the panel(s), set
        the images shown on each button, and read the current button states.
        
        Currently the following StreamDeck product variants are supported:
        * StreamDeck Original (both V1 and V2 hardware variants)
        * StreamDeck Mini
        * StreamDeck XL
        
        ## Package Installation:
        
        Install the library via pip:
        
        ```
        pip install streamdeck
        ```
        
        Alternatively, manually clone the project repository:
        ```
        git clone https://github.com/abcminiuser/python-elgato-streamdeck.git
        
        ```
        
        The included examples require the PIL fork `pillow`, although it can be swapped
        out if desired by the user application for any other image manipulation library.
        This can be installed via the `pip` package manager.
        
        ## HID Backend Installation
        
        The library core is structured so that it can use one of (potentially) several
        alternative HID backend libraries for the actual low level device
        communications. You will need to install the dependencies appropriate to your
        chosen backend for the library to work correctly.
        
        ### LibUSB HID Backend
        
        This is the default and recommended backend - a cross platform library for
        communicating with HID devices. Most systems will have this as a system package
        available for easy installation.
        
        #### Windows
        
        Windows systems requires additional manual installation of a DLL in order to
        function. The latest source for the `hidapi.dll` DLL is the
        [releases page of the libUSB GitHub project](https://github.com/libusb/hidapi/releases).
        
        #### MacOS (Darwin)
        
        On MacOS systems, you can choose to either compile the
        [HIDAPI project](https://github.com/libusb/hidapi/) yourself, or install it via
        one of the multiple third party package managers (e.g. `brew install hidapi`,
        when using Homebrew).
        
        #### Linux (Ubuntu/Debian)
        
        On Linux, the `libhidapi-libusb0` package is required can can be installed via
        the system's package manager.
        
        The following script has been verified working on a Raspberry Pi (Model 2 B)
        running a stock Debian Buster image, to install all the required dependencies
        needed by this project on a fresh system:
        
        ```
        # Ensure system is up to date, upgrade all out of date packages
        sudo apt update && sudo apt dist-upgrade -y
        
        # Install the pip Python package manager
        sudo apt install -y python3-pip python3-setuptools
        
        # Install system packages needed for the default LibUSB HIDAPI backend
        sudo apt install -y libudev-dev libusb-1.0-0-dev libhidapi-libusb0
        
        # Install system packages needed for the Python Pillow package installation
        sudo apt install -y libjpeg-dev zlib1g-dev
        
        # Install python library dependencies
        pip3 install wheel
        pip3 install pillow
        
        # Add udev rule to allow all users non-root access to Elgato StreamDeck devices:
        sudo tee /etc/udev/rules.d/10-streamdeck.rules << EOF
        	SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fd9", GROUP="users"
        	EOF
        
        # Install the latest version of the StreamDeck library via pip
        pip3 install streamdeck
        ```
        
        Note that after adding the `udev` rule, a restart will be required in order for
        it to take effect and allow access to the StreamDeck device without requiring
        root privileges.
        
        ## Credits:
        
        I've used the reverse engineering notes from
        [this GitHub](https://github.com/Lange/node-elgato-stream-deck/blob/master/NOTES.md)
        repository to implement this library. Thanks Alex Van Camp!
        
        Thank you to the following contributors, large and small, for helping with the
        development and maintenance of this library:
        
        - [Aetherdyne](https://github.com/Aetherdyne)
        - [BS-Tek](https://github.com/BS-Tek)
        - [dirkk0](https://github.com/dirkk0)
        - [dubstech](https://github.com/dubstech)
        - [Kalle-Wirsch](https://github.com/Kalle-Wirsch)
        - [pointshader](https://github.com/pointshader)
        - [spidererrol](https://github.com/Spidererrol)
        - [Subsentient](https://github.com/Subsentient)
        - [shanna](https://github.com/shanna)
        
        If you've contributed in some manner, but I've accidentally missed you in the
        list above, please let me know.
        
        ## License:
        
        Released under the MIT license:
        
        ```
        Permission to use, copy, modify, and distribute this software
        and its documentation for any purpose is hereby granted without
        fee, provided that the above copyright notice appear in all
        copies and that both that the copyright notice and this
        permission notice and warranty disclaimer appear in supporting
        documentation, and that the name of the author not be used in
        advertising or publicity pertaining to distribution of the
        software without specific, written prior permission.
        
        The author disclaims all warranties with regard to this
        software, including all implied warranties of merchantability
        and fitness.  In no event shall the author be liable for any
        special, indirect or consequential damages or any damages
        whatsoever resulting from loss of use, data or profits, whether
        in an action of contract, negligence or other tortious action,
        arising out of or in connection with the use or performance of
        this software.
        ```
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
