Skip to main content

Python command-line tool for helping conceptualise how much money is left until payday

Project description

Money Per Day 'Til PayDay (mpd-tpd)

Python command-line tool for helping conceptualise how much money is left until payday

pip install mpd-tpd
mpd-tpd --next_payday '2024-07-31' \
  --money_remaining '2806.45' \
  --fixed_expenses '1269.00' \
  --currency_format '£x'

You have 9 days left (excluding today) until payday (Wednesday 2024-07-31).
You have £2,806.45 left to spend and £1,269.00 still to pay in fixed expenses before then.
This means that you have £1,537.45 = (£2,806.45 - £1,269.00) in total to spend until payday.
i.e. you can spend £170.83 per day until you will be paid again.
$ mpd-tpd --help

usage: mpd-tpd [-h] -p NEXT_PAYDAY -m MONEY_REMAINING [-f FIXED_EXPENSES] [-c CURRENCY_FORMAT] [-t]

    +-------------------------------------+
    | Money Per Day 'Til PayDay (mpd-tpd) |
    +-------------------------------------+
    Command-line tool for helping conceptualise how much money is left until payday

    Examples:
        $ mpd-tpd --next_payday '2024-07-24' --money_remaining 100

        # if you still intend to spend money today, then include flag '--include_today':
        $ mpd-tpd --next_payday '2024-07-24' --money_remaining 99.99 --include_today

        # if you have known bills which you want pre-removed before doing the calculation,
        #   use parameter '--fixed_expenses':
        $ mpd-tpd --next_payday '2024-08-01' --money_remaining 80000 --fixed_expenses 25000

        # if you want the numbers formatted with a specific currency, specify the format
        #   using parameter '--currency_format'
        $ mpd-tpd --next_payday '2024-07-24' --money_remaining 50 --currency_format '£x'
        $ mpd-tpd --next_payday '2024-07-24' --money_remaining 99999 --currency_format 'x GBP'

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

mpd_tpd-0.1.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

mpd_tpd-0.1.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file mpd_tpd-0.1.1.tar.gz.

File metadata

  • Download URL: mpd_tpd-0.1.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Darwin/23.5.0

File hashes

Hashes for mpd_tpd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0f33e2085450e4a42d7688bb42a089d046dbf74c1d318b6267cba622c7396e1a
MD5 49a054a52d65a7c8c48fdf67e49f589b
BLAKE2b-256 bab8454a87fa75465a35cdd163c8fc24e0a3e6b1c20a8a8d66c5b76b5d046d78

See more details on using hashes here.

File details

Details for the file mpd_tpd-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mpd_tpd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Darwin/23.5.0

File hashes

Hashes for mpd_tpd-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 903b487c252762af38d5eedc7ca355cf1445c819540768867d0d406d69ef10aa
MD5 01b0377f4ce80e3a1b31ba97c43208ea
BLAKE2b-256 5dc6d717e48a23d9d4bacd62a73522f2341a40af8d2d6b8cdbc22dd00b56932a

See more details on using hashes here.

Supported by

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