Skip to main content

bandit-markdown

bandit-markdown is a Python Command Line App to apply the security checking tool bandit on Markdown files to avoid showing code samples with vulnerabilities.

Installation

You can install bandit-markdown using pip (note the underscore):

pip install bandit_markdown

Usage

To use bandit-markdown, you just have to specify a glob of Markdown files.

Small example:

bandit-markdown examples/*.md

This will run bandit on all the Markdown files in the examples directory and print the bandit report.

License

bandit-markdown is licensed under the MIT License. See the LICENSE file for more information.

Code is mainly based on flake8-markdown

Release files for bandit-markdown 0.1.0

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

Source distribution (sdist)

Source distribution for bandit-markdown 0.1.0
File Size Uploaded
bandit_markdown-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bandit-markdown 0.1.0
File Interpreter ABI Platform
bandit_markdown-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / bandit_markdown-0.1.0.tar.gz

Download URL bandit_markdown-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e0be0729392736abd5e27f32a2b159802a017ca76a383795d8602e4850b1f031
BLAKE2b-256 checksum
How to use checksums
907bbaa61b913eec0f3c33962ba8dd4b8fc3d09fa1d51159326ae044242ad173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.15 CPython/3.8.10 Windows/10

Release files / bandit_markdown-0.1.0-py3-none-any.whl

Download URL bandit_markdown-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b9d52ed48616127fe5edfc0552914f2d1f909313cf29a67cba3b38905691d7e
BLAKE2b-256 checksum
How to use checksums
1af070e6cf528adf613ee13689839415a9db4370abc10cfec38640289b86e736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.15 CPython/3.8.10 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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