Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

eCo-Pylot - A Python-Based Script for Sending Parsed Email Data to a Database

Software ·
DOI:https://doi.org/10.11578/dc.20171025.1317· OSTI ID:code-1977 · Code ID:1977

eCo-PylotDB, written completely in Python, provides a script that parses incoming emails and prepares extracted data for submission to a database table. The script extracts the database server, the database table, the server password, and the server username all from the email address to which the email is sent. The database table is specified on the Subject line. Any text in the body of the email is extracted as user comments for the database table. Attached files are extracted as data files with each file submitted to a specified table field but in separate rows of the targeted database table. Other information such as sender, date, time, and machine from which the email was sent is extracted and submitted to the database table as well. An email is sent back to the user specifying whether the data from the initial email was accepted or rejected by the database server. If rejected, the return email includes details as to why.

Short Name / Acronym:
ECO-PYLOT
Site Accession Number:
SCR# 1459
Software Type:
Scientific
License(s):
Other (Commercial or Open-Source)
Research Organization:
Sandia National Laboratories
Sponsoring Organization:
USDOE

Primary Award/Contract Number:
AC04-94AL85000
DOE Contract Number:
AC04-94AL85000
Code ID:
1977
OSTI ID:
code-1977
Country of Origin:
United States

Similar Records

eCo-Pylot - A Python-Based Script for Sending Parsed Email Data to a Database
Software · Wed Jan 04 00:00:00 EST 2012 · OSTI ID:1330996

Co-PylotDB - A Python-Based Single-Window User Interface for Transmitting Information to a Database
Software · Thu Jan 05 00:00:00 EST 2012 · OSTI ID:1330995

Co-PylotDB - A Python-Based Single-Window User Interface for Transmitting Information to a Database
Software · Tue Nov 01 20:00:00 EDT 2011 · OSTI ID:code-1965

Related Subjects