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.1.tar.gz (15.2 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.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: finops_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 15.2 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.1.tar.gz
Algorithm Hash digest
SHA256 f8e9595730f6a799d3674ff9667a98d786cead8b39054c95d46abde6064b0dd9
MD5 b915edf961510f82cf0785db015e2e31
BLAKE2b-256 b5ce6aca15f9c840269c240b59588c2aab1657c38437e307873ecd24182bc688

See more details on using hashes here.

File details

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

File metadata

  • Download URL: finops_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02f2abbd2a8999dcb1bb07af94e233d992c50c854382afbb7d75c110607e5e1e
MD5 4845d5e00cef3fe4788d1156c38bc57a
BLAKE2b-256 f45647e72fd55c60603791f0bc80c96c40c26f2e8b307a8a2bdb4a0d49b3c0f2

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