Skip to main content

A simple package that generates random characters and can be used for strong passwords.

Project description


A simple package that generates random characters and can be used for strong passwords.


  • Python >= 3.9.x


To install the package, use the command below:

pip install pystrgpw


The basic usage of this package is explained below.

import pystrgpw

strgpw = pystrgpw.Generator()

# Set the character length output.

# Execute the generate process.

# Get the generated output and print "0123456789abcdefghijklmn..."

To Contribute


To prepare the dev environment, you need to run the command below in your virtualenv:

pip install -e .[dev]

Unit Testing

To run the test cases, use the command below:

pytest -s --verbose

Publishing the Package

To build the source code using bdist_wheel and sdist, use the command below:

python bdist_wheel sdist

To publish the source distribution on (pip), run the command below:

  • Install the twine:

    pip install twine
  • Execute twine upload:

    twine upload dist/*

When using Docker as Local Environment Setup

Using Docker compose setup, we need to make sure to execute the commands below to avoid environment issues:

apk add --update --no-cache --virtual .tmp-build-deps gcc libc-dev linux-headers postgresql-dev libffi-dev


This package is open-sourced software licensed under the MIT license.

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

pystrgpw-1.0.0.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

pystrgpw-1.0.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page