bankrupt Installation Use one of the following method: pip install pip --install bankrupt pip --install bankrupt --upgrade clone repository and install with: python setup.py install Usage >>> import bankrupt >>> d = [100, 200, 300] >>> x = bankrupt.allocate(100, d)