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.7.tar.gz (14.1 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-1.0.7-py3.8.egg (17.2 kB view details)

Uploaded Egg

amberflo_metering_python-1.0.7-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.7.tar.gz.

File metadata

  • Download URL: amberflo-metering-python-1.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 1cf48880d5ecad513b3832f1f6d4d5288e36f08f40e277798853e59f720f1c8d
MD5 09f15b498d5446c190fcd980bc56034d
BLAKE2b-256 df7ced02bb98c92c9ad1ae38fe3a4c5debcf0af214c7094a104735684104032a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amberflo_metering_python-1.0.7-py3.8.egg
  • Upload date:
  • Size: 17.2 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-1.0.7-py3.8.egg
Algorithm Hash digest
SHA256 b14a343e54b1bfbf8c4abbdc614baa5f7e6f9223ed1027a49b5efd205fca5206
MD5 5f780ad93c8f8a579b5a39bc682a2208
BLAKE2b-256 9dfaec3f064c731ee81d5873aba9ca3e333640c8b5c989570c386bdf1dc9a326

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amberflo_metering_python-1.0.7-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.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 715340b56dc8fe6e73913def8027d79945236fbcf012e8624f2b5067b2755cd0
MD5 19c1715e073680eb72ad415d3bcea162
BLAKE2b-256 eaad649ab912dbdf06953401ce2bfcb47b401d1764a1a190bbf8e3eb0a408ebd

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