Giter VIP home page Giter VIP logo

mining's Introduction

Open Mining

Build Status - Circle CI

image

Code Health

OpenMining

Business Intelligence (BI) Application Server written in Python

Requirements

  • Python 2.7 (Backend)
  • Lua 5.2 or LuaJIT 5.1 (OML backend)
  • MongoDB (Admin)
  • Redis (Queue and DataWarehouse)
  • Bower (Install frontend libs, NodeJS depends)

Install dependencies -------

If you use Mac OSX you can install all dependencies using HomeBrew.

Install Open Mining -------

Clone the repository

Install python and bower dependencies using make command

FAQ

If mongodb or redis-server problems

Install mongodb and redis-server, make sure it running

Supported databases

For example, to connect to a PostgreSQL database make sure you install a driver like psycopg2. OpenMining supports all databases that the underlying ORM SQLAlchemy supports.

See the SQLAlchemy documentation for more info about drivers and connection strings.

Run

Running Demo

Make sure runserver still running when run 'build_demo' command.

And now you can login with: username 'admin' and password 'admin'.

Screenshots

Dashboard OpenMining

Dashboard OpenMining

Dashboard Charts OpenMining

Dashboard Charts OpenMining

Dashboard Charts OpenMining

Dashboard Charts OpenMining

Dashboard Widgets OpenMining

Dashboard Widgets OpenMining

Late Scheduler and running Cubes OpenMining

Late Scheduler and running Cubes OpenMining

Contribute

Join us on IRC at #openmining on freenode (web access).

Credits

Authors: Avelino and UP! Essência

Many thanks to all the contributors!

License

Licensed under the MIT license (see the (LICENSE file).

mining's People

Contributors

avelino avatar habi avatar ikkebr avatar lerrua avatar luizvital avatar thiagopadula avatar waffle-iron avatar webmaven avatar yupbank avatar yuripiratello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mining's Issues

breaking fields description on admin selected field

<select name="categories" ng-model="fields" class="ng-valid ng-dirty"><option value="? string:creditos ?"></option>
<option value=""></option>
<!-- ngRepeat: f in fields --><option value="c" ng-repeat="f in fields" class="ng-scope ng-binding">c</option><!-- end ngRepeat: f in fields --><option value="r" ng-repeat="f in fields" class="ng-scope ng-binding">r</option><!-- end ngRepeat: f in fields --><option value="e" ng-repeat="f in fields" class="ng-scope ng-binding">e</option><!-- end ngRepeat: f in fields --><option value="d" ng-repeat="f in fields" class="ng-scope ng-binding">d</option><!-- end ngRepeat: f in fields --><option value="i" ng-repeat="f in fields" class="ng-scope ng-binding">i</option><!-- end ngRepeat: f in fields --><option value="t" ng-repeat="f in fields" class="ng-scope ng-binding">t</option><!-- end ngRepeat: f in fields --><option value="o" ng-repeat="f in fields" class="ng-scope ng-binding">o</option><!-- end ngRepeat: f in fields --><option value="s" ng-repeat="f in fields" class="ng-scope ng-binding">s</option><!-- end ngRepeat: f in fields -->
  </select>

bugs,when /bin/mining

CLEAN MEMCACHE/RIAK: test

CONNECT IN RELATION DATA BASE: test

LOAD DATA ON DATAWAREHOUSE: test

Traceback (most recent call last):
File "./bin/mining", line 48, in
df.columns = resoverall.keys()
File "/Users/yupbank/.virtualenvs/mining/lib/python2.7/site-packages/pandas/core/generic.py", line 1613, in setattr
object.setattr(self, name, value)
File "properties.pyx", line 59, in pandas.lib.AxisProperty.set (pandas/lib.c:30413)
File "/Users/yupbank/.virtualenvs/mining/lib/python2.7/site-packages/pandas/core/generic.py", line 394, in _set_axis
self._data.set_axis(axis, labels)
File "/Users/yupbank/.virtualenvs/mining/lib/python2.7/site-packages/pandas/core/internals.py", line 1999, in set_axis
cur_axis, value = self._set_axis(axis, value, check_axis)
File "/Users/yupbank/.virtualenvs/mining/lib/python2.7/site-packages/pandas/core/internals.py", line 1992, in _set_axis
len(value)))
ValueError: Length mismatch: Expected axis has 0 elements, new values have 5 elements

Stream API

Because of very large cube must implement an websocket API and rendering the data on demand!

check exist dashboard

[E 140210 13:26:56 web:1305] Uncaught exception GET / (127.0.0.1)
HTTPRequest(protocol='http', host='localhost:8888', method='GET', uri='/', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Connection': 'keep-alive', 'Accept-Language': 'en-US,en;q=0.8,pt-BR;q=0.6,pt;q=0.4', 'Accept-Encoding': 'gzip,deflate,sdch', 'Host': 'localhost:8888', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36'})
Traceback (most recent call last):
  File "/deploy/pyenvs/mining/local/lib/python2.7/site-packages/tornado/web.py", line 1218, in _when_complete
    callback()
  File "/deploy/pyenvs/mining/local/lib/python2.7/site-packages/tornado/web.py", line 1239, in _execute_method
    self._when_complete(method(*self.path_args, **self.path_kwargs),
  File "/home/yuri/Documentos/Projetos/mining/mining/views.py", line 25, in get
    self.render('index.html', dashboard=dashboard)
  File "/deploy/pyenvs/mining/local/lib/python2.7/site-packages/tornado/web.py", line 615, in render
    html = self.render_string(template_name, **kwargs)
  File "/deploy/pyenvs/mining/local/lib/python2.7/site-packages/tornado/web.py", line 722, in render_string
    return t.generate(**namespace)
  File "/deploy/pyenvs/mining/local/lib/python2.7/site-packages/tornado/template.py", line 278, in generate
    return execute()
  File "index_html.generated.py", line 5, in _tt_execute
    for d in dashboard:  # index.html:5
TypeError: 'NoneType' object is not iterable

If not exist return text: "Does not exist dashboard!"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.