{"id":17103122,"url":"https://github.com/pravj/lisense","last_synced_at":"2025-09-07T21:17:33.074Z","repository":{"id":29949313,"uuid":"33495856","full_name":"pravj/lisense","owner":"pravj","description":"Sensible repository licensing for Humans","archived":false,"fork":false,"pushed_at":"2015-04-07T13:53:08.000Z","size":1553,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-15T21:58:52.239Z","etag":null,"topics":["github","license","license-management","open-source"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pravj.png","metadata":{"files":{"readme":"README.rst","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":"2015-04-06T17:44:50.000Z","updated_at":"2019-08-18T16:42:21.000Z","dependencies_parsed_at":"2022-09-06T19:42:16.261Z","dependency_job_id":null,"html_url":"https://github.com/pravj/lisense","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pravj/lisense","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pravj%2Flisense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pravj%2Flisense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pravj%2Flisense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pravj%2Flisense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pravj","download_url":"https://codeload.github.com/pravj/lisense/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pravj%2Flisense/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266856207,"owners_count":23995653,"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-07-24T02:00:09.469Z","response_time":99,"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":["github","license","license-management","open-source"],"created_at":"2024-10-14T15:31:40.305Z","updated_at":"2025-07-24T14:34:30.719Z","avatar_url":"https://github.com/pravj.png","language":"Python","readme":"lisense\n=======\n\n    Sensible repository licensing for Humans\n    \n.. image:: https://img.shields.io/pypi/v/lisense.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/lisense/\n    :alt: Latest Version\n    \n.. image:: https://img.shields.io/badge/Python-2.6%2C%202.7-brightgreen.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/lisense/\n    :alt: Supported Python versions\n    \n.. image:: https://img.shields.io/pypi/l/lisense.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/lisense/\n    :alt: License\n\n.. image:: https://img.shields.io/pypi/dm/lisense.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/lisense/\n    :alt: Downloads\n    \n**Sir Isaac Newton once said that**\n    *Open source simply isn't open source without a proper license. So add a license. Always.*\n\nGitHub recently launched their `License API \u003chttps://developer.github.com/v3/licenses/\u003e`__, it's still in preview stage though.\nThey also released a blog post showing `Open source license usage on GitHub.com \u003chttps://github.com/blog/1964-open-source-license-usage-on-github-com\u003e`__, which is enough to convice you that why adding a license is \n`sine qua non \u003chttp://lmgtfy.com/?q=define+sine+qua+non\u003e`__.\n    \n\n    *Newton and Open Source, Respect both, let us.*\n    \n    \\- Yoda\n    \nlisense in action\n~~~~~~~~~~~~~~~~~\n.. figure:: https://raw.githubusercontent.com/pravj/lisense/master/docs/lisense.gif\n   :alt: lisense\n\nInstallation\n~~~~~~~~~~~~\n    pip install lisense\n\nlisense. What?\n~~~~~~~~~~~~~~\n    lisense is a command-line tool which helps you license your projects.\n- Lets you have a global configuration. Use your defaults, anywhere, anytime.\n- Guides you about using a particular license, better than you uncle.\n- And yes! Generates licenses.\n\nlisense. Controls?\n~~~~~~~~~~~~~~~~~~\n    Generating a license is more easy than doing nothing.\n- lisense list\n    List all available licenses.\n- lisense guide [license]\n    Provide guidance about a license. Description, use cases etc.\n- lisense setup\n    Setup global lisense configurations. Default license and owner name.\n- lisense new [license] --owner=\"OWNER NAME\"\n    Generates new license. Both the *license* and *owner* arguments are optional. Uses defaults when not supplied.\n\nAutomatic extra context variable handling\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nAlmost all the licenses have two common fields in them, *owner* and *year*. Some of them have extra fields also. For example, the GPL-v2 license\nhas a field *description*, which asks for the description of the project.\n\nLisense uses *jinja2*'s low level meta API to parse the abstract syntax tree of the template and interactively asks users to fill\nextra fields, if any.\n\nSo, you don't have to worry about it.\n\nDependencies\n~~~~~~~~~~~~\n- `docopt \u003chttps://github.com/docopt/docopt\u003e`__ - command-line argument parsing\n- `jinja2 \u003chttps://github.com/mitsuhiko/jinja2\u003e`__ - generate licenses from license templates\n- `xtermcolor \u003chttps://github.com/broadinstitute/xtermcolor\u003e`__ - colorful messages on terminal\n\n-----\n\nBuilt with :two_hearts: by `Pravendra Singh \u003chttp://pravj.github.io\u003e`__\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpravj%2Flisense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpravj%2Flisense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpravj%2Flisense/lists"}