
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
inputx
Advanced tools
`inputx` is a Python module that provides an advanced input function with various validation options.
inputx is a Python module that provides an advanced input function with various validation options. It allows you to get user input in a flexible and secure way, supporting data types like int, float, and str, as well as restrictions on the types of characters allowed (e.g., only English letters, digits, symbols, etc.).
int, float, or str.a-z, A-Z)а-Ń, Đ-ĐŻ)0-9)!@#$%^&*)Currently, this module supports only Windows operating system, because it using msvcrt for capturing user input. Other platforms (e.g., Linux, macOS) are not yet supported.
To install the package, use GIT:
git clone https://github.com/KonstantinDigital/Inputx.git
Or install directly from PyPI:
pip install inputx
from inputx import inputx
# Get an integer input
age = inputx("Enter your age: ", data_type="int")
print(f"Your age is: {age}")
# Get a float input
price = inputx("Enter the price: ", data_type="float")
print(f"Price: {price}")
# Get a password (invisible input)
password = inputx("Enter your password: ", invisible_input=True)
print("Password entered successfully.")
You can use restrictions to limit the types of characters users can enter.
from inputx import inputx
# Only accept English letters
name = inputx("Enter your name: ", only_en_letters=True)
# Only accept digits and symbols
phone = inputx("Enter your phone number: ", only_digitals=True, only_symbols=True)
# Only accept symbols
symbols = inputx("Enter some symbols: ", only_symbols=True)
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
`inputx` is a Python module that provides an advanced input function with various validation options.
We found that inputx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: whatâs affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.