Skip to content

Instantly share code, notes, and snippets.

@thatch
Created December 15, 2019 08:32
Show Gist options
  • Save thatch/f92475d1d6bad3a547cf5541ebd11a38 to your computer and use it in GitHub Desktop.
Save thatch/f92475d1d6bad3a547cf5541ebd11a38 to your computer and use it in GitHub Desktop.
find . -name PKG-INFO -print0 | xargs -0 perl -ne 'print "$1\n" if /^License: (.+)/' | sort | uniq -c | sort -n | grep -i ' or '
1 LGPL 2.1 or later
2 Apache-2.0 OR MIT
2 GNU AGPLv3+ or BSD
2 GNU GPLv2 or any later version
2 GPL-2.0-only OR LGPL-2.1-or-later
2 LGPL 2.1 or later, see also http://cthedot.de/cssutils/
2 License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
2 MIT or Apache-2.0
3 MIT or PSF License
4 BSD 3-Clause License or Apache License, Version 2.0
4 GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
4 LGPL with exceptions or ZPL
4 MIT or Apache License, Version 2.0
4 MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-or-later
5 PSF or ZPL
6 Apachev2 or later or GPLv2
8 Universal Permissive License 1.0 or Apache License 2.0
10 BSD or Apache License, Version 2.0
$ find . -name PKG-INFO -print0 | xargs -0 perl -ne 'print "$1\n" if /^License: (.+)/' | sort | uniq -c | sort -n | grep -i ' and '
1 dual license GPLv2+ and Apache v2
1 public domain and BSD
2 BSD-3-Clause and Public-Domain
2 COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
2 Copyright (c) 2010-2017 Kivy Team and other contributors
2 Copyright (c) 2017 by Nicola Iarocci and contributors. See AUTHORS
2 FreeBSD and LGPLv3+
2 GPL license with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
2 W3C SOFTWARE NOTICE AND LICENSE
4 PSFL 2 and ZPL 2.1
10 Apache License 2.0 and MIT License
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment