ninethreesix
a password generator
installation
pip install python-ninethreesix
usage
It comes with a script!
$ ninethreesix --help
$ ninethreesix
wrench-fair-fascia
Or run with uvx:
$ uvx --from python-ninethreesix ninethreesix
From python::
>>> from ninethreesix import Password
>>> p = Password(num_words=3, min_len=3, max_len=6)
>>> p.as_string()
'whelp-word-out'
Or run the module directly::
$ python -m ninethreesix.password
show-sine-Troy
what's with the name?
See: http://xckd.com/936/
license
The code here is available under the MIT license.
word list
The bundled word list comes from the Moby Word list by Grady Ward, which is listed in the public domain.
The bundled word file is COMMON.TXT, which is:
74,550 common dictionary words (common.txt)
A list of words in common with two or more published dictionaries.
This gives the developer of a custom spelling checker a good
beginning pool of relatively common words.
For the original sources, see: http://www.gutenberg.org/ebooks/3201.
Development
If you want to work on this library, you can install the development requirements with uv sync (or make install).
This project supports Python 3.12, 3.13, and 3.14 (preferred).
Bug fixes and new features can be proposed by opening a Pull Request for this repo.
Tests
Run the test suite with uv run pytest --cov
Metadata
Release files for python-ninethreesix 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_ninethreesix-0.3.0.tar.gz | 285.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_ninethreesix-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 573.7 kB
Release files / python_ninethreesix-0.3.0.tar.gz
| Download URL | python_ninethreesix-0.3.0.tar.gz |
|---|---|
| Size | 285.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a8a3c4a868c16910ed4bf234baa33f0e8a63aafb68b25e095edc9894aa4ba4d
|
|
BLAKE2b-256 checksum How to use checksums |
0b5a12bb2f1d860f6c0644bf4679021718a40f01041c2ba45a6f28f5712c7386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / python_ninethreesix-0.3.0-py3-none-any.whl
| Download URL | python_ninethreesix-0.3.0-py3-none-any.whl |
|---|---|
| Size | 287.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
080944299cc4dc5bb8405c45b974b00b9fd7ddc3873dd42501defa439e2328e4
|
|
BLAKE2b-256 checksum How to use checksums |
bb6ed71f51771c76ecee07d916d947f94339c3c6b7380a45e3a1dec8b47efa4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|