Some Python Extension tips for MD2017

virantha's Avatar

virantha

29 Nov, 2016 06:54 PM

Hi all, I've been in the middle of writing an extension in Python, and I thought I'd share some of my learnings since some of the documentation is a little outdated now that MD2017 is out. I have to say, I've been very impressed with the access that the MD APIs provide to my data, and look forward to finally getting my financial data under my own control. Keep up the great work, MD team!

You can see my examples at http://virantha.com/2016/11/28/moneydance-python-extension-tips/

They include things like

  • popping up a window via a Python extension
  • persisting data in the encrypted .moneydance file (for example, a pickled object)
  • importing third-party JARs (like a Swing layout library MigLayout)

I'll keep updating it as I learn more. Hope someone finds this helpful! On another note, does anyone know if it's possible to build a pure Python extension that can be compiled and distributed as a .mxt file? If so, any tips on the ANT build process? (It's been a while since I used Java and I'm not completely familiar with the nuts and bolts of Jython, although I've been using Python for over a decade)

  1. System closed this discussion on 28 Feb, 2017 07:00 PM.

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

22 Mar, 2023 07:06 AM
22 Mar, 2023 05:34 AM
22 Mar, 2023 02:51 AM
22 Mar, 2023 02:17 AM
22 Mar, 2023 02:02 AM