PyHacc is a double entry accounting system for personal use. It aims to emphasize data accessibility, account management, command-line automation, and clean use of the PyQt library. PyHacc builds on the general notions found in QHacc (http://qhacc.sourceforge.net/), but is not intended to be a direct clone.
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 -- http://qtalchemy.org .
PyHacc can be run on both PyQt4 and PySide. In the root of the mercurial repository, run the script qtbindings to switch between the two. The source comes set up for PyQt4, but you can switch to PySide with:
python qtbindings.py --platform=PySide
python setup.py build
sudo python setup.py install
If using PySide, the qtalchemy library will also need to be switched to using PySide in a similar way.
Getting Started
On linux, it should be sufficient to run:
python setup.py build
sudo python setup.py 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
What is new in this release:
- report changes with column width being propogated from on-screen lists to pdf versions
- factor out basic report code to qtalchemy
- bug fixes
Requirements:
- Python
- QtAlchemy
- SQLAlchemy
- a Python database driver
- PyQt
- PySide
Comments not found