-
Bastian Germann authoredBastian Germann authored
README.md 1.34 KiB
zxcvbn-rs-py
Python bindings for zxcvbn-rs, the Rust implementation of zxcvbn
Documentation: https://fief-dev.github.io/zxcvbn-rs-py/
Source Code: https://github.com/fief-dev/zxcvbn-rs-py
Installation
pip install zxcvbn-rs-py
Quickstart
from zxcvbn_rs_py import zxcvbn
r = zxcvbn("correcthorsebatterystaple")
print(r.score)
Benchmark
Thanks to its Rust core, zxcvbn-rs-py is ~5 times faster than the pure Python implementation, zxcvbn-python.
Serve the documentation
You can serve the Mkdocs documentation with:
hatch run docs-serve
It'll automatically watch for changes in your code.
License
This project is licensed under the terms of the MIT license.