Skip to main content

multilingual-password-auditor

Python client for the Arabic and Multilingual Password Auditor API - password strength scoring that understands how people actually build passwords in Arabic and English: Arabizi (m7md), Arabic-Indic digits (١٢٣٤٥٦), Egyptian mobile numbers, Arabic keyboard walks (صثقفغع = the Arabic qwerty), local names in both scripts, dates, and leetspeak.

If you use zxcvbn today: it is English-only and has not been updated since 2017. This API covers its blind spots for Arabic-speaking users.

Install

pip install multilingual-password-auditor

Usage

import os
from multilingual_password_auditor import PasswordAuditor

client = PasswordAuditor(os.environ["ZYLA_KEY"])  # get a key on Zyla (free trial: 50 requests)

report = client.analyze("m7md_2020")
print(report["score"], report["status"], report["resilience"])
# 52 MODERATE 5 minutes
print(report["vulnerabilities"])

client.analyze("P@ssw0rd123", check_cloud=True)  # + k-anonymity breach check
client.generate(20)                              # strong password, score >= 90

The API is stateless: passwords are analyzed in memory and never stored or logged. With check_cloud, only the first 5 characters of the SHA-1 hash leave the server (k-anonymity).

Zero dependencies, Python 3.8+.

License

MIT - Abdallah Ibrahim

Metadata

Release files for multilingual-password-auditor 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multilingual-password-auditor 1.0.0
File Size Uploaded Provenance Actions
multilingual_password_auditor-1.0.0.tar.gz 4.3 kB Without provenance Details for multilingual_password_auditor-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for multilingual-password-auditor 1.0.0
File Interpreter ABI Platform Actions
multilingual_password_auditor-1.0.0-py3-none-any.whl Python 3 none any Details for multilingual_password_auditor-1.0.0-py3-none-any.whl

Total release size: 9.4 kB

Release files / multilingual_password_auditor-1.0.0.tar.gz

Download URL multilingual_password_auditor-1.0.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f9fe6ef6b76fa0f78b0167b8d4cc8082262554601433d1eb48607305a5e86fcb
BLAKE2b-256 checksum
How to use checksums
f580ca2d52d428c47b657dc01a50b9b1c172534a334c3d18652d41c23554f992
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / multilingual_password_auditor-1.0.0-py3-none-any.whl

Download URL multilingual_password_auditor-1.0.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ed4fa7b4cec86021680210fb9be416b05ec360be8c9d8815f3831594f271fac
BLAKE2b-256 checksum
How to use checksums
24b28a1c5d15514773d1d4931ca37df4d38b5aeb0febed30895d2866e6ed588c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for multilingual-password-auditor 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page