Skip to main content

A Python CLI tool for exporting AWS cost reports using the eraXplor.

Project description

https://github.com/Mohamed-Eleraki/eraXplor/blob/master/docs/assets/images/eraXplor.jpeg

AWS Cost Export Tool for automated cost reporting and analysis.

eraXplor is an automated AWS cost reporting tool designed for assest DevOps and FinOps teams fetching and sorting AWS Cost Explorer. it extracts detailed cost data by calling AWS Cost Explorer API directly and Transform result as a CSV. eraXplor gives you the ability to sort the cost by Account or even By Service, as well as format and separate the result Monthly.

eraXplor is still under enhancement and this is an 'Initial Model'

Key Features

  • Account-Level Cost Breakdown: Monthly unblended costs per linked account.
  • Service-Level Cost Breakdown: Monthly unblended costs per Services.
  • Flexible Date Ranges: Custom start/end dates with validation.
  • Multi-Profile Support: Works with all configured AWS profiles.
  • CSV Export: Ready-to-analyze reports in CSV format.
  • Cross-platform CLI Interface: Simple terminal-based workflow, and Cross OS platform.
  • Documentation Ready: Well explained documentations assest you to kick start rapidly.
  • Open-Source: the tool is open-source under Apache02 and GNU licenses, which enables your to enhance it for your purpose.

Why eraXplor?

https://github.com/Mohamed-Eleraki/eraXplor/blob/master/docs/assets/images/why_eraXplor.jpeg

Prerequisites

python3 --version

Steps

  1. Install eraXplor:
pip install eraXplor
  1. Run eraXplor:
eraXplor

For Windows/PowerShell users restart your terminal, and you may need to use the following command:

python3 -m eraXplor
# to avoid using this command, apend the eraXplor to your paths.
# Normaly its under: C:\Users\<YourUser>\AppData\Local\Programs\Python\Python<version>\Scripts\
ℹ️ Notes
Ensure you run the command in a place you have sufficient permission to replace file.
*The eraXport tool sorting cost reult into a CSV file, by default The CSV will replace for next run.*

This will prompet you with an Interactive session. Please, Follow the guide below and enter a valied inputs as follows example:

Enter a start date value with YYYY-MM-DD format: 2025-1-1
Enter an end date value with YYYY-MM-DD format: 2025-3-30
Enter your AWS Profile name: profile_name
Enter the cost group by key:
    Enter [1] to list by 'LINKED_ACCOUNT' -> Default
    Enter [2] to list by 'SERVICE'
    Enter [3] to list by 'PURCHASE_TYPE'
    Enter [4] to list by 'USAGE_TYPE'
    Press Enter for 'LINKED_ACCOUNT' -> Default:

    # Press Enter for list cost per account, Or Enter a number for attending result.

Table Of Contents

Quickly find what you're looking for depending on your use case by looking at the different pages.

  1. Welcome to eraXplor
  2. Tutorials
  3. How-To Guides
  4. Explanation
  5. Reference

👋Show/Hide Author Details👋

Mohamed eraki
Cloud & DevOps Engineer

Email
LinkedIn
Twitter
Blog

Project Philosophy

"I built eraXplor to solve real-world cloud cost visibility challenges — the same pain points I encounter daily in enterprise environments. This tool embodies my belief that financial accountability should be accessible to every technical team."

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

eraxplor-1.0.3.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

eraxplor-1.0.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file eraxplor-1.0.3.tar.gz.

File metadata

  • Download URL: eraxplor-1.0.3.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for eraxplor-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f52c6418d829e3ec834da14b36dd2915514803dd8455876862ea0c3b362f6b1b
MD5 b2fbfc5770c70deedc12572b7c64abe5
BLAKE2b-256 5e04ecd7384e4739a18c564cb5044a9dde1466034be36508122c2d23c1125bed

See more details on using hashes here.

File details

Details for the file eraxplor-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: eraxplor-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for eraxplor-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c91eeb463dcf9bace295ff06295ade4e3bc78d4f0bd562f4b910d750c94d256e
MD5 8d73275bfa0e41951b1371c8f58924d0
BLAKE2b-256 f2b6dd9eb373391e748159b873feef47b546e816c3ebd4e79ac2033248e3bfbd

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