Skip to main content

Eclipse CLI Assessment and Recommendation Engine

Gitlab Pipeline Status PyPI - Version PyPI - Python Version Documentation REUSE status GitLab License

Description

Eclipse CARE lets you assess any Eclipse project regarding Eclipse open source best practices, and get recommendations for improvement.

Its features include:

  • Recommended files (e.g. README, LICENSE, SECURITY, etc.) in repositories (Implemented).
  • Copyright headers checks (Implemented).
  • IP and license management (Coming Soon).
  • Headers generator (Coming Soon).

Resources

Official Documentation - Detailed guides, API reference, and architecture.

To learn more about the Eclipse way on open source best practices, see:

The EMO team also provides several trainings, resources and presentations:

Installation

Eclipse CARE requires Python 3.10 or higher. You can install the package directly from PyPI:

pip install eclipse-care

Or from the source:

  1. Clone the repository.
  2. Get Hatch to build the tool.
  3. Build and install the tool:
hatch build
pip install dist/eclipse_care-*.whl

Usage

Once installed, you can use the eclipse-care command:

Arguments:

  • project_id: The Eclipse project ID to assess (e.g., technology.dash).

Options:

  • -c, --conf: path to an .ini file containing GitHub/GitLab authentication tokens.
  • -m, --modules: Specify which modules to run (e.g., care.legal.recommended_files).
  • -v, --verbose: Display more verbose information during execution.
  • -V, --version: Show the version and exit.
  • --html HTML: Write results to the provided HTML file.
  • --json JSON: Write results to the provided JSON file.

Authentication credentials for GitLab and GitHub can be provided either in a classic .ini file (see the documentation) or in environment variables:

  • GH_AUTH_TOKEN: Your GitHub Personal Access Token.
  • GL_AUTH_TOKEN: Your GitLab Personal Access Token.

Please note that, for GitHub API public access, the API rate limits are very low. It's very likely that you'll get rate limited if you don't provide a GH_TOKEN.

Examples

To analyze a specific project using its ID:

eclipse-care technology.dash

To run with verbose output and a configuration file for credentials:

eclipse-care technology.dash --conf my_config.ini --verbose

To run only a specific module:

eclipse-care technology.dash --modules care.legal.recommended_files

Support

If you need help or have questions, please use the following channels:

Contributing

We are open to contributions! We recommend the following workflow:

  • Submit an issue describing the feature or bug.
  • Fork the repository and submit a MR.

We aim to review issues and code, and provide feedback diligently.

See the full documentation in the docs/ directory for more information about the coding guidelines and expected resources (e.g. tests, documentation).

Acknowledgment

Eclipse CARE is made possible thanks to the following open-source projects:

  • PyGithub and python-gitlab: For interacting with repository hosting platforms.
  • scancode-toolkit-mini and typecode-libmagic: For advanced license and file type detection.
  • colorama: For providing cross-platform terminal text coloring.
  • hatchling: For the build system and package management.
  • pytest: For our testing infrastructure.
  • mkdocs-material: For generating our project documentation.

License

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0, which is available at http://www.eclipse.org/legal/epl-2.0.

Metadata

Release files for eclipse-care 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eclipse-care 0.1.0
File Size Uploaded Provenance
eclipse_care-0.1.0.tar.gz 631.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for eclipse-care 0.1.0
File Interpreter ABI Platform
eclipse_care-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 664.3 kB

Release files / eclipse_care-0.1.0.tar.gz

Download URL eclipse_care-0.1.0.tar.gz
Size 631.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2937b19f2aaedbe184fcb9db741bb693a351211037bb64f3e44911ca0911d4ba
BLAKE2b-256 checksum
How to use checksums
d137e03deba5d8bcb1bb24328b3b95032239f306cc37e676069a34059787184a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / eclipse_care-0.1.0-py3-none-any.whl

Download URL eclipse_care-0.1.0-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddc08d259d3ea82752dfe3a65f35ce443f51863834a18643e30f61b0fb68b3d5
BLAKE2b-256 checksum
How to use checksums
536d551f2f3f476727901e943a33583b71c0ca1c37d2f7df69314960d836845c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for eclipse-care 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page