Skip to main content

strong password generator

Project description

passg

A simple Python password generator.

passg is a lightweight tool for generating secure and random passwords. It’s designed to be easy to use while ensuring strong password generation. With just one function, generate_password, you can create passwords of any length (with a minimum of 8 characters).


Installation

Install passg using pip:

pip install passg

Usage

Import the generate_password function and start generating passwords:

from passg import generate_password

# Default 16-character password
password = generate_password()
print(password)

# Custom-length password (e.g., 50 characters)
password = generate_password(50)
print(password)

Notes

  • The minimum password length is 8 characters. If you try to generate a shorter password, passg will raise an error.
  • The longer the password, the stronger it is!

Example Outputs

Here are some example passwords:

  • 16 characters: aB3$fG7!kL9@mN2&
  • 20 characters: xY4@zQ8!pL3$wR9%vT2*
  • 50 characters: hJ6#kM1@qW4$eR7%tY8^uI0&oP3*lK9(nB2)mC5_dF4+gV7

Contributing

If you’d like to contribute or add features, feel free to open an issue or submit a pull request. All contributions are welcome!


License

passg is open-source and released under the MIT License. See the LICENSE file for details.


That’s it! passg is here to help you generate secure passwords quickly and easily :) 🔒

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passg-1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

passg-1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file passg-1.1.tar.gz.

File metadata

  • Download URL: passg-1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for passg-1.1.tar.gz
Algorithm Hash digest
SHA256 c71c334aa8f3ff61ffa10f1bf863cc0da21bfef4844097acc9ae139f105d69cc
MD5 33e13ec7a6c8719991404e2cfd81d7ff
BLAKE2b-256 14924a452869562fa844006566e38762e522add2afa7ca14abec7584fdcb6b94

See more details on using hashes here.

File details

Details for the file passg-1.1-py3-none-any.whl.

File metadata

  • Download URL: passg-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for passg-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 453dbfa1bde8281b0cf66d7d856ec935ec7d1ded1dc3627e9000143be2bbbf4c
MD5 411247133b61d4c8ffe2df07467e1aee
BLAKE2b-256 640adc5fb7a4e4253b173f654081c651fc2a4259d98a7e8ef9d89388608840ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page