a2ally™ Sign up

Can I use a PyPI package in closed-source software?

Last updated

TL;DR: A BSD-3-Clause package, shipped closed-source: Yes. An LGPL-3.0 package, distributed: Yes. A GPL-3.0 package, modified and distributed: Yes. It depends on the package's declared license; MIT, BSD and Apache-2.0 are common on PyPI. Pass the project URL as source_url and a2ally reads it.

Is a BSD-3-Clause package, shipped closed-source allowed under BSD 3-Clause "New" or "Revised" License?

Yes. Every use you described is granted by BSD 3-Clause, and nothing you described is prohibited.

License: BSD 3-Clause "New" or "Revised" License (BSD-3-Clause, curated)

Duties: attribution, license_notice, no_endorsement

Is an LGPL-3.0 package, distributed allowed under GNU Lesser General Public License v3.0?

Yes. Every use you described is granted by LGPL 3.0, and nothing you described is prohibited.

License: GNU Lesser General Public License v3.0 (LGPL-3.0-only, curated)

Duties: attribution, license_notice, share_alike, source_disclosure

Is a GPL-3.0 package, modified and distributed allowed under GNU General Public License v3.0?

Yes. Every use you described is granted by GPL 3.0, and nothing you described is prohibited.

License: GNU General Public License v3.0 (GPL-3.0-only, curated)

Duties: attribution, license_notice, state_changes, share_alike, source_disclosure

What else should I know?

What are the sources?

How can I check it myself (free, no key)?

{
  "tool": "check_license",
  "arguments": {
    "license": "BSD-3-Clause",
    "intended_use": {
      "commercial_use": true,
      "redistribution": true
    }
  }
}

Computed from a2ally's license profiles; not legal advice. JSON · Markdown

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.a2ally.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export A2ALLY_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.a2ally.com/v1/licenses/check -H "Authorization: Bearer $A2ALLY_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'