Snapshot and visual diff tool for KiCad projects
Project description
KiCad Snapshot
KiCad project snapshot and visual diff tool (PySide6 GUI).
- Repository:
https://github.com/tanakamasayuki/kicad-snapshot - PyPI package name:
kicad-snapshot - CLI command:
kicad_snapshot - Japanese README: README.ja.md
Features
- Create manual ZIP snapshots of KiCad projects
- Snapshot target rules: include
*.kicad_*/*-lib-table, exclude temporary and development artifacts - Compare snapshots against current project state
- Compare snapshot-to-snapshot
- Render schematic/PCB visual diffs
- PCB layer-level comparison
- Multi-language UI (English, Japanese, Chinese, French, German)
Requirements
- Python 3.11+
kicad-cliavailable on your machine- KiCad 8+ recommended
Installation
From PyPI (recommended)
pip install kicad-snapshot
Or with pipx:
pipx install kicad-snapshot
From source
git clone https://github.com/tanakamasayuki/kicad-snapshot.git
cd kicad-snapshot
pip install .
Usage
Run from an installed environment:
kicad_snapshot
If running from source with uv:
uv sync --dev
uv run kicad_snapshot
Upgrade
Upgrade installed package
With pip:
pip install -U kicad-snapshot
With pipx:
pipx upgrade kicad-snapshot
Upgrade ZIP build (Windows EXE)
ZIP builds do not support in-place auto update. Download the latest ZIP again from GitHub Releases and re-extract it.
Upgrade project version (maintainer)
Use GitHub Actions workflow .github/workflows/release.yml with:
version: next version (for example1.0.2)publish_pypi:trueto publish to PyPI,falseto skip
The workflow updates version files, updates CHANGELOG.md, creates tag vX.Y.Z, builds Windows ZIP artifacts, and optionally publishes to PyPI.
Basic Workflow
- Start app and confirm
kicad-clipath. - Select a KiCad project (
.kicad_pro). - Open Snapshot screen and choose compare targets.
- Open Compare screen and review item-by-item diffs.
Configuration
Settings are stored per user via platformdirs.
- Windows:
%APPDATA%/KiCadSnapshot/settings.toml - macOS:
~/Library/Application Support/KiCadSnapshot/settings.toml - Linux:
~/.config/KiCadSnapshot/settings.toml
Development
uv sync --dev
uv run kicad_snapshot
Build Windows EXE manually (PyInstaller, onedir):
uv sync --dev
uv run pyinstaller --noconfirm --clean --windowed --onedir --name kicad_snapshot --paths src src/kicad_snapshot/__main__.py
Entry point:
[project.scripts]
kicad_snapshot = "kicad_snapshot.__main__:main"
Release Automation (GitHub Actions)
Use workflow: .github/workflows/release.yml
- Trigger:
workflow_dispatch - Inputs:
version(e.g.0.0.1)publish_pypi(true/false)
Automated steps:
- Update versions in
pyproject.tomlandsrc/kicad_snapshot/__init__.py - Update
CHANGELOG.mdby creating a new section after## Unreleased - Commit + tag (
vX.Y.Z) - Build Windows EXE (
PyInstaller, onedir) - Create ZIP + SHA256 and attach to GitHub Release
- (Optional) Publish package to PyPI
For PyPI publish, configure PyPI Trusted Publishing for this GitHub repository.
Documents
- SPEC.md / SPEC.ja.md: product specification
- DEV_SPEC.md / DEV_SPEC.ja.md: development environment specification
License
MIT (see LICENSE)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kicad_snapshot-1.0.6.tar.gz.
File metadata
- Download URL: kicad_snapshot-1.0.6.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4eddee0c187a47eb813acf79550e8fb9d4b06678f356859c6ec986815d3c17b
|
|
| MD5 |
7db0119eee8157b54065c53655021fc9
|
|
| BLAKE2b-256 |
9e259cc162e5cd860e4514f9d2f933e6adc988c74da7cce8bd56ebd92b419906
|
Provenance
The following attestation bundles were made for kicad_snapshot-1.0.6.tar.gz:
Publisher:
release.yml on tanakamasayuki/kicad-snapshot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kicad_snapshot-1.0.6.tar.gz -
Subject digest:
d4eddee0c187a47eb813acf79550e8fb9d4b06678f356859c6ec986815d3c17b - Sigstore transparency entry: 995123275
- Sigstore integration time:
-
Permalink:
tanakamasayuki/kicad-snapshot@80b289c43797553c88a96df5e447a37fc142cacf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tanakamasayuki
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@80b289c43797553c88a96df5e447a37fc142cacf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file kicad_snapshot-1.0.6-py3-none-any.whl.
File metadata
- Download URL: kicad_snapshot-1.0.6-py3-none-any.whl
- Upload date:
- Size: 42.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa1b4617d83b33173d18d4d6c9cd5ac46b3339b68512e359cf99dd87bc942d4
|
|
| MD5 |
65305ae817cb1d1f0d5344b4108e02d6
|
|
| BLAKE2b-256 |
21e7352ecce131cfa08e8735ae4e38aec699f378c1af0771b29dbc77b21e24b0
|
Provenance
The following attestation bundles were made for kicad_snapshot-1.0.6-py3-none-any.whl:
Publisher:
release.yml on tanakamasayuki/kicad-snapshot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kicad_snapshot-1.0.6-py3-none-any.whl -
Subject digest:
caa1b4617d83b33173d18d4d6c9cd5ac46b3339b68512e359cf99dd87bc942d4 - Sigstore transparency entry: 995123278
- Sigstore integration time:
-
Permalink:
tanakamasayuki/kicad-snapshot@80b289c43797553c88a96df5e447a37fc142cacf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tanakamasayuki
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@80b289c43797553c88a96df5e447a37fc142cacf -
Trigger Event:
workflow_dispatch
-
Statement type: