Skip to main content

Python tool to track finances over a year

Project description

finance-tracker

Python tool to track finances over a year

PyPI GitHub release (latest by date) PyPI - Python Version CI PyLint GitHub last commit PyPi downloads Downloads

Installation

PyPi package

pip install finance-tracker

Usage

From repository

  1. Clone the repo
  2. Install poetry
  3. Run make install
  4. Set up the data as explained here
  5. Run make run and enjoy!

From package installation

  1. Follow the steps in Installation
  2. Set up the data as explained here
  3. Import it and use it in your project like this:
    from finance_tracker.__main__ import run
    
    if __name__ == "__main__":
        run()
    

Setting up the data

  1. Load the categories and categories to filter as incomes wanted in a file called categories.json in ./load/categories/. Such as:

    {
      "CATEGORIES": {
        "CATEGORY_ONE": [
          "TITLE TO CATEGORIZE"
        ],
        "CATEGORY_TWO": [
          "TITLE 2 TO CATEGORIZE"
        ]
      },
      "POSITIVE_CATEGORIES": [
        "CATEGORY_TWO"
      ]
    }
    
  2. Load your CSV files according to your bank under ./load/entries_files/{bank} according to your bank. See Banks Supported.

  3. Load any other CSV files in the folder ./load/entries_files/. By default, those files will have this format:

    HEADER1;;;;;
    HEADER2;;;;;
    DATE;DATE TWO;TITLE;OTHER DATA;QUANTITY;OTHER
    01/01/1999;01/01/1999;PAYCHECK;PAYCHECK FROM COMPANY 1;1.000;1.000
    

Banks supported

Any other bank needs to be implemented or follow the current default CSV

  • Revolut

Contributing

Pull requests are welcome. Issues are welcome too.

Please make sure to update tests as appropriate.

License

MIT

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

finance_tracker-1.3.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

finance_tracker-1.3.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file finance_tracker-1.3.0.tar.gz.

File metadata

  • Download URL: finance_tracker-1.3.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for finance_tracker-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2bfa606da8271df167e57d513fda4ff80e34cd86b05db3cbbb42d5c94924d741
MD5 74ee61810ea131ef971ca192d8f68bb6
BLAKE2b-256 a7024f4a479708020f95ffa037f64b8af274181240732154e87c78b32033ca20

See more details on using hashes here.

File details

Details for the file finance_tracker-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for finance_tracker-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d89bd0732b3eafa682a5fb361b4f1a3af4c92d7efe933dbcaf541bf187e0add
MD5 fbb9b6992951adb5a2962b21d775df68
BLAKE2b-256 b25924ec3cecae1363cacd7ba95bdc862613b5c26772763237bdbe409f852fa1

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