einar


Nameeinar JSON
Version 0.0.8 PyPI version JSON
download
home_pageNone
SummaryPython3 password manager library.
upload_time2024-10-22 15:29:39
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseGPLv2 license
keywords password manager tools cli pass
VCS
bugtrack_url
requirements cryptography
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Einar

![PyPI - Downloads](https://img.shields.io/pypi/dm/einar)
![PyPI - License](https://img.shields.io/pypi/l/einar)
![GitHub Tag](https://img.shields.io/github/v/tag/JuanBindez/einar?include_prereleases)
<a href="https://pypi.org/project/pytubefix/"><img src="https://img.shields.io/pypi/v/einar" /></a>

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

```bash

# Set Master Password
einar -s <your_master_password>

# Add Password
einar -a <service> <username> <password>

# View Passwords
einar -v

# Delete Password
einar -d <service>

```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "einar",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "password, manager, tools, cli, pass",
    "author": null,
    "author_email": "Juan Bindez <juanbindez780@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/8c/a0/12ce98446505038d1a1d3b99d8a80c9c0507fd23af6ee07163b9dc463da2/einar-0.0.8.tar.gz",
    "platform": null,
    "description": "# Einar\n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/einar)\n![PyPI - License](https://img.shields.io/pypi/l/einar)\n![GitHub Tag](https://img.shields.io/github/v/tag/JuanBindez/einar?include_prereleases)\n<a href=\"https://pypi.org/project/pytubefix/\"><img src=\"https://img.shields.io/pypi/v/einar\" /></a>\n\n## Python3 Password Manager Library.\n\n### Usage\n\nImporting EinarManager in Your Script\n\nYou can create a Python script to use the EinarManager class. Below is an example of how to import and use it.\n\n```python\n\nfrom einar import EinarManager\nfrom einar.exceptions import EinarError\n\ndef main():\n    master_password = input(\"Enter the master password: \")\n\n    try:\n        manager = EinarManager(master_password)\n        print(\"Access granted!\")\n\n        service = input(\"Enter the service name: \")\n        username = input(\"Enter the username: \")\n        password = input(\"Enter the password: \")\n        \n        manager.add_password(service, username, password)\n        print(\"Password added successfully!\")\n\n        passwords = manager.view_passwords()\n        print(passwords)\n\n    except EinarError as e:\n        print(f\"Error: {e}\")\n\nif __name__ == \"__main__\":\n    main()\n\n\n```\n\n### Command-Line Interface (CLI) Usage\n\nYou can use the following commands in the terminal to interact with Einar:\n\n```bash\n\n# Set Master Password\neinar -s <your_master_password>\n\n# Add Password\neinar -a <service> <username> <password>\n\n# View Passwords\neinar -v\n\n# Delete Password\neinar -d <service>\n\n```\n",
    "bugtrack_url": null,
    "license": "GPLv2 license",
    "summary": "Python3 password manager library.",
    "version": "0.0.8",
    "project_urls": {
        "Bug Reports": "https://github.com/juanbindez/einar/issues",
        "Homepage": "https://github.com/juanbindez/einar",
        "Read the Docs": "http://einar.readthedocs.io/"
    },
    "split_keywords": [
        "password",
        " manager",
        " tools",
        " cli",
        " pass"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89c6108e10e5a237b734508c02878f6ac098db6e05d860ef525114a3fc50d33d",
                "md5": "35994a6e82f7822561f60323dc71896e",
                "sha256": "c4dcbe95d2f4fc3645714ffe526ab2ba280553e4da5521411d723d3790262d00"
            },
            "downloads": -1,
            "filename": "einar-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35994a6e82f7822561f60323dc71896e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 13678,
            "upload_time": "2024-10-22T15:29:36",
            "upload_time_iso_8601": "2024-10-22T15:29:36.966378Z",
            "url": "https://files.pythonhosted.org/packages/89/c6/108e10e5a237b734508c02878f6ac098db6e05d860ef525114a3fc50d33d/einar-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ca012ce98446505038d1a1d3b99d8a80c9c0507fd23af6ee07163b9dc463da2",
                "md5": "17cd673c8663bf5c676ea8463b690c1a",
                "sha256": "6b92c4ae94a658ba9b48b80a5091e627a9f835d2c2145236966923d49c2a2c57"
            },
            "downloads": -1,
            "filename": "einar-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "17cd673c8663bf5c676ea8463b690c1a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12567,
            "upload_time": "2024-10-22T15:29:39",
            "upload_time_iso_8601": "2024-10-22T15:29:39.230428Z",
            "url": "https://files.pythonhosted.org/packages/8c/a0/12ce98446505038d1a1d3b99d8a80c9c0507fd23af6ee07163b9dc463da2/einar-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-22 15:29:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "juanbindez",
    "github_project": "einar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "cryptography",
            "specs": []
        }
    ],
    "lcname": "einar"
}
        
Elapsed time: 0.57882s