Schedule Python Scripts in the Cloud for FREE

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • Scheduling your Python scripts in the cloud for free? It's possible with pythonanwhere.com!
    💭 Join my Discord community and get help from many other Python developers:
    / discord
    ⭐️Link to Pythonanywhere.com⭐
    www.pythonanywhere.com/
    ⭐️Download my script here⭐
    tomstechacademy.com/code-exam...
    ⭐️Link to the API⭐
    api.coindesk.com/v1/bpi/curre...
    ⭐️ Use this expression to schedule a script⭐
    python3.10 /home/[YOUR-USERNAME]/main.py
    ⭐️Scroll through the video⭐
    00:00 - Intro
    00:14 - Script for fetching Bitcoin price from an API
    00:34 - How to extract data from an API with Python
    01:05 - How to create a Pandas DataFrame with Python
    01:09 - How to append data to a CSV file with Pandas
    01:26 - How to schedule a Python script in the cloud
    02:14 - How to schedule a script with Pythonanywhere.com
    02:56 - Outro
    ⭐️ Follow me ⭐
    💼 LinkedIn: / thomas--janssen
    ✅ Instagram: / tomstechacademy
    ❗ Some of my videos contain affiliate links. When you click on these kind of links, I get a small percentage in case you make a purchase via the website. Be aware that this doesn't cost you anything - you never pay more than the standard retail price.
    #python #schedule #api

Комментарии • 7

  • @ninakruzo
    @ninakruzo 3 месяца назад +1

    Cool. I want to build a pipeline for a client. Can the python script read and insert data into a database without installing it locally?

    • @TomsTechAcademy
      @TomsTechAcademy  3 месяца назад +1

      Hi, yes you should be able to insert data in a remote database. PA offers databases as well - see the databases sheet - but you probably want to store your client's data in their database.
      The challenge is that most database solutions require you to whitelist IP's which can interact with the database. I'm not 100% sure whether PA's IP's don't rotate - so this can be a challenge..
      You can find some solutions for this issue here: help.pythonanywhere.com/pages/StaticIPForExternalAllowlists/
      Good luck, Thomas

  • @TitaRose_Vlog
    @TitaRose_Vlog 2 месяца назад +1

    Greetings from Netherlads

    • @TomsTechAcademy
      @TomsTechAcademy  2 месяца назад

      Thank you Rosa, wishing you a wonderful day 😀

  • @vendettasnares
    @vendettasnares 3 месяца назад +1

    I like free 😎

    • @TomsTechAcademy
      @TomsTechAcademy  3 месяца назад +1

      Who doesn’t like free? 🤑 for which scripts are you using pythonanywhere.com?

    • @vendettasnares
      @vendettasnares 3 месяца назад +1

      @@TomsTechAcademy I will have to think of use case 🤔 still, it's nice to know there's such option.