Welcome to eraXplor
Cost Export Tool for automated cost reporting and analysis.
eraXplor is an automated cost reporting tool designed for assest DevOps and FinOps teams fetching and sorting AWS and Azure Cost Explorer.
it extracts detailed cost data by calling nativly cloud provider APIs directly and Transform result into CSV file.
eraXplor gives you the ability to sort the cost with wide range of options:
- For AWS you able to sort cost by Account, Service, Usage Type or even By Purchase Type; as well as format and separate the result by Monthly or Daily.
- For Azure you able to sort cost by Subscription, as well as format and separate the result by Monthly or Daily.
azure still under development, more features will be added soon.
Key Features
- ✅ Cloud provider Separated tools: Separated tool for each cloud provider (AWS and Azure) avoiding complexty.
- ✅ 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 depending on your use case by looking at the different pages.
AWS (eraXplor)
Azure (eraXplor_az)
How-To Guides
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-Guide - AWS
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.
How-To use - AWS
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]>
Argument Reference - AWS
--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 asdefault.--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 ascost_repot.csv.--granularity,-G: (Not_Required) Default value set asMONTHLY. The available options are (MONTHLY,DAILY)
How-To-Guide - Azure
Azure CLI Authentication
- Install Azure CLI - Command line tool by specifing your attended OS.
- ensure your account have sufficient permission as
Billing ReaderorUsage Billing Contributorto manage Azure billing. - Check installed package by:
az --version
- Authenticate using your Azure account:
az login
This will open the portal in your default browser to authenticate.
How-To use - Azure
eraXplor_az have multiple arguments set with a default values -explained below-, Adjsut these arguments as required.
eraXplor_az <--start-date [yyyy,MM,DD]> <--end-date [yyyy,MM,DD]> \
<--subscription_id [SUBSCRIPTION_ID]> \
<--granularity [DAILY | MONTHLY]> \
<--output [FILE_NAME.CSV]>
Argument Reference - Azure
--start-dateor-s: (Optional) Default value set as three months before.--end-dateor-e: (Optional) Default value set as Today date.--subscription_idor-S: (Required) subscription id.--outor-o: (Optional) Default value set asaz_cost_report.csv.--granularityor-g: (Optional) Default value set asMONTHLY. The available options are (MONTHLY,DAILY)
For Windows/PowerShell users restart your terminal, and you may need to use the following command:
python -m eraXplor
# Or
python -m eraXplor_az # for auzre
# to avoid using this command, apend the eraXplor to your paths.
# Normaly its under: C:\Users\<YourUser>\AppData\Local\Programs\Python\Python<version>\Scripts\
About the Author
👋Show/Hide Author Details👋
Mohamed eraki
Cloud & DevOps Engineer
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 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eraxplor-3.0.1.tar.gz | 20.6 kB | Without provenance | Details for eraxplor-3.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eraxplor-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for eraxplor-3.0.1-py3-none-any.whl |
Total release size: 37.2 kB
Release files / eraxplor-3.0.1.tar.gz
| Download URL | eraxplor-3.0.1.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d24e204c420f7bc820393f405665242d18634390ab775bc091deead8e6b255b
|
|
BLAKE2b-256 checksum How to use checksums |
0d4d4eb405f37997efcaa30353088d145f7986520f1b3f3c60ae58032e23475f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / eraxplor-3.0.1-py3-none-any.whl
| Download URL | eraxplor-3.0.1-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9869f0e52e81b06dfd15db00f7bd0d476bd940fe5bbb45500f3b298c1707b3a
|
|
BLAKE2b-256 checksum How to use checksums |
76b6cc231a40f747ee0584674104ddf6c3c38bb5be5cc052bf78774562847178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for eraXplor 3.0.1
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.