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.

Download files

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

Source Distribution

eclipse_care-0.1.0.tar.gz (631.2 kB view details)

Uploaded Source

Built Distribution

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

eclipse_care-0.1.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file eclipse_care-0.1.0.tar.gz.

File metadata

  • Download URL: eclipse_care-0.1.0.tar.gz
  • Upload date:
  • Size: 631.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for eclipse_care-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2937b19f2aaedbe184fcb9db741bb693a351211037bb64f3e44911ca0911d4ba
MD5 e3c6177bcc5989969f9b98257b894243
BLAKE2b-256 d137e03deba5d8bcb1bb24328b3b95032239f306cc37e676069a34059787184a

See more details on using hashes here.

File details

Details for the file eclipse_care-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eclipse_care-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for eclipse_care-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddc08d259d3ea82752dfe3a65f35ce443f51863834a18643e30f61b0fb68b3d5
MD5 8339096b0e59b5790313af30e0e85248
BLAKE2b-256 536d551f2f3f476727901e943a33583b71c0ca1c37d2f7df69314960d836845c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.2

2 files

0.0.1

2 files

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