Hi Andrey, Thank you for clarifying. I would suggest whitelisting the following links:
1. Github: which is an ideal repository for sharing files. I have a number of codes that use data from GitHub (e.g., Iris and NLTK datasets). Some GitHub URLs are of the form https://raw.githubusercontent.com 2. Dropbox, www.dropbox.com: There are many cases where some data files I pushed (or by others) to Github could not be retrieved using urllib.request or similar methods. I end up getting errors or retrieving files that are corrupted. In this case, I found that Dropbox is great, I could upload and read any data file from it. Here are examples: - https://www.tssfl.com/automate-multiple-excel-sheets-and-produce-reports-using-python-6407 - https://www.tssfl.com/how-to-generate-pdf-reports-with-pandas-jinja-and-weasyprint-6413 - https://www.tssfl.com/automate-reports-with-python-and-pandas-save-the-output-to-html-6408 3. Google cloud console, https://console.cloud.google.com/, Google Drive, https://drive.google.com, Google docs, https://docs.google.com/ (e.g., for spreadsheets, https://docs.google.com/spreadsheets) -- I have been using Google Sheets API v4 and Google Drive API to access and automate Google spreadsheet tasks, see an example, https://www.tssfl.com/automating-the-google-spreadsheet-tasks-with-python-and-tssfl-open-discussion-forums-6402 4. Kaggle, https://www.kaggle.com -- useful for retrieving various data science and machine learning data files. 5. Astropy: This package depends on some data and information from http://data.astropy.org/tu and https://www.astropy.org/. For example, this is what I get after testing some sample code, "URLError: <urlopen error Unable to open any source! Exceptions were {' http://data.astropy.org/tutorials/FITS-images/HorseHead.fits': URLError(gaierror(-3, 'Temporary failure in name resolution')), ' http://www.astropy.org/astropy-data/tutorials/FITS-images/HorseHead.fits': URLError(gaierror(-3, 'Temporary failure in name resolution'))}" 6. Google API for Keras and TensorFlow: https://storage.googleapis.com/tensorflow/tf-keras-datasets/ 7. MNIST dataset, http://yann.lecun.com/exdb/mnist/ for machine learning 8. However, the following URLs are of interest for cosmological or astrophysical data: - Jodrell Bank Centre for Astrophysics <http://www.jodrellbank.manchester.ac.uk/>, http://www.jodrellbank.manchester.ac.uk/research/research-groups/cosmology/ - NASA's High Energy Astrophysics Science Archive Research Center (HEASARC): https://heasarc.gsfc.nasa.gov/ - Data repository, http://cdsweb.u-strasbg.fr/ - Data repository, http://vizier.cfa.harvard.edu/ - Planck Satelite Legacy Archive for The European Space Agency, http://pla.esac.esa.int - NASA JPL data repository, https://naif.jpl.nasa.gov/naif/ You can see various use case examples for the mentioned URLs at https://www.tssfl.com/programming-and-computing-with-python-right-from-the-forum-6300 Kind regards, Elimboto On Mon, Mar 22, 2021 at 5:45 PM Andrey Novoseltsev <[email protected]> wrote: > On Monday, 22 March 2021 at 02:29:24 UTC-6 [email protected] wrote: > >> Hi Andrey, >> >> Does this mean we will not be able to use SageMathCell integrated at >> https://www.tssfl.com/programming-and-computing-with-python-right-from-the-forum-6300 >> ? >> > > Hi Elimboto, > > Using SageMathCell on other servers of course will be possible, that's the > whole point of it. But if your code within the cell is trying to access > Internet, it will likely fail, as it does now. I hope we will allow some > explicitly whitelisted services to function, e.g. getting files from github. > > Thank you, > Andrey > > >> Kind regards, >> >> Elimboto >> >> >> On Monday, March 22, 2021, Andrey Novoseltsev <[email protected]> wrote: >> > Unfortunately, due to some people abusing SageMathCell servers access >> to the Internet from cells is going to be removed or severely limited. >> > If you really need such access, your options are: >> > - maintain your own server, e.g. behind a campus firewall >> > - use CoCalc, where you can enable such access >> > - explain exactly what kind of access you need and why - perhaps we >> will figure something out, but no guarantees on how long it will take, if >> ever >> > >> > -- >> > 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/7c758ba4-74e5-4827-89a7-f68ea2713a58n%40googlegroups.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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cell/3aea065c-2bab-4ac7-8cb1-52a7b42015fbn%40googlegroups.com > <https://groups.google.com/d/msgid/sage-cell/3aea065c-2bab-4ac7-8cb1-52a7b42015fbn%40googlegroups.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/CACEZTmtr-K-1EMA7x%2B%3D2pO38WfUyGwz2%2BU4R2PDTtUxUUKQKFg%40mail.gmail.com.
