https://github.com/amazingca/apcalculator
Calculates how much roommates need to pay for stuff
https://github.com/amazingca/apcalculator
Last synced: 10 months ago
JSON representation
Calculates how much roommates need to pay for stuff
- Host: GitHub
- URL: https://github.com/amazingca/apcalculator
- Owner: Amazingca
- Created: 2024-08-20T00:52:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T19:36:37.000Z (over 1 year ago)
- Last Synced: 2025-03-28T04:37:03.501Z (about 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Apartment Payments Calculator (APCalculator)
This Python script is meant to ease the process of splitting payments for things with roommates. This is especially useful for large receipts and discounts applied to the entire purchase.
### Tax calculation
As shown in `main.py`, a CSV (`/taxes.csv`) is used to indicate the tax type and the percent of that tax (in decimal form.)
```csv
a,0.05
b,0.07
```
Use the characters "a" or "b" to reference the tax type for the item when you're adding it.
Conveniently, you can also export your transactions to a text file for easy sharing. You can find an example at `/example/ap_2024-12-18.txt` using the example taxes file above.