codepulse-cli 0.1.0__tar.gz → 0.1.2__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.
- codepulse_cli-0.1.2/.github/workflows/publish.yml +32 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/PKG-INFO +11 -5
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/README.md +10 -4
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/pyproject.toml +1 -1
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/__init__.py +1 -1
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/.github/workflows/codepulse.yml +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/.github/workflows/tests.yml +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/.gitignore +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/LICENSE +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/action.yml +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/demo.tape +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/__main__.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/analyzers.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/charts.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/cli.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/complexity.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/git_data.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/src/codepulse/report.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/tests/test_analyzers.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/tests/test_complexity.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/tests/test_e2e.py +0 -0
- {codepulse_cli-0.1.0 → codepulse_cli-0.1.2}/tests/test_git_data.py +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: publish
|
|
2
|
+
|
|
3
|
+
# Builds and publishes to PyPI whenever a GitHub release is published.
|
|
4
|
+
# Uses PyPI Trusted Publishing (OIDC) — no API token stored anywhere.
|
|
5
|
+
# Remember to bump `version` in pyproject.toml before creating the release.
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
release:
|
|
9
|
+
types: [published]
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
pypi:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
permissions:
|
|
18
|
+
id-token: write # required for trusted publishing
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- uses: actions/setup-python@v5
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.12"
|
|
25
|
+
|
|
26
|
+
- name: Build distributions
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade build
|
|
29
|
+
python -m build
|
|
30
|
+
|
|
31
|
+
- name: Publish to PyPI
|
|
32
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: codepulse-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Reveal a codebase's health from its git history — hotspots, bus factor, hidden coupling, and a CI risk gate.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Mehouelley/codepulse
|
|
6
6
|
Project-URL: Repository, https://github.com/Mehouelley/codepulse
|
|
@@ -87,18 +87,24 @@ or email to your team.
|
|
|
87
87
|
|
|
88
88
|
---
|
|
89
89
|
|
|
90
|
+
## Install
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install codepulse-cli # installs the `codepulse` command
|
|
94
|
+
```
|
|
95
|
+
|
|
90
96
|
## Quick start
|
|
91
97
|
|
|
92
98
|
```bash
|
|
93
99
|
# From a git repository:
|
|
94
|
-
|
|
100
|
+
codepulse /path/to/repo --open
|
|
95
101
|
|
|
96
102
|
# Common options:
|
|
97
|
-
|
|
103
|
+
codepulse . --since "6 months ago" --top 30 -o health.html
|
|
98
104
|
```
|
|
99
105
|
|
|
100
|
-
> Running from
|
|
101
|
-
> `pip install -e
|
|
106
|
+
> Running from a source checkout instead? Use `python -m codepulse` with
|
|
107
|
+
> `PYTHONPATH=src`, or `pip install -e .`.
|
|
102
108
|
|
|
103
109
|
### Options
|
|
104
110
|
|
|
@@ -61,18 +61,24 @@ or email to your team.
|
|
|
61
61
|
|
|
62
62
|
---
|
|
63
63
|
|
|
64
|
+
## Install
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install codepulse-cli # installs the `codepulse` command
|
|
68
|
+
```
|
|
69
|
+
|
|
64
70
|
## Quick start
|
|
65
71
|
|
|
66
72
|
```bash
|
|
67
73
|
# From a git repository:
|
|
68
|
-
|
|
74
|
+
codepulse /path/to/repo --open
|
|
69
75
|
|
|
70
76
|
# Common options:
|
|
71
|
-
|
|
77
|
+
codepulse . --since "6 months ago" --top 30 -o health.html
|
|
72
78
|
```
|
|
73
79
|
|
|
74
|
-
> Running from
|
|
75
|
-
> `pip install -e
|
|
80
|
+
> Running from a source checkout instead? Use `python -m codepulse` with
|
|
81
|
+
> `PYTHONPATH=src`, or `pip install -e .`.
|
|
76
82
|
|
|
77
83
|
### Options
|
|
78
84
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "codepulse-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Reveal a codebase's health from its git history — hotspots, bus factor, hidden coupling, and a CI risk gate."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|