|
| 1 | +--- |
| 2 | +layout: entry |
| 3 | +title: November Python Pune Meetup 2015 |
| 4 | +category: meeting-notes |
| 5 | +--- |
| 6 | + |
| 7 | +[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. |
| 8 | + |
| 9 | +The theme of this month meetup was "Test, Build and Deploy your python projects". |
| 10 | + |
| 11 | +The meetup started with the first workshop "Package your python code using setuptools and wheels", where [Chandan Kumar](https://twitter.com/ciypro) talked about: |
| 12 | + |
| 13 | +* Why to package your python code? |
| 14 | +* Tools required for packaging |
| 15 | +* Necessary files like setup.py, setup.cfg, LICENSE and MANIFEST.in file needs to be included in the project repo. |
| 16 | +* How to define package metadata and configuration with in setup.py and setup.cfg files |
| 17 | +* Explained about setuptools and wheels format |
| 18 | +* Difference between eggs and wheels format |
| 19 | +* How to create source distribution and binary wheels distribution |
| 20 | +* How to ship binary files with wheels. |
| 21 | +* Talked about version-bump and check-manifest tools while creating packages |
| 22 | + |
| 23 | +For more information, check [python packaging website](https://packaging.python.org/en/latest/). |
| 24 | + |
| 25 | +The second workshop "Python testing using Mock and PyTest" was given by [Suraj Deshmukh](https://twitter.com/surajssd009005). |
| 26 | + |
| 27 | +He covered: |
| 28 | + |
| 29 | +* Introduction to python unittest mock library |
| 30 | +* followed by examples to |
| 31 | + * to mock values with in a test |
| 32 | + * How to customize mock objects |
| 33 | + * How to use specs to define attributes and create specs automatically |
| 34 | + * Covered how to patch methods using mock through an script to upload texts on fpaste.org |
| 35 | + * How to use side_effects through mock with in a method |
| 36 | + * Introduction to PyTest |
| 37 | + * Difference between Mock and PyTest |
| 38 | + * How to write and run PyTest |
| 39 | + * How to use fixtures with in a test. |
| 40 | + |
| 41 | +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) |
| 42 | + |
| 43 | +Then we have a long discussion between the attendees on different topics by sharing their problems and field of expertise. |
| 44 | + |
| 45 | +And, the last workshop "Deploying a flask application on OpenShift" was taken by [Abhijeet Kasurde](https://twitter.com/Pyro46). |
| 46 | + |
| 47 | +He had given a hands-on workshop on: |
| 48 | + |
| 49 | +* Create an account on OpenShift |
| 50 | +* Internals of OpenShift, gears and cartridges |
| 51 | +* How to install and use rhc to deploy your sample application |
| 52 | +* Clone a repo from OpenShift project repo created domain using git |
| 53 | +* Creating a simple flask app and displayed welcome message on OpenShift deployed app main page. |
| 54 | +* How to update your flask app on OpenShift Instance and integrate Jenkins on each commit. |
| 55 | + |
| 56 | +Here is the slide link for ["Deploying a flask application on OpenShift"](http://www.slideshare.net/godfatherabhi/deploying-flask-web-app-using-openshift) |
| 57 | + |
| 58 | +Thanks to Red Hat, Speakers and Volunteers for making the event successful. |
0 commit comments