Community Version of the B2B Antigravity PySpark Framework. Essential utilities for AWS FinOps and Cloud cost optimization.
Project description
🚀 Antigravity Lite (FinOps & AWS Glue Tools)
AWS Financial Auditor and Smart S3 Manager for PySpark Ecosystems
🛑 The Silent AWS Glue Killer: Spark's Catalyst Optimizer
Have you ever wondered why your massive PySpark cluster just hangs for hours, consuming 100% CPU without writing a single byte of data when processing a Wide Dataframe?
Many Data Engineers blame data skew or bad partitioning, panicking and upscaling AWS Glue Worker instances to expensive G.4X or G.8X tiers. But throwing money at RAM is not the solution. The architectural solution is not buying more RAM; it's isolating the math.
📦 Installation
pip install antigravity-lite
🛠 Included Open-Source Tools
1. Smart S3 Renamer (S3Finalizer)
Tired of PySpark polluting your Datalake with part-00000...csv strings and empty _SUCCESS files?
S3Finalizer is a native Boto3 utility that scans raw Spark outputs and renames them sequentially and cleanly without breaking cluster concurrency.
from antigravity_lite.io.s3_finalizer import S3Finalizer
# Spark just wrote messy files to S3...
finalizer = S3Finalizer(bucket_name="my-corporate-datalake")
# Automatically re-sequence and format outputs
finalizer.sequence_spark_outputs(
s3_prefix="raw_zone/sales/",
pattern="ENTERPRISE_REPORT_{seq:04d}.parquet"
)
# Magic Output: ENTERPRISE_REPORT_0001.parquet
2. AWS Glue FinOps Auditor (AgAuditor)
Inject this standalone tool to scan your AWS CloudWatch telemetry and compute exactly how many thousands of dollars you are wasting each month on inflated AWS Worker instances just to keep Spark's Catalyst Optimizer from crashing.
from antigravity_lite.auditor.finops import AgAuditor
# Scan the cluster using CloudWatch and AWS APIs
AgAuditor.run_aws_audit(region="us-east-1", dias_analisis=7)
Console Output: It will accurately map your allocated Workers (G.1X, G.4X) against real compressed JVM Heap usage to reveal your exact financial capital leak.
💎 Commercial Licensing (Antigravity PRO)
The Lite version can tell you you're burning thousands of dollars... Purchasing the Antigravity PRO Enterprise License actually fixes it.
If your AgAuditor report flags an "⚠️ AST/OOM RISK" or your Heap spikes past 85%, you need the DataFrameChunker mathematical engine (Exclusive to the Pro B2B Edition).
The enterprise version intercepts Spark's low-level planner and vertically slices the execution plan using Logarithmic Binary Trees (Tree Reduce) to forcibly truncate the AST Lineage. This drops your memory footprint so drastically that you can process half-a-billion operations on tiny G.1X clusters at zero OutOfMemory risk.
💻 Request a Proof-of-Concept or Live Architecture Demo for B2B deployment by connecting via LinkedIn.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antigravity_lite-0.1.4.tar.gz.
File metadata
- Download URL: antigravity_lite-0.1.4.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8bccebacc6794851dd1f5f56ebfd56f1a4d17da9114e93e2540a6d8c26a9502
|
|
| MD5 |
419400234d8d2cd4d35fd7745e375584
|
|
| BLAKE2b-256 |
d173950ccf28be552ee00a72a3bbdd91d7434cddce1b9377fd4f578d9058819c
|
Provenance
The following attestation bundles were made for antigravity_lite-0.1.4.tar.gz:
Publisher:
publish-lite.yml on andresvega925/AntigravityFW
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
antigravity_lite-0.1.4.tar.gz -
Subject digest:
c8bccebacc6794851dd1f5f56ebfd56f1a4d17da9114e93e2540a6d8c26a9502 - Sigstore transparency entry: 1243808552
- Sigstore integration time:
-
Permalink:
andresvega925/AntigravityFW@15aba085d8c8722f1c8a78981445dff7c8faa6f9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/andresvega925
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-lite.yml@15aba085d8c8722f1c8a78981445dff7c8faa6f9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file antigravity_lite-0.1.4-py3-none-any.whl.
File metadata
- Download URL: antigravity_lite-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cbabf195523fc92c3c4150b544d8016594e7d0ceb219818479db009ec5469c8
|
|
| MD5 |
c4723bf1f26a58a074cbaa7ae494f4bc
|
|
| BLAKE2b-256 |
c74530fc48c77f75c2c335d92027f3fbd6226dfa194d1554c81b817626e6d0aa
|
Provenance
The following attestation bundles were made for antigravity_lite-0.1.4-py3-none-any.whl:
Publisher:
publish-lite.yml on andresvega925/AntigravityFW
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
antigravity_lite-0.1.4-py3-none-any.whl -
Subject digest:
7cbabf195523fc92c3c4150b544d8016594e7d0ceb219818479db009ec5469c8 - Sigstore transparency entry: 1243808630
- Sigstore integration time:
-
Permalink:
andresvega925/AntigravityFW@15aba085d8c8722f1c8a78981445dff7c8faa6f9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/andresvega925
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-lite.yml@15aba085d8c8722f1c8a78981445dff7c8faa6f9 -
Trigger Event:
workflow_dispatch
-
Statement type: