Metadata-Version: 2.4
Name: rulestamp-sql-card-data-lint
Version: 1.0.8
Summary: Names every column, index, view and seed row in a .sql migration that stores card data, with its PCI DSS Requirement 3 rule id (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/sql-card-data-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/sql-card-data-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: pci,pci-dss,sql,migration,cardholder-data,database,compliance,security
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

# SQL Card Data Lint (PCI DSS Req 3)

> 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.

![SQL Card Data Lint (PCI DSS Req 3) — finds the line](https://getreadystack.com/img/promo/sql-card-data-lint_demo.gif)

Names every column, index, view and seed row in a .sql migration that stores card data, with its PCI DSS Requirement 3 rule id

## Install

```
sql-card-data-lint file
```

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

## Free

- Check the .sql file open in your editor against all 10 rules and get every card-data column, index, view and seed literal with its Requirement 3 rule id and a replacement line
- `--rules` lists every rule

## With a licence ($29 once)

- Sweep every migration in the workspace at once and write a dated findings report you keep and hand to an assessor, for team and commercial use

```
sql-card-data-lint --dir ./templates --report html --out report.html
```

A QSA-led gap analysis of your data stores is commonly quoted as a five-figure engagement; the same migrations are read here in the editor.

## Use from an AI agent (MCP)

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

```json
{ "mcpServers": { "sql-card-data-lint": { "command": "sql-card-data-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: SQL Card Data Lint (PCI DSS Req 3)
  run: pip install rulestamp-sql-card-data-lint && sql-card-data-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_HL23mfuzaP3RMTfsQGzbUYmVSiTyJBd8Czg9B1TIuJT)


<!-- sql card data lint -->


## Install (PyPI)

```
pip install rulestamp-sql-card-data-lint
sql-card-data-lint --help
```
