Registry / auth-security / stdiomask

stdiomask

JSON →
library0.0.6pypypi✓ verified 79d ago

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.

pip install stdiomask
INSTALL
IMPORT
SIG · STDIOMASK
S
stdiomask
auth-securitypythonv0.0.6
Install
3.2s avg
Import
12ms
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.012s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.2s · import 0.012s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

getpass
from stdiomask import getpass
import stdiomask
getch
from stdiomask import getch
List
from stdiomask import List

Prompt for a password with asterisk masking.

import stdiomask password = stdiomask.getpass(prompt='Password: ') print('You entered:', password)
Debug
Known issues
deprecatedstdiomask.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.
fix
Use built-in getpass.getpass(prompt='Password: ', stream=None) if masking not required, or continue using stdiomask.
affects: Python >= 3.10
Upgrade
Version history
0.0.6latest on PyPI · released Oct 11, 2020
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
1
Resources
stdiomask — pip install stdiomask · libregistry