Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rafpyprog/pyssword

Python tool to get a password from the user and display a masked value at the prompt.
https://github.com/rafpyprog/pyssword

getpass password python

Last synced: 5 days ago
JSON representation

Python tool to get a password from the user and display a masked value at the prompt.

Awesome Lists containing this project

README

        

# getpwd

![PyPI](https://img.shields.io/pypi/v/getpwd)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/getpwd)
![Downloads](https://img.shields.io/pypi/dm/getpwd.svg)
![PyPI - Platform](https://img.shields.io/badge/Platform-Windows%7CLinux-green)

Python tool to get a password from the user and display a masked value at the prompt.

## Installing
```pip install getpwd```

## Using
```Python
>>> from getpwd import getpwd
>>> secret = getpwd()
Password: ********
>>> print(secret)
mysecret
```

### Custom prompt
```Python
>>> from getpwd import getpwd
>>> secret = getpwd("Please insert your password: ")
Please insert your password: ********
>>> print(secret)
mysecret
```

If you would like to make any comments then please feel free to email me at [email protected]