GithubHelp home page GithubHelp logo

gamersforever1695 / pystrgpw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lorddashme/pystrgpw

0.0 0.0 0.0 0 B

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

License: MIT License

Python 100.00%

pystrgpw's Introduction

pystrgpw

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

Requirements

  • Python >= 3.9.x

Install

To install the package, use the command below:

pip install pystrgpw

Usage

The basic usage of this package is explained below.

import pystrgpw

strgpw = pystrgpw.Generator()

# Set the character length output.
strgpw.length(25)

# Execute the generate process.
strgpw.generate()

# Get the generated output and print "0123456789abcdefghijklmn..."
print(strgpw.get()) 

To Contribute

Development

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 setup.py bdist_wheel sdist

To publish the source distribution on pypi.org (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

License

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

pystrgpw's People

Contributors

lorddashme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.