Skip to main content

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, Service, Usage Type or even By Purchase Type. as well as format and separate the result by Monthly or Daily cost.

Key Features

  • ✅ Account-Level Cost Breakdown: Monthly or daily unblended costs per linked account.
  • ✅ Service-Level Cost Breakdown: Monthly or daily unblended costs per Services.
  • ✅ Purchase Type-Level Cost Breakdown: Monthly or daily unblended costs per Purchase Type.
  • ✅ Usage Type-Level Cost Breakdown: Monthly or daily unblended costs per Usage Type.
  • ✅ 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 kick start rapidly.
  • ✅ Open-Source: the tool is open-source under Apache 2.0 license, which enables your to enhance it for your purpose.

Table Of Contents

Quickly find what you're looking for:

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

Why eraXplor?

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

How-To Guides

AWS Profile Configuration

  • Install AWS CLI - Command line tool.
  • Create an AWS AMI user then extract Access ID & key.
  • Configure AWS CLI profile by:
aws configure <--profile [PROFILE_NAME]>
# ensure you set a defalut region.

Check installed Python version

  • Ensure you Python version is >= 3.12.3 by:
python --version

# Consider update Python version if less than 3

Install eraXplor

  • Install eraxplor too by:
pip install eraXplor

How-To use

eraXplor have multiple arguments set with a default values -explained below-, Adjsut these arguments as required.

eraXplor <--start-date [yyyy-MM-DD]> <--end-date [yyyy-MM-DD]> \
<--profile [PROFILE-NAME]> \
<--groupby [LINKED_ACCOUNT | SERVICE | PURCHASE_TYPE | USAGE_TYPE]> \
<--out [file.csv]>
<--granularity [DAILY | MONTHLY]>

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

python3 -m eraXplor

# Or
python -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.*

Argument Reference

  • --start-date, -s: (Not_Required) Default value set as six months before.
  • --end-date, -e: (Not_Required) Default value set as Today date.
  • --profile, -p: (Not_Required) Default value set as default.
  • --groupby, -g: (Not_Required) Default value set as LINKED_ACCOUNT. The available options are (LINKED_ACCOUNT, SERVICE, PURCHASE_TYPE, USAGE_TYPE)
  • --out, -o: (Not_Required) Default value set as cost_repot.csv.
  • --granularity, -G: (Not_Required) Default value set as MONTHLY. The available options are (MONTHLY, DAILY)



👋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."

Metadata

Release files for eraXplor 2.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eraXplor 2.0.4
File Size Uploaded Provenance Actions
eraxplor-2.0.4.tar.gz 15.1 kB Without provenance Details for eraxplor-2.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eraXplor 2.0.4
File Interpreter ABI Platform Actions
eraxplor-2.0.4-py3-none-any.whl Python 3 none any Details for eraxplor-2.0.4-py3-none-any.whl

Total release size: 26.3 kB

Release files / eraxplor-2.0.4.tar.gz

Download URL eraxplor-2.0.4.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9567509a9cbf73b5110f4713678578cd8944a350b3090738a562e30bcf9f5782
BLAKE2b-256 checksum
How to use checksums
7916ac3130b961349b103fb78cca418961200aa43705279be084509328f55e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / eraxplor-2.0.4-py3-none-any.whl

Download URL eraxplor-2.0.4-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adfc5f823bb1c8e67909097a9b69c167722fb62a3ccbb4eeab5e0fe9c19d65df
BLAKE2b-256 checksum
How to use checksums
419fa33862c511122a6d5384b51e1cfe79cabb57e55f1c167c6f4f4b8f85efb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for eraXplor 2.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page