We introduce MulensModel, a software package for gravitational microlensing modeling. The package provides a framework for calculating microlensing model magnification curves and goodness-of-fit statistics for microlensing events with single and binary lenses as well as a variety of higher-order effects: extended sources with limb-darkening, annual microlensing parallax, satellite microlensing parallax, and binary lens orbital motion. The software could also be used for analysis of the planned microlensing survey by the NASA flag-ship WFIRST satellite. MulensModel is available at https://github.com/rpoleski/MulensModel/.