Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/juanbindez/einar

Python3 Library to Manage Passwords
https://github.com/juanbindez/einar

Last synced: 3 days ago
JSON representation

Python3 Library to Manage Passwords

Awesome Lists containing this project

README

        

# 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.

```python

from einar import EinarManager

# Create an instance of EinarManager
manager = EinarManager()

# Set the master password
manager.set_master_password('your_master_password')

# Add a password entry
manager.add_password('example_service', 'username', 'password123')

# View stored passwords
passwords = manager.view_passwords('your_master_password')
print(passwords)

# Delete a password entry
manager.delete_password('example_service', 'your_master_password')

```

### Command-Line Interface (CLI) Usage

You can use the following commands in the terminal to interact with Einar:

```bash

# Set Master Password
einar -s

# Add Password
einar -a

# View Passwords
einar -v

# Delete Password
einar -d

```