Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kharts/konsodi

Interactive Python console/shell for Kodi
https://github.com/kharts/konsodi

Last synced: about 2 months ago
JSON representation

Interactive Python console/shell for Kodi

Awesome Lists containing this project

README

        

# Konsodi
Interactive Python console/shell for Kodi.
## Introduction
Sometimes when I was developing Kodi addons I needed to quickly test some small code snippets, before using it.
Usually I had to use xbmc.log() function or write some small dummy addons for debugging.
But that all was very inconvenient, especially considering that one of the remarkable Python features is built-in interactive interpreter (or shell, or console).
I really missed it in Kodi. So, I decided to write one!..
Now, please welcome Konsodi - interactive Python console/shell. Hope it will be useful for someone.
![Konsodi screenshot](/../master/resources/img/konsodi.png?raw=true)
## Usage
Interface of Konsodi is very familiar and simple. Just text field for command input, "Run" button, and the textbox with the results.
You can:
- Enter command in the appropriate field;
- Run it - using special onscreen button or pressing Enter twice (I know it would be more usual to press Enter only one time, but I didn't want to break standard Kodi features, though I could);
- See the results (good or not :-)) in the history textbox;
- Scroll the results using mouse wheel or fancy buttons;
- Move through command history using Up and Down keys.

And that's it.
So, have fun! Wish you a pleasant debugging and new awesome addons!
Bugreports/remarks/suggestions are welcome.
## Credits
Great thanks to [@romanvm](https://github.com/romanvm) for his wonderful [pyxbmct](https://github.com/romanvm/script.module.pyxbmct) framework.
## License
Except as otherwise noted, the source code is distributed according to the terms of the GNU General Public License version 2 or any later version.
[Material icons](https://design.google.com/icons/) by [Google](https://www.google.com) used under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/) / changed color.