bean-identify, bean-extract, bean-file

249 views
Skip to first unread message

Jason Crews (the1gofer)

unread,
Oct 28, 2024, 8:27:52 PM10/28/24
to Beancount
I'm trying to figure out how to use the parsers with bean count, and I can't seem to get any of these to work. 

If I have to make a guess, it's probably because they have been depreciated, but I'm not sure. 

once I have a parser, how do I run it in Beanocunt?

Jason Crews (the1gofer)

unread,
Oct 28, 2024, 9:33:48 PM10/28/24
to Beancount
I actually just found beangulp, I'll be danged if i can figure out how to install and use it though.  

I tried pipx beangulp and pixbeangulp --isntall-deps
I tired pipx install git+https://github.com/beancount/beangulp.git --include-deps

neither of which seem to work. 

Xiaowen Hu

unread,
Oct 29, 2024, 5:00:40 AM10/29/24
to bean...@googlegroups.com
Hi Jason,

I'm not very familiar with pipx, but on my setup, I simply used
`pip install .` from the root directory, which worked fine. However, the
installation method may vary depending on your distribution.
(E.g., on Arch I need `--break-system-packages`).

There are some example files in beangulp/examples.
I found that starting with the utrade example is the simplest way
to get familiar with the tool.

Xiaowen

Xiaowen Hu

unread,
Oct 29, 2024, 5:00:47 AM10/29/24
to bean...@googlegroups.com
Hi Jason,

I haven't used `pipx` much, but for my setup, running `pip install .`
from the root directory worked without issues. I also tried `pipx
install .`, and that worked fine as well.

The installation process might vary depending on your distro, as Python
environments can be a bit tricky sometimes.

I'm currently learning Beancount too. For `beangulp`, I recommend
checking out the `utrade` example in the examples folder; it’s been
quite helpful.

Best,
Xiaowen


On Mon, Oct 28, 2024 at 06:33:48PM -0700, Jason Crews (the1gofer) wrote:

Martin Blais

unread,
Oct 29, 2024, 11:27:04 AM10/29/24
to bean...@googlegroups.com
I'm not sure what you mean by a "parser" but when you install Beancount using pip it should install a `bean-check` tool which you can use to validate your input file. You can then use beanquery and/or Fava to get reports out of it.


--
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 beancount+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beancount/b6677c76-b132-4813-ad29-a64a731f458cn%40googlegroups.com.

Jason Crews (the1gofer)

unread,
Oct 29, 2024, 11:50:13 AM10/29/24
to bean...@googlegroups.com
Parser… a way tool to parse csv.

Jason Crews

You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/C0whnaQplXk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOVTDKExa68dt2O%2BhYScso%2BENY%2B%2B8%2BZ-JPo4B68LTnePA%40mail.gmail.com.

Jason Crews (the1gofer)

unread,
Oct 29, 2024, 11:51:11 AM10/29/24
to bean...@googlegroups.com
Well I was instructed to use pipx for bean count and fava so I assumed.

Jason Crews

On Tue, Oct 29 2024 at 8:50 AM, Jason Crews <jason...@gmail.com> wrote:
Parser… a way tool to parse csv.

Jason Crews

Martin Blais

unread,
Oct 29, 2024, 11:54:45 AM10/29/24
to bean...@googlegroups.com

Petr Beránek

unread,
Oct 29, 2024, 2:52:29 PM10/29/24
to bean...@googlegroups.com
Hi, 

pipx is useful if you just want to install beancount and fava as standalone, isolated apps. However, if you want to implement your own importers or plugins (e.g. using frameworks like beangulp or beancount_reds_importers), then you need to install beancount, beangulp etc. as libraries (to be able to import from them), typically via pip.

In my current setup, I installed beancount (and all related packages) in a virtual env (using pipenv). I installed fava via pipx as a workaround for its incompatibility with the latest version of beancount, and thought, that installing everything via pipx might be the easiest option for newcomers - which may not be the case. Sorry for the confusion. 


Best regards,
Petr 

Dne út 29. 10. 2024 16:54 uživatel Martin Blais <bl...@furius.ca> napsal:

Jason Crews (the1gofer)

unread,
Oct 29, 2024, 3:05:25 PM10/29/24
to bean...@googlegroups.com
At this point I think it's wiser to just write a script on my own

Jason Crews

On Tue, Oct 29 2024 at 11:52 AM, Petr Beránek <petrber...@gmail.com> wrote:
Hi, 

pipx is useful if you just want to install beancount and fava as standalone, isolated apps. However, if you want to implement your own importers or plugins (e.g. using frameworks like beangulp or beancount_reds_importers), then you need to install beancount, beangulp etc. as libraries (to be able to import from them), typically via pip.

In my current setup, I installed beancount (and all related packages) in a virtual env (using pipenv). I installed fava via pipx as a workaround for its incompatibility with the latest version of beancount, and thought, that installing everything via pipx might be the easiest option for newcomers - which may not be the case. Sorry for the confusion. 


Best regards,
Petr 

Dne út 29. 10. 2024 16:54 uživatel Martin Blais <bl...@furius.ca> napsal:
Oh I see you mean the importers.
Here is an example setup:



On Tue, Oct 29, 2024 at 11:50 AM Jason Crews (the1gofer) <jason...@gmail.com> wrote:
Parser… a way tool to parse csv.

Jason Crews

Martin Blais

unread,
Oct 29, 2024, 3:25:38 PM10/29/24
to bean...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages