Skip to main content

Python3 password manager library.

Project description

Einar

PyPI - Downloads PyPI - License GitHub Tag

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 details)

Uploaded Source

Built Distribution

einar-0.0.8-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file einar-0.0.8.tar.gz.

File metadata

  • Download URL: einar-0.0.8.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for einar-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6b92c4ae94a658ba9b48b80a5091e627a9f835d2c2145236966923d49c2a2c57
MD5 17cd673c8663bf5c676ea8463b690c1a
BLAKE2b-256 8ca012ce98446505038d1a1d3b99d8a80c9c0507fd23af6ee07163b9dc463da2

See more details on using hashes here.

File details

Details for the file einar-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: einar-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for einar-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c4dcbe95d2f4fc3645714ffe526ab2ba280553e4da5521411d723d3790262d00
MD5 35994a6e82f7822561f60323dc71896e
BLAKE2b-256 89c6108e10e5a237b734508c02878f6ac098db6e05d860ef525114a3fc50d33d

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