Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zxcvbn-rs-py

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zxcvbn-rs-py

Python bindings for zxcvbn-rs, the Rust implementation of zxcvbn

  • 0.2.0
  • Source
  • PyPI
  • Socket score

Maintainers
1

zxcvbn-rs-py

Python bindings for zxcvbn-rs, the Rust implementation of zxcvbn

build PyPI version


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.

zxcvbn-rs-py benchmark

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc