Buildout extension providing basic authentication support
Project description
This buildout extension allows your buildouts to use ${buildout:extends} or eggs that are protected by basic auth. The minimum configuration:
[buildout] extensions = isotoma.buildout.basicauth
Any downloads that require basic auth will now prompt for a username and password. It will be stored in a secure keyring if one is available. If your credentials are in .pypirc they will be detected and used.
You can provide credentials to the extension via builout, for non-interactive situations. For example:
[basicauth] credentials = github interactive = no [github] uri = https://raw.github.com/ username = user password = chunky
Each of the credentials parts provides authentication details for a different uri. The part must contain a uri, user and password to be used by the extension.
The “interactive” option determines whether or not fetcher methods can prompt the user for input.
Changelog
0.0.2 (2012-07-28)
Fix injection of credentials in urlretrieve
0.0.1 (2012-07-27)
Disable keyring backend until we can support it on python2.4
0.0.0 (2012-07-27)
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for isotoma.buildout.basicauth-0.0.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef4eb816fdadf63fd00320f6713b7c0dcc4a4df8bcc82ad67ab33f71b2ad79f4 |
|
MD5 | f77acf9b4cc140195a704f1c59190723 |
|
BLAKE2b-256 | 18b05c731ccd79b38b7f1b423a2973717850103f0e3ff18c7792b8a6a81e07ff |