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.37-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ohsgpgn-0.0.37-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.37-py3-none-any.whl
Algorithm Hash digest
SHA256 6cb572382248d6c84ecc664c05a33634af9add4a4d832b901647bbf574e42a1a
MD5 8e0e18785b10c1761f6bcb40cdf16055
BLAKE2b-256 dbaaa3d5202ca5013a3fd6d6733f2b296525990a9740a90e8f1754a498524ae2

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