Refund rules + calculator for ticketing systems
Project description
refundengine
A small refund calculation library for ticketing systems.
Example
from refundengine import RefundCalculator
rc = RefundCalculator()
print(rc.calculate_refund(
fare=25,
hours_before_departure=5,
is_student=True
))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
refundengine-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file refundengine-0.1.0.tar.gz.
File metadata
- Download URL: refundengine-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8663b9fa0379e0a3e0de2a915540e3b531a00f1a1635b4ee271f7b2cf191436
|
|
| MD5 |
3d3237f56fbb2f221d697171b52a29b3
|
|
| BLAKE2b-256 |
bdae9ccc729d051c0489c731766d136c6ee0bd8d45af5228b28b9fb59876de9c
|
File details
Details for the file refundengine-0.1.0-py3-none-any.whl.
File metadata
- Download URL: refundengine-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ebcea1a8f1c886597f0f52dc1af59bbf084be545f5a9b5a77ca30c908254ed
|
|
| MD5 |
3b94afad45f0ec6f7044a3423bb30be6
|
|
| BLAKE2b-256 |
f9b286758e4ddf4883e81193fe0ed5fe8343ea210352ef36e33432ee6cfc81e8
|