Americansouth
Motivation: Monitor internet data usage to avoid unexpected overage charges from Astound.
Usage
The tool processes data usage information from a JSON file in this format:
[
{
"date": "2024-11-13",
"amount": 79.13,
"amountUnits": "GB",
"total": 400,
"totalUnits": "GB",
"overage": 0,
"overageUnits": "GB",
"scrapedAt": "2024-11-13T06:17:28.611Z"
},
{
"date": "2024-11-13",
"amount": 79.13,
"amountUnits": "GB",
"total": 400,
"totalUnits": "GB",
"overage": 0,
"overageUnits": "GB",
"scrapedAt": "2024-11-13T06:41:24.588Z"
}
]
Run the script by passing the JSON file:
americansouth data.json
Example output:
DAILY USED DAILY BUDGET TOTAL USED MONTHLY BUDGET TOTAL DATA FETCH TIME
--------------------------------------------------------------------------------------------
61GB 16GB 61GB 338GB 400GB Sat Nov 09 11:58 pm 2024
5GB 17GB 66GB 333GB 400GB Mon Nov 11 07:49 am 2024
5GB 17GB 71GB 328GB 400GB Mon Nov 11 09:12 pm 2024
7GB 18GB 79GB 320GB 400GB Tue Nov 12 10:41 pm 2024
6GB 18GB 85GB 314GB 400GB Wed Nov 13 08:07 pm 2024
8GB 19GB 93GB 306GB 400GB Thu Nov 14 04:25 pm 2024
14GB 19GB 107GB 292GB 400GB Fri Nov 15 08:17 am 2024
12GB 20GB 120GB 279GB 400GB Sun Nov 17 07:59 am 2024
7GB 22GB 127GB 272GB 400GB Mon Nov 18 07:52 am 2024
5GB 23GB 133GB 266GB 400GB Tue Nov 19 07:37 am 2024
14GB 22GB 147GB 252GB 400GB Tue Nov 19 01:43 pm 2024
The output shows:
- Daily data usage
- Recommended daily budget to stay within monthly limit
- Total data used so far
- Remaining monthly budget
- Total monthly allocation
- Timestamp of when data was fetched
Metadata
Release files for americansouth 0.2.3
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 |
|---|---|---|---|---|
| americansouth-0.2.3.tar.gz | 12.5 kB | Without provenance | Details for americansouth-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| americansouth-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for americansouth-0.2.3-py3-none-any.whl |
Total release size: 19.0 kB
Release files / americansouth-0.2.3.tar.gz
| Download URL | americansouth-0.2.3.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8eb838c58e8b72eb6f7fdefad76dd44c26452ddf542992a9e8b02d0df44fd3c8
|
|
BLAKE2b-256 checksum How to use checksums |
0167b5fac5d6a5c7dca601bdd1164f20bb48af03212c7135f2ff51b49292c0bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.5
|
Release files / americansouth-0.2.3-py3-none-any.whl
| Download URL | americansouth-0.2.3-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
019fa3e94095bfab30bf4bc1dc35e4ed1b37d1cfdddbdc7e56bf8751066a4339
|
|
BLAKE2b-256 checksum How to use checksums |
6fad00a5e85354b9c9d42651144e0444ab54e71e14fcd987ffb7bcf178c541e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.5
|
Security for americansouth 0.2.3
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.