Command line
You can access ecosyste.ms data from the command line using our experimental CLI tool.
Installation
Friendly instructions coming soon, in the meantime see the project README.
Usage
Usage help is available by running:
> ecosystems --help
Or for a particular command / subcommand:
> ecosystems packages lookup_package --help
By default, results are shown in a table, but other formats are available (json, tsv, and jsonl (JSON lines)):
> ecosystems --format json packages lookup_package --name numpy --ecosystem pypi
[
{
"id": 2822925,
"name": "numpy",
"ecosystem": "pypi",
"description": "Fundamental package for array computing in Python",
...etc...
}
]
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