Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

pyhacc personal accounting

Project Description


You will need python (2.6 and 2.7 are tested), qtalchemy, sqlalchemy (0.7x preferred), a python database driver, and PyQt4 or PySide. Refer to for a more complete list of dependencies.

It should be noted that while PyHacc is a fully functional system which is in production use for the author’s personal use, it is primarily a demonstration and example of qtalchemy.

As of qtalchemy version 0.8.x, PyHacc uses PySide. To use PyQt4 instead of PySide, you must install from the source in the bitbucket repository. Install in the following way:

python --platform=PyQt4
python build
sudo python install

If using PyQt4, the qtalchemy library will also need to be switched to using PyQt4 in a similar way.

Getting Started

On linux, it should be sufficient to run:

python build
sudo python install
pyhaccgui --conn=sqlite://

The sqlite:// connection string will start pyhacc with a demo database.

It is recommended and most tested to use pyhacc with postgresql. To initialize a database:

createdb pyhacc
pyhacc initdb postgresql://username:password@localhost/pyhacc
# to run pyhacc connected to this database:
pyhaccgui --conn=postgresql://username:password@localhost/pyhacc

Getting Started on Windows

Roughly speaking, the install proceeds as follows:

  • Install python and easy_install
  • Install PyQt (or PySide, if desired).
  • easy_install sqlalchemy
  • easy_install pyscopg2 # for postgresql support
  • easy_install pyhacc

On your postgresql server, run the following command:

createdb pyhacc

Initialize the data-set with the following command on the windows client:

c:\python27\python.exe c:\python27\scripts\pyhacc initdb postgresql://username:password@server/pyhacc

Create a windows short-cut with the following target for starting the program:

c:\python27\pythonw.exe c:\python27\scripts\pyhaccgui --conn=postgresql://username:password@server/pyhacc



  • Python 3 support
  • Transaction reverse & auto-balance with hot-keys
  • Report improvements particularly in profit & loss reports.
  • Additional calendar navigation features from qtviews.


  • reports: balance sheet and profit & loss formatting with sorting and grouping flexibility
  • reports: html export
  • experimental flask http server code for viewing of reports
  • switch to using PySide rather than PyQt4
  • primitive calendar view for transactions (personally, I love it!)
  • transaction tagging gui


  • report changes with column width being propogated from on-screen lists to pdf versions
  • factor out basic report code to qtalchemy
  • bug fixes

0.6: First pleasantly usable version in production

Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyHacc-0.9.0-py2.7.egg (115.9 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jan 16, 2015
PyHacc-0.9.0.tar.gz (42.8 kB) Copy SHA256 Checksum SHA256 Source Jan 16, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting