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(lenght=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


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.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

passg-1.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for passg-1.2.tar.gz
Algorithm Hash digest
SHA256 39e3617f97c12813b8759b93200f1eee718f47c9c88f578137d365d14dd04eb0
MD5 d83d95c1441a5c6753aedde7fc01c7b0
BLAKE2b-256 33015c8be2fbc3647778d493d59b86235e40f94f3473f37017f5faff2076f1bc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for passg-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 299268a95e7da916f95939f61425871c339b81ec0b88704038aa9764e69e3577
MD5 ea6ba626373ffcb6f7f342aa6f7be80c
BLAKE2b-256 0f84c917fcfcd1d89c9668a67d5edcfd841781a261dc98444e173d3e4c7093e5

See more details on using hashes here.

Supported by

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