Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Financier

Model compensation packages with python. Can be useful to compare job offers.

HOOLI = Offer(
    'Hooli',
    [Salary(yearly_amount=15000),
    StockGrant(
        amount=10000,
        schedule=FourYearsScheduleOneYearCliff(
            grant_date=datetime.date(2017, 2, 25)
        )
    ),
    OneTimeBonus(amount=10000,
                 payoff_date=datetime.date(2019, 3, 5)),
    Match401k(yearly_income=15_0000,
              match_percentage=0.03,
              match_contribution_per_dollar=0.5)],
)

plot_income(
    Calculator.cummulative_income(
        offer = HOOLI,
        date_range=four_years_by_month()
    ), "/tmp/hooli.png"
)

Hooli offer cumulative income

Installation

Installing with pip

This package is not yet published via pypi.

Manual installation from git

Clone the repo and set up a virtualenv:

git clone git@github.com:charignon/financier
cd financier
pip3 install poetry
poetry install

Run the example:

poetry run examples/example1.py

Usage

See my blog post for more information.

Contributing

Running the tests

poetry run py.test

Origin of the name financier

It is a french adjective that means "related to finance".

About

Financier: modeling compensation packages with Python

Resources

License

Releases

No releases published

Packages

No packages published