Skip to main content

A Python package to create simple household budgets.

Project description

Unit test run

MyBudgeter Python Package (Data-533-Group-16-project)

A Python package to create simple household budgets.

Description

mybudgeter is a Python package that allows users to set and check budgets for a number of spending categories they choose. Users will be able to add, modify, and delete individual transactions, categorize their spending and set a budget for each category. If a user's spending is over their set budget, the program will alarm the user. The program will allow users to create a brand new SQLite database to store their spending and budget data if it's the first time using the program or import the data from a SQLite database if it's previously created. Users will also have the option to perform basic budget calculations, read or visualize simple budget summary, and visualize spending vs. budget trends.

Getting Started

Installing

  • pip install mybudgeter

Executing program

  • import user interface from the library
from mybudgeter.utilities.users import User
  • initialize user with new databases
user = User()
  • initialize user with previous databases
user = User(budget = 'path/to/budgeting.db', transactions = 'path/to/transactions.db')
  • add/modify/delete transactions
transaction_id = user.transactions.add_transaction(category, amount, date, name)
user.transactions.modify_transaction(transaction_id, field, value)
user.transactions.delete_transaction(transaction_id)
  • add/modify/delete budget categories
user.budget.add_category(category, limit, date)
user.budget.modify_category(category, limit, month, year)
user.budget.delete_categroy(category, month, year)
  • get total spend/budget
user.total(type, categories, months, years)
  • get average spending/budget
user.average(type, categories, months, years)
  • get remaining budget
user.remaining_budget(categories, months, years)
  • get highest/lowest spending
user.highest_spending(calculate_category)
user.lowest_spending(calculate_category)
  • get budget/spending summary
user.summary()
  • get budget/spending pie/line charts
user.pie_chart(type)
user.line_chart(type)

Authors

  • Kyle Deng
  • Jacob Rosen

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE.md file for details

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

mybudgeter-0.0.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

mybudgeter-0.0.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file mybudgeter-0.0.2.tar.gz.

File metadata

  • Download URL: mybudgeter-0.0.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for mybudgeter-0.0.2.tar.gz
Algorithm Hash digest
SHA256 78efcee57930c913db87dcde5803281df334f90742d54cfb87e288c450c536b2
MD5 85292328114e1f4ec0cf7d974ea8f9dd
BLAKE2b-256 b1ec3032b7e0650db64f5005ea9095e7c23752d8e6b6e46d9155d80270fd3231

See more details on using hashes here.

File details

Details for the file mybudgeter-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mybudgeter-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for mybudgeter-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e6816c96babc7a0ea9eef7907fb65f3f049a1d1dde40a4a23967c992bb1897a4
MD5 148bbb1820a73e57261d933da3c140ad
BLAKE2b-256 b5c39258f0cf01d24efe53f85b107dfed394dedce1082ed23ca78c334920d700

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