Skip to main content

Generate passwords, API keys of any length and character combination

Project description

Password Generator

A password generator module made by the awesome folks at Python Abia

This is a simple Open-Source Python library that helps you generate passwords quickly and neatly. It can be integrated into any form of application where there is the need to generate passwords or Secret keys

Features

  • Set length for key
  • Choose types of characters or mixture of characters to use

Usage

from akaraike import PasswordGenerator

#Create an object of the PAsswordGenerator class
pg = PasswordGenerator()

#set length of characters
pg.set_charset_length(length = 5)

'''
Set types of characters as a list

Acceptable values are

- lowers for lowercase alphabets
- uppers for UPPERCASE alphabets
- numbers for 0123456789
- specials for @$;:,._

'''
pg.set_charset_types(type= ['numbers', 'specials'])

#print the password generator
print(pg.generate_password())

Contributing to Akaraike

To install akaraike, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]

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

akaraike-1.0.5.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

akaraike-1.0.5-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page