New Package
I just wrote ~~Licenses.jl
CommonLicenses.jl
! ~And I need help with naming…~
Overview
I’ve found myself cutting and pasting an MIT license into my Pluto notebooks. We’ll all be writing more executable documents in 2023, so I wrote a simple package which queries https://spdx.org/licenses for a requested SPDX identifier. It also queries the GitHub License API to see if more information is available there (hints for permissins, conditions, limitations). Then, a License
type is constructed which displays with MIME types, like any other Julia type.
The end result is: you can type the following into your Pluto notebook to conveniently license your executable document.
using Licenses: MIT
MIT(copyright="Joe(y)")
Naming
Edit: Went with CommonLicenses
!
I like the name Licenses
, but I feel conspicuous taking a package name that is such a common / general word. That said, I do not think SPDXLicenses
is appropriate, because SPDX files are their own thing: see SPDX.jl
.
What do folks think?