From 2e4045e7fa509aa83dce44744a4892dbdf9a6f2c Mon Sep 17 00:00:00 2001 From: "Bradan J. Wolbeck" Date: Sat, 12 Sep 2026 17:26:17 -0600 Subject: [PATCH] chore: add license --- Containerfile | 2 +- LICENSE | 28 ++++++++++++++++++++++++++++ README.md | 4 ++++ pyproject.toml | 2 ++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/Containerfile b/Containerfile index ce55224..069e3ba 100644 --- a/Containerfile +++ b/Containerfile @@ -12,7 +12,7 @@ RUN apk add --no-cache cairo font-dejavu \ && addgroup -S app \ && adduser -S -G app app -COPY pyproject.toml uv.lock README.md ./ +COPY pyproject.toml uv.lock README.md LICENSE ./ COPY src ./src RUN apk add --no-cache --virtual .build-deps build-base libffi-dev \ && uv sync --locked --no-dev --no-editable \ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fabd66e --- /dev/null +++ b/LICENSE @@ -0,0 +1,28 @@ +BSD 3-Clause License + +Copyright (c) 2026, Bradan J. Wolbeck + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index fcb69ac..9490c2b 100644 --- a/README.md +++ b/README.md @@ -98,3 +98,7 @@ directly from a browser or CDN cache do not reach the app or consume its quotas. Each Gunicorn worker maintains its own cache and rate-limit counters. Defaults are configured in `src/app/config.py`. + +## License + +Licensed under the [BSD 3-Clause License](LICENSE). diff --git a/pyproject.toml b/pyproject.toml index 8cee482..64a7b57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,8 @@ name = "app" version = "0.1.0" description = "Placeholder image API with configurable dimensions and font size." readme = "README.md" +license = "BSD-3-Clause" +license-files = ["LICENSE"] authors = [ { name = "Bradan J. Wolbeck", email = "bwolbeck@compaqdisc.com" } ]