{"id":23820105,"url":"https://github.com/claudiaslibrary/mypass","last_synced_at":"2026-02-01T12:31:02.566Z","repository":{"id":263414713,"uuid":"890326201","full_name":"ClaudiasLibrary/MyPass","owner":"ClaudiasLibrary","description":"A simple password manager and secure password generator built with Python and Tkinter.","archived":false,"fork":false,"pushed_at":"2024-12-14T13:54:30.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T06:51:19.425Z","etag":null,"topics":["100daysofcode","cybersecurity","password-generator","password-manager","python","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClaudiasLibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-18T11:34:32.000Z","updated_at":"2024-12-30T22:03:11.000Z","dependencies_parsed_at":"2024-11-18T12:50:45.455Z","dependency_job_id":"3d37f605-0677-4f1f-b728-d9bfd35d7475","html_url":"https://github.com/ClaudiasLibrary/MyPass","commit_stats":null,"previous_names":["claudiaslibrary/password_manager"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiasLibrary%2FMyPass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiasLibrary%2FMyPass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiasLibrary%2FMyPass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudiasLibrary%2FMyPass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClaudiasLibrary","download_url":"https://codeload.github.com/ClaudiasLibrary/MyPass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741197,"owners_count":21154252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["100daysofcode","cybersecurity","password-generator","password-manager","python","tkinter"],"created_at":"2025-01-02T07:19:45.516Z","updated_at":"2026-02-01T12:30:57.545Z","avatar_url":"https://github.com/ClaudiasLibrary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](logo.png)\n# MyPass\nMade for Angela Yu's 100 days of code challenge\n\nA simple password manager built with Python and Tkinter. This app allows users to:\n\n- Generate secure random passwords.\n- Save login credentials (website, email/username, and password).\n- Retrieve saved credentials for a specific website.\n\nThe data is stored in a local `data.json` file to persist the credentials.\n\n## Features\n\n- **Password Generation**: Generate random passwords containing letters, numbers, and symbols.\n- **Store Credentials**: Save credentials securely for different websites (email/username and password).\n- **Retrieve Credentials**: Search and display saved credentials for a specific website.\n- **Clipboard Support**: The generated password is automatically copied to the clipboard for easy use.\n\n## Requirements\n\n- Python 3.x\n- Tkinter (comes pre-installed with Python)\n- `pyperclip` library for clipboard functionality\n\n### Installation\n\nTo install the required library (`pyperclip`), run:\n\n```bash\npip install pyperclip\n```\n\n## How to Use\n\n1. **Generate Password**: Click on the \"Generate Password\" button to generate a secure password, which will be copied to your clipboard.\n2. **Save Credentials**: Enter the website, email/username, and password into the corresponding fields, and click \"Add\" to save your credentials.\n3. **Search for Credentials**: Enter a website name and click the \"Search\" button to retrieve the saved email and password.\n\n## Code Overview\n\n### Password Generator\nThe `generate_password()` function generates a secure password by combining random letters, numbers, and symbols. The generated password is displayed in the password entry field and copied to the clipboard using the `pyperclip.copy()` function.\n\n### Save Password\nThe `save()` function saves the credentials to a local JSON file (`data.json`). If the file doesn't exist, it is created. The new data is added to the existing data (if any) or a new file is written.\n\n### Find Password\nThe `find_password()` function allows users to search for saved credentials by entering the website name. If found, the associated email/username and password are displayed in a popup message.\n\n### UI Setup\nThe app uses `tkinter` to create a simple user interface. The main window contains:\n- Entry fields for the website, email/username, and password.\n- Buttons to generate a password, save credentials, and search for credentials.\n- A logo image (ensure the `logo.png` image is in the same directory).\n\n### JSON Data Structure\nThe credentials are stored in a JSON file with the following structure:\n\n```json\n{\n  \"example.com\": {\n    \"email\": \"user@example.com\",\n    \"password\": \"generated_password\"\n  }\n}\n```\n\n### Error Handling\nThe app includes error handling for:\n- Empty fields (when saving credentials).\n- Missing `data.json` file (when searching for credentials).\n- Searching for websites that do not have saved credentials.\n\n## Customization\n\n- **Email Default**: The default email inserted in the email entry field is `angela@gmail.com`. You can change this value as per your preference.\n  \n- **Logo**: Ensure you have a `logo.png` image in your project directory for the app's logo.\n\n## License\n\nThis project is open source and available under the MIT License.\n\n## Acknowledgments\n\n- `pyperclip` for clipboard functionality.\n- `tkinter` for the graphical user interface.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiaslibrary%2Fmypass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudiaslibrary%2Fmypass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudiaslibrary%2Fmypass/lists"}