Skip to content

CEduStartup/Pyxis

Repository files navigation

Pyxis Project:
Realtime Data Visualization

Idea:

Collect and visualize realtime data from different sources. For example, USD exchange rate. Imagine that some site exports USD exchange rate as a webservice. User registers on our site, sets up datasource to that web service, specifies data structure and nature. After that our system starts automatically collecting data about USD exchange rate and puts data to the database. User is able to see that data vizualized, and share this vizualization with other users.

Requirements for first approximation:

    User can register on site.
    Very simple time-based data can be collected and visualized.
    Architecture must allow to add new data sources easily.

Work flow (very high level):

    Using admin-GUI user creates his “tracker”s based on data types available in our system. For the first version the only data type will be time-based data: time: number. For instance, daily temperature: “5.09.2011: +15”. Also user sets interval of data retrieval, and other options. Than user gets a link to given tracker.
    Ok, we have set of trackers stored in the database. Another process (multithreading) gathers data for given trackers and puts them to the MongoDB.
    GUI process (maybe not the same as admin GUI) handles visualization tasks.

Requirements
============
- MongoDB server
- beanstalkd queue server (>1.4.6)
- Postgresql
- libxml2

Python libraries used
=====================
gevent
Django
pymongo
lxml
BeautifulSoup
beanstalkc (client)

Usage
=====
1. export PYTHONPATH=`./build_python_path.py`
2. generate some data and run test server (optional):
   a. testdata/manage.py trackers_erase - to erase current database trackers configuration
   b. testdata/manage.py trackers_generate http://HOST:PORT/ NUM_OF_TRACKERS - to generate some test trackers
   c. testdata/manage.py runserver 0.0.0.0:PORT
3. python launcher.py to start the system

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages