tantalor / detect-license Goto Github PK
View Code? Open in Web Editor NEWTools for detecting the type of a software license, e.g., permissive, copyleft
License: MIT License
Tools for detecting the type of a software license, e.g., permissive, copyleft
License: MIT License
Sometimes license files references multiple licenses, e.g.,
Dual licensed under the MIT or GPL Version 2 licenses.
Here's an example of running the project:
$ pip install https://github.com/tantalor/detect-license/archive/master.zip
...
Successfully installed detect-license-0.0.0
$ python --version
Python 2.7.12
$ detect_license.py --url https://raw.github.com/mojombo/jekyll/master/LICENSE
usage: detect_license.py [-h] [-f FILENAME] [-u URL]
Detect license
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --filename FILENAME
-u URL, --url URL
$ detect_license.py -u https://raw.github.com/mojombo/jekyll/master/LICENSE
usage: detect_license.py [-h] [-f FILENAME] [-u URL]
Detect license
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --filename FILENAME
-u URL, --url URL
What am I doing wrong?
Observed,
detect-license$ ./python/detect_license.py --url https://raw.github.com/josiahcarlson/yogatable/6bbd33eb4de8a9c0b0008536b38417f1b6d54284/license.txt
Author: Josiah Carlson and is released under
Year: 2010
Type: Unknown
Expected,
Author: Josiah Carlson
Observed,
$ ./python/detect_license.py --url https://raw.github.com/jquery/jquery/master/GPL-LICENSE.txt
Author: Free Software Foundation
Expected,
Author: Free Software Foundation, Inc.
see for example https://raw.github.com/arc90/git-sweep/master/LICENSE.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.