Skip to main content

It's a package for importing cost and usage data from various cloud platforms and SaaS tools

Project description

finops-crawler

This project is active. Development is ongoing, and contributions are welcome (see below).

Basic Usage

This package is designed to fetch cost/usage data from various platforms (Azure, AWS, OpenAI, and more to follow).

The main principle is to have as simple an approach as possible along with the absolute minimum set of permissions required. Thus, the quickstart part of each guide is presented as CLI commands.

The result, for now, is a Python variable as returned by the API or SDK.

Platform-specific documentation

Each platform is different and has a separate guide on how to set up an entity with minimum permissions to read the cost data. Specific code snippets to get started are included.

No longer works, need to wait for explicit usage API:

Overview of the flow

  1. Set up a user (technical user/service principal) for querying the data
  2. Set up permissions for that user
  3. Set environment variables to be used by the package
  4. Use the package

Resulting data

Each platform has its own format. Also, the same date range might produce different results depending on the platform. Some might include the last day, some may not.

There is an open data specification being developed by FinOps Foundation (FOCUS). At this point, it's still very new and not adopted by the industry. We will keep a close eye on it and support it as soon as feasible.

Note: querying long time periods might trigger paginated results. AWS and Azure handle it correctly. OpenAI does not have paginated results as it's an undocumented API and it also has not existed yet for a very long time.

Plans

Increase breath by expanding to various other tools and platforms (Databricks, GCP, etc.)

Increase depth by implementing save_to_postgres or similar functionality to actually store it.

Contributing

Got ideas for improvements? We'd love your input!

  1. Fork and clone this repository.
  2. Optionally, choose an issue labeled as "help wanted" or "good first issue".
  3. Submit a pull request with your changes and a clear description.

Remember, all contributions from bug fixes to documentation updates are greatly appreciated!

Enjoy :)

Email: finops.fitness.club@gmail.com

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_crawler-0.1.18.tar.gz (13.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_crawler-0.1.18-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file finops_crawler-0.1.18.tar.gz.

File metadata

  • Download URL: finops_crawler-0.1.18.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1041-azure

File hashes

Hashes for finops_crawler-0.1.18.tar.gz
Algorithm Hash digest
SHA256 6e5e5fbc57c9e4d64338dea6d2b4f8dddcb03ed5f915616d3ee30a87a5ec158f
MD5 46add591677649ddd1b15d83bfb44214
BLAKE2b-256 0634f9baf283f60c1e2d6b5f40fcc40d58c7f101c25d38a6a3ffd8c13b12b53f

See more details on using hashes here.

File details

Details for the file finops_crawler-0.1.18-py3-none-any.whl.

File metadata

  • Download URL: finops_crawler-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-1041-azure

File hashes

Hashes for finops_crawler-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 f9701e1fd3735335caaa35742d43ecc067adc5bb103f675f1a301f43271ce85e
MD5 5fe1f8a7f96cb898a14f035993386dc3
BLAKE2b-256 0b93932063e02f7cc347890708c952af1507ed041cbdd52f2e60bb8491f55dbe

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