python-passlib
Port variant v14
Summary Comprehensive password hashing framework (3.14)
Package version 1.9.5
Homepage https://github.com/notypecheck/passlib
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v15
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 23 NOV 2026, 14:30:58 UTC
Port created 15 AUG 2020, 23:27:53 UTC
Subpackage Descriptions
single # Passlib ![PyPI Version] ![PyPI Python Version] This is the official repository of Passlib, published on PyPI as [passlib]. It continues the original project at https://foss.heptapod.net/python-libs/passlib (unmaintained since its final release, 1.7.4, in 2020). Passlib is a password hashing library for Python 3, which provides cross-platform implementations of over 30 password hashing algorithms, as well as a framework for managing existing password hashes. It's designed to be useful for a wide range of tasks, from verifying a hash found in /etc/shadow, to providing full-strength password hashing for multi-user application. Versions 1.7.5 through 1.9.4 were published on PyPI as [libpass]; releases from 1.9.5 onward are published under `passlib` again. - See the [documentation] for details, installation instructions, and examples. - See the [changelog] for a description of what's new in Passlib. - Visit [PyPI] for the latest stable release. ## Installation `shell pip install passlib ` Available extras: ```shell pip install passlib[argon2] pip install passlib[bcrypt] pip install passlib[totp] ``` ## Usage A quick example of using passlib to integrate into a new application: ```python from passlib.context import CryptContext context = CryptContext(schemes=["sha512_crypt"]) hash = context.hash("password") # $6$rounds=656000$jFKvvPmUywlqjSs.$iNeK/OWVry7KThNyzR01xzqZzgk/VA75.sR4yXXblsPAoEugtdO3zn/O4VEG3Izp8l5.//lMGpuRCOqvKknHo1 # Verifying a password is_valid = context.verify("password", hash) # > True ``` For more details and an extended set of examples, see the [full documentation]
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/bb/2a/6e5e198b3e33c25746e60bd83cc2703bd24ff77a9afb7224dfb09cce54e2
Distribution File Information
c9dac9b4c56322a2b386f8d7d5d2f5056a20ed21c491a7ff24f0b2747f57c28e 307281 python-src/passlib-1.9.5-py3-none-any.whl
Ports that require python-passlib:v14
python-libpass:v14 Password hashing framework (3.14)