Metadata-Version: 2.4
Name: readystack-nuget-commercial-license-gate
Version: 1.0.2
Summary: Flags AutoMapper 15+, MediatR 13+, FluentAssertions 8+, MassTransit 9+ and other NuGet versions past their licence line, with the pin (bundled Node.js runtime)
Author-email: ReadyStack <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/nuget-commercial-license-gate?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/nuget-commercial-license-gate?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: nuget,license,csproj,automapper,mediatr,fluentassertions,masstransit,licence audit,dotnet
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# NuGet License Gate: AutoMapper, MediatR

> Runs the same checker as the npm package `@readystack/nuget-commercial-license-gate` on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![NuGet License Gate: AutoMapper, MediatR — finds the line](https://getreadystack.com/img/promo/nuget-commercial-license-gate_demo.gif)

![NuGet License Gate: AutoMapper, MediatR](https://getreadystack.com/img/promo/sku324202_result_card.jpg)

Flags AutoMapper 15+, MediatR 13+, FluentAssertions 8+, MassTransit 9+ and other NuGet versions past their licence line, with the pin

## Install

```
nuget-commercial-license-gate file
```

Node 18+. The same 10 rules as the VS Code extension, from a terminal or CI.

## Free

- Free, no key: paste or open one .csproj, .fsproj, .vbproj, Directory.Packages.props or packages.config and get every NuGet line past its licence line, each with the last open-source version to pin. The sample .csproj gives 6 flags (5 errors, 1 warning): AutoMapper 15.1.0, MediatR 13.0.0, FluentAssertions *, MassTransit.RabbitMQ 9.1.0, EPPlus 7.5.2 and QuestPDF 2024.12.3.
- `--rules` lists every rule

## With a licence ($29 once)

- Full version ($29 once, one licence key per person or team seat): sweep every project file in the workspace at once and write a Markdown licence report (package, version, licence, last open-source pin) for the audit file.

```
@readystack/nuget-commercial-license-gate --dir ./templates --report html --out report.html
```

A 15-year litigator bills $851/hour on the DOJ Fitzpatrick Matrix for billing year 2026 (U.S. Attorney's Office for D.C.); one hour of licence review costs that.

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "nuget-commercial-license-gate": { "command": "npx", "args": ["-y", "@readystack/nuget-commercial-license-gate", "--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: NuGet License Gate: AutoMapper, MediatR
  run: npx -y @readystack/nuget-commercial-license-gate --dir . --ci
```

(container: `docker run --rm -v "$PWD:/work" getreadystack/nuget-commercial-license-gate --dir /work --ci`)

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_0EoTgOC5ad7T6P8ypXA6zD3NRFoYxlQfCOf1J3JpwzG)


<!-- nuget license -->


## Install (PyPI)

```
pip install readystack-nuget-commercial-license-gate
nuget-commercial-license-gate --help
```
