Skip to main content

Fast Markdown linter and formatter with localized CLI help and version aliases.

Project description

katana-markdown-linter Python wrapper

katana-markdown-linter is a thin Python launcher over GitHub Release binary archives. The package does not contain independent lint or MCP server logic. On first use, it downloads the matching kml, kml-mcp, or kml-mcp-remote binary archive, verifies the neighboring SHA-256 checksum, installs the binary into the wrapper cache, and delegates to that binary.

Install

pipx install katana-markdown-linter
kml --version

Use uvx for one-off runs:

uvx --from katana-markdown-linter==0.19.3 kml --version
uvx --from katana-markdown-linter==0.19.3 kml check README.md

Basic Usage

# Run linting
kml check README.md

# Show help
kml help
kml --help
kml -h
kml check --help

# Localized help
kml --locale ja help

# Show version aliases
kml version
kml --version
kml -v

# Fix and Format
kml fix README.md
kml fmt

MCP server entrypoints

Use kml-mcp for local stdio MCP clients:

uvx --from katana-markdown-linter==0.19.3 kml-mcp --workspace-root /absolute/path/to/workspace

Use kml-mcp-remote only for self-hosted Streamable HTTP:

KML_MCP_REMOTE_TOKEN=change-me \
  uvx --from katana-markdown-linter==0.19.3 kml-mcp-remote

Supported Platforms

The Python launcher uses the same binary archives as the GitHub Release channel. It currently supports:

  • macOS arm64: aarch64-apple-darwin
  • macOS x64: x86_64-apple-darwin
  • Linux x64: x86_64-unknown-linux-gnu
  • Windows x64: x86_64-pc-windows-msvc

Unsupported platforms fail before download with an explicit platform error.

Wrapper Contract

  • The package version selects the GitHub Release tag.
  • The launcher downloads the matching kml-vX.Y.Z-<target>, kml-mcp-vX.Y.Z-<target>, or kml-mcp-remote-vX.Y.Z-<target> archive.
  • The launcher downloads the matching .sha256 file and verifies the archive before extraction.
  • The installed binary is cached by version, platform, and executable role.
  • MCP launchers do not write wrapper logs to stdout, preserving JSON-RPC stdio.

For full CLI usage, rule coverage, and other install channels, see the repository README. Report package issues through GitHub Issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

katana_markdown_linter-0.19.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

katana_markdown_linter-0.19.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file katana_markdown_linter-0.19.3.tar.gz.

File metadata

  • Download URL: katana_markdown_linter-0.19.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for katana_markdown_linter-0.19.3.tar.gz
Algorithm Hash digest
SHA256 def4b70b27ee62081bb9a03aafa15e9f8db5b0d7934fc4d0c20d17a6af2aa3bf
MD5 16c213dcb35ea65885951af37df14ca6
BLAKE2b-256 7b26ab00118ed6cece4d81bf2fce9ebb47d96b87d18a113fa046bb8dfad06501

See more details on using hashes here.

Provenance

The following attestation bundles were made for katana_markdown_linter-0.19.3.tar.gz:

Publisher: release.yml on HiroyukiFuruno/katana-markdown-linter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file katana_markdown_linter-0.19.3-py3-none-any.whl.

File metadata

File hashes

Hashes for katana_markdown_linter-0.19.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7203c809860e1523efbe90eb1fab5431df999f876f28f207c6cd04db6846e32e
MD5 a1955af5bc54348fc63b1ccf1e802583
BLAKE2b-256 0a83d979050c6c76dcd82d0bfd9ccad16dc972e5bd5729173f2e5954555470b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for katana_markdown_linter-0.19.3-py3-none-any.whl:

Publisher: release.yml on HiroyukiFuruno/katana-markdown-linter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page