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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ohsgpgn-0.0.31-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.31-py3-none-any.whl
Algorithm Hash digest
SHA256 7ec004f10cddcf5facb0dac47673f285eb3dc304ddbd78340b4dbd369f24dc1b
MD5 b2d422c79649ac8a42654a29337d4039
BLAKE2b-256 b464b6603137af30263f09464dd27317866fbfa0c689d6c125fbddfeeb03e581

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