roundabout,
created on Thursday, 5 September 2024, 09:42:11 (1725529331),
received on Thursday, 5 September 2024, 10:39:47 (1725532787)
Author identity: vlad <vlad.muntoiu@gmail.com>
e004f2c4ab91a9d5176ea35cb14b02f3f1857d11
app.py
@@ -60,17 +60,21 @@ with app.app_context():
title = db.Column(db.UnicodeText, nullable=False) # the official name of the licence description = db.Column(db.UnicodeText, nullable=False) # brief description of its permissions and restrictions legal_text = db.Column(db.UnicodeText, nullable=False) # the full legal text of the licence url = db.Column(db.String(2048), nullable=True) # the URL to a page with the full text of the licence and more informationurl = db.Column(db.String(1024), nullable=True) # the URL to a page with the full text of the licence and more informationpictures = db.relationship("PictureLicence", back_populates="licence") free = db.Column(db.Boolean, nullable=False, default=False) # whether the licence is free or not logo_url = db.Column(db.String(1024), nullable=True) # URL to the logo of the licence pinned = db.Column(db.Boolean, nullable=False, default=False) # whether the licence should be shown at the top of the listdef __init__(self, id, title, description, legal_text, url, free):def __init__(self, id, title, description, legal_text, url, free, logo_url=None, pinned=False):self.id = id self.title = title self.description = description self.legal_text = legal_text self.url = url self.free = free self.logo_url = logo_url self.pinned = pinnedclass PictureLicence(db.Model):
@@ -291,7 +295,8 @@ def profile(username):
@app.route("/upload") def upload(): return flask.render_template("upload.html")licences = Licence.query.all() return flask.render_template("upload.html", licences=licences)@app.route("/upload", methods=["POST"])
basic_rows.py
@@ -1,6 +1,12 @@
from app import Licence, PictureObject, db # Prefix non-SPDX licences with "X-" # Order of licences is: # 1. Free, pinned licences # 2. Other free licences # 3. Non-free, pinned licences # 4. Other non-free licences # Non-free licences may only be used in multi-licences with at least one free licence.def add_licences(): licences = [
@@ -65,7 +71,7 @@ def add_licences():
"Public domain equivalent, with a fallback lax licence if public domain is not possible.", "https://creativecommons.org/publicdomain/zero/1.0/", "https://creativecommons.org/publicdomain/zero/1.0/legalcode.en", free=True),free=True, pinned=True, logo_url="https://licensebuttons.net/l/zero/1.0/88x31.png"),Licence("X-Public-domain", "Public domain dedication", "Author has explicitly dedicated the work to the public domain; please provide original statement and evidence.", "", "", free=True),
@@ -85,7 +91,7 @@ def add_licences():
"the name of the licence, and the author, if applicable.", "https://creativecommons.org/licenses/by/1.0/", "https://creativecommons.org/licenses/by/1.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by/1.0/88x31.png"),Licence("CC-BY-2.0", "Creative Commons Attribution v2.0", "The second Creative Commons Attribution licence. Not recommended for new works. " "Please specify if a regional variant or 2.1 is used in the description. "
@@ -93,7 +99,7 @@ def add_licences():
"the name of the licence, and the author, if applicable.", "https://creativecommons.org/licenses/by/2.0/", "https://creativecommons.org/licenses/by/2.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by/2.0/88x31.png"),Licence("CC-BY-2.5", "Creative Commons Attribution v2.5", "A modification of Creative Commons Attribution v2.0. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -101,7 +107,7 @@ def add_licences():
"the name of the licence, and the author, if applicable.", "https://creativecommons.org/licenses/by/2.5/", "https://creativecommons.org/licenses/by/2.5/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by/2.5/88x31.png"),Licence("CC-BY-3.0", "Creative Commons Attribution v3.0", "The third Creative Commons Attribution licence. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -109,7 +115,7 @@ def add_licences():
"the name of the licence, and the author, if applicable.", "https://creativecommons.org/licenses/by/3.0/", "https://creativecommons.org/licenses/by/3.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by/3.0/88x31.png"),Licence("CC-BY-4.0", "Creative Commons Attribution v4.0", "The fourth and most recent Creative Commons Attribution licence. Recommended for new works. " "This licence doesn't have regional variants; translations are equivalent. "
@@ -117,7 +123,7 @@ def add_licences():
"the name of the licence, and the author, if applicable.", "https://creativecommons.org/licenses/by/4.0/", "https://creativecommons.org/licenses/by/4.0/legalcode.en", free=True),free=True, pinned=True, logo_url="https://licensebuttons.net/l/by/4.0/88x31.png"),# Creative Commons ShareAlike licences Licence("CC-SA-1.0", "Creative Commons ShareAlike v1.0", "The first Creative Commons ShareAlike licence. Very rare nowadays; not recommended for new works. "
@@ -126,7 +132,7 @@ def add_licences():
"This family of licences has been discontinued by Creative Commons.", "https://creativecommons.org/licenses/sa/1.0/", "https://creativecommons.org/licenses/sa/1.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/sa/1.0/88x31.png"),# Creative Commons Attribution-ShareAlike licences Licence("CC-BY-SA-1.0", "Creative Commons Attribution-ShareAlike v1.0", "The first Creative Commons Attribution-ShareAlike licence. Very rare nowadays; not recommended for new works. "
@@ -135,7 +141,7 @@ def add_licences():
"or select compatible licences.", "https://creativecommons.org/licenses/by-sa/1.0/", "https://creativecommons.org/licenses/by-sa/1.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by-sa/1.0/88x31.png"),Licence("CC-BY-SA-2.0", "Creative Commons Attribution-ShareAlike v2.0", "The second Creative Commons Attribution-ShareAlike licence. Not recommended for new works. " "Please specify if a regional variant or 2.1 is used in the description. "
@@ -143,7 +149,7 @@ def add_licences():
"or select compatible licences.", "https://creativecommons.org/licenses/by-sa/2.0/", "https://creativecommons.org/licenses/by-sa/2.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by-sa/2.0/88x31.png"),Licence("CC-BY-SA-2.5", "Creative Commons Attribution-ShareAlike v2.5", "A modification of Creative Commons Attribution-ShareAlike v2.0. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -151,7 +157,7 @@ def add_licences():
"or select compatible licences.", "https://creativecommons.org/licenses/by-sa/2.5/", "https://creativecommons.org/licenses/by-sa/2.5/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by-sa/2.5/88x31.png"),Licence("CC-BY-SA-3.0", "Creative Commons Attribution-ShareAlike v3.0", "The third Creative Commons Attribution-ShareAlike licence. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -159,7 +165,7 @@ def add_licences():
"or select compatible licences.", "https://creativecommons.org/licenses/by-sa/3.0/", "https://creativecommons.org/licenses/by-sa/3.0/legalcode.en", free=True),free=True, logo_url="https://licensebuttons.net/l/by-sa/3.0/88x31.png"),Licence("CC-BY-SA-4.0", "Creative Commons Attribution-ShareAlike v4.0", "The fourth and most recent Creative Commons Attribution-ShareAlike licence. Recommended for new works. " "This licence doesn't have regional variants; translations are equivalent. "
@@ -167,7 +173,7 @@ def add_licences():
"or select compatible licences.", "https://creativecommons.org/licenses/by-sa/4.0/", "https://creativecommons.org/licenses/by-sa/4.0/legalcode.en", free=True),free=True, pinned=True, logo_url="https://licensebuttons.net/l/by-sa/4.0/88x31.png"),# Creative Commons NonCommercial licences Licence("CC-NC-1.0", "Creative Commons NonCommercial v1.0", "The first Creative Commons NonCommercial licence. Very rare nowadays; not recommended for new works. "
@@ -176,7 +182,7 @@ def add_licences():
"This family of licences has been discontinued by Creative Commons.", "https://creativecommons.org/licenses/nc/1.0/", "https://creativecommons.org/licenses/nc/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/nc/1.0/88x31.png"),# Creative Commons Attribution-NonCommercial licences Licence("CC-BY-NC-1.0", "Creative Commons Attribution-NonCommercial v1.0", "The first Creative Commons Attribution-NonCommercial licence. Very rare nowadays; not recommended for new works. "
@@ -184,35 +190,35 @@ def add_licences():
"Only allows non-commercial use of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc/1.0/", "https://creativecommons.org/licenses/by-nc/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc/1.0/88x31.png"),Licence("CC-BY-NC-2.0", "Creative Commons Attribution-NonCommercial v2.0", "The second Creative Commons Attribution-NonCommercial licence. Not recommended for new works. " "Please specify if a regional variant or 2.1 is used in the description. " "Only allows non-commercial use of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc/2.0/", "https://creativecommons.org/licenses/by-nc/2.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc/2.0/88x31.png"),Licence("CC-BY-NC-2.5", "Creative Commons Attribution-NonCommercial v2.5", "A modification of Creative Commons Attribution-NonCommercial v2.0. Not recommended for new works. " "Please specify if a regional variant is used in the description. " "Only allows non-commercial use of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc/2.5/", "https://creativecommons.org/licenses/by-nc/2.5/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc/2.5/88x31.png"),Licence("CC-BY-NC-3.0", "Creative Commons Attribution-NonCommercial v3.0", "The third Creative Commons Attribution-NonCommercial licence. Not recommended for new works. " "Please specify if a regional variant is used in the description. " "Only allows non-commercial use of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc/3.0/", "https://creativecommons.org/licenses/by-nc/3.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc/3.0/88x31.png"),Licence("CC-BY-NC-4.0", "Creative Commons Attribution-NonCommercial v4.0", "The fourth and most recent Creative Commons Attribution-NonCommercial licence. " "This licence doesn't have regional variants; translations are equivalent. " "Only allows non-commercial use of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc/4.0/", "https://creativecommons.org/licenses/by-nc/4.0/legalcode.en", free=False),free=False, pinned=True, logo_url="https://licensebuttons.net/l/by-nc/4.0/88x31.png"),# Creative Commons Attribution-NonCommercial-ShareAlike licences Licence("CC-BY-NC-SA-1.0", "Creative Commons Attribution-NonCommercial-ShareAlike v1.0", "The first Creative Commons Attribution-NonCommercial-ShareAlike licence. Very rare nowadays; not recommended for new works. "
@@ -221,7 +227,7 @@ def add_licences():
"and sharing of modifications under the same terms, or select compatible licences.", "https://creativecommons.org/licenses/by-nc-sa/1.0/", "https://creativecommons.org/licenses/by-nc-sa/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-sa/1.0/88x31.png"),Licence("CC-BY-NC-SA-2.0", "Creative Commons Attribution-NonCommercial-ShareAlike v2.0", "The second Creative Commons Attribution-NonCommercial-ShareAlike licence. Not recommended for new works. " "Please specify if a regional variant or 2.1 is used in the description. "
@@ -229,7 +235,7 @@ def add_licences():
"and sharing of modifications under the same terms, or select compatible licences.", "https://creativecommons.org/licenses/by-nc-sa/2.0/", "https://creativecommons.org/licenses/by-nc-sa/2.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-sa/2.0/88x31.png"),Licence("CC-BY-NC-SA-2.5", "Creative Commons Attribution-NonCommercial-ShareAlike v2.5", "A modification of Creative Commons Attribution-NonCommercial-ShareAlike v2.0. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -237,7 +243,7 @@ def add_licences():
"and sharing of modifications under the same terms, or select compatible licences.", "https://creativecommons.org/licenses/by-nc-sa/2.5/", "https://creativecommons.org/licenses/by-nc-sa/2.5/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-sa/2.5/88x31.png"),Licence("CC-BY-NC-SA-3.0", "Creative Commons Attribution-NonCommercial-ShareAlike v3.0", "The third Creative Commons Attribution-NonCommercial-ShareAlike licence. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -245,7 +251,7 @@ def add_licences():
"and sharing of modifications under the same terms, or select compatible licences.", "https://creativecommons.org/licenses/by-nc-sa/3.0/", "https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png"),Licence("CC-BY-NC-SA-4.0", "Creative Commons Attribution-NonCommercial-ShareAlike v4.0", "The fourth and most recent Creative Commons Attribution-NonCommercial-ShareAlike licence. " "This licence doesn't have regional variants; translations are equivalent. "
@@ -253,7 +259,7 @@ def add_licences():
"and sharing of modifications under the same terms, or select compatible licences.", "https://creativecommons.org/licenses/by-nc-sa/4.0/", "https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en", free=False),free=False, pinned=True, logo_url="https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png"),# Creative Commons NoDerivatives licences Licence("CC-ND-1.0", "Creative Commons NoDerivatives v1.0", "The first Creative Commons NoDerivatives licence. Very rare nowadays; not recommended for new works. "
@@ -262,7 +268,7 @@ def add_licences():
"This family of licences has been discontinued by Creative Commons.", "https://creativecommons.org/licenses/nd/1.0/", "https://creativecommons.org/licenses/nd/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/nd/1.0/88x31.png"),# Creative Commons Attribution-NoDerivatives licences Licence("CC-BY-ND-1.0", "Creative Commons Attribution-NoDerivatives v1.0", "The first Creative Commons Attribution-NoDerivatives licence. Very rare nowadays; not recommended for new works. "
@@ -270,35 +276,35 @@ def add_licences():
"Only allows distribution of unmodified copies of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nd/1.0/", "https://creativecommons.org/licenses/by-nd/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nd/1.0/88x31.png"),Licence("CC-BY-ND-2.0", "Creative Commons Attribution-NoDerivatives v2.0", "The second Creative Commons Attribution-NoDerivatives licence. Not recommended for new works. " "Please specify if a regional variant or 2.1 is used in the description. " "Only allows distribution of unmodified copies of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nd/2.0/", "https://creativecommons.org/licenses/by-nd/2.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nd/2.0/88x31.png"),Licence("CC-BY-ND-2.5", "Creative Commons Attribution-NoDerivatives v2.5", "A modification of Creative Commons Attribution-NoDerivatives v2.0. Not recommended for new works. " "Please specify if a regional variant is used in the description. " "Only allows distribution of unmodified copies of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nd/2.5/", "https://creativecommons.org/licenses/by-nd/2.5/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nd/2.5/88x31.png"),Licence("CC-BY-ND-3.0", "Creative Commons Attribution-NoDerivatives v3.0", "The third Creative Commons Attribution-NoDerivatives licence. Not recommended for new works. " "Please specify if a regional variant is used in the description. " "Only allows distribution of unmodified copies of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nd/3.0/", "https://creativecommons.org/licenses/by-nd/3.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nd/3.0/88x31.png"),Licence("CC-BY-ND-4.0", "Creative Commons Attribution-NoDerivatives v4.0", "The fourth and most recent Creative Commons Attribution-NoDerivatives licence. " "This licence doesn't have regional variants; translations are equivalent. " "Only allows distribution of unmodified copies of the work, and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nd/4.0/", "https://creativecommons.org/licenses/by-nd/4.0/legalcode.en", free=False),free=False, pinned=True, logo_url="https://licensebuttons.net/l/by-nd/4.0/88x31.png"),# Creative Commons NonCommercial-NoDerivatives licences Licence("CC-NC-ND-1.0", "Creative Commons NonCommercial-NoDerivatives v1.0", "The first Creative Commons NonCommercial-NoDerivatives licence. Very rare nowadays; not recommended for new works. "
@@ -307,7 +313,7 @@ def add_licences():
"This family of licences has been discontinued by Creative Commons.", "https://creativecommons.org/licenses/nc-nd/1.0/", "https://creativecommons.org/licenses/nc-nd/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/nd-nc/1.0/88x31.png"),# Creative Commons Attribution-NonCommercial-NoDerivatives licences Licence("CC-BY-NC-ND-1.0", "Creative Commons Attribution-NonCommercial-NoDerivatives v1.0", "The first Creative Commons Attribution-NonCommercial-NoDerivatives licence. Very rare nowadays; not recommended for new works. "
@@ -316,7 +322,7 @@ def add_licences():
"and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc-nd/1.0/", "https://creativecommons.org/licenses/by-nc-nd/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nd-nc/1.0/88x31.png"),Licence("CC-BY-NC-ND-2.0", "Creative Commons Attribution-NonCommercial-NoDerivatives v2.0", "The second Creative Commons Attribution-NonCommercial-NoDerivatives licence. Not recommended for new works. " "Please specify if a regional variant or 2.1 is used in the description. "
@@ -324,7 +330,7 @@ def add_licences():
"and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc-nd/2.0/", "https://creativecommons.org/licenses/by-nc-nd/2.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-nd/2.0/88x31.png"),Licence("CC-BY-NC-ND-2.5", "Creative Commons Attribution-NonCommercial-NoDerivatives v2.5", "A modification of Creative Commons Attribution-NonCommercial-NoDerivatives v2.0. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -332,7 +338,7 @@ def add_licences():
"and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc-nd/2.5/", "https://creativecommons.org/licenses/by-nc-nd/2.5/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-nd/2.5/88x31.png"),Licence("CC-BY-NC-ND-3.0", "Creative Commons Attribution-NonCommercial-NoDerivatives v3.0", "The third Creative Commons Attribution-NonCommercial-NoDerivatives licence. Not recommended for new works. " "Please specify if a regional variant is used in the description. "
@@ -340,7 +346,7 @@ def add_licences():
"and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc-nd/3.0/", "https://creativecommons.org/licenses/by-nc-nd/3.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/by-nc-nd/3.0/88x31.png"),Licence("CC-BY-NC-ND-4.0", "Creative Commons Attribution-NonCommercial-NoDerivatives v4.0", "The fourth and most recent Creative Commons Attribution-NonCommercial-NoDerivatives licence. " "This licence doesn't have regional variants; translations are equivalent. "
@@ -348,7 +354,7 @@ def add_licences():
"and only with attribution to the original author (just like CC BY).", "https://creativecommons.org/licenses/by-nc-nd/4.0/", "https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.en", free=False),free=False, pinned=True, logo_url="https://licensebuttons.net/l/by-nc-nd/4.0/88x31.png"),# Other Creative Commons licences Licence("CC-Sampling-1.0", "Creative Commons Sampling v1.0", "An old and uncommon Creative Commons licence that allows only 'creative transformation' of the work, "
@@ -356,28 +362,28 @@ def add_licences():
"Please specify if a regional variant is used in the description.", "https://creativecommons.org/licenses/sampling/1.0/", "https://creativecommons.org/licenses/sampling/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/sampling/1.0/88x31.png"),Licence("CC-Sampling-Plus-1.0", "Creative Commons Sampling Plus v1.0", "An old and uncommon Creative Commons licence that allows 'creative transformation' of the work, " "commercially or non-commercially, and non-commercial full distribution. Also requires attribution to the original author like CC BY. " "Not recommended for new works. Please specify if a regional variant is used in the description.", "https://creativecommons.org/licenses/sampling+/1.0/", "https://creativecommons.org/licenses/sampling+/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/sampling+/1.0/88x31.png"),Licence("CC-NC-Sampling-Plus-1.0", "Creative Commons NonCommercial Sampling Plus v1.0", "An old and uncommon Creative Commons licence that allows only some kinds of non-commercial sampling " "and distribution of the work. Also requires attribution to the original author like CC BY." "Not recommended for new works. Please specify if a regional variant is used in the description.", "https://creativecommons.org/licenses/nc-sampling+/1.0/", "https://creativecommons.org/licenses/nc-sampling+/1.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/nc-sampling+/1.0/88x31.png"),Licence("CC-DevNations-2.0", "Creative Commons Developing Nations v2.0", "An old and uncommon Creative Commons licence that allows distribution of the work in developing nations only. " "Also requires attribution to the original author like CC BY. Not recommended for new works. " "Please specify if a regional variant is used in the description.", "https://creativecommons.org/licenses/devnations/2.0/", "https://creativecommons.org/licenses/devnations/2.0/legalcode.en", free=False),free=False, logo_url="https://licensebuttons.net/l/devnations/2.0/88x31.png"),# Open Data Commons licences Licence("ODbL-1.0", "Open Data Commons Open Database Licence v1.0", "A licence for databases that allows free use, modification, and distribution, "
@@ -434,7 +440,7 @@ def add_licences():
"as well as requiring the licence notice to be included in distributions.", "https://www.gnu.org/licenses/gpl-3.0.html", "https://www.gnu.org/licenses/gpl-3.0.html", free=True),free=True, logo_url="https://www.gnu.org/graphics/gplv3-127x51.png"),Licence("GPL-3.0-or-later", "GNU General Public Licence v3.0 or later", "Any of the versions of the GNU General Public Licence, starting with the third version. " "Requires sharing of modifications under the same terms, and distribution of the source code, "
@@ -443,7 +449,7 @@ def add_licences():
"However there are currently no later versions.", "https://www.gnu.org/licenses/gpl-3.0.html", "https://www.gnu.org/licenses/gpl-3.0.html", free=True),free=True, pinned=True, logo_url="https://www.gnu.org/graphics/gplv3-127x51.png"),Licence("LGPL-2.0", "GNU Library General Public Licence v2.0", "The first version of the GNU Lesser/Library General Public Licence. " "Requires sharing of modifications under the same terms, and distribution of the source code, "
@@ -485,7 +491,7 @@ def add_licences():
"It doesn't, however, require dependent works to be compatible with the licence.", "https://www.gnu.org/licenses/lgpl-3.0.html", "https://www.gnu.org/licenses/lgpl-3.0.html", free=True),free=True, logo_url="https://www.gnu.org/graphics/lgplv3-147x51.png"),Licence("LGPL-3.0-or-later", "GNU Lesser General Public Licence v3.0 or later", "Any of the versions of the GNU Lesser General Public Licence, starting with the third version 3.0. " "Requires sharing of modifications under the same terms, and distribution of the source code, "
@@ -494,7 +500,7 @@ def add_licences():
"However there are currently no later versions.", "https://www.gnu.org/licenses/lgpl-3.0.html", "https://www.gnu.org/licenses/lgpl-3.0.html", free=True),free=True, pinned=True, logo_url="https://www.gnu.org/graphics/lgplv3-147x51.png"),Licence("AGPL-3.0", "GNU Affero General Public Licence v3.0", "The first, only and latest version of the GNU Affero General Public Licence. " "Requires sharing of modifications under the same terms, and distribution of the source code, "
@@ -503,7 +509,7 @@ def add_licences():
"software over a network.", "https://www.gnu.org/licenses/agpl-3.0.html", "https://www.gnu.org/licenses/agpl-3.0.html", free=True),free=True, logo_url="https://www.gnu.org/graphics/agplv3-155x51.png"),Licence("AGPL-3.0-or-later", "GNU Affero General Public Licence v3.0 or later", "Any of the versions of the GNU Affero General Public Licence, starting with the first version 3.0. " "Requires sharing of modifications under the same terms, and distribution of the source code, "
@@ -513,7 +519,7 @@ def add_licences():
"However there are currently no later versions.", "https://www.gnu.org/licenses/agpl-3.0.html", "https://www.gnu.org/licenses/agpl-3.0.html", free=True),free=True, pinned=True, logo_url="https://www.gnu.org/graphics/agplv3-155x51.png"),# Licence Art Libre Licence("LAL-1.2", "Free Art Licence / Licence Art Libre v1.2", "A licence for works of art that allows free use, modification, and distribution, "
@@ -521,14 +527,14 @@ def add_licences():
"Similar to the Creative Commons Attribution-ShareAlike and GNU GPL licences.", "https://artlibre.org/licence/lal/licence-art-libre-1.2/", "https://artlibre.org/licence/lal/licence-art-libre-1.2/", free=True),free=True, logo_url="https://artlibre.org/wp-content/Logo_Licence_Art_Libre.png"),Licence("LAL-1.3", "Free Art Licence / Licence Art Libre v1.3", "A licence for works of art that allows free use, modification, and distribution, " "but requires attribution for the work itself, and sharing under the same terms. " "Similar to the Creative Commons Attribution-ShareAlike and GNU GPL licences.", "https://artlibre.org/", "https://artlibre.org/", free=True),free=True, pinned=True, logo_url="https://artlibre.org/wp-content/Logo_Licence_Art_Libre.png"),] for licence in licences: