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.4 kml --version
uvx --from katana-markdown-linter==0.19.4 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.4 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.4 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.4.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.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: katana_markdown_linter-0.19.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ca30fa912e7a156c2fe8b0dd5944f1626338661092b29f98d92eef22f79c760f
MD5 bd849642a8d85d56ca880ee70854c369
BLAKE2b-256 0605d35bb6b3f137fd72ac670dd8fbc03569c3afa35e7d74bdec4c671623ea80

See more details on using hashes here.

Provenance

The following attestation bundles were made for katana_markdown_linter-0.19.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for katana_markdown_linter-0.19.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e821569631e6808b149551e619d57c6b35a3dbb0036c473b269954a094f95bfa
MD5 fec221ed4b559d0a5f28ba4b19b0ebdc
BLAKE2b-256 4f320e05e1ebb368ffcaf3815bd2568e45498db41e9f823b1ef611e62a3e1994

See more details on using hashes here.

Provenance

The following attestation bundles were made for katana_markdown_linter-0.19.4-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