{"id":20091903,"url":"https://github.com/cmccandless/safepass","last_synced_at":"2025-05-06T04:31:32.914Z","repository":{"id":57463562,"uuid":"140585155","full_name":"cmccandless/safepass","owner":"cmccandless","description":"Check passwords against https://haveibeenpwned.com/API/v2#PwnedPasswords","archived":false,"fork":false,"pushed_at":"2019-05-20T13:37:43.000Z","size":28,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T01:51:21.895Z","etag":null,"topics":["password-safety","python","python3","security"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/safepass/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmccandless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-11T14:14:43.000Z","updated_at":"2019-06-17T01:22:00.000Z","dependencies_parsed_at":"2022-09-14T16:40:39.199Z","dependency_job_id":null,"html_url":"https://github.com/cmccandless/safepass","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmccandless%2Fsafepass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmccandless%2Fsafepass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmccandless%2Fsafepass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmccandless%2Fsafepass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmccandless","download_url":"https://codeload.github.com/cmccandless/safepass/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250666026,"owners_count":21467804,"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":["password-safety","python","python3","security"],"created_at":"2024-11-13T16:35:15.390Z","updated_at":"2025-05-06T04:31:29.607Z","avatar_url":"https://github.com/cmccandless.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/cmccandless/safepass.svg?branch=master)](https://travis-ci.org/cmccandless/safepass)[![PyPI version](https://badge.fury.io/py/safepass.svg)](https://badge.fury.io/py/safepass)[![Updates](https://pyup.io/repos/github/cmccandless/safepass/shield.svg)](https://pyup.io/repos/github/cmccandless/safepass/)[![Python 3](https://pyup.io/repos/github/cmccandless/safepass/python-3-shield.svg)](https://pyup.io/repos/github/cmccandless/safepass/)\n\n# safepass\nCheck passwords against https://haveibeenpwned.com/API/v2#PwnedPasswords\n\n## Usage\n\n### For humans\n\n```bash\n$ safepass\nPassword: \u003center pwned password (masked)\u003e\nNOT SAFE!\n$ echo $?\n1\n$ safepass\nPassword: \u003center not-pwned password (masked)\u003e\nSAFE!\n$ echo $?\n0\n```\n\n### For scripting\n\n*Note: scripting mode intended for situations where command history is not saved. Please use above interactive mode if checking directly in command line.*\n\n`$ safepass $PASSWORD`\n\n### API\n\n```bash\n\u003e\u003e\u003e from safepass import safepass\n\u003e\u003e\u003e result=safepass(PWNED_PASSWORD)\nNOT SAFE!\n\u003e\u003e\u003e result\nFalse\n\u003e\u003e\u003e result=safepass(NOT_PWNED_PASSWORD)\nSAFE!\n\u003e\u003e\u003e result\nTrue\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmccandless%2Fsafepass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmccandless%2Fsafepass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmccandless%2Fsafepass/lists"}