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


Groups > comp.lang.python > #77135

Re: PyPI password rules

References (1 earlier) <CANc-5UyntLBKUy7JAGoA-sU_V84AMfwfBMfvZtS-GGKtaAM8ZA@mail.gmail.com> <CAPTjJmrQi+E-SzBW8E4NmoZFJDWTO5Xwqca=wMwyw55WFt89iQ@mail.gmail.com> <CANc-5UxRtz_RMo7ex0Bc0wnCwXACZi7iE1NPYuO8rwNHO3oH6w@mail.gmail.com> <CAPTjJmpg9QPTOytus8-Ls9MBHz41oEYd4KbZwkDVh2AWQ8CSrA@mail.gmail.com> <CANc-5Uzpo9YjZH9FSUEC9bF6YvZ=4QkDUXJRfg+W8RvR4PfM_A@mail.gmail.com>
Date 2014-08-27 09:23 -0500
Subject Re: PyPI password rules
From Skip Montanaro <skip@pobox.com>
Newsgroups comp.lang.python
Message-ID <mailman.13509.1409149400.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web