Skip to main content

Booking price helper library for Yugo Accommodation.

Project description

yugo-booking-lib

yugo-booking-lib is a small Python library used in the Yugo Accommodation project.

It provides a BookingPrice class that helps calculate:

  • number of nights between check-in and check-out dates
  • total booking price including optional tax and a fixed fee

This library is used inside the Django book_room view to compute the final room cost before confirming the booking.

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

yugo_booking_lib-0.0.2.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

yugo_booking_lib-0.0.2-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file yugo_booking_lib-0.0.2.tar.gz.

File metadata

  • Download URL: yugo_booking_lib-0.0.2.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for yugo_booking_lib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 252b42f7c55b1542a110ece6be4990bbb9bcea14ab0c4373c422c058f38a0f1a
MD5 b7de7cc702a1187ea24de79076bfc0ec
BLAKE2b-256 cb42a5a17c8e121d329c5d190c4fb1185dfc17d244cea20042c7d97867ef69d5

See more details on using hashes here.

File details

Details for the file yugo_booking_lib-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for yugo_booking_lib-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 419e03cb9505361e57349ee621bf5b653afafbda44ccd5dd7df5c3647473c4cc
MD5 86b303fa85e2643df3df09b9aa5ca9bc
BLAKE2b-256 1c027dacb90b4b66567eb4ee2c059c2bd96b3ad4509c3d5fa52b99252e2d126f

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