Skip to main content

FinOps CLI - Tool for analyzing AWS costs.

Project description

FinOps CLI

FinOps CLI is a command-line tool for analyzing and optimizing costs.

📊 Features

  • Cost Analysis: Get detailed cost breakdown by instance type and lifecycle
  • Reserved Instances: Identify potential savings from Reserved Instances
  • Cost Optimization: Get recommendations for cost optimization
  • Interactive Interface: Colorful and user-friendly CLI output
  • Export: Export cost analysis to CSV

🛠️ AWS Configuration

You can configure AWS credentials in two ways:

Environment variables:

export AWS_ACCESS_KEY_ID=your_access_key_id
export AWS_SECRET_ACCESS_KEY=your_secret_access_key
export AWS_DEFAULT_REGION=us-east-1

Or you can create a ~/.aws/credentials file with the following content:

[default]
aws_access_key_id = your_access_key_id
aws_secret_access_key = your_secret_access_key
aws_region = us-east-1

📦 Installation

From source

git clone https://github.com/helmcode/finops-cli.git
cd finops-cli
pip install -e .

From PyPI

pip install finops-cli

📚 Usage

finops --help

EC2 Cost analysis for specific region

finops analyze --region eu-west-1

Estimate Reserved Instance savings

finops analyze --region eu-west-1 --show-reserved-savings

Generate CSV report

finops export ec2-savings --region eu-west-1 --output savings.csv

🤝 Contributing

Contributions are welcome! Please open an issue or submit a PR.

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

📄 License

MIT - See LICENSE for details.

👷 Support

If you encounter any issues or have questions:

  1. Check the troubleshooting section
  2. Search existing GitHub Issues
  3. Create a new issue with detailed information about your problem

Made with ❤️ for the FinOps community

Project details


Download files

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

Source Distribution

finops_cli-0.1.3.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

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

finops_cli-0.1.3-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file finops_cli-0.1.3.tar.gz.

File metadata

  • Download URL: finops_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for finops_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 46c195f0368c0b8fac80e8fa34f84e97968a5cdd59a9151d82a2b4594f3d42df
MD5 7973c03f409c8a905da0d2f4ab7f09d9
BLAKE2b-256 ff679437e00b1796ba4e12e122c14f25b66433552f887acab73da528e3c87042

See more details on using hashes here.

File details

Details for the file finops_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: finops_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for finops_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 922768f2885e828cb1cb494db9abaab616654902c5a775cd26ca5a03d79b6ae4
MD5 3a94562a49a0b011f1add7bd993eddc9
BLAKE2b-256 b079bcac21f5996dd14111aca3b6fd67565fe1b904c6cae83300648ead0d103e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page