Skip to main content

Bandages for boto3 floating-point wounds.

Project description

floaty

Bandages for boto3 floating-point wounds. *

from floaty import *

no_float(some_obj)  # replaces all floats with ints and Decimals
no_decimal(some_obj)  # replaces all Decimals with ints and floats

read_item(query_return)  # reads up 'Item' from the dictionary, calls no_decimal on it, and returns it
read_items(query_return)  # reads up 'Items' from the dictionary, calls no_decimal on each element of it, and returns it

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

floaty-2.0.0.tar.gz (1.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page