Metadata-Version: 1.1
Name: decent.py
Version: 1.0.0b1
Summary: Python API wrapper for Decent
Home-page: https://github.com/TheInitializer/decent.py
Author: xn--cr8h
Author-email: theinitializer.py@gmail.com
License: UNKNOWN
Description: #########

        decent.py

        #########

        

        **decent.py** is a Python library that makes creating `Decent`_ clients and bots easy. ::

        

            import decent

        

            server = decent.Server("https://meta.decent.chat", "my_username", "my_password")

            server.connect()

        

        

            @server.event

            def on_message(message):

                print("New message from {}: {}".format(message.author, message.text))

                message.channel.send("Received a message")

        

        

            while True:

                server.mainloop()

        

        .. _Decent: https://github.com/decent-chat/decent

        
Keywords: messaging client api
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
