Elimboto,

The problem is that the sage-cell server is publicly available. Making sendmail 
available would make it possible for anybody with network access to build a 
spambot that operates using the sage-cell server. Access to sendmail should be 
protected by a password at the very least.

I think you need your e-mail solutions to go through your password protected 
account.

Regards,
Jonathan

Dr. Jonathan Gutow
Chemistry Department
UW Oshkosh
web: https://uwosh.edu/facstaff/gutow
e-mail: [email protected]
Ph: 920-424-1326


________________________________
From: [email protected] <[email protected]> on behalf of 
Elimboto Yohana <[email protected]>
Sent: Friday, July 16, 2021 8:49 AM
To: David Farmer <[email protected]>; sage-cell <[email protected]>; 
Andrey Novoseltsev <[email protected]>
Subject: Re: [sage-cell] Network access removed


CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Hi David,

I use the packages offline/locally, so I think they can be incorporated into 
SageCell and will be using them.

Is there an option to send emails in a safer way with SageCell? The motivation 
is, for example, getting data related to students' tests and exams or survey 
data (see a mock example here 
https://www.tssfl.com/tssfl-odf-odk-collect-and-google-drive-integration-to-collect-store-manage-process-and-analyze-data-6425)
 from Google spreadsheets, carrying computations with SageCell, and 
automatically attaching the scores/reports as HTML content and send them to 
each student. Because each student needs his/her own report.

It is now possible to share Google spreadsheets using the method explained 
here: https://docs.gspread.org/en/latest/user-guide.html#creating-a-spreadsheet 
from SageCell using gspread. So, I have been thinking in the same line of a 
possibility to share results of SageCell computations to emails.

Kind regards,

Elimboto

On Fri, Jul 16, 2021 at 3:33 PM David Farmer 
<[email protected]<mailto:[email protected]>> wrote:

How will we avoid abuse of send_email?

I don't see how the sage cell server, which is intended to allow
computation in the browser, has any business sending email.

Also, I do not like the request phrased as
    "These  packages are useful for data science"

If you have a need for those packages, then explicitly say so.
It does not make sense to just install packages because theoretically
someone else might want to use them some time in the future.

Regards,

David Farmer


On Fri, 16 Jul 2021, Elimboto Yohana wrote:

> Hi Andrey,
>
> A request to install these Python packages:
>
> 1.
>
> - pip install send_email (https://pypi.org/project/send_email/)
>
> - pip install pretty-html-table (https://pypi.org/project/pretty-html-table/)
>
> I have a scenario in which I need to send to emails personalized reports 
> created from some dataset using
> Python. For example, converting an excel/Google spreadsheet to Pandas 
> DataFrame, then creating an HTML table
> from the DataFrame and send each individual HTML report to the appropriate 
> email using a combination of
> smtplib, ssl, email, send_email, and pretty_html_table packages. There are 
> other packages close to send_email,
> such as sendmail (https://pypi.org/project/sendmail/) and python-sendmail
> (https://pypi.org/project/python-sendmail/) but I hope send_email will work 
> as motivated here
> https://dev.to/siddheshshankar/convert-a-dataframe-into-a-pretty-html-table-and-send-it-over-email-4663
>
> These  packages are useful for data science:
>
> 2. pip install autoviz (https://pypi.org/project/autoviz/) for automated data 
> visualizations.
>
> 3. pip install drawdata (https://pypi.org/project/drawdata/) for drawing 
> classification problem dataset in
> machine learning in a jupyter notebook -- hope it works with SageCell.
>
> 4. pip install cleantext (https://pypi.org/project/cleantext/), an 
> open-source python package to clean raw
> text data.
>
> Kind regards,
>
> Elimboto
>
>
> On Mon, Jul 12, 2021 at 10:36 AM Elimboto Yohana 
> <[email protected]<mailto:[email protected]>> wrote:
>       Hi Andrey,
>
> Thank you for installing the packages. TensorFlow is more desirable, it is 
> being used by more people
> than ripser. So, if the current version of Numpy suffices we can just leave 
> it.
>
> Kind regards,
>
> Elimboto
>
> On Sun, Jul 11, 2021 at 9:57 PM Andrey Novoseltsev 
> <[email protected]<mailto:[email protected]>> wrote:
>       Hi Elimboto,
>
> nest_asyncio and wordcloud will be installed via pip in a few hours
>
> ripser problem is solved by upgrading numpy, but it seems that we are on an 
> older version because
> of tensorflow that fixes it. It is a package that was installed by your 
> request, so I am happy to
> remove it if you want to do so ;-) Personally I am not a fan of having 
> packages that don't allow
> newer versions of dependencies.
>
> Thank you!
> Andrey
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> [email protected]<mailto:sage-cell%[email protected]>.
> To view this discussion on the web 
> visithttps://groups.google.com/d/msgid/sage-cell/CAD0_dC7RuzzXQDhQ71h%2BQeDanWNJQZcW6XjToKYNP6E_OMR%3D1g%40mail.gm<http://groups.google.com/d/msgid/sage-cell/CAD0_dC7RuzzXQDhQ71h%2BQeDanWNJQZcW6XjToKYNP6E_OMR%3D1g%40mail.gm>
> ail.com<http://ail.com>.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> [email protected]<mailto:sage-cell%[email protected]>.
> To view this discussion on the web 
> visithttps://groups.google.com/d/msgid/sage-cell/CACEZTmv3dRX0yme-bvVGWTgt%2BjBhU7k6%3Du7NzE%3DZ7hatsgciuw%40mail<http://groups.google.com/d/msgid/sage-cell/CACEZTmv3dRX0yme-bvVGWTgt%2BjBhU7k6%3Du7NzE%3DZ7hatsgciuw%40mail>.
> gmail.com<http://gmail.com>.
>
>

--
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:sage-cell%[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/alpine.LRH.2.21.2107160828100.16142%40li375-150.members.linode.com.

--
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/CACEZTms7soh7qSYj-mvN4xYn67%3D-HQqqufw%2BbsBUAXCYa2qkyg%40mail.gmail.com<https://groups.google.com/d/msgid/sage-cell/CACEZTms7soh7qSYj-mvN4xYn67%3D-HQqqufw%2BbsBUAXCYa2qkyg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/DM6PR16MB24436BAFBE73CD94745C418BA8119%40DM6PR16MB2443.namprd16.prod.outlook.com.

Reply via email to