devpi-passwd-reset: password reset view for devpi-web
This plugin adds a new view allowing users to reset their passwords.
Installation
devpi-passwd-reset needs to be installed alongside devpi-web.
You can install it with:
pip install devpi-passwd-reset
There are no further installation steps needed as devpi-server will automatically discover the plugin through calling hooks using the setuptools entry points mechanism.
Usage
In a default installation, the view would be accessible at http://localhost:3141/+password-reset.
Users can enter a user name or email address. If a matching user exists and has the email set, a mail is sent with a link to set a new password. The link is valid for 24h as long as the password wasn’t changed in the meantime.
Configuration
You have to configure mail server settings by providing --passwd-reset-config=path_to_config.
Create a yaml file with a dictionary containing another dictionary under the pyramid_mailer key.
You must at least provide the mail.default_sender setting. By default mail.host is localhost and mail.port is 25.
See http://pythonhosted.org/pyramid_mailer/#configuration on configuration options available.
Example config:
pyramid_mailer:
mail.port: 8025
mail.default_sender: mail@example.com
devpi-passwd-reset plugin hooks
Plugins can add password validation to enforce policies using the devpi_passwd_reset entry point in setup.py.
def devpipasswdreset_validate(password):
"""Called to validate a password.
Raises ValueError which is used as message to the user.
"""
Changelog
2.0.1 - 2025-07-06
Fix compatibility with devpi-server 6.17.0.
Remove usage of unmaintained py library.
2.0.0 - 2023-12-19
drop support for Python <= 3.6.
require devpi-server>=6.0.0
1.0.0 - 2016-06-29
initial release
Metadata
Release files for devpi-passwd-reset 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| devpi-passwd-reset-2.0.1.tar.gz | 8.6 kB | Without provenance | Details for devpi-passwd-reset-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devpi_passwd_reset-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for devpi_passwd_reset-2.0.1-py3-none-any.whl |
Total release size: 16.3 kB
Release files / devpi-passwd-reset-2.0.1.tar.gz
| Download URL | devpi-passwd-reset-2.0.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
745043ca3a532fbd310261681c34c1b1b49a9c83bd555dd6418eafe7bc80b16d
|
|
BLAKE2b-256 checksum How to use checksums |
78ff745507f20bd9ba54df90a647680de442183212ee7d68bc9c7747621829cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
devpi-server/6.14.0 (py3.11.11; darwin)
|
Release files / devpi_passwd_reset-2.0.1-py3-none-any.whl
| Download URL | devpi_passwd_reset-2.0.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44df6c0581196c561c266f9550aef3a10105a9d51cc02d4dfa22d38103e5aadc
|
|
BLAKE2b-256 checksum How to use checksums |
254ddd892072d148deda1506d56d8fddf9bce250ac95960d4a2ca2d0fa650b78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
devpi-server/6.14.0 (py3.11.11; darwin)
|
Security for devpi-passwd-reset 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.