{ "info": { "author": "Jeremy Carbaugh", "author_email": "jcarbaugh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "====\nlice\n====\n\n\nLice generates license files. No more hunting down licenses from other projects.\n\nInstallation\n------------\n\nAbout what you'd expect::\n\n easy_install lice\n\nor::\n\n pip install lice\n\n\nOverview\n--------\n\nGenerate a BSD-3 license, the default::\n\n $ lice\n Copyright (c) 2013, Jeremy Carbaugh\n\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without modification,\n ...\n\nGenerate an MIT license::\n\n $ lice mit\n The MIT License (MIT)\n Copyright (c) 2013 Jeremy Carbaugh\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n ...\n\nGenerate a BSD-3 license, specifying the year and organization to be used::\n\n $ lice -y 2012 -o \"Sunlight Foundation\"\n Copyright (c) 2012, Sunlight Foundation\n\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without modification,\n ...\n\nGenerate a BSD-3 license, formatted for python source file::\n \n $ lice -l py\n\n # Copyright (c) 2012, Sunlight Foundation\n #\n # All rights reserved.\n #\n # Redistribution and use in source and binary forms, with or without modification,\n ...\n\nGenerate a python source file with a BSD-3 license commented in the header::\n \n $ lice -l py -f test\n $ ls\n test.py\n $ cat test.py\n\n # Copyright (c) 2012, Sunlight Foundation\n #\n # All rights reserved.\n #\n # Redistribution and use in source and binary forms, with or without modification,\n ...\n\nGenerate a source file (language detected by -f extension)::\n\n $ lice -f test.c && cat test.c\n /*\n * Copyright (c) 2012, Sunlight Foundation\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification,\n ...\n\n\nIf organization is not specified, lice will first attempt to use `git config` to find your name. If not found, it will use the value of the $USER environment variable. If the project name is not specified, the name of the current directory is used. Year will default to the current year.\n\nYou can see what variables are available to you for any of the licenses::\n\n $ lice --vars mit\n The mit license template contains the following variables:\n year\n organization\n\n\nI want XXXXXXXXX license in here!\n---------------------------------\n\nGreat! Is it a license that is commonly used? If so, open an issue or, if you are feeling generous, fork and submit a pull request.\n\n\nUsage\n-----\n::\n\n usage: lice [-h] [-o ORGANIZATION] [-p PROJECT] [-t TEMPLATE_PATH] [-y YEAR]\n [--vars] [license]\n\n positional arguments:\n license the license to generate, one of: agpl3, apache, bsd2,\n bsd3, cddl, cc0, epl, gpl2, gpl3, lgpl, mit, mpl\n\n optional arguments:\n -h, --help show this help message and exit\n -o ORGANIZATION, --org ORGANIZATION\n organization, defaults to .gitconfig or\n os.environ[\"USER\"]\n -p PROJECT, --proj PROJECT\n name of project, defaults to name of current directory\n -t TEMPLATE_PATH, --template TEMPLATE_PATH\n path to license template file\n -y YEAR, --year YEAR copyright year\n -l LANGUAGE, --language LANGUAGE\n format output for language source file, one of: js, f,\n css, c, m, java, py, cc, h, html, lua, erl, rb, sh,\n f90, hpp, cpp, pl, txt [default is not formatted (txt)]\n -f OFILE, --file OFILE Name of the output source file (with -l, extension can be omitted)\n --vars list template variables for specified license\n\n\nChangelog\n---------\n\n**0.4**\n\n* Use ASCII instead of Unicode for templates (thanks to `tabletcorry `_)\n* Add Academic Free License (\"AFL\") v. 3.0 (thanks to `brianray `_)\n* Add ISC (thanks to `masklinn `_)\n* Add tox support for testing (thanks to `lukaszb `_)\n* Show defaults when listing template variables\n\n**0.3**\n\n* Generate source file headers for some liceneses\n* Discover available licenses at runtime\n* Use getpass module for retrieving username\n* Better unicode support for Python 3 (thanks to `astagi `_)\n* Add Creative Commons licenese (thanks to `rjnienaber `_)\n\n**0.2**\n\n* Add AGPL 3 license\n* Add extra templates variables to GPL 2 and 3\n\n**0.1**\n\n* Initial release\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/licenses/lice", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "lice", "package_url": "https://pypi.org/project/lice/", "platform": "any", "project_url": "https://pypi.org/project/lice/", "project_urls": { "Homepage": "https://github.com/licenses/lice" }, "release_url": "https://pypi.org/project/lice/0.5/", "requires_dist": null, "requires_python": "", "summary": "Generate a license file for a project", "version": "0.5" }, "last_serial": 3140595, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "aa64610b088ac10cc6bcd899ee3c1911", "sha256": "223ac0d603ec97a56c8330fcc47db0847b9b11e7f8900b62f95f14709a612cc6" }, "downloads": -1, "filename": "lice-0.1.tar.gz", "has_sig": false, "md5_digest": "aa64610b088ac10cc6bcd899ee3c1911", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41064, "upload_time": "2013-01-19T03:55:16", "url": "https://files.pythonhosted.org/packages/b1/4b/75b5b82b617cd63c15961a4829657229b7265337a4e9511597603e0193c8/lice-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "60fb5f693a596d35af0c22b3fef04002", "sha256": "d55a3298d0234bbec4a25d372446768a6c20da9859cfe7152250b58300988fd8" }, "downloads": -1, "filename": "lice-0.2.tar.gz", "has_sig": false, "md5_digest": "60fb5f693a596d35af0c22b3fef04002", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51889, "upload_time": "2013-01-25T15:59:15", "url": "https://files.pythonhosted.org/packages/86/34/79aefe2d4aeb8135133dadf552738d561e072b5fac154279d97df6d8a471/lice-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "90a825e5053a9c70baa552a51ca7566b", "sha256": "5b665a830ae5f024e3ae03f2bb613add6a4227ebb36fd678b5deb8c25d19548f" }, "downloads": -1, "filename": "lice-0.3.tar.gz", "has_sig": false, "md5_digest": "90a825e5053a9c70baa552a51ca7566b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64504, "upload_time": "2013-02-22T17:09:36", "url": "https://files.pythonhosted.org/packages/e1/a4/48f933ea62ac4a0d74b013e7c2b8824628e122649930927ca81119b35188/lice-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "5c9194c486c090ca197a38d701a4d775", "sha256": "e482728f4da7aaa356fd51fc8a347f4e621981b03d80888d9543121c1347f897" }, "downloads": -1, "filename": "lice-0.4.tar.gz", "has_sig": false, "md5_digest": "5c9194c486c090ca197a38d701a4d775", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68828, "upload_time": "2013-06-03T16:27:25", "url": "https://files.pythonhosted.org/packages/54/36/f4a3e776a88b1aee3aec229c36e996e7d7ea34abae2c26e5772e998b30f7/lice-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "aad2eb0f4daefef03e23de03f70bebb1", "sha256": "5f75e09e2f586087e816c735f4138d247d4b017aaa29feffab95e74ead43e91f" }, "downloads": -1, "filename": "lice-0.5.tar.gz", "has_sig": false, "md5_digest": "aad2eb0f4daefef03e23de03f70bebb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 71168, "upload_time": "2017-09-01T14:21:10", "url": "https://files.pythonhosted.org/packages/5b/5f/be2e6f7470138cf0b3169b9098a6f742926d6f8b231b37ea258a5b6f0ef9/lice-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aad2eb0f4daefef03e23de03f70bebb1", "sha256": "5f75e09e2f586087e816c735f4138d247d4b017aaa29feffab95e74ead43e91f" }, "downloads": -1, "filename": "lice-0.5.tar.gz", "has_sig": false, "md5_digest": "aad2eb0f4daefef03e23de03f70bebb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 71168, "upload_time": "2017-09-01T14:21:10", "url": "https://files.pythonhosted.org/packages/5b/5f/be2e6f7470138cf0b3169b9098a6f742926d6f8b231b37ea258a5b6f0ef9/lice-0.5.tar.gz" } ] }