This package is available on Pip. So you can install the latest version using:
pip install preparsfrom prepars.spacing import Spacing
output =Spacing().fix('من مطالب را طوطی وار حفظ می کردم. ')You can see online demo for project here.
Online documentation is also available here.
This project is a replacement for Hazm and Parsivar.
This will build and push the package to PyPi whenever you add a tag starting with v to a commit.