Skip to main content

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-fingerprint     hide visual fingerprint of the master password when you type
--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 10.0.1

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.0.1
File Size Uploaded
lesspass-10.0.1.tar.gz 7.4 kB Details

Built distribution (wheel)

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

Total release size: 17.8 kB

Release files / lesspass-10.0.1.tar.gz

Download URL lesspass-10.0.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e61ce2ac64e48941d7395452b3b8be9acd76f4809474e66f87a7b7c74f542839
BLAKE2b-256 checksum
How to use checksums
9d91d6df6bfcdb00d4e5aa3ba596abd200880ec4113ad5ce9741fc09fcb6e4d1
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.50.0 CPython/3.6.12

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

Download URL lesspass-10.0.1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e2de641fb6c80281b32e270cb7c94aa103222987c2b4d2d281a5e7b98b8357f
BLAKE2b-256 checksum
How to use checksums
d07281fe82802bacf4d85ed51d2475ab302b903158fa4c9a292098609ecfe6a6
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.50.0 CPython/3.6.12

Release history Release notifications | RSS feed

10.2.0

2 release files

10.0.2

2 release files

This release

10.0.1 This release

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