
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
A Python module for creating interactive terminal-based surveys with tab navigation and arrow key support.
pip install -e .
from promptabs import Survey, Question
# Create questions
questions = [
Question(
id="q1",
title="What is your favorite programming language?",
options=["Python", "JavaScript", "Go", "Rust"],
description="Select one option"
),
Question(
id="q2",
title="Which OS do you use?",
options=["macOS", "Linux", "Windows"]
),
]
# Run the survey
survey = Survey(questions)
responses = survey.run()
# Access responses
print(responses)
# Output: {"q1": "Python", "q2": "Linux"}
Data class representing a single survey question.
@dataclass
class Question:
id: str # Unique question identifier
title: str # Question title/text
options: List[str] # Available answer options
description: str = "" # Optional question description
required: bool = True # Whether question must be answered
Main class for managing and running surveys.
survey = Survey(questions: List[Question])
# Run the survey and get responses
responses: Dict[str, str] = survey.run()
The tabs form a circular navigation ring - you can navigate freely between any tabs!
Example Navigation:
Q1 ← → Q2 ← → Q3 ← → Submit
↑_______________________________↓
(pressing ← on Q1 goes to Submit)
(pressing → on Submit goes to Q1)
☑ Version Storage ☐ Build System ☐ Package Format →
Version Storage Question
Select your preferred approach
❯ Unified version.txt
Platform-specific
Hybrid approach
Other
Use ↑↓ to select · ← → to navigate tabs · Enter to confirm · Esc to cancel
MIT
FAQs
An interactive terminal-based survey/questionnaire module with tab-based navigation
We found that promptabs 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.