ecosyste-ms-cli 1.3.2__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.
- ecosyste_ms_cli-1.3.2.dist-info/METADATA +133 -0
- ecosyste_ms_cli-1.3.2.dist-info/RECORD +84 -0
- ecosyste_ms_cli-1.3.2.dist-info/WHEEL +5 -0
- ecosyste_ms_cli-1.3.2.dist-info/entry_points.txt +2 -0
- ecosyste_ms_cli-1.3.2.dist-info/licenses/LICENSE +21 -0
- ecosyste_ms_cli-1.3.2.dist-info/top_level.txt +1 -0
- ecosystems_cli/__init__.py +3 -0
- ecosystems_cli/__main__.py +4 -0
- ecosystems_cli/apis/__init__.py +0 -0
- ecosystems_cli/apis/advisories.openapi.yaml +347 -0
- ecosystems_cli/apis/archives.openapi.yaml +193 -0
- ecosystems_cli/apis/commits.openapi.yaml +391 -0
- ecosystems_cli/apis/dependabot.openapi.yaml +887 -0
- ecosystems_cli/apis/diff.openapi.yaml +90 -0
- ecosystems_cli/apis/docker.openapi.yaml +534 -0
- ecosystems_cli/apis/issues.openapi.yaml +839 -0
- ecosystems_cli/apis/licenses.openapi.yaml +80 -0
- ecosystems_cli/apis/opencollective.openapi.yaml +247 -0
- ecosystems_cli/apis/packages.openapi.yaml +2522 -0
- ecosystems_cli/apis/parser.openapi.yaml +97 -0
- ecosystems_cli/apis/registries.yaml +155 -0
- ecosystems_cli/apis/repos.openapi.yaml +1521 -0
- ecosystems_cli/apis/resolve.openapi.yaml +130 -0
- ecosystems_cli/apis/sbom.openapi.yaml +79 -0
- ecosystems_cli/apis/sponsors.openapi.yaml +283 -0
- ecosystems_cli/apis/summary.openapi.yaml +239 -0
- ecosystems_cli/apis/timeline.openapi.yaml +91 -0
- ecosystems_cli/cli.py +213 -0
- ecosystems_cli/commands/__init__.py +1 -0
- ecosystems_cli/commands/advisories.py +109 -0
- ecosystems_cli/commands/archives.py +5 -0
- ecosystems_cli/commands/commits.py +5 -0
- ecosystems_cli/commands/decorators.py +101 -0
- ecosystems_cli/commands/dependabot.py +5 -0
- ecosystems_cli/commands/diff.py +144 -0
- ecosystems_cli/commands/docker.py +5 -0
- ecosystems_cli/commands/execution.py +99 -0
- ecosystems_cli/commands/generator.py +127 -0
- ecosystems_cli/commands/handlers/__init__.py +45 -0
- ecosystems_cli/commands/handlers/advisories.py +73 -0
- ecosystems_cli/commands/handlers/archives.py +40 -0
- ecosystems_cli/commands/handlers/base.py +38 -0
- ecosystems_cli/commands/handlers/commits.py +76 -0
- ecosystems_cli/commands/handlers/default.py +40 -0
- ecosystems_cli/commands/handlers/dependabot.py +205 -0
- ecosystems_cli/commands/handlers/diff.py +72 -0
- ecosystems_cli/commands/handlers/docker.py +142 -0
- ecosystems_cli/commands/handlers/factory.py +60 -0
- ecosystems_cli/commands/handlers/issues.py +87 -0
- ecosystems_cli/commands/handlers/licenses.py +52 -0
- ecosystems_cli/commands/handlers/opencollective.py +86 -0
- ecosystems_cli/commands/handlers/packages.py +103 -0
- ecosystems_cli/commands/handlers/parser.py +57 -0
- ecosystems_cli/commands/handlers/repos.py +97 -0
- ecosystems_cli/commands/handlers/resolve.py +68 -0
- ecosystems_cli/commands/handlers/sbom.py +52 -0
- ecosystems_cli/commands/handlers/sponsors.py +52 -0
- ecosystems_cli/commands/handlers/summary.py +81 -0
- ecosystems_cli/commands/handlers/timeline.py +45 -0
- ecosystems_cli/commands/issues.py +5 -0
- ecosystems_cli/commands/licenses.py +135 -0
- ecosystems_cli/commands/mcp.py +54 -0
- ecosystems_cli/commands/opencollective.py +5 -0
- ecosystems_cli/commands/packages.py +151 -0
- ecosystems_cli/commands/parser.py +135 -0
- ecosystems_cli/commands/repos.py +5 -0
- ecosystems_cli/commands/resolve.py +160 -0
- ecosystems_cli/commands/sbom.py +135 -0
- ecosystems_cli/commands/sponsors.py +5 -0
- ecosystems_cli/commands/summary.py +5 -0
- ecosystems_cli/commands/timeline.py +5 -0
- ecosystems_cli/constants.py +92 -0
- ecosystems_cli/exceptions.py +149 -0
- ecosystems_cli/helpers/click_params.py +49 -0
- ecosystems_cli/helpers/flatten_dict.py +15 -0
- ecosystems_cli/helpers/format_value.py +30 -0
- ecosystems_cli/helpers/get_domain.py +68 -0
- ecosystems_cli/helpers/load_api_spec.py +31 -0
- ecosystems_cli/helpers/print_error.py +15 -0
- ecosystems_cli/helpers/print_operations.py +73 -0
- ecosystems_cli/helpers/print_output.py +183 -0
- ecosystems_cli/helpers/purl_parser.py +121 -0
- ecosystems_cli/mcp_server.py +267 -0
- ecosystems_cli/openapi_client.py +461 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
openapi: 3.0.1
|
|
3
|
+
info:
|
|
4
|
+
title: 'Ecosyste.ms: Parser'
|
|
5
|
+
description: 'An open API service to parse dependency metadata from many open source
|
|
6
|
+
software ecosystems manifest files. '
|
|
7
|
+
contact:
|
|
8
|
+
name: Ecosyste.ms
|
|
9
|
+
email: support@ecosyste.ms
|
|
10
|
+
url: https://ecosyste.ms
|
|
11
|
+
version: 1.0.0
|
|
12
|
+
license:
|
|
13
|
+
name: CC-BY-SA-4.0
|
|
14
|
+
url: https://creativecommons.org/licenses/by-sa/4.0/
|
|
15
|
+
externalDocs:
|
|
16
|
+
description: GitHub Repository
|
|
17
|
+
url: https://github.com/ecosyste-ms/parser
|
|
18
|
+
servers:
|
|
19
|
+
- url: https://parser.ecosyste.ms/api/v1
|
|
20
|
+
paths:
|
|
21
|
+
"/jobs":
|
|
22
|
+
post:
|
|
23
|
+
summary: submit a dependency parsing job
|
|
24
|
+
operationId: createJob
|
|
25
|
+
parameters:
|
|
26
|
+
- name: url
|
|
27
|
+
in: query
|
|
28
|
+
description: url of file or zip/tar archive
|
|
29
|
+
required: true
|
|
30
|
+
schema:
|
|
31
|
+
type: string
|
|
32
|
+
responses:
|
|
33
|
+
301:
|
|
34
|
+
description: Redirect
|
|
35
|
+
headers:
|
|
36
|
+
location:
|
|
37
|
+
description: URL of submitted job
|
|
38
|
+
schema:
|
|
39
|
+
type: string
|
|
40
|
+
"/jobs/formats":
|
|
41
|
+
get:
|
|
42
|
+
summary: list supporte file formats and ecosystems
|
|
43
|
+
operationId: jobFormats
|
|
44
|
+
responses:
|
|
45
|
+
200:
|
|
46
|
+
description: OK
|
|
47
|
+
content:
|
|
48
|
+
application/json:
|
|
49
|
+
schema:
|
|
50
|
+
type: array
|
|
51
|
+
items:
|
|
52
|
+
"$ref": "#/components/schemas/Format"
|
|
53
|
+
"/jobs/{jobID}":
|
|
54
|
+
get:
|
|
55
|
+
summary: fetch job by id
|
|
56
|
+
operationId: getJob
|
|
57
|
+
parameters:
|
|
58
|
+
- in: path
|
|
59
|
+
name: jobID
|
|
60
|
+
schema:
|
|
61
|
+
type: string
|
|
62
|
+
required: true
|
|
63
|
+
description: id of job
|
|
64
|
+
responses:
|
|
65
|
+
200:
|
|
66
|
+
description: OK
|
|
67
|
+
content:
|
|
68
|
+
application/json:
|
|
69
|
+
schema:
|
|
70
|
+
"$ref": "#/components/schemas/Job"
|
|
71
|
+
components:
|
|
72
|
+
schemas:
|
|
73
|
+
Job:
|
|
74
|
+
type: object
|
|
75
|
+
properties:
|
|
76
|
+
id:
|
|
77
|
+
type: string
|
|
78
|
+
url:
|
|
79
|
+
type: string
|
|
80
|
+
status:
|
|
81
|
+
type: string
|
|
82
|
+
results:
|
|
83
|
+
type: object
|
|
84
|
+
created_at:
|
|
85
|
+
type: string
|
|
86
|
+
format: date-time
|
|
87
|
+
updated_at:
|
|
88
|
+
type: string
|
|
89
|
+
format: date-time
|
|
90
|
+
sidekiq_id:
|
|
91
|
+
type: string
|
|
92
|
+
sha256:
|
|
93
|
+
type: string
|
|
94
|
+
Format:
|
|
95
|
+
type: object
|
|
96
|
+
additionalProperties:
|
|
97
|
+
type: string
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Auto-generated list of available registries
|
|
2
|
+
# Generated from: https://packages.ecosyste.ms/api/v1/registries
|
|
3
|
+
# Run: python scripts/fetch_registries.py to update
|
|
4
|
+
|
|
5
|
+
registries:
|
|
6
|
+
- name: alpine-edge
|
|
7
|
+
purl_type: alpine
|
|
8
|
+
- name: alpine-v3.10
|
|
9
|
+
purl_type: alpine
|
|
10
|
+
- name: alpine-v3.11
|
|
11
|
+
purl_type: alpine
|
|
12
|
+
- name: alpine-v3.12
|
|
13
|
+
purl_type: alpine
|
|
14
|
+
- name: alpine-v3.13
|
|
15
|
+
purl_type: alpine
|
|
16
|
+
- name: alpine-v3.14
|
|
17
|
+
purl_type: alpine
|
|
18
|
+
- name: alpine-v3.15
|
|
19
|
+
purl_type: alpine
|
|
20
|
+
- name: alpine-v3.16
|
|
21
|
+
purl_type: alpine
|
|
22
|
+
- name: alpine-v3.17
|
|
23
|
+
purl_type: alpine
|
|
24
|
+
- name: alpine-v3.18
|
|
25
|
+
purl_type: alpine
|
|
26
|
+
- name: alpine-v3.19
|
|
27
|
+
purl_type: alpine
|
|
28
|
+
- name: alpine-v3.20
|
|
29
|
+
purl_type: alpine
|
|
30
|
+
- name: alpine-v3.21
|
|
31
|
+
purl_type: alpine
|
|
32
|
+
- name: alpine-v3.22
|
|
33
|
+
purl_type: alpine
|
|
34
|
+
- name: alpine-v3.3
|
|
35
|
+
purl_type: alpine
|
|
36
|
+
- name: alpine-v3.4
|
|
37
|
+
purl_type: alpine
|
|
38
|
+
- name: alpine-v3.5
|
|
39
|
+
purl_type: alpine
|
|
40
|
+
- name: alpine-v3.6
|
|
41
|
+
purl_type: alpine
|
|
42
|
+
- name: alpine-v3.7
|
|
43
|
+
purl_type: alpine
|
|
44
|
+
- name: alpine-v3.8
|
|
45
|
+
purl_type: alpine
|
|
46
|
+
- name: alpine-v3.9
|
|
47
|
+
purl_type: alpine
|
|
48
|
+
- name: anaconda.org
|
|
49
|
+
purl_type: conda
|
|
50
|
+
- name: artifacts.alfresco.com
|
|
51
|
+
purl_type: maven
|
|
52
|
+
- name: bioconductor.org
|
|
53
|
+
purl_type: bioconductor
|
|
54
|
+
- name: bower.io
|
|
55
|
+
purl_type: bower
|
|
56
|
+
- name: carthage
|
|
57
|
+
purl_type: carthage
|
|
58
|
+
- name: clojars.org
|
|
59
|
+
purl_type: clojars
|
|
60
|
+
- name: cocoapods.org
|
|
61
|
+
purl_type: cocoapods
|
|
62
|
+
- name: conda-forge.org
|
|
63
|
+
purl_type: conda
|
|
64
|
+
- name: cran.r-project.org
|
|
65
|
+
purl_type: cran
|
|
66
|
+
- name: crates.io
|
|
67
|
+
purl_type: cargo
|
|
68
|
+
- name: deno.land
|
|
69
|
+
purl_type: deno
|
|
70
|
+
- name: elpa.gnu.org
|
|
71
|
+
purl_type: melpa
|
|
72
|
+
- name: elpa.nongnu.org
|
|
73
|
+
purl_type: melpa
|
|
74
|
+
- name: forge.puppet.com
|
|
75
|
+
purl_type: puppet
|
|
76
|
+
- name: formulae.brew.sh
|
|
77
|
+
purl_type: brew
|
|
78
|
+
- name: gem.coop
|
|
79
|
+
purl_type: gem
|
|
80
|
+
- name: github actions
|
|
81
|
+
purl_type: githubactions
|
|
82
|
+
- name: hackage.haskell.org
|
|
83
|
+
purl_type: hackage
|
|
84
|
+
- name: hex.pm
|
|
85
|
+
purl_type: hex
|
|
86
|
+
- name: hub.docker.com
|
|
87
|
+
purl_type: docker
|
|
88
|
+
- name: juliahub.com
|
|
89
|
+
purl_type: julia
|
|
90
|
+
- name: metacpan.org
|
|
91
|
+
purl_type: cpan
|
|
92
|
+
- name: npmjs.org
|
|
93
|
+
purl_type: npm
|
|
94
|
+
- name: nuget.org
|
|
95
|
+
purl_type: nuget
|
|
96
|
+
- name: open-vsx.org
|
|
97
|
+
purl_type: openvsx
|
|
98
|
+
- name: package.elm-lang.org
|
|
99
|
+
purl_type: elm
|
|
100
|
+
- name: packagist.org
|
|
101
|
+
purl_type: composer
|
|
102
|
+
- name: pkg.adelielinux.org
|
|
103
|
+
purl_type: adelie
|
|
104
|
+
- name: pkgs.racket-lang.org
|
|
105
|
+
purl_type: racket
|
|
106
|
+
- name: postmarketos-master
|
|
107
|
+
purl_type: postmarketos
|
|
108
|
+
- name: postmarketos-v20.05
|
|
109
|
+
purl_type: postmarketos
|
|
110
|
+
- name: postmarketos-v21.03
|
|
111
|
+
purl_type: postmarketos
|
|
112
|
+
- name: postmarketos-v21.06
|
|
113
|
+
purl_type: postmarketos
|
|
114
|
+
- name: postmarketos-v21.12
|
|
115
|
+
purl_type: postmarketos
|
|
116
|
+
- name: postmarketos-v22.06
|
|
117
|
+
purl_type: postmarketos
|
|
118
|
+
- name: postmarketos-v22.12
|
|
119
|
+
purl_type: postmarketos
|
|
120
|
+
- name: postmarketos-v23.06
|
|
121
|
+
purl_type: postmarketos
|
|
122
|
+
- name: postmarketos-v23.11
|
|
123
|
+
purl_type: postmarketos
|
|
124
|
+
- name: postmarketos-v23.12
|
|
125
|
+
purl_type: postmarketos
|
|
126
|
+
- name: postmarketos-v24.06
|
|
127
|
+
purl_type: postmarketos
|
|
128
|
+
- name: postmarketos-v24.12
|
|
129
|
+
purl_type: postmarketos
|
|
130
|
+
- name: postmarketos-v25.06
|
|
131
|
+
purl_type: postmarketos
|
|
132
|
+
- name: proxy.golang.org
|
|
133
|
+
purl_type: golang
|
|
134
|
+
- name: pub.dev
|
|
135
|
+
purl_type: pub
|
|
136
|
+
- name: pypi.org
|
|
137
|
+
purl_type: pypi
|
|
138
|
+
- name: repo1.maven.org
|
|
139
|
+
purl_type: maven
|
|
140
|
+
- name: repository.apache.org-releases
|
|
141
|
+
purl_type: maven
|
|
142
|
+
- name: repository.apache.org-snapshots
|
|
143
|
+
purl_type: maven
|
|
144
|
+
- name: repository.cloudera.com
|
|
145
|
+
purl_type: maven
|
|
146
|
+
- name: repository.jboss.org
|
|
147
|
+
purl_type: maven
|
|
148
|
+
- name: rubygems.org
|
|
149
|
+
purl_type: gem
|
|
150
|
+
- name: spack.io
|
|
151
|
+
purl_type: spack
|
|
152
|
+
- name: swiftpackageindex.com
|
|
153
|
+
purl_type: swift
|
|
154
|
+
- name: vcpkg.io
|
|
155
|
+
purl_type: vcpkg
|