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_api_name, int(options.meter_value), meter_time_in_millis=current_time, customer_id=options.customer_id)

# adding dimensions

metering.meter(options.meter_api_name, int(options.meter_value), meter_time_in_millis=current_time, customer_id=options.customer_id, dimensions=dimensions)

# adding unique id

metering.meter(options.meter_api_name, int(options.meter_value), meter_time_in_millis=current_time, customer_id=options.customer_id, 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-2.2.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distributions

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

amberflo_metering_python-2.2.0-py3.8.egg (23.0 kB view details)

Uploaded Egg

amberflo_metering_python-2.2.0-py2.py3-none-any.whl (28.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: amberflo-metering-python-2.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2

File hashes

Hashes for amberflo-metering-python-2.2.0.tar.gz
Algorithm Hash digest
SHA256 b75bc2b1710aeb65ce6745f71238edefd19c37b87990524f3669820a10eec57d
MD5 b264c990744d2b1d8410e68e10b7d7bc
BLAKE2b-256 055008dfdf436acd8c1cc491b90d9f89a90bca7ab60dcec23a4bf93081b5ef2e

See more details on using hashes here.

File details

Details for the file amberflo_metering_python-2.2.0-py3.8.egg.

File metadata

  • Download URL: amberflo_metering_python-2.2.0-py3.8.egg
  • Upload date:
  • Size: 23.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2

File hashes

Hashes for amberflo_metering_python-2.2.0-py3.8.egg
Algorithm Hash digest
SHA256 26b1cf3f31a09f59c789592a6439be2a76f91b58f2d44d12d044de30ce5014ed
MD5 d8e63f14856329f89c6ed3ffe3f3e8a1
BLAKE2b-256 8531089a6bb9d0993b5ad6964b1894a20d73e8e741cdb1a5d0d3495ceaa95774

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amberflo_metering_python-2.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2

File hashes

Hashes for amberflo_metering_python-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4140ec23e619da7cbfa775304e868630baa65e019d0e6f49b36d6b9daa0a0f53
MD5 f79c49714ea14d317201c6b08c9eb288
BLAKE2b-256 2bd774bd006a4e5703cb5d00ad7ea2fd59ef222a6ed33cc87e2ec1a1a1307326

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