Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kharts/konsodi
- Owner: kharts
- License: gpl-2.0
- Created: 2016-01-26T04:04:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-16T13:11:57.000Z (almost 6 years ago)
- Last Synced: 2024-06-29T04:34:38.925Z (3 months ago)
- Language: Python
- Homepage:
- Size: 554 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- License: LICENSE
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.