Pulseweb is a small project. It is packaged as a webserver with it's API and the corresponding views. It's main use is data visualization (symbolic and geographic).
- views
- /tubes/
- /tubes/cluster/:id
- /tubes/cluster/:id/term/:id
- API
- /data/streams
- /data/clusters
- /data/clusters/links
- /data/cluster/:id
- /data/cluster/:id/geo
- /data/cluster/:id/term/:id
- /data/cluster/:id/term/:id/full
- /data/cluster/:id/country/:id/full
- /data/article/:id
- /data/distribution/articles/by_month
All the API responses are in JSON.
- js (already bundled and minimized in the repo)
- python
- flask
- simplejson
- add non-json view (condition on
if(request.accept)
) - add unit tests
- add local jquery
- add tag detection
- add performance tests
- refactorize the js
- integrate with requirejs
This repositories come without DB. You must provide a alimsec_africa_light.db
file by yourself and put it in the db/
directory.
- create a
__main__.py
file in the folder containing thepulseweb
folder
from pulseweb import app
app.DATABASE = 'PATHTO/pulseweb/db/secalim_query_secalimandco.db'
if __name__ == '__main__':
app.debug = True
app.run()
- execute it (:
$ python __main__.py