Skip to main content

BlueChips - finances for people with shared expenses

Project description

BlueChips is a simple finance tracking application designed for small groups of people with shared expenses. It was designed and developed by groups of students who got tired of the headaches of managing lots of little payments between roommates.

Example Scenario

  1. Larry lives with Curly and Moe.

  2. Larry gets the utility bill, and enters it as an expenditure on their BlueChips site. Everyone shares the utilities, so it’s just an even split.

  3. A week later, Moe pays the rent. Curly has a smaller room, so he pays a smaller fraction of the rent.

  4. At any time, any user can visit the BlueChips site and see who needs to pay who how much in order to settle the books.

  5. After a few months, Moe has paid for a disproportionate amount of stuff, so the other roommates each make a transfer to Moe, and enter the amounts in BlueChips.

Additional Features

  • Support for negative expenses

  • Uses any authentication mechanism which can set the REMOTE_USER environment variable, including authentication modules supported by Apache, nginx, lighttpd, and others.

  • Email notifications of changes (optional)

  • 100% test coverage

Installation and Setup

Install BlueChips using easy_install:

easy_install BlueChips

Make a config file as follows:

paster make-config BlueChips config.ini

Tweak the config file as appropriate and then setup the application:

paster setup-app config.ini

Host the application behind an authentication layer which sets REMOTE_USER.

Apache Configuration

The recommended deployment platform for BlueChips is Apache, mod_wsgi, and any Apache module which provides authentication. Here is an example vhost configuration:

<VirtualHost bluechips.example.com:80>
    ServerName bluechips.example.com

    WSGIScriptAlias / /var/www/bluechips.wsgi
    <Directory /var/www>
        Order deny,allow
        Allow from all
    </Directory>

    <Location />
        AuthType Basic
        AuthName "Example BlueChips Site"
        AuthUserFile /etc/apache2/passwords
        Require valid-user
    </Location>
</VirtualHost>

The bluechips.wsgi wrapper script looks just like:

from paste.deploy import loadapp
application = loadapp('config:/var/www/ssl/config.ini')

Acknowledgments

BlueChips is the latest in a long line of software to make managing group finances easier, and would not be possible without the intellectual inspiration of those predecessors.

CUTCAT’s accounting software started the trend of software-based accounting mechanisms. It inspired a re-implementation as a curses script by Nelson Elhage, which introduced the notion of “pushing expenditures” to simplify transfers. The algorithm used in BlueChips for settling the books is directly cargo-culted from Nelson’s implementation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BlueChips-1.0a2dev.tar.gz (40.4 kB view details)

Uploaded Source

File details

Details for the file BlueChips-1.0a2dev.tar.gz.

File metadata

File hashes

Hashes for BlueChips-1.0a2dev.tar.gz
Algorithm Hash digest
SHA256 57d521f1b884886c1f164ca5432491a1adae0c7f7c8361cefbedd4a26785bb85
MD5 9852b2df071050b20ad421a8f7d38d97
BLAKE2b-256 456757b4add4598d1b8fbe031266487b42500876be28585139ddd2bd67c3b4b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page