Generate readable, typable passwords
Project description
NuPass
Readable, typable password generator script. Because your users can't deal with pwmake.
NuPass provides the nupass
package and a command-line script for generating temporary
passwords that your users can read and type. Passwords are provided by the gen_pass()
function and are in the following format:
{number}{Capitalized_word}{special_character}{Capitalized_word}{number}
For example, 4Toffee@Buttercream7
.
Installation
OS X & Linux:
pip install nupass
Windows:
python -m pip install nupass
Usage example
Generate a single password:
$ nupass
Generate five passwords:
$ nupass 5
Development setup
Using NuPass in your projects:
import nupass
temp_pass = nupass.gen_pass() # returns a string containing your password
If you want to change the length of the words used in the password, you can set the parameters of gen_pass()
.
import nupass
temp_pass = nupass.gen_pass(min_w_len=4, max_w_len=10)
# functionally the same as nupass.genpass(4, 10)
Release History
- 1.0.0
- ADD: Include README as long description on PyPI.
- CHANGE: Use native setuptools method for script installation.
- 0.2.1
- ADD: Word length now set by function parameters.
- CHANGE: Fixed an issue where the wordlist wasn't being closed.
- CHANGE: Fixed an issue with invalid command-line arguments.
- 0.2.0
- CHANGE: Converted to package
- ADD: Script added to path when installed via
setup.py
- 0.1.0
- The first proper release
Meta
Sean Callaway – @smcallaway – seancallaway@gmail.com
Distributed under the GNU GPL v2 license. See LICENSE
for more information.
https://github.com/NuPass/NuPass
Contributing
- Fork it (https://github.com/NuPass/NuPass/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nupass-1.0.0.tar.gz
.
File metadata
- Download URL: nupass-1.0.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6bf124231dff44615f79c65e99563bab0734d610e2939850eff94a66b5af848d
|
|
MD5 |
fc1f1d15a863019db794cfb1c7cab3a8
|
|
BLAKE2b-256 |
811ced6c8e3971e6588e02d4c24f59b416c69c966c063dbe21b332eee0c77e91
|
File details
Details for the file nupass-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: nupass-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d99a9c2b4b202c235b754f9a3d4545b33c4479838f3d9e596504cd3f9670a09c
|
|
MD5 |
4c9e548e99742f5276eabe71047a5aa0
|
|
BLAKE2b-256 |
72d376818f20dca96072d2eff7d6f838f4e85ffeccac7e3ff9bc99c7ea1ca87f
|