Skip to content

Python Pune Meetup Oct and Nov 2015 Event Report blog #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 12, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions _posts/2015-10-17-oct-python-pune-meetuo_event_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
layout: entry
title: October Python Pune Meetup 2015
category: meeting-notes
---

[October Python Pune meetup 2015](http://www.meetup.com/PythonPune/events/225891317/) was organized on 17th Oct, 2015 at [Red Hat, Pune (India) Office](http://www.redhat.com/en).
The agenda of the meetup was "Code Reading/Debugging".

[Chandan Kumar](https://twitter.com/ciypro) talked about "Read other's code".
He explained:

* Why to read others code?
* How to start reading code of a good project?
* Build and Run the project
* Explore the module used
* Use debugger to understand the code flow
* Draw flow-chart
* Comment or write docstrings for the methods
* Enhance test coverage to understand how methods are used
* Use search tool to find more about the modules and methods used
* Clean up the code using pep8, pylint or flake8 to improve the code.

Here is the slide link to [Read others code](https://speakerdeck.com/chkumar246/read-others-code).

[Praveen Kumar](https://twitter.com/kumar_pravin) talked about "PDB - Life Saver".
He covered:

* What is Debugger?
* Why pdb?
* Old way of debugging using print statement
* How to use pdb or ipdb to debug your code?

Here is the slide link to [PDB - Life Saver](https://github.com/praveenkumar/meetups/blob/master/python_meetup_Oct17/python_meetup.html).

[Sourav Singh](https://twitter.com/MrSouravSingh) talked about "Galaxy for Genomic Data Science".
He talked about:

* What is Galaxy?
* How to start working on galaxy to generate data sets
* How to store research work-flow
* Run galaxy locally
* Run galaxy on Cloud

Slides link to [Galaxy for Genomic Data Science](http://slides.com/souravsingh/deck-1/fullscreen#/).

And [Abhijeet Kasurde](https://twitter.com/Pyro46) talked about "how to contribute to Virt-Manager".
He explained:

* What is virt-manager?
* How to build and install virt-manager?
* Where to find code and find a bug to start contribution
* How to debug the code and send your first pull request
* Communication channel to use and how to report Bug.

Slides link to [How to contribute to Virt-Manager](http://www.slideshare.net/godfatherabhi/python-pune-october-meetup-2015).

As a part of Module of the Month, [Suraj](https://twitter.com/surajssd009005) talked about flake8 module, and how it different from pep8 and pylint.

Finally, the meetup ended with a good feedback.
Thanks to Red Hat and speakers for supporting us in organizing meetup.
58 changes: 58 additions & 0 deletions _posts/2015-11-29-nov-python-pune-meetuo_event_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
layout: entry
title: November Python Pune Meetup 2015
category: meeting-notes
---

[November Python Pune meetup 2015](http://www.meetup.com/PythonPune/events/226879086/) was organized at [Red Hat, Pune (India)](http://www.redhat.com/en) on 29th Nov, 2015.

The theme of this month meetup was "Test, Build and Deploy your python projects".

The meetup started with the first workshop "Package your python code using setuptools and wheels", where [Chandan Kumar](https://twitter.com/ciypro) talked about:

* Why to package your python code?
* Tools required for packaging
* Necessary files like setup.py, setup.cfg, LICENSE and MANIFEST.in file needs to be included in the project repo.
* How to define package metadata and configuration with in setup.py and setup.cfg files
* Explained about setuptools and wheels format
* Difference between eggs and wheels format
* How to create source distribution and binary wheels distribution
* How to ship binary files with wheels.
* Talked about version-bump and check-manifest tools while creating packages

For more information, check [python packaging website](https://packaging.python.org/en/latest/).

The second workshop "Python testing using Mock and PyTest" was given by [Suraj Deshmukh](https://twitter.com/surajssd009005).

He covered:

* Introduction to python unittest mock library
* followed by examples to
* to mock values with in a test
* How to customize mock objects
* How to use specs to define attributes and create specs automatically
* Covered how to patch methods using mock through an script to upload texts on fpaste.org
* How to use side_effects through mock with in a method
* Introduction to PyTest
* Difference between Mock and PyTest
* How to write and run PyTest
* How to use fixtures with in a test.

Here is the Slide link for ["Python testing using Mock and PyTest"](https://docs.google.com/presentation/d/19-gmffTji8diJfTL3-8NvgtXLskZOVhkSRU6Ng-v7no/edit?pli=1#slide=id.gd5ba8fb7c_0_46)

Then we have a long discussion between the attendees on different topics by sharing their problems and field of expertise.

And, the last workshop "Deploying a flask application on OpenShift" was taken by [Abhijeet Kasurde](https://twitter.com/Pyro46).

He had given a hands-on workshop on:

* Create an account on OpenShift
* Internals of OpenShift, gears and cartridges
* How to install and use rhc to deploy your sample application
* Clone a repo from OpenShift project repo created domain using git
* Creating a simple flask app and displayed welcome message on OpenShift deployed app main page.
* How to update your flask app on OpenShift Instance and integrate Jenkins on each commit.

Here is the slide link for ["Deploying a flask application on OpenShift"](http://www.slideshare.net/godfatherabhi/deploying-flask-web-app-using-openshift)

Thanks to Red Hat, Speakers and Volunteers for making the event successful.