Skip to main content

Currency Minor Unit 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.

Finds the money lines that send the wrong amount to a payment API: the x100 that charges 100x in JPY, the toFixed(2) that truncates KWD, and the currency codes that stopped being legal tender.

Install

currency-minor-unit-lint file

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

Free

  • Checks the file you have open against all 24 rules and names every wrong amount, its currency, its ISO 4217 exponent and the date a code changed - no key, no limit, no watermark.
  • --rules lists every rule

With a licence ($29 once)

  • Scans every file in the repository, fails a CI build before a wrong amount can merge, exports the findings as CSV, JSON or HTML, and rewrites the retired currency codes in place.
currency-minor-unit-lint --dir ./templates --report html --out report.html

Payment processors publish a $15.00 fee for every dispute received, and it is not returned when you lose the dispute.

Use from an AI agent (MCP)

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

{ "mcpServers": { "currency-minor-unit-lint": { "command": "currency-minor-unit-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

- name: Currency Minor Unit Lint
  run: pip install rulestamp-currency-minor-unit-lint && currency-minor-unit-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

Install (PyPI)

pip install rulestamp-currency-minor-unit-lint
currency-minor-unit-lint --help

Metadata

Release files for rulestamp-currency-minor-unit-lint 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rulestamp-currency-minor-unit-lint 0.1.7
File Size Uploaded Provenance Actions
rulestamp_currency_minor_unit_lint-0.1.7.tar.gz 15.0 kB Without provenance Details for rulestamp_currency_minor_unit_lint-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rulestamp-currency-minor-unit-lint 0.1.7
File Interpreter ABI Platform Actions
rulestamp_currency_minor_unit_lint-0.1.7-py3-none-any.whl Python 3 none any Details for rulestamp_currency_minor_unit_lint-0.1.7-py3-none-any.whl

Total release size: 31.8 kB

Release files / rulestamp_currency_minor_unit_lint-0.1.7.tar.gz

Download URL rulestamp_currency_minor_unit_lint-0.1.7.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
060dbd67b069286e11304002976b83edf09e089401c7b5ed0e22dba489fa5f7d
BLAKE2b-256 checksum
How to use checksums
5026bcc4d7a9425bcf328be02319d50028b4d55ccc42e68c184ef249493b59f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / rulestamp_currency_minor_unit_lint-0.1.7-py3-none-any.whl

Download URL rulestamp_currency_minor_unit_lint-0.1.7-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22dd84d6f62a84580be7702b3e348f564b36c69e6a66ee890572197af7bc25eb
BLAKE2b-256 checksum
How to use checksums
26408d5624cad2baaa4bd405edd50b03929f98c5c8dd6d66301012b01a8ff54c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for rulestamp-currency-minor-unit-lint 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page