git-analyser 0.1.0__py3-none-any.whl

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 @@
1
+ __version__ = "0.1.0"
git_analyser/cli.py ADDED
@@ -0,0 +1,36 @@
1
+ from __future__ import annotations
2
+
3
+ import argparse
4
+ import sys
5
+
6
+
7
+ def main() -> None:
8
+ parser = argparse.ArgumentParser(
9
+ prog="git-analyser",
10
+ description="Git repository analyser (coming soon)",
11
+ )
12
+ parser.add_argument("path", nargs="?", help="Git repository path (default: current directory)")
13
+ parser.add_argument("--json", action="store_true", dest="as_json")
14
+ parser.add_argument("--version", action="version", version="0.1.0")
15
+
16
+ subparsers = parser.add_subparsers(dest="command")
17
+ serve = subparsers.add_parser("serve", help="Start API server")
18
+ serve.add_argument("--host", default="0.0.0.0")
19
+ serve.add_argument("--port", type=int, default=8007)
20
+
21
+ args = parser.parse_args()
22
+
23
+ if args.command == "serve":
24
+ print("git-analyser serve — not yet implemented", file=sys.stderr)
25
+ sys.exit(1)
26
+
27
+ if not args.path:
28
+ parser.print_help()
29
+ sys.exit(1)
30
+
31
+ print("git-analyser — not yet implemented", file=sys.stderr)
32
+ sys.exit(1)
33
+
34
+
35
+ if __name__ == "__main__":
36
+ main()
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.4
2
+ Name: git-analyser
3
+ Version: 0.1.0
4
+ Summary: Git repository analyser — commit history, churn, contributor patterns, dispatches to analyser family
5
+ Author-email: Michael Borck <michael.borck@curtin.edu.au>
6
+ License: MIT
7
+ Classifier: Development Status :: 1 - Planning
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Requires-Python: >=3.11
14
+ Requires-Dist: rich>=13.7.0
15
+ Description-Content-Type: text/markdown
16
+
17
+ # git-analyser
18
+
19
+ Git repository analyser — part of the analyser family.
20
+
21
+ Walks git history to extract commit patterns, file churn, contributor signals, and change velocity. Dispatches file content to code-analyser for per-file quality signals across the history.
22
+
23
+ **Status:** Coming soon. Name reserved.
24
+
25
+ ## Installation
26
+
27
+ ```bash
28
+ pip install git-analyser
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```bash
34
+ git-analyser . # analyse current repo
35
+ git-analyser path/to/repo --json
36
+ git-analyser serve # FastAPI server on port 8007
37
+ ```
38
+
39
+ ## Analyser family
40
+
41
+ | Tool | Purpose | Port |
42
+ |---|---|---|
43
+ | document-analyser | PDF, Word, text | 8000 |
44
+ | speech-analyser | Audio, video transcription | 8001 |
45
+ | video-analyser | Video quality, scenes, OCR | 8002 |
46
+ | records-analyser | CSV, Excel, JSON | 8003 |
47
+ | code-analyser | Source code, multi-language | 8004 |
48
+ | wordpress-analyser | WP themes and plugins | 8005 |
49
+ | folder-analyser | Project structure | 8006 |
50
+ | git-analyser | Git history and churn | 8007 |
@@ -0,0 +1,6 @@
1
+ git_analyser/__init__.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
2
+ git_analyser/cli.py,sha256=GVkwrgifB_JIljfmYdZeT7rfzuYvHh2UH-XoahLSE1A,1052
3
+ git_analyser-0.1.0.dist-info/METADATA,sha256=WqNCr0fMCNAGO0JG9e9fd_Q0zQEgraP2_B9NBRquF8Q,1631
4
+ git_analyser-0.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
5
+ git_analyser-0.1.0.dist-info/entry_points.txt,sha256=vyPBjfOa_FfD0BP4_5g7XZiU9LTkdlPmwQQYZTl-7Rk,55
6
+ git_analyser-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ git-analyser = git_analyser.cli:main