PyFreya¶
Cohort Analysis Tool
- Free software: MIT license
- Documentation: https://pyfreya.readthedocs.io.
Features¶
- Simulate retention
- Estimate daily active users
- Add revenue profiles
- Handles and propagates uncertainties
PyFreya Example¶
Simple Example of PyFreya:
from pyfreya import create_cohort
new_users = 100
days_since_install = [1, 7, 30]
retention_values= [50, 15, 5]
facebook = create_cohort(new_users, days_since_install, retention_values)
facebook.plot_dau()
Lets add revenue:
from pyfreya.revenue import ARPDAU
facebook.apply_revenue(ARPDAU(1.79))
facebook.plot_revenue()
Can even handle multiple cohorts - look at this DAU plot with uncertainties:
Known Bugs/Problems¶
- Cross-references in documentation does not produce hyperlinks.
- Seems that docs can only be build on linux… well use linux.
Credits¶
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.