Giter Club home page Giter Club logo

libviz's Introduction

LibViz // http://libviz.artlabo.org

Making graphs you can play with from Zotero libraries..

----------- VERSION IN DEVELOPMENT !!! ----------------


PRESENTATION

LibViz allows to generate data visualisations (graphs) from sets of Zotero references. HISTORY

LibViz started as a part of 1.CAMP, which a larger project aiming to cross different topics as the anthropocene era, art, new practices, scientific research, ... Julien Bellanger could tell more about this part...

Then other people join the project, wanting some visualisation for their own datasets : other bibliographical references gathered in Zotero. So the project eventually aimed to be as 'neutral' as possible to accept any kind of dataset from Zotero.


UNDER THE HOOD

LibViz development is documented HERE and on GitHub.

LibViz is powered by :

Python to get the references and create the JSON datasets
Zotero to organise bibliographical references
Flask as backbone of the website
Bootstrap for the global aspect website
d3.js by
Mike Bostock to create the graph visualisation

CREDITS

Project by PING / ARTLABO and developped by Julien P with the precious help of Julien B., Benjamin, Ewen C., Xavier

This application is inspired by a previous work called "Constellations bibliographiques" developped by Laurent Malys.


VIRTUALENV CONFIGURATION

To develop & test this application, you can use a Python “virtualenv”. To proceed, just install the Debian package python-virtualenv, create a new “virtualenv”, activate it and then install the required dependencies:

$ sudo apt install python-virtualenv
$ cd LibViz
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

TEST WITH A LOCAL SERVER

$ python run.py
then open a browser with this url : http://127.0.0.1:5000

APACHE CONFIGURATION

To deploy this application with Apache2, you have to install mod_wsgi (available in Debian in the libapache2-mod-wsgi package). You can then add the following snippet in your VirtualHost’s configuration:

DocumentRoot "/home/artlabo/www/libviz.artlabo.org/LibViz"

WSGIDaemonProcess libviz user=artlabo group=artlabo threads=5 python-home=/home/artlabo/www/libviz.artlabo.org/LibViz/venv python-pat$
WSGIScriptAlias / /home/artlabo/www/libviz.artlabo.org/LibViz/libviz.wsgi

<Directory /home/artlabo/www/libviz.artlabo.org/LibViz/>
        WSGIProcessGroup libviz
        WSGIApplicationGroup %{GLOBAL}
        Require all granted
        AllowOverride All
        #Order deny,allow
        #Allow from all
</Directory>

This configuration requires to install a Python “virtualenv” in /home/artlabo/www/libviz.artlabo.org/LibViz/venv.

Apache server should be reloaded after each code change.


START LIBVIZ (Flask)

LibViz uses Flask to work. With the above configuration, restarting apache will start Flask and so the LibViz app.


LICENCE Creative Commons License

LibViz is licensed under a Creative Commons Attribution 4.0 International License .

libviz's People

Contributors

b01xy avatar dxulian avatar julienparis avatar otetard avatar

Watchers

 avatar  avatar

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.