Metadata-Version: 2.1
Name: mypassgen
Version: 1.0.0
Summary: An example of a custom library
Home-page: UNKNOWN
Author: Anup Ghosh
Author-email: anupbsmrstu@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# Password Generator

This Python script provides a function `generate_pass` that generates a random password with customizable length and character types.

## Features

- **Customizable Length:** Specify the desired length of the password.
- **Character Types:**
  - Uppercase letters (A-Z)
  - Lowercase letters (a-z)
  - Numbers (0-9)
  - Special characters (!, @, #, etc.)

## Installation

import passgen

## Usage

1. Import the `generate_pass` function into your Python project.
2. Call the function with your desired parameters.

### Parameters

| Parameter  | Type    | Description                                | Default |
|------------|---------|--------------------------------------------|---------|
| `length`   | `int`   | Length of the password                    | Required |
| `uppercase`| `bool`  | Include uppercase letters (A-Z)           | `True`  |
| `lowercase`| `bool`  | Include lowercase letters (a-z)           | `True`  |
| `numbers`  | `bool`  | Include numbers (0-9)                     | `True`  |
| `special`  | `bool`  | Include special characters (!, @, #, etc.)| `False` |

### Return

- **`str`**: A randomly generated password.

## Example

```python
from passgen import generate_pass

# Generate a password with default settings
password = generate_pass(length=12)
print(password)

# Generate a password with custom settings
custom_password = generate_pass(length=16, uppercase=True, lowercase=True, numbers=False, special=True)
print(custom_password)


