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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-dependents-info
3
- Version: 3.1.0
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.14.3)
18
- Requires-Dist: click (>=8.3.1,<8.4)
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.11)
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[standard] (>=0.24,<0.25)
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
  [![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/nvuillam/github-dependents-info/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
38
38
 
39
39
  [![GitHub contributors](https://img.shields.io/github/contributors/nvuillam/github-dependents-info.svg)](https://github.com/nvuillam/github-dependents-info/graphs/contributors/)<!-- gh-dependents-info-used-by-start -->
40
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
40
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
41
41
  [![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam)
42
42
  [![MegaLinter](https://github.com/nvuillam/github-dependents-info/actions/workflows/mega-linter.yml/badge.svg)](https://github.com/nvuillam/github-dependents-info/actions/workflows/mega-linter.yml)
43
43
  [![License](https://img.shields.io/github/license/nvuillam/github-dependents-info)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
66
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`) |
272
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
295
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
310
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](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.
383
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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 # If you want to always have the latest version, you can use nvuillam/github-dependents-info@main :)
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 - ${{ steps.cpr.outputs.pull-request-number }}"
463
- echo "Pull Request URL - ${{ steps.cpr.outputs.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
  [![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/nvuillam/github-dependents-info/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
11
11
 
12
12
  [![GitHub contributors](https://img.shields.io/github/contributors/nvuillam/github-dependents-info.svg)](https://github.com/nvuillam/github-dependents-info/graphs/contributors/)<!-- gh-dependents-info-used-by-start -->
13
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
13
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
14
14
  [![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam)
15
15
  [![MegaLinter](https://github.com/nvuillam/github-dependents-info/actions/workflows/mega-linter.yml/badge.svg)](https://github.com/nvuillam/github-dependents-info/actions/workflows/mega-linter.yml)
16
16
  [![License](https://img.shields.io/github/license/nvuillam/github-dependents-info)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
39
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`) |
245
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
268
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](https://github.com/nvuillam/github-dependents-info/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->`
283
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=48&color=informational&logo=slickpic)](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.
356
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=51&color=informational&logo=slickpic)](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 # If you want to always have the latest version, you can use nvuillam/github-dependents-info@main :)
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 - ${{ steps.cpr.outputs.pull-request-number }}"
436
- echo "Pull Request URL - ${{ steps.cpr.outputs.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.0"
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.3.1,<8.4"
43
- typer = {extras = ["standard"], version = ">=0.24,<0.25"}
42
+ click = ">=8.4.1,<8.5"
43
+ typer = ">=0.25.1,<0.26"
44
44
  rich = ">=15,<15.1"
45
- beautifulsoup4 = "4.14.3"
45
+ beautifulsoup4 = "4.15.0"
46
46
  pandas = ">=2.3.3,<3.0"
47
47
  httpx = "^0.28.1"
48
- idna = ">=3.11"
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 = "^1.8"
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.7.0"
62
+ safety = "^3.8.1"
63
63
  coverage = "^7.3.4"
64
64
  coverage-badge = "^1.1.0"
65
- cryptography = ">=46.0.7"
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.33.1"
70
+ requests = ">=2.34.2"
71
71
  urllib3 = ">=2.6.3"
72
72
  filelock = ">=3.20.4"
73
- virtualenv = ">=20.39.1"
73
+ virtualenv = ">=21.3.0"
74
74
  nltk = ">=3.9.4"
75
75
 
76
76