Metadata-Version: 2.4
Name: multilingual-password-auditor
Version: 1.0.0
Summary: Client for the Arabic and Multilingual Password Auditor API: password strength scoring that understands Arabic, Arabizi, Egyptian mobile numbers and Arabic keyboard walks.
Author-email: Abdallah Ibrahim <abdallahibrahim@gmail.com>
License: MIT
Project-URL: Homepage, https://zylalabs.com/api-marketplace/security+%26+cybersecurity/arabic+and+multilingual+password+auditor+api/15605
Project-URL: Repository, https://github.com/shetosnet/arabic-password-patterns
Keywords: password,password-strength,security,arabic,zxcvbn-alternative,password-audit,zyla
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# multilingual-password-auditor

Python client for the **[Arabic and Multilingual Password Auditor API](https://zylalabs.com/api-marketplace/security+%26+cybersecurity/arabic+and+multilingual+password+auditor+api/15605)** - 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

```bash
pip install multilingual-password-auditor
```

## Usage

```python
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+.

## Links

- [API listing and pricing](https://zylalabs.com/api-marketplace/security+%26+cybersecurity/arabic+and+multilingual+password+auditor+api/15605) - 10,000 requests/month for $24.99, 7-day free trial
- [Live scored examples](https://shetosnet.github.io/arabic-password-patterns/)
- [Arabic password pattern research](https://github.com/shetosnet/arabic-password-patterns)

## License

MIT - Abdallah Ibrahim
