Metadata-Version: 2.4
Name: libpass
Version: 1.9.3
Summary: Fork of passlib, a comprehensive password hashing framework supporting over 30 schemes
Project-URL: Homepage, https://github.com/notypecheck/passlib
Project-URL: Repository, https://github.com/notypecheck/passlib
Project-URL: Docs, https://passlib.readthedocs.io
Project-URL: Issues, https://github.com/notypecheck/passlib/issues
Project-URL: Changelog, https://github.com/notypecheck/passlib/blob/main/CHANGELOG.md
Author-email: Eli Collins <elic@assurancetechnologies.com>
Maintainer-email: Doctor <notypecheck@gmail.com>
License: BSD
License-File: LICENSE
Keywords: 2fa,apache,argon2,bcrypt,crypt,hash,htdigest,htpasswd,md5-crypt,passlib,password,pbkdf2,scrypt,secret,security,sha256-crypt,sha512-crypt,totp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Provides-Extra: argon2
Requires-Dist: argon2-cffi>=18.2.0; extra == 'argon2'
Provides-Extra: bcrypt
Requires-Dist: bcrypt>=3.1.0; extra == 'bcrypt'
Provides-Extra: totp
Requires-Dist: cryptography>=43.0.1; extra == 'totp'
Description-Content-Type: text/markdown

# 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/notypecheck/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
