Skip to main content

PyGeneratePassword

PyGeneratePassword is a Python package that provides a simple tool to generate random passwords with customizable parameters. You can easily create secure passwords for various applications and scenarios.

Installation

You can install PyGeneratePassword using pip, the Python package manager. Open your terminal or command prompt and run the following command:

pip install PyGeneratePassword

Usage

from PyGeneratePassword import PasswordGenerate

# Generate a random password with default settings
password = PasswordGenerate()
print("Generated Password:", password)

# Generate a password with custom settings (e.g., length and character set)
custom_password = PasswordGenerate(length=16, use_digits=True, use_special_chars=True)
print("Custom Password:", custom_password)

Output

The above usage example will produce output similar to the following:

Generated Password: W!lA0$qVnS7C
Custom Password: ZS4jB9$+xQvH6D!2

Options

The PasswordGenerate class supports the following options:

  • length (default is 12): Specify the length of the generated password.

  • use_digits (default is True): Include digits (0-9) in the password.

  • use_special_chars (default is True): Include special characters in the password.

You can customize these options to create passwords that meet your specific requirements.

Metadata

Release files for PyGeneratePassword 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 PyGeneratePassword 0.1
File Size Uploaded Provenance Actions
PyGeneratePassword-0.1.tar.gz 2.7 kB Without provenance Details for PyGeneratePassword-0.1.tar.gz

Built distribution (wheel)

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

Total release size: 5.8 kB

Release files / PyGeneratePassword-0.1.tar.gz

Download URL PyGeneratePassword-0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e354554d714799fe82df986b102c64fc9faa56b2f103f591faa1f27a2917dd0b
BLAKE2b-256 checksum
How to use checksums
ca7e4befc3838e111ed6e648bb80419ce138694d08ba912742739b478b3fdbf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release files / PyGeneratePassword-0.1-py3-none-any.whl

Download URL PyGeneratePassword-0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93a1fa11ae2385769c1bbefa87ea5444e62b220c3a9b45ca656daaed9cd836a9
BLAKE2b-256 checksum
How to use checksums
632de4086ea4633e077f32131d1bbb5f7955b530cbe029116b417f12d0321c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Security for PyGeneratePassword 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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