Links
AI / Agents
gdtest-hero-readme-badges
Overview
This package demonstrates the centered-div badge extraction pattern.
Features
- Validates data dictionaries
- Simple and fast
pattern where badges are extracted from inside a centered block and the block is stripped.
Source files
assets/
logo.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"> <circle cx="16" cy="16" r="14" fill="#e35027"/> </svg>
gdtest_hero_readme_badges/
__init__.py
"""A test package for centered-div badge extraction."""
__version__ = "0.2.0"
__all__ = ["validate"]
def validate(data: dict) -> bool:
"""
Validate a data dictionary.
Parameters
----------
data
The data to validate.
Returns
-------
bool
True if valid.
"""
return bool(data)README.md
# gdtest-hero-readme-badges <div align="center"> <img src="https://example.com/hero-image.png" width="350"> <br /> *A package with centered-div badge extraction* <br /> [](https://pypi.org/p/gdtest-hero-readme-badges/) [](https://github.com/ci) [](https://codecov.io/gh/example) </div> ## Overview This package demonstrates the centered-div badge extraction pattern. ## Features - Validates data dictionaries - Simple and fast
great-docs.yml
display_name: Hero Badges logo: assets/logo.svg