python-pwdlib
Port variant v14
Summary Modern password hashing for Python (3.14)
Package version 0.4.2
Homepage https://github.com/frankie567/pwdlib
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v15
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 15 NOV 2026, 20:44:56 UTC
Port created 03 MAY 2025, 21:25:35 UTC
Subpackage Descriptions
single # pwdlib [All Contributors]

Modern password hashing for Python

[build] [codecov] [PyPI version] [Downloads] --- **Documentation**: https://frankie567.github.io/pwdlib/ **Source Code**: https://github.com/frankie567/pwdlib --- ## Quickstart ```sh pip install 'pwdlib[argon2]' ` `py from pwdlib import PasswordHash password_hash = PasswordHash.recommended() hash = password_hash.hash("herminetincture") password_hash.verify("herminetincture", hash) # True ``` ## Why `pwdlib`? For years, the de-facto standard to hash passwords was [`passlib`]. Unfortunately, it has not been very active recently and its [maintenance status is under question]. Starting Python 3.13, `passlib` won't work anymore. That's why I decided to start `pwdlib`, a password hash helper for the modern Python era. However, it's **not designed to be a complete replacement** for `passlib`, which supports numerous [hashing algorithms and features]. **✅ Goals** - [x] Provide an easy-to-use wrapper to hash and verify passwords - [x] Support modern and secure algorithms like Argon2 or Bcrypt **❌ Non-goals** - [] Support legacy hashing algorithms like MD5 - [] Implement algorithms directly — we should only rely on existing and battle-tested implementations ## Development ### Setup environment Install [uv] and [just]. Use Python 3.11 or newer for Zensical and pre-commit. Install the development dependencies and pre-commit hooks with `just install`. ### Run unit tests `bash just test ` ### Format the code Run Ruff to format and lint the code, then check types with ty. `bash just lint ` Use `just lint-check` to run the same checks without editing files. ### Publishing a release 1. Commit the release notes under `Unreleased` in [CHANGELOG.md]. From a clean release branch with Git signing configured, run `just version patch`, `just version minor`, or `just version major`. The recipe updates the version, changelog, and lockfile, then opens your Git editor for the signed commit. 2. Preview the release notes with `just release-notes `, then push the branch and merge the release PR into `main`. 3. With the GitHub CLI authenticated, run `just release `. This signs
Configuration Switches (platform-specific settings discarded)
PY314 ON Build using Python 3.14 PY315 OFF Build using Python 3.15
Package Dependencies by Type
Build (only) python314:dev:std
python-pip:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
Download groups
main mirror://PYPIWHL/47/1f/26e4bd61ac0b264fb9f1d181fa35d6e2969b2b6fd874d4cca7531b5babd0
Distribution File Information
5e03f706382a040a04139f2bbb3378fa964661f8a74e1cec8da34a221c801bcf 9881 python-src/pwdlib-0.4.2-py3-none-any.whl
Ports that require python-pwdlib:v14
python-trytond:v14 Tryton server (3.14)