pareto-2.6.1 is not a library.
pareto
Pareto Principle (80/20 rule) analysis CLI tool. Analyze wealth distribution, resource concentration, and identify optimization opportunities.
Note: This is a convenience wrapper for
lawkit pareto. For additional statistical laws (Benford, Zipf, Normal, Poisson) and advanced features, see lawkit.
Installation
Usage
# Analyze a file
# From stdin
|
# Output formats
Options
)
)
Output
- Top 20% share: Percentage of total owned by top 20%
- Pareto ratio: How close to ideal 80/20 distribution
- Concentration index: Gini coefficient (0=equal, 1=concentrated)
- Lorenz curve: Visual distribution graph
Exit Codes
| Code | Meaning |
|---|---|
| 0 | LOW/MEDIUM risk - distribution is healthy |
| 10 | HIGH risk - significant imbalance |
| 11 | CRITICAL risk - extreme concentration |
See Also
License
MIT