A homemade personal finance manager.
Project description
Monopyly
The Money Game
This is a package designed to help manage personal finances. The current functionality is fairly limited, with only the ability to track bank account and credit card history. Eventually the app will provide a full set of features including purchase history, investment profiles, and budgeting.
The app is designed to be run at a small scale. Information is stored in a local SQLite database and accessed using a frontend served by Flask. While the development version is hosted on the builtin Flask server, a more robust solution will be adopted if the app moves online. Despite its small scale, the app can support multiple users on any given instance.
Installation
The Monopyly app is registered on the Python Package Index (PyPI) for easy installation. To install the app, simply run
$ pip install monopyly
The package requires a recent version of Python (3.10+).
Getting started
Once the package is properly installed, run the app in local mode from the command line (the default options should be sensible, but you may customize the host and port if necessary):
$ monopyly local --browser [--host HOST] [--port PORT]
Local mode indicates that the app is just going to be run using a locally hosted server, accessible to just your machine.
Other available modes are development
and production
, for those looking to either develop the application or host the application on a server.
Use your brain when choosing a mode!
If you intend to be the only user of the app, served just from your PC, local mode is fine; you will be served well-enough by the built-in Python server, and you do not need to configure secret keys for the application. If you plan to host the application, however, DO NOT use local mode (or development mode) and run the app in production mode instead.By using the --browser
option in development mode, this will open to an empty homepage with a welcome message.
To use the app, register a new profile and then log in using your newly created credentials. A successful login will return you to the homepage, now with several different feature panels.
Your username should now appear at the top right of the screen, and the 'Log In' button will be replaced with a 'Log Out' button.
Features
Bank Accounts
Monopyly provides an accounting system for a user's bank transactions. Banks can be added from the 'Manage accounts' page, where a user will be able to specify bank information including the bank and account type. While some account types are preloaded into the Monopyly database (such as checking accounts, savings accounts, and certificates of deposit) each user can add additional custom account types as they need them.
After you have created a bank account, either using a bank that already exists in the Monopyly system or with a new bank, the app will redirect you back to the 'Manage accounts' page.
Once at least one bank account has been added, you can head on back to the account homepage to view balances and add transactions. On the left side of the page, each bank will have a section in the 'Bank Accounts' box. By clicking the 'See account summaries' button, you will be transferred to a page showing all of the bank accounts at the given bank, as well as the account balances of each account.
Clicking on any of these accounts will pull up a detailed summary of that account—a page that is also accessible directly from the Monopyly homepage. This detailed summary will show the current balance, but also a comprehensive set of (recent) transactions on that account.
Transactions can be created from either this page or the homepage, specifying the bank account and all transaction details (date, amount, notes, etc.). Transactions can also be recorded as transfers between banks, such that they are automatically input into the database for both accounts.
Clicking the plus icon next to any listed transaction will bring up an expanded view of the transaction describing the transaction in more detail, as well as a set of buttons for editing the transaction or seeing any other transactions to which this transaction is linked.
Credit Card Accounts
Monopyly also provides tracking of credit card transactions. To use this feature, begin by navigating to the 'Manage cards' page (the link can be found under the 'Credit Cards' panel in the middle of the homepage). From there, the app will allow you to add credit cards and associate each with an account. If an account does not already exist for the card you are trying to add, a card can be added to a new account. This account will be associated with a specific bank, and will track all of the cards for that account (cards are ID'd by the last four digits of the credit card number). Additionally, each account must also be initialized with the date when the account issues statements and the date when those statements are due.
Following the addition of a new credit card, you will be redirected to a page displaying the account details, including all cards for that account.
Transactions can be added to each card using the 'Create a new transaction' links found on the 'Credit Cards' homepage panel. The link under the 'History' heading is a generic option that allows transactions to be created for any credit card in the system. If the card is already known, however, the 'Create a new transaction' links under the 'CARDS' section will prepopulate the transaction form to contain information for the desired card.
In either case, you will move to a page where you can enter credit card transaction information. The interface for adding a transaction provides some convenient automatic features. For example, if the form registers that you're inputting a transaction for a credit card account with only one active card, then the form will infer the card number to save you some typing. Likewise, given the date of the transaction and a known credit card, the form will infer the date of the statement to which the transaction belongs. (Of course, you may manually override this inferred statement date if you desire.)
From the transaction form, transactions can be classified using a heirarchical tagging system. When a transaction is tagged, the app automatically applies the tag to the transaction along with all parent tags of the selected tag. These tags can generally be seen and managed from the 'Manage transaction tags' link off the app homepage.
Since each transaction may consist of multiple components—each with it's own subtotal, notes, and tags—transactions can be split into subtransactions. Click the 'Add subtransaction' button on the transaction form to add a subtransaction.
Once the transaction information has been successfully entered and submitted, the transaction will appear on the full transaction history page.
Card balances are also visible by visiting the pages for individual statements. A full history of statements for each card is available off the homepage. Each statement's page gives the statement's balance, transactions, and due date.
Payments can be made directly from a statement's page and can be linked to a bank account in the Monopyly system for simplified tracking. (Note that even linked transactions must be edited independently, as there are times when a user may wish to have separate values for linked transactions. For example, a credit card payment may be processed on a given date while it is only registered as a bank account transaction several days later.)
License
This project is licensed under the GNU General Public License, Version 3. It is fully open-source, and while you are more than welcome to fork, add, modify, etc. it is required that you keep any distributed changes and additions open-source.
Changes
Changes between versions are tracked in the changelog.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file monopyly-1.5.0.tar.gz
.
File metadata
- Download URL: monopyly-1.5.0.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a2c031421e06fe77676d5d10363ae4280bc438905586e50a4c88a0de00d5b4 |
|
MD5 | 77ca8f5274f313e4b9ecc1b334ba755b |
|
BLAKE2b-256 | 5e8f956305a3f591f8aa2611926a23164c0a8cf1e167e4db141bb14fe6d93d86 |
File details
Details for the file monopyly-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: monopyly-1.5.0-py3-none-any.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 182c9e2543fd65799402b811fc542efa93926a6ed1f84f541590ef764a649bf2 |
|
MD5 | d5f805af25c001daa2f6eae44a5d52e4 |
|
BLAKE2b-256 | f082b048360543eb8ac4552ed3e41c57f4465a734e255a7211d74e24dae200d5 |