dynamo-size
Roughly calculates DynamoDB item size.
item = {
'Id': 123,
'Names': [
'foo',
'bar',
'qux',
# 500 more names
]
}
from dynamo_size import calculate_bytes, calculate_kbytes
calculate_bytes(item) # returns 2025
calculate_kbytes(item) # return 1.9775390625 (2025 / 1024)
Metadata
Release files for dynamo-size 1.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 | |
|---|---|---|---|
| dynamo-size-1.0.1.tar.gz | 2.4 kB | Details |
Release files / dynamo-size-1.0.1.tar.gz
| Download URL | dynamo-size-1.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a279c06cadf418b35071b548eba89d4c5bbeb571b2b3e4edcd1978b2bbc16abd
|
|
BLAKE2b-256 checksum How to use checksums |
5a731b9196186fed0c4ccbbf9bf7a50c3dc8ca0b5077bd91a32b8212b5044621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
|