How to Generate Analytics Reports (pdfs) in Python! (Quarto Tutorial)

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

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

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

    Nice reports, good to see videos on signal processing 😊

  • @mjacfardk
    @mjacfardk 4 месяца назад +1

    yes brother you are always at needed place
    thank you for your time 🙏.
    yes pls do another one quarto reporting tutorial.
    thank u

  • @leibaleibovich5806
    @leibaleibovich5806 4 месяца назад +2

    Thank you for this Quarto tutorial! Appreciated!

    • @KeithGalli
      @KeithGalli  3 месяца назад

      You're very welcome!

  • @rogueknight2414
    @rogueknight2414 4 месяца назад +1

    Yeah, this is useful! I'll try creating the report of my current project with quarto. Thanks!

    • @KeithGalli
      @KeithGalli  4 месяца назад

      Awesome! Hope you have success with it.

  • @robertc2121
    @robertc2121 4 месяца назад +1

    Brilliant explanation super helpful

  • @djangoworldwide7925
    @djangoworldwide7925 Месяц назад

    Any combination with gh actions and scraping live data would be great. Also incorporation of some sidebar filtering would be auper great, so for example instead of many pdf reports, to have an updated dashboard where you can maybe see the weather at a specific region

    • @KeithGalli
      @KeithGalli  Месяц назад

      Thank you for the suggestions!

  • @d.g0101
    @d.g0101 3 месяца назад

    Hey Keith is there any video where you make excel reports using python? Possibly taking data from any DB

  • @brownboi9267
    @brownboi9267 4 месяца назад

    Looks like R Markdown, but great video as always

    • @KeithGalli
      @KeithGalli  4 месяца назад +1

      Yep! Very similar, but now it's easier to integrate languages like Python and produce a greater range of outputs :)

  • @2011Anurag1
    @2011Anurag1 3 месяца назад

    Is there any tutorial for creating virtual environment? In Windows

  • @Mark-sf4kh
    @Mark-sf4kh 4 месяца назад +2

    Great video!!🎉 Is quarto downloadable from the anaconda distribution?

    • @KeithGalli
      @KeithGalli  4 месяца назад

      I don't think it's directly downloadable from anaconda distribution, but if you download it from quarto.org/docs/get-started/ you should be able to have access to it system-wide. Alternatively from a terminal window you should probably be able to do a "conda install -c conda-forge quarto"

  • @yasinahmed8359
    @yasinahmed8359 3 месяца назад

    I tried to pip install quarto-cli and it fails? How did you manage to pip install it?

    • @KeithGalli
      @KeithGalli  3 месяца назад

      It failed for me before I activated a virtual python environment and ran the pip install command within that. If you need help activating a virtual environment, let me know what operating system you're using and I'll try to share some steps.

    • @yasinahmed8359
      @yasinahmed8359 3 месяца назад

      I am using both conda and uv for virtual environments, can you show me how it's done, it could be a proxy blocking something?

    • @yasinahmed8359
      @yasinahmed8359 3 месяца назад

      ​@@KeithGalliI'm using both windows and Linux

  • @ishwarcm.5009
    @ishwarcm.5009 4 месяца назад

    Very helpful ☺️❤

  • @Sancho242000
    @Sancho242000 4 месяца назад

    Hi, does anyone know why I can't generate the pdf preview? After I clicked the icon the process shows: No TeX installation was detected.
    Please run 'quarto install tool tinytex' to install TinyTex.
    After I installed it the same message keeps showing and if I try to install it again it says: tinytex is already installed and up to date.
    I tried closing vs code and nothing.

    • @KeithGalli
      @KeithGalli  4 месяца назад +1

      Are you using VS Code? My guess is that you might be running a different Python environment in your editor vs your terminal. When clicked into your code editor I would do a ctrl + shift + p (or cmd + shift + p -- if you're on mac) and then try selecting a different python version from the options you see listed. Another thing to try is simply exiting out of VS Code (completely closing the app) and then re-opening it. Hope this fixes your issue.

    • @Sancho242000
      @Sancho242000 4 месяца назад +1

      @@KeithGalli Thank you very much, I chose again the interpreter created in the venv (quarto) and it wanted to relaunch the terminal in order to apply changes. After that I could generate the pdf preview. Thanks for these videos I'm learning a lot.

    • @KeithGalli
      @KeithGalli  4 месяца назад

      Awesome, glad that worked! You are very welcome, happy the videos have been helpful.

  • @esranursedef4521
    @esranursedef4521 3 месяца назад

    Which copilot extension do you use on vscode? Github? I see without paying we can not use??

    • @KeithGalli
      @KeithGalli  3 месяца назад +2

      Yeah I use the Github Copilot, but I've seen a decent amount of people mention Codeium as a free extension alternative.

  • @YiangosMichael
    @YiangosMichael 4 месяца назад

    Great tutorial Keith! Thanks. Are there any libraries you recommend for sending automated PDF reports to emails? Can this be automated to run every hour/couple of hours?

    • @KeithGalli
      @KeithGalli  4 месяца назад +1

      I just use the email library to connect to a Gmail account and then send the reports as an attachment that way. Here are two videos you can check out to set this up:
      - ruclips.net/video/g_j6ILT-X0k/видео.htmlsi=47sTl8B-3R6RcUwu
      - ruclips.net/video/ANCKLzvvO5A/видео.htmlsi=dUua65NurSRZcelF
      For automating to run every couple of hours you can set up a cron job on a cloud machine. The way that I like to do this these days is connect my repo to render.com and create a cron job service. I hope to make a followup video to this one detailing these steps.

    • @johnfeldhausen5576
      @johnfeldhausen5576 3 месяца назад

      @@KeithGalli Keith that would be great if you could do a video showing how to set up the cron job. Thanks as always for your helpful lessons

  • @ogunniransiji2686
    @ogunniransiji2686 4 месяца назад +1

    What’s the difference between quarto and fpdf

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

      I would say Quarto focuses on using the markdown syntax to generate PDF files and being able to seamlessly embed code & outputs in your reports where as with fpdf you are directly manipulating the PDF file with the elements that you want to add. It might be worth checking out my previous reporting video: ruclips.net/video/UmN2_R4KEg8/видео.htmlsi=nkWSONbrcK-HSSO4 if you want to see the differences in action.

  • @PtYt24
    @PtYt24 Месяц назад

    "Something fun like PDF", I died inside, xD

  • @sebastianalvarez1537
    @sebastianalvarez1537 3 месяца назад

    I

  • @deltalima9640
    @deltalima9640 Месяц назад

    quarto sucks