gitsvg 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,40 @@
1
+ # Python
2
+ __pycache__/
3
+ *.egg-info/
4
+ dist/
5
+ .pytest_cache/
6
+ .ruff_cache/
7
+
8
+ # Coverage
9
+ htmlcov/
10
+ .coverage
11
+ reports/
12
+
13
+ # Virtual environments
14
+ .venv/
15
+
16
+ # Private dev docs
17
+ design/
18
+ .local/
19
+ local/
20
+
21
+ # IDE
22
+ .idea/
23
+ .vscode/
24
+
25
+ # OS
26
+ .DS_Store
27
+ ._*
28
+ Thumbs.db
29
+ Desktop.ini
30
+
31
+ # AI assistants
32
+ .claude/
33
+ CLAUDE.md
34
+ AGENTS.md
35
+ .cursor/
36
+ .cursorrules
37
+ .aider*
38
+ .copilot/
39
+ .github/copilot-instructions.md
40
+ .temp/
gitsvg-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026, Bert Pluymers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
gitsvg-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: gitsvg
3
+ Version: 0.0.1
4
+ Summary: CLI that renders git tree visualizations as SVG from JSON/YAML/Markdown input.
5
+ Project-URL: Source, https://github.com/bertpl/gitsvg
6
+ Project-URL: Changelog, https://github.com/bertpl/gitsvg/blob/main/CHANGELOG.md
7
+ Project-URL: Issues, https://github.com/bertpl/gitsvg/issues
8
+ Author-email: Bert Pluymers <bert.pluymers@gmail.com>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: cli,diagram,git,svg,visualization
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Topic :: Multimedia :: Graphics
20
+ Classifier: Topic :: Software Development :: Version Control :: Git
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: click>=8.2.0
23
+ Requires-Dist: rich>=13.0.0
24
+ Description-Content-Type: text/markdown
25
+
26
+ # gitsvg
27
+
28
+ CLI that renders git tree visualizations as SVG from JSON/YAML/Markdown input.
29
+
30
+ [![CI](https://github.com/bertpl/gitsvg/actions/workflows/push_to_main.yml/badge.svg)](https://github.com/bertpl/gitsvg/actions/workflows/push_to_main.yml)
31
+ [![PyPI](https://img.shields.io/pypi/v/gitsvg.svg)](https://pypi.org/project/gitsvg/)
32
+ [![Python](https://img.shields.io/pypi/pyversions/gitsvg.svg)](https://pypi.org/project/gitsvg/)
33
+ [![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/bertpl/gitsvg/blob/main/LICENSE)
34
+
35
+ > **Status:** early scaffolding. The 0.0.x line is a placeholder release; functionality lands in 0.1.0.
36
+
37
+ ## Installation
38
+
39
+ ```bash
40
+ pip install gitsvg
41
+ ```
42
+
43
+ Or with [uv](https://docs.astral.sh/uv/):
44
+
45
+ ```bash
46
+ uv tool install gitsvg
47
+ ```
48
+
49
+ ## License
50
+
51
+ [MIT](https://github.com/bertpl/gitsvg/blob/main/LICENSE).
gitsvg-0.0.1/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # gitsvg
2
+
3
+ CLI that renders git tree visualizations as SVG from JSON/YAML/Markdown input.
4
+
5
+ [![CI](https://github.com/bertpl/gitsvg/actions/workflows/push_to_main.yml/badge.svg)](https://github.com/bertpl/gitsvg/actions/workflows/push_to_main.yml)
6
+ [![PyPI](https://img.shields.io/pypi/v/gitsvg.svg)](https://pypi.org/project/gitsvg/)
7
+ [![Python](https://img.shields.io/pypi/pyversions/gitsvg.svg)](https://pypi.org/project/gitsvg/)
8
+ [![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/bertpl/gitsvg/blob/main/LICENSE)
9
+
10
+ > **Status:** early scaffolding. The 0.0.x line is a placeholder release; functionality lands in 0.1.0.
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ pip install gitsvg
16
+ ```
17
+
18
+ Or with [uv](https://docs.astral.sh/uv/):
19
+
20
+ ```bash
21
+ uv tool install gitsvg
22
+ ```
23
+
24
+ ## License
25
+
26
+ [MIT](https://github.com/bertpl/gitsvg/blob/main/LICENSE).
@@ -0,0 +1,3 @@
1
+ from importlib.metadata import version
2
+
3
+ __version__ = version("gitsvg")
File without changes
@@ -0,0 +1,15 @@
1
+ import click
2
+
3
+ from gitsvg import __version__
4
+
5
+
6
+ @click.group()
7
+ @click.version_option(__version__, prog_name="gitsvg")
8
+ def cli() -> None:
9
+ """gitsvg — render git tree visualizations as SVG from JSON/YAML/Markdown input."""
10
+
11
+
12
+ @cli.command()
13
+ def render() -> None:
14
+ """Render an input file to SVG. (Not implemented yet.)"""
15
+ click.echo(f"gitsvg {__version__} — not implemented yet. Coming soon.")
@@ -0,0 +1,72 @@
1
+ [project]
2
+ name = "gitsvg"
3
+ version = "0.0.1"
4
+ description = "CLI that renders git tree visualizations as SVG from JSON/YAML/Markdown input."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ authors = [
8
+ { name = "Bert Pluymers", email = "bert.pluymers@gmail.com" }
9
+ ]
10
+ requires-python = ">=3.11"
11
+ keywords = ["git", "svg", "visualization", "diagram", "cli"]
12
+ classifiers = [
13
+ "Development Status :: 1 - Planning",
14
+ "Intended Audience :: Developers",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Programming Language :: Python :: 3.11",
17
+ "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
19
+ "Programming Language :: Python :: 3.14",
20
+ "Topic :: Multimedia :: Graphics",
21
+ "Topic :: Software Development :: Version Control :: Git",
22
+ ]
23
+ dependencies = [
24
+ "click>=8.2.0",
25
+ "rich>=13.0.0",
26
+ ]
27
+
28
+ [dependency-groups]
29
+ dev = [
30
+ "pytest>=9.0",
31
+ "pytest-cov>=6.0",
32
+ "ruff>=0.14.0",
33
+ "pre-commit>=4.0",
34
+ ]
35
+
36
+ [project.scripts]
37
+ gitsvg = "gitsvg._cli._cli:cli"
38
+
39
+ [project.urls]
40
+ Source = "https://github.com/bertpl/gitsvg"
41
+ Changelog = "https://github.com/bertpl/gitsvg/blob/main/CHANGELOG.md"
42
+ Issues = "https://github.com/bertpl/gitsvg/issues"
43
+
44
+ [build-system]
45
+ requires = ["hatchling"]
46
+ build-backend = "hatchling.build"
47
+
48
+ [tool.hatch.build.targets.sdist]
49
+ packages = ["gitsvg"]
50
+
51
+ [tool.hatch.build.targets.wheel]
52
+ packages = ["gitsvg"]
53
+
54
+ [tool.ruff]
55
+ line-length = 120
56
+ target-version = "py311"
57
+
58
+ [tool.ruff.lint]
59
+ select = ["I"]
60
+
61
+ [tool.pytest.ini_options]
62
+ testpaths = ["tests/python"]
63
+
64
+ [tool.coverage.run]
65
+ source = ["gitsvg"]
66
+
67
+ [tool.coverage.report]
68
+ precision = 2
69
+ exclude_also = [
70
+ "@abstractmethod",
71
+ "@abc.abstractmethod",
72
+ ]