|
|
![Passlib](https://passlib.readthedocs.io/en/stable/_images/masthead.png)
|
|
|
|
|
|
## :homes: Welcome to the repo!
|
|
|
## :homes: Welcome to the new repository!
|
|
|
|
|
|
**2020-05-04:** **Welcome to Passlib's new home at https://foss.heptapod.net/python-libs/passlib**. Due to BitBucket deprecating Mercurial support, Passlib's public repository and issue tracker
|
|
|
has been relocated to a new repository. This new repository is powered by [Heptapod](https://heptapod.net/),
|
... | ... | @@ -9,7 +9,7 @@ and hosting is being graciously provided by the people at |
|
|
|
|
|
Please update all URLs to the new repository!
|
|
|
|
|
|
## Passlib 1.7.2 is out!
|
|
|
## :tada: Passlib 1.7.2 is out!
|
|
|
|
|
|
**2019-11-12:** We're happy to announce [Passlib 1.7.2](https://pypi.python.org/pypi/passlib). The 1.7 series has been a while in coming, and has a lot of great improvements...
|
|
|
|
... | ... | @@ -22,7 +22,7 @@ Please update all URLs to the new repository! |
|
|
|
|
|
See the [release notes](https://passlib.readthedocs.io/en/stable/history/1.7.html) for more details.
|
|
|
|
|
|
## About
|
|
|
## :bulb: About
|
|
|
|
|
|
Passlib is a password hashing library for Python 2 & 3, which provides
|
|
|
cross-platform implementations of over 30 password hashing algorithms, as well
|
... | ... | @@ -38,8 +38,8 @@ providing full-strength password hashing for multi-user application. |
|
|
All releases are signed with the gpg key
|
|
|
[4D8592DF4CE1ED31](http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D8592DF4CE1ED31).
|
|
|
|
|
|
Recent Updates
|
|
|
==============
|
|
|
## :newspaper: Recent Updates
|
|
|
|
|
|
* **2020-05-02:** Passlib's home page has moved from bitbucket to https://foss.heptapod.net/python-libs/passlib.
|
|
|
|
|
|
* **2020-04-19** Notice that project will be moving to a new location.
|
... | ... | @@ -58,10 +58,11 @@ Recent Updates |
|
|
|
|
|
* **2015-07-23:** Passlib's home page has moved from google code to https://bitbucket.org/ecollins/passlib.
|
|
|
|
|
|
Usage
|
|
|
=====
|
|
|
A quick example of using passlib to integrate into a new application::
|
|
|
## :information_source: Usage
|
|
|
|
|
|
A quick example of using passlib to integrate into a new application:
|
|
|
|
|
|
```python
|
|
|
>>> # import the example context object under an app-specific name (so it can easily be replaced later)
|
|
|
>>> from passlib.apps import custom_app_context as pwd_context
|
|
|
|
... | ... | @@ -75,12 +76,13 @@ A quick example of using passlib to integrate into a new application:: |
|
|
True
|
|
|
>>> ok = pwd_context.verify("letmein", hash)
|
|
|
False
|
|
|
```
|
|
|
|
|
|
For more details and an extended set of examples, see the [full documentation](https://passlib.readthedocs.io);
|
|
|
This example barely touches on the range of features available.
|
|
|
|
|
|
Online Resources
|
|
|
================
|
|
|
## :bookmark: Online Resources
|
|
|
|
|
|
* Homepage - https://foss.heptapod.net/python-libs/passlib/wikis/home
|
|
|
* Documentation - https://passlib.readthedocs.io
|
|
|
* Mailing list - https://groups.google.com/group/passlib-users
|
... | ... | @@ -90,8 +92,8 @@ Online Resources |
|
|
* Issues - https://foss.heptapod.net/python-libs/passlib/issues
|
|
|
* Roadmap - https://foss.heptapod.net/python-libs/passlib/wiki/Roadmap
|
|
|
|
|
|
Development
|
|
|
===========
|
|
|
## :triangular_ruler: Development
|
|
|
|
|
|
Passlib's source repository uses Mercurial. When building Passlib from an hg clone, note that there are two main branches: ``default`` and ``stable``.
|
|
|
|
|
|
* ``default`` is the bleeding edge of the next major release. It may sometimes be of alpha quality.
|
... | ... | |