Skip to main content

Festival discount and API Gateway offer library

Project description

fbms_discount_lib_sushanth_test1234

A simple reusable Python library that:

  • Calls AWS API Gateway to get active festival offers
  • Calculates discounted prices

Functions

OfferAPIClient()

Fetches offer from API Gateway.

calculate_discount(price, festival)

Applies discount for the provided festival.

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

fbms_discount_lib_sushanth_test1234-0.0.14.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file fbms_discount_lib_sushanth_test1234-0.0.14.tar.gz.

File metadata

File hashes

Hashes for fbms_discount_lib_sushanth_test1234-0.0.14.tar.gz
Algorithm Hash digest
SHA256 84c6034da8969a77fcf8bdf1ac30556f22d0d624cd7f61b5d22533537c84b0ff
MD5 f076168939347149966ae470c2bbcfab
BLAKE2b-256 0a1cc2cee7ab004fd7c9fa6919361f095783456bc612004f2bb0d6dce005659e

See more details on using hashes here.

File details

Details for the file fbms_discount_lib_sushanth_test1234-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for fbms_discount_lib_sushanth_test1234-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 57b6913d16c317026d562f9f51ee374b8e988e309ec23a861664d5bfd286e2a4
MD5 2d3d33353cbeefdc11c821938642f66b
BLAKE2b-256 062c4efc433dc4c332b8827ae3d39ca16ef6af33a12d110fa7da2f02ca1216d8

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