# Passlib
[](https://pypi.org/pypi/libpass)
[](https://pypi.org/project/libpass)
This is a fork of https://foss.heptapod.net/python-libs/passlib
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.
- See the [documentation](https://passlib.readthedocs.io)
for details, installation instructions, and examples.
- See the [changelog](https://github.com/ThirVondukr/passlib/blob/main/CHANGELOG.md)
for a description of what's new in Passlib.
- Visit [PyPI](https://pypi.org/project/libpass) for the latest stable release.
## Installation
```shell
pip install libpass
```
## 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
Raw data
{
"_id": null,
"home_page": null,
"name": "libpass",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "Doctor <thirvondukr@gmail.com>",
"keywords": "2fa, apache, argon2, bcrypt, crypt, hash, htdigest, htpasswd, md5-crypt, passlib, password, pbkdf2, scrypt, secret, security, sha256-crypt, sha512-crypt, totp",
"author": null,
"author_email": "Eli Collins <elic@assurancetechnologies.com>",
"download_url": "https://files.pythonhosted.org/packages/9a/90/236d3c891b073dcc357cc572b6b74dbb36d9093729d648c83f06b51f8f12/libpass-1.9.0.tar.gz",
"platform": null,
"description": "# Passlib\n\n[](https://pypi.org/pypi/libpass)\n[](https://pypi.org/project/libpass)\n\nThis is a fork of https://foss.heptapod.net/python-libs/passlib\n\nPasslib is a password hashing library for Python 3, which provides\ncross-platform implementations of over 30 password hashing algorithms, as well\nas a framework for managing existing password hashes. It's designed to be useful\nfor a wide range of tasks, from verifying a hash found in /etc/shadow, to\nproviding full-strength password hashing for multi-user application.\n\n- See the [documentation](https://passlib.readthedocs.io)\n for details, installation instructions, and examples.\n- See the [changelog](https://github.com/ThirVondukr/passlib/blob/main/CHANGELOG.md)\n for a description of what's new in Passlib.\n- Visit [PyPI](https://pypi.org/project/libpass) for the latest stable release.\n\n\n\n## Installation\n```shell\npip install libpass\n```\n\n## Usage\nA quick example of using passlib to integrate into a new application:\n```python\nfrom passlib.context import CryptContext\n\ncontext = CryptContext(\n schemes=[\"sha512_crypt\"]\n)\n\nhash = context.hash(\"password\")\n# $6$rounds=656000$jFKvvPmUywlqjSs.$iNeK/OWVry7KThNyzR01xzqZzgk/VA75.sR4yXXblsPAoEugtdO3zn/O4VEG3Izp8l5.//lMGpuRCOqvKknHo1\n\n# Verifying a password\nis_valid = context.verify(\"password\", hash) # True\n\n```\nFor more details and an extended set of examples, see the full documentation\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Fork of passlib, a comprehensive password hashing framework supporting over 30 schemes",
"version": "1.9.0",
"project_urls": {
"Changelog": "https://github.com/ThirVondukr/passlib/blob/main/CHANGELOG.md",
"Docs": "https://passlib.readthedocs.io",
"Homepage": "https://github.com/ThirVondukr/passlib",
"Issues": "https://github.com/ThirVondukr/passlib/issues",
"Repository": "https://github.com/ThirVondukr/passlib"
},
"split_keywords": [
"2fa",
" apache",
" argon2",
" bcrypt",
" crypt",
" hash",
" htdigest",
" htpasswd",
" md5-crypt",
" passlib",
" password",
" pbkdf2",
" scrypt",
" secret",
" security",
" sha256-crypt",
" sha512-crypt",
" totp"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4dbe05a41ef406d7fc7987c4f0250c06dec3739b874d73a6c5d2668301c5bcc5",
"md5": "2a636c6117b90c2bd049612c69b64ceb",
"sha256": "9e3a3ab4105b099e2bf2880acc615d84633cab68c28b60d589f3c8f44b87a044"
},
"downloads": -1,
"filename": "libpass-1.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2a636c6117b90c2bd049612c69b64ceb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 305819,
"upload_time": "2025-02-18T03:39:23",
"upload_time_iso_8601": "2025-02-18T03:39:23.232035Z",
"url": "https://files.pythonhosted.org/packages/4d/be/05a41ef406d7fc7987c4f0250c06dec3739b874d73a6c5d2668301c5bcc5/libpass-1.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9a90236d3c891b073dcc357cc572b6b74dbb36d9093729d648c83f06b51f8f12",
"md5": "f2c7adf9a0c3a28cfbbd56f2218e934c",
"sha256": "c1dc3cf4ab80d2634b9609f57c3165c0ea4cacf4959aaf0f3e06aefa577b03ac"
},
"downloads": -1,
"filename": "libpass-1.9.0.tar.gz",
"has_sig": false,
"md5_digest": "f2c7adf9a0c3a28cfbbd56f2218e934c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 688858,
"upload_time": "2025-02-18T03:39:25",
"upload_time_iso_8601": "2025-02-18T03:39:25.056656Z",
"url": "https://files.pythonhosted.org/packages/9a/90/236d3c891b073dcc357cc572b6b74dbb36d9093729d648c83f06b51f8f12/libpass-1.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-18 03:39:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ThirVondukr",
"github_project": "passlib",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "libpass"
}