Compute equalization payments
Project description
Roommates
roommates
helps you figure out equalization payments
Installation
pip install roommates
Usage
from roommates import split
# Register all previous payments
ribs = {
'Alice': 50.25,
'Bob': 30,
'Eve': 0,
}
ice_cream = {
'Bob': 20,
'Eve': 15,
}
# Print equalization payments
split(ribs, ice_cream)
Concerns
For any concerns, please email michael [dot] lindner [dot] daddario [at] gmail [dot] com
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
roommates-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file roommates-0.1.0.tar.gz
.
File metadata
- Download URL: roommates-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- 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.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a046b67ac6e9925a0cfe8bca56c711d3ebd7b0587f2bdea0e7e9874d0890b6e |
|
MD5 | 138bbb6b80a59b9b45ee1423fde116d7 |
|
BLAKE2b-256 | 64f4e8dbbbf365ce67052885bb03a88daedbd3b5caee74cb30a10e870f36da73 |
File details
Details for the file roommates-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: roommates-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- 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.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd46d27211bb0ef9d3c627b83bcd0a388eeecc35f63f42a6588eb08a0c87da4 |
|
MD5 | 966090f85abaca40674118235c48fe85 |
|
BLAKE2b-256 | 20afe84af98c126c54c5a689c4f7162963bcc7bfed295f1b0f2173f8c57c8683 |