Skip to main content

LessPass command-line interface (CLI)

Install

python3 -m pip install --user lesspass # 3.6, 3.8+

Usage

lesspass SITE [LOGIN] [MASTER_PASSWORD] [OPTIONS]

LessPass is a stateless password manager.

positional arguments:
  site                  site used in the password generation (required)
  login                 login used in the password generation. Default to ''.
  master_password       master password used in password generation. Default to LESSPASS_MASTER_PASSWORD env variable or prompt.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -L [5-35], --length [5-35]
                        password length (default: 16, min: 5, max: 35)
  -C COUNTER, --counter COUNTER
                        password counter (default: 1)
  -p, --prompt          prompt for values interactively
  -c, --copy            copy the password to clipboard
  --exclude EXCLUDE     exclude char from generated password
  --no-fingerprint      hide visual fingerprint of the master password when you type
  --save [SAVE_PATH]    [beta] Save your password profiles. /!\ File not encrypted. Use carefully. (default: ~/.config/lesspass/profiles.json)
  --load LOAD_PATH      [beta] Load your password profiles file
  --url URL             [beta] LessPass Database URL used by --save and --load command
  -l, --lowercase       add lowercase in password
  --no-lowercase        remove lowercase from password
  -u, --uppercase       add uppercase in password
  --no-uppercase        remove uppercase from password
  -d, --digits          add digits in password
  --no-digits           remove digits from password
  -s, --symbols         add symbols in password
  --no-symbols          remove symbols from password

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 10.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lesspass 10.2.0
File Size Uploaded
lesspass-10.2.0.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lesspass 10.2.0
File Interpreter ABI Platform
lesspass-10.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.8 kB

Release files / lesspass-10.2.0.tar.gz

Download URL lesspass-10.2.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1c8157101bad5fa9f29b60e8819674a84a3caea339ae54758ee9089f52f35a99
BLAKE2b-256 checksum
How to use checksums
60840382e2a7a500e42e91f7ccdd828e36287e9b48f3f8f6af802d9a7c6c3442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release files / lesspass-10.2.0-py3-none-any.whl

Download URL lesspass-10.2.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5219f9da469583dd5123abd8b0461f273583c4bda3d19477b7b2b4d198ce5dd1
BLAKE2b-256 checksum
How to use checksums
ed55a2f7541b21981ea74998a3973fc19b3fb3e7d856253465b564a7fc1ae79a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release history Release notifications | RSS feed

This release

10.2.0 This release

2 release files

10.0.2

2 release files

10.0.0

2 release files

9.3.0

2 release files

9.2.0

2 release files

9.1.9

2 release files

9.1.8

2 release files

9.1.7

2 release files

9.1.6

2 release files

9.1.4

2 release files

9.1.3

2 release files

9.1.2

2 release files

9.1.1

2 release files

9.1.0

2 release files

8.1.1

2 release files

8.0.1

1 release file

7.0.2

1 release file

7.0.1

2 release files

6.1.0

2 release files

6.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page