Skip to main content

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.5 (2012-09-14)

  • Support usernames and passwords with ‘/’ in them.

0.0.4 (2012-07-28)

  • Restore pytho2.4 support.

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

isotoma.buildout.basicauth-0.0.5.zip (21.9 kB view details)

Uploaded Source

File details

Details for the file isotoma.buildout.basicauth-0.0.5.zip.

File metadata

File hashes

Hashes for isotoma.buildout.basicauth-0.0.5.zip
Algorithm Hash digest
SHA256 d4efa4f244040c2f16e4bf60a3a2113168da223af33004d7893c091a8a8b2666
MD5 39141fbd16d24f42e5ebaabfc4d20b98
BLAKE2b-256 f78da3cc773d8546778e8e68a13a24d3b96927d1fe9d86f17d424bced6f0eb76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page