- Nov 16, 2015
-
-
ulif authored
Normally, it would be more concise to use the more declarative name. "en_8k" tells, how many terms we find in this wordlist. But as the wordlist names are used in the CLI and users will normally simply look for a wordlist in their language, it can help to keep the name of the "default" list for each language short. We pick the 8K lists for "default" (and not the "original" 6^5 lists), because we assume that normally people will use diceware without dice. Also most other sources of randomness will most probably work on a 2^x basis rather than in 6^x (and therefore have better use for 8k lists over other ones).
-
- Nov 14, 2015
-
-
ulif authored
We do support configuration files from now on.
-
- Nov 13, 2015
-
-
ulif authored
-
- Nov 12, 2015
- Nov 11, 2015
-
-
ulif authored
We have to check for boolean before int, because int is also a valid boolean.
-
ulif authored
-
ulif authored
Older python versions (< 3.x?) do not support item assignments with config parser instances. We have to workaround therefore.
-
ulif authored
-
ulif authored
-
ulif authored
-
ulif authored
We can build a sensible list of config file locations on-the-fly.
-
ulif authored
-
- Nov 10, 2015
-
-
ulif authored
-
- Nov 09, 2015
- Nov 05, 2015
- Nov 02, 2015
-
-
ulif authored
-
- Aug 03, 2015
- Aug 02, 2015
-
-
ulif authored
-
ulif authored
The last hotfix to make sys.stdin seek()-able was far from being proper. It checked only for sys.stdin (which is only one possible stream delivering unseekable file positions) and didn't consider that sys.stdin could be replaced (by somthing with proper seek functionality). We now test properly for working seek() functionality. If the stream does not support it, we copy streamdata to a new temporary file. If the file is not too large, we keep the file data in memory (up to 20 MB), so in most cases runtime trade-off should be moderate.
-
ulif authored
-
ulif authored
-
- Aug 01, 2015
- Jul 31, 2015
-
-
ulif authored
We want to have such functionality be aggregated in a class.
-
ulif authored
-
ulif authored
-
ulif authored
-
ulif authored
For wordlists we require a certain filename format. This is described by a regular expression we introduce hereby.
-
ulif authored
This function provides pure WordList functionality and should be part of this class therefore.
-
ulif authored
We do not need `basestring` (or some Py3 equivalent) to check for strings.
-
- Jul 30, 2015