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.4.2.tar.gz (71.1 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.4.2-py3-none-any.whl (89.1 kB view details)

Uploaded Python 3

File details

Details for the file ecosyste_ms_cli-1.4.2.tar.gz.

File metadata

  • Download URL: ecosyste_ms_cli-1.4.2.tar.gz
  • Upload date:
  • Size: 71.1 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.4.2.tar.gz
Algorithm Hash digest
SHA256 56aaf5295b9c2d25d2f6fba071b8b03d53b6e6e8500aecc9fa8dafb694b4adbd
MD5 97d188cf54096681b902247ba19edf14
BLAKE2b-256 a560daf710116f279adc7802ab0d4cf6d40f6348858d71f82bd1214c27a3fd5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ecosyste_ms_cli-1.4.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.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ecosyste_ms_cli-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88635215947d60992620c66511da31e710dee047bdb8901e9041b0f76d8dc0c8
MD5 1c975aa9e8f779c77b8f2a322270ea61
BLAKE2b-256 49daf92d4d05fe8afd195dbc3af6ae5e95de8ab8e88bec4b623ffebf654acf63

See more details on using hashes here.

Provenance

The following attestation bundles were made for ecosyste_ms_cli-1.4.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