# Passlib
[![image](https://img.shields.io/pypi/v/libpass.svg)](https://pypi.org/pypi/libpass)
[![image](https://img.shields.io/pypi/pyversions/libpass.svg)](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/97/54/41526153bf31c8e8367cb6efe83acda84c4b2cf82736be0806d3cff93039/libpass-1.8.1.tar.gz",
"platform": null,
"description": "# Passlib\n\n[![image](https://img.shields.io/pypi/v/libpass.svg)](https://pypi.org/pypi/libpass)\n[![image](https://img.shields.io/pypi/pyversions/libpass.svg)](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.8.1",
"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": "",
"digests": {
"blake2b_256": "f487db02ba11cd0ffee8a677988a47ce0d3f14da0abbdc6d7cf0cc1c07ed4492",
"md5": "37f429bf1fb4d3e29a9d51f23d8fddeb",
"sha256": "9eef494740e3bc1455935cba21f91d2e0a8dac1ae9980bd171fbacd25517a9ba"
},
"downloads": -1,
"filename": "libpass-1.8.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "37f429bf1fb4d3e29a9d51f23d8fddeb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 310761,
"upload_time": "2024-09-24T06:32:51",
"upload_time_iso_8601": "2024-09-24T06:32:51.430566Z",
"url": "https://files.pythonhosted.org/packages/f4/87/db02ba11cd0ffee8a677988a47ce0d3f14da0abbdc6d7cf0cc1c07ed4492/libpass-1.8.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "975441526153bf31c8e8367cb6efe83acda84c4b2cf82736be0806d3cff93039",
"md5": "41dd05750350f3300717478c3f35eabd",
"sha256": "a4a4a936ddb8a886ca6d2c37859bff1f6de25f57eb74466d01454a7fb6c5ce1b"
},
"downloads": -1,
"filename": "libpass-1.8.1.tar.gz",
"has_sig": false,
"md5_digest": "41dd05750350f3300717478c3f35eabd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 277638,
"upload_time": "2024-09-24T06:32:53",
"upload_time_iso_8601": "2024-09-24T06:32:53.483333Z",
"url": "https://files.pythonhosted.org/packages/97/54/41526153bf31c8e8367cb6efe83acda84c4b2cf82736be0806d3cff93039/libpass-1.8.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-24 06:32:53",
"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"
}