Showing posts with label meetup. Show all posts
Showing posts with label meetup. Show all posts

Friday, 16 September 2016

PyLadies Meetup Event Report


We had our pyladies meetup this Saturday, last week we were not able to do as in Maharashtra, there is a festival Ganesh Chaturthi, honouring the birth of Lord Ganesha it is celebrated for ten days so we planned to do meet this week instead of last week. Again it was great meetup, started with Nisha Menon’s talk “The practical usage of Python", but unfortunately I missed it this time : ( , when I reached she was about to finish. I was late as that morning I decided to try something new in breakfast ie radish parathas that took a lot of time to prepare, but that was a good experiment as they were mouth-watering. So after having a delicious parathas with curd and pickle I reached there, and took my seat, everyone was already ready with their laptop, this time there were lot of new faces, many new student had come to attend the meetup, without delaying anymore I also get started as by that time Nisha talk was ended and she invited Trishna for her session. 


She was going to take a session on “Using WEB API in Python3 “. So before starting she just confirmed how many of us were familiar with Python basics, as it was discussed in previous meetup. But still for the new members and to brush up our knowledge she revised all the basics to keep us all on a same platform. Although it was a revision session but she explained each and everything and gave time to all of us to try the different commands on our terminal and solved everyone queries. Thanks to her for that, then she discussed about the things which we were going to do in our workshop that day. She has chosen a great topic and problem for the workshop. We were going to use the API of Zomato website. It seems very interesting as it was about food, and everyone love that. So we generated an API_KEY for that, by that time it was the time for lunch, so we all went for lunch. 


Kushal and Praveen ordered lunch for us, thanks to them to fill our hungry tummy. During lunch we all had discussion on different topics related to python and other stuffs.  Also Kushal took the students for a small walk in redhat. After lunch we all gathered in the same room named Harishchandgarh which reminds me of King HARISHCHANDRA who never lied and always kept his promise. We all were set, one of us was facing problem with her laptop, as she was having a window laptop, so it was suggested by Kushal to switch to linux as it is far easy to handle problems on it and its best if we want to contribute to development side or  to any project. So for that time a laptop was arranged for her with linux. Then we all were set to start. 

Trishna made us familiar with “requests” module in python3 which is the only Non-GMO HTTP library for Python. We all installed the requests module as it was required for the session from the below commands.
  • dnf install python3-requests
So the task was we have to list out the nearby restaurants to our current location, for that we used the longitude and latitude to provide our current location. We wrote a python3  program for searching the restaurants, added to it also the url for menu and we were able to list the nearby restaurants with menu url near Magarpatta, the list was as below for restaurants names if someone want to visit any:
  • Deccan Harvest
  • Cuba Libre
  • Wah Marathi Dine N Wine
  • TGI Fridays
  • Rajdhani Thali Restaurant
  • Eagle Boys Pizza
  • Charcoal Grill
  • The Waffles Hut
  • Barbeque Nation

Then we played with the code , Trishna assigned us to find the restaurants which have chinese cuisine and we all tried that ourself and found out one restaurants from above restaurants which have chinese cuisine => Deccan Harvest
After completing it we started playing with the code to find out the various other things like finding User rating, currency accepted, photo url for different restaurants. With this the event ended, with a discussion to meet next month.

Monday, 25 April 2016

My First Fedora Meetup

Yesterday I attended a Fedora meetup where we discussed about how to write Test Cases in Python. This was my first meetup after I have started learning Python. When I reached the place there were around 12 people sitting with their laptops, then I also joined them. Few people were knowing each other, few were new like me. So, Kushal who was organising the meetup decided to have an quick intro so that we may know about each other. After intro I came to know some were college students, some were working and all of them were keen to contribute something and were passionate for leaning new things for which we were gathered there. Then he gave an introduction on Unittest module which was our topic of discussion for that day. After this Kushal told what we are actually going to do today and its benefits and how we can relate and impliment that in our work. Then he gave an example of unit test in which "cat" command was tested and we all tried it in our own laptops and it was a success to run that unit test. In between we have some snacks like cold drink and samosa . All of us enjoyed this refreshment. Then Kushal decided to give different Test cases to everyone rather than all working on the same problem so that it will be more beneficial as we all will learn more by this, as a new challange will be there for everyone. Although it was not easy to think a new problem for each of us but still Kushal ended up by assigning a problem  to everyone who were present there. Chandan and Praveen were helping him in this, all three of them were there to help us with our queries.

After we got the problem, we started writing unittest for the assigned query. I was assigned a problem in which I have to test can we create a loopback device and perform file system operation without losing the file. In between doubts and questions were coming from the participants which were answered by either of the three. The environment was like that we are working on a crucial project as everyone was writing their test cases and running them to get the desired output. I was also so indulged in my Unit test case  that I don't how the three hours went, I came to know its 9 when Kushal told lets finish it here, we will continue in next meetup. Then he told us to some basics things and asked us to give feedback about the meetup. Then all of us winded up and it was decided we will do the remaining part at our own place and the will push the code on github, if there will be some issue we can contact Kushal by droping a mail or on IRC.

(pics by @anweshasrk)