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-lowercase       remove lowercase from password
--no-uppercase       remove uppercase from password
--no-digits          remove digits from password
--no-symbols         remove symbols 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.1.4

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 9.1.4
File Size Uploaded Provenance Actions
lesspass-9.1.4.tar.gz 6.2 kB Without provenance Details for lesspass-9.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 14.1 kB

Release files / lesspass-9.1.4.tar.gz

Download URL lesspass-9.1.4.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
814dc3930dca18282002f64f582d134ea541d5a89a0d0d1b7240e286a1f98d84
BLAKE2b-256 checksum
How to use checksums
56a92c071bb338965f0d2e0b6b84ccdea00b2072607d5baf8345b0bba573463f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

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

Download URL lesspass-9.1.4-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fce5427b628a73ea0f979b9f6c0c7e938c38f0a528196af432331334611e2986
BLAKE2b-256 checksum
How to use checksums
e4f0445e5449b0f67d5833bfcea36babf20b06927870e32441bae62d4204deab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

Security for lesspass 9.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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