Skip to content

Add a BSD 3-Clause license - #24

Merged
roytsmart merged 1 commit into
mainfrom
feature/license-bsd-3-clause
Aug 18, 2026
Merged

Add a BSD 3-Clause license#24
roytsmart merged 1 commit into
mainfrom
feature/license-bsd-3-clause

Conversation

@roytsmart

Copy link
Copy Markdown
Contributor

This repository has no license, which means the default of all rights reserved
applies: nobody has permission to use, modify, or redistribute it, even though
it is published on PyPI (0.3.0 is the current release) and used by the ESIS
level-4 inversion work. This is the same change merged as
sun-data/regridding#54, sun-data/named-arrays#203, sun-data/colorsynth#11,
sun-data/ndfilters#28, and sun-data/optika#199.

This adds the BSD 3-Clause license, matching numpy and astropy. It also
satisfies NASA SPD-41a, which asks that software developed with Science Mission
Directorate funding be released under a permissive license, and its third clause
forbids using the copyright holders' names to endorse derived products.

Changes

  • LICENSE, the standard BSD 3-Clause text, with the copyright line
    Copyright (c) 2023-2026, Roy T. Smart, Jacob D. Parker, and Charles C. Kankelborg,
    matching optika. Roy and Jacob are the committers; Charles is included at
    Roy's direction. 2023 is when the repository was created.
  • pyproject.toml declares license = "BSD-3-Clause" and
    license-files = ["LICENSE"], the PEP 639 form.

Verified by building a wheel from this branch: the metadata is
Metadata-Version: 2.4 with License-Expression: BSD-3-Clause and
License-File: LICENSE, and the license is packaged at
dist-info/licenses/LICENSE, so PyPI will display it on the next release.
There is no License :: classifier to conflict with the expression, and
ruff check . passes (this repository already pins its lint rules, so it is
not exposed to the problem fixed in sun-data/ndfilters#29).

Worth knowing before merging

The copyright line names the people rather than Montana State University. MSU's
faculty handbook gives authors ownership of copyrightable works other than
commissioned courseware, which is the basis for that, but the university has
not been asked, and if it ever asserts ownership the line is an ordinary commit
to correct. Releasing permissively is the part that does not undo: copies
distributed under these terms stay licensed under them.

🤖 Generated with Claude Code

The repository had no license, so the default of all rights reserved applied:
nobody had permission to use, modify, or redistribute it, even though it is
published on PyPI.

Use the BSD 3-Clause license, matching `numpy` and `astropy`, which this
package sits on top of. It also satisfies NASA SPD-41a, which asks that
software developed with Science Mission Directorate funding be released under
a permissive license.

Declare it in the package metadata using the PEP 639 fields, so that the built
distributions carry `License-Expression: BSD-3-Clause` and ship the `LICENSE`
file.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d9a30b7) to head (4392733).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines          861       861           
=========================================
  Hits           861       861           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roytsmart
roytsmart merged commit 6b0f6a2 into main Aug 18, 2026
12 checks passed
@roytsmart
roytsmart deleted the feature/license-bsd-3-clause branch August 18, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant