Metadata-Version: 2.4
Name: aribacortex
Version: 0.1.0
Summary: AI-powered SAP Ariba procurement intelligence and sourcing analytics toolkit.
Author: Jagadeesh Vasanthada
License: MIT
Project-URL: Homepage, https://github.com/raghavachellu/aribacortex
Project-URL: Repository, https://github.com/raghavachellu/aribacortex
Project-URL: Issues, https://github.com/raghavachellu/aribacortex/issues
Keywords: sap,ariba,procurement,sourcing,supply-chain,erp,analytics,ai,ml,esg,p2p,risk-management
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.12.0
Requires-Dist: rich>=13.7.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: ruff>=0.5.0; extra == "dev"
Requires-Dist: mypy>=1.8.0; extra == "dev"
Requires-Dist: build>=1.2.0; extra == "dev"
Requires-Dist: twine>=5.0.0; extra == "dev"
Dynamic: license-file

# aribacortex

![PyPI](https://img.shields.io/pypi/v/aribacortex)
![Python](https://img.shields.io/pypi/pyversions/aribacortex)
![License](https://img.shields.io/badge/license-MIT-green)

> **AI-powered SAP Ariba Procurement Intelligence and Sourcing Analytics Toolkit**

`aribacortex` is an open-source, production-grade Python library designed to bring AI-driven intelligence, analytics, and automation to SAP Ariba and enterprise procurement workflows.

It transforms traditional procurement operations into intelligent, data-driven systems by enabling supplier scoring, spend optimization, sourcing insights, risk visibility, ESG-aware decision-making, and Procure-to-Pay analytics.

It is built for:

- SAP Ariba environments
- Procure-to-Pay (P2P) workflows
- Supply chain and sourcing teams
- Procurement analytics and governance
- AI-driven enterprise decision systems
- Cloud ERP, SAP S/4HANA, and procurement modernization programs

## Features

- AI-style supplier scoring and evaluation
- Spend analytics and optimization insights
- Procurement risk detection and visibility
- ESG-aware supplier evaluation
- Predictive sourcing and decision support
- P2P workflow health analytics
- Integration-ready design for SAP Ariba-style workflows

## Core Capabilities

- **Supplier Intelligence:** Score and rank suppliers using configurable analytics across cost, delivery, quality, risk, ESG, and compliance.
- **Spend Optimization:** Analyze procurement spend by supplier or category and identify savings opportunities.
- **Procurement Risk Analytics:** Detect supplier risk signals, sourcing vulnerabilities, compliance findings, and single-source exposure.
- **ESG & Responsible Sourcing:** Evaluate sustainability and compliance factors in procurement decisions.
- **Predictive Sourcing Foundation:** Enable data-driven supplier selection and sourcing strategy with extensible ML-ready scoring.
- **P2P Workflow Insights:** Measure touchless processing rate, exception rate, and average cycle time.
- **ERP Integration Ready:** Designed to support SAP Ariba, SAP S/4HANA, Cloud ERP, and enterprise workflow integration.
- **Automation Friendly:** Can be embedded into CI/CD pipelines, RPA workflows, procurement systems, and analytics jobs.

## Installation

```bash
pip install aribacortex
```

## Python Usage

```python
from aribacortex import SupplierAnalyzer

analyzer = SupplierAnalyzer()

score = analyzer.score_supplier({
    "supplier_id": "SUP-1001",
    "name": "Global Components Inc.",
    "cost": 85,
    "delivery": 90,
    "quality": 88,
    "risk": 20,
    "esg": 75,
    "compliance": 92
})

print(score.overall_score)
print(score.recommendation)
```

## CLI Usage

Create `supplier.json`:

```json
{
  "supplier_id": "SUP-1001",
  "name": "Global Components Inc.",
  "cost": 85,
  "delivery": 90,
  "quality": 88,
  "risk": 20,
  "esg": 75,
  "compliance": 92
}
```

Run:

```bash
aribacortex score-supplier supplier.json
aribacortex score-supplier supplier.json --output json
```

Risk assessment:

```bash
aribacortex assess-risk risk.json
```

Spend summary:

```bash
aribacortex spend-summary spend.csv --by supplier
aribacortex spend-summary spend.csv --by category
```

## Why aribacortex

Modern procurement requires more than static reports and manual decision-making. `aribacortex` helps organizations build intelligent procurement systems that are predictive, transparent, automation-ready, and aligned with compliance, governance, total cost optimization, and sustainability goals.

## Development

```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest
```

## Build and Publish to PyPI

```bash
python -m build
twine check dist/*
twine upload dist/*
```

Use your PyPI API token when prompted.

## License

MIT

Author: Jagadeesh Vasanthada
