[Chennaipy] Minutes for november meet-up

Abhishek bigbeliever at gmail.com
Mon Nov 25 19:21:21 CET 2013


Hi friends,
Here's what happened at the meetup -

-----

== November meetup
Zilogic Systems
23-Nov-2013

== Building open source Python applications the right way
Kiran G : @kiran89

This talk was about the best practices that should be followed while
developing open source applications in Python. Here are some salient points
-

- Project structure should some necessary files/folders -
  application
  tests
  documentation
  dependencies
  setup
  publish
  Makefile
  Author
  Changelog
  Contributing
  License
- Don't bloat code with classes
- Commonly used libraries: py.test unitest Nose
- Use pep-257 for documentation
- Sphinx for documentation
- Use requirements.txt for dependency manangement
- Use virtualenv for setup
- Use setup.py for publish, package and upload it to PyPI
    python setup.py register         ## register on PyPI
    python setup.py sdist upload  ## package and upload
- Task execution - Use a Makefile
- Resource on licences - tldrlegal.com
- Boilerplate example: github.com/kirang89/bootstrapy

There were discussions on the usage of 'make' in Python projects and on
'virtualenv' for GUI based Python applications.

== An introduction to Ansible
Abhishek

This talk was about Ansible, the deployment and configuration management
tool. The speaker talked about the problems he faced in deployment and
configuration for web projects, the possible solutions, and how Ansible
helps. There was a small demo of Nginx installation, which lead to a
discussion on ideas of agent-less and agent-enabled management. There was
also a discussion on how Ansible implements idempotence.

------

Please add/correct if I missed anything here.
Regards,
Abhishek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20131125/0fc262a6/attachment.html>


More information about the Chennaipy mailing list