beancount/ops/holdings.py missing from v3?

61 views
Skip to first unread message

Rahul Kuchhal

unread,
Jul 29, 2024, 10:04:01 PM7/29/24
to Beancount
I noticed beancount/ops/holdings.py does not exist in v3 branch:

but it exists in v2 branch:

And seems like because of that it is missing from beancount python package.  Is it gone for good from v3? Is it possible to install beancount v2 and v3 python packages on osx?

Martin Blais

unread,
Jul 29, 2024, 10:05:11 PM7/29/24
to bean...@googlegroups.com
I can't quite recall - it's been a *long* time - but I think I refactored this away.
I'm not sure if you can install both.
I'm sure you can do something with virtualenv though.


--
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 on the web visit https://groups.google.com/d/msgid/beancount/a69f7e8f-d59c-4217-9713-8dd71d45c197n%40googlegroups.com.

Rahul Kuchhal

unread,
Jul 29, 2024, 11:11:29 PM7/29/24
to bean...@googlegroups.com
I was using some functions from holdings.py (e.g. holdings.get_final_holdings()) in my custom Python scripts. Any chance there is a replacement available in v3 for holdings.py?

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/x_fbS5WZRh8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPODmnDCw0hp%3DBym-zSZGHRnNS_MOCyiv-Ez4rHQuMueA%40mail.gmail.com.

Martin Blais

unread,
Jul 29, 2024, 11:14:23 PM7/29/24
to bean...@googlegroups.com
I'm sure there's code that does the same thing.
It's been so long... I can't remember.

Reply all
Reply to author
Forward
0 new messages