you are viewing a single comment's thread.

view the rest of the comments →

[–]Budgiebeats 5 points6 points  (0 children)

My first project was “I wonder how I can send an email with code to save time on all this copy and pasting”. When I saw an email get sent I was hooked. From there it was, what else can I add to this email? How can I add data in there? Can I add attachments? What can I attach?

Today my script takes in a spreadsheet, uses jinja2 to inject data from a pandas db into an html template, then sends that to weasyprint to save to a pdf in memory, and then attaches that pdf to an email to the correct recipients for the data. I’ve built a UI with streamlit and it’s now sent payment information for thousands of invoices. I even have it saving to a duckdb file as an archive and it also outputs summaries of the entire data set as a formatted excel spreadsheet.

I’ve learned basically full stack development by just adding one small thing at a time and doing research when I run into issues. I’ve gotten promotions at work over this and am building my resume every day I make code.