Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77135 > unrolled thread

Re: PyPI password rules

Started bySkip Montanaro <skip@pobox.com>
First post2014-08-27 09:23 -0500
Last post2014-08-27 09:23 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: PyPI password rules Skip Montanaro <skip@pobox.com> - 2014-08-27 09:23 -0500

#77135 — Re: PyPI password rules

FromSkip Montanaro <skip@pobox.com>
Date2014-08-27 09:23 -0500
SubjectRe: PyPI password rules
Message-ID<mailman.13509.1409149400.18130.python-list@python.org>
On Tue, Aug 26, 2014 at 11:05 AM, Skip Montanaro <skip@pobox.com> wrote:
> I guess I could write a little program that listens to my incoming
> email via IMAP. I'll have to see what that generates. Lots of Python
> and bike references, no doubt.

I should have something to show the world in a day or two. I have a
program which (in a separate thread) connects to a mail server via
IMAP, processes all the messages in the "polly" folder, and constructs
a word list from the most frequently seen words. It checks every
minute for new messages. I believe it classifies words using criteria
similar to Chris's D&D Polly - all letters, all lower case, nothing <
four letters. In the main thread you can enter commands like
"password" to prompt Polly to generate a password and "bad" to mark
one or more words as "bad".

Gmail's label facility made the construction of a "corpus"
particularly easy. I just created a new filter and told it to add the
label "polly" to messages with certain properties (stuff sent here,
and to a couple bike-related and swimming-related lists). Voila! An
instant corpus with over 30,000 emails.

As an aside, I found it interesting that one of the "words" it saved
was "luofeiyu". Man, that guy posts a lot!

Skip

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web