Skip to content

Instantly share code, notes, and snippets.

@NicolasBizzozzero
Last active February 3, 2024 23:31
Show Gist options
  • Star 44 You must be signed in to star a gist
  • Fork 11 You must be signed in to fork a gist
  • Save NicolasBizzozzero/6d4ca63f8482a1af99b0ed022c13b041 to your computer and use it in GitHub Desktop.
Save NicolasBizzozzero/6d4ca63f8482a1af99b0ed022c13b041 to your computer and use it in GitHub Desktop.
Python template of a comprehensive header, with shebang, docstring, GPLv3 license and all metadata.
#!/usr/bin/env python
""" Short description of this Python module.
Longer description of this module.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>.
"""
__author__ = "One solo developer"
__authors__ = ["One developer", "And another one", "etc"]
__contact__ = "mail@example.com"
__copyright__ = "Copyright $YEAR, $COMPANY_NAME"
__credits__ = ["One developer", "And another one", "etc"]
__date__ = "YYYY/MM/DD"
__deprecated__ = False
__email__ = "mail@example.com"
__license__ = "GPLv3"
__maintainer__ = "developer"
__status__ = "Production"
__version__ = "0.0.1"
@mobeigi
Copy link

mobeigi commented Jul 26, 2019

I like this header style! Thanks for sharing.

@bees-on-strike
Copy link

Handy. Thanks!

@rapala61
Copy link

Thank you. Just what I was looking for. Thanks for sharing.

@vascoludovico
Copy link

Thanks for sharing!

@djpaul-dev
Copy link

Thank you! :-)

@gonzaplazag
Copy link

Thanks for sharing!

@PeiranLi0930
Copy link

Thank you very much

@cperazal
Copy link

Thank you very much.!

@wolftales
Copy link

Thanks for sharing!

@Kyungpyo-Kim
Copy link

Thanks for sharing!

@CoffeeTonight
Copy link

Nice ! THX

@annakfg
Copy link

annakfg commented Jun 7, 2023

Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment