{"id":24656,"library":"stdiomask","title":"stdiomask","description":"A cross-platform Python module for entering passwords to a stdio terminal and displaying a **** mask, which getpass cannot do. Current version 0.0.6, released 2019-07-23. No recent updates; stable, minimal API.","status":"active","version":"0.0.6","language":"python","source_language":"en","source_url":"https://github.com/asweigart/stdiomask","tags":["password","masking","cli","getpass"],"install":[{"cmd":"pip install stdiomask","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"stdiomask replaces getpass with masking support","wrong":"import getpass\ngetpass.getpass()","symbol":"getpass","correct":"import stdiomask\nstdiomask.getpass()"}],"quickstart":{"code":"import stdiomask\npassword = stdiomask.getpass(prompt='Password: ')\nprint('You entered:', password)","lang":"python","description":"Prompt for a password with asterisk masking."},"warnings":[{"fix":"Use built-in getpass.getpass(prompt='Password: ', stream=None) if masking not required, or continue using stdiomask.","message":"stdiomask.getpass() is superseded by getpass.getpass() in Python 3.10+ which supports masking via the 'pass' parameter. However, stdiomask provides cross-platform compatibility for older Python versions.","severity":"deprecated","affected_versions":"Python >= 3.10"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install stdiomask: pip install stdiomask, then import stdiomask and use stdiomask.getpass().","cause":"Incorrect import or module not installed.","error":"AttributeError: module 'stdiomask' has no attribute 'getpass'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}