Skip to main content

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.

build-test-lint Latest Release License: MIT

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 data
  • archives - Package archive analysis
  • commits - Repository commit data
  • dependabot - Dependabot integration data
  • diff - File and archive comparison
  • docker - Docker image metadata
  • issues - Repository issues and pull requests
  • licenses - License detection and analysis
  • opencollective - Open Collective funding data
  • packages - Package registry information
  • parser - Dependency file parsing
  • repos - Repository data and metadata
  • resolve - Dependency resolution
  • sbom - Software Bill of Materials generation
  • sponsors - GitHub Sponsors data
  • summary - Aggregated summaries
  • timeline - 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecosyste_ms_cli-1.3.2.tar.gz (65.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ecosyste_ms_cli-1.3.2-py3-none-any.whl (95.2 kB view details)

Uploaded Python 3

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

Hashes for ecosyste_ms_cli-1.3.2.tar.gz
Algorithm Hash digest
SHA256 99527591df28d7fad1ebdc9f383c6624e7e049930daef54453be39c9f04c91f1
MD5 504197fe6d847d7b1ec1b51656709c6e
BLAKE2b-256 a778fc05109a5ca716e60b4dee57b880afe3399bb04f0291f1e816b25e46b23a

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ecosyste_ms_cli-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ecosyste_ms_cli-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 446204b8fa0d19e65d2d8605a3b27f4ee8bcab8d9e63d8726a39542279acc72c
MD5 690b545dfe6a279a6017641ea1ed8ccb
BLAKE2b-256 597e6e6630965703d9ef1304a32144cd41907e77065e6c0496a1499bf76d7649

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page