Python3 password manager library.
Project description
Einar
Python3 Password Manager Library.
Usage
Importing EinarManager in Your Script
You can create a Python script to use the EinarManager class. Below is an example of how to import and use it.
from einar import EinarManager
from einar.exceptions import EinarError
def main():
master_password = input("Enter the master password: ")
try:
manager = EinarManager(master_password)
print("Access granted!")
service = input("Enter the service name: ")
username = input("Enter the username: ")
password = input("Enter the password: ")
manager.add_password(service, username, password)
print("Password added successfully!")
passwords = manager.view_passwords()
print(passwords)
except EinarError as e:
print(f"Error: {e}")
if __name__ == "__main__":
main()
Command-Line Interface (CLI) Usage
You can use the following commands in the terminal to interact with Einar:
# Set Master Password
einar -s <your_master_password>
# Add Password
einar -a <service> <username> <password>
# View Passwords
einar -v
# Delete Password
einar -d <service>
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
einar-0.0.8.tar.gz
(12.6 kB
view hashes)
Built Distribution
einar-0.0.8-py3-none-any.whl
(13.7 kB
view hashes)