CodeNewbie Community 🌱

Cover image for [On-Demand Talk] How I Tracked My Pregnancy with Python & Emojis
Hannah Hazi for CodeLand 2022

Posted on

[On-Demand Talk] How I Tracked My Pregnancy with Python & Emojis

About this talk

While I was pregnant I developed a web app to track my progress in a fun and different way - with emoji! I used the web framework Anvil which let me write the app entirely in Python - no need to worry about CSS or HTML.

I'll talk you through how I put the app together and added custom links, a login portal, weekly email updates to my users and more.

Try out the app here!

Talk Recording



🌈 Comment below and ask me questions — I might just answer them during my live speaker discussion!

About me

Hi! I'm Hannah Hazi. I'm a software engineer based in Cambridge, UK. I originally wanted to become a civil engineer but fell in love with Python after exploring 3D printing and never looked back. I currently works at Anvil as a Developer Advocate, helping people build web apps with nothing but Python. In my spare time, I love playing with Raspberry Pi and making art. My website is

This on-demand talk is part of CodeLand 2022 — a virtual conference brought to you by CodeNewbie & DEV on June 16 & 17, 2022.

Top comments (21)

dortizkosobucki profile image
Daniela Ortiz-Kosobucki

Hello Hannah! I am a Pelvic Floor Physical Therapist who is starting into the software dev world. I love learning and hearing of tools people are creating to help people who are pregnant, so thank you so much for your app, your talk, and sharing your resources!

raspberrycheesecake profile image
Hannah Hazi

Thanks for the lovely comments everyone! 😊 I'll try and get to each of your specific questions during my live chat later, and add my thoughts in text here as well

dulyaaa profile image
Dulya Perera • Edited

Wooahh..!! Amazing talk @raspberrycheesecake 😍😇😊 And I love your baby boy.. he is sooo cuteee..👦

anyanka profile image

I never heard of Anvil until today but it looks cool and I really like Python, thanks for sharing your work, I'll try it. :)

madelene profile image
Madelene Campos

I love Python as well. Thanks for the talk!

aigarspl profile image
Aigars Pluģis • Edited

The tool and used technology is so good, at least you can track yourself and your baby as well (even tho it's not directly relevant to me).

btw, great talk, Hannah!

tsbrun profile image
Anya Brun

Belated congratulations on your little boy! We need more women making apps and other products for women. Thank you for demonstrating what that looks like!

rzuick profile image
Rebecca Z

This is such a fun talk Hannah!

  1. I love the emoji use! Python3 is the BEST for that
  2. It's so awesome you were able to make something because of a gap you identified in pregnancy apps. I'm working on a side project to track food for my picky eater.
  3. Was the user authentication/account creation very difficult for you?
raspberrycheesecake profile image
Hannah Hazi
  1. Yesss I am a big fan of languages that fully support Unicode 🎉
  2. That food tracking app sounds like a cool idea! I've had some good and not so good app experiences with tracking weaning so far - I'm not sure if any of them's really nailed it for me yet
  3. Nope! I kind of cheated using Anvil to make this app, honestly. There's authentication for Google, Facebook and Microsoft accounts already baked in - I just used the Google one but I could have added more
devencourt profile image
brian bethencourt

Congrats on this cool app! Did this process of building "How Pregnant Am I?" give you ideas for other child development apps?

raspberrycheesecake profile image
Hannah Hazi

Oh, I totally forgot to mention another one I already put together, actually! When I was tired of twiddling my thumbs waiting around for my little one to put in an appearance I made a data dashboard about due date science (turns out the due date is NOT the whole story):

michaeltharrington profile image
Michael Tharrington

Excellent talk, Hannah!

How do you balance your time between your day job, home life, and your side projects?

yamcodes profile image

Thanks for the talk, Hannah! I've just signed up for Anvil, excited to try it out :)

anamonteiro430 profile image
Ana Monteiro

Loved the fun project combined with more useful information from NHS. Good job! 😉

faruqjada profile image

So you mean everyone can use your website to track their pregnancy? Or does he/she has to go to anvil and create his/her own python codes?

raspberrycheesecake profile image
Hannah Hazi • Edited

Yes, anyone can just go to and use the site to track their pregnancy - they can sign up for emails if they want to as well, or just make an account.

The Python code part just shares how I made it - with a copy of my code and your own anvil app you could make your own version if you wanted to and host it somewhere else (maybe with even cooler emoji??)

srivera12 profile image
Sarah Rivera

This was a fun and interesting talk!

phaveey profile image

Thanks so much for this amazing talk, Hannah!
This has inspired me to create a mobile app before 2022 ends!!!

Your baby boy is so cute😍

raspberrycheesecake profile image
Hannah Hazi

Awesome! The more of us developing our own apps the better (and yes he is adorable, I may be a LITTLE biased though!)