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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ohsgpgn-0.0.34-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.34-py3-none-any.whl
Algorithm Hash digest
SHA256 5f6a5c32a99e2324055169bd6d9549f3028acf685f08e99805f1a7fecf30b103
MD5 d6a6851683271930e2832e619d63095b
BLAKE2b-256 d03853703be2888f7b33e85928bf56399a20940fc1a8675269629b749c571534

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