Skip to main content

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

Metadata

Release files for finance-tracker 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finance-tracker 1.3.0
File Size Uploaded
finance_tracker-1.3.0.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for finance-tracker 1.3.0
File Interpreter ABI Platform
finance_tracker-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.2 kB

Release files / finance_tracker-1.3.0.tar.gz

Download URL finance_tracker-1.3.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2bfa606da8271df167e57d513fda4ff80e34cd86b05db3cbbb42d5c94924d741
BLAKE2b-256 checksum
How to use checksums
a7024f4a479708020f95ffa037f64b8af274181240732154e87c78b32033ca20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / finance_tracker-1.3.0-py3-none-any.whl

Download URL finance_tracker-1.3.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d89bd0732b3eafa682a5fb361b4f1a3af4c92d7efe933dbcaf541bf187e0add
BLAKE2b-256 checksum
How to use checksums
b25924ec3cecae1363cacd7ba95bdc862613b5c26772763237bdbe409f852fa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page