LessPass command-line interface (CLI)
Install
python3 -m pip install --user lesspass
Usage
lesspass SITE [LOGIN] [MASTER_PASSWORD] [OPTIONS]
Arguments:
SITE site used in the password generation (required)
LOGIN login used in the password generation
default to '' if not provided
MASTER_PASSWORD master password used in password generation
default to LESSPASS_MASTER_PASSWORD env variable or prompt
Options:
-l, --lowercase add lowercase in password
-u, --uppercase add uppercase in password
-d, --digits add digits in password
-s, --symbols add symbols in password
-L, --length int (default 16, max 35)
-C, --counter int (default 1)
-p, --prompt interactively prompt SITE and LOGIN (prevent leak to shell history)
--no-lowercase remove lowercase from password
--no-uppercase remove uppercase from password
--no-digits remove digits from password
--no-symbols remove symbols from password
--exclude remove chars from password
-c, --clipboard copy generated password to clipboard rather than displaying it.
Need pbcopy (OSX), xsel or xclip (Linux) or clip (Windows).
-v, --version lesspass version number
Examples
no symbols
lesspass site login masterpassword --no-symbols
no symbols shortcut
lesspass site login masterpassword -lud
only digits and length of 8
lesspass site login masterpassword -d -L8
master password in env variable
LESSPASS_MASTER_PASSWORD="masterpassword" lesspass site login
License
This project is licensed under the terms of the GNU GPLv3.
Metadata
Release files for lesspass 9.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 | |
|---|---|---|---|
| lesspass-9.3.0.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lesspass-9.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / lesspass-9.3.0.tar.gz
| Download URL | lesspass-9.3.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f2ee04d359be18cadf141225198d2aa1583fe69b6c9f4776e4881eb2967cccb
|
|
BLAKE2b-256 checksum How to use checksums |
1c54b12d66336de3818d83dfa95cf02fbdc7ff07605050940e55da5277ac276e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.11
|
Release files / lesspass-9.3.0-py3-none-any.whl
| Download URL | lesspass-9.3.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2425b5fea8d6c8b489f5f91b5e96cbeb50d283fc0b5faf98dc5e9d7e7ed23a8
|
|
BLAKE2b-256 checksum How to use checksums |
ccf26988dfe9d1fb2f297de0e54001d29c9f9d7ac9105d09c292ba994cacd58d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.11
|