Author: Parthvi Vala

March 22, 2018

Iterables are something that you can iterate on or something out of which you can create an iterator object. Any iterable object can be converted to an iterator with the help of iter() method. Iterable can be finite like list, tuple, string, dictionary, set, etc and also be an infinite flow of data like open […]

Continue Reading
March 21, 2018

Instead of returning a single value, a function can generate an entire sequence of results if it uses the yield statement. A generator is almost exactly the same as a plain function and it can be used in exactly the same way as an iterator(something that we can iterate on). There is one definite sign […]

Continue Reading
March 21, 2018

In my previous article, I discussed 2 different types of OTP and the basics of generating an OTP with django-otp. In this article I am going to write about creating a TOTP object and using that to generate and verify a token. Let’s create a class TOTPVerification . Check this code below. You can run it […]

Continue Reading
August 24, 2017

So recently, actually not so recently, I started working on my GSOC project to provide Registration with phone numbers on Cadasta Platform. Registration with phone number requires verifying the phone number. Verifying a phone number, is a simple procedure 1) User enters a phone number to register with. 2) Generate and send a One-Time Password(otp) […]

Continue Reading
August 24, 2017

That time of my life…(3) I’m not going to write about how I got into GSOC, I’ve already covered that in my last article, okay I will discuss a little about it here, but this article will mainly covers some lessons I learned, and somethings I should’ve done before- which I didn’t. So let’s get started. […]

Continue Reading
August 24, 2017

So, let’s get started with part-2. All that I’m going to write in this article is recent, so this article will be a tad bit long. February 2017 I attended PyCon Pune with two of my friends. I think it is one of the best thing that has happened to me. I attended my first PyCon. I attended my first dev-sprint. I […]

Continue Reading
August 24, 2017

So it’s that time of my life when I graduate from college. That time of my life when I turn 21, and that time of my life when I crack GSOC. So(I think I’ve started using “SO” too much 0.O) I’m going to write about my experience with GSOC/Outreachy, and some tips for everyone who […]

Continue Reading