Mia! Accounting is an accounting module for Flask applications. It is designed both for mobile and desktop environments. It implements double-entry bookkeeping. It generates the following accounting reports:
In addition, Mia! Accounting tracks offsets for unpaid payables and receivables.
Live Demonstration and Test Site
There is a live demonstration for Mia! Accounting. It runs the same code as the test site in the source distribution. It is the simplest website that works with Mia! Accounting. It is also used in the automatic tests.
If you do not have a running Flask application or do not know how to start one, you may start with the test site.
Install Mia! Accounting with
pip install mia-accounting
You need a running Flask application with database user login. The primary key of the user data model must be integer. You also need at least one user.
You need to pass the Flask app and an implementation of
accounting.utils.user.UserUtilityInterface to the
contains everything Mia! Accounting needs.
See an example in An Example Configuration.
After the configuration, run the
command to initialize the accounting database. You need to specify
the username of a user as the data creator.
% flask --app myapp accounting-init-db -u username