RTMP module for tinychat chat rooms.
pinylib (originally called tinylib) provides classes/methods/functions to create a connection to a tinychat chat room. The idea of the module was to create a base in which developers could build their own entertainment/helper bots with.
The file pinylib.py is somewhat built over a file made by MegaLoler and can be found here. Since this file is from 2012, a lot of modifications has been made to reflect the changes tinychat has made over the years.
Examples shown here, assumes you are using windows.
pinylib was developed using python 2.7.10 so this is the recomended python interpreter. Later versions of python should work to, aslong as they are from the 2.7 family.
pinylib requires 4 libraries that are not part of the standard python library, these being:
These can all be installed form a command prompt with pip.
pip install pyamf requests colorama beautifulsoup4
For more info, see the wiki
Run the client by typing python path\to\sample_client.py
in a command prompt.
Issues posted should be about pinylib and only pinylib.
Before submitting an issue, please read through the issues section, including already closed issues. If you do not find an answer to your issue, then please provide as much info as possible when opening an issue. Possible info could be:
- Python version including subversion.
- Pinylib version.
- Debug log.
- How to reproduce the issue/error.
The MIT License (MIT)
Copyright (c) 2016 nortxort
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Thanks to the following people who in some way or another, has helped with this project