started re-writing the python api

added support for
- Number And Secondary widget with Sparkline
- Text Widget
- Funnel Widget