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.3 (2012-07-28)
Force download to happen straight away so we can handle retries for buildout.
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
File details
Details for the file isotoma.buildout.basicauth-0.0.3.zip
.
File metadata
- Download URL: isotoma.buildout.basicauth-0.0.3.zip
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a007eccdf0b5fc133b6851cc05662d8932b93473931e1941d2df5281c939a1 |
|
MD5 | 3b842848853f227cab077aa8f85e871d |
|
BLAKE2b-256 | 76015d898f569b6c988aa39f22481f86cf9f11993e14e4891da53ccf7bc931d3 |