github-dependents-info 3.1.0__tar.gz → 3.2.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.
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/PKG-INFO +20 -16
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/README.md +15 -11
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/pyproject.toml +10 -10
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/LICENSE +0 -0
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/github_dependents_info/__init__.py +0 -0
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/github_dependents_info/__main__.py +0 -0
- {github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/github_dependents_info/gh_dependents_info.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: github-dependents-info
|
|
3
|
-
Version: 3.1
|
|
3
|
+
Version: 3.2.1
|
|
4
4
|
Summary: Collect information about dependencies between a github repo and other repositories. Results available in JSON, markdown and badges.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -14,13 +14,13 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Requires-Dist: beautifulsoup4 (==4.
|
|
18
|
-
Requires-Dist: click (>=8.
|
|
17
|
+
Requires-Dist: beautifulsoup4 (==4.15.0)
|
|
18
|
+
Requires-Dist: click (>=8.4.1,<8.5)
|
|
19
19
|
Requires-Dist: httpx (>=0.28.1,<0.29.0)
|
|
20
|
-
Requires-Dist: idna (>=3.
|
|
20
|
+
Requires-Dist: idna (>=3.14)
|
|
21
21
|
Requires-Dist: pandas (>=2.3.3,<3.0)
|
|
22
22
|
Requires-Dist: rich (>=15,<15.1)
|
|
23
|
-
Requires-Dist: typer
|
|
23
|
+
Requires-Dist: typer (>=0.25.1,<0.26)
|
|
24
24
|
Project-URL: Homepage, https://github.com/nvuillam/github-dependents-info
|
|
25
25
|
Project-URL: Repository, https://github.com/nvuillam/github-dependents-info
|
|
26
26
|
Description-Content-Type: text/markdown
|
|
@@ -37,7 +37,7 @@ Description-Content-Type: text/markdown
|
|
|
37
37
|
[](https://github.com/nvuillam/github-dependents-info/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
|
|
38
38
|
|
|
39
39
|
[](https://github.com/nvuillam/github-dependents-info/graphs/contributors/)<!-- gh-dependents-info-used-by-start -->
|
|
40
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
|
|
41
41
|
[](https://github.com/sponsors/nvuillam)
|
|
42
42
|
[](https://github.com/nvuillam/github-dependents-info/actions/workflows/mega-linter.yml)
|
|
43
43
|
[](https://github.com/nvuillam/github-dependents-info/blob/master/LICENSE)
|
|
@@ -63,7 +63,7 @@ This package uses GitHub HTML to collect dependents information and can:
|
|
|
63
63
|
- Optionally add an AI-generated usage summary (via `litellm`) when an LLM API key is present
|
|
64
64
|
- Update existing markdown by inserting **Used by** badge within tags
|
|
65
65
|
- `<!-- gh-dependents-info-used-by-start -->
|
|
66
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
|
|
67
67
|
- Handle multiple repositories packages
|
|
68
68
|
- Filter results using minimum stars or by repository owner
|
|
69
69
|
- Keep huge ecosystems manageable with pagination controls (`--max-scraped-pages`, `--pagination/--no-pagination`, `--page-size`)
|
|
@@ -269,7 +269,7 @@ _________________
|
|
|
269
269
|
|-----------|--------|----------------------------------------------|
|
|
270
270
|
| --repo | String | Repository. Example: `oxsecurity/megalinter` |
|
|
271
271
|
| -b<br/> --badgemarkdownfile | String | _(optional)_ Path to markdown file where to insert/update **Used by** badge <br/> (must contain tags `<!-- gh-dependents-info-used-by-start -->
|
|
272
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`) |
|
|
273
273
|
| -s<br/> --sort | String | _(optional)_ Sort order: name (default) or stars |
|
|
274
274
|
| -x<br/> --minstars | String | _(optional)_ If set, filters repositories to keep only those with more than X stars |
|
|
275
275
|
| -m<br/> --markdownfile | String | _(optional)_ Output markdown file file |
|
|
@@ -292,7 +292,7 @@ Badge tags example (the tool replaces everything between the markers):
|
|
|
292
292
|
|
|
293
293
|
```markdown
|
|
294
294
|
<!-- gh-dependents-info-used-by-start -->
|
|
295
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
_________________
|
|
@@ -307,7 +307,7 @@ _________________
|
|
|
307
307
|
github-dependents-info --repo nvuillam/npm-groovy-lint --json
|
|
308
308
|
|
|
309
309
|
- Insert/Update **Used by** markdown badge within an existing markdown file containing tags `<!-- gh-dependents-info-used-by-start -->
|
|
310
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
|
|
311
311
|
|
|
312
312
|
github-dependents-info --repo nvuillam/npm-groovy-lint --badgemarkdownfile ./README.md
|
|
313
313
|
|
|
@@ -380,7 +380,7 @@ Create a file **.github/workflows/github-dependents-info.yml** in your repositor
|
|
|
380
380
|
If will generate a new Pull Request (or replace the pending one) every time the usage stats will have changed :)
|
|
381
381
|
|
|
382
382
|
Don't forget to add tags `<!-- gh-dependents-info-used-by-start -->
|
|
383
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->` in your **README.md**, at the end of another badge line if you want github-dependents-info to replace its content automatically.
|
|
384
384
|
|
|
385
385
|
```yaml
|
|
386
386
|
# GitHub Dependents Info workflow
|
|
@@ -414,14 +414,15 @@ jobs:
|
|
|
414
414
|
steps:
|
|
415
415
|
# Git Checkout
|
|
416
416
|
- name: Checkout Code
|
|
417
|
-
uses: actions/checkout@v6
|
|
417
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
418
418
|
with:
|
|
419
419
|
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
420
420
|
fetch-depth: 0
|
|
421
|
+
persist-credentials: false
|
|
421
422
|
|
|
422
423
|
# Collect data & generate markdown
|
|
423
424
|
- name: GitHub Dependents Info
|
|
424
|
-
uses: nvuillam/github-dependents-info@v1.6.3
|
|
425
|
+
uses: nvuillam/github-dependents-info@fa4a7bc373174a9060ad9935ee32557eef05ea89 # v1.6.3
|
|
425
426
|
# See documentation for variables details: https://github.com/nvuillam/github-dependents-info?tab=readme-ov-file#%EF%B8%8F-usage
|
|
426
427
|
with:
|
|
427
428
|
repo: ${{ github.repository }}
|
|
@@ -448,7 +449,7 @@ jobs:
|
|
|
448
449
|
# Create pull request
|
|
449
450
|
- name: Create Pull Request
|
|
450
451
|
id: cpr
|
|
451
|
-
uses: peter-evans/create-pull-request@v8
|
|
452
|
+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
|
|
452
453
|
with:
|
|
453
454
|
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
454
455
|
branch: github-dependents-info-auto-update
|
|
@@ -459,8 +460,11 @@ jobs:
|
|
|
459
460
|
labels: documentation
|
|
460
461
|
- name: Create PR output
|
|
461
462
|
run: |
|
|
462
|
-
echo "Pull Request Number - ${
|
|
463
|
-
echo "Pull Request URL - ${
|
|
463
|
+
echo "Pull Request Number - ${STEPS_CPR_OUTPUTS_PULL_REQUEST_NUMBER}"
|
|
464
|
+
echo "Pull Request URL - ${STEPS_CPR_OUTPUTS_PULL_REQUEST_URL}"
|
|
465
|
+
env:
|
|
466
|
+
STEPS_CPR_OUTPUTS_PULL_REQUEST_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
|
|
467
|
+
STEPS_CPR_OUTPUTS_PULL_REQUEST_URL: ${{ steps.cpr.outputs.pull-request-url }}
|
|
464
468
|
```
|
|
465
469
|
|
|
466
470
|
_________________
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[](https://github.com/nvuillam/github-dependents-info/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
|
|
11
11
|
|
|
12
12
|
[](https://github.com/nvuillam/github-dependents-info/graphs/contributors/)<!-- gh-dependents-info-used-by-start -->
|
|
13
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
|
|
14
14
|
[](https://github.com/sponsors/nvuillam)
|
|
15
15
|
[](https://github.com/nvuillam/github-dependents-info/actions/workflows/mega-linter.yml)
|
|
16
16
|
[](https://github.com/nvuillam/github-dependents-info/blob/master/LICENSE)
|
|
@@ -36,7 +36,7 @@ This package uses GitHub HTML to collect dependents information and can:
|
|
|
36
36
|
- Optionally add an AI-generated usage summary (via `litellm`) when an LLM API key is present
|
|
37
37
|
- Update existing markdown by inserting **Used by** badge within tags
|
|
38
38
|
- `<!-- gh-dependents-info-used-by-start -->
|
|
39
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
|
|
40
40
|
- Handle multiple repositories packages
|
|
41
41
|
- Filter results using minimum stars or by repository owner
|
|
42
42
|
- Keep huge ecosystems manageable with pagination controls (`--max-scraped-pages`, `--pagination/--no-pagination`, `--page-size`)
|
|
@@ -242,7 +242,7 @@ _________________
|
|
|
242
242
|
|-----------|--------|----------------------------------------------|
|
|
243
243
|
| --repo | String | Repository. Example: `oxsecurity/megalinter` |
|
|
244
244
|
| -b<br/> --badgemarkdownfile | String | _(optional)_ Path to markdown file where to insert/update **Used by** badge <br/> (must contain tags `<!-- gh-dependents-info-used-by-start -->
|
|
245
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`) |
|
|
246
246
|
| -s<br/> --sort | String | _(optional)_ Sort order: name (default) or stars |
|
|
247
247
|
| -x<br/> --minstars | String | _(optional)_ If set, filters repositories to keep only those with more than X stars |
|
|
248
248
|
| -m<br/> --markdownfile | String | _(optional)_ Output markdown file file |
|
|
@@ -265,7 +265,7 @@ Badge tags example (the tool replaces everything between the markers):
|
|
|
265
265
|
|
|
266
266
|
```markdown
|
|
267
267
|
<!-- gh-dependents-info-used-by-start -->
|
|
268
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
|
|
269
269
|
```
|
|
270
270
|
|
|
271
271
|
_________________
|
|
@@ -280,7 +280,7 @@ _________________
|
|
|
280
280
|
github-dependents-info --repo nvuillam/npm-groovy-lint --json
|
|
281
281
|
|
|
282
282
|
- Insert/Update **Used by** markdown badge within an existing markdown file containing tags `<!-- gh-dependents-info-used-by-start -->
|
|
283
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
|
|
284
284
|
|
|
285
285
|
github-dependents-info --repo nvuillam/npm-groovy-lint --badgemarkdownfile ./README.md
|
|
286
286
|
|
|
@@ -353,7 +353,7 @@ Create a file **.github/workflows/github-dependents-info.yml** in your repositor
|
|
|
353
353
|
If will generate a new Pull Request (or replace the pending one) every time the usage stats will have changed :)
|
|
354
354
|
|
|
355
355
|
Don't forget to add tags `<!-- gh-dependents-info-used-by-start -->
|
|
356
|
-
[](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->` in your **README.md**, at the end of another badge line if you want github-dependents-info to replace its content automatically.
|
|
357
357
|
|
|
358
358
|
```yaml
|
|
359
359
|
# GitHub Dependents Info workflow
|
|
@@ -387,14 +387,15 @@ jobs:
|
|
|
387
387
|
steps:
|
|
388
388
|
# Git Checkout
|
|
389
389
|
- name: Checkout Code
|
|
390
|
-
uses: actions/checkout@v6
|
|
390
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
391
391
|
with:
|
|
392
392
|
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
393
393
|
fetch-depth: 0
|
|
394
|
+
persist-credentials: false
|
|
394
395
|
|
|
395
396
|
# Collect data & generate markdown
|
|
396
397
|
- name: GitHub Dependents Info
|
|
397
|
-
uses: nvuillam/github-dependents-info@v1.6.3
|
|
398
|
+
uses: nvuillam/github-dependents-info@fa4a7bc373174a9060ad9935ee32557eef05ea89 # v1.6.3
|
|
398
399
|
# See documentation for variables details: https://github.com/nvuillam/github-dependents-info?tab=readme-ov-file#%EF%B8%8F-usage
|
|
399
400
|
with:
|
|
400
401
|
repo: ${{ github.repository }}
|
|
@@ -421,7 +422,7 @@ jobs:
|
|
|
421
422
|
# Create pull request
|
|
422
423
|
- name: Create Pull Request
|
|
423
424
|
id: cpr
|
|
424
|
-
uses: peter-evans/create-pull-request@v8
|
|
425
|
+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
|
|
425
426
|
with:
|
|
426
427
|
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
427
428
|
branch: github-dependents-info-auto-update
|
|
@@ -432,8 +433,11 @@ jobs:
|
|
|
432
433
|
labels: documentation
|
|
433
434
|
- name: Create PR output
|
|
434
435
|
run: |
|
|
435
|
-
echo "Pull Request Number - ${
|
|
436
|
-
echo "Pull Request URL - ${
|
|
436
|
+
echo "Pull Request Number - ${STEPS_CPR_OUTPUTS_PULL_REQUEST_NUMBER}"
|
|
437
|
+
echo "Pull Request URL - ${STEPS_CPR_OUTPUTS_PULL_REQUEST_URL}"
|
|
438
|
+
env:
|
|
439
|
+
STEPS_CPR_OUTPUTS_PULL_REQUEST_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
|
|
440
|
+
STEPS_CPR_OUTPUTS_PULL_REQUEST_URL: ${{ steps.cpr.outputs.pull-request-url }}
|
|
437
441
|
```
|
|
438
442
|
|
|
439
443
|
_________________
|
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "github-dependents-info"
|
|
8
|
-
version = "3.1
|
|
8
|
+
version = "3.2.1"
|
|
9
9
|
description = "Collect information about dependencies between a github repo and other repositories. Results available in JSON, markdown and badges."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
license = "MIT"
|
|
@@ -39,38 +39,38 @@ Repository = "https://github.com/nvuillam/github-dependents-info"
|
|
|
39
39
|
[tool.poetry.dependencies]
|
|
40
40
|
python = ">=3.10,<4.0"
|
|
41
41
|
|
|
42
|
-
click = ">=8.
|
|
43
|
-
typer =
|
|
42
|
+
click = ">=8.4.1,<8.5"
|
|
43
|
+
typer = ">=0.25.1,<0.26"
|
|
44
44
|
rich = ">=15,<15.1"
|
|
45
|
-
beautifulsoup4 = "4.
|
|
45
|
+
beautifulsoup4 = "4.15.0"
|
|
46
46
|
pandas = ">=2.3.3,<3.0"
|
|
47
47
|
httpx = "^0.28.1"
|
|
48
|
-
idna = ">=3.
|
|
48
|
+
idna = ">=3.14"
|
|
49
49
|
|
|
50
50
|
[tool.poetry.group.dev.dependencies]
|
|
51
51
|
bandit = "^1.7.5"
|
|
52
52
|
black = ">=26.3.1"
|
|
53
53
|
darglint = "^1.8.1"
|
|
54
54
|
isort = {extras = ["colors"], version = "^8.0.0"}
|
|
55
|
-
mypy = "^
|
|
55
|
+
mypy = "^2.0"
|
|
56
56
|
mypy-extensions = "^1.0.0"
|
|
57
57
|
pre-commit = "^4.0.0"
|
|
58
58
|
pydocstyle = "^6.3.0"
|
|
59
59
|
pylint = "^4.0.0"
|
|
60
60
|
pytest = "^9.0.0"
|
|
61
61
|
pyupgrade = "^3.4.0"
|
|
62
|
-
safety = "^3.
|
|
62
|
+
safety = "^3.8.1"
|
|
63
63
|
coverage = "^7.3.4"
|
|
64
64
|
coverage-badge = "^1.1.0"
|
|
65
|
-
cryptography = ">=
|
|
65
|
+
cryptography = ">=48.0.0"
|
|
66
66
|
pytest-html = "^4.1.1"
|
|
67
67
|
pytest-cov = "^7.0.0"
|
|
68
68
|
marshmallow = ">=4.3,<4.4"
|
|
69
69
|
authlib = ">=1.7.0"
|
|
70
|
-
requests = ">=2.
|
|
70
|
+
requests = ">=2.34.2"
|
|
71
71
|
urllib3 = ">=2.6.3"
|
|
72
72
|
filelock = ">=3.20.4"
|
|
73
|
-
virtualenv = ">=
|
|
73
|
+
virtualenv = ">=21.3.0"
|
|
74
74
|
nltk = ">=3.9.4"
|
|
75
75
|
|
|
76
76
|
|
|
File without changes
|
{github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/github_dependents_info/__init__.py
RENAMED
|
File without changes
|
{github_dependents_info-3.1.0 → github_dependents_info-3.2.1}/github_dependents_info/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|