Hi beancounters,

I've written yet another formatter for beancount, autobean-format 
<https://github.com/SEIAROTg/autobean-format>, powered by my earlier 
project autobean-refactor <https://github.com/SEIAROTg/autobean-refactor>, 
a library for parsing and programmatically manipulating beancount files.

Highlights:

   - Deep cleanup
      - Unlike bean-format which is regex-based, autobean-format is based 
      on a proper parser, allowing it to format every corner of your ledger, 
      including *arithmetic expressions*.
   - Recursive formatting
      - Optionally formats all included files.
      - Honors glob include.
   - Sort entries
      - Optionally sorts dated entries.
      - Honors "time" meta (HH:MM, HH:MM:SS, epoch seconds, epoch ms, epoch 
      us).
      - Honors pushtag / pushmeta.
      - Preserves existing comments, structure, and ordering whenever 
      possible.
   - Preview-able
      - Optionally prints diff.
   - Thousands separators.
      - Optionally add, remove, or keep (default) thousands separators.
   - Typed and extensible
      - For example, the code for supporting thousands separator is as 
      simple as this 
      
<https://github.com/SEIAROTg/autobean-format/blob/main/autobean_format/formatters/number.py>
      .
   
Please check out autobean-format 
<https://github.com/SEIAROTg/autobean-format> if you are interested. Bug 
reports / suggestions / contributions are appreciated.

Regards,
SEIAROTg

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/962be409-86aa-4fed-859e-2ff983fe0d95n%40googlegroups.com.

Reply via email to