monopyly 1.4.3__tar.gz → 1.4.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {monopyly-1.4.3 → monopyly-1.4.5}/PKG-INFO +10 -9
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/__init__.py +2 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/_version.py +2 -2
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/auth/blueprint.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/auth/routes.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/auth/tools.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/accounts.py +2 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/actions.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/banks.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/blueprint.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/filters.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/forms.py +2 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/routes.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/banking/transactions.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/cli/apps.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/cli/run.py +2 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/forms/_forms.py +3 -2
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/forms/fields.py +10 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/forms/utils.py +2 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/forms/validators.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/transactions.py +2 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/utils.py +6 -3
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/config/default_settings.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/config/settings.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/core/actions.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/core/blueprint.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/core/context_processors.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/core/filters.py +3 -2
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/core/internal_transactions.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/core/routes.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/accounts.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/actions.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/blueprint.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/cards.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/forms.py +14 -6
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/routes.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/statements.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/transactions/__init__.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/credit/transactions/_transactions.py +1 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/database/__init__.py +2 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/database/models.py +14 -0
- monopyly-1.4.5/monopyly/static/jquery-3.7.0.min.js +2 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/account_summaries.html +1 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transactions_table/expanded_row_content.html +1 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/subtransactions.html +1 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/statement_summary.html +1 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transactions_table/condensed_row_content.html +1 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/index.html +1 -1
- {monopyly-1.4.3 → monopyly-1.4.5}/pyproject.toml +10 -8
- monopyly-1.4.3/monopyly/static/jquery-3.7.0.min.js +0 -3
- {monopyly-1.4.3 → monopyly-1.4.5}/.gitignore +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/COPYING +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/LICENSE +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/README.md +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/README.md +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/auth/actions.py +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/common/forms/__init__.py +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/config/__init__.py +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/database/preloads.sql +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/database/schema.sql +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/database/views.sql +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/css/style.css +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/browserconfig.xml +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-114.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-120.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-144.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-150.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-152.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-16.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-160.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-180.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-192.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-310.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-32.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-57.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-60.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-64.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-70.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-72.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-76.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon-96.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon.ico +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/favicon/favicon.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/bank-account-details.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/bank-account-summaries.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/bank-accounts.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/credit-account-details.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/credit-transactions.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/homepage-user.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/homepage.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/about/statement-details.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/cards/chase-card.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/cards/discover-card.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/cards/new-card.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/cards/template-card.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/arrow-down.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/arrow-left.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/arrow-up.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/checkmark.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/delete-orange-thick.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/delete-orange.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/delete-thick.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/delete.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/edit.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/link.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/minus-thick.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/minus.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/plus-thick.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/plus.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/refresh.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/save.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/sort-asc.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/sort-desc.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/statement-pair.svg +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/statement.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/statement.svg +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/icons/x-thick.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/img/statement.png +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/add-subtransaction.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/add-transfer.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/autocomplete-transaction.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/bind-tag-actions.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/create-balance-chart.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/define-filter.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/display-new-account-type-inputs.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/display-new-bank-inputs.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/display-new-credit-account-inputs.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/expand-bank-account.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/expand-bank.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/expand-transaction.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/flip-card.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/hide-homepage-block.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/infer-card.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/infer-statement.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/make-payment.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/ajax.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/autocomplete-input.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/expand-box-row.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/expand-transaction.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/manage-acquisition-form.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/manage-overlays.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/manage-subforms.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/update-database-widget.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/modules/update-display-ajax.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/show-linked-transaction.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/update-account-statement-parameters.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/update-bank-name.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/update-card-status.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/update-statement-parameters.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/update-statements-display.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/static/js/update-transactions-display.js +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/auth/login.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/auth/register.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/account_form/account_form.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/account_form/account_form_page_new.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/account_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/account_summaries_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/account_summary.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/accounts_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transaction_form/bank_info_form.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transaction_form/transaction_form.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transaction_form/transaction_form_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transaction_form/transaction_form_page_new.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transaction_form/transaction_form_page_update.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transaction_form/transfer_form.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transactions_table/condensed_row_content.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transactions_table/transaction_field_titles.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/banking/transactions_table/transactions.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/form_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transaction_form/subform.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transaction_form/subtransaction_subform.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transaction_form/transaction_form_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/linked_bank_transaction.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/linked_credit_transaction.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/linked_transaction_overlay.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/transaction_condensed.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/transaction_expanded.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/common/transactions_table/transactions.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/account_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/card_form/card_form.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/card_form/card_form_page_new.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/card_form/transfer_statement_inquiry.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/card_graphic/card_back.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/card_graphic/card_front.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/card_submission_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/cards.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/cards_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/statement_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/statements.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/statements_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/tag_tree/subtag_tree.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/tag_tree/tag_tree.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/tags_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transaction_form/transaction_form.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transaction_form/transaction_form_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transaction_form/transaction_form_page_new.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transaction_form/transaction_form_page_update.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transaction_submission_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transactions_page.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transactions_table/expanded_row_content.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transactions_table/transaction_field_titles.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credit/transactions_table/transactions.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/credits.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/layout.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/profile.html +0 -0
- {monopyly-1.4.3 → monopyly-1.4.5}/monopyly/templates/story.html +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: monopyly
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.5
|
|
4
4
|
Summary: A homemade personal finance manager.
|
|
5
5
|
Project-URL: Download, https://pypi.org/project/monopyly
|
|
6
6
|
Project-URL: Homepage, http://monopyly.com
|
|
@@ -23,14 +23,15 @@ Classifier: Topic :: Office/Business :: Financial
|
|
|
23
23
|
Classifier: Topic :: Office/Business :: Financial :: Accounting
|
|
24
24
|
Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
|
|
25
25
|
Requires-Python: <3.11,>=3.10
|
|
26
|
-
Requires-Dist: authanor
|
|
27
|
-
Requires-Dist: flask-wtf
|
|
28
|
-
Requires-Dist: flask
|
|
29
|
-
Requires-Dist: fuisce
|
|
30
|
-
Requires-Dist: gunicorn
|
|
31
|
-
Requires-Dist: markdown
|
|
32
|
-
Requires-Dist: python-dateutil
|
|
33
|
-
Requires-Dist:
|
|
26
|
+
Requires-Dist: authanor==1.1.0
|
|
27
|
+
Requires-Dist: flask-wtf==1.2.1
|
|
28
|
+
Requires-Dist: flask==3.0.2
|
|
29
|
+
Requires-Dist: fuisce==1.0.2
|
|
30
|
+
Requires-Dist: gunicorn==21.2.0
|
|
31
|
+
Requires-Dist: markdown==3.6
|
|
32
|
+
Requires-Dist: python-dateutil==2.9.0
|
|
33
|
+
Requires-Dist: rich==13.7.1
|
|
34
|
+
Requires-Dist: sqlalchemy==2.0.29
|
|
34
35
|
Description-Content-Type: text/markdown
|
|
35
36
|
|
|
36
37
|
<div id="header">
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Run a development server for the Monopyly app.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from flask import Flask
|
|
5
6
|
|
|
6
7
|
from monopyly.config import DevelopmentConfig, ProductionConfig
|
|
@@ -38,7 +39,7 @@ def register_blueprints(app):
|
|
|
38
39
|
"""
|
|
39
40
|
Register blueprints with the app.
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
Notes
|
|
42
43
|
-----
|
|
43
44
|
Blueprints are imported in this function to avoid loading modules
|
|
44
45
|
that require database models before those models have been set up
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Tools for interacting with bank accounts in the database.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sqlalchemy.sql.functions as sql_func
|
|
5
6
|
from authanor.database.handler import DatabaseViewHandler
|
|
6
7
|
from werkzeug.exceptions import abort
|
|
@@ -57,7 +58,7 @@ class BankAccountTypeHandler(
|
|
|
57
58
|
query = query.join(BankAccount).join(Bank).distinct()
|
|
58
59
|
# Get only types for the specified bank
|
|
59
60
|
query = query.where(Bank.id == bank_id)
|
|
60
|
-
account_types = cls._db.session.
|
|
61
|
+
account_types = cls._db.session.scalars(query)
|
|
61
62
|
return account_types
|
|
62
63
|
|
|
63
64
|
@classmethod
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Generate banking forms for the user to complete.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from wtforms.fields import BooleanField, FieldList, FormField, StringField, SubmitField
|
|
5
6
|
from wtforms.validators import DataRequired, Optional
|
|
6
7
|
|
|
@@ -162,7 +163,7 @@ class BankTransactionForm(TransactionForm):
|
|
|
162
163
|
last_four_digits = LastFourDigitsField(
|
|
163
164
|
"Last Four Digits", validators=[DataRequired()]
|
|
164
165
|
)
|
|
165
|
-
type_name = StringField("
|
|
166
|
+
type_name = StringField("Account Type", validators=[DataRequired()])
|
|
166
167
|
|
|
167
168
|
def get_account(self):
|
|
168
169
|
"""Get the bank account described by the form data."""
|
|
@@ -75,6 +75,8 @@ class Launcher:
|
|
|
75
75
|
|
|
76
76
|
def __init__(self, mode, host=None, port=None):
|
|
77
77
|
app_type = self._application_types[mode]
|
|
78
|
+
if mode == "development":
|
|
79
|
+
self.command = self.command + ["--debug"]
|
|
78
80
|
self.host = host if host else "127.0.0.1"
|
|
79
81
|
self.port = port if port else app_type.default_port
|
|
80
82
|
self.app = app_type(host=self.host, port=self.port)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
General form constructions.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from abc import ABC, abstractmethod
|
|
5
6
|
|
|
6
7
|
from flask_wtf import FlaskForm
|
|
@@ -33,8 +34,8 @@ class EntryForm(FlaskForm, metaclass=AbstractEntryFormMixinMeta):
|
|
|
33
34
|
"""
|
|
34
35
|
Generate a duplicate prepopulated form.
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
Notes
|
|
38
|
+
-----
|
|
38
39
|
WTForms requires that a form be instantiated in order to be
|
|
39
40
|
able to properly introspect fields. Because of this, this method
|
|
40
41
|
will only return a duplicate form matching the type of the
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
General form constructions.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from abc import ABC, abstractmethod
|
|
5
6
|
|
|
6
7
|
from flask_wtf import FlaskForm
|
|
@@ -25,6 +26,15 @@ class DateField(wtforms_fields.DateField):
|
|
|
25
26
|
super().__init__(*args, filters=filters, **kwargs)
|
|
26
27
|
|
|
27
28
|
|
|
29
|
+
class OptionalDateField(DateField):
|
|
30
|
+
"""A date field where the field value is optional."""
|
|
31
|
+
|
|
32
|
+
def process_formdata(self, valuelist):
|
|
33
|
+
"""Process data from the form, ignoring an ommitted value."""
|
|
34
|
+
if valuelist != [""]:
|
|
35
|
+
super().process_formdata(valuelist)
|
|
36
|
+
|
|
37
|
+
|
|
28
38
|
class CurrencyField(wtforms_fields.DecimalField):
|
|
29
39
|
"""A decimal field with currency-specific customizations."""
|
|
30
40
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
General utility objects for handling forms.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from functools import wraps
|
|
5
6
|
|
|
6
7
|
from flask import current_app, flash
|
|
@@ -73,7 +74,7 @@ class Autocompleter:
|
|
|
73
74
|
"""Get autocomplete suggestions for a field."""
|
|
74
75
|
# Get information from the database to use for autocompletion
|
|
75
76
|
query = model.select_for_user(getattr(model, field))
|
|
76
|
-
values = current_app.db.session.
|
|
77
|
+
values = current_app.db.session.scalars(query)
|
|
77
78
|
suggestions = sort_by_frequency([value for value in values])
|
|
78
79
|
return suggestions
|
|
79
80
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Tools for building a common transaction interface.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from abc import abstractmethod
|
|
5
6
|
|
|
6
7
|
from authanor.database.handler import DatabaseHandler, DatabaseViewHandler
|
|
@@ -248,7 +249,7 @@ class TransactionTagHandler(DatabaseHandler, model=TransactionTag):
|
|
|
248
249
|
# Filter the query to get only subtags of the given tag
|
|
249
250
|
parent_id = tag.id if tag else None
|
|
250
251
|
query = query.where(cls.model.parent_id == parent_id)
|
|
251
|
-
subtags = cls._db.session.
|
|
252
|
+
subtags = cls._db.session.scalars(query)
|
|
252
253
|
return subtags
|
|
253
254
|
|
|
254
255
|
@classmethod
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"""
|
|
2
2
|
General utility objects.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import datetime
|
|
5
6
|
from collections import Counter
|
|
7
|
+
from datetime import timezone
|
|
6
8
|
|
|
7
9
|
from dateutil.relativedelta import relativedelta
|
|
8
10
|
|
|
@@ -109,7 +111,7 @@ class _DateParser:
|
|
|
109
111
|
|
|
110
112
|
def convert_date_to_midnight_timestamp(date, milliseconds=False):
|
|
111
113
|
"""
|
|
112
|
-
Convert a date to the corresponding Unix timestamp (at midnight).
|
|
114
|
+
Convert a date to the corresponding Unix timestamp (at midnight UTC).
|
|
113
115
|
|
|
114
116
|
Parameters
|
|
115
117
|
----------
|
|
@@ -123,10 +125,11 @@ def convert_date_to_midnight_timestamp(date, milliseconds=False):
|
|
|
123
125
|
Returns
|
|
124
126
|
-------
|
|
125
127
|
timestamp : int
|
|
126
|
-
The timestamp corresponding to the given date (at midnight).
|
|
128
|
+
The timestamp corresponding to the given date (at midnight UTC).
|
|
127
129
|
"""
|
|
128
130
|
midnight = datetime.datetime.min.time()
|
|
129
|
-
|
|
131
|
+
utc_datetime = datetime.datetime.combine(date, midnight, tzinfo=timezone.utc)
|
|
132
|
+
timestamp = int(utc_datetime.timestamp())
|
|
130
133
|
if milliseconds:
|
|
131
134
|
timestamp *= 1000
|
|
132
135
|
return timestamp
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Filters defined for the application.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from .blueprint import bp
|
|
5
6
|
|
|
6
7
|
|
|
@@ -29,8 +30,8 @@ def make_ordinal(integer):
|
|
|
29
30
|
- 21 => 21st
|
|
30
31
|
- 101 => 101st
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
Notes
|
|
34
|
+
-----
|
|
34
35
|
This function is an adaptation of the one proposed by Stack Overflow user
|
|
35
36
|
Florian Brucker (https://stackoverflow.com/a/50992575/8754471).
|
|
36
37
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Generate credit card forms for the user to complete.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
from werkzeug.exceptions import abort
|
|
5
6
|
from wtforms.fields import (
|
|
6
7
|
BooleanField,
|
|
@@ -18,8 +19,8 @@ from ..banking.forms import BankSelectField, BankSubform
|
|
|
18
19
|
from ..common.forms import AcquisitionSubform, EntryForm, EntrySubform, TransactionForm
|
|
19
20
|
from ..common.forms.fields import (
|
|
20
21
|
CustomChoiceSelectField,
|
|
21
|
-
DateField,
|
|
22
22
|
LastFourDigitsField,
|
|
23
|
+
OptionalDateField,
|
|
23
24
|
StringField,
|
|
24
25
|
)
|
|
25
26
|
from ..common.forms.utils import Autocompleter
|
|
@@ -69,13 +70,20 @@ class CreditCardForm(EntryForm):
|
|
|
69
70
|
statement_issue_day = IntegerField("Statement Issue Day", [Optional()])
|
|
70
71
|
statement_due_day = IntegerField("Statement Due Day", [Optional()])
|
|
71
72
|
|
|
72
|
-
def validate(self,
|
|
73
|
-
"""
|
|
74
|
-
|
|
73
|
+
def validate(self, extra_validators=None):
|
|
74
|
+
"""
|
|
75
|
+
Validate the subform.
|
|
76
|
+
|
|
77
|
+
Notes
|
|
78
|
+
-----
|
|
79
|
+
Unset values on the ``CustomChoiceSelectField`` will take a
|
|
80
|
+
default value that will be considered to be invalid. They
|
|
81
|
+
must be replaced (after processing) with the inferred value.
|
|
82
|
+
"""
|
|
75
83
|
if self.bank_info.bank_id.data == -1:
|
|
76
84
|
account = self.get_account()
|
|
77
85
|
self.bank_info.bank_id.data = account.bank.id
|
|
78
|
-
return super().validate(
|
|
86
|
+
return super().validate(extra_validators=extra_validators)
|
|
79
87
|
|
|
80
88
|
def get_account(self):
|
|
81
89
|
return self._produce_entry_from_field("account_id")
|
|
@@ -185,7 +193,7 @@ class CreditTransactionForm(TransactionForm):
|
|
|
185
193
|
# Fields to identify the card/bank information for the statement
|
|
186
194
|
card_info = FormField(CardSubform)
|
|
187
195
|
# Fields pertaining to the statement
|
|
188
|
-
issue_date =
|
|
196
|
+
issue_date = OptionalDateField("Statement Date")
|
|
189
197
|
|
|
190
198
|
def get_statement(self, transaction_date):
|
|
191
199
|
"""Get the credit card statement described by the form data."""
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Expose commonly used database functionality to the rest of the package.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sqlite3
|
|
5
6
|
from pathlib import Path
|
|
6
7
|
|
|
@@ -49,7 +50,7 @@ class SQLAlchemy(_SQLAlchemy):
|
|
|
49
50
|
super().initialize(app)
|
|
50
51
|
|
|
51
52
|
|
|
52
|
-
SQLAlchemy.create_default_interface()
|
|
53
|
+
SQLAlchemy.create_default_interface(echo_engine=False)
|
|
53
54
|
|
|
54
55
|
|
|
55
56
|
@click.command("init-db")
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from authanor.database.models import AuthorizedAccessMixin, Model
|
|
2
2
|
from sqlalchemy import Column, Date, Float, ForeignKey, Integer, String, Table
|
|
3
|
+
from sqlalchemy.ext.hybrid import hybrid_property
|
|
3
4
|
from sqlalchemy.orm import mapped_column, relationship
|
|
4
5
|
|
|
5
6
|
|
|
@@ -72,6 +73,8 @@ class TransactionTag(AuthorizedAccessMixin, Model):
|
|
|
72
73
|
parent_id = mapped_column(Integer, ForeignKey("transaction_tags.id"))
|
|
73
74
|
tag_name = mapped_column(String, nullable=False)
|
|
74
75
|
# Relationships
|
|
76
|
+
parent = relationship("TransactionTag", back_populates="children", remote_side=[id])
|
|
77
|
+
children = relationship("TransactionTag", back_populates="parent")
|
|
75
78
|
bank_subtransactions = relationship(
|
|
76
79
|
"BankSubtransaction",
|
|
77
80
|
secondary=bank_tag_link_table,
|
|
@@ -83,6 +86,13 @@ class TransactionTag(AuthorizedAccessMixin, Model):
|
|
|
83
86
|
back_populates="tags",
|
|
84
87
|
)
|
|
85
88
|
|
|
89
|
+
@property
|
|
90
|
+
def depth(self):
|
|
91
|
+
tag, depth = self, 0
|
|
92
|
+
while (tag := tag.parent) is not None:
|
|
93
|
+
depth += 1
|
|
94
|
+
return depth
|
|
95
|
+
|
|
86
96
|
|
|
87
97
|
class Bank(AuthorizedAccessMixin, Model):
|
|
88
98
|
__tablename__ = "banks"
|
|
@@ -256,6 +266,7 @@ class BankTransactionView(AuthorizedAccessMixin, Model):
|
|
|
256
266
|
subtransactions = relationship(
|
|
257
267
|
"BankSubtransaction",
|
|
258
268
|
back_populates="transaction",
|
|
269
|
+
lazy="selectin",
|
|
259
270
|
)
|
|
260
271
|
|
|
261
272
|
|
|
@@ -281,6 +292,7 @@ class BankSubtransaction(AuthorizedAccessMixin, Model):
|
|
|
281
292
|
"TransactionTag",
|
|
282
293
|
secondary=bank_tag_link_table,
|
|
283
294
|
back_populates="bank_subtransactions",
|
|
295
|
+
lazy="selectin",
|
|
284
296
|
)
|
|
285
297
|
|
|
286
298
|
|
|
@@ -429,6 +441,7 @@ class CreditTransactionView(AuthorizedAccessMixin, Model):
|
|
|
429
441
|
subtransactions = relationship(
|
|
430
442
|
"CreditSubtransaction",
|
|
431
443
|
back_populates="transaction",
|
|
444
|
+
lazy="selectin",
|
|
432
445
|
)
|
|
433
446
|
|
|
434
447
|
|
|
@@ -460,4 +473,5 @@ class CreditSubtransaction(AuthorizedAccessMixin, Model):
|
|
|
460
473
|
"TransactionTag",
|
|
461
474
|
secondary=credit_tag_link_table,
|
|
462
475
|
back_populates="credit_subtransactions",
|
|
476
|
+
lazy="selectin",
|
|
463
477
|
)
|