Skip to main content

A CLI tool for password generation

Project description

PyPass Tool

pypass-tool is a Python-based password management utility that allows users to generate random passwords and store them inside a file for easy recall. It will check for password strength and provide options to adjust the length of the password and exclude specific characters. Users can choose to generate passwords using the command line (CLI), a web browser, or a desktop app.

Features

  • Command-Line Interface (CLI): Default interface for generating and managing passwords from the terminal.
  • Desktop GUI: Simple graphical interface using Tkinter for generating passwords on your desktop.
  • Web Interface: Web-based interface built with Flask for managing passwords through a browser.

Project Structure

.
├── imgs
│   └── pypass.png
│
├── LICENSE.md
├── pypass
│   ├── app
│   │   ├── cli
│   │   │   ├── __init__.py
│   │   │   └── pypass_cli.py
│   │   ├── gui
│   │   │   ├── desktop
│   │   │   │   ├── __init__.py
│   │   │   │   └── pypass_gui.py
│   │   │   ├── __init__.py
│   │   │   └── web
│   │   │       ├── content.py
│   │   │       ├── __init__.py
│   │   │       └── pypass_web.py
│   │   ├── __init__.py
│   │   ├── main.py
│   │   ├── database
│   │   │   ├── connect.py
│   │   │   └── __init__.py
│   │   ├── passwords
│   │   │   ├── passwords.db
│   │   │   └── passwords.md
│   └── __init__.py
├── README.md
├── requirements.txt
└── setup.py

Installation

Option 1: Install from PyPI

To install pypass-tool directly from PyPI:

pip install pypass-tool

Option 2: For the Nerds Who Want to Build It on Their Own

You can also clone the repository and build the package yourself.

  1. Clone the repository and navigate to the project directory:
git clone https://github.com/h471x/password_generator.git
cd password_generator
  1. Build the package:
python setup.py sdist bdist_wheel
  1. Install the package:
pip install dist/pypass_tool-*.whl

Usage

Once the package is installed, you can use the pypass command with different interfaces:

  • CLI Mode (default):

    pypass
    
  • Desktop GUI Mode:

    pypass gui
    
  • Web Interface Mode:

    pypass web
    

    Open your browser and navigate to http://127.0.0.1:5000.

Development

To modify or extend the functionality, ensure you have the required dependencies installed. You can add new features to the CLI, desktop, or web interface as per the structure.

Dependencies

The required dependencies for the project are listed in setup.py:

  • Flask (for the web interface)
  • Tkinter (for the desktop GUI; included with Python)

Install the required dependencies using:

pip install -r requirements.txt

Contributing

Feel free to fork this repository, open issues, or submit pull requests with improvements or bug fixes.

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

pypass-tool-0.2.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

pypass_tool-0.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file pypass-tool-0.2.tar.gz.

File metadata

  • Download URL: pypass-tool-0.2.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.7

File hashes

Hashes for pypass-tool-0.2.tar.gz
Algorithm Hash digest
SHA256 5f9d701a0b9dd03d8251bf30a43152a9a90628574a6ff8a54af52604f76b3564
MD5 a6d5bd9eddc1c3154e958bd1e33ffcac
BLAKE2b-256 39f577ef13fb24a3f7677716e1d597b3a1c2caa42b8ee89e65b4b216bfdcb615

See more details on using hashes here.

File details

Details for the file pypass_tool-0.2-py3-none-any.whl.

File metadata

  • Download URL: pypass_tool-0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.7

File hashes

Hashes for pypass_tool-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 add6f7f048cf00d09caa6372c02e78c9c6a2062df573a627d9dea6ac7b03e251
MD5 75e8efaa855a47a6ad02865bf61176ae
BLAKE2b-256 6f121d492ffea6ec569a83c5bd3f2b3054dad75dfab3963acfe86f81208bdc56

See more details on using hashes here.

Supported by

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