Skip to content

Commit 7e28ac6

Browse files
michshatclaude
andcommitted
docs: Add PyPI publish workflow, CHANGELOG, and demo example
- Add GitHub Actions workflow for PyPI trusted publishing - Add CHANGELOG.md following Keep a Changelog format - Add examples/demo.log for GIF/screenshot demos 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 17773fe commit 7e28ac6

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
environment: pypi
11+
permissions:
12+
id-token: write # Required for trusted publishing
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
22+
- name: Install build dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install build
26+
27+
- name: Build package
28+
run: python -m build
29+
30+
- name: Publish to PyPI
31+
uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changelog
2+
3+
All notable changes to LogParseIQX will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.0] - 2025-01-03
9+
10+
### Added
11+
- Initial release of LogParseIQX
12+
- Core CLI commands: `parse`, `summarize`, `errors`, `analyze`, `ask`
13+
- Cloudflare-specific commands: `cf errors`, `cf slow`, `cf security`, `cf top-ips`, `cf summary`
14+
- Smart pre-filtering to minimize token usage
15+
- Support for custom Ollama models via `--model` flag
16+
- Rich terminal output with tables and colored text
17+
- 91% test coverage with mocked Ollama tests
18+
19+
### Features
20+
- Parse any log file with natural language questions
21+
- Cloudflare JSON log parsing with automatic field extraction
22+
- Aggregation by status code, IP, country, URI, and WAF action
23+
- Performance analysis for slow requests
24+
- Security event detection (WAF blocks, high threat scores)
25+
26+
[0.1.0]: https://github.com/semanticintent/logparseiqx/releases/tag/v0.1.0

0 commit comments

Comments
 (0)