<commit_before>[pyramid_twitterauth][] is a package that extends [pyramid_simpleauth][] to allow
users to login via Twitter and / or connect their Twitter account.

To use, specify your Twitter app's OAuth consumer info in your `.ini` settings::

    twitterauth.oauth_consumer_key = <key>
    twitterauth.oauth_consumer_secret = <secret>

Views are exposed by default at `/oauth/twitter/...`.  To use a different path:

    twitterauth.url_prefix = '/a/n/other'

Then include the package:

    config.include('pyramid_twitterauth')

This adds an authenticated [Tweepy][] client as `request.twitter.client` and flags
for `request.twitter.has_read_access` and `request.twitter.has_write_access` that
can be used as per:

    if request.twitter.has_write_access:
        request.twitter.client.update_status('OMG #lolcats')

[pyramid_simpleauth]: http://github.com/thruflo/pyramid_simpleauth
[pyramid_twitterauth]: http://github.com/thruflo/pyramid_twitterauth<commit_msg>docs: hook up Tweepy link in the README.<commit_after>[pyramid_twitterauth][] is a package that extends [pyramid_simpleauth][] to allow
users to login via Twitter and / or connect their Twitter account.

To use, specify your Twitter app's OAuth consumer info in your `.ini` settings::

    twitterauth.oauth_consumer_key = <key>
    twitterauth.oauth_consumer_secret = <secret>

Views are exposed by default at `/oauth/twitter/...`.  To use a different path:

    twitterauth.url_prefix = '/a/n/other'

Then include the package:

    config.include('pyramid_twitterauth')

This adds an authenticated [Tweepy][] client as `request.twitter.client` and flags
for `request.twitter.has_read_access` and `request.twitter.has_write_access` that
can be used as per:

    if request.twitter.has_write_access:
        request.twitter.client.update_status('OMG #lolcats')


[pyramid_simpleauth]: http://github.com/thruflo/pyramid_simpleauth
[pyramid_twitterauth]: http://github.com/thruflo/pyramid_twitterauth
[tweepy]: https://github.com/tweepy/tweepy
{'fraction_non_alphanumeric': 0.10193933366484337, 'fraction_numerical': 0.0, 'mean_word_length': 4.865889212827988, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1105179', 'n_tokens_mistral': 664, 'n_tokens_neox': 632, 'n_words': 176}