quality-analysis-cli
🔍 AI-powered Python code quality and security analyzer using Groq LLM.
Features
- 🤖 LLM-powered code analysis using Groq (Llama 3.1)
- 🔴 Severity classification (High, Medium, Low)
- 📊 Quality scoring (0-100)
- 🎨 Beautiful terminal reports with Rich
- 🚀 CI/CD integration support (exits with code 1 on high-severity issues)
Installation
Quick Start
1. Install the package
pip install quality-analysis-cli
### 2. Get a Groq API Key
Go to console.groq.com
Create a free account and generate an API key
###3. Navigate to your project folder
cd /path/to/your/project
###4. Run the scan
## Usage
### Basic Scan
```bash
quality-analysis-cli scan <path>
# Scan a single file
quality-analysis-cli scan main.py
# Scan a directory
quality-analysis-cli scan ./src
# Scan with custom API key
quality-analysis-cli scan ./src --api-key YOUR_GROQ_API_KEY
# Exclude specific patterns
quality-analysis-cli scan ./src --exclude "tests,__pycache__"
# Verbose output
quality-analysis-cli scan ./src --verbose
# Skip confirmation prompt for large scans
quality-analysis-cli scan ./src --yes
5. View your report
The tool will display a quality score (0-100) with issues grouped by severity:
🔴 High - Critical issues to fix immediately
🟡 Medium - Should be addressed soon
🟢 Low - Minor improvements
Metadata
Release files for quality-analysis-cli 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quality_analysis_cli-1.0.2.tar.gz | 15.8 kB | Without provenance | Details for quality_analysis_cli-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quality_analysis_cli-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for quality_analysis_cli-1.0.2-py3-none-any.whl |
Total release size: 31.5 kB
Release files / quality_analysis_cli-1.0.2.tar.gz
| Download URL | quality_analysis_cli-1.0.2.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7597be3c06bd55d0977e181256fbb000da99824da9bef10435cd733bd98651e7
|
|
BLAKE2b-256 checksum How to use checksums |
d4da887232d66fce96938fd9e0adeabfddb894e2a39424abeb29d0249e5ffa86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / quality_analysis_cli-1.0.2-py3-none-any.whl
| Download URL | quality_analysis_cli-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2b6c1a3cdeacc292c5d4c69451b56ce5722defda14a22cf2c322ec2b717516a
|
|
BLAKE2b-256 checksum How to use checksums |
adb324d6ddfe8257a27a44b342afa6d17e6f645b3d015470a8eb5e3afc6b1df3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Security for quality-analysis-cli 1.0.2
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.