CLI for ecosyste.ms API
Project description
Ecosystems CLI
The cli is still in a development phase. Some aspects of documentation or dev-x are lacking and some aspects of this software might have bugs.
A command-line interface for interacting with ecosyste.ms APIs.
Installation
Requirements:
- Python >= 3.9
# Clone the repository
git clone git@github.com:ecosyste-ms/ecosyste_ms_cli.git
cd ecosyste_ms_cli
# Set up virtual environment and install dependencies
make setup
Usage
Each command includes helpful examples in its help text. Use --help with any command to see usage examples.
# Show available commands
ecosystems --help
Global Options
--timeout: Set the timeout in seconds for all HTTP requests (default: 20 seconds)--format: Set the output format (default: table). Available formats: table, json, tsv, jsonl
Output Formats
The CLI supports multiple output formats:
# Example: Set a 30-second timeout for all requests
ecosystems --timeout 30 repos topics
# Example: Get output in JSON format
ecosystems --format json repos topics
# Example: Get output in TSV format (tab-separated values)
ecosystems --format tsv repos topics
# Example: Get output in JSONL format (JSON Lines)
ecosystems --format jsonl repos topics
Available Commands
The CLI provides access to various ecosyste.ms APIs. Each command group corresponds to an API endpoint:
advisories- Security advisories and vulnerability dataarchives- Package archive analysiscommits- Repository commit datadependabot- Dependabot integration datadiff- File and archive comparisondocker- Docker image metadataissues- Repository issues and pull requestslicenses- License detection and analysisopencollective- Open Collective funding datapackages- Package registry informationparser- Dependency file parsingrepos- Repository data and metadataresolve- Dependency resolutionsbom- Software Bill of Materials generationsponsors- GitHub Sponsors datasummary- Aggregated summariestimeline- Event timeline data
Use --help with any command for detailed usage and examples.
Examples
- ecosystems packages package npmjs.org react --format json | jq '.name'
Documentation
- Development Guide - Information about development, testing, and release processes
- MCP Server - [Experimental] Model Context Protocol server for AI assistants
- License - MIT License details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ecosyste_ms_cli-1.3.2.tar.gz.
File metadata
- Download URL: ecosyste_ms_cli-1.3.2.tar.gz
- Upload date:
- Size: 65.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99527591df28d7fad1ebdc9f383c6624e7e049930daef54453be39c9f04c91f1
|
|
| MD5 |
504197fe6d847d7b1ec1b51656709c6e
|
|
| BLAKE2b-256 |
a778fc05109a5ca716e60b4dee57b880afe3399bb04f0291f1e816b25e46b23a
|
Provenance
The following attestation bundles were made for ecosyste_ms_cli-1.3.2.tar.gz:
Publisher:
publish.yml on ecosyste-ms/ecosyste_ms_cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ecosyste_ms_cli-1.3.2.tar.gz -
Subject digest:
99527591df28d7fad1ebdc9f383c6624e7e049930daef54453be39c9f04c91f1 - Sigstore transparency entry: 1181988527
- Sigstore integration time:
-
Permalink:
ecosyste-ms/ecosyste_ms_cli@719b7c13cd0ed75058cf2f12b573da45876119ea -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ecosyste-ms
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@719b7c13cd0ed75058cf2f12b573da45876119ea -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file ecosyste_ms_cli-1.3.2-py3-none-any.whl.
File metadata
- Download URL: ecosyste_ms_cli-1.3.2-py3-none-any.whl
- Upload date:
- Size: 95.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
446204b8fa0d19e65d2d8605a3b27f4ee8bcab8d9e63d8726a39542279acc72c
|
|
| MD5 |
690b545dfe6a279a6017641ea1ed8ccb
|
|
| BLAKE2b-256 |
597e6e6630965703d9ef1304a32144cd41907e77065e6c0496a1499bf76d7649
|
Provenance
The following attestation bundles were made for ecosyste_ms_cli-1.3.2-py3-none-any.whl:
Publisher:
publish.yml on ecosyste-ms/ecosyste_ms_cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ecosyste_ms_cli-1.3.2-py3-none-any.whl -
Subject digest:
446204b8fa0d19e65d2d8605a3b27f4ee8bcab8d9e63d8726a39542279acc72c - Sigstore transparency entry: 1181988551
- Sigstore integration time:
-
Permalink:
ecosyste-ms/ecosyste_ms_cli@719b7c13cd0ed75058cf2f12b573da45876119ea -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ecosyste-ms
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@719b7c13cd0ed75058cf2f12b573da45876119ea -
Trigger Event:
workflow_dispatch
-
Statement type: