Metadata-Version: 2.4
Name: pygha_tools
Version: 0.1.1
Summary: Python Tools for GitHub Actions
Project-URL: Homepage, https://github.com/rajeshwar-sopho/pygha-tools
Project-URL: Repository, https://github.com/rajeshwar-sopho/pygha-tools
Project-URL: Issues, https://github.com/rajeshwar-sopho/pygha-tools/issues
Author-email: Rajeshwar Prasad <rajeshwarrn98@gmail.com>
License: MIT
License-File: LICENSE
Keywords: actions,ci,github,markdown,summary
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Provides-Extra: dev
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# GitHub Actions Summary

A Python library for creating rich markdown summaries in GitHub Actions.

## Installation
```bash
pip install github-actions-summary
```

## Usage
```python
from github_actions_summary import Summary, Text, Link, TextStyle, HeadingKind

summary = Summary()
summary.addHeading('Test Results', HeadingKind.H1)\
       .addCodeBlock('console.log("hello")', 'js')\
       .addTable([
           ['File', 'Status'],
           [Text('foo.js', style=TextStyle.BOLD), '✅ Pass'],
           ['bar.js', '❌ Fail']
       ])\
       .addLink('View report', 'https://example.com/report')\
       .write()
```

## Features

- Builder pattern for fluent API
- Rich text formatting (bold, italic, underlined)
- Headings (H1-H6, Setext)
- Code blocks with syntax highlighting
- Tables with styled cells
- Links with optional styling
- Horizontal dividers
- Blank lines for spacing

## License

MIT