Skip to content

Instantly share code, notes, and snippets.

@jmquintana79
Last active August 18, 2016 05:42
Show Gist options
  • Save jmquintana79/d3ebe418cd8c349d8e11 to your computer and use it in GitHub Desktop.
Save jmquintana79/d3ebe418cd8c349d8e11 to your computer and use it in GitHub Desktop.
head python for scripts and for modules
#!/usr/bin/env python
#! coding=utf-8
""" FOR SCRIPT """
"""
Copyright (C), <<year>>
FILE RUN: <<filename>>
<<description>>
AUTHOR: <juan.armaguedon@gmail.com>
CREATION DATE: <<date>>
LAST MODIFIED DATE: <<date>>
VERSION: <<version>>
PYTHON VERSION: 2.7
STATUS: <<produccion / desarrollo>>
INPUT: <<linput>>
OUTPUT: <<loutput>>
"""
""" FOR MODULES """
# echa un vistazo: http://epydoc.sourceforge.net/manual-fields.html#module-metadata-variables
__author__ = "Rob Knight, Gavin Huttley, and Peter Maxwell"
__copyright__ = "Copyright 2007, The Cogent Project"
__credits__ = ["Rob Knight", "Peter Maxwell", "Gavin Huttley",
"Matthew Wakefield"]
__license__ = "GPL"
__version__ = "1.0.1"
__maintainer__ = "Rob Knight"
__email__ = "rob@spot.colorado.edu"
__status__ = "Production"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment