1. Deploying a Python WSGI app with Vagrant and Puppet

    Wed 22 January 2014
    By Felipe Reyes

    These days the tendency among software companies is to have everything under version control systems (i.e. Git, Mercurial), all these is part of two software development strategies: continuous integration and continuous delivery. To read more about them I recommend you to read "Continuous Integration: Improving Software Quality and Reducing …

  2. Python Snippets

    Tue 01 January 2013
    By Felipe Reyes

    Property

    def Property(f):
        fget, fset, fdel = f()
        fdoc = f.__doc__
        return property(fget, fset, fdel, fdoc)
    

    Usage Example

    class TtyExample (object):
    
        def __init__ (self):
            self._name = None
    
        @Property
        def name(f):
            "The name"
            def fget (self):
                return self._name
    
            def fset (self, value):
                assert isinstance (value, basestring)
                assert value …