Skip to main content

Integrate amberflo into any python application.

Project description

Amberflo is the simplest way to integrate metering into your application.

This is the official python client that wraps the Amberflo REST API (https://amberflo.io).

Samples:

# dedup is happening on a full record metering.meter(options.meter_name, int(options.meter_value), utc_time_millis=current_time, customer_id=options.customer_id, customer_name=options.customer_name) # adding dimensions metering.meter(options.meter_name, int(options.meter_value), utc_time_millis=current_time, customer_id=options.customer_id, customer_name=options.customer_name, dimensions=dimensions) # adding unique id metering.meter(options.meter_name, int(options.meter_value), utc_time_millis=current_time, customer_id=options.customer_id, customer_name=options.customer_name, dimensions=dimensions, unique_id = uuid1())

Documentation and more details at https://github.com/amberflo/metering-python

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

amberflo-metering-python-1.0.6.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amberflo_metering_python-1.0.6-py2.py3-none-any.whl (23.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file amberflo-metering-python-1.0.6.tar.gz.

File metadata

  • Download URL: amberflo-metering-python-1.0.6.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.8

File hashes

Hashes for amberflo-metering-python-1.0.6.tar.gz
Algorithm Hash digest
SHA256 d6ea1a148cb86cae4985cc79ecadc6b057d05cd2c95c694ef2e78d94d3ba25af
MD5 7a71e66f4da49deab28e15d91564142e
BLAKE2b-256 1aeade0c85ba1cd3d670c1cafb2bb16a109acd7a248fc9111e2facf076de5b43

See more details on using hashes here.

File details

Details for the file amberflo_metering_python-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: amberflo_metering_python-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.8

File hashes

Hashes for amberflo_metering_python-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03523c449f061488f9ddf7c47a52634e7174c41fc629d4885feab6b59ccac606
MD5 68db50dacd4e2d2dd6feb3d8b0dfdd18
BLAKE2b-256 52b620932e8f94e9a132eefbba1e282fc4424dfdb8d9c5159b9843df1e113e18

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