Skip to main content

MiniMindsLab YAML Front Matter Check

A tiny, deterministic, stdlib-only checker for YAML-style front matter in text blobs.

What it checks

  • Front matter must start at the very first line of the text.
  • Opening delimiter must be exactly ---.
  • Closing delimiter must be exactly --- or ... on its own line.
  • At least one content line must exist between delimiters.
  • Content lines must look like simple YAML metadata lines:
    • key: value
    • list item lines like - item
    • comments (# ...) and blank lines are allowed inside front matter.

This package does not parse YAML. It only performs a minimal structural preflight check.

Usage

from minimindslab_yaml_front_matter_check import check_front_matter

text = """---
title: Example
tags:
  - demo
---
# Body
"""

result = check_front_matter(text)
print(result.is_valid)        # True
print(result.has_front_matter) # True
print(result.reason)          # "ok"

Metadata

Release files for minimindslab-yaml-front-matter-check 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 minimindslab-yaml-front-matter-check 0.1.0
File Size Uploaded Provenance Actions
minimindslab_yaml_front_matter_check-0.1.0.tar.gz 3.7 kB Without provenance Details for minimindslab_yaml_front_matter_check-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for minimindslab-yaml-front-matter-check 0.1.0
File Interpreter ABI Platform Actions
minimindslab_yaml_front_matter_check-0.1.0-py3-none-any.whl Python 3 none any Details for minimindslab_yaml_front_matter_check-0.1.0-py3-none-any.whl

Total release size: 7.5 kB

Release files / minimindslab_yaml_front_matter_check-0.1.0.tar.gz

Download URL minimindslab_yaml_front_matter_check-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a83d380892a15735fa71929d9c49ffe501917367301a094d3b6bdf608441040a
BLAKE2b-256 checksum
How to use checksums
fcab18f2a1919cea88fb09d900aee0b84cd09e1cdd4b23d7a8e9173de71cf540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via n8n

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

Download URL minimindslab_yaml_front_matter_check-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94f450b5d587b366ad75580e10becef7acb1f31353d8cacc37f2080450f5bb1c
BLAKE2b-256 checksum
How to use checksums
fe225ab16d2915c8aaae482c02942bf0918d22f88690eabe67788b0ee855aa18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via n8n

Security for minimindslab-yaml-front-matter-check 0.1.0

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