A simple daemon that helps controlling high-speed data policy of WikiLink, an ISP in Brest, Belarus.
Use sudo pip install . for a system-wide install.
First, create /var/lib/wikipolicyd directory and assure
that it's owned by the user that's going to run the daemon.
Add configuration files to /etc/wikipolicyd directory:
credentials.toml, which should have two keys:loginandpasswordpolicy.toml, with a single key of formdata_limit = "20G"
You can also add a key of form exception = "2019-01-02" to policy.toml
to enable unlimited data for a given day.