Skip to main content

oh Simple good password generator(ohsgpgn)

Project description

This ohsgpgn is a simple good password generator. The generated password includes at least one number,one ascii,one capatalized ascii and one special chars(‘!@$%^&*()+’).With argument, length of password can be set. If the argument(n) is less than 10(n < 10), the generated password length will be at least 10.

#!/usr/bin/env python3

import ohsgpgn

ohsgpgn.genGoodpass(10)

#Using python shell(example)

Python 3.6.9 (default, Apr 18 2020, 01:56:04)

[GCC 8.4.0] on linux

Type “help”, “copyright”, “credits” or “license” for more information.

>>> import ohsgpgn
>>> ohsgpgn.genGoodpass(3)
'&92DLE1Kf&'
>>> ohsgpgn.genGoodpass(20)
'ae5s67NN4H04bJt$Aajd'
>>> ohsgpgn.genGoodpass(100)
'IN5SATQaVW8E9JL)Q5K2oIJ02Ep5@YVMQ6CAY6LAXPIKDu*COCKGC0Y8EM2Q1VSCEE286XZT2Q8yMDX9JH8OYRXB7YHUPO0D2IDZ'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ohsgpgn-0.0.33-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file ohsgpgn-0.0.33-py3-none-any.whl.

File metadata

  • Download URL: ohsgpgn-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for ohsgpgn-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 7765c796ccfbfbc2c65acb6d539678444cd983b53d184e6365b3c1ca57c9f12f
MD5 41601397662bbf164e06e263e2caab44
BLAKE2b-256 685c010e583e829995a9765f9d4f5be5c054387dc4edc7bb1697954efddb6a82

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