Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

devpi-passwd-reset: password reset view for devpi-web

Project Description

devpi-passwd-reset: password reset view for devpi-web

This plugin adds a new view allowing users to reset their passwords.


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.


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.


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 is localhost and mail.port is 25.

See on configuration options available.

Example config:

    mail.port: 8025

devpi-passwd-reset plugin hooks

Plugins can add password validation to enforce policies using the devpi_passwd_reset entry point in

def devpipasswdreset_validate(password):
    """Called to validate a password.

      Raises ValueError which is used as message to the user.


1.0.0 - 2016-06-29

  • initial release
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
devpi-passwd-reset-1.0.0.tar.gz (7.7 kB) Copy SHA256 Checksum SHA256 Source Jun 29, 2016 (14.6 kB) Copy SHA256 Checksum SHA256 Source Jun 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting