LeoCumpli21's Blog

Second-week blog post for GSoC 2021

LeoCumpli21
Published: 06/14/2021

Hi everyone! This is my second post for Google Summer of Code (GSoC) 2021. The coding period has started and so far my experience has been most enjoyable. As I stated in my first post, this week I began working on my first milestone, and I can say I've done wonderfully.

What am I working on?

This week, a fellow collaborator (Ybrahin) and I worked on fixing the existing python quizzes of the project Python para Zombis. We divided the number of quizzes each one would fix; I get to fix 7. From those, I've completed 5. So far, I've done 5 PR's, 4 of which have been merged into the master branch, and 1 awaiting review. Completing a quiz fix also involves making a web test with pytest-playwright for an exercise in that quiz. Moreover, this weekend I did some research about Runestone supporting SQL language. This is relevant to us because there is a lesson in the project that is currently in standby due to the sqlite3 python module used in there. To be clear, Runestone doesn't support that module, and that's why this lesson isn't working.
Do you remember I talked about flake8 in my first post? Well, Ybrahin introduced me to another tool to automate code formatting, named Black.

Black is the uncompromising Python code formatter.
Black makes code review faster by producing the smallest diffs possible.

What have I struggled with this week?

I had no bigger problems than trouble understanding git commands. I am still getting used to working with GitHub, and sometimes I don't know the exact sintax, nor the correct time to execute them. Regarding python, I haven't struggled.

What solutions have I found?

If any doubts come to me while programming I tend to do one of two things:

  • Ask my workmates and mentors.
  • Try to find an answer from Google.

View Blog Post

First-week check-in for GSoC 2021

LeoCumpli21
Published: 06/07/2021

On May 17th I received the great news: Python Argentina, the organization I applied to, under the umbrella of Python Software Foundation (PSF), accepted me to contribute to their project titled PyZombis. Since then, all accepted students entered the community bonding period. For three weeks, I've been in touch with my mentors and with two other students.
PyZombis is intended to be a MOOC to teach Python to Spanish speakers.
This article is my first check-in of the journey I'm beginning. I'll answer 3 simple questions. Hope you enjoy.

What did I do this week?

So far, I've done solid progress. I got to know my working team and discussed everything around the project. We decided the techniques of how we'll be working this GSoC, and most importantly, we have separated our initial proposals into milestones and issues in GitHub. Also, as I'm new to GitHub, I had to learn its basics. I learned about PEP8, the Style Guide for Python Code, and about a tool that checks whether my code follows those rules, named flake8. I learned about Playwright as well, a tool to automate tests for web apps. Now, I feel ready to start the coding period.

What is coming up next?

Today, June 7th, the coding period starts. I'll be working for 2 months on this open source software project. These first two weeks, I'll focus on completing my first milestone: fixing existing code, adding python quizzes with unit test and adding minimal Playwright tests.

Did I get stuck anywhere?

Indeed. My second milestone involves using Brython and the Twitter API. My mentor recomended trying to combine both by integrating twitter-scraper library in Brython. Unfortunately, everything I have tried so far hasn't worked.
View Blog Post