Skip to main content

Python password manger

Project description

Pysafe is a terminal-based password manager with a very easy to use CLI.


  • Generate a unique encryption key to be used as a master password.
  • Generate new passwords for new login entries.
  • Encrypt all saved password using the generated encryption key.
  • Show all your saved login credentials with a click of button.
  • A ready to export CSV file for an easy backup experience.
  • Master reset to delete saved encryption key and all saved login entries.

How to install:

On mac:

Open terminal and type:

python3 pip install pysafe

On windows:

Open Powershell and type

python3 pip install pysafe

How to use:

On mac:

Open terminal and type


Import pysafe

On Windows:

Open CMD and type


import pysafe

General usage:

  • Generate a new encryption key: You only need to do this once. Save your encryption key somewhere safe as this will be used as your master password.

Note: Encrypted credentials are linked to the generated encryption key . Avoid generating a new key with existing login credentials as this would result in losing the ability to decrypt your saved login credentials.

  • Use previous encryption key: Here you can use previously generated encryption key. The encryption key is 44 character.

  • Save a new login: After saving your encryption key, you can enter as many login entries as you so desire with the ability to generate new passwords along the way, or just enter a password of your choosing. Then the program will save it for you in CSV file. The passwords in that CSV file will be encrypted, and can only be seen using the generated encryption key that we mentioned earlier.

  • Show saved logins: The program will print out the saved logins using the saved encryption key and saved CSV file, so you can see them in plain text that you can use.

  • Generate a new password: This will give your the ability to generate a new password without having an encryption key or entering any additional information such as a website tile or website link. You only need to enter the length of the password and the program will do the rest.

  • Show locations of saved files: This will show you the absolute path of the generated files by the program

  • Delete all data: This will be used in case you wish to have a fresh start without any encryption key nor login credentials file file.

Note: This will permanently delete your encryption key and saved login credentials. So only do that, if you know what you are doing.

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

pysafe-0.2.2.tar.gz (5.4 kB view hashes)

Uploaded source

Built Distribution

pysafe-0.2.2-py3-none-any.whl (9.2 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