Slide 1

Slide 1 text

! " # $ CCPP@NYU dfm dfm.io @exoplaneteer Dan Foreman-Mackey

Slide 2

Slide 2 text

I don't know anything about licensing!

Slide 3

Slide 3 text

but...

Slide 4

Slide 4 text

I do know about data science!

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

28,569,100 largest public repo ID (as of 2014-12-28)

Slide 10

Slide 10 text

5,000 requests/hour rate limit

Slide 11

Slide 11 text

a few requests/repo required

Slide 12

Slide 12 text

1,578,967 repositories ("randomly" selected)

Slide 13

Slide 13 text

6% of the GitHubz (representative)

Slide 14

Slide 14 text

{ "name": "emcee", "full_name": "dfm/emcee", "language": "Python", "fork": false, "subscribers_count": 39, "forks": 117, "stargazers_count": 414, "open_issues": 35, ... } + README*, LICENSE*, COPYING* for each repository, download: in the top directory

Slide 15

Slide 15 text

JavaScript Ruby Java Python PHP C C++ CSS C# Objective-C Shell Perl VimL 0 2 4 6 8 10 12 percentage of repos

Slide 16

Slide 16 text

63 languages more popular than IDL (only?)

Slide 17

Slide 17 text

1,578,967 repositories

Slide 18

Slide 18 text

263,288 are licensed

Slide 19

Slide 19 text

17% are licensed that's up from 15% in 2012! softwarefreedom.org/resources/2013/lcs-slides-aaronw

Slide 20

Slide 20 text

28,972 only mention the license in the README of these,

Slide 21

Slide 21 text

JavaScript Ruby Java Python PHP C C++ CSS C# Objective-C Shell Perl VimL 0 5 10 15 20 25 30 percentage with a license

Slide 22

Slide 22 text

license popularity

Slide 23

Slide 23 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

EXCITED about licensing the internet gets really

Slide 26

Slide 26 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories

Slide 27

Slide 27 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 percentage of licensed repos Python

Slide 28

Slide 28 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 percentage of licensed repos IDL

Slide 29

Slide 29 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 percentage of licensed repos C

Slide 30

Slide 30 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos Fortran

Slide 31

Slide 31 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 60 percentage of licensed repos Emacs Lisp

Slide 32

Slide 32 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 percentage of licensed repos VimL

Slide 33

Slide 33 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories

Slide 34

Slide 34 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 60 percentage of licensed repos JavaScript

Slide 35

Slide 35 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 60 70 percentage of licensed repos Ruby

Slide 36

Slide 36 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories

Slide 37

Slide 37 text

MIT License GPL Apache License BSD unknown LGPL Public Domain Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 popularity weighted percentage all repositories (weighted by popularity)

Slide 38

Slide 38 text

⾠CAVEATS I only scraped GitHub

Slide 39

Slide 39 text

I only found top-level license files (with the right names) ⾠CAVEATS

Slide 40

Slide 40 text

my README parsing was pure hack! (it's called data science) ⾠CAVEATS

Slide 41

Slide 41 text

17% of repos are licensed and the kids are permissive TAKE HOME Thanks to Aaron Williamson for the 2012 data!