Giter Site home page Giter Site logo

accregex's People

Stargazers

 avatar

Watchers

 avatar  avatar

accregex's Issues

Check that GnuCash is not running

Python scripts should not run while GnuCash is open. According to the docs:

"Python-scripts should not be executed while GnuCash runs. GnuCash is designed as a single user application with only one program accessing the data at one time. You can force your access but that may corrupt data. Maybe one day that may change but for the moment there is no active development on that."

Document JSON backslash escaping

  • write test cases for json files using backslashes in regex patterns (\s+, etc.)
  • make it clear in the readme that backslashes in regex patterns have to be escaped as double backslashes (\s+ -> \s+)

Handle compression

For reasons unknown java's GZipInputStream can't handle Gnucash's gzipped files. Apache Commons doesn't fare any better but gzip (the unix executable) works fine.
As a temporary workaround manually gunzip then gzip your Gnucash files before and after processing.
If this continues being an issue Accregex could look for the gzip executable and call that.

Make start date optional

(Possible feature)
Make the start date flag optional, implying that all Undefined transactions should be reviewed.
Should the user be prompted before continuing? Pros: shouldn't allow the user to shoot themselves in the foot by making huge chances by accident. Cons: we'll make a backup file anyways (unless they pass the flag to edit inplace...)

Print Statistics

Add a --stats flag to print stats on the actions taken (% transactions moved to which account, etc)
Verbose should imply --stats

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.