Coder Social home page Coder Social logo

regardscitoyens / banque Goto Github PK

View Code? Open in Web Editor NEW
7.0 13.0 1.0 991 KB

Comptes publics de l'association Regards Citoyens

Home Page: https://regardscitoyens.github.io/banque/www/

License: GNU Affero General Public License v3.0

Shell 1.28% Python 0.78% HTML 1.25% CSS 11.78% JavaScript 84.91%

banque's Introduction

Comptes détaillés de Regards Citoyens

Ce dépot publie les comptes détaillés de l'association Regards Citoyens à partir de son relevé bancaire permanent et de son compte Paypal.

Le fichier history.csv permet de connaitre les différentes opérations ayant été effectuées sur le compte depuis le 29 avril 2015. Le fichier list.csv contient le solde du compte.

L'export est réalisé grace aux plugins creditmutuel et paypal de weboob et à csvkit. Les informations sont mises à jour toutes les heures.

Interface de visualisation

Visualisation des comptes

Visualiser les données financières de l'association.

Installation

# install dependencies
sudo apt-get -q install git python-pip spidermonkey-bin
sudo pip install -q virtualenv virtualenvwrapper
# run installer
bin/install.sh

Exécution (attention autocommit)

bin/update_data.sh

Install in crontab for autoupdates

To run automatically every hour for instance, add a line like this to your crontabs where $INSTALLPATH is the current repository:

00 * * * * $INSTALLPATH/bin/update_data.sh

If your server uses Python2.6, you're likely to have issues with PayPal executing javascript which Python implementation is not 2.6-compatible. A fallback workaround is to install nodeJs, locate it (which node for instance) and add its PATH to the PATH used within crontabs as suchi (e.g. if node is installed in /usr/bin):

00 * * * * PATH=$PATH:/usr/bin $INSTALLPATH/bin/update_data.sh

Développement

  • Exécution sans autocommit
bin/update_data.sh nocommit
  • Utiliser les outils weboob

Weboob est installé dans le virtualenv boobankRC. Il faut donc l'activer:

# sourcing config.inc should do the trick
source config.inc
# ou avec virtualenvwrapper
source /usr/local/bin/virtualenvwrapper.sh
workon boobankRC
# Autrement d'ordinaire les envs sont installés dans $HOME/.virtualenvs
~/.virtualenvs/boobankRC/bin/activate

Reset bank account logins

source config.inc
weboob-config add creditmutuel
weboob-config add paypal

Désinstallation

bin/uninstall.sh

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.