Skip to main content

psgen

Pypi tests docs MIT licensed

Description

Random password generator tool made with python.

Installation & usage

$ pip install psgen 

$ psgen
52db9s%NhA1C

Install from source

$ git clone https://github.com/Nneji123/psgen.git
$ cd psgen
$ pip install -e .

Use within another Python script

>>> from psgen.psgen import generate_password_all

>>> generate_password(12) # this will print out a 12 character password
'52db9s%NhA1C'

For more information visit the official documentation.

Advanced options

$ psgen --help
usage: psgen [-h] [--number NUMBER] [--nodigit NODIGIT] [--noupcase NOUPCASE] [--nolowercase NOLOWERCASE] [--nosymbols NOSYMBOLS]
             [--onlydigits ONLYDIGITS] [--onlylocase ONLYLOCASE] [--onlyupcase ONLYUPCASE] [--onlysymbols ONLYSYMBOLS]

Generate a random password with numbers, symbols and letters.

optional arguments:
  -h, --help            show this help message and exit
  --number NUMBER       Write the length of the password you want to generate.The default value is 12. Example psgen --number 12
  --nodigit NODIGIT     This will generate a random password with no digits. Example psgen --nodigit 12
  --noupcase NOUPCASE   This will generate a random password with no uppercase letters. Example psgen --noupcase 12
  --nolowercase NOLOWERCASE
                        This will generate a random password with no lowercase letters. Example psgen --nolowercase 12
  --nosymbols NOSYMBOLS
                        This will generate a random password with no symbols. Example psgen --nosymbols 12
  --onlydigits ONLYDIGITS
                        This will generate a random password with only digits. Example psgen --onlydigits 12
  --onlylocase ONLYLOCASE
                        This will generate a random password with only lowercase letters. Example psgen --onlylocase 12
  --onlyupcase ONLYUPCASE
                        This will generate a random password with only uppercase letters. Example psgen --onlyupcase 12
  --onlysymbols ONLYSYMBOLS
                        This will generate a random password with only symbols. Example psgen --onlysymbols 12

Happy password creating! :)

License

MIT

Metadata

Release files for psgen 1.0.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 psgen 1.0.4
File Size Uploaded Provenance Actions
psgen-1.0.4.tar.gz 7.4 kB Without provenance Details for psgen-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 15.1 kB

Release files / psgen-1.0.4.tar.gz

Download URL psgen-1.0.4.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bec7d66db8e5dcffc19a709e11e5fba2f45ae41e8a8d9050c5602475a327e7e9
BLAKE2b-256 checksum
How to use checksums
0801e84635904801dea10a1daaf474fae97e21ce8b4fd9137e78e77818e0966d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / psgen-1.0.4-py3-none-any.whl

Download URL psgen-1.0.4-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88275a2fe17f9d0052fadb4daed57a24fa3ee5dfeec8d3328b168b132ca5d9e0
BLAKE2b-256 checksum
How to use checksums
c1a14e8182257d1933894cf4e6c184079bbba917e36f8bc4d96c3e26f93c53b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for psgen 1.0.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