Skip to main content

pyhacc personal accounting

Project description

Pre-requisites

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 setup.py 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 – 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

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

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

PyHacc-0.6.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyHacc-0.6-py2.6.egg (85.6 kB view details)

Uploaded Egg

File details

Details for the file PyHacc-0.6.tar.gz.

File metadata

  • Download URL: PyHacc-0.6.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyHacc-0.6.tar.gz
Algorithm Hash digest
SHA256 33d549e3e46668f9ce381288dcf8f3be7fb654f5c1c1d6188b31578a36da8f91
MD5 1fd35d710bb52d4ac9bd3fd3be05105b
BLAKE2b-256 53ae1c70118536de3f5bcb3b9f741db76e9d9cd5c60115b782dfbcc252f7905c

See more details on using hashes here.

File details

Details for the file PyHacc-0.6-py2.6.egg.

File metadata

  • Download URL: PyHacc-0.6-py2.6.egg
  • Upload date:
  • Size: 85.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyHacc-0.6-py2.6.egg
Algorithm Hash digest
SHA256 e1f4e6248af57d6598cd2e0f63efc4d0aca86bc131f691f7d18a461e2f3a53c9
MD5 50fafdd2b4f31b138159d7690d02934f
BLAKE2b-256 800420eb41e1923f5b9e2c341428ce20accda3c17d8aec7548f100badd98dfed

See more details on using hashes here.

Supported by

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