Metadata-Version: 2.4
Name: rulestamp-en18031-psti-lint
Version: 1.0.8
Summary: Line-by-line check of shipped device defaults against RED Art. 3(3)(d)(e)(f), EN 18031-1/-2/-3 and UK PSTI Schedule 1 (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/en18031-psti-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/en18031-psti-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: en 18031,psti,red article 3(3),iot security,radio equipment directive,firmware,linter,compliance
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

# EN 18031 / PSTI Device Config Lint

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

![EN 18031 / PSTI Device Config Lint — finds the line](https://getreadystack.com/img/promo/en18031-psti-lint_demo.gif)

Line-by-line check of shipped device defaults against RED Art. 3(3)(d)(e)(f), EN 18031-1/-2/-3 and UK PSTI Schedule 1

## Install

```
en18031-psti-lint file
```

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

## Free

- Lint the device config file open in the editor and get every RED Art. 3(3) / EN 18031 / PSTI finding with its line number and clause, all 19 rules, no key
- `--rules` lists every rule

## With a licence ($29 once)

- Sweep every matching config in the workspace and export a dated evidence pack (Markdown + CSV) mapping each finding to its article and clause, kept as a document for the test lab

```
en18031-psti-lint --dir ./templates --report html --out report.html
```

A contract firmware engineer at $120 an hour bills about $480 for the half day one shipped-defaults file takes by hand, and it repeats every build

## Use from an AI agent (MCP)

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

```json
{ "mcpServers": { "en18031-psti-lint": { "command": "en18031-psti-lint", "args": ["--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: EN 18031 / PSTI Device Config Lint
  run: pip install rulestamp-en18031-psti-lint && en18031-psti-lint --dir . --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_emwwfBdWf6ejmN3mkS2he4RXewtmFcnVjaJqB4T0s7P)


<!-- EN 18031 PSTI device config lint -->


## Install (PyPI)

```
pip install rulestamp-en18031-psti-lint
en18031-psti-lint --help
```
