On April 28, 2022 6:45:58 AM CDT, o1bigtenor <[email protected]> wrote:
>On Wed, Apr 27, 2022 at 7:35 AM David Bremner <[email protected]> wrote:
>>
>> Philogy <[email protected]> writes:
>>
>> > Hello everyone, I'm just starting to get into ledger and other PTA tools
>> > but I'm wondering where and how I can use the `ledger` Python package. I
>> > see on github that there's a python folder with an example but I can't seem
>> > to find the referenced package / module anywhere in the documentation or
>> > online. I'm very interested in using ledger as my accounting system but I'd
>> > need to extend with a couple features.
>>
>> It might depend a bit on your OS. On Linux it suffices to add
>> "-DUSE_PYTHON=ON" to the cmake arguments.  This generates an
>> appropriately named shared library, which is the extension [1]. I agree it 
>> would be cool if
>> this was documented somewhere.
>>
>>
>Hmmmmm - - - curious - - - - what does using this 'python' folder give
>you that is not in the 'regular' version?

It parses your ledger transactions into Python objects. I use it to build tools 
to automatically edit my ledger file:

https://gist.github.com/tubaman/0e80cec388d3d5d61e3f300e2477a9ae

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" 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/ledger-cli/A0C1618F-59AA-4A38-9E3C-C1F5429C99A0%40fattuba.com.

Reply via email to