Weekly Check-In #5

Published: 07/10/2021

This article covers the work assigned to me for the fifth week of my GSOC experience. This is last week before the first evaluation and I am very excited to conclude the first half and begin the next half with same grit and motivation.

What will I be doing?

This weeks my mentors want me to work on developing entry points for the scripts in the module. An "entry point" is typically a function (or other callable function-like object) that a developer or user of your Python package might want to use.

The most popular kind of entry point is the console_scripts entry point, which points to a function that you want made available as a command-line tool to whoever installs your package.

Though there is more than one way to define entry points, I will define them in setup.cfg file.

What problems did I face?

The first problem that I encountered as soon as I began this task was that not all scripts had a main() function defined in them. Now this is necessary because entry points access a function in the script that they make available to the used via the command-line directly.

So, first that is what I would like to focus on. While doing this I also have to keep in mind that I don't change too much code as it makes the review process very time-consuming for the mentors.