superset/README.md

177 lines
5.9 KiB
Markdown
Raw Normal View History

2015-07-02 18:16:59 -04:00
Panoramix
=========
2016-01-06 19:46:40 -05:00
[![Join the chat at https://gitter.im/mistercrunch/panoramix](https://badges.gitter.im/mistercrunch/panoramix.svg)](https://gitter.im/mistercrunch/panoramix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2015-09-28 16:58:47 -04:00
![img](https://travis-ci.org/mistercrunch/panoramix.svg?branch=master)
2015-09-28 17:02:37 -04:00
[![Coverage Status](https://coveralls.io/repos/mistercrunch/panoramix/badge.svg?branch=master&service=github)](https://coveralls.io/github/mistercrunch/panoramix?branch=master)
2015-07-02 18:16:59 -04:00
Panoramix is a data exploration platform designed to be visual, intuitive
and interactive.
2016-01-27 16:56:23 -05:00
Video - Introduction to Panoramix
---------------------------------
[![Panoramix - ](http://img.youtube.com/vi/3Txm_nj_R7M/0.jpg)](http://www.youtube.com/watch?v=3Txm_nj_R7M)
Screenshosts
------------
2015-09-25 18:50:40 -04:00
![img](http://i.imgur.com/bi09J9X.png)
2015-09-21 16:48:02 -04:00
![img](http://i.imgur.com/aOaH0ty.png)
Panoramix
---------
2015-12-25 16:06:36 -05:00
Panoramix's main goal is to make it easy to slice, dice and visualize data.
2015-09-21 16:48:02 -04:00
It empowers its user to perform **analytics at the speed of thought**.
Panoramix provides:
* A quick way to intuitively visualize datasets
2015-12-27 12:46:07 -05:00
* Create and share interactive dashboards
2015-09-21 16:48:02 -04:00
* A rich set of visualizations to analyze your data, as well as a flexible
way to extend the capabilities
* An extensible, high granularity security model allowing intricate rules
on who can access which features, and integration with major
authentication providers (database, OpenID, LDAP, OAuth & REMOTE_USER
through Flask AppBuiler)
* A simple semantic layer, allowing to control how data sources are
displayed in the UI,
by defining which fields should show up in which dropdown and which
aggregation and function (metrics) are made available to the user
* Deep integration with Druid allows for Panoramix to stay blazing fast while
slicing and dicing large, realtime datasets
Buzz Phrases
------------
* Analytics at the speed of thought!
* Instantaneous learning curve
* Realtime analytics when querying [Druid.io](http://druid.io)
* Extentsible to infinity
2015-07-02 18:16:59 -04:00
Database Support
----------------
2015-09-21 16:48:02 -04:00
Panoramix was originally designed on to of Druid.io, but quickly broadened
its scope to support other databases through the use of SqlAlchemy, a Python
2015-09-21 16:48:02 -04:00
ORM that is compatible with
[most common databases](http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html).
2015-09-21 16:48:02 -04:00
What is Druid?
2015-07-15 21:01:25 -04:00
-------------
From their website at http://druid.io
*Druid is an open-source analytics data store designed for
business intelligence (OLAP) queries on event data. Druid provides low
latency (real-time) data ingestion, flexible data exploration,
and fast data aggregation. Existing Druid deployments have scaled to
trillions of events and petabytes of data. Druid is best used to
power analytic dashboards and applications.*
Installation
------------
2015-10-13 12:41:27 -04:00
Panoramix is currently only tested using Python 2.7.*. Python 3 support is
on the roadmap, Python 2.6 won't be supported.
Follow these few simple steps to install Panoramix.
```
2015-09-05 12:23:46 -04:00
# Install panoramix
pip install panoramix
2015-09-05 12:23:46 -04:00
# Create an admin user
fabmanager create-admin --app panoramix
2015-10-13 00:33:28 -04:00
# Initialize the database
panoramix db upgrade
# Create default roles and permissions
panoramix init
# Load some data to play with
panoramix load_examples
# Start the development web server
panoramix runserver -d
```
After installation, you should be able to point your browser to the right
hostname:port [http://localhost:8088](http://localhost:8088), login using
the credential you entered while creating the admin account, and navigate to
`Menu -> Admin -> Refresh Metadata`. This action should bring in all of
your datasources for Panoramix to be aware of, and they should show up in
`Menu -> Datasources`, from where you can start playing with your data!
2015-07-30 17:44:26 -04:00
Configuration
-------------
2015-09-05 12:23:46 -04:00
To configure your application, you need to create a file (module)
`panoramix_config.py` and make sure it is in your PYTHONPATH. Here are some
of the parameters you can copy / paste in that configuration module:
```
#---------------------------------------------------------
# Panoramix specifix config
#---------------------------------------------------------
ROW_LIMIT = 5000
WEBSERVER_THREADS = 8
PANORAMIX_WEBSERVER_PORT = 8088
#---------------------------------------------------------
#---------------------------------------------------------
# Flask App Builder configuration
#---------------------------------------------------------
# Your App secret key
SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h'
# The SQLAlchemy connection string.
2015-09-19 05:40:16 -04:00
SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/panoramix.db'
2015-09-05 12:23:46 -04:00
# Flask-WTF flag for CSRF
CSRF_ENABLED = True
# Whether to run the web server in debug mode or not
DEBUG = True
```
This file also allows you to define configuration parameters used by
Flask App Builder, the web framework used by Panoramix. Please consult
the [Flask App Builder Documentation](http://flask-appbuilder.readthedocs.org/en/latest/config.html) for more information on how to configure Panoramix.
2015-07-30 17:44:26 -04:00
* From the UI, enter the information about your clusters in the
``Admin->Clusters`` menu by hitting the + sign.
* Once the Druid cluster connection information is entered, hit the
``Admin->Refresh Metadata`` menu item to populate
* Navigate to your datasources
2015-09-05 17:27:18 -04:00
More screenshots
----------------
![img](http://i.imgur.com/Rt6gNQ9.png)
![img](http://i.imgur.com/t7VOtqQ.png)
![img](http://i.imgur.com/PaiFQnH.png)
2015-09-25 18:50:40 -04:00
![img](http://i.imgur.com/CdcGHuC.png)
2015-09-27 21:02:00 -04:00
2015-12-11 11:51:13 -05:00
Related Links
-------------
* [Panoramix Google Group] (https://groups.google.com/forum/#!forum/airbnb_panoramix)
* [Gitter (live chat) Channel](https://gitter.im/mistercrunch/panoramix)
2015-12-11 11:51:13 -05:00
2015-09-27 21:02:00 -04:00
Tip of the Hat
--------------
Panoramix would not be possible without these great frameworks / libs
* Flask App Builder - Allowing us to focus on building the app quickly while
getting the foundation for free
* The Flask ecosystem - Simply amazing. So much Plug, easy play.
* NVD3 - One of the best charting library out there
* Much more, check out the requirements.txt file!