Code Monkey home page Code Monkey logo

extrack's Introduction

extrack - extracting information out of your expenses

extrack is a CLI written in Rust to easily parse and summarize bank transaction excel sheets. It can be used to find information related to your spending and earnings in total and by category, straight from your command line without having to send any data to a server.

Installation

Installation requires Rust with Cargo installed.

git clone https://github.com/vifraa/extrack.git
cd extrack
cargo build --release

Usage

The most basic usage is by entering the path to the excel sheet as an input argument. For example:

extrack <path_to_input_file>

This will output the result straight to the command line. To save the result in a file you can either direct the result from the above command or give a path to where the output will be saved.

# Redirect the output to a file
extrack <path_to_input_file> > result.csv
# Use output argument
extrack <path_to_input_file> --output result.csv

For more information regarding available input arguments and flags please use extrack --help.

License

Copyright (c) 2021-present Viktor Franzén

Licensed under GNU General Public License v3.0

extrack's People

Contributors

vifraa avatar

Watchers

 avatar  avatar

extrack's Issues

Sorted output rows

The rows of the output should be sorted according to the date of the row in a descending fashion.
This means that the output now will go from oldest to newest instead of having them in random order as it is now.

Allow parsing transactions for more than current month

Right now the application considers all transaction entries to be of the same month (basically the date field is ignored). Instead we should use the date field to group the transactions depending on what time range they want. This lets the users for example create one large excel that contains all of the transactions for a year and conveniently generate summaries for each month, but also to generate one large for the entire year, without having to sum that from each row of the resulting csv.

Should probably be a optional input argument. Default to month. Available time ranges:

  • Year
  • Month
  • Week
  • Day (?)

Sort the output columns alphabetically

Currently the output columns are a bit random, should sort them alphabetically so that we get the same order of columns when we run it multiple times.

Write the github readme

Write the README of the project and fix the github page.

Should contain:

  • What does the project do
  • Examples on how to use it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.