Metadata-Version: 1.2
Name: pyps4_homeassistant
Version: 0.7.3
Summary: PS4 Python Library for Home Assistant
Home-page: https://github.com/ktnrg45/pyps4-homeassistant
Author: ktnrg45
Author-email: ktnrg45@gmail.com
License: LGPLv2+
Description: Python Control for PlayStation 4 consoles.
        ============================
        
        |BuildStatus| |PypiVersion| |PyPiPythonVersions|
        
        Purpose
        ----------
        To add a pure python implementation of ps4-waker. Including PS4 credential creation.
        Integration with Home-Assistant. 
        
        Compatibility
        ----------
        Tested on:
        Python 3.5/3.6/3.7
        Home-Assistant/Hass.IO 0.89
        
        
        **This package can be used as a standalone api. It does not require the use of Home Assistant.
        
        Installation
        ----------
        run "pip install pyps4-homeassistant"
        
        Ports
        ----------
        PS4 listens on ports 987 and 997 (Priveleged).
        Must run command on python path if no access:
        
        "sudo setcap 'cap_net_bind_service=+ep' /usr/bin/python3.5"
        
        Usage
        ----------
        API should be accessed initially like the following examples.
        
        Most functions can be accessed from the high-level PS4 object.
        
        
        import pyps4_homeassistant
        
        pyps4_homeassistant.ps4.Ps4("192.168.0.2", "YourCredentials")
        
        
        Credentials can be generated by running:
        
        creds = pyps4_homeassistant.credential.Credentials()
        
        credentials = creds.start()
        
        This will start the credential service and will return the credentials for the PSN Account. You will need to get the PS4 Second Screen app for Android or iOS to do this. Once you have logged in with your acccount in the app and started the service, refresh the devices in the app and select the device name 'Home-Assistant'. 
        
        
        
        Cover Art Issues
        ----------
        If you find that media art cannot be found. Please post an issue with your Region, Country, Title of game, an ID of game.
        
        To Do List:
        ----------
        - Port TCP and UDP functions to Asyncio.
        
        
        
        References
        ----------
        
        - https://github.com/dsokoloski/ps4-wake
        - https://github.com/dhleong/ps4-waker
        - https://github.com/hthiery/python-ps4
        
        .. _ps4-waker: https://github.com/dhleong/ps4-waker
        
        .. |BuildStatus| image:: https://travis-ci.org/ktnrg45/pyps4-homeassistant.png?branch=master
                         :target: https://travis-ci.org/ktnrg45/pyps4-homeassistant
        .. |PyPiVersion| image:: https://badge.fury.io/py/pyps4-homeassistant.svg
                         :target: http://badge.fury.io/py/pyps4-homeassistant
        .. |PyPiPythonVersions| image:: https://img.shields.io/pypi/pyversions/pyps4-homeassistant.svg
                                :alt: Python versions
                                :target: http://badge.fury.io/py/pyps4-homeassistant
        
Keywords: playstation sony ps4
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.5.3
