Python Scripting (extension)? Developers page?

brec's Avatar

brec

29 Mar, 2023 10:36 AM

Some 6+ years ago articles/discussions mentioned the Subject features. E.g., a 2017 article says there's a Windows -> Python Scripting menu item. There are also mentions of a Python scripting extension, and a Developers web page.

Have these features died and gone to Moneydance heaven?

  1. 1 Posted by Stuart Beesley ... on 29 Mar, 2023 10:55 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Python(Jython) scripting inside Moneydance (as well as Java) is very much alive and kicking.. What do you want to know?

  2. 2 Posted by brec on 29 Mar, 2023 11:16 AM

    brec's Avatar

    Mr. T., as you may have inferred from the flurry of discussions I've started in recent days, I'm having many issues attempting to migrate a large set of accounts from another application. I want to know whether/how Python(Jython) scripts might help. (I can code. I've been using Python 3 recently, 'though I was fluent in Java some years ago, rusty now. Disappointed to see that JPython is still Python 2.)

    I've written a Python script to do some post-processing of the .qif generated by the program from which I'm migrating. I'm working on another to remove duplicate credit card transactions in the .qif.

    More specifically I'd love to know more about MD's .qif import processing logic (specific questions available on request!), and more generally some info about how to get started with Python/JPython and MD -- is there any available documentation on those subjects?

    Thanks--

  3. 3 Posted by Stuart Beesley ... on 29 Mar, 2023 11:44 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Once you know what you are doing it’s easy. The hard bit is understanding how to start and then the moneydance data model.

    Start here:
    https://infinitekind.com/developer

    Then here:
    https://yogi1967.github.io/MoneydancePythonScripts/

    And specifically read this:

    https://raw.githubusercontent.com/yogi1967/MoneydancePythonScripts/...

    If you want a starter script to get you going in a certain area, shout. I suspect that move investment txns script might be useful.

    source/toolbox/toolbox_move_merge_investment_txns.py

    Look from line 2909 onwards…

    Shout with questions?

  4. 4 Posted by Stuart Beesley ... on 29 Mar, 2023 11:45 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Window/Show Moneybot Console is where you start from….

  5. 5 Posted by Stuart Beesley ... on 29 Mar, 2023 11:45 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    … and yes it’s Jython2.7 which uses Python 2.7 syntax etc.

  6. 6 Posted by brec on 29 Mar, 2023 03:07 PM

    brec's Avatar

    Stuart,
    No, no, no, I can't have another rabbit hole to get lost within until I get MD working for my data!

    But seriously, thanks for opening such a large door with just three links. "Links" reminds me of a couple I encountered that are no longer valid. Near the top of /developer, it says,

    Developer Support
    An additional resource is the Extension Development section of The Infinite Kind's support forum.
    ...not any more (looks to me that you are now the developer support!) And your link in source/extension_tester/readme.txt to Mike Bray's wiki times out.

    I think both that (a) all the developer info won't help me with my current import issues, and (b) I will nonetheless start nosing around now, and expect to become more involved once (or if!) I get MD working.

    Shout with questions?

    Is this your preferred venue MD developer questions?

  7. 7 Posted by Stuart Beesley ... on 30 Mar, 2023 05:53 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    It is a rabbit hole that has captured me for 3 years now!

    You should post in the extension development forum first.

  8. 8 Posted by dwg on 30 Mar, 2023 06:07 AM

    dwg's Avatar

    Stuart hasn't been the same since :)

    He drags some of the rest of us along for the ride.

  9. 9 Posted by dtd on 30 Mar, 2023 06:18 AM

    dtd's Avatar

    just a user - Stuart is like Peter Pan saying - I've found Neverland - want to join me?

    Or given the rabbit hole reference - Stuart is Alice, saying - want to have a wonderful tea party?

  10. 10 Posted by dtd on 30 Mar, 2023 06:25 AM

    dtd's Avatar

    Now, to get serious. I'm not sure exactly what your QIF import issues are, (I think I've seen some of them, but I'm pretty cognizant of the ones from Quicken from nearly 3 years ago, and learned to deal with them over about a 2 month period. I'm not sure about the issues with how SEE deals with QIF, but I found that massaging the data to deal with MD's lack of a full featured investment set did a lot to make it work.

    I don't know if I've already shared with you the ridiculously long post/discussion I wrote, but I can share it with you or discuss with you (start a new post called something like - moving QIF data from SEE for future users) and we can discuss this into a very long post as well.

  11. 11 Posted by brec on 30 Mar, 2023 08:59 AM

    brec's Avatar

    dtd, I found the "The Vicissitudes of Quicken to Moneydance" discussion you started in 2019. It has 101 replies! But I think it would be my best starting point. If it, or my experience, raises questions I'll start that new discussion.

  12. 12 Posted by dwg on 30 Mar, 2023 09:54 AM

    dwg's Avatar

    That discussion was mostly between dtd any myself as issues were found and worked through. We have both used Quicken, although in my case in the more distant past, Quicken is mostly a known adversary in these forums.

    SEE finance is unknown to us and thus its QIF files are a bit of an unknown, I have never seen a sample file from this program. Some developers are rather lax when they create such files, fine if you only every work with that software but if other programs are involved then it usually breaks. I have seen banks break QIF files and make them completely unusable.

  13. Maddy closed this discussion on 04 Apr, 2023 09:36 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

26 May, 2024 05:58 PM
26 May, 2024 04:49 PM
26 May, 2024 04:48 PM
26 May, 2024 04:08 PM
26 May, 2024 03:23 PM