{"id":20618207,"url":"https://github.com/tddschn/lice-tddschn","last_synced_at":"2025-10-07T03:49:08.954Z","repository":{"id":57678862,"uuid":"491555091","full_name":"tddschn/lice-tddschn","owner":"tddschn","description":"Generate license files for your projects","archived":false,"fork":false,"pushed_at":"2022-05-12T15:51:09.000Z","size":195,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T21:55:54.736Z","etag":null,"topics":["license","license-generator","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/lice-tddschn/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tddschn.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-12T14:47:34.000Z","updated_at":"2022-05-12T15:47:40.000Z","dependencies_parsed_at":"2022-09-10T15:00:54.568Z","dependency_job_id":null,"html_url":"https://github.com/tddschn/lice-tddschn","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tddschn/lice-tddschn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Flice-tddschn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Flice-tddschn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Flice-tddschn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Flice-tddschn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/lice-tddschn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Flice-tddschn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717449,"owners_count":26033542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["license","license-generator","python"],"created_at":"2024-11-16T12:07:33.862Z","updated_at":"2025-10-07T03:49:08.924Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lice-tddschn\n\nFork of [Lice](https://github.com/licenses/lice), [original license](LICENSE-orig).\n\nlice-tddschn is made faster by not importing the large `pkg_resources` module.\n\nLice generates license files. No more hunting down licenses from other\nprojects.\n\n- [lice-tddschn](#lice-tddschn)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n  - [Overview](#overview)\n  - [I want XXXXXXXXX license in here!](#i-want-xxxxxxxxx-license-in-here)\n  - [Usage](#usage)\n  - [Develop](#develop)\n\n## Installation\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install lice-tddschn\n```\n\n### [pip](https://pypi.org/project/lice-tddschn/)\n\n```\n$ pip install lice-tddschn\n```\n\n## Overview\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\nused:\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\nheader:\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 \u0026\u0026 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\nIf organization is not specified, lice will first attempt to use \u003cspan\nclass=\"title-ref\"\u003egit config\u003c/span\u003e to find your name. If not found, it\nwill use the value of the $USER environment variable. If the project\nname is not specified, the name of the current directory is used. Year\nwill 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## I want XXXXXXXXX license in here!\n\nGreat! Is it a license that is commonly used? If so, open an issue or,\nif you are feeling generous, fork and submit a pull request.\n\n## Usage\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## Develop\n\n```\n$ git clone https://github.com/tddschn/lice-tddschn.git\n$ cd lice-tddschn\n$ poetry install\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Flice-tddschn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Flice-tddschn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Flice-tddschn/lists"}