Skip to main content

oh Simple good password generator(ohsgpgn)

Project description

This ohsgpgn is very simple but a good password generator. The generated password includes at least one number,one ascii,one capatalized ascii and one special chars(‘!@$%^&*()+’).With (n) 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

from ohsgpgn import ohsgpgn

print(ohsgpgn.genGoodpass(20))

oyj@shell_prompt$ python3 pass.py

zB!2X3!d*V#V!EwOnEK6

#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.

>>> from ohsgpgn 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 Distribution

ohsgpgn-0.0.41.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

ohsgpgn-0.0.41-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ohsgpgn-0.0.41.tar.gz.

File metadata

  • Download URL: ohsgpgn-0.0.41.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • 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.41.tar.gz
Algorithm Hash digest
SHA256 3d4e71e3cdb8b731664b8bce464a43b4b883013a6767d24b78c2be5d471c1960
MD5 bbc242dfb221b4334d9fb2dc71436b63
BLAKE2b-256 f58caf3993a69bbb2e2f6f0977f33a27127d02377bba5014e48b0e9c7782053a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ohsgpgn-0.0.41-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 ea3ed34f9e1d14b4dc216ac92e19df5979ca098a1807108dd4507c0a4feb5bb7
MD5 fd6ef28b4eb205e60737ef7eab2a18c8
BLAKE2b-256 57597e2487b4ae17beb135fbedb00f15af2583910d462e722c9d36aa64ed45c2

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