Logging Data to SQL server

All,

Please forgive me if this has been asked and answered..I couldn't locate any
information in the archives.

We have an application running on Raspian which plots metal cooling times
and uses the data to present several results. These results are presented on
the plot.

What I'd like to do is grab these numbers and log them into a SQL DB with
timestamp. Is this easily done...and if so, can anyone point me in the right
direction?

If I could get the data written to something as a text file, I could use our
SQL server to grab it from there...or are there more elegant solutions?

Any help and or advice would be greatly appreciated. Thanks!!!

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Logging-Data-to-SQL-server-tp46975.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

This logging the values to a DB seems orthogonal to the fact that you've
plotted them.

Your application is reading in the data from somewhere before feeding it to
the plot, so there's no reason matplotlib needs to be involved at all.

You could use an ORM like SQLAlchemy to write your data to the DB. I would
post this question that mailing list.
-p

···

On Wed, Apr 20, 2016 at 2:45 PM, jkelleyus <john.kelley at idcastings.com> wrote:

All,

Please forgive me if this has been asked and answered..I couldn't locate
any
information in the archives.

We have an application running on Raspian which plots metal cooling times
and uses the data to present several results. These results are presented
on
the plot.

What I'd like to do is grab these numbers and log them into a SQL DB with
timestamp. Is this easily done...and if so, can anyone point me in the
right
direction?

If I could get the data written to something as a text file, I could use
our
SQL server to grab it from there...or are there more elegant solutions?

Any help and or advice would be greatly appreciated. Thanks!!!

--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Logging-Data-to-SQL-server-tp46975.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160420/b87d24ae/attachment.html>