tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/2652-running-python-scripts-externallyInfinite Kind: Discussion 2020-03-28T23:40:23Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/479467482019-12-27T02:03:41Z2019-12-27T02:03:41ZRunning Python Scripts "externally"<div><p>Hello,</p>
<p>I am trying to decide whether to use Moneydance as the "definitive source" for my financial data - I plan to<br>
perform a lot of analysis on my transactions and data using Python / Matplotlib / Pandas and NumPy.</p>
<p>I would like to see if there's a way to run Python scripts <em>outside</em> of the built-in Jython editor that comes with<br>
Moneydance. From reading this page:<br>
There are a few factors weighing in on my decision, and one of the most important is the ability to<br>
<em>avoid</em> the built-in Python editor. I am very picky about the re</p>
<p>I see from this page: <a href="https://infinitekind.tenderapp.com/kb/extensions-2/extensions-overview">https://infinitekind.tenderapp.com/kb/extensions-2/extensions-overview</a> that<br>
there are extensions and "plugins" (The page does not say explicitly what the difference between<br>
extensions and "plugins" are, but I digress).</p>
<p>In short, I would like to know if there's a way to access the data which is stored in my Moneydance<br>
using an <em>external</em> Python application. I find that the Jython editor which is built into Moneydance is<br>
a bit klunky and I would like to perform on-the-fly analysis using Python tools mentioned above without<br>
needing to use the built-in Python editor and without needing to edit my Python code in an editor and then<br>
"reloading" it into Moneydance's Python editor.</p>
<p>Any suggestions?</p>
<p>Thanks,<br>
--Nate</p></div>nathan.nefftag:infinitekind.tenderapp.com,2009-01-14:Comment/479467482019-12-28T23:33:36Z2019-12-28T23:33:36ZRunning Python Scripts "externally"<div><blockquote>
<p>I plan to perform a lot of analysis on my transactions and data using Python / Matplotlib / Pandas and NumPy.</p>
</blockquote>
<p>For those, likely you will need Python3 and the embedded Jython lib only support Python2.</p>
<p>I think your best bet to is create an extension to export the data you need in format such as CSV, JSON and then use external tool to analyze.</p>
<p>Other more "exotic" options which will fit your "on the fly analysis" requirement: create an extension that can handle REST requests to make data available to any external tool that can talk your REST verbs.</p></div>hleofxquotes